/* --------------------------------------
   FONTS
-------------------------------------- */
.poppins-regular {
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: normal;
}

/* HEADER CSS STARTS */
header {
    position: fixed;
    width: 100%;
    left: 0;
    top: 0;
    z-index: 99;
    background-color: #000;
    padding: 0;
    -moz--webkit-transition: all 0.5s ease;
    -webkit-transition: all 0.5sease;
    transition: all 0.5sease;
    box-shadow: 0 0 3px #e5cece;
    padding: 10px 0;
}

.newClass {
    z-index: 999;
}

.newClass .menu ul li a {
    color: #fff;
}

.inner-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.logo {
    max-width: 96px;
    position: relative;
    padding: 10px;
}

/* --------------------------------------
   DESKTOP MENU
-------------------------------------- */
.menu ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

.menu ul li {
    position: relative;
    border-radius: 16px;
    margin-right: 10px;
}

.menu ul li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    padding: 0px 11px;
    text-transform: uppercase;
    transition: all 0.5s ease;
    letter-spacing: 1px;
    font-family: "Poppins", sans-serif;
}

/* Submenu base styling */
.menu ul li .submenu {
    display: none;
    position: absolute;
    left: 0;
    min-width: 250px;
    z-index: 999;
}

/* Hover show */
.menu ul li:hover>.submenu {
    display: block;
}

.menu ul li .submenu li {
    margin: 0;
    background: #d9d6d6;
    margin-bottom: 10px;
}

.menu ul li .submenu li a {
    color: #333;
    padding: 5px 15px;
    display: block;
    text-transform: capitalize;
}

.menu ul li .submenu li:hover {
    background: #f4511e;
    border: 1px solid #f4511e;
}

.menu ul li .submenu li:hover a {
    color: #fff !important;
}

/* --------------------------------------
   DESKTOP SUBMENU
-------------------------------------- */

header .dropdown .submenu {
    position: absolute !important;
    top: 100% !important;
    bottom: auto !important;
}

/* --------------------------------------
   MOBILE MENU + SUBMENU FIX
-------------------------------------- */
@media (max-width: 991px) {

    header {
        top: 0 !important;
        width: 100% !important;
    }

    .menu ul {
        display: none;
    }

    .button_container {
        display: block;
        cursor: pointer;
        width: 30px;
        position: relative;
        z-index: 10001;
    }

    .button_container span {
        background: #fff;
        height: 3px;
        width: 100%;
        display: block;
        margin: 5px 0;
        transition: 0.3s ease;
    }

    /* Overlay menu */
    .overlay {
        position: fixed;
        height: auto;
        width: 100%;
        background: rgba(0, 0, 0, 0.92);
        top: 79px;
        left: 0;
        display: none;
        z-index: 10000;
        padding-top: 15px;

        max-height: calc(100vh - 80px) !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
    }

    .overlay.open {
        display: block;
    }

    .overlay-menu ul {
        display: block !important;
        text-align: left;
        padding-left: 30px;
    }

    .overlay-menu ul li {
        margin-bottom: 20px;
    }

    .overlay-menu ul li a {
        font-size: 17px;
        color: #fff;
    }

    .overlay-menu .submenu {
        display: none !important;
        position: relative !important;
        background: transparent !important;
        padding-left: 15px;
        margin-top: 10px;
    }

    .overlay-menu li.open>.submenu {
        display: block !important;
    }

    #smartHeader .dropdown .submenu {
        position: relative !important;
        top: 0 !important;
        padding: 15px 5px;
    }

    .menu ul li {
        border-radius: 0px;
        margin-right: 10px;
        padding-bottom: 10px;
        border-bottom: 1px dashed;
    }

    header .dropdown .submenu li {
        padding-bottom: 0;
    }

    .button_container.open span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }

    .button_container.open span:nth-child(2) {
        opacity: 0;
    }

    .button_container.open span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }

    .button_container span {
        transition: 0.4s ease;
    }
}

/* --------------------------------------
   SMALL DEVICES
-------------------------------------- */
@media (max-width: 575px) {
    header {
        padding: 6px 0;
    }

       .logo {
        max-width: 83px;
        padding: 7px;
    }

    .overlay {
        top: 64px;
    }
}

@media (max-width: 400px) {
    .overlay-menu ul {
        padding-left: 15px;
    }

    .overlay-menu ul li a {
        font-size: 14px;
    }

    .overlay-menu ul li {
        margin-bottom: 15px;
    }
}