
/************************************** MENU **************************************/
header nav {
    position: relative;
}

header nav ul {
    list-style: none;
    padding:0px;
    margin:0px;
}

header nav ul li {
    display: inline-block;
    padding: 0 4px;
    border-right:1px solid white;
}

header nav ul li:last-child {
    border-right: 0px;
}


header nav ul li a {
    padding: 0 5px;
    color: #fff;
    font-family: Platform-Regular;
    font-size: 17.5px;
    letter-spacing: 1px;
    text-decoration: none;
}

header .submenu {
    position: absolute;
    z-index: 100;
    margin-left: -150px;
    top: 100%;
    margin-top: 39px;
    background: rgb(20 65 123 / 87%);
    font-size: 0;
    overflow: hidden;
    display: none;
    width: 400px;
    text-align:left;
}

header .submenu h3 {
    background: white;
    color: #2B4378;
    font-size: 15px;
    text-align: center;
    margin: 0px;
    padding: 10px;
    font-family: 'Platform-Regular';
    letter-spacing: 2px;
    text-transform: uppercase;
}

header .submenu ul {
    padding: 10px 15px;
}

header .submenu ul li {
    display: block;
    padding: 5px;
    border-bottom: 2px solid #5485b5;
    border-right: 0px;
}

header .submenu ul li:last-child {
    border: none;
}


header .submenu ul li a {
    color: white;
    text-transform: uppercase;
    font-size: 14px;
}

nav.subnav .right {
    display: block;
}


header #bt_nav {
    position: absolute;
    display: none;
    width: 40px;
    height: 40px;
    text-indent: -5000px;
    right: 15px;
    top: 23px;
}

header #bt_nav:after {
    content: '\f0c9';
    font-family: 'FontAwesome';
    position: absolute;
    left: 0;
    width: 100%;
    top: 0;
    text-align: center;
    text-indent: 0;
    color: #fff;
    font-size: 40px;
    line-height: 40px;
    padding: 5px;
}

.submenu.areas {
    height: 510px;
    overflow: auto;
}

@media screen and (max-width: 1260px) {

  
}

@media screen and (max-width: 1023px) {
    header nav {
        width: 100%;
        float: none;
        clear: both;
        background: #0F427A;
        margin: 0px;
        display: none;
        top: 35px;
        overflow-y: auto;
        max-height: 600px;
        scrollbar-width: 3px;
    }

    header nav::-webkit-scrollbar-track {
        background-color: #F5F5F5;
    }

    header nav::-webkit-scrollbar {
        width: 6px;
        background-color: #F5F5F5;
    }

    header nav::-webkit-scrollbar-thumb {
        background-color: #356DB0;
    }

    header nav ul {
        list-style: none;
        padding: 0px;
    }

    header nav ul li {
        display: block;
        padding: 15px 0;
    }

    header nav ul li a {
        padding: 0 10px;
        color: #fff;
        font-family: Platform-Regular;
        font-size: 16px;
        letter-spacing: 0.7px;
        text-decoration: none;
    }

    header .submenu {
        position: relative;
        display: none;
        width: 100%;
        margin: 30px 0 0 0;
        padding: 0 0 10px 0px;
        background: #1F61A9;
    }

    header .submenu h3 {
        background: #17A9BA;
    }

    header .submenu ul li {
        display: block;
        padding: 5px;
        border-bottom: none;
        width: 100%
    }

    header .submenu ul li:last-child {
        border: none;
    }


    header .submenu ul li a {
        color: white;
        text-transform: uppercase;
        font-size: 14px;
    }

    header #bt_nav {
        display: block;
    }


}


/************************************** SUBNAV **************************************/
nav.subnav {
    position: fixed;
    background: rgb(20, 65, 123);
    clear: both;
    top: 100px;
    width: 100%;
    z-index: 90;
    height: 37px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 1px;
}

nav.subnav ul {
list-style-type: none;
margin: 0px;
}

nav.subnav ul li {
    border: none;
    background: none;
    font-size: 25px;
    color: white;
    margin: 5px 0;
    padding: 0 7px;
    float: left;
}

nav.subnav ul li a i {
    color: #2b4378;
    background: #fff;
    padding: 4px;
    border-radius: 100%;
    font-size: 18px;
    width: 19px;
    display: flex;
    justify-content: center;
    align-items: center;
}

nav.subnav ul li span {
    padding-right: 20px;
    float: left;
    font-family: Platform-Regular;
    font-size: 16px;
    margin-left: 15px;
    padding-top: 3px;
    cursor: pointer;
    letter-spacing: 1px;
}

nav.subnav ul li:last-child {
    border: none;
}

nav.subnav ul li i {
    float: left;
    cursor: pointer;
}

nav.subnav .left {
    flex-grow:1;
}

nav.subnav .right {
        width: 300px;
        margin-top: 2px;
}

nav.subnav .right input[type="submit"] {
    border: none;
    color: #ffffff;
    padding: 5px;
    width: 45px;
    cursor: pointer;
    height: 36px;
    margin: 0px;
    padding: 0px;
    float: right;
    background: url('/assets/images/icon-search-header.png') no-repeat center center;
    background-size: 50px;
}

nav.subnav .right .search-close-img {
    background: url('/assets/images/bg-search.png') no-repeat center center;
    width: 41px;
    height: 36px;
    float: right;
}


nav.subnav .right input[type="text"] {
    font-size: 23px;
    color: #fff;
    padding: 0;
    height: 36px;
    float: right;
    margin: 0px !important;
    width: 0px;
    transition: all 150ms cubic-bezier(.75,0,.25,1);
    border: 0px;
    background: #ed8634;
}

nav.subnav .right:hover input[type="text"],
nav.subnav .right input[type="text"]:focus {
    visibility: visible;
    width: 100px;
    float: right;
    margin-left: 30px;
    background: #ed8634 !important;
    border: 0px !important;
    outline: none;
}


nav.subnav .right form {
    margin: 0px;
    height: 38px;
    float: right;
}

@media screen and (max-width: 1023px) {
    nav.subnav {
        z-index: 100 !important;
    }

    nav.subnav ul li span {
    font-size: 13px;
    padding-top: 6px;
    }
    nav.subnav .right:hover input[type="text"],
    nav.subnav .right input[type="text"]:focus {
        width: 50px;
    }

    nav.subnav .right {
        width: 150px;
    }
}

