/** Created by Avnish Muarya **/
/** Custom CSS to Mega Menu > Menu Themes > Custom Styling **/


header.header {
    display: block;
    z-index: 10000;
    top: 0;
    left: 0;
    right: 0;
    background: transparent;
    -webkit-transition: all .6s ease;
    -moz-transition: all .6s ease;
    -ms-transition: all .6s ease;
    transition: all .6s ease;
    transition: top 0.5s ease-in-out;
    background: var(--color-white);
    width: 100%;
    box-shadow: 0 0 20px rgba(0, 0, 0, .4);
}

header.header.fixed {
    position: fixed;
    background: var(--color-white);
    box-shadow: 0 0 20px rgba(0, 0, 0, .4);

}

.header.fixed {
    top: 0;
}

/* Slide the header up */
.header.up {
    top: 0;
}

/* Slide the header down */
.header.down {
    top: -100px;
}

.wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    justify-content: start !important;
    gap: 12% !important;
    margin: 0 auto;
}

nav#navbar {
    display: flex;
    flex-basis: 100%;
    padding-left: 10px;
}

nav#navbar ul {
    width: 100%;
    margin-bottom: 0rem;
}

li.menu-item.accent {
    float: right;
}

.book-a-call-btn span {
    background-color: var(--color-red);
    border-radius: 10px;
    color: var(--color-white) !important;
    font-weight: 500;
    padding: 4px 20px;
}

.menu-item {
    position: relative;
    display: inline-block;
    margin-left: 1.6rem;
}

.menu-link {
    display: flex;
    justify-content: center;
    align-items: center;
    column-gap: 0.25rem;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 500;
    line-height: inherit;
    cursor: pointer;
    text-transform: capitalize;
    color: var(--color-black);
    transition: all 0.3s ease-in-out;
    border-bottom: 2px solid transparent;
    position: relative;
}

.menu-link>i.bx {
    font-size: 1.35rem;
    line-height: 1.5;
    color: inherit;
}

.menu-dropdown:hover>.submenu {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    z-index: 99999;
}

.menu-link:hover {
    outline: none;
    /* border-color: #f6dac8; */
}

.menu-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--color-yellow);
    transition: all 0.6s ease;
}

.menu-link:hover:after {
    width: 100%;
}

.accent .menu-link:hover:after {
    width: 0% !important;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 9;
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s ease-in-out;
    background-color: rgba(0, 0, 0, 0.65);
}

.submenu {
    position: absolute;
    top: 2.35rem;
    left: -2rem;
    min-width: 13rem;
    height: auto;
    padding: 0 1rem 1rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(1rem);
    border-radius: 0 0 0.25rem 0.25rem;
    border-top: 2px solid var(--color-pink);
    background-color: var(--color-white);
    transition: all 0.3s ease-in-out;
}

.submenu-item {
    display: block;
    margin-top: 0.75rem;
}

.submenu-link {
    font-size: 1rem;
    font-weight: 500;
    line-height: inherit;
    cursor: pointer;
    color: var(--color-black);
    transition: all 0.35s ease;
}

.submenu-link:hover {
    outline: none;
    color: var(--color-pink);
}

.burger {
    position: absolute;
    right: 15px;
    display: none;
    cursor: pointer;
    user-select: none;
    width: 1.6rem;
    height: 1.15rem;
    opacity: 0;
    visibility: hidden;
    background: transparent;
}

.burger-line {
    position: absolute;
    display: block;
    right: 0;
    width: 100%;
    height: 2.1px!important;
    opacity: 1;
    border: none;
    outline: none;
    border-radius: 1rem;
    background: var(--color-black);
}

.burger-line:nth-child(1) {
    top: 0px;
}

.burger-line:nth-child(2) {
    top: 0.5rem;
    width: 70%;
}

.burger-line:nth-child(3) {
    top: 1rem;
}

.mobile_logo {
    display: none !important;
}

header.header .logo {
    display: flex;
    /* order: 1; */
    width: 350px;
    padding: 5px 0;
}

.accent.help>a span {
    display: block;
    padding-left: 8px !important;
    padding-right: 8px !important;
    border-radius: 20px !important;
    border: 1px solid #343f48 !important;
    height: 32px !important;
    width: 32px !important;
}

.accent.help>a span:after {
    display: block;
    content: "";
    width: 14px;
    height: 14px;
    background: url('../img/icons/user.svg') center no-repeat;
    background-size: contain;
    margin-top: 7px;
    filter: invert(0);
    -moz-filter: invert(1);
    -ms-filter: invert(1);
    -webkit-filter: invert(0);
}

.nav-close-box {
    display: none;
}

.close-nav-btn {
    position: absolute;
    top: 2%;
    right: -10%;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: var(--color-pink);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999999 !important;
    opacity: 1;
    visibility: visible;
    font-size: 16px;
    transition: all 0.3s ease;
}


.mobile_accent {
    display: none;
}
@media only screen and (max-width: 1400px) {
    .wrapper {
        gap: 8% !important;
    }
    header.header .logo {
        width: 320px;
    }
}
@media only screen and (max-width: 1200px) {
    header.header .logo {
        width: 280px;
    }
    .wrapper {
        gap: 0% !important;
    }
    nav#navbar ul {
        padding-left: 0rem;
    }
}

@media only screen and (max-width: 991px) {
    .nav-close-box {
        display: block;
    }

    .mobile_accent {
        display: block;
        position: absolute;
        right: 8%;
        top: 30%;
    }

    .mobile_accent .menu-link {
        padding: 0%;
    }

    .mobile_logo {
        display: block !important;
        height: unset !important;
    }

    header.header {
        border-bottom: none;
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        padding-bottom: 5px;
    }

    .navbar {
        position: fixed;
        top: 0;
        left: -100%;
        width: 50%;
        height: 100vh;
        z-index: 10;
        opacity: 0;
        overflow-y: auto;
        visibility: hidden;
        background-color: var(--color-white);
        transition: all 0.5s ease;
        flex-basis: unset !important;
        display: inline !important;
    }

    .navbar.active {
        left: 0rem;
        opacity: 1;
        visibility: visible;
        overflow: visible;
    }

    header.header .logo {
        width: 200px;
    }

    .menu-dropdown:hover>.submenu {
        display: block;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .menu {
        width: 100%;
        height: auto;
        padding: 1rem 0;
    }

    .menu-item {
        display: block;
        margin: 0 auto;
    }

    .menu-link {
        justify-content: space-between;
        padding: 0.6rem 1rem;
        display: inline-block;
    }

    .submenu {
        position: relative;
        top: -0.5rem;
        left: 2.5rem;
        width: 100%;
        max-height: 0;
        padding: 0px;
        border: none;
        outline: none;
        opacity: 1;
        overflow: hidden;
        visibility: visible;
        transform: translateY(0px);
        box-shadow: none;
        background: transparent;
    }

    .burger {
        display: block;
        opacity: 1;
        visibility: visible;
    }

    .overlay.active {
        display: block;
        opacity: 1;
        visibility: visible;
        backdrop-filter: blur(1px);
            -webkit-backdrop-filter: blur(1px);
    }

    li.menu-item.accent {
        float: unset;
    }

    li.menu-item.accent.help {
        display: none;
    }
   
}

@media only screen and (max-width: 767px) {
    .navbar {
        width: 75%;
    }
    .mobile_accent {
        right: 14%;
    }
    .close-nav-btn {
        right: -13%;
    }
}