/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
    background: #fff;
    transition: all 0.5s;
    z-index: 997;
    padding: 20px 30px;
    /*box-shadow: 0 0 10px rgb(0 0 0 / 10%);*/
        border-bottom: 1px solid color-mix(in srgb, #000000, transparent 90%);
}

#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: 18px;
    font-weight: 600;
    white-space: nowrap;
    transition: 0.3s all;
    padding: 8px 5px;
    position: relative;
}


.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 .active a {
    font-size: 20px;
}

.navbar > ul > li > a:before {
    content: "";
    position: absolute;
    left: 5px;
    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: calc(100% - 10px);
}

.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(255, 255, 255, 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(0, 0, 0, 0.1);
    padding: 15px 20px;
}

.navbar-mobile a, .navbar-mobile a:focus {
    text-align: center;
    justify-content: center;
    font-size: 20px;
    color: var(--title-color);
    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;
}

/*--/search--*/
a.search-icon, a.search-icon:focus {
    padding-left: 20px;
}

.navbar-other a i, .navbar-other a:hover i {
    font-size: 16px;
}

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

.layer-popup form {
    border-radius: var(--border-radius);
    background: var(--light-bg-color);
    max-width: 640px;
    padding: 40px 40px;
}

.layer-popup form input {
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
    line-height: 26px;
    height: 55px;
    padding: 0px 20px;
    width: 100%;
    border: 1px solid var(--border-color);
    border-right: none;
    background: var(--light-bg-color);
    border-radius: var(--border-radius);

}

.layer-popup form button {
    font-size: 16px;
    line-height: 26px;
    text-align: center;
    color: #fff;
    font-weight: 400;
    border: none;
    background: var(--primary-color);
    padding: 0 20px;
    border-radius: var(--border-radius);
    height: 55px;
}

.layer-popup form button:hover {
    opacity: .8;
    box-shadow: none;
}

.layer-popup form input[type="search"]:focus {
    outline: none;
    border: 1px solid var(--primary-color);
}

.wzpop-overlay {
    position: fixed;
    top: 0px;
    left: 0;
    right: 0;
    transition: opacity 0ms;
    visibility: hidden;
    opacity: 0;
    z-index: 99;
    background: rgba(0, 0, 0, .5);
    box-shadow: 1px 1px 4px 0 rgba(0, 0, 0, 0.1);
    height: 100%;
    width: 100%;
}

.wzpop-overlay:target {
    visibility: visible;
    opacity: 1;
}

.layer-popup {
    position: relative;
    margin: 0rem auto;
    padding: 15px;
    top: 40%;
    max-width: 600px;
}

.layer-popup .close {
    position: absolute;
    right: 0px;
    top: -80px;
    transition: all 200ms;
    font-size: 50px;
    text-decoration: none;
    color: var(--light-bg-color);
}

.layer-popup a.close:focus {
    font-size: 50px;
}

.layer-popup .close:hover {
    opacity: 0.8;
    color: var(--light-bg-color);
}


/*--//serach--*/
@media only screen and (max-width: 992px) {
    .search-header input {
        padding: 12px 15px;
    }

    .search-header .btn {
        display: block;
        width: 100%;
        margin-top: 16px;
    }

    .navbar-expand-lg .navbar-nav .nav-link {
        color: var(--nav-color);
        padding: 8px 0 10px;
    }

    li.search-right {
        margin: 20px 0;
    }
}

