#cms-gallery+.main {
    position: relative;
    z-index: 99;
}

#view-header #cms-header .header-bar-wrapper #h1 .button-action.dynamicLink {
    text-decoration: none;
    font-size: 16px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    /* background-color: #fff; */
    padding: 2px 6px;
    border-radius: 5px;
    margin-right: 12px;
    color: var(--nav-color);
}

#cms-header {
    border-bottom: 6px solid var(--secondary-color);
}

.button-block[style*="--light"] {
    --light: var(--links-color) !important;
    --light-hover: var(--links-color) !important;
}

.button-block[style*="--light"] a.button .title {
    color: #000;
}

@media only screen and (min-width: 961px) {
    #view-header #cms-header .logo {
        width: 150px;
        height: 150px;
        margin-bottom: -35px;
    }

    #view-header #cms-header .header-bar-wrapper #h1 .button-action.dynamicLink,
    #cms-header #h1 .menu-field {
        font-weight: 700;
        padding-top: 1px;
    }
}

@media only screen and (min-width: 961px) and (max-width: 1279px) {
    #view-header #cms-header .school-info {
        display: none;
    }
}

@media only screen and (max-width: 1024px) {
    #view-header #cms-header .header-bar-wrapper #h1 .button-action.dynamicLink {
        margin-top: 0;
    }
}


/* SIDEBAR AREA */
@media only screen and (min-width: 961px) {

    #sidebarNav h2 {
        border-radius: 8px 8px 0 0;
    }

    #sidebarNav .navLinks li:last-child {
        border-radius: 0 0 8px 8px;
    }

    #sidebarNav {
        width: 350px;
        box-sizing: border-box;
        margin-top: 40px;
        margin-bottom: 40px;
        margin-left: 80px;
        top: 90px;
        left: 0;
        overflow: hidden;
        display: inline-block;
    }

    #container #page.sidebarWithNav {
        width: calc(100% - 430px);
        display: inline-block;
        vertical-align: top;
    }

    #page.sidebarWithNav .standard-row {
        padding-left: 40px;
        padding-right: 80px;
        width: 100%;
        box-sizing: border-box;
    }

    #sidebarNav h2 {
        background: var(--primary-color);
        color: #fff;
        text-align: left !important;
        margin-bottom: 1px;
        border-radius: 20px 20px 0 0;
    }

    #sidebarNav .navLinks li:last-child {
        border-radius: 0 0 20px 20px;
    }

    #sidebarNav h2 a {
        color: #FFF;
        text-decoration: none;
        display: block;
        padding: 10px 10px 10px 20px;
    }

    #sidebarNav ul {
        margin-top: 0;
        padding-left: 0;
    }

    #sidebarNav .navLinks li {
        position: relative;
        background: #f1f1f1;
        border-bottom: 1px solid #fff;
        text-decoration: none;
        display: block;
        color: var(--primary-color);
        overflow: hidden;
    }

    #sidebarNav .navLinks li a {
        padding: 10px 10px 10px 22px;
        color: var(--primary-color);
        display: block;
        text-decoration: none;
    }

    #sidebarNav .navLinks li>a:hover,
    #sidebarNav .navLinks li.active>a {
        background: #ddd;
    }

    #sidebarNav .navLinks li.active>a {
        font-weight: 700;
    }

    #sidebarNav .navLinks li.active>a:after {
        position: absolute;
        content: close-quote;
        left: 0px;
        top: 0;
        bottom: 0;
        background: var(--primary-color);
        width: 8px;
    }


    #sidebarNav .navLi.hasSubmenu .submenuBtn {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 0;
        right: 0;
        cursor: pointer;
        width: 44px;
        height: 44px;
    }

    #sidebarNav .navLi.hasSubmenu .submenuBtn svg path {
        fill: var(--primary-color);
        stroke: var(--primary-color);
    }

    #sidebarNav .navLi.hasSubmenu.activeSubmenu .submenuBtn {
        transform: rotate(180deg);
    }

    #sidebarNav .navLi.hasSubmenu {
        /*     padding-right: 44px; */
    }

    #sidebarNav .navLi.hasSubmenu.activeSubmenu .submenu {
        display: block;
    }

    #sidebarNav .submenu {
        font-size: 14px;
        display: none;
    }

    #sidebarNav .submenu li {
        position: relative;
        border-radius: 0 !important;
        /* background: #d5d5d5; */

    }

    #sidebarNav .navLinks .submenu li.active>a:after {
        left: auto;
        right: 0;
    }

    #sidebarNav .submenu li a {
        padding-left: 40px;
    }

    #sidebarNav .submenu li:before {
        content: close-quote;
        width: 0;
        height: 0;
        border-style: solid;
        border-width: 4px 0 4px 5px;
        border-color: transparent transparent transparent var(--primary-color);
        position: absolute;
        top: 16px;
        font-size: 12px;
        left: 30px;
    }

}

@media only screen and (max-width: 1350px) and (min-width: 961px) {
    #sidebarNav {
        width: 250px;
    }

    #container #page.sidebarWithNav {
        width: calc(100% - 335px);

    }

    #page.sidebarWithNav .standard-row {
        padding-left: 30px;
    }
}

@media only screen and (max-width: 960px) {
    #sidebarNav {
        display: none;
    }
}

/* SIDEBAR AREA END */