/**
 * @file
 * Positioning for responsive layout .
 *
 * Define CSS classes to create a table-free, 3-column, 2-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
 */
/* line 121, ../../sass/_base.scss */
.clearfix:after {
  content: " ";
  /* Older browser do not support empty content */
  visibility: hidden;
  display: block;
  height: 0;
  clear: both;
}

/* Mixin for title image layout for pages with image headers */
/* If extending this with a selector that includes :not, extend this class, since otherwise SASS combines
   all the selectors into a single line of CSS that, since it includes :not, isn't parsed properly by IE8 */
/*
 * Center the page.
 */
/* line 47, ../../sass/layouts/responsive-sidebars.scss */
.region-header,
.region-navigation,
#main,
.region-bottom,
.region-bottom-cr {
  /* For screen sizes larger than 1200px, prevent excessively long lines of text
     by setting a max-width. */
  margin: 0 auto;
  max-width: 1200px;
  clear: both;
}

/*
 * Apply the shared properties of grid items in a single, efficient ruleset.
 */
/* line 70, ../../sass/layouts/responsive-sidebars.scss */
#header,
#content,
#navigation,
.region-sidebar-first,
.region-sidebar-second,
#footer,
.region-bottom,
.region-bottom-cr {
  padding-left: 0;
  padding-right: 0;
  -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,
.region-bottom:before,
.region-bottom:after,
.region-bottom-cr:before,
.region-bottom-cr:after {
  content: "";
  display: table;
}
/* line 56, ../../sass-extensions/zen-grids/stylesheets/zen/_grids.scss */
#header:after,
#main:after,
#footer:after,
.region-bottom:after,
.region-bottom-cr:after {
  clear: both;
}

/*
 * Navigation bar
 */
@media all and (max-width: 767px) {
  /* line 106, ../../sass/layouts/responsive-sidebars.scss */
  .region-sidebar-first {
    display: none;
  }

  /* line 111, ../../sass/layouts/responsive-sidebars.scss */
  .region-sidebar-second,
  #content,
  .region-bottom .block {
    float: left;
    width: 100%;
    margin-left: 0%;
    margin-right: -100%;
    clear: left;
  }
}
@media all and (min-width: 768px) and (max-width: 1023px) {
  /*
  * Use 3 grid columns for smaller screens.
  */
  /*
   * The layout when there is only one sidebar, the left one.
   */
  /* line 127, ../../sass/layouts/responsive-sidebars.scss */
  .sidebar-first #content {
    /* Span 2 columns, starting in 2nd column from left. */
    float: left;
    width: 80%;
    margin-left: 20%;
    margin-right: -100%;
  }
  /* line 131, ../../sass/layouts/responsive-sidebars.scss */
  .sidebar-first .region-sidebar-first {
    /* Span 1 column, starting in 1st column from left. */
    float: left;
    width: 20%;
    margin-left: 0%;
    margin-right: -20%;
  }

  /*
   * The layout when there is only one sidebar, the right one.
   */
  /* line 142, ../../sass/layouts/responsive-sidebars.scss */
  .sidebar-second #content,
  .sidebar-second .region-sidebar-second {
    /* Span 2 columns, starting in 1st column from left. */
  }

  /*
   * The layout when there are two sidebars.
   */
  /* line 152, ../../sass/layouts/responsive-sidebars.scss */
  .two-sidebars #content {
    /* Span 2 columns, starting in 2nd column from left. */
    clear: left;
    float: left;
    width: 82%;
    margin-left: 18%;
    margin-right: -100%;
  }
  /* line 157, ../../sass/layouts/responsive-sidebars.scss */
  .two-sidebars .region-sidebar-first {
    /* Span 1 column, starting in 1st column from left. */
    float: left;
    width: 18%;
    margin-left: 0%;
    margin-right: -18%;
  }
  /* line 161, ../../sass/layouts/responsive-sidebars.scss */
  .two-sidebars .region-sidebar-second {
    /* Start a new row and span all 3 columns. */
    clear: left;
    float: left;
    width: 100%;
    margin-left: 0%;
    margin-right: -100%;
    padding-left: 0;
    padding-right: 0;
    /* Different logic for second-sidebar items in footer when the first item is being hidden */
  }
  /* line 166, ../../sass/layouts/responsive-sidebars.scss */
  .two-sidebars .region-sidebar-second .block {
    padding-left: 0;
    padding-right: 0;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
    word-wrap: break-word;
  }
  /* line 169, ../../sass/layouts/responsive-sidebars.scss */
  .two-sidebars .region-sidebar-second .block:nth-child(2n+1) {
    /* Span 1 column, starting in the 1st column from left. */
    float: left;
    width: 41%;
    margin-left: 18%;
    margin-right: -59%;
    clear: left;
  }
  /* line 173, ../../sass/layouts/responsive-sidebars.scss */
  .two-sidebars .region-sidebar-second .block:nth-child(2n) {
    /* Span 1 column, starting in the 2nd column from left. */
    float: left;
    width: 40%;
    margin-left: 59%;
    margin-right: -99%;
  }
  /* line 179, ../../sass/layouts/responsive-sidebars.scss */
  .two-sidebars .region-sidebar-second #block-views-sidebars-block-3.first + .block,
  .two-sidebars .region-sidebar-second #block-views-sidebars-block-3.first + .block + .block + .block {
    float: left;
    width: 41%;
    margin-left: 18%;
    margin-right: -59%;
    clear: left;
  }
  /* line 185, ../../sass/layouts/responsive-sidebars.scss */
  .two-sidebars .region-sidebar-second #block-views-sidebars-block-3.first + .block + .block,
  .two-sidebars .region-sidebar-second #block-views-sidebars-block-3.first + .block + .block + .block + .block {
    float: left;
    width: 40%;
    margin-left: 59%;
    margin-right: -99%;
    clear: none;
  }
}
@media all and (min-width: 1024px) {
  /*
  * The layout when there is only one sidebar, the left one.
  */
  /* line 200, ../../sass/layouts/responsive-sidebars.scss */
  .no-sidebars #content {
    /* Span 4 columns, starting in 2nd column from left. */
    float: left;
    width: 100%;
    margin-left: 0%;
    margin-right: -100%;
  }

  /* line 207, ../../sass/layouts/responsive-sidebars.scss */
  .sidebar-first #content {
    /* Span 4 columns, starting in 2nd column from left. */
    float: left;
    width: 82%;
    margin-left: 18%;
    margin-right: -100%;
  }
  /* line 211, ../../sass/layouts/responsive-sidebars.scss */
  .sidebar-first .region-sidebar-first {
    /* Span 1 column, starting in 1st column from left. */
    float: left;
    width: 18%;
    margin-left: 0%;
    margin-right: -18%;
  }

  /*
   * The layout when there is only one sidebar, the right one.
   */
  /* line 221, ../../sass/layouts/responsive-sidebars.scss */
  .sidebar-second #content {
    /* Span 4 columns, starting in 1st column from left. */
    float: left;
    width: 70%;
    margin-left: 0%;
    margin-right: -70%;
  }
  /* line 225, ../../sass/layouts/responsive-sidebars.scss */
  .sidebar-second .region-sidebar-second {
    /* Span 1 column, starting in 5th column from left. */
    float: left;
    width: 30%;
    margin-left: 70%;
    margin-right: -100%;
  }

  /*
   * The layout when there are two sidebars.
   */
  /* line 235, ../../sass/layouts/responsive-sidebars.scss */
  .two-sidebars #content {
    /* Span 3 columns, starting in 2nd column from left. */
    float: left;
    width: 60%;
    margin-left: 18%;
    margin-right: -78%;
  }
  /* line 239, ../../sass/layouts/responsive-sidebars.scss */
  .two-sidebars .region-sidebar-first {
    /* Span 1 column, starting in 1st column from left. */
    float: left;
    width: 18%;
    margin-left: 0%;
    margin-right: -18%;
  }
  /* line 243, ../../sass/layouts/responsive-sidebars.scss */
  .two-sidebars .region-sidebar-second {
    /* Span 1 column, starting in 5th column from left. */
    float: left;
    width: 22%;
    margin-left: 78%;
    margin-right: -100%;
  }
}
/* line 249, ../../sass/layouts/responsive-sidebars.scss */
html.lt-ie9 {
  /*
   * The layout when there is only one sidebar, the right one.
   */
  /*
   * The layout when there are two sidebars.
   */
}
/* line 251, ../../sass/layouts/responsive-sidebars.scss */
html.lt-ie9 .no-sidebars #content {
  /* Span 4 columns, starting in 2nd column from left. */
  float: left;
  width: 100%;
  margin-left: 0%;
  margin-right: -100%;
}
/* line 258, ../../sass/layouts/responsive-sidebars.scss */
html.lt-ie9 .sidebar-first #content {
  /* Span 4 columns, starting in 2nd column from left. */
  float: left;
  width: 82%;
  margin-left: 18%;
  margin-right: -100%;
}
/* line 262, ../../sass/layouts/responsive-sidebars.scss */
html.lt-ie9 .sidebar-first .region-sidebar-first {
  /* Span 1 column, starting in 1st column from left. */
  float: left;
  width: 18%;
  margin-left: 0%;
  margin-right: -18%;
}
/* line 272, ../../sass/layouts/responsive-sidebars.scss */
html.lt-ie9 .sidebar-second #content {
  /* Span 4 columns, starting in 1st column from left. */
  float: left;
  width: 70%;
  margin-left: 0%;
  margin-right: -70%;
}
/* line 276, ../../sass/layouts/responsive-sidebars.scss */
html.lt-ie9 .sidebar-second .region-sidebar-second {
  /* Span 1 column, starting in 5th column from left. */
  float: left;
  width: 30%;
  margin-left: 70%;
  margin-right: -100%;
}
/* line 286, ../../sass/layouts/responsive-sidebars.scss */
html.lt-ie9 .two-sidebars #content {
  /* Span 3 columns, starting in 2nd column from left. */
  float: left;
  width: 60%;
  margin-left: 18%;
  margin-right: -78%;
}
/* line 290, ../../sass/layouts/responsive-sidebars.scss */
html.lt-ie9 .two-sidebars .region-sidebar-first {
  /* Span 1 column, starting in 1st column from left. */
  float: left;
  width: 18%;
  margin-left: 0%;
  margin-right: -18%;
}
/* line 294, ../../sass/layouts/responsive-sidebars.scss */
html.lt-ie9 .two-sidebars .region-sidebar-second {
  /* Span 1 column, starting in 5th column from left. */
  float: left;
  width: 22%;
  margin-left: 78%;
  margin-right: -100%;
}
