/**
* @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
*/
/*
* Center the page.
*/
/* line 42, ../../sass/layouts/responsive-sidebars.scss */
#page {
  position: relative;
}

/* line 49, ../../sass/layouts/responsive-sidebars.scss */
#footer,
#header,
#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: 960px;
}

/*
* Apply the shared properties of grid items in a single, efficient ruleset.
*/
/* line 72, ../../sass/layouts/responsive-sidebars.scss */
#header,
#content,
#navigation,
.region-front-top-content,
.region-front-sidebar-first,
.region-front-sidebar-second,
.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;
}

/* line 76, ../../sass/layouts/responsive-sidebars.scss */
.region-front-sidebar-second {
  text-align: center;
}
/* line 79, ../../sass/layouts/responsive-sidebars.scss */
.region-front-sidebar-second .block {
  margin: 0 auto 8px auto;
  max-width: 214px;
}
/* line 84, ../../sass/layouts/responsive-sidebars.scss */
.region-front-sidebar-second .block.last {
  margin-bottom: 0;
}

/* line 90, ../../sass/layouts/responsive-sidebars.scss */
.region-sidebar-second .block {
  margin: 0 auto 8px auto;
  max-width: 214px;
}
/* line 95, ../../sass/layouts/responsive-sidebars.scss */
.region-sidebar-second .block .nivoSlider {
  max-width: 214px;
}

/* line 100, ../../sass/layouts/responsive-sidebars.scss */
#footer {
  overflow: hidden;
}

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

/*
* Navigation bar
*/
@media all and (max-width: 479px) {
  /* line 121, ../../sass/layouts/responsive-sidebars.scss */
  #logo {
    width: 100%;
    text-align: center;
  }

  /* line 126, ../../sass/layouts/responsive-sidebars.scss */
  #header h1 {
    line-height: 1.5em;
  }
}
@media all and (min-width: 480px) {
  /* line 137, ../../sass/layouts/responsive-sidebars.scss */
  #navigation {
    font-size: 1.1em;
    line-height: 3em;
    min-height: 3em;
    margin: 0 auto;
    max-width: 960px;
  }

  /* line 144, ../../sass/layouts/responsive-sidebars.scss */
  #navigation-wrapper {
    position: relative;
  }
}
@media all and (min-width: 480px) and (max-width: 959px) {
  /*
  * Use 3 grid columns for smaller screens.
  */
  /* line 155, ../../sass/layouts/responsive-sidebars.scss */
  #header, #header h1 {
    line-height: 30px;
  }

  /*
  * The layout when there is only one sidebar, the left one.
  */
  /* line 163, ../../sass/layouts/responsive-sidebars.scss */
  .sidebar-first #content {
    /* Span 3 columns, starting in 2nd column from left. */
    float: left;
    width: 75%;
    margin-left: 25%;
    margin-right: -100%;
    padding-right: 5px;
    border-right: 5px solid #727272;
  }
  /* line 169, ../../sass/layouts/responsive-sidebars.scss */
  .sidebar-first .region-sidebar-first {
    /* Span 1 column, starting in 1st column from left. */
    float: left;
    width: 25%;
    margin-left: 0%;
    margin-right: -25%;
  }

  /*
  * The layout when there is only one sidebar, the right one.
  */
  /* line 179, ../../sass/layouts/responsive-sidebars.scss */
  .sidebar-second #content {
    /* Span 3 columns, starting in 1st column from left. */
    float: left;
    width: 75%;
    margin-left: 0%;
    margin-right: -75%;
    padding-right: 5px;
  }
  /* line 184, ../../sass/layouts/responsive-sidebars.scss */
  .sidebar-second #content.border {
    border-right: 5px solid #727272;
  }
  /* line 188, ../../sass/layouts/responsive-sidebars.scss */
  .sidebar-second .region-sidebar-second {
    /* Span 1 column, starting in 4th column from left. */
    float: left;
    width: 25%;
    margin-left: 75%;
    margin-right: -100%;
  }

  /*
  * The layout when there are two sidebars.
  */
  /* line 199, ../../sass/layouts/responsive-sidebars.scss */
  .two-sidebars #top-main {
    border-radius: 0;
  }
  /* line 202, ../../sass/layouts/responsive-sidebars.scss */
  .two-sidebars #top-content {
    float: left;
    width: 100%;
    margin-left: 0%;
    margin-right: -100%;
  }
  /* line 206, ../../sass/layouts/responsive-sidebars.scss */
  .two-sidebars .region-front-sidebar-first {
    float: left;
    width: 50%;
    margin-left: 0%;
    margin-right: -50%;
    clear: left;
  }
  /* line 210, ../../sass/layouts/responsive-sidebars.scss */
  .two-sidebars .region-front-sidebar-first .block {
    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;
    float: left;
  }
  /* line 216, ../../sass/layouts/responsive-sidebars.scss */
  .two-sidebars .region-front-sidebar-second {
    float: left;
    width: 50%;
    margin-left: 50%;
    margin-right: -100%;
  }
  /* line 219, ../../sass/layouts/responsive-sidebars.scss */
  .two-sidebars .region-front-sidebar-second .block {
    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;
    float: left;
  }
  /* line 226, ../../sass/layouts/responsive-sidebars.scss */
  .two-sidebars #content {
    /* Span 3 columns, starting in 2nd column from left. */
    float: left;
    width: 75%;
    margin-left: 25%;
    margin-right: -100%;
  }
  /* line 230, ../../sass/layouts/responsive-sidebars.scss */
  .two-sidebars .region-sidebar-first {
    /* Span 1 column, starting in 1st column from left. */
    float: left;
    width: 25%;
    margin-left: 0%;
    margin-right: -25%;
  }
  /* line 234, ../../sass/layouts/responsive-sidebars.scss */
  .two-sidebars .region-sidebar-second {
    /* Start a new row and span all 3 columns. */
    float: left;
    width: 100%;
    margin-left: 0%;
    margin-right: -100%;
    padding-left: 0;
    padding-right: 0;
    clear: left;
  }
  /* line 239, ../../sass/layouts/responsive-sidebars.scss */
  .two-sidebars .region-sidebar-second .block {
    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;
  }
  /* line 242, ../../sass/layouts/responsive-sidebars.scss */
  .two-sidebars .region-sidebar-second .block:nth-child(3n+1) {
    /* Span 1 column, starting in the 1st column from left. */
    float: left;
    width: 25%;
    margin-left: 0%;
    margin-right: -25%;
    clear: left;
  }
  /* line 246, ../../sass/layouts/responsive-sidebars.scss */
  .two-sidebars .region-sidebar-second .block:nth-child(3n+2) {
    /* Span 1 column, starting in the 2nd column from left. */
    float: left;
    width: 25%;
    margin-left: 25%;
    margin-right: -50%;
  }
  /* line 249, ../../sass/layouts/responsive-sidebars.scss */
  .two-sidebars .region-sidebar-second .block:nth-child(3n) {
    /* Span 1 column, starting in the 3rd column from left. */
    float: left;
    width: 25%;
    margin-left: 50%;
    margin-right: -75%;
  }
}
@media all and (min-width: 960px) {
  /*
  * Use 5 grid columns for larger screens.
  */
  /* line 263, ../../sass/layouts/responsive-sidebars.scss */
  #header, #header h1 {
    line-height: 30px;
  }

  /*
  * The layout when there is only one sidebar, the left one.
  */
  /* line 271, ../../sass/layouts/responsive-sidebars.scss */
  .sidebar-first #content {
    /* Span 3 columns, starting in 2nd column from left. */
    float: left;
    width: 75%;
    margin-left: 25%;
    margin-right: -100%;
    padding-right: 30px;
  }
  /* line 276, ../../sass/layouts/responsive-sidebars.scss */
  .sidebar-first #content.border {
    border-right: 5px solid #dddddd;
  }
  /* line 280, ../../sass/layouts/responsive-sidebars.scss */
  .sidebar-first .region-sidebar-first {
    /* Span 1 column, starting in 1st column from left. */
    float: left;
    width: 25%;
    margin-left: 0%;
    margin-right: -25%;
  }

  /*
  * The layout when there is only one sidebar, the right one.
  */
  /* line 291, ../../sass/layouts/responsive-sidebars.scss */
  .sidebar-second #content {
    /* Span 3 columns, starting in 1st column from left. */
    float: left;
    width: 75%;
    margin-left: 0%;
    margin-right: -75%;
    padding-right: 5px;
    padding-right: 30px;
    padding-top: 20px;
    min-height: 900px;
  }
  /* line 299, ../../sass/layouts/responsive-sidebars.scss */
  .sidebar-second #content.border {
    border-right: 5px solid #dddddd;
  }
  /* line 304, ../../sass/layouts/responsive-sidebars.scss */
  .sidebar-second .region-sidebar-second {
    /* Span 1 column, starting in 5th column from left. */
    float: left;
    width: 25%;
    margin-left: 75%;
    margin-right: -100%;
    padding-top: 20px;
  }
  /* line 307, ../../sass/layouts/responsive-sidebars.scss */
  .sidebar-second .region-sidebar-second .block {
    max-width: 214px;
  }

  /*
  * The layout when there are two sidebars.
  */
  /* line 318, ../../sass/layouts/responsive-sidebars.scss */
  .two-sidebars #top-main {
    border-radius: 10px;
    margin-top: -10px;
  }
  /* line 324, ../../sass/layouts/responsive-sidebars.scss */
  .two-sidebars #top-content,
  .two-sidebars #content {
    /* Span 3 columns, starting in 2nd column from left. */
    /* @include zen-grid-item(2, 2); */
    float: left;
    width: 50%;
    width: 502px;
    margin-left: 211px;
    margin-right: -724px;
  }
  /* line 334, ../../sass/layouts/responsive-sidebars.scss */
  .two-sidebars .region-front-sidebar-first,
  .two-sidebars .region-sidebar-first {
    /* Span 1 column, starting in 1st column from left. */
    /* @include zen-grid-item(1, 1); */
    float: left;
    width: 211px;
    margin-left: 0;
    margin-right: -247px;
  }
  /* line 340, ../../sass/layouts/responsive-sidebars.scss */
  .two-sidebars .region-front-sidebar-first .block,
  .two-sidebars .region-sidebar-first .block {
    max-width: 214px;
  }
  /* line 346, ../../sass/layouts/responsive-sidebars.scss */
  .two-sidebars .region-front-sidebar-second,
  .two-sidebars .region-sidebar-second {
    /* Span 1 column, starting in 5th column from left. */
    /* @include zen-grid-item(1, 4); */
    float: left;
    width: 247px;
    margin-left: 713px;
    margin-right: -960px;
    margin-bottom: 10px;
  }
  /* line 353, ../../sass/layouts/responsive-sidebars.scss */
  .two-sidebars .region-front-sidebar-second .block,
  .two-sidebars .region-sidebar-second .block {
    max-width: 214px;
  }
}
