/*******************************************************************************
 * simple.layout.scss
 *
 * Styling of the "simple" layout demonstrating the Compass grid extension Susy
 * and building mobile first layouts.
 ******************************************************************************/


.l-footer {
    max-width:100% !important;
}

.l-footer .l-region--footer  {
    max-width:1190px !important;
    margin:0 auto;
}

.l-main,
.l-nav,
.l-footer {
  *zoom: 1;
  max-width: 1190px;
  _width: 1190px;
  padding-left: 5px;
  padding-right: 5px;
  margin-left: auto;
  margin-right: auto;
  /*margin-bottom: $vert-spacing-unit;*/
  padding-left:20px;
  padding-right:20px;
  }

  .l-main:after,
  .l-nav:after,
  .l-footer:after {
    content: "";
    display: table;
    clear: both; }

.l-main, .l-footer {
  padding-top: 30px;
  /* do spacing in terms of padding instead of margin so the body background color doesn't bleed through */
  background-color: #fff; }

.l-header {
  *zoom: 1;
  max-width: 1190px;
  _width: 1190px;
  padding-left: 0;
  padding-right: 0;
  margin-left: auto;
  margin-right: auto;
  background-color: #fff;
  /*height:53px;*/
}

  .l-header:after {
    content: "";
    display: table;
    clear: both; }

.nav-container {
  /*margin-bottom: $vert-spacing-unit;*/ }

.l-nav {
  margin-bottom: 0;
  padding-left: 0; }


/* at least tablet */
@media (min-width: 44em) {
  .l-nav {
    /* give more space for logo */ } 

  .l-header {
  padding-left: 30px;
  padding-right: 30px; 
  }

.l-region--highlighted,
.l-region--help,
.l-region--sidebar-first,
.l-region--sidebar-second {
  margin-bottom: 20px; }
}
@media (min-width: 44em) {
  .l-header,
  .l-main,
  .l-nav,
  .l-footer {
    max-width: 1190px; }

  .l-header {
    min-height: 102px; }

  .l-branding {
    width: 27.75665%;
    float: left;
    margin-right: 1.14068%; }

  .l-region--header {
    width: 71.10266%;
    float: right;
    margin-right: 0; }

  .l-region--navigation {
    clear: both; }

  .has-sidebar-first .l-content,
  .has-sidebar-second .l-content,
  .has-two-sidebars .l-content {
    width: 55.65399%;
    float: left;
    margin-right: 2.14068%; 
}

  .has-sidebar-first .l-region--sidebar-first,
  .has-sidebar-first .l-region--sidebar-second,
  .has-sidebar-second .l-region--sidebar-first,
  .has-sidebar-second .l-region--sidebar-second,
  .has-two-sidebars .l-region--sidebar-first,
  .has-two-sidebars .l-region--sidebar-second {
    width: 42.20532%;
    float: right;
    margin-right: 0; }
  .has-sidebar-first .l-region--sidebar-second,
  .has-sidebar-second .l-region--sidebar-second,
  .has-two-sidebars .l-region--sidebar-second {
    clear: right; } 
}

@media (min-width: 70em) {
  .l-header,
  .l-main,
  .l-nav,
  .l-footer {
    max-width: 1190px; }

  .l-branding {
    width: 32.74336%;
    float: left;
    margin-right: 0.88496%; }

  .l-region--header {
    width: 66.37168%;
    float: right;
    margin-right: 0; }

  .has-sidebar-first .l-content {
    width: 66.37168%;
    float: right;
    margin-right: 0; }
  .has-sidebar-first .l-region--sidebar-first {
    width: 21.53392%;
    float: left;
    margin-right: 0.88496%; }

  .has-sidebar-second .l-content {
    width: 70.8764%;
    float: left;
    margin-right: 1.95496%; }
  .has-sidebar-second .l-region--sidebar-second {
    width: 27.13864%;
    float: right;
    margin-right: 0;
    clear: none; }

  .has-two-sidebars .l-content {
    width: 43.9528%;
    float: left;
    margin-right: 0.88496%;
    margin-left: 22.41888%; }
  .has-two-sidebars .l-region--sidebar-first,
  .has-two-sidebars .l-region--sidebar-second {
    width: 21.53392%;
    float: left;
    margin-right: 0.88496%; }
  .has-two-sidebars .l-region--sidebar-first {
    margin-left: -67.25664%; }
  .has-two-sidebars .l-region--sidebar-second {
    float: right;
    margin-right: 0;
    clear: none; } }

@media all and (min-width:51em) {
    .l-main,
    .l-nav,
    .l-footer {
        padding-left:30px;
        padding-right:30px;
    }
}
