.menu{
    background: #0158a2;
    border-radius: 0 0 50px 50px;
    box-shadow: #00559e 0px 0px 10px 1px;
    display: table;
    margin: 0 auto;
    margin-bottom: 20px;
    padding: 20px 70px;
    position: relative;
    list-style: none;
    -webkit-border-radius: 0 0 50px 50px;
    -moz-border-radius: 0 0 50px 50px;
    -ms-border-radius: 0 0 50px 50px;
    -o-border-radius: 0 0 50px 50px;
}

.menu li{
    display: table;
    float: left;
    margin-right: 15px;
}

.menu li:last-child{
    margin-right: 0 !important;
}

.menu li a{
    color: #fff;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none !important;
    outline: none !important;
    opacity: 0.8;
    position: relative;
    transition: all 0.3;
    -webkit-transition: all 0.3;
    -moz-transition: all 0.3;
    -ms-transition: all 0.3;
    -o-transition: all 0.3;
}

.menu li a:hover{
    opacity: 1;
}

.menu .turn a{
    opacity: 1;
}

.mafter{
    padding-right: 35px !important;
}

.mafter:after{
    background: url('../default-img/chevrondown.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100%;
    content: "";
    display: block;
    height: 10px;
    pointer-events: none;
    position: absolute;
    right: 10px;
    top: 35%;
    -webkit-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
    width: 14px;
    opacity: .9;
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
}

.menu .turn .mafter:after{
    transform: rotate(180deg);
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    -o-transform: rotate(180deg);
}

.submenu{
    background: #fff;
    border: solid 1px #0158a2;
    border-radius: 0 0 5px 5px;
    box-shadow: #818FA4 0px 0px 10px 1px;
    padding: 20px;
    top: 100%;
    position: absolute;
    opacity: 0;
    visibility: hidden;
    transition: visibility 0.5s, opacity 0.5s linear;
    z-index: 9999;
    -webkit-transition: visibility 0.5s, opacity 0.5s linear;
    -moz-transition: visibility 0.5s, opacity 0.5s linear;
    -ms-transition: visibility 0.5s, opacity 0.5s linear;
    -o-transition: visibility 0.5s, opacity 0.5s linear;
    -webkit-border-radius: 0 0 5px 5px;
    -moz-border-radius: 0 0 5px 5px;
    -ms-border-radius: 0 0 5px 5px;
    -o-border-radius: 0 0 5px 5px;
}

.open{
    visibility: visible !important;
    opacity: 1 !important;
}