﻿#cssmenu > * {
    font-size: 12px;
}

.mobile-menu-header {
    background-color: rgba(42, 75, 152, 1);
    padding: 1px 10px;
    color: white;
    display: none;
    position: relative;
}

.mobile-menu-header > i {
    display: inline-block;
    position: absolute;
    right: 25px;
    top: 0;
    color: white;
    line-height: 54px;
    font-size: 21px;
}

.transition-fast {
    -o-transition: 0.1s linear all;
    -moz-transition: 0.1s linear all;
    -webkit-transition: 0.1s linear all;
    transition: 0.1s linear all;
}

.responsive-menu,
.responsive-submenu,
.responsive-thirdmenu {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
    position: relative;
    text-align: left;
}

.responsive-submenu,
.responsive-thirdmenu {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    background-color: white;
    top: 60px;
    border: 1px solid rgba(42, 75, 152, 0.2);
    border-radius: 2px;
    width: 220px;
    text-align: left;
    z-index: 1000;
    white-space: normal;
}

.responsive-submenu {
    left: 0;
}

.responsive-thirdmenu {
    right: -222px;
    top: -1px;
}

.responsive-menu {
    background-color: rgba(42, 75, 152, 1);
    white-space: nowrap;
}

.responsive-menu > li {
    display: inline-block;
    vertical-align: top;
    position: relative;
    line-height: 45px;
    height: 45px;
    margin-right: -4px;
}

.responsive-menu > li:hover {
    background-color: white;
}

.responsive-menu > li:hover > a {
    color: black !important;
}

.responsive-menu > li:hover > .responsive-submenu {
    visibility: visible;
    opacity: 1;
    top: 50px;
}

.responsive-menu > li > a {
    display: block;
    padding: 0 20px;
    text-decoration: none;
    color: white;
    text-transform: uppercase;
    font-weight: bold;
}

.active {
    background-color: white;
}

.active > a {
    color: black !important;
}

.responsive-submenu > li,
.responsive-thirdmenu > li {
    position: relative;
    vertical-align: baseline;
    max-height: 50px;
}

.responsive-submenu > li > a,
.responsive-thirdmenu > li > a {
    text-decoration: none;
    line-height: 20px;
    display: block;
    height: auto;
    color: black;
    padding: 10px 20px;
}

.responsive-submenu > li > a > i {
    display: block;
    position: absolute;
    right: 15px;
    top: 0;
    line-height: 43px;
}

.responsive-submenu > li > a:hover,
.responsive-thirdmenu > li > a:hover {
    color: #d80041 !important;
}

.responsive-submenu > li:hover > .responsive-thirdmenu {
    visibility: visible;
    opacity: 1;
}

.expand-button {
    display: none !important;
    cursor: pointer;
}

@media (max-width:800px) {
    .transition-fast {
        -o-transition: 0.2s linear all;
        -moz-transition: 0.2s linear all;
        -webkit-transition: 0.2s linear all;
        transition: 0.2s linear all;
    }
    .wrapper {
        width: 100%;
        min-width: 320px;
        padding: 40px 0;
    }
    .mobile-menu-header {
        display: block;
        cursor: pointer;
    }
    .fa-chevron-circle-right {
        display: none !important;
    }
    .responsive-menu > li > .expand-button {
        display: inline-block !important;
        position: absolute;
        right: 10px;
        top: 0;
        width: 50px;
        line-height: 50px !important;
        font-size: 15px;
    }
    .responsive-submenu > li > .expand-button,
    .responsive-thirdmenu > li > .expand-button {
        display: inline-block !important;
        position: absolute;
        right: 10px;
        top: 0;
        width: 50px;
        line-height: 45px !important;
        text-align: center;
        font-size: 15px;
    }
    .responsive-menu {
        background-color: white;
        height: 1px !important;
        opacity: 0 !important;
        text-align: center;
    }
    .responsive-menu > li {
        display: block;
        height: auto;
        background-color: rgba(42, 75, 152, 0.15);
        border-top: 1px solid rgba(42, 75, 152, 0.2);
        margin-right: 0px;
    }
    .responsive-menu > li:hover {
        background-color: rgba(42, 75, 152, 0.15);
    }
    .responsive-menu > li:hover > a {
        color: #d80041 !important;
    }
    .active > a {
        color: #d80041 !important;
    }
    .responsive-menu > li > a {
        color: black;
        text-align: left;
        display: inline-block;
        width: 90%;
        padding: 0;
    }
    .responsive-menu > li > a > .fa-chevron-circle-down {
        display: none;
        position: absolute;
        right: 15px;
        top: 0;
        line-height: 43px;
    }
    .responsive-menu > li:hover > .responsive-submenu {
        visibility: visible;
        opacity: 0;
    }
    .responsive-submenu {
        visibility: visible;
        opacity: 0;
        position: initial;
        width: 100%;
        border: 0;
        height: 1px;
    }
    .responsive-submenu > li {
        background-color: rgba(42, 75, 152, 0.1);
        max-height: initial;
    }
    .responsive-submenu > li > a {
        display: inline-block;
        width: 80%;
        padding: 0 0 0 10%;
    }
    .responsive-thirdmenu {
        visibility: visible;
        opacity: 0;
        position: initial;
        width: 100%;
        border: 0;
        height: 1px;
    }
    .responsive-thirdmenu > li {
        background-color: rgba(42, 75, 152, 0.05);
        max-height: initial;
    }
    .responsive-thirdmenu > li > a {
        display: inline-block;
        width: 80%;
        padding: 0 0 0 20%;
    }
    .responsive-submenu > li:hover > .responsive-thirdmenu {
        visibility: visible;
        opacity: 0;
    }
    .expanded {
        height: auto !important;
        opacity: 1 !important;
    }
    .hidden {
        height: 1px !important;
        opacity: 0 !important;
    }
}