/* parent row */
.jhu-panel-menu > li {
    position: relative;
}

/* keep link and toggle icon in same row */
.jhu-panel-menu li.menu-item-has-children {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

/* parent link */
.jhu-panel-menu li.menu-item-has-children > a {
    flex: 1;
}

/* toggle icon */
.jhu-panel-menu .sub-menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

/* submenu should go to next line */
.jhu-panel-menu .sub-menu {
    width: 100%;
}

/* parent item */
.sub-menu-toggle .icon-minus {
    display: none;
}

.sub-menu-toggle.open .icon-plus {
    display: none;
}

.sub-menu-toggle.open .icon-minus {
    display: inline-block;
}

/* Optional: smooth animation */
.sub-menu {
    transition: all 0.3s ease;
}
/*  end new*/
ul#menu-sidebar-new-menu  button.sub-menu-toggle {
    background: transparent !important;
    outline: none !important;
}
ul#menu-sidebar-new-menu button.sub-menu-toggle:hover {
    border: 0;
}

ul#menu-sidebar-new-menu li a{
    font-family: "Open Sans", sans-serif;
    font-size: 18px;
    color: #fff;
	    font-weight: 600;
}
.jhu-panel-menu a:focus {
    background: transparent !important;
}

.jhu-panel-menu a:focus {
    text-decoration: none !important;
    outline: none !important;
}
ul#menu-sidebar-new-menu ul.sub-menu li a {
    font-weight: 400;
	  font-size: 18px;
}
ul#menu-sidebar-new-menu button.sub-menu-toggle svg {
    width: 25px;
    height: 25px;
}
ul#menu-sidebar-new-menu  ul.sub-menu{
    padding-left: 22px;
}
.jhu-toggle.jhu-menu-toggle:hover , .jhu-search-toggle:hover, .jhu-events-toggle:hover{
        right: 0%;
        transition: all 0.3s;
    }
/* .jhu-toggle {
  transform: translateX(20px);
}
.jhu-toggle:hover {
  transform: translateX(0);
} */
button#cmc-search-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 12px 60px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 500;
    text-transform: uppercase;
    text-align: center;
    font-family: 'Open Sans';
    font-size: 14px;
}
    .jhu-big-buttons .jhu-apply:hover, .jhu-big-buttons .jhu-visit:hover ,.jhu-big-buttons .jhu-programs:hover{
        right: 0%;
        transition: all 0.3s;
    }
    span.jhu-close img {
        width: 45px;
        height: 45px;
        background: rgba(255, 255, 255, 0.2);
        padding: 10px;
    }
    .sel .select2-container--default .select2-results__option--selected {
    background-color: inherit!important;
}
.cmc-event-item .cmc-event-meta {
    position: relative;
    padding-left: 20px;
}
.cmc-event-item .cmc-event-meta:before {
    position: absolute;
    content: '';
    background-image: url(https://stage2.cmcludhiana.in/wp-content/uploads/2025/12/calendar.png);
    width: 17px;
    height: 17px;
    background-size: cover;
    left: 0;
    background-repeat: no-repeat;
}
.news-content small.news-time {
    position: relative;
    padding-left: 20px;
}
.news-content small.news-time:before {
    position: absolute;
    content: '';
    background-image: url(https://stage2.cmcludhiana.in/wp-content/uploads/2025/12/time.png);
    width: 17px;
    height: 17px;
    background-size: cover;
    left: 0;
    background-repeat: no-repeat;
}
    #mega-menu-wrap-jhu_sidebar_menu #mega-menu-jhu_sidebar_menu > li.mega-menu-item{
        display: block;
            transition: padding-left, padding-right, background-color, color;
    transition-duration: .25s, .25s, .25s, .25s;
            transition-timing-function: 
        ease-in-out, 
        ease-in-out, 
        ease-in-out, 
        ease-in-out;
    }
    #mega-menu-wrap-jhu_sidebar_menu #mega-menu-jhu_sidebar_menu > li.mega-menu-item > a.mega-menu-link {
        font-family: Open Sans;
        font-weight: 400;
        font-size: 18px;
        line-height: 100%;
        text-transform: capitalize;
        color: #fff!important;
        padding: 30px;
    }
    #mega-menu-wrap-jhu_sidebar_menu #mega-menu-jhu_sidebar_menu > li.mega-menu-item > a.mega-menu-link {
        text-align: left;
     }
     #mega-menu-wrap-jhu_sidebar_menu #mega-menu-jhu_sidebar_menu > li.mega-menu-item {
        border-top: 1px solid #ffffff40;
    }
    #mega-menu-wrap-jhu_sidebar_menu #mega-menu-jhu_sidebar_menu > li.mega-menu-item > a.mega-menu-link {
        padding: 15px 0;
    }
/*     #mega-menu-wrap-jhu_sidebar_menu #mega-menu-jhu_sidebar_menu > li.mega-menu-item {
         margin: 0;
    padding-bottom: 18px;
    } */
#mega-menu-wrap-jhu_sidebar_menu 
#mega-menu-jhu_sidebar_menu 
> li.mega-menu-item {
    padding: 12px 0;
}
#mega-menu-jhu_sidebar_menu 
.mega-sub-menu li {
    padding: 8px 0;
}

    #mega-menu-wrap-jhu_sidebar_menu #mega-menu-jhu_sidebar_menu > li.mega-menu-item:last-child {
        border-bottom: 1px solid #ffffff40;
    }
    #mega-menu-wrap-jhu_sidebar_menu #mega-menu-jhu_sidebar_menu > li.mega-menu-item:hover {
        background: rgba(255, 255, 255, 0.2);
        padding-bottom: 18px;
        padding-left: .75em;
        transition: padding-left, padding-right, background-color, color;
        transition-duration: .25s, .25s, .25s, .25s;
        transition-timing-function: 
                    ease-in-out, 
                    ease-in-out, 
                    ease-in-out, 
                    ease-in-out;
    }
    #mega-menu-wrap-jhu_sidebar_menu #mega-menu-jhu_sidebar_menu > li.mega-menu-item > a.mega-menu-link {
    padding: 20px 0;
}
    /* serach */
  .serach-main {
        background: rgba(255, 255, 255, 0.2);
        padding: 10px;
        margin-bottom: 20px;
    }
    .jhu-search-section .search-titles:hover {
    background: rgba(255, 255, 255, 0.2);
    transition: padding-left, padding-right, background-color, color;
    transition-duration: .25s, .25s, .25s, .25s;
    transition-timing-function: 
        ease-in-out, 
        ease-in-out, 
        ease-in-out, 
        ease-in-out;
            padding-left: .75em;
   }
    .jhu-search-section button {
     background: transparent;
        text-align: center;
        width: 100%;
        color: #fff;
        font-family: 'Open Sans';
        text-transform: uppercase;
        font-weight: 500;
        border: 0!important;
        padding: 12px 20px;
        border-radius:10px;
    }
    .search-filters h4 {
        margin: 0;
        font-family: Libre Caslon Text;
        font-weight: 600;
        font-size: 20px;
        color: #ffffff;
    padding-bottom: 11px;
            border-bottom: 1px solid #ffffff40;
    }
.search-filters .search-titles a {
    font-family: "Open Sans", Sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 18px;
    color: #fff !important;
    text-decoration: none;
    text-decoration: none!important;
}
.search-titles {
    padding: 10px 0;
    border-bottom: 1px solid #ffffff40;
       transition: padding-left, padding-right, background-color, color;
    transition-duration: .25s, .25s, .25s, .25s;
    transition-timing-function: 
        ease-in-out, 
        ease-in-out, 
        ease-in-out, 
        ease-in-out;
}
    .jhu-search-section {
    position: relative;
    }
    .jhu-search-section button:before {
        position: absolute;
        content: '';
        background-image: url(https://stage2.cmcludhiana.in/wp-content/uploads/2025/12/Mask-group-7.svg);
           width: 17px;
        height: 17px;
        background-repeat: no-repeat;
        background-size: contain;
        left: 94px;
        top: 82px;
    } 
    /* end */
/* Base Container */
#jhu-cmc-sidebar { 
    position: fixed; 
    top: 0; 
    right: 0; 
    width: 100%; 
    height: 100vh; 
    z-index: 99999; 
    pointer-events: none; 
    font-family: 'Helvetica Neue', Arial, sans-serif; 
}
#jhu-cmc-sidebar * { pointer-events: auto; }
.jhu-hamburger{
    width:20px;
    height:20px;
}
/* Banner Toggles - Fixed on Right (Initial), Slide to Left on Sidebar Open, Smooth Transition */
.jhu-banner-toggles {
   position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 100002;
    /* transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                opacity 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94); */
    opacity: 1;
    pointer-events: auto;
    transition: all 0.4s 
cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
/* Scroll Down → Smoothly Slide Out to Right (JHU Exact) */
body.scrolled:not(.jhu-open) .jhu-banner-toggles {
    transform: translateY(-50%) translateX(320px) !important;  /* Fully off-screen */
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Sidebar Open → Force Show + Slide to Left (Perfect JHU Style) */
body.jhu-open .jhu-banner-toggles {
    right: 386px !important;
    transform: translateY(-50%) translateX(0) !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}
.jhu-big-buttons {
    display: flex;
    flex-direction: column;
    align-items: end;
    gap: 8px;
}
.jhu-toggle {
    background: #013220;
    color: white;
    padding: 10px 15px 10px 45px;
    cursor: pointer;
    border-radius: 6px 0 0 6px;
    transition: all 0.3s;
    text-align: left;
    width: 180px;
    border: 1px solid #FFFFFF66;
    font-family: Open Sans;
    font-weight: 700;
    font-size: 20px;
    text-transform: uppercase;
    position: relative;
}
.jhu-search-section input {
    border: 0 !important;
    border-radius: 10px;
    margin-bottom: 10px;
}

.jhu-big-buttons a.jhu-btn {
    background: #ffffff;
    color: #1F1E1E;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 6px 0 0 6px;
    transition: all 0.3s;
    text-align: left;
    width: 180px;
    border: 1px solid #FFFFFF66;
    font-family: Open Sans;
    font-weight: 700;
    font-size: 18px;
    text-transform: uppercase;
    text-decoration: none;
        position: relative;
    right: -3%;
}
button#cmc-search-btn:hover {
    background: #01321F !important;
}
/* Icons (unchanged) */
.jhu-toggle.jhu-menu-toggle:before {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    background-repeat: no-repeat;
    left: 17px;
    top: 14px;
    background-image: url(https://stage2.cmcludhiana.in/wp-content/uploads/2025/12/Mask-group-6.svg);
        background-size: cover;
}
.jhu-toggle.jhu-events-toggle:before {
    content: '';
    background-image: url(https://stage2.cmcludhiana.in/wp-content/uploads/2025/12/Mask-group-9.svg);
    position: absolute;
    width: 18px;
    height: 18px;
    background-repeat: no-repeat;
    left: 17px;
    top: 14px;
        background-size: cover;
}
.jhu-toggle.jhu-search-toggle:before {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    background-repeat: no-repeat;
    left: 17px;
    top: 14px;
    background-image: url(https://stage2.cmcludhiana.in/wp-content/uploads/2025/12/Mask-group-7.svg);
        background-size: cover;
}

/* Scroll Toggle (Hamburger) - Smooth Slide In on Scroll */
/* Hamburger - Smooth Slide In (Bonus JHU Feel) */
.jhu-scroll-toggle {
    position: fixed;
    top: 0px;
    right: 0;
    z-index: 100001;
    transform: translateX(100%);
    opacity: 0;
    transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                opacity 0.5s ease;
}
body.scrolled .jhu-scroll-toggle {
    transform: translateX(0);
    opacity: 1;
}


.jhu-toggle, .jhu-btn { 
    background: #013220; 
    color: white; 
    padding: 10px 15px 10px 45px; 
    width: 210px; 
    border-radius: 6px 0 0 6px; 
    font-family: Open Sans; 
    font-weight: 700; 
    font-size: 18px; 
    text-transform: uppercase; 
    border-top: 1px solid #FFFFFF66;
    border-bottom: 1px solid #FFFFFF66;
    border-left: 1px solid #FFFFFF66;
    border-right: 0;
    position: relative; 
    cursor: pointer; 
    text-align: left; 
    text-decoration: none; 
    transition: all 0.3s; 
    right: -3%;
}
.jhu-btn { background: white; color: #1F1E1E; width: 231px; }
/* .jhu-toggle.active-toggle, .jhu-toggle:hover { background: #004d40; } */
.jhu-hamburger {
    background: #013220;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Sidebar Panel - Smooth Slide from Right */
.jhu-sidebar-panel {
    position: fixed;
    top: 0;
    right: -380px; /* Off-screen */
    width: 380px;
    height: 100vh;
    background: #013220;
    color: white;
    transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94); /* Smooth slide */
    overflow-y: auto;
    padding: 80px 30px 80px;
    box-sizing: border-box;
    z-index: 100001;
}
.jhu-sidebar-panel.active { right: 0; } /* Slide in */
.jhu-close { 
    position: absolute; 
    top: 0px; 
    right:0px; 
    font-size: 36px; 
    cursor: pointer; 
    opacity: 0.8; 
}
.jhu-close-bottom {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 12px 60px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 500;
    text-transform: uppercase;
    /* width: fit-content; */
    text-align: center;
    font-family: 'Open Sans';
    font-size: 14px;
    margin: 20px auto 0;
    display: block;
}

/* Menu, Search, Events Sections (JHU Style Switching) */
.jhu-menu-section h4 { 
    font-size: 18px; 
    margin: 20px 0 10px; 
    border-bottom: 1px solid rgba(255,255,255,0.3); 
    padding-bottom: 5px; 
}
.jhu-menu-section ul { list-style: none; padding: 0; margin: 0; }
.jhu-menu-section li { border-bottom: 1px solid rgba(255,255,255,0.2); }
.jhu-menu-section a { 
    color: white; 
    text-decoration: none; 
    display: block; 
    padding: 12px 0; 
    font-size: 16px; 
    transition: padding-left 0.3s; 
}
.jhu-menu-section a:hover { padding-left: 10px; }
.jhu-search-section, .jhu-events-section { margin: 20px 0; }
.jhu-search-section input { 
    width: 100%; 
    padding: 15px; 
    border: none; 
    border-radius: 4px; 
    margin-bottom: 10px; 
    font-size: 18px; 
}
.news-item { margin: 15px 0; border-bottom: 1px solid rgba(255,255,255,0.2); padding-bottom: 10px; }
.news-item small { opacity: 0.8; font-size: 12px; display: block; }

/* Overlay - Smooth Fade, Locks Scroll */
.jhu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(1, 50, 32, 0.67);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 100000;
}
.jhu-overlay.active { 
    opacity: 1; 
    visibility: visible; 
}
/* body.jhu-open { overflow: hidden; } Lock scroll like JHU */

/* Scroll Behavior - Hide Banner on Scroll, But Not During Open */
body.scrolled .jhu-banner-toggles:not(.jhu-open) { display: none; } /* Only hide if not open */
body.scrolled .jhu-scroll-toggle { display: block!important; }
/* Ensure toggles return smoothly on close (matches sidebar 0.4s) */


/* Mega Menu & News Styles (Unchanged from Your Code) */
nav.jhu-menu-section div#mega-menu-wrap-jhu_sidebar_menu {
    background: transparent !important;
}
.jhu-events-section h4, .section-title.upcoming-title {
    margin: 0;
    font-family: Libre Caslon Text;
    font-weight: 600;
    font-size: 20px;
    color: #ffffff;
 margin-bottom: 0;
    transition: padding-left, padding-right, background-color, color;
    transition-duration: .25s, .25s, .25s, .25s;
    transition-timing-function: 
ease-in-out, 
ease-in-out, 
ease-in-out, 
ease-in-out;
}
.jhu-events-section h4:hover, .section-title.upcoming-title:hover {
    background: rgba(255, 255, 255, 0.2);
    padding-left: .75em;
    transition: padding-left, padding-right, background-color, color;
    transition-duration: .25s, .25s, .25s, .25s;
    transition-timing-function: 
ease-in-out, 
ease-in-out, 
ease-in-out, 
ease-in-out;
}
ul.news-social-links li a:hover {
    color: #fff !important;
}
.section-title.upcoming-title { margin-top: 30px; }
.jhu-events-section .recent-news-item {
    display: flex;
    flex-direction: row;
    gap: 20px;
    align-items: center;
    border-bottom: 1px solid #ffffff40;
    padding: 10px 0;
     transition: padding-left, padding-right, background-color, color;
    transition-duration: .25s, .25s, .25s, .25s;
    transition-timing-function: 
ease-in-out, 
ease-in-out, 
ease-in-out, 
ease-in-out;
}
.jhu-events-section .recent-news-item:hover {
    background: rgba(255, 255, 255, 0.2);
    padding-left: .75em;
    transition: padding-left, padding-right, background-color, color;
    transition-duration: .25s, .25s, .25s, .25s;
    transition-timing-function: 
ease-in-out, 
ease-in-out, 
ease-in-out, 
ease-in-out;
}
.jhu-events-section .recent-news-item:first-of-type { border-top: 1px solid #ffffff40; }
.more-newsbtn .more-news, .more-eventsbtn .more-events {
    display: inline-block;
    width: 100%;
    padding: 10px 0;
    background-color: transparent;
    color: #fff !important;
    text-align: left;
    border-radius: 0;
    transition: all 0.25s ease-in-out;
    text-decoration: none;
}
.jhu-events-section .news-content a, .jhu-events-section .news-content {
    font-family: "Open Sans", Sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 18px;
    color: #fff !important;
    text-decoration: none;
}
.jhu-events-section .news-thumb img {
    width: 70px;
    height: 70px;
    object-fit: cover;
}
.jhu-events-section .news-thumb { width: 20%; }
.jhu-events-section .news-content { width: 80%; display: flex; flex-direction: column; }
.events-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
}
.cmc-event-content a, .cmc-event-content {
    font-family: "Open Sans", Sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 18px !important;
    color: #fff !important;
    text-decoration: none;
}
.events-grid .cmc-event-item {
    border-bottom: 1px solid #ffffff40;
    padding: 13px 0;
     transition: padding-left, padding-right, background-color, color;
    transition-duration: .25s, .25s, .25s, .25s;
    transition-timing-function: 
ease-in-out, 
ease-in-out, 
ease-in-out, 
ease-in-out;
}
.events-grid .cmc-event-item:hover{
    background: rgba(255, 255, 255, 0.2);
    padding-left: .75em;
    transition: padding-left, padding-right, background-color, color;
    transition-duration: .25s, .25s, .25s, .25s;
    transition-timing-function: 
ease-in-out, 
ease-in-out, 
ease-in-out, 
ease-in-out;
}
.events-grid .cmc-event-item:first-of-type {
    border-top: 1px solid #ffffff40;
}
ul.news-social-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 0;
    margin-top: 35px;
}
.jhu-events-section ul.news-social-links li {
    background: rgba(255, 255, 255, 0.2);
    width: 28px;
    border-radius: 4px;
    height: 28px;
    display: flex;
    justify-content: center;
    padding: 4px;
    list-style: none;
}
 .jhu-events-section ul.news-social-links li a {
    color: #fff;
    font-size: 14px;
}
.more-eventsbtn , .more-newsbtn{
    transition: padding-left, padding-right, background-color, color;
    transition-duration: .25s, .25s, .25s, .25s;
    transition-timing-function: 
ease-in-out, 
ease-in-out, 
ease-in-out, 
ease-in-out;
}
.more-eventsbtn:hover , .more-newsbtn:hover{
    background: rgba(255, 255, 255, 0.2);
    padding-left: .75em;
    transition: padding-left, padding-right, background-color, color;
    transition-duration: .25s, .25s, .25s, .25s;
    transition-timing-function: 
ease-in-out, 
ease-in-out, 
ease-in-out, 
ease-in-out;
}
/* a.more-events { margin-bottom: 30px; } */
/* Mobile Fix */
@media (max-width: 768px) {
    .jhu-banner-toggles { right: 10px; }
    body.jhu-open .jhu-banner-toggles { right: auto; left: 20px; }
}
/* Mobile - Stack Toggles on Left When Open */
@media (max-width: 768px) {
    .jhu-banner-toggles { 
        right: 20px; 
        top: 38%; 
    }
    body.jhu-open .jhu-banner-toggles { 
        left: 20px; 
        right: auto; 
    }
    /* .jhu-sidebar-panel { 
         width: 100vw; 
        right: -100vw; 
    } */
    .jhu-toggle, .jhu-btn {
        width: 140px;
        font-weight: 600;
        font-size: 15px;
    }
    .jhu-big-buttons a.jhu-btn {
        width: 135px;
        font-weight: 600;
        font-size: 16px;
    }
}
@media (max-width: 767px) {
    .jhu-banner-toggles, body.scrolled .jhu-banner-toggles:not(.jhu-open) {
    display: none!important;
}
}
@media screen and (max-width:1024px) and (min-width:992px){
    .jhu-banner-toggles {
        position: fixed;
        top: 25%;
    }
    .jhu-banner-toggles {
            transition: right 0.4s 
        cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.4s 
        cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.4s 
        ease;
        right: 0 !important;
        transform: translateY(-25%) translateX(0) !important;
    }
    .jhu-toggle, .jhu-btn {
    width: 125px;
    font-size: 15px;
    }
    .jhu-big-buttons a.jhu-btn {
    width: 125px;
    font-size: 15px;
    }
    body.jhu-open .jhu-banner-toggles {
    right: 386px !important;
    transform: translateY(-25%) translateX(0) !important;
    }
}
@media screen and (max-width:1300px) and (min-width:1025px){
     .jhu-toggle, .jhu-btn {
    width: 125px!important;
    font-size: 15px!important;
    }
    .jhu-big-buttons a.jhu-btn {
    width: 125px!important;
    font-size: 15px!important;
    }
}
@media screen and (max-width: 767px) {
	
	#jhu-sidebar {
		display: flex;
		flex-direction: column;
		width: 100%;
	}
    /* 1️⃣ Search section first */
/* #jhu-sidebar .jhu-search-section {
    order: 1;
} */

/* 2️⃣ Mobile buttons second */
/* #jhu-sidebar .jhu-mobile-buttons {
    order: 2;
} */

/* 3️⃣ Menu section third */
/* #jhu-sidebar .jhu-menu-section {
    order: 3;
} */

/* 4️⃣ Events section last */
/* #jhu-sidebar .jhu-events-section {
    order: 4;
} */
.jhu-close-bottom {
    order: 5;
}
	
	#jhu-sidebar .jhu-search-section { order: 1; }
#jhu-sidebar .jhu-mobile-buttons { order: 2; }
#jhu-sidebar .jhu-menu-section   { order: 3; }
#jhu-sidebar .jhu-events-section { order: 4; }

  .jhu-scroll-toggle {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 100001;
    transform: translateX(0);
    opacity: 1;
  }

  .jhu-hamburger {
    width: 42px;
    height: 42px;
  }
  .jhu-search-section {
    margin: 0px 0;
}
	input[type=search] {
		padding: 10px;
		margin: 0 0px !important;
	}
	.serach-main {
      padding: 6px;
	}
	.jhu-search-section button {
       padding: 9px 18px;
       border-radius: 0px !important;
    }
}
@media (max-width: 767px) {
  .jhu-mobile-buttons {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: 20px 0;
	
  }

/*   .jhu-mobile-buttons .jhu-btn {
    width: 100%;
    background: #013220;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    font-size: 16px;
    padding: 12px;
  } */
	.jhu-mobile-buttons .jhu-btn {
        width: 100%;
        background: #ffffff;
        color: #1F1E1E;
        padding: 8px 16px;
        cursor: pointer;
        border-radius: 6px;
        transition: all 0.3s;
        border: 1px solid #FFFFFF66;
        font-family: Open Sans;
        font-weight: 700;
        font-size: 16px;
        text-transform: uppercase;
        text-decoration: none;
        text-align: center;
        order: 2;
		margin-left: -9px;
    }
}
@media (max-width: 767px) {
/*   .jhu-banner-toggles {
    display: none !important;
  } */
}
@media (min-width: 768px) {
.jhu-mobile-buttons {
    display: none;
}
}
@media (max-width: 767px) {
/*   .section-title.upcoming-title {
    margin-top: 20px;
   }
	jhu-events-section {
    margin: 35px 0;
}
	nav.jhu-menu-section
 {
    margin-top: 20px;
} */
  /* Show menu list directly */
  .jhu-menu-section,
  .jhu-panel-menu {
    display: block !important;
  }

  /* Remove hamburger button */
  .menu-toggle,
  .hamburger,
  .navbar-toggler,
  .jhu-menu-toggle {
    display: none !important;
  }

  /* Menu styling */
  .jhu-panel-menu li {
    padding: 12px 0;
    border-bottom: 1px solid #e5e5e5;
  }

  .jhu-panel-menu li a {
    font-size: 16px;
    font-weight: 500;
    color: #000;
    text-decoration: none;
    display: block;
  }
}
@media (max-width: 767px) {
  #mega-menu-wrap-jhu_sidebar_menu .mega-menu-toggle {
    display: none !important;
  }
}
@media (max-width: 767px) {
  #mega-menu-jhu_sidebar_menu {
    display: block !important;
    visibility: visible !important;
    height: auto !important;
    opacity: 1 !important;
    position: static !important;
    transform: none !important;
  }
}
@media (max-width: 767px) {
  #mega-menu-wrap-jhu_sidebar_menu {
    pointer-events: auto;
  }

  #mega-menu-wrap-jhu_sidebar_menu.mega-menu-open {
    pointer-events: auto;
  }
}
@media (max-width: 767px) {
  .jhu-sidebar-panel {
    width: 100vw;
    right: -100vw;
  }
}


@media (max-width: 767px) {
  .jhu-banner-toggles {
    display: none !important;
  }
  .jhu-search-section {
    display: block !important;
  }

  .jhu-menu-section {
    display: block !important;
  }

  .jhu-events-section {
    display: block !important;
  }
	
}
#mega-menu-jhu_sidebar_menu > li.mega-menu-item-has-children > a::after {
    content: '+';
    position: absolute;
    right: 0;
    font-size: 22px;
    font-weight: 300;
    transition: transform 0.3s ease;
}
#mega-menu-jhu_sidebar_menu 
> li.mega-menu-item-has-children.mega-toggle-on 
> a::after {
    content: '−';
}
/* #mega-menu-jhu_sidebar_menu 
> li.mega-menu-item-has-children 
> ul.mega-sub-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
} */
#mega-menu-jhu_sidebar_menu 
> li.mega-menu-item-has-children 
> ul.mega-sub-menu {
    display: none;
    padding-left: 15px;
}

#mega-menu-jhu_sidebar_menu 
> li.mega-menu-item-has-children.mega-toggle-on 
> ul.mega-sub-menu {
    display: block;
}

#mega-menu-jhu_sidebar_menu 
> li.mega-menu-item-has-children.mega-toggle-on 
> ul.mega-sub-menu {
    max-height: 800px;
}


#cmc-dynamic-search {
    margin-bottom: 8px;
}
