.container {
    width: 90%;
    max-width: 900px;
    margin: 10px auto;
}
.toggleMenu {
    padding: .5em;
    color: #407BBF;
    display: none;
    font-size: 1.6em;
    padding-left: 0;
     
    clear: both;
    
}
.nav {
    list-style: none;
     *zoom: 1;
     clear: both;
      
}
.nav:before,
.nav:after {
    content: " "; 
    display: table; 
}
.nav:after {
    clear: both;
}
.nav {
    list-style: none;
   padding: 0;
   border-bottom: 3px solid #CCCCCC;
   border-right: 1px solid #CCCCCC;
   margin: 1em 0;
}
.nav a {
    padding: 8px 18px;
    color: #407BBF;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: normal; 
    font-family: 'heroregular';
    font-size: 0.9em;
}
.nav li {
    position: relative;
}

.nav li.active > a { color: #222; }

.nav > li {
    float: left;
    border-left: 1px solid #CCCCCC;
    
}
.nav > li > .parent {
    background-image: url("../img/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.hover > a {
    color: #222;
}


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


@media screen and (max-width: 990px) {

    .nav a { 
        padding: 9px;
        font-size: 0.8em;
     }

    }


@media screen and (max-width: 768px) {
    .active {
        display: block;
    }
    .nav { background: #407BBF; border: none;}
    .nav a { color: #fff; font-size: 0.9em; }
    .nav a:hover { background: #366AA5; }
    .nav > li {
        float: none; border: none;
        border-bottom: 1px solid #366AA5;
    }
    .nav > li > .parent {
        background-position: 95% 50%;
    }
    .nav li li .parent {
        background-image: url("../img/downArrow.png");
        background-repeat: no-repeat;
        background-position: 95% 50%;
    }
    .nav ul {
        display: block;
        width: 100%;
    }
   .nav > li.hover > ul , .nav li li.hover ul {
        position: static;
    }

}

