/* Layout
 * ------
 * Using a negative margin technique, adapted from ZEN. The page is loaded by this order:
 *
 * 1. Header
 * 2. Content
 * 3. Navigation menus
 * 4. Sidebar Left
 * 5. Sideabr Right */

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin-left: 0 !important;
}

/* remove 'auto' and the width to switch to a fluid width */
#page {
  margin: 0 0;
}

/* Layout rules. (Disclaimer: do not change if you're not sure you know what you're doing.) */
#content {
  float: left;
  width: 100%;
  margin-right: -100%;
  padding: 0;
}

.sidebar {
  float: left;
}

#sidebar-second {
  float: right;
}

#footer {
  float: none;
  clear: both;
}

#header {
  padding: 0 5% 0 5%;
  margin: 0 0 25px 0;
}

#main {
  padding: 0 5% 0 5%;
  margin: 20px 0 25px 0;
}

#footer {
  padding: 15px;
  margin: 0 5% 0 5%;
  text-align: center;
}

#menu_title {
  display: none;
}

#sciencemark,
#readytoenroll {
  text-align: center;
  margin-top: 30px;
}

#sciencemark img,
#readytoenroll img {
  width: 45%;
}

@media (max-width: 1000px) {
  #header {
    padding: 0 10px 0 10px;
    margin: 0 0 25px 0;
  }
  #main {
    padding: 0 10px 0 10px;
    margin: 20px 0 25px 0;
  }

  #footer {
    padding: 15px;
    margin: 0 10px 0 10px;
    text-align: center;
  }
}


#name-and-slogan {
  padding: 10px 20px 10px 20px;
  margin: 10px 0 0 0;
}

#search {
  float: right;
  padding-right: 10px;
}

/* Layout Helpers */
#header,
#footer,
.mission,
.breadcrumb,
.node {
  clear: both;
}

/* Sidebars width
 * --------------
 * Changing the width of the sidebars is dead easy, just change the
 * values below corresponding to the sidebar you want to modify.
 * Make sure you keep negative values as negative values.
 * For example, if I want to increase the width of the left sidebar
 * to 300px, I would have to change each '190' to '300'. */
.two-sidebars .center,
.sidebar-left .center {
  margin-left: 320px;
}

#sidebar-first {
  width: 320px;
  margin-right: -320px;
}

.two-sidebars .center,
.sidebar-right .center {
  margin-right: 200px;
}

#sidebar-second {
  width: 200px;
}



@media (max-width: 1000px) {

  .two-sidebars .center,
  .sidebar-left .center {
    margin-left: 200px;
  }

  #sidebar-first {
    width: 200px;
    margin-right: -200px;
  }

  .two-sidebars .center,
  .sidebar-right .center {
    margin-right: 200px;
  }

  #sidebar-second {
    width: 200px;
  }

  #sciencemark img,
  #readytoenroll img {
    width: 70%;
  }

}
/* Columns Inner
 * -------------
 * You can change the padding inside the columns without changing the
 * width of them by just usinbg the INNER div of each column */
.inner {
  padding: 0;
}

/* Navigation styles
 * -----------------
 * The navigation is loaded after the content, so we need to make space
 * for it, equal to its height, so if you change the height of the navigation,
 * remember to adapt the margin top of the content and sidebars. */
#navigation {
  float: left;
  margin-left: 0;
  margin-right: -100%;
  padding: 0;
  width: 100%;
  height: 40px;
}

.with-navigation #content,
.with-navigation .sidebar {
  margin-top: 40px;
}

#main #content-inner {
  padding-left: 30px;
}


@media (max-width: 725px) {

  body {
    min-width: 310px;
    margin-top: 0 !important;
  }

  #regions_elms_navigation_left, #regions_elms_navigation_bottom, #regions_elms_navigation_top {
    display: none;
  }

  #header, #main {
    padding: 0 10px;
  }

  #header {
    margin-top: 0;
  }

  #content, .sidebar {
    float: none;
    width: 100%;
  }

  .sidebar {
    width: 100% !important;
  }

  .two-sidebars .center, .sidebar-left .center {
    margin-left: 0;
  }

  #main #content-inner {
    padding-left: 20px;
  }

  #search, #sciencemark, #readytoenroll {
    display: none;
  }

  #footer {
    margin: 10px !important;
  }
}
