/*******************************************************************************
 * simple.layout.scss ..
 *
 * Styling of the "simple" layout demonstrating the Compass grid extension Susy
 * and building mobile first layouts.
 ******************************************************************************/
.l-header,
.l-nav,
.l-preface,
.l-main,
.l-footer {
  *zoom: 1;
  max-width: 100%;
  _width: 100%;
  padding-left: 5px;
  padding-right: 5px;
  margin-left: auto;
  margin-right: auto;
}
.l-header:after,
.l-main:after,
.l-preface:after,
.l-nav:after,
.l-footer:after {
  content: "";
  display: table;
  clear: both;
}
  .l-header .l-section-inner,
  .l-nav .l-section-inner,
  .l-preface .l-section-inner,
  .l-main .l-section-inner,
  .l-footer .l-section-inner {
    max-width: 1190px;
    _width: 1190px;
    margin: 0 auto;
  }
  
  .l-nav { padding-bottom: 0; margin-bottom: 0; }

.padded {
  padding: 20px;
}

.l-content article.node { clear: left; }

.l-region--highlighted,
.l-region--help,
.l-region--sidebar-first,
.l-region--sidebar-second {
  margin-bottom: 20px;
}

.l-nav {
  background-color: #009D77; 
  padding: 5px 0;
}

a.site-logo { color: #5368C1; }
  a.site-logo img { float: left; padding-right: 20px; max-height: 50px; }

.l-feature-2 {
  background-color: #8C66C3;
  color: #fff;
  margin: 20px 0;
}

.front #block-views-rotators-block .rotator_img .rotator_title { font-size: 3em; max-width: 75%; }

footer.l-footer { font-size: .75em; }

.page-taxonomy-term article .field-name-field-image { float: left; clear: left; padding: 0 10px 10px 0; }
  .page-node article .flexslider { max-width: 20%; float: right; background-color: transparent; box-shadow: none; border-radius: none; border: none; }

@media (min-width: 44em) {
  .l-header,
  .l-nav,
  .l-main,
  .l-footer {
    max-width: 100%;
  }
  
    h1.site-name a { font-size: 1.7em; }
    a.site-logo img { max-height: 130px; }



  .l-branding {
    width: 66.10169%;
    float: left;
    padding-right: 30px;
  }

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

  .l-region--navigation {
    clear: both;
  }
  
  .l-feature { 
    width: 66.10169%;
    float: left;
    margin: 20px 0;
  }

  .l-feature.fullwidth { 
    width: 100%;
  }

  .l-feature-2 {
    width: 32.20339%;
    margin-left: 1.5%;
    float: right;
    margin: 20px 0;
  }

  .has-sidebar-first .l-content,
  .has-sidebar-second .l-content,
  .has-two-sidebars .l-content {
    width: 74%;
    float: right;
    margin-right: 1%;
    margin-left: 1%;
  }
  .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: 24%;
    float: right;
    margin-right: 0;
  }

  .has-sidebar-first .l-region--sidebar-first,
  .has-sidebar-second .l-region--sidebar-first,
  .has-two-sidebars .l-region--sidebar-first {
    float: left;
  }
  
      .front .has-sidebar-first .l-content,
      .front .has-sidebar-second .l-content,
      .front .has-two-sidebars .l-content {
        width: 66%;
      }
      .front .has-sidebar-first .l-region--sidebar-first,
      .front .has-sidebar-first .l-region--sidebar-second,
      .front .has-sidebar-second .l-region--sidebar-first,
      .front .has-sidebar-second .l-region--sidebar-second,
      .front .has-two-sidebars .l-region--sidebar-first,
      .front .has-two-sidebars .l-region--sidebar-second {
        width: 32%;
      }

  .has-sidebar-first .l-region--sidebar-second,
  .has-sidebar-second .l-region--sidebar-second,
  .has-two-sidebars .l-region--sidebar-second {
    clear: right;
  }
  
  .front #block-views-rotators-block .rotator_img .rotator_title { font-size: 3.5em; max-width: 75%; }
  .front .l-content .view-footer { clear: left; text-align: right; display: block; }
  
  .l-region--footer #block-block-31 { max-width: 20%; float: left; }
    .l-region--footer #block-wpc-addons-wpc-addons-salsa-signup { max-width: 30%; float: left; }
      .l-region--footer #block-wpc-addons-wpc-addons-salsa-signup label, .l-region--footer #block-wpc-addons-wpc-addons-salsa-signup input { clear: left; display: block; }
      .l-region--footer #block-wpc-addons-wpc-addons-salsa-signup input[type="submit"] { margin-top: 15px; }
      .l-region--footer #block-wpc-addons-wpc-addons-salsa-signup input[type="text"] { margin: 3px 0; max-width: 100%; }
    .l-region--footer #block-block-31 h2.block__title { font-size: 2.2em; margin: 10px 0 0 0; }
  .l-region--footer #block-views-tweets-block { max-width: 50%; float: left; }
  
  .front .view-front .views-row { float: left; padding-bottom: 30px; width: 49%; padding-right: .5%; }
    .view-front .views-row { width: 300px; }


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

  .l-branding {
  }
    h1.site-name a { font-size: 2.4em; }
    a.site-logo img { max-height: 100%; }

  .l-region--header {
    margin-right: 0;
  }

  .has-sidebar-first .l-content {
    width: 80%;
    float: right;
    margin-right: 0;
  }
  
    .front .has-sidebar-first .l-content {
      width: 74%;
    } 
    
    
  .has-sidebar-first .l-region--sidebar-first {
    width: 18%;
    float: left;
    margin-right: 1%;
  }
  
    .front .has-sidebar-first .l-region--sidebar-first {
      width: 24%;
    }

  .has-sidebar-second .l-content {
    width: 74%;
    float: left;
    margin-right: 1%;
  }
  .has-sidebar-second .l-region--sidebar-second {
    width: 24%;
    float: right;
    margin-right: 0;
    clear: none;
  }

  .has-two-sidebars .l-content {
    width: 49%;
    float: left;
    margin-right: 1%;
    margin-left: 25%;
  }
  .has-two-sidebars .l-region--sidebar-first,
  .has-two-sidebars .l-region--sidebar-second {
    width: 24%;
    float: left;
    margin-right: 1%;
  }
  .has-two-sidebars .l-region--sidebar-first {
    margin-left: -75.5%;
  }
  .has-two-sidebars .l-region--sidebar-second {
    float: right;
    margin-right: 0;
    clear: none;
  }
  
  .front #block-views-rotators-block .rotator_img .rotator_title { font-size: 4em; max-width: 50%; }
}
