/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
    background: #fff;
    transition: all 0.5s;
    z-index: 997;
    padding: 10px 30px;
    /*box-shadow: 0 0 10px rgb(0 0 0 / 10%);*/
}

#header.header-scrolled {
    padding: 10px 30px;
    background: #fff;
    box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
}

#header .logo {
    font-size: 26px;
    margin: 0;
    padding: 0;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

#header .logo a {
    color: #FFFFFF;
}

#header .logo img {
    max-height: 52px;
}

@media (max-width: 768px) {
    #header, #header.header-scrolled {
        padding: 10px 0.75rem;
    }

    #header .logo img {
        max-height: 30px;
    }

}

.navbar-other {
    z-index: 500;
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/**
* Desktop Navigation
*/
.navbar {
    padding: 0;
}

.navbar ul {
    margin: 0;
    padding: 0 0 0 30px;
    display: flex;
    list-style: none;
    align-items: center;
}

.navbar > ul > li {
    position: relative;
    padding: 0 0 0 20px;
}

.navbar a, .navbar a:focus {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 16px;
    font-weight: 600;
    white-space: nowrap;
    transition: 0.3s;
    padding: 5px 2px;
}


.navbar a i, .navbar a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
}

.navbar a:hover, .navbar .active, .navbar .active:focus, .navbar li:hover > a {
    color: var(--primary-color);
}

.navbar > ul > li > a:before {
    content: "";
    position: absolute;
    left: 20px;
    height: 2px;
    bottom: 3px;
    background-color: var(--primary-color);
    visibility: hidden;
    width: 0px;
    transition: all 0.3s ease-in-out 0s;
}

.navbar a:hover:before, .navbar li:hover > a:before, .navbar .active a:before {
    visibility: visible;
    width: 40px;
}

.navbar .dropdown ul {
    display: block;
    position: absolute;
    left: 14px;
    top: calc(100% + 30px);
    margin: 0;
    padding: 10px 0;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    background: #fff;
    box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
    transition: 0.3s;
}

.navbar .dropdown ul li {
    min-width: 200px;
}

.navbar .dropdown ul a {
    padding: 5px 15px;
    text-transform: none;
    font-weight: normal;
}

.navbar .dropdown ul a:hover {
    background: var(--primary-color);
}

.navbar .dropdown ul a i {
    font-size: 12px;
}

.navbar .dropdown ul a:hover, .navbar .dropdown ul .active:hover, .navbar .dropdown ul li:hover > a {
    color: #FFFFFF;
}

.navbar .dropdown:hover > ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
}

.navbar .dropdown .dropdown ul {
    top: 0;
    left: calc(100% - 30px);
    visibility: hidden;
}

.navbar .dropdown .dropdown:hover > ul {
    opacity: 1;
    top: 0;
    left: 100%;
    visibility: visible;
}

@media (max-width: 1366px) {
    .navbar .dropdown .dropdown ul {
        left: -90%;
    }

    .navbar .dropdown .dropdown:hover > ul {
        left: -100%;
    }
}

/**
* Mobile Navigation
*/
.mobile-nav-toggle {
    color: var(--primary-color);
    font-size: 28px;
    cursor: pointer;
    display: none;
    line-height: 0;
    transition: 0.5s;
}

.mobile-nav-toggle.bi-x {
    color: #fff;
}

@media (max-width: 991px) {
    .mobile-nav-toggle {
        display: block;
    }

    .navbar ul {
        display: none;
    }
}

.navbar-mobile {
    position: fixed;
    overflow: hidden;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    background: rgba(var(--primary-color-rgb), 0.9);
    transition: 0.5s;
    z-index: 400;
}

/*.navbar-mobile .mobile-nav-toggle {*/
/*    position: absolute;*/
/*    top: 25px;*/
/*    right: 12px;*/
/*}*/

/*.header-scrolled .navbar-mobile .mobile-nav-toggle {*/
/*    top: 25px;*/
/*}*/

.navbar-mobile .navbar-other {
    position: absolute;
    top: 11px;
    right: 24px;
}

@media (min-width: 768px) and (max-width: 992px) {
    .navbar-mobile .navbar-other {
        position: absolute;
        top: 22px;
        right: 42px;
    }
}

.navbar-mobile ul {
    display: block;
    position: absolute;
    top: 55px;
    right: 0;
    bottom: 15px;
    left: 0;
    padding: 10px 0;
    overflow-y: auto;
    transition: 0.3s;
}

.navbar-mobile ul li {
    padding: 0;
}

.navbar-mobile > ul > li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 15px 20px;
}

.navbar-mobile a, .navbar-mobile a:focus {
    text-align: right;
    font-size: 20px;
    color: #FFFFFF;
    border: none;
}

.navbar-mobile a:before {
    display: none;
}

.navbar-mobile a:hover, .navbar-mobile .active, .navbar-mobile li:hover > a {
    color: var(--primary-color);
}

.navbar-mobile .dropdown ul {
    position: static;
    display: none;
    z-index: 99;
    opacity: 1;
    visibility: visible;
    background: transparent;
    box-shadow: none;
    padding: 10px;
}

.navbar-mobile .dropdown ul li {
    min-width: 200px;
}

.navbar-mobile .dropdown ul a {
    padding: 5px 0;
    font-size: 16px;
}

.navbar-mobile .dropdown ul a i {
    font-size: 20px;
}

.navbar-mobile .dropdown ul a:hover, .navbar-mobile .dropdown ul .active:hover, .navbar-mobile .dropdown ul li:hover > a {
    color: #FFFFFF;
    background: none;
}

.navbar-mobile .dropdown > .dropdown-active {
    display: block;
}


/*--/serach--*/
.search-icon {

    width: 40px;
    height: 40px;
    background: transparent;
    border-radius: 4px;
    -webkit-border-radius: 4px;
    -o-border-radius: 4px;
    -moz-border-radius: 4px;
    -ms-border-radius: 4px;
    border: none;
    outline: none;
    line-height: 40px;
    color: var(--text-color-primary);
}

.nav-lang {
    color: var(--text-color-primary);
    font-size: 16px !important;
    padding: 0 !important;
}

/*#header.header-scrolled .search-icon,*/
/*#header:hover .search-icon,*/
/*#header.header-scrolled .nav-lang,*/
/*#header:hover .nav-lang {*/
/*    color: var(--text-color-primary);*/
/*}*/


.wz-form-search {
    max-width: 500px;
    margin: 0 auto;
}

.search-header input {
    font-size: 16px;
    border-radius: var(--border-radius);
    background: var(--white-color);
    padding: 8px 15px;
    color: var(--text-color-primary);
}

.search-header input:focus {
    box-shadow: none;
    border-color: var(--primary-color);
    background: var(--white-color);
}

/* Overlay style */
.overlay {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: var(--layer);
    z-index: 9;
}

/* Overlay closing cross */
.overlay .overlay-close {
    width: 40px;
    height: 40px;
    position: absolute;
    right: 20px;
    top: 20px;
    overflow: hidden;
    border: none;
    background: none;
    color: #fff;
    outline: none;
    z-index: 100;
    font-size: 26px;
    border: var(--primary-color);
    border-radius: var(--border-radius);
    background: var(--primary-color);
    line-height: 40px;
}

/* Menu style */
.overlay nav {
    text-align: center;
    position: relative;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
}

.overlay ul {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    display: inline-block;
    height: 100%;
    position: relative;
}

.overlay ul li {
    display: block;
    height: 20%;
    height: calc(100% / 5);
    min-height: 54px;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.overlay ul li a {
    font-size: 54px;
    font-weight: 300;
    display: block;
    color: #fff;
    -webkit-transition: color 0.2s;
    transition: color 0.2s;
}

.overlay ul li a:hover,
.overlay ul li a:focus {
    color: #e3fcb1;
}

/* Effects */
.overlay-slidedown {
    visibility: hidden;
    -webkit-transform: translateY(-100%);
    transform: translateY(-100%);
    -webkit-transition: -webkit-transform 0.4s ease-in-out, visibility 0s 0.4s;
    transition: transform 0.4s ease-in-out, visibility 0s 0.4s;
}

.overlay-slidedown.open {
    visibility: visible;
    -webkit-transform: translateY(0%);
    transform: translateY(0%);
    -webkit-transition: -webkit-transform 0.4s ease-in-out;
    transition: transform 0.4s ease-in-out;
}

@media screen and (max-height: 30.5em) {
    .overlay nav {
        height: 70%;
        font-size: 34px;
    }

    .overlay ul li {
        min-height: 34px;
    }
}
