*{
    box-sizing: border-box;
}
.mwrap{
    background-color:#64abfb;
    height: 30px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    -webkit-border-bottom-left-radius: 5px;
    -khtml-border-radius-bottomleft: 5px;
    -moz-border-radius-bottomleft: 5px;
    border-bottom-left-radius: 5px;
    -webkit-border-bottom-right-radius: 5px;
    -khtml-border-radius-bottomright: 5px;
    -moz-border-radius-bottomright: 5px;
    border-bottom-right-radius: 5px;
       -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
}
.mwrap ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;

}
.mwrap >ul{
    float: left;
}
.menu   li {
    border-right: 1px solid #333;
}

.menu  li:last-child {
    border-right: none;
}
.menu >li {
    float: left;
}
.menu >li> a{
    font-weight: bold;
}
.menu li a {
    display: inline-block;
    color: white;
    text-align: center;
    padding: 6px 6px;
    text-decoration: none;

}

.menu  li:hover a:hover{
    background-color: #cae5fd;
    display: block;
    text-decoration: none;
}

.menu li ul {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);

}

.menu li ul li a{
    color: black;
    padding: 6px 6px;
    text-decoration: none;
    display: block;
    text-align: left;
}

.menu li:hover ul li:hover a:hover  {background-color: #f1f1f1}

.menu li:hover ul{
    display: block;

}

.nav a { text-decoration: none; }

.nav li { list-style: none; }
/* Menu Container */
.nav {
    display: inline-block;
    position: relative;
    cursor: default;
    z-index: 500;
}

/* Menu List */
.nav > li {
    display: block;
    float: left;
}
/* Menu Links */
.nav > li > a {
    position: relative;
    display: block;
    z-index: 510;
    height: 54px;
    padding: 0 20px;
    line-height: 54px;

    font-family: Helvetica, Arial, sans-serif;
    font-weight: bold;
    font-size: 13px;
    color: #fcfcfc;
    text-shadow: 0 0 1px rgba(0,0,0,.35);

    background: #372f2b;
    border-left: 1px solid #4b4441;
    border-right: 1px solid #312a27;

    -webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    -o-transition: all .3s ease;
    -ms-transition: all .3s ease;
    transition: all .3s ease;
}
.nav > li:hover > a { background: #4b4441; }

.nav > li:first-child > a {
    border-radius: 3px 0 0 3px;
    border-left: none;
}
/* Menu Dropdown */
.nav > li > div {
    position: absolute;
    display: block;
    width: 100%;
    top: 50px;
    left: 0;

    opacity: 0;
    visibility: hidden;
    overflow: hidden;

    background: #ffffff;
    border-radius: 0 0 3px 3px;

    -webkit-transition: all .3s ease .15s;
    -moz-transition: all .3s ease .15s;
    -o-transition: all .3s ease .15s;
    -ms-transition: all .3s ease .15s;
    transition: all .3s ease .15s;
}
.nav > li:hover > div {
    opacity: 1;
    visibility: visible;
    overflow: visible;
}