/**
 * Grid System
 * 
 * Based on: 1176, 960, 780, 660
 * 
 */

.container {
  display: block;
  position: relative;
  max-width: 1176px;
  margin: 0 auto;
}
@media only screen and (max-width: 1240px) {
  .container{ max-width: 960px; padding: 0 2em; }   
}
@media only screen and (max-width: 1020px) {
  .container{ max-width: 780px; }   
}
@media only screen and (max-width: 840px) {
   .container{ max-width: 660px; } 
}

.du-column,
.block-list .du-column { float: left;  margin-right: 60px; }
.du-row .du-column:last-child {  margin-right: 0; }
.du-row .du-column.du-col-1_2:nth-child(even){ margin-right: 0; }
.du-row .du-column.du-col-1_3:nth-child(3n){ margin-right: 0; }
.du-col-no-padding .padding { padding: 0; }

/* 1176 */
.du-col-4_4 {  width: 100%; float: none; }
.du-col-1_2 {  width: 558px; }
.du-col-1_3 {  width: 352px; }
.du-col-1_4 {  width: 249px; }
.du-col-2_3 {  width: 764px; }
.du-col-3_4 {  width: 867px; }
/* 960 */
@media only screen and (max-width: 1240px) {
  .du-col-1_2 {  width: 450px; }
  .du-col-1_3 {  width: 280px; }
  .du-col-1_4 {  width: 195px; }
  .du-col-2_3 {  width: 600px; }
  .du-col-3_4 {  width: 675px; }
}
/* 780 */
@media only screen and (max-width: 1020px) {
  .du-col-1_2 {  width: 360px; }
  .du-col-1_3 {  width: 220px; }
  .du-col-1_4 {  width: 360px; margin: 15px !important; }
  .du-col-2_3 {  width: 480px; }
  .du-col-3_4 {  width: 100%; margin: 1em 0 !important; }
}
/* 660 */
@media only screen and (max-width: 840px) {
  .du-col-1_2 {  width: 300px; }
  .du-col-1_3 {  width: 100%; margin: 1em 0 !important; }
  .du-col-1_4 {  width: 300px; }
  .du-col-2_3 {  width: 100%; margin: 1em 0 !important; }
  .du-col-3_4 {  width: 100%; margin: 1em 0 !important; }
}
@media only screen and (max-width: 715px) {
  .du-col-1_2 {  width: 100%; float: none !important; margin: 1em 0 !important;}
  .du-col-1_4 {  width: auto; max-width: 300px; float: none !important; margin: 2em auto !important; }
}

/**
 * Typography Helper Classes
 */
.text-center { 
  text-align: center; 
}
.text-right { 
  text-align: right; 
}
.text-left { 
  text-align: left; 
}
ul.sidebar,
ul.block-list{
  margin: 0;
  padding: 0;
}
.sidebar > li,
.block-list > li{
  padding: 0;
  margin: 0;
}
.sidebar > li:before, 
.block-list > li:before{
  display: none;
}

/**
 * NAVIGATION: Default
 */
.du-toggle-navigation {
  display: none
}
.du-navigation.template-navigation-default {
  display: block;
  position: relative;
  width: auto;
  font-size: .9em;
  text-align: right;
  float: right;
  z-index: 5;
}
.du-navigation.template-navigation-default ul {
  display: inline-block;
  position: relative;
  width: auto;
  margin: 0;
  padding: 0;
}
.du-navigation.template-navigation-default ul li {
  position: relative;
  float: left;
  z-index: 4;
}
.du-navigation.template-navigation-default ul li:before {
  content: "";
  width: 0;
}
.du-navigation.template-navigation-default ul li a {
  display: block;
  position: relative;
  font: 300 1em/2em Arial, Calibri, sans-serif;
  color: #505050;
  text-decoration: none;
  text-transform: uppercase;

  -webkit-transition: all 200ms ease-in-out;
  -moz-transition: all 200ms ease-in-out;
  -ms-transition: all 200ms ease-in-out;
  -o-transition: all 200ms ease-in-out;
  transition: all 200ms ease-in-out;
}
.du-navigation.template-navigation-default ul li:hover a,
.du-navigation.template-navigation-default ul li a:hover {
  color: #900;
}
/* Trigger next level */
.du-navigation.template-navigation-default ul li:hover ul {
  height: auto;
  max-height: 999em;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
  filter: alpha(opacity=100);
  -moz-opacity: 1;
  -khtml-opacity: 1;
  opacity: 1;
}
/**
 * Second Level Dropdown
 */
.du-navigation.template-navigation-default ul li ul {
  display: block;
  position: absolute;
  max-height: 0;
  width: 200px;
  overflow: hidden;
  left: 0;
  background: #fff;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
  filter: alpha(opacity=0);
  -moz-opacity: 0;
  -khtml-opacity: 0;
  opacity: 0;
  -webkit-transition: all 300ms ease-in-out;
  -moz-transition: all 300ms ease-in-out;
  -ms-transition: all 300ms ease-in-out;
  -o-transition: all 300ms ease-in-out;
  transition: all 300ms ease-in-out;
}
.du-navigation.template-navigation-default ul li ul li {
  display: block;
  position: relative;
  width: 100%;
  float: none;
  text-align: left;
}
.du-navigation.template-navigation-default ul li ul li a {
}
.du-navigation.template-navigation-default ul li ul li a:hover {
  background: #505050;
  color: #fff;
}

@media only screen and (max-width: 850px) { 
  .du-toggle-navigation {
    display: block;
    position: absolute;
    right: 0;
    top: 0;
    width: 60px;
    height: 60px;
    cursor: pointer;
    color: #000;
    -webkit-transition: all 300ms ease-in-out;
    -moz-transition: all 300ms ease-in-out;
    -ms-transition: all 300ms ease-in-out;
    -o-transition: all 300ms ease-in-out;
    transition: all 300ms ease-in-out;
  }
  .du-toggle-navigation:hover {
    background-color: #505050;
  }
  .du-navigation.template-navigation-default{
    display: block;
    position: fixed;
    width: 250px;
    height: auto !important;
    top: -50em;
    right: 0;
    background: #505050;
    -webkit-transition: top 250ms ease-in-out!important;
    -moz-transition: top 250ms ease-in-out!important;
    -ms-transition: top 250ms ease-in-out!important;
    -o-transition: top 250ms ease-in-out!important;
    transition: top 250ms ease-in-out!important;
    z-index: 99;
   }
  .du-navigation.template-navigation-default.active{
    top: 60px;
  }
  .du-navigation.template-navigation-default ul{
    display: block;
  }
  .du-navigation.template-navigation-default ul li{
    display: block;
    float: none;
  }
  .du-navigation.template-navigation-default ul li:hover a{
    background: #900;
  }
  .du-navigation.template-navigation-default ul li a {
    display: block;
  }
  .du-navigation.template-navigation-default ul li a:hover {
    color: #ccc;
  }
  .du-navigation.template-navigation-default.active ul li ul{
    display: none;
  }
}

@media only screen and (max-width: 650px) { 
  .du-toggle-navigation {
    width: 60px;
    height: 60px;
  }
}

/**
 * NAVIGATION: Roll Down
 */
.template-toggle-navigation-roll-down {
  display: none
}
.template-navigation-roll-down {
  display: block;
  position: relative;
  width: auto;
  font-size: .9em;
  text-align: right;
  float: right;
  z-index: 5;
}
.template-navigation-roll-down ul {
  display: inline-block;
  position: relative;
  width: auto;
  margin: 0;
  padding: 0;
}
.template-navigation-roll-down ul li {
  position: relative;
  float: left;
  z-index: 4;
}
.template-navigation-roll-down ul li:before {
  content: "";
  width: 0;
}
.template-navigation-roll-down ul li a {
  display: block;
  position: relative;
  padding: 0 1em
  font: 300 1em/2em Arial, Calibri, sans-serif;
  color: #505050;
  text-decoration: none;
  text-transform: uppercase;
  -webkit-transition: all 200ms ease-in-out;
  -moz-transition: all 200ms ease-in-out;
  -ms-transition: all 200ms ease-in-out;
  -o-transition: all 200ms ease-in-out;
  transition: all 200ms ease-in-out;
}
.template-navigation-roll-down ul li:hover a,
.template-navigation-roll-down ul li a:hover {
  color: #900;
}
/* Trigger next level */
.template-navigation-roll-down ul li:hover ul {
  height: auto;
  max-height: 99em;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
  filter: alpha(opacity=100);
  -moz-opacity: 1;
  -khtml-opacity: 1;
  opacity: 1;
}
/**
 * Second Level Dropdown
 */
.template-navigation-roll-down ul li ul {
  display: block;
  position: absolute;
  max-height: 0;
  width: 200px;
  overflow: hidden;
  left: 0;
  background: #fff;
  -webkit-transition: all 500ms ease-in-out;
  -moz-transition: all 500ms ease-in-out;
  -ms-transition: all 500ms ease-in-out;
  -o-transition: all 500ms ease-in-out;
  transition: all 500ms ease-in-out;
}
.template-navigation-roll-down ul li ul li {
  display: block;
  position: relative;
  width: 100%;
  float: none;
  text-align: left;
}
.template-navigation-roll-down ul li ul li a {
}
.template-navigation-roll-down ul li ul li a:hover {
  background: #505050;
  color: #fff;
}

@media only screen and (max-width: 850px) { 
  .template-toggle-navigation-roll-down {
    display: block;
    position: absolute;
    right: 0;
    top: 0;
    width: 60px;
    height: 60px;
    background: #000;
    cursor: pointer;
    color: #000;
    -webkit-transition: all 300ms ease-in-out;
    -moz-transition: all 300ms ease-in-out;
    -ms-transition: all 300ms ease-in-out;
    -o-transition: all 300ms ease-in-out;
    transition: all 300ms ease-in-out;
  }
  .template-toggle-navigation-roll-down:hover {
    background-color: #505050;
    color: #fff;
  }
  .template-navigation-roll-down{
    display: inline-block;
    position: relative;
    margin-top: 20px;
    width: 100%;
    max-height: 0;
    height: auto;
    overflow: hidden;
    background: #505050;
    -webkit-transition: all 600ms; !important;
    -moz-transition: all 600ms; !important;
    -ms-transition: all 600ms; !important;
    -o-transition: all 600ms; !important;
    transition: all 600ms; !important;
    float: none;
    z-index: 99;
   }
  .template-navigation-roll-down.active{
    max-height: 199em;
    height: auto;
  }
  .template-navigation-roll-down ul{
    display: block;
    position: relative;
  }
  .template-navigation-roll-down ul li{
    display: block;
    float: none;
  }
  .template-navigation-roll-down ul li:hover a{
    background: #900;
  }
  .template-navigation-roll-down ul li a {
    display: block;
  }
  .template-navigation-roll-down ul li a:hover {
    color: #ccc;
  }
  .template-navigation-roll-down.active ul li ul{
    display: none;
  }
}

@media only screen and (max-width: 650px) { 
  .template-toggle-navigation-roll-down {
    width: 60px;
    height: 60px;
  }
}