header {
    width: 100%;
    z-index: 100;
    font-family: 'Lato', sans-serif;
    -webkit-transition: all 0.5s ease-out;
    -moz-transition: all 0.5s ease-out;
    -o-transition: all 0.5s ease-out;
    transition: all 0.5s ease-out;
}
.tpl-no-visual header {
    position: static;
    background-color: #245A3C;
}
header.sticky {
    position: sticky !important;
    background-color: #262626 !important;
    top: 0;
    left: 0;
}
@media(max-width: 991px) {
    header {
        background-color: #262626 !important;
    }
}

@media(min-width: 992px) {
    header {
        position: fixed;
        top: 0;
        left: 0;
    }
}
/********************************************************
NAV
********************************************************/
#nav-content {
    width: 100%;
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
}
#nav-content .logo {
    width: 270px;
}
@media(max-width: 767.98px) {
    #nav-content {
        height: 74px;
    }
}
@media(min-width: 768px) {
    #nav-content .logo {
        width: 340px;
    }
}

/********************************************************
MENU FIRST LEVEL
********************************************************/
#main-menu ul li a {
    font-size: 22px;
    text-transform: uppercase;
    color: #fff;
    padding: 12px 0;
    display: inline-block;
    -webkit-transition: color .15s ease-in-out;
    -o-transition: color .15s ease-in-out;
    transition: color .15s ease-in-out;
}
@media(max-width: 991.98px) {
    #hamburger span {
        width: 24px;
        height: 2px;
        display: block;
        background-color: #fff;
        cursor: pointer;
    }
    #hamburger>span:nth-child(2) {
        margin: 4px 0;
    }
    #main-menu {
        width: 100vw;
        height: 100vh;
        position: fixed;
        top: 0;
        right: -100vw;
        z-index: 1000;
        background-color: #245A3C;
        color: #fff;
        -webkit-transition: all 0.6s ease-out;
        -moz-transition: all 0.6s ease-out;
        -o-transition: all 0.6s ease-out;
        transition: all 0.6s ease-out;
    }
    #main-menu.open {
        right: 0vw;
    }
    #main-menu .top {
        height: 74px;
        border-bottom: 1px solid rgba(255,255,255,.4);
    }
    #main-menu .top .logo {
        display: inline-block;
        float: left;
        padding: 6px 10px;
    }
    #main-menu .top .toggle-close {
        float: right;
        width: 18px;
        position: relative;
        top: 26px;
        right: 20px;
        cursor: pointer;
    }
    #main-menu ul {
        padding: 0 20px;
    }
    #main-menu ul li a {
        font-size: 16px;
    }
    #toggle-search {
        display: none;
    }
}
@media(min-width: 992px) {
    #hamburger, #main-menu .top {
        display: none;
    }
    #main-menu-content {
        display: flex;
    }
    #main-menu ul li {
        display: inline-block;
    }
    #main-menu ul li a {
        font-size: 13px;
        padding: 0 20px;
        position: relative;
        line-height: 40px;
    }
 
    #main-menu ul li.current-menu-parent > a:after {
        content: '';
        width: calc(100% - 40px);
        height: 1px;
        position: absolute;
        bottom: 0px;
        left: 50%;
        transform: translateX(-50%);
        background-color: #fff;
        background-image: url('../img/icon-flag-separator.svg');
        background-repeat: no-repeat;
        background-size: cover !important;
        overflow: hidden;
    }
}
@media(min-width: 1330px){
    #main-menu ul li a {
        font-size: 18px;
    }
}

/********************************************************
MENU SECOND LEVEL
********************************************************/
#main-menu .dropdown{
    z-index:10;
    left: 100%;
    position: fixed;
    top: 74px;
    width: 100%;
    height: calc(100vh - 40px);
    background: #245A3C;
    transition: all 0.6s ease-out;
}
#main-menu li.active .dropdown{
    left:0;
}
#main-menu .dropdown-back{
    border-bottom:1px solid rgba(255,255,255,.4);
    padding:0 15px;
}
#main-menu .dropdown-back > a{
    display:flex !important;
    align-items: center;
}
#main-menu .dropdown-back > a img{
    margin-right:10px;
}
#main-menu li[data-dropdown]{
    position: relative;
}
#main-menu li[data-dropdown] > a{
    display:flex !important;
    justify-content: space-between;
}
@media(max-width:991.98px){
    #main-menu li[data-dropdown] > a img{
        transform:rotate(270deg);
    }
}
@media(min-width: 992px) {
    #main-menu li[data-dropdown] > a img{
        margin-left: 10px;
    }
    #main-menu li[data-dropdown].active .dropdown{
        opacity:1;
        visibility: visible;
    }
    #main-menu li[data-dropdown].active > a img{
        transform:rotate(180deg);
    }
    #main-menu .dropdown {
        width:198px;
        height:auto;
        padding: 20px;
        transform: translateX(-50%);
        left: 50% !important;
        position: absolute;
        left: 0;
        top:35px;
        opacity:0;
        transition: all 0s;
        background: #fff;
        visibility: hidden;
    }
    #main-menu .dropdown li {
        display: block !important;
        padding: 10px 0 !important;
    }
    #main-menu .dropdown li a{
        font-size: 14px;
        letter-spacing: 0;
        line-height: 20px !important;
        padding: 0 !important;
        color: #262626;
        text-transform: none;
    }

    #main-menu .dropdown-back{
        display:none;
    }
}
@media(min-width: 1200px) {
    #main-menu .dropdown li a{
        font-size: 16px;
    }
    #main-menu .dropdown li.current-menu-item a {
        border-bottom: 1px solid #262626;
    }
}

/********************************************************
GLOBAL SEARCH
********************************************************/
#global-search-content {
  z-index: 10;
}
#global-search-content input {
    width: 100%;
    margin: 20px 0;
    padding: 0 20px 0 45px;
    border: 0;
    height: 30px;
    color: #262626;
    background: #fff url('../img/icon-search-dark.svg') no-repeat;
    background-position: 10px 5px;
}
@media(min-width: 992px) {
    #global-search-content {
        display: none;
        position: fixed;
        top: 80px;
        left: 50%;
        width: 100%;
        max-width: 1200px;
        margin: 0 auto;
        padding: 20px;
        background-color: #245A3C;
        transform: translateX(-50%);
    }
    #global-search-content input {
        margin: 0;
    }
    #toggle-search {
        display: inline-block !important;position: relative;
        top: 3px;
        position: relative;
        top: 3px;
        cursor: pointer;
    }
}
