.menubar {
    background: #ffffff;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    /* position: relative; */
    z-index: 10;
}

    .menubar .wrapper {
        display: flex;
        justify-content: space-between;
        align-items: center;
        max-width: 100%;
        height: auto;
        padding: 15px;
    }

    .menubar .brand img {
        width: 105px;
        height: 105px;
        background-color: rgb(255, 255, 255);
        padding: 5px;
        position: absolute;
        top: 0;
        border-radius: 0 0 10px 10px;
        z-index: 99;
    }

@media (max-width: 376px) {
    .menubar .brand img {
        width: 80px;
        height: 80px;
        margin-left: -20px;
    }
}

.menubar .navbar {
    max-width: 100%;
    height: auto;
    padding: 0;
}

.menubar .menu > .menu-item {
    position: relative;
    display: inline-block;
    margin: 0 0.75rem;
}

    .menubar .menu > .menu-item > a {
        display: block;
        font-family: inherit;
        font-size: 1rem;
        font-weight: 600;
        line-height: inherit;
        border: none;
        outline: none;
        color: #1a3a54;
        text-transform: capitalize;
        text-rendering: optimizeLegibility;
        -webkit-transition: all 0.35s ease;
        -o-transition: all 0.35s ease;
        transition: all 0.35s ease;
    }

        .menubar .menu > .menu-item > a .expand {
            position: relative;
            display: inline-block;
            height: 0.75rem;
            width: 0.75rem;
            margin-left: 0.35rem;
            border: none;
            outline: none;
            pointer-events: none;
        }

            .menubar .menu > .menu-item > a .expand:before,
            .menubar .menu > .menu-item > a .expand:after {
                position: absolute;
                -webkit-box-sizing: inherit;
                box-sizing: inherit;
                content: '';
                left: 50%;
                top: 50%;
                width: 100%;
                height: 2px;
                background: #1a3a54;
                -webkit-transform: translate(-50%, -50%);
                -ms-transform: translate(-50%, -50%);
                transform: translate(-50%, -50%);
                -webkit-transition: all 0.35s ease;
                -o-transition: all 0.35s ease;
                transition: all 0.35s ease;
            }

    .menubar .menu > .menu-item:hover > a {
        color: #ad211f;
    }

        .menubar .menu > .menu-item:hover > a .expand::before,
        .header .menu > .menu-item:hover > a .expand::after {
            background: #ad211f;
        }

    .menubar .menu > .menu-item > a .expand::after {
        -webkit-transform: translate(-50%, -50%) rotate(-90deg);
        -ms-transform: translate(-50%, -50%) rotate(-90deg);
        transform: translate(-50%, -50%) rotate(-90deg);
    }

.menu .menu-item.btn_login {
    background: #1a3a54;
    border-radius: 35px;
}

.menu .menu-item.btn_login a {
    color: #f0f0f0;
    font-weight: 400;
    border-radius: 35px;
    padding: 8px 30px;
}

/* .menubar .menu > .menu-item > .sub-menu > .menu-item > a:hover { */
    /* color: #ad211f; */
/* } */


.menubar .menu > .menu-item > .sub-menu {
    position: absolute;
    left: -1rem;
    top: 58px;
    width: 13rem;
    height: auto;
    padding: 0.75rem 0;
    border: none;
    outline: none;
    opacity: 0;
    visibility: hidden;
    border-top: 3px solid #ad211f;
    background: #ffffff;
    -webkit-box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    -webkit-transform: translateY(1rem);
    -ms-transform: translateY(1rem);
    transform: translateY(1rem);
    -webkit-transition: all 0.35s ease;
    -o-transition: all 0.35s ease;
    transition: all 0.35s ease;
    z-index: 3000;
}

    .menubar .menu > .menu-item > .sub-menu > .menu-item {
        display: block;
    }

        .menubar .menu > .menu-item > .sub-menu > .menu-item > a {
            display: block;
            /* font-family: inherit; */
            /* font-size: 1rem; */
            /* font-weight: 600; */
            /* line-height: inherit; */
            /* padding: 0.5rem 1.25rem; */
            /* color: #1a3a54; */
            text-transform: capitalize;
            text-rendering: optimizeLegibility;
            -webkit-transition: all 0.35s ease;
            -o-transition: all 0.35s ease;
            transition: all 0.35s ease;
        }

.menubar .opened-menu {
    position: relative;
    display: none;
    cursor: pointer;
    width: 2rem;
    height: 1rem;
    border: none;
    outline: none;
    opacity: 0;
    visibility: hidden;
    background: none;
    -webkit-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: all 0.35s ease;
    -o-transition: all 0.35s ease;
    transition: all 0.35s ease;
}

    .menubar .opened-menu span {
        display: block;
        position: absolute;
        width: 100%;
        height: 2px;
        left: 0;
        border: none;
        outline: none;
        opacity: 1;
        border-radius: 0.25rem;
        background: #1a3a54;
        -webkit-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        transform: rotate(0deg);
        -webkit-transition: all 0.25s ease;
        -o-transition: all 0.25s ease;
        transition: all 0.25s ease;
    }

        .menubar .opened-menu span:nth-child(1) {
            top: 0;
        }

        .menubar .opened-menu span:nth-child(2),
        .menubar .opened-menu span:nth-child(3) {
            top: 0.5rem;
        }

        .menubar .opened-menu span:nth-child(4) {
            top: 1rem;
        }

.menubar .closed-menu {
    display: none;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    cursor: pointer;
    width: 2.5rem;
    height: 2.5rem;
    border: none;
    outline: none;
    background: none;
}

    .menubar .closed-menu img.closed-icon {
        display: block;
        width: 1rem;
        height: auto;
    }

.menubar .overlay {
    position: fixed;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    background: rgba(0, 0, 0, 0.6);
    -webkit-transition: all 0.35s ease;
    -o-transition: all 0.35s ease;
    transition: all 0.35s ease;
}

@media only screen and (min-width: 993px) {
    .menubar .menu > .menu-item-has-children:hover > .sub-menu {
        display: block;
        opacity: 1;
        visibility: visible;
        -webkit-transform: translateY(0);
        -ms-transform: translateY(0);
        transform: translateY(0);
    }

    .menubar .menu > .menu-item-has-children:hover > a .expand::after {
        -webkit-transform: translate(-50%, -50%) rotate(0deg);
        -ms-transform: translate(-50%, -50%) rotate(0deg);
        transform: translate(-50%, -50%) rotate(0deg);
    }
}

@media only screen and (max-width: 992px) {
    .menubar .overlay.active {
        display: block;
        opacity: 1;
        visibility: visible;
    }

    .menubar .navbar {
        position: fixed;
        top: 0;
        right: -18rem;
        width: 400px;
        height: 100%;
        padding: 1rem 0;
        z-index: 999;
        opacity: 0;
        overflow-y: auto;
        visibility: hidden;
        background: #ffffff;
        -webkit-box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
        -webkit-transition: all 0.5s ease;
        -o-transition: all 0.5s ease;
        transition: all 0.5s ease;
        align-items: baseline;
    }

        .menubar .navbar.active {
            right: 0rem;
            opacity: 1;
            visibility: visible;
        }

        .menubar .navbar::-webkit-scrollbar {
            width: 5px;
        }

        .menubar .navbar::-webkit-scrollbar-thumb {
            border-radius: 1rem;
            background: #e6e6e6;
            -webkit-box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.12);
            box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.12);
        }

    .menubar .menu {
        width: 100%;
        height: auto;
        margin: 2.8rem 0 20px;
    }

        .menubar .menu > .menu-item {
            display: block;
            margin: 0;
        }

        .menubar .menu > .menu-item-has-children > a {
            display: -webkit-box;
            display: -ms-flexbox;
            display: flex;
            -webkit-box-pack: justify;
            -ms-flex-pack: justify;
            justify-content: space-between;
            -webkit-box-align: center;
            -ms-flex-align: center;
            align-items: center;
        }

        .menubar .menu > .menu-item > a {
            padding: 0.75rem 1rem;
            color: #1a3a54;
            border-bottom: 1px solid #f2f2f2;
        }

        .menubar .menu > .menu-item:first-child > a {
            border-top: 1px solid #f2f2f2;
        }

        .menubar .menu > .menu-item > a .expand::before,
        .menubar .menu > .menu-item > a .expand::after {
            background: #1a3a54;
        }

        .menubar .menu > .menu-item-has-children.active > a .expand:after {
            -webkit-transform: translate(-50%, -50%) rotate(0deg);
            -ms-transform: translate(-50%, -50%) rotate(0deg);
            transform: translate(-50%, -50%) rotate(0deg);
        }

    .menu .menu-item.btn_login {
        padding: 0;
        text-align: center;
        margin: 15px 0;
        border-radius: 0;
    }

        .menu .menu-item.btn_login a {
            color: #f0f0f0;
        }

    .menubar .menu > .menu-item > .sub-menu {
        position: relative;
        top: auto;
        left: auto;
        width: 100%;
        max-height: 0;
        padding: 0px;
        border: none;
        outline: none;
        opacity: 1;
        overflow: hidden;
        visibility: visible;
        background: transparent;
        -webkit-box-shadow: none;
        box-shadow: none;
        -webkit-transform: translateY(0px);
        -ms-transform: translateY(0px);
        transform: translateY(0px);
    }

        .menubar .menu > .menu-item > .sub-menu > .menu-item > a {
            /* padding: 0.75rem 2rem; */
            color: #1a3a54;
            /* border-bottom: 1px solid #f2f2f2; */
        }

    .menubar .opened-menu {
        display: block;
        opacity: 1;
        visibility: visible;
    }

    .menubar .closed-menu {
        position: absolute;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        top: 1rem;
        right: 0.5rem;
    }
}




.top-nav-collapse {
    position: fixed;
    width: 100%;
    z-index: 999;
    top: 0px !important;
    box-shadow: 0px 3px 6px 3px rgba(0, 0, 0, 0.06);
    /*animation: fadeInDown 1s both;*/
}

@media only screen and (min-width: 993px) {
    .top-nav-collapse {
        animation: fadeInDown 1s both;
    }
}

.top-nav-collapse .brand img {
    width: 85px;
    height: 85px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

@media (max-width: 576px) {
    .menubar .navbar {
        width: 100%;
    }
}

.menubar .li1{
    padding: 18px 0;
}

.menubar .wrapper{
    padding: 0 15px;
}

.menu-item-has-children2{
    position: relative;
    transition: .3s;  
}

.dropdown-menu2{
    display: none;
    position: absolute;
    top: 0;
    right: 100%;
    /* background: #fff; */
    transition: .3s;  
}

.dropdown-item2{
    display: block;
    width: 100%;
    padding: 0.25rem 1rem;
    clear: both;
    font-weight: 400;
    color: #212529;
    text-align: inherit;
    text-decoration: none;
    white-space: nowrap;
    background-color: #fff !important;
    border: 0;
}

.menu-item-has-children2:hover .dropdown-menu2{
    display: block;
}

.dropdown-item2:hover{
    color: #1e2125;
    background-color: #e9ecef !important;
}

@media (min-width: 992px) {
    .menubar .navbar{
        margin-left: 120px;
    }
}

@media (max-width: 992px) {
    .menubar .wrapper{
        padding: 18px 15px;
    }
    .menubar .li1{
        padding: 0;
    }
    .dropdown-menu2{
        display: block;
        position: unset;
    }

}

@media (min-width: 992px) and (max-width: 1200px){

    .menubar > .container{
        max-width: 100%;
        padding: 0;
    }

    .menubar .brand img{
        left: 20px;
    }

    .menubar .menu > .menu-item{
        margin: 0 0.4rem;
    }

}

.btn_login{
    margin-top: 8px;
    margin-bottom: 8px;
}