/* import css to make events v2 to look like v7 */
@import "https://cmsv2-shared-assets.apptegy.net/Global/Components/Events/events-custom-v3.css";

/* -------------------------------- */
/* -------------------------------- */
.custom-buttons {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.custom-buttons .custom-button {
    flex: 1;
    min-width: 120px;
    box-sizing: border-box;
    --graphicSize: 96px;
    --textSize: 18px;
    --bgColor: var(--primary-color);
    --textColor: #fff;
    background-color: var(--bgColor);
    color: var(--textColor);
    text-align: center;
    font-size: var(--textSize);
    position: relative;
    isolation: isolate;
}

@media only screen and (max-width: 1500px) {
    .custom-buttons .custom-button {
        --graphicSize: 80px;
        --textSize: 16px;
    }
}

@media only screen and (max-width: 600px) {
    .custom-buttons .custom-button {
        flex: unset;
        min-width: unset;
        width: 100%;
        text-align: left;
        border-bottom: 1px solid #fff;
        --graphicSize: 60px;
        --textSize: 16px;
    }
}

.custom-buttons .custom-button:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.1);
    /* Adjust the opacity to control darkness */
    pointer-events: none;
    /* Prevents the overlay from interfering with clicking/linking */
    opacity: 0;
    transition: all 0.25s linear;
    z-index: -1;
}

.custom-buttons .custom-button:hover:after {
    opacity: 1;
}

.custom-buttons .custom-button:nth-child(n+9) {
    display: none;
}

.custom-buttons .custom-button__url {
    display: block;
    width: 100%;
    height: 100%;
    padding: 1.5em 1em;
    box-sizing: border-box;
    text-decoration: none;
}

@media only screen and (max-width: 600px) {
    .custom-buttons .custom-button__url {
        display: flex;
        align-items: center;
        padding: 0.75em 1em;
    }
}

.custom-buttons .custom-button__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: var(--graphicSize);
    height: var(--graphicSize);
    margin-left: auto;
    margin-right: auto;
}

@media only screen and (max-width: 600px) {
    .custom-buttons .custom-button__icon {
        margin-left: 0;
        margin-right: 1em;
    }
}

.custom-buttons .custom-button__icon svg {
    width: 55%;
    /* using max-width only doesn't work for safari */
    max-width: 55%;
    max-height: 55%;
    fill: var(--textColor);
}

@media only screen and (max-width: 600px) {
    .custom-buttons .custom-button__icon svg {
        width: 60%;
        /* using max-width only doesn't work for safari */
        max-width: 70%;
        max-height: 70%;
    }
}

.custom-buttons .custom-button__title {
    color: var(--textColor);
    margin-top: 0.5em;
    font-weight: 500;
    display: block;
    width: 100%;
}

@media only screen and (max-width: 600px) {
    .custom-buttons .custom-button__title {
        width: auto;
        margin-top: 0;
    }
}

.custom-buttons--round .custom-button .custom-button__icon {
    border-radius: 50%;
    background-color: var(--textColor);
}

.custom-buttons--round .custom-button .custom-button__icon svg {
    fill: var(--bgColor);
}

.custom-buttons--round .custom-button .custom-button__title {
    margin-top: 1em;
}

@media only screen and (max-width: 600px) {
    .custom-buttons--round .custom-button .custom-button__title {
        margin-top: 0;
    }
}

/* -------------------------------- */
/* END CUSTOM BUTTONS */
/* -------------------------------- */
/* -------------------------------- */
/* START SPONSOR BAR */
/* -------------------------------- */
.custom-home-title {
    justify-content: center;
    padding-left: 0;
    margin: auto;
    padding-bottom: 15px;
    text-align: left;
    padding-left: 32px;
    margin-top: 30px;
    text-align: center;
}

@media only screen and (max-width: 600px) {
    .custom-home-title {
        padding-left: 20px;
    }
}

.custom-home-title h2 {
    font-weight: 400;
    font-size: 32px;
    text-transform: uppercase;
}

.sponsor-area__wrap {
    --image-size: 200px;
    padding: 20px;
    overflow: hidden;
    max-width: 2000px;
    width: 100%;
    margin: 0 auto;
    position: relative;
    display: flex;
    box-sizing: border-box;
}

.sponsor-area__wrap:hover .sponsor-area {
    animation-play-state: paused;
}

.sponsor-area__wrap .sponsor-area {
    /* width: 100%; */
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    animation: marquee 30s linear infinite;
}

.sponsor-area__wrap .sponsor-area .image-wrapper {
    display: block;
}

.sponsor-area__wrap .sponsor-area .image-wrapper img {
    display: block;
    max-height: var(--image-size);
    max-width: calc(var(--image-size) * 1.25);
    margin: 0 1vw;
}

@keyframes marquee {
    0% {
        transform: translateX(0%);
    }

    100% {
        transform: translateX(-100%);
    }
}

@media only screen and (max-width: 600px) {
    .sponsor-area__wrap {
        overflow: initial;
    }

    #sponsor-area-clone {
        display: none;
    }

    .sponsor-area__wrap .sponsor-area {
        animation: unset;
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        padding-right: 5px;
        padding-left: 5px;
        gap: 15px;
        align-items: unset;
    }

    .sponsor-area__wrap .sponsor-area .image-wrapper img {
        width: 100%;
        max-width: unset;
        height: 100%;
        max-height: unset;
        -o-object-fit: cover;
        object-fit: cover;
        margin: 0;
    }
}

/* -------------------------------- */
/* END SPONSOR BAR */
/* -------------------------------- */
/* -------------------------------- */
/* START QUICK LINKS */
/* Similar to buttons V1; needed here in order to manage all schools from CMS only */
/* -------------------------------- */
.quick-links-area {
    --bgColor: var(--primary-color);
    --textColor: #fff;
    --fontSize: 1.4em;
    --bold: 700;
    background-color: var(--bgColor);
    padding-top: 1em;
    padding-bottom: 1em;
}

.quick-links-area h2 {
    color: #fff;
}

.quick-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    color: var(--textColor);
    padding: 1.5em 1em;
    gap: 1em;
}

@media only screen and (max-width: 600px) {
    .quick-links {
        font-size: 1.2em;
        justify-content: flex-start;
    }
}

.quick-links .custom-button {
    font-size: var(--fontSize);
    display: flex;
    align-items: flex-start;
    border: 1px solid currentColor;
    line-height: 1.2;
    border-radius: 4px;
}

@media only screen and (max-width: 1200px) {
    .quick-links {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media only screen and (max-width: 767px) {
    .quick-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media only screen and (max-width: 600px) {
    .quick-links {
        display: block;
    }
}

@media only screen and (max-width: 1500px) {
    .quick-links .custom-button {
        font-size: 16px;
    }
}

@media only screen and (max-width: 600px) {
    .quick-links .custom-button {
        margin-left: 0;
        margin-bottom: 1em;
    }
}

.quick-links .custom-button__url {
    color: inherit;
    text-decoration: none;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    padding: 0.75em 0.5em 0.75em 0.5em;
    position: relative;
    font-weight: 400;
    transition: all 0.25s linear;
    box-sizing: border-box;
    text-align: center;
}

.quick-links .custom-button__url:after {
    content: "";
    display: inline-block;
    width: 1.25em;
    height: 1.25em;
    margin-left: 0.5em;
    background-color: var(--textColor);
    -webkit-mask-image: url("data:image/svg+xml;utf8,<svg width='24' height='24' xmlns='http://www.w3.org/2000/svg' fill-rule='evenodd' clip-rule='evenodd'><path d='M21.883 12l-7.527 6.235.644.765 9-7.521-9-7.479-.645.764 7.529 6.236h-21.884v1h21.883z'/></svg>");
    mask-image: url("data:image/svg+xml;utf8,<svg width='24' height='24' xmlns='http://www.w3.org/2000/svg' fill-rule='evenodd' clip-rule='evenodd'><path d='M21.883 12l-7.527 6.235.644.765 9-7.521-9-7.479-.645.764 7.529 6.236h-21.884v1h21.883z'/></svg>");
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    position: absolute;
    right: 0.5em;
    top: 0.5em;
    display: none;
}

.quick-links .custom-button__url:hover {
    background-color: #fff;
    color: var(--primary-color);
}

.quick-links .custom-button__url:hover:after {
    background-color: var(--primary-color);
}

.quick-links .custom-button__url:hover:after {
    animation: bounce 1s ease-out forwards;
}

.quick-links .custom-button__title {
    display: block;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-0.3em);
    }

    50% {
        transform: translateX(0);
    }

    75% {
        transform: translateX(-0.3em);
    }
}

/* -------------------------------- */
/* END QUICK LINKS */
/* -------------------------------- */
/* -------------------------------- */
/* START FOOTER EXTRA CONTENT*/
/* -------------------------------- */
#cms-footer .foonter-extra {
    color: var(--text-link-color);
}

#cms-footer .foonter-extra__button .custom-button {
    display: inline-flex;
    padding: 0.75em 1.5em 0.7em;
    border-radius: 2em;
    margin-left: 5px;
    margin-right: 5px;
    margin-top: 5px;
    margin-bottom: 5px;
}

#cms-footer .foonter-extra__button .custom-button__icon {
    margin-right: 0.5em;
}

#cms-footer .foonter-extra__button .custom-button__icon svg {
    width: 1.2em;
    height: 1.2em;
    fill: currentColor;
}

#cms-footer .foonter-extra__button a.custom-button {
    background-color: var(--text-link-color);
    color: var(--bg-color);
    text-decoration: none;
    border: 1px solid var(--text-link-color);
    transition: all 0.25s linear;
}

#cms-footer .foonter-extra__button a.custom-button:hover {
    color: var(--text-link-color);
    background-color: var(--bg-color);
}

#cms-footer .foonter-extra .text-wrap a {
    color: inherit;
}

#cms-footer .foonter-extra .title-wrap {
    margin-bottom: 1em;
}

#cms-footer .foonter-extra__image {
    box-sizing: border-box;
}

#cms-footer .foonter-extra__image .image-wrapper {
    display: inline-block;
    margin: 5px;
}

#cms-footer .foonter-extra__image img {
    max-width: 250px;
    max-height: 250px;
}

#cms-footer #footer-f1 .foonter-extra p {
    font-size: 0.85em;
}

#cms-footer #footer-f1 .foonter-extra p span {
    font-size: unset !important;
}

/* -------------------------------- */
/* END FOOTER EXTRA CONTENT*/
/* -------------------------------- */
/* -------------------------------- */
/* CMS Page START */
/* -------------------------------- */
#page-wrapper .ts-divider {
    border-color: var(--primary-color) !important;
}

/* -------------------------------- */
/* CMS Page END */
/* -------------------------------- */
/* ------------------------------------------ */
/* ------------- Sidenav - if there is a submneu, only display the submenu --------------- */
/* ------------------------------------------ */
#page-wrapper #sidebarNav:has(.navLi.active.hasSubmenu) h2,
#page-wrapper #sidebarNav:has(.navLi.active.hasSubmenu) .navLinks>li:not(.active),
#page-wrapper #sidebarNav:has(.navLi.active.hasSubmenu) .navLi.hasSubmenu.active .submenuBtn {
    display: none;
}

#page-wrapper #sidebarNav:has(.navLi.active.hasSubmenu) .navLinks>li.active .submenu {
    display: block;
    font-size: 16px;
}

#page-wrapper #sidebarNav:has(.navLi.active.hasSubmenu) .navLinks>li.active>a {
    color: #fff;
    padding-left: 20px;
    margin-bottom: 1px;
    border-radius: 20px 20px 0 0;
    background: var(--primary-color);
    font-size: 1.2em;
    line-height: 1.1;
    padding-top: 0.75em;
    padding-bottom: 0.75em;
}

#page-wrapper #sidebarNav:has(.navLi.active.hasSubmenu) .navLinks>li.active>a:after,
#page-wrapper #sidebarNav:has(.navLi.active.hasSubmenu) .navLinks>li.active .submenu li:before {
    display: none;
}

#page-wrapper #sidebarNav:has(.navLi.active.hasSubmenu) .navLinks>li.active .submenu li.active>a:after {
    right: auto;
    left: 0;
}

#page-wrapper #sidebarNav:has(.navLi.active.hasSubmenu) .navLinks>li.active .submenu li a {
    padding-left: 22px;
}

#page-wrapper #sidebarNav:has(.navLi.active.hasSubmenu) .navLinks>li.active .submenu li.active:last-child,
#page-wrapper #sidebarNav:has(.navLi.active.hasSubmenu) .navLinks>li.active {
    border-radius: 20px;
}

/* ------------------------------------------ */
/* ------------- END Sidenav - if there is a submneu, only display the submenu --------------- */
/* ------------------------------------------ */

/* fix the menu v4 when there are many links */
@media only screen and (max-width: 1023px) {
    #cms-header #h2 .mobile-header {
        padding-top: 10px;
        height: auto;
    }

    #cms-header #h2 .school-info {
        padding-bottom: 10px;
    }

    #cms-header #h2 .logo {
        margin-bottom: 0;
    }
}

@media only screen and (min-width: 1024px) {
    #view-header .m4-menu--drawer .m4-menu--drawer-title h2 {
        max-width: 100%;
    }

    #view-header #cms-header .header-bar-wrapper #m4 .m4-menu--bar .m4--menu-item .m4--menu-item-icon svg path {
        fill: var(--text);
    }

    #view-header #cms-header .m4-menu--drawer {
        top: 100%;
        flex-wrap: wrap;
        /* min-height: 400px; */
        overflow: auto;
        margin: 0;
        box-sizing: border-box;
        display: block;
        padding: 1rem;
    }

    #view-header #cms-header .m4--menu-item-active-line {
        display: none;
    }

    #view-header #cms-header .m4-menu--drawer-title {
        width: 100%;
        margin: 0;
        box-sizing: border-box;
    }

    #view-header .m4--drawer-children.show-children {
        background: #f2f2f2;
    }

    #view-header #cms-header .m4-menu--drawer-content-wrapper {
        margin: 10px 0;
        display: grid;
        width: 100%;
        max-width: 100%;
        grid-template-columns: repeat(4, 1fr);
        box-sizing: border-box;
        /* min-height: 400px; */
    }

    #view-header #cms-header .m4-menu--drawer-content-wrapper .m4--drawer-element.child-element {
        margin-left: 10px;
        height: auto;
        min-height: 40px;
    }

    #view-header #cms-header .m4-menu--drawer-content-wrapper .m4--drawer-element .m4--drawer-element-title {
        min-height: 40px;
    }

    #view-header #cms-header .m4--drawer-element .m4--drawer-element-title .m4--drawer-element-title-text {
        white-space: normal;
        text-align: left;
    }
}

@media only screen and (min-width: 1024px) and (max-width: 1400px) {
    #view-header #cms-header .m4-menu--drawer-content-wrapper {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* hide Footer logo */
#footer-f1 .logo-wrapper {
    display: none !important;
}

/* END */
/* fix the schools menu issue */
@media only screen and (min-width: 1040px) {
    #view-header {
        --header-height: 120px;
        --sticky-header-height: 60px;
    }

    #view-header #schools-menu-sm1 {
        overflow: auto;
        box-sizing: border-box;
        max-height: calc(100vh - var(--header-height));
    }

    #view-header .sticky #schools-menu-sm1 {
        max-height: calc(100vh - var(--sticky-header-height));
    }
}

/* end */
/*# sourceMappingURL=dev.css.map */

/* Ethics Hotline fixes in the footer */

#cms-footer .footer-columns:nth-child(2) p {
    margin-bottom: 5px !important; 
  padding-bottom: 0px !important;
}


#cms-footer .footer-columns:nth-child(2) a {
    margin-bottom: 5px !important; 
}

/* Ethics Hotline end */
