/**
 * @file
 * Positioning for responsive layout.
 *
 * Define CSS classes to create a table-free, 12-column, 6-column, or single
 * column layout depending on whether blocks are enabled in the left or right
 * columns.
 *
 * This layout uses the Zen Grids plugin for Compass: http://zengrids.com
 */
/*
 * Center the page.
 */
/* line 44, ../../sass/layouts/collins-sidebars.scss */
#page,
.region-bottom {
  /* For screen sizes larger than 1200px, prevent excessively long lines of text
     by setting a max-width. */
  margin-left: auto;
  margin-right: auto;
  max-width: 1200px;
}

/*
 * Apply the shared properties of grid items in a single, efficient ruleset.
 */
/* line 63, ../../sass/layouts/collins-sidebars.scss */
#header,
#content,
#navigation,
.region-highlighted,
.region-sidebar-first,
.region-sidebar-second,
#footer {
  padding-left: 10px;
  padding-right: 10px;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
  word-wrap: break-word;
}

/*
 * Containers for grid items and flow items.
 */
/* line 52, ../../sass-extensions/zen-grids/stylesheets/zen/_grids.scss */
#header:before, #header:after,
#main:before,
#main:after,
#footer:before,
#footer:after {
  content: "";
  display: table;
}
/* line 56, ../../sass-extensions/zen-grids/stylesheets/zen/_grids.scss */
#header:after,
#main:after,
#footer:after {
  clear: both;
}

/*
 * Prevent content overflowing out of the content area
 */
/* line 81, ../../sass/layouts/collins-sidebars.scss */
#content {
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0 60px;
}

/*
 * Navigation bar
 */
@media all and (min-width: 480px) {
  /*
   * Use 12 grid columns.
   */
  /* line 97, ../../sass/layouts/collins-sidebars.scss */
  .region-highlighted {
    margin-top: -4em;
  }

  /* line 101, ../../sass/layouts/collins-sidebars.scss */
  #main {
    font-size: 13.02px;
    padding-top: 7em;
    position: relative;
  }

  /* line 109, ../../sass/layouts/collins-sidebars.scss */
  #content {
    font-size: 14px;
  }

  /* line 114, ../../sass/layouts/collins-sidebars.scss */
  #navigation {
    position: absolute;
    top: 0;
    /* Move the navbar up inside #main's padding. */
    height: 3em;
    width: 100%;
  }

  /* line 121, ../../sass/layouts/collins-sidebars.scss */
  #header {
    position: relative;
  }

  /* line 126, ../../sass/layouts/collins-sidebars.scss */
  #logo-wrapper {
    float: left;
    width: 33.33333%;
    margin-left: 16.66667%;
    margin-right: -50%;
  }

  /* line 130, ../../sass/layouts/collins-sidebars.scss */
  .region-header {
    float: left;
    width: 33.33333%;
    margin-left: 58.33333%;
    margin-right: -91.66667%;
  }

  /* line 134, ../../sass/layouts/collins-sidebars.scss */
  #block-search-form {
    bottom: 0;
    margin-bottom: 0;
    position: absolute;
    width: 33.33%;
  }

  /*
   * The layout when there is only one sidebar, the left one.
   */
  /* line 151, ../../sass/layouts/collins-sidebars.scss */
  .sidebar-first #content {
    float: left;
    width: 66.66667%;
    margin-left: 33.33333%;
    margin-right: -100%;
  }
  /* line 155, ../../sass/layouts/collins-sidebars.scss */
  .sidebar-first .region-sidebar-first {
    float: left;
    width: 33.33333%;
    margin-left: 0%;
    margin-right: -33.33333%;
  }

  /*
   * The layout when there is only one sidebar, the right one.
   */
  /* line 164, ../../sass/layouts/collins-sidebars.scss */
  .sidebar-second #content {
    float: left;
    width: 75%;
    margin-left: 0%;
    margin-right: -75%;
  }
  /* line 168, ../../sass/layouts/collins-sidebars.scss */
  .sidebar-second .region-sidebar-second {
    float: left;
    width: 25%;
    margin-left: 75%;
    margin-right: -100%;
  }

  /*
   * The layout when there are two sidebars.
   */
  /* line 177, ../../sass/layouts/collins-sidebars.scss */
  .two-sidebars #content {
    float: left;
    width: 50%;
    margin-left: 25%;
    margin-right: -75%;
  }
  /* line 181, ../../sass/layouts/collins-sidebars.scss */
  .two-sidebars .region-sidebar-first {
    float: left;
    width: 25%;
    margin-left: 0%;
    margin-right: -25%;
  }
  /* line 185, ../../sass/layouts/collins-sidebars.scss */
  .two-sidebars .region-sidebar-second {
    float: left;
    width: 25%;
    margin-left: 75%;
    margin-right: -100%;
  }

  /*
   * The layout when there are no sidebars.
   */
  /* line 194, ../../sass/layouts/collins-sidebars.scss */
  .no-sidebars #content {
    float: left;
    width: 83.33333%;
    margin-left: 8.33333%;
    margin-right: -91.66667%;
  }

  /*
   * We want a special layout for the front page.
   */
  /* line 203, ../../sass/layouts/collins-sidebars.scss */
  .front.sidebar-second #content {
    float: left;
    width: 58.33333%;
    margin-left: 8.33333%;
    margin-right: -66.66667%;
  }
  /* line 207, ../../sass/layouts/collins-sidebars.scss */
  .front.sidebar-second .region-sidebar-second {
    float: left;
    width: 25%;
    margin-left: 66.66667%;
    margin-right: -91.66667%;
  }

  /* line 213, ../../sass/layouts/collins-sidebars.scss */
  #footer .block:first-child {
    float: left;
    width: 25%;
    margin-left: 0%;
    margin-right: -25%;
  }
  /* line 216, ../../sass/layouts/collins-sidebars.scss */
  #footer .block.even {
    float: left;
    width: 41.66667%;
    margin-left: 25%;
    margin-right: -66.66667%;
  }
  /* line 219, ../../sass/layouts/collins-sidebars.scss */
  #footer .block:last-child {
    float: left;
    width: 33.33333%;
    margin-left: 66.66667%;
    margin-right: -100%;
  }

  /* line 225, ../../sass/layouts/collins-sidebars.scss */
  .logged-in #footer .block.even {
    float: left;
    width: 75%;
    margin-left: 25%;
    margin-right: -100%;
  }
}
@media all and (min-width: 920px) and (max-width: 959px) {
  /* line 234, ../../sass/layouts/collins-sidebars.scss */
  #main, #footer {
    font-size: 12.02px;
  }

  /* line 239, ../../sass/layouts/collins-sidebars.scss */
  #content {
    font-size: 14px;
  }
}
@media all and (min-width: 480px) and (max-width: 919px) {
  /* line 246, ../../sass/layouts/collins-sidebars.scss */
  #main, #footer {
    font-size: 11.02px;
  }

  /* line 251, ../../sass/layouts/collins-sidebars.scss */
  #content {
    font-size: 14px;
  }
}
@media all and (min-width: 480px) and (max-width: 679px) {
  /* line 261, ../../sass/layouts/collins-sidebars.scss */
  #footer .block:first-child,
  .logged-in #footer .block:first-child {
    float: left;
    width: 41.66667%;
    margin-left: 0%;
    margin-right: -41.66667%;
  }
  /* line 264, ../../sass/layouts/collins-sidebars.scss */
  #footer .block.even,
  .logged-in #footer .block.even {
    float: right;
    width: 58.33333%;
    margin-right: 0%;
    margin-left: -58.33333%;
  }
  /* line 267, ../../sass/layouts/collins-sidebars.scss */
  #footer .block:last-child,
  .logged-in #footer .block:last-child {
    float: right;
    width: 58.33333%;
    margin-right: 0%;
    margin-left: -58.33333%;
    clear: right;
  }
}
@media all and (max-width: 479px) {
  /* line 275, ../../sass/layouts/collins-sidebars.scss */
  #page {
    min-width: 320px;
  }

  /* line 281, ../../sass/layouts/collins-sidebars.scss */
  #logo-wrapper {
    margin: 0 auto;
    width: 300px;
  }

  /* line 287, ../../sass/layouts/collins-sidebars.scss */
  #block-search-form {
    position: static;
    margin: 2em 0 0 0;
  }

  /* line 292, ../../sass/layouts/collins-sidebars.scss */
  .sidebar {
    clear: left;
  }

  /* line 297, ../../sass/layouts/collins-sidebars.scss */
  #main {
    font-size: 13.02px;
  }

  /* line 302, ../../sass/layouts/collins-sidebars.scss */
  #content {
    font-size: 14px;
  }
}
