﻿body, nav, ul, li, a  {margin: 0; padding: 0;}
/*
body
{
    font-family: 'Trebuchet MS';
    font-size: 10px;
    text-transform: uppercase;
}
*/
a {text-decoration: none;}
.container {
    max-width: 900px;
    /*margin: 10px auto;*/
}
.toggleMenu {
    display:  none;
    background: #666;
    padding: 10px 15px;
    color: #ffffff;
}
.nav {
    list-style: none;
     *zoom: 1;
     background:#2e376a;
     font-family: 'Trebuchet MS';
     font-size: 10px;
     text-transform: uppercase;
}

.nav:before,
.nav:after {
    content: " "; 
    display: table; 
}
.nav:after {
    clear: both;
}

/* sub-menus */
.nav ul {
    list-style: none;
    width: 128px;
}
.nav a
{
    padding: 8px 5px 7px 5px;
    color: #fff;
    text-align: left;
}
.nav li {
    position: relative;
}
.nav > li
{
    float: left;
}
.nav > li > .parent {
    /*background-image: url("images/downArrow.png");*/
    background-repeat: no-repeat;
    background-position: right;
}

/* top-menu width */
.nav > li > a
{
    display: block;
    width: 116px;
    border-left-style: solid;
    border-left-width: 1px;
    border-left-color: #FFFFFF;
}
.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: #B3B8D5;
    position: relative;
    z-index: 100;
    color: #2e376a;
    border-top-style: solid;
    border-left-style: solid;
    border-top-width: 1px;
    border-left-width: 1px;
    border-top-color: #fff;
    border-left-color: #fff;
}
.nav li li a:hover
{
    color: #fff;
}

.nav li li li a
{
    background: #C9CCE0;
    border-top-style: solid;
    border-left-style: solid;
    border-top-width: 1px;
    border-left-width: 1px;
    border-top-color: #fff;
    border-left-color: #fff;
    z-index: 200;
}

@media screen and (max-width: 768px) {
    .active {
        display: block;
    }
    .nav > li {
        float: none;
    }
    .nav > li > .parent {
        background-position: 95% 50%;
    }
    .nav li li .parent {
       /*background-image: url("images/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;
    }

}