/* reset fixes */
ul.nav ul, ul ol, ol ol, ol ul {
  margin: 0 0 0 0;
}
body, nav, ul, li, a  {margin: 0; padding: 0;}
ul.nav li {font-size: 0.8em;}
a {text-decoration: none;}
.nav-container {
    /*
    width: 90%;
    max-width: 900px;
    margin: 10px auto;
    margin: 5px auto 0;
    */
}
.toggleMenu {
    display:  none;
}

.nav {
    list-style: none;
     *zoom: 1;
     background:#ddd;
     font-family: 'Montserrat', sans-serif;
}
.nav:before,
.nav:after {
    content: " "; 
    display: table; 
}
.nav:after {
    clear: both;
}
.nav ul {
    list-style: none;
    width: auto;
}
.nav a {
  padding: 10px 3%;
  color:#000;
	transition : color .3s ease-in-out;
	-webkit-transition : color .3s ease-in-out;
	-moz-transition : color .3s ease-in-out;
	-o-transition : color .3s ease-in-out;
	-ms-transition : color .3s ease-in-out;
}
.nav a:hover {
  color: #222;
}
.nav li {
    position: relative;
    text-transform: uppercase;
}
.nav > li {
    float: left;
}

.nav > li > .parent {
    /* background-image: url("http://webdesigntutsplus.s3.amazonaws.com/tuts/378_tessa/tessa-lt-dropdowns-21c7868/images/downArrow.png"); */
    background-repeat: no-repeat;
    background-position: right;
}

.nav > li > a {
    display: block;
}
.nav li  ul {
    position: absolute;
    left: -9999px;
}

.nav > li.hover > ul {
    left: 0;
}
.nav li li.hover ul {
    left: 100%;
    top: 0;
}
.nav li li a {
    display: block;
    background: #eee;
    position: relative;
    z-index:100;
    border-top: 1px solid #ddd;
}
.nav li li li a {
    background:#249578;
    z-index:200;
    border-top: 1px solid #ddd;
}

ul.nav ul, ul.nav ol, ol.nav ol, ol.nav ul {
  margin: 0 0 0 0;
}


@media screen and (max-width: 768px) {
  .toggleMenu {
    display:  block;
    background: #fff;
    /*padding: 10px 15px;*/
    color: #000;
    width: 65px;
    height: 52px;
    position: absolute;
    top: 0;
    right: 0;
  }
  .toggleMenu img {
    width: 100%;
  }
  .active {
    display: block;
  }
  .nav > li {
    float: none;
  }
  .nav > li > .parent {
    background-position: 95% 50%;
  }
  .nav > li > .parent {
    background-image: none; 
  }
  
  .nav li .more {
    background-image: url(../images/structure/nav-down-arrow.png);
    background-repeat: no-repeat;
    background-position: 95% 50%;
    background-size: 26px 20px;
    float: right;
  	width: 15px;
		border-left: 1px solid #8f8f8f;
		padding: 5px 15px 5px;
		margin: 5px 15px 3px 0px;
    cursor: pointer;
		z-index: 2000;
    position: relative;
  }
  
  /*
  .nav li .more:before {
  content: "";
  background: rgba(0,0,0,.3);
  width: 1px;
	display: block;
	position: absolute;
	top: 0;
	bottom: 0;
	left: -2px;
  }
  */
  .nav ul {
      display: block;
      width: 100%;
  }
 .nav > li.hover > ul , .nav li li.hover ul {
      position: static;
  }
}
@media  screen and (max-width: 768px) and
(-webkit-min-device-pixel-ratio: 2), 
(min-resolution: 192dpi) { 
  .nav li .more {
    border-left: 0.5px solid #8f8f8f;
  }
}
@media screen and (min-width: 375px) and (max-width: 768px) {
  .toggleMenu {
    top: 11px;
  }
  .nav li {
    clear: both;
  }
  .nav li ul li {
    width: 100%;
    float: left;
    clear: none;
  }
  /*
  .nav li ul li:nth-child(2n) {
    width: calc(100% - 1px);
    border-left: 1px solid #ddd;
  }
  */
  .nav li ul li a {
    padding: 10px 6% 10px 6%;
    width: 100%;
  }
}

@media screen and (min-width: 769px) {
  .nav-container {
    float: right;
    margin-right: 3%;
    height: 80px
  }
  .nav {
    height: 80px;
    background: none;
  }
  .nav > li {
    margin-top: 0px;
    margin-left: 0px;
    height: 100%;
    
  }
  .nav a {
    padding: 0px 20px 0;
    height: 100%;
    
    
  }
  .nav > li > a {
    line-height: 7.15;
    transition : background .2s ease-in-out;
  	-webkit-transition : background .2s ease-in-out;
  	-moz-transition : background .2s ease-in-out;
  	-o-transition : background .2s ease-in-out;
  	-ms-transition : background .2s ease-in-out;
  }
  .nav > li > a:hover {
    background: #e8e8f0;
  }
  .nav > li.hover > ul {
    width: auto;
    padding-top: 0px;
    padding-bottom: 0px;
    background: #fff;
    border-bottom: #e4e4e4 solid 1px;
    border-left: #e4e4e4 solid 1px;
    border-right: #e4e4e4 solid 1px;
  }
  .nav li li a {
    background: #fff;
    border: none;
    float: left;
    width: 140px;
    padding-top: 0.8em;
    padding-bottom: 0.8em;
    font-size: 1.2em;
  }
  .nav li.nav-clewer li a {
    width: 180px;
  }
  .nav li li a:hover {
    text-decoration: none;
    color: #444;
    background: #e8e8f0;
  }
  /*
  .nav li:last-child a {
    padding-right: 0;
  }
  */
  
}
@media screen and (min-width: 1024px) {
  .nav {
    height: 100px;
  }
  .nav > li {
    margin-top: 0px;
    margin-left: 0px;
  }
  .nav > li > a {
    line-height: 9.4;
}


@media screen and (min-width: 1223px) {
  .nav-container {
    margin-right: 0%;
  }
}



.nav > li > a.active, .nav li li a.active {
  background: #eee;
}


