.sub-menu,
header {
    top: 0;
    overflow: hidden;
}
.c-hamburger,
.sub-menu,
header {
    overflow: hidden;
}
.header_menu_panel {
    display: flex;
    gap: 15px;
    position: relative;
    right: 0;
    align-items: center;
    z-index: 99999;
}
.header_top {
    display: flex;
    align-items: center;
    width: 100%;
    transition: 0.2s;
    justify-content: space-between;
}
.admissions-top a {
    transition: all 0.3s ease-in-out;
    background: var(--theme-color);
    text-decoration: none;
    color: #fff;
    font-size: 15px;
    padding-inline: 1rem;
    padding-block: 0.2rem;
    letter-spacing: 1.4px;
}
header.header-sticky {
    position: fixed;
    z-index: 999;
    width: 100%;
    transition: 0.5s ease-in-out all;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.17);
    animation: slide-down 0.7s;
    top: 0;
    left: 0;
}
a.cus-btn1 {
    background-color: var(--color12);
    margin-left: 1rem;
}
header {
    background: #fff;
    transition: 0.5s ease-in-out all;
}
.header_top .logo figure,
.header_top .logo1 figure {
    width: 375px;
}
.logo,
.logo1 {
    will-change: opacity;
}
.logo {
    opacity: 0;
    visibility: hidden;
    position: relative;
    z-index: 2;
}
.logo1 {
    opacity: 1;
    visibility: visible;
    position: absolute;
    z-index: 1;
    width: 100%;
    display: flex;
    justify-content: center;
}
.sub-menu {
    /* padding: 7% 2.5% 0 3%; */
    padding-top:7%;
    left: -100%;
    transition: 0.6s ease-in-out;
    width: 400px;
    height: 100%;
    height: 100vh;
    position: fixed;
    margin: 0;
    background-color: rgb(52 72 142);
    border-radius: 0;
    z-index: 0;
}
.c-hamburger,
.sub-menu li,
div#accordian h3,
header .sub-menu li a {
    display: block;
    position: relative;
}
.sub-menu.oppenned {
    left: 0;
    z-index: 99999;
    display: block;
}
.sub-menu ul {
    margin: 0;
}
.sub-menu li {
    list-style: none;
    margin-left: 0;
    transition: 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
.sub-menu li:first-child {
    margin-top: 100px;
}
header .sub-menu li a {
    color: #fff !important;
    font-size: 1.2rem;
    width: 100%;
    text-transform: uppercase;
    line-height: 30px;
    /* margin-bottom: 1rem; */
    padding-top:0.5rem;
    padding-bottom:0.5rem;
    padding-left:1rem;
    border-bottom: 1px solid #dfdfdf21;
}
.sub-menu li a:hover {
    /* font-weight: 700; */
    text-decoration: none;
    color:#fff!important;
    /* padding-left: 1.3rem; */
}
.sub-menu li a span{-webkit-transition: all 500ms ease;transition: all 500ms ease;}
/* .sub-menu li a:hover span{padding-left:0.5rem;} */
.c-hamburger {    
    margin: 0;
    padding: 0;
    z-index: 9;
    font-size: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: 0 0;
    box-shadow: none;
    border-radius: none;
    border: none;
    cursor: pointer;
    -webkit-transition: background 0.3s;
    transition: background 0.3s;
}
.c-hamburger img {
    width: 30px;
}
/* .c-hamburger.c-hamburger--htx.is-active {
    position: absolute;
    top: -15px;
    right: 44px;
} */
.header-mobile-login,
.home-mobile,
.overlay,
li.no_drop_menu h3:after {
    display: none;
}
.menu_overlay,
.overlay {
    height: 100%;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
}
.c-hamburger:focus {
    outline: 0;
}
.c-hamburger a {
    display: block;
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    height: 1px;
    background: #123985;
}
.c-hamburger a:after,
.c-hamburger a:before {
    position: absolute;
    display: block;
    right: 0;
    width: 60%;
    height: 1px;
    background-color: #123985;
    content: "";
}
.c-hamburger a:before {
    top: -10px;
}
.c-hamburger a:after {
    bottom: -10px;
}
.c-hamburger--htx a {
    -webkit-transition: background 0s 0.3s;
    transition: background 0s 0.3s;
}
.c-hamburger--htx a:after,
.c-hamburger--htx a:before {
    -webkit-transition-duration: 0.3s, 0.3s;
    transition-duration: 0.3s, 0.3s;
    -webkit-transition-delay: 0.3s, 0s;
    transition-delay: 0.3s, 0s;
}
.c-hamburger--htx a:before {
    -webkit-transition-property:
        top,
        -webkit-transform;
    transition-property: top, transform;
}
.c-hamburger--htx a:after {
    -webkit-transition-property:
        bottom,
        -webkit-transform;
    transition-property: bottom, transform;
}
/* .c-hamburger--htx.is-active a {
    background: 0 0;
} */
/* .c-hamburger--htx.is-active a:after,
.c-hamburger--htx.is-active a:before {
    -webkit-transition-delay: 0s, 0.3s;
    transition-delay: 0s, 0.3s;
    width: 90%;
}
.c-hamburger--htx.is-active a:before {
    top: 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    background-color: #fff;
} */
/* .c-hamburger--htx.is-active a:after {
    bottom: 0;
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
    background-color: #fff;
} */
.menu_overlay {
    background: rgb(221 221 221 / 65%);
    z-index: 2;
    opacity: 0;
    visibility: hidden;
    transition: 0.5s;
}
.openBtn,
.overlay input[type="text"]:hover {
    background: #f1f1f1;
}
.active-overlay .menu_overlay {
    z-index: 9999;
    opacity: 1;
    visibility: visible;
}
.active-overlay .menu_overlay > *,
.overlay {
    z-index: 999999;
}
#accordian {
    width: 100%;
    display: block;
}
.sub-menu #accordian{overflow-y: scroll;height: 100%;}
.footer-bottom-all-right p a {
    color: #fff;
    font-size: 12px;
    font-weight: 400;
    margin-right: 0;
}
#accordian li {
    list-style-type: none;
    margin: 0;
}
#accordian h4,
#accordian ul ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 17px;
    line-height: 21px;
    display: block;
    padding: 0;
    transition: 0.15s;
    position: relative;
    /* margin-bottom: 1rem; */
    /* padding-left: 2.5rem; */
    padding-left:3.4rem;
    border-bottom: 1px solid #dfdfdf21;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    transition:all 0.5s ease;
}
/* #accordian ul ul li a:hover{padding-left: 3.9rem;} */
#accordian ul ul {
    display: none;
    /* padding-left: 1rem; */
    margin-bottom: 0;
}
#accordian ul ul ul {
    margin-left: 15px;
}
#accordian a:not(:only-child):after,
#accordian h3:after {
    content: "";
    background: url(../img/icon/down-arrow.svg) center no-repeat;
    position: absolute;
    top: 17px;
    right: 10px;
    width: 15px;
    height: 15px;
    transition: transform 0.5s;
    pointer-events: none;
}
#accordian li.active > h3:after {
    transform: rotate(180deg);
}
#accordian li.active > ul a:not(:only-child):after {
    top: 8px;
}
div#accordian h3 {
    margin: 0;
}
.openBtn {
    border: none;
    padding: 10px 15px;
    font-size: 20px;
    cursor: pointer;
}
.openBtn:hover {
    background: #bbb;
}
.overlay {
    background-color: rgba(0, 0, 0, 0.9);
}
.overlay-content {
    position: relative;
    top: 46%;
    width: 45%;
    text-align: center;
    margin: auto;
}
.overlay .closebtn {
    position: absolute;
    top: 5px;
    right: 85px;
    font-size: 60px;
    cursor: pointer;
    color: #fff;
}
.overlay .closebtn:hover {
    color: #ccc;
}
.overlay input[type="text"] {
    padding: 15px;
    font-size: 17px;
    border: none;
    float: left;
    width: 80%;
    background: #fff;
}
.overlay-content .message-btn {
    width: 20%;
    padding: 14px;
    font-size: 17px;
    cursor: pointer;
    margin: 0;
    border: 1px solid #bea05a;
}
.overlay-content .message-btn:before {
    height: 54px;
}
.message-btn {
    background: #bea05a;
    padding: 10px 23px;
    margin: 0 7px;
    color: #fff;
    font-size: 17px;
    position: relative;
    transition: 1s;
    -webkit-transition: 1s;
    z-index: 1;
}
@media (max-width: 1366px) {
    /* .sub-menu {
        overflow-y: scroll;
    } */
    .logo1 {
        justify-content: start;
    }
}
@media (max-width: 1170px) {
    .logo1 {
        justify-content: start;
    }
}
@media (max-width: 991px) {
    .header_menu_panel {
        display: flex;
    }
    .logo1 {
        justify-content: space-between;
    }
    .header-mobile-login {
        display: none;
    }
    .sub-menu {
        padding: 10% 2.5% 0 3%;
    }
    .overlay-content {
        width: 75%;
    }
}
@media (max-width: 768px) {
    .header_top .logo1 figure {
        width: 285px;
    }
    .admissions-top a {
        font-size: 1.2rem;
        padding-inline: 1rem;
        padding-block: 0.3rem;
        letter-spacing: 0;
    }
    .header_top .logo figure {
        width: 325px;
    }
}
@media (max-width: 640px) {
    .sub-menu {
        width: 100%;
        padding: 7rem 1.8rem 0;
    }
    .home-header .home-mobile {
        display: block;
        width: 63%;
    }
    .home-header .header_menu_panel {
        display: flex;
    }
    .home-header {
        background: #00000000;
        background: linear-gradient(180deg, #000 0, #00000000 100%) no-repeat padding-box;
        padding-inline: 0.6rem;
        padding-block: 1.7rem;
    }
    .admissions-top,
    .home-header .home-desktop,
    .home-header .logo1,
    .logo.home-desktop,
    header .logo1 {
        display: none;
    }
    .home-header.header-sticky {
        background: var(--color12);
    }
    .header_top {
        justify-content: space-between;
    }
    .header_top .logo figure,
    .header_top .logo1 figure {
        width: 285px;
    }
    .overlay-content {
        width: 90%;
    }
    .overlay input[type="text"] {
        width: 73%;
        padding: 10px;
    }
    .overlay-content .message-btn {
        width: 27%;
        padding: 9px;
    }
    .overlay .closebtn {
        top: 6px;
        right: 48px;
        font-size: 40px;
    }
    .c-hamburger a,
    .c-hamburger a:after,
    .c-hamburger a:before {
        background-color: #fff;
    }
    .header-mobile-login {
        display: block;
    }
    header {
        background-color: var(--color12);
    }
    header .home-mobile {
        display: block;
        width: 60%;
    }
}

a.cus-btn1.apply_nursery {
    margin-left: 0;
}
.admissions-top .parent_login {
    margin-left: 1rem;
}
a.cus-btn1:hover {
    background: var(--theme-color2);
    color: #fff;
}
a.parent_login:hover {
    background: var(--theme-color2);
    color: #fff;
}

@media (max-width: 1700px) {
    .logo1 {
        justify-content: start;
    }
}

@media (max-width: 991px) {
    .admissions-top {
        display: none;
    }
}