#app,
.pb-main,
body,
html,
button,
#h3 .utility-menu .utilities-bar .translate-button .translate-text {
    font-family: "Poppins", sans-serif !important;
    --font-family: "Poppins", sans-serif !important;
}

h1,
h2,
#app:not(#home) h3,
#app:not(#home) h4 {
    font-family: "Ubuntu", sans-serif;
}

#app {
    --gradient: linear-gradient(90deg, #F07622 0%, #C81F3F 35%, #9F58A2 68%, #054F7D 100%);
}

/* View header */
#view-header:has(.bar-nav-menu) {
    .header-bar-wrapper {
        background: var(--gradient) !important;
    }

    #h3 .utility-menu {
        flex-direction: column;
        padding-block: 20px;

        .logo {
            height: 62px;
            margin: 0;

            img {
                object-fit: contain;
            }
        }

        .utilities-bar {
            margin-left: 0;

            .translate-button {
                position: absolute;
                right: 122px;
                top: 100%;
                height: 78px;
                box-sizing: border-box;
                margin: 0;
                transform: translateY(-50%);
                margin-top: 5px;
                align-items: center;
                width: 121px;
                margin-right: 40px;

                &::after {
                    width: 0%;
                    position: absolute;
                    bottom: 22px;
                    left: 50%;
                    height: 2px;
                    transform: translateX(-50%);
                    background-color: var(--secondary-color);
                    transition: all .35s ease-in-out;
                    content: '';
                }

                &:hover::after {
                    width: calc(100% - 3px);
                    margin-left: -6px;
                }

                .translate-text {
                    color: var(--primary-color) !important;
                    text-transform: uppercase;
                    font-weight: 400;
                    letter-spacing: 0;
                }

                svg,
                svg path {
                    fill: var(--primary-color);
                }
            }
        }
    }

    .utilities-bar .utility-bar-items {
        display: none;
    }

    .header-bar-wrapper #h3 {
        margin-bottom: -45px;
    }

    .header-bar-wrapper #m5 {
        border-radius: 20px;
        transform: translateY(45px);
    }

    .bar-nav-menu--drawer {
        top: 100%;
    }

    .bar-nav-menu--drawer .bar-nav-menu--drawer-content-wrapper {
        padding-block: 16px;


        .menu-item-active-line {
            display: none;
        }

        .dropdown-with-icons span {
            border-radius: 0;
            width: 45px;
            height: 45px;

            svg {
                padding: 0;
            }
        }
    }

    .bar-nav-menu .bar-nav-menu-bar .bar-nav-item-wrapper .options-wrapper:has(#explore-button) {
        display: none;
    }

    .bar-nav-menu .bar-nav-menu-bar .bar-nav-item-wrapper .options-wrapper:has(#schoolsbutton) {
        order: 2;
        position: absolute;
        right: 250px;
        width: 155px;

        &+.options-wrapper>.bar-menu-item .bar-nav-element .link {
            color: var(--secondary-color);
        }
    }

    .options-wrapper>.bar-menu-item,
    #more-menu-item {
        position: relative;

        &::after {
            width: 0%;
            position: absolute;
            bottom: 22px;
            left: 50%;
            height: 2px;
            transform: translateX(-50%);
            background-color: var(--secondary-color);
            transition: all .35s ease-in-out;
            content: '';
        }
    }

    .bar-menu-item.menu-item-active,
    .bar-menu-item:hover,
    #more-menu-item:hover {
        background: transparent;

        &::after {
            width: calc(100% - 48px);
        }
    }

    .bar-nav-menu .bar-nav-menu-bar .bar-nav-menu--align-right {
        order: 0;
    }

    .bar-nav-menu .bar-nav-menu-bar {
        min-height: 78px;

        &::after {
            content: '';
            width: 1px;
            height: 45px;
            order: 1;
            background-color: var(--text-color);
        }
    }

    .bar-end-options {
        padding-left: 300px;
        order: 2;
    }

    #h3 #languagesmenu {
        top: 100%;
        margin-top: 45px;
        right: 65px;
    }

    .bar-nav-menu .bar-nav-menu-bar .bar-nav-menu--align-right #schools-menu-sm1 {
        transform: none;
        right: -100px;
        left: auto;
        min-width: 70vw;
    }
}

/* header v3 position above the gallery */
#view-header #cms-header {
    --header-position: relative !important;
}

/* END header v3 position above the gallery */
#view-header .mobile-header {
    padding-block: 10px;

    .logo {
        img {
            object-fit: contain;
            max-width: 100%;
        }
    }
}

body:not(.sandbox, .distinctive-schools) {
    #view-header:has(.bar-nav-menu) {
        #h3 .utility-menu {
            flex-direction: row;
            justify-content: space-between;
            align-items: center;
            gap: 20px;
            padding-block: 10px;

            .logo {
                height: 90px;

                @media only screen and (min-width: 1400px) {
                    height: 114px;
                }
            }
            .district-logo {
                height: 62px;

                img {
                    max-height: 100%;
                    width: auto;
                    object-fit: contain;
                }
            }
        }
    }
}

/* END view header */
/* general styling */
#home {
    .header-slot-container h2 {
        font-weight: 700;
        font-size: clamp(2rem, 1.25rem + 2vw, 3.25rem);
        line-height: 1.1;
        letter-spacing: 0;
    }

    .see-all-container .light-header-accent {
        display: none;
    }

    .see-all-container .see-all-button {
        transition: all .35s ease-in-out;
        border: 2px solid var(--button-bg-color);
        border-radius: 10px;
    }

    .see-all-container .see-all-button:not(:hover) {
        background-color: var(--button-text-color);
        color: var(--button-bg-color);
        border: 2px solid currentColor;
    }
}

/* end general styling */

/* custom top text section */
#content-area-2 {

    .container {
        display: flex;
        flex-direction: column;
        padding-top: clamp(1.25rem, -8.75rem + 12.5vw, 3.75rem);
        gap: 20px;
        box-sizing: border-box;


        @media only screen and (min-width: 980px) {
            flex-direction: row-reverse;
            gap: 0;
            padding-inline: 20px;

            .text {
                width: 50%;
                flex: 1;
                padding-right: clamp(1.875rem, -5.04rem + 11.29vw, 6.25rem);
                padding-top: 25px;
                padding-bottom: 5%;
            }

            .title {
                width: 50%;
                flex: 1;
                padding-left: clamp(1.875rem, -5.04rem + 11.29vw, 6.25rem);
                padding-bottom: 5%;
            }
        }

        *,
        *::before,
        *::after {
            box-sizing: border-box;
        }

        .text {
            font-size: clamp(1.063rem, -0.938rem + 2.5vw, 1.313rem);
            line-height: 1.4;
            color: var(--primary-color);

            position: relative;

            @media only screen and (max-width: 979px) {
                padding-right: 10px;

                &::after {
                    width: 20px !important;
                }
            }

            &::after {
                content: '';
                position: absolute;
                right: -10px;
                top: 0;
                width: 29px;
                height: 392px;
                max-height: 100%;
                background-image: url("data:image/svg+xml,%3Csvg width='36' height='375' viewBox='0 0 36 375' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M21 3C21 1.34315 19.6569 7.24234e-08 18 0C16.3431 -7.24234e-08 15 1.34315 15 3L18 3L21 3ZM18 307.32L35.3205 290L18 272.68L0.679478 290L18 307.32ZM18 3L15 3L15 290L18 290L21 290L21 3L18 3Z' fill='url(%23paint0_linear_448_44)'/%3E%3Cpath d='M17 323L28 334L17 345L6 334L17 323Z' fill='%239F58A3'/%3E%3Cpath d='M17 359L25 367L17 375L9 367L17 359Z' fill='%23EF7723'/%3E%3Cdefs%3E%3ClinearGradient id='paint0_linear_448_44' x1='17.5' y1='3' x2='17.5' y2='290' gradientUnits='userSpaceOnUse'%3E%3Cstop stop-color='%23F07622'/%3E%3Cstop offset='0.35' stop-color='%23C81F3F'/%3E%3Cstop offset='0.68' stop-color='%239F58A2'/%3E%3Cstop offset='1' stop-color='%23054F7D'/%3E%3C/linearGradient%3E%3C/defs%3E%3C/svg%3E%0A");
                background-repeat: no-repeat no-repeat;
                background-position: top right;
                background-size: contain;
            }


        }

        .title {

            h2 {
                color: var(--primary-color);
                letter-spacing: -0.01em;
                line-height: 1;
                text-transform: uppercase;
                font-size: clamp(2.5rem, -1.431rem + 8.276vw, 8.5rem);
            }
        }

    }
}

/* END custom top text section */

/* About us */
#home #about-v1 {
    position: relative;
    isolation: isolate;

    @media only screen and (max-width: 599px) {
        padding-inline: 10px;

        .main-content .icon-link-buttons .button {
            width: 100%;
            height: auto;
        }
    }

    &::before {
        position: absolute;
        content: '';
        z-index: -1;
        inset: 0;
        background: var(--gradient);
        transform: scaleX(-1);
    }

    &>* {
        background-color: var(--bg-color);
        margin: 0;
        padding-inline: 20px;


        @media only screen and (min-width: 1280px) {
            padding-inline: 30px;
        }

        &:first-child {
            border-radius: 15px 15px 0 0;
            padding-top: 25px;
        }

        &:last-child {
            border-radius: 0 0 15px 15px;
            padding-bottom: 25px;

            .left-content {
                padding-top: 25px;
            }
        }
    }

    .left-content .left-text {
        font-size: 19px;
        line-height: 1.4;
    }

    .icon-link-buttons .button {
        height: 120px;
        width: 120px;
    }
}

/* END about us */

/* News */
#app #news-n4 {
    position: relative;
    isolation: isolate;
    padding-inline: 70px;


    &::before,
    &::after,
    .news-content::before,
    .news-content::after {
        width: 100%;
        left: 0;
        box-sizing: border-box;
        border-left: 31px solid transparent;
        height: 76px;
        display: block;
        position: absolute;
        content: '';
    }

    &::before {
        --color: #EF7723;
        top: 25%;
        border-left-color: var(--color);
        background: color-mix(in srgb, var(--color), #fff 90%);
    }

    &::after {
        --color: #C82040;
        top: 42%;
        border-left-color: var(--color);
        background: color-mix(in srgb, var(--color), #fff 90%);
    }

    .news-content::before {
        --color: #9F58A3;
        top: 60%;
        border-left-color: var(--color);
        background: color-mix(in srgb, var(--color), #fff 90%);
    }

    .news-content::after {
        --color: #447EAD;
        top: 77%;
        border-left-color: var(--color);
        background: color-mix(in srgb, var(--color), #fff 90%);
    }

    .story .news-image {
        border-radius: 20px;
        overflow: hidden;

        .image-hidden-wrapper {
            border-top: none !important;
        }
    }

    .story .news-snippet.outer-snippet {
        display: none;
    }

    .story .news-snippet.inner-snippet {
        display: block;
        width: 100%;
        color: var(--news-text-color, var(--snippet-color));
        box-sizing: border-box;
        font-weight: 400;
        margin-bottom: 50px;
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 4;
        line-clamp: 4;
        -webkit-box-orient: vertical;
    }

    .news-image-title-link {
        height: 100%;
        display: flex;
        flex-direction: column;
    }

    .story .news-title {
        max-width: calc(100% - 24px);
        margin-inline: auto;
        box-shadow: 0px 20px 24px -4px rgba(0, 0, 0, 0.09), 0px 8px 8px -4px rgba(0, 0, 0, 0.08);
        background-color: var(--news-box-bg, var(--bg-color));
        color: var(--news-title-color, var(--article-title-color));
        padding: 30px 40px;
        box-sizing: border-box;
        position: relative;
        margin-top: -20px;
        z-index: 2;
        border-radius: 20px;
        font-size: var(--news-title-size, 19px);
        line-height: 1.3;
        font-weight: 600;
        flex: 1;

        &::before,
        &::after {
            content: '';
            position: absolute;
            bottom: 25px;
            right: 25px;
            display: block;
            width: 38px;
            height: 38px;
            transition: all .35s ease-in-out;
            border-radius: 50vw;
            box-sizing: border-box;
        }

        &::before {
            background-color: var(--arrow-color, var(--primary-color));
            mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18' fill='none'%3E%3Cpath d='M8.46975 12.9697L9.53025 14.0302L14.5605 8.99998L9.53025 3.96973L8.46975 5.03023L11.6895 8.24998H4.5V9.74998H11.6895L8.46975 12.9697Z' fill='%23FFFFFF'/%3E%3C/svg%3E");
            mask-repeat: no-repeat no-repeat;
            mask-position: center center;
            mask-size: 70% auto;
        }

        &::after {
            background-color: var(--arrow-background, var(--primary-color-contrast));
            border: 2px solid var(--arrow-color, var(--primary-color));
            z-index: -1;
        }
    }

    @media only screen and (min-width: 1280px) {
        .news-content:not(.more-headlines-content)>.story .news-title {

            &::before,
            &::after {
                width: 43px;
                height: 43px;
            }
        }
    }

    .story a:hover {

        .news-title::before,
        .news-title::after {
            transform: translateX(5px);
        }
    }

}

@media only screen and (min-width: 960px) and (max-width: 1279px) {
    #app #news-n4 .news-content {
        gap: 10px;
        justify-content: center;
    }

    #app #news-n4 .story {
        width: calc(50% - 16px);
        margin-right: 0;

        .news-image-title-link .news-image-container {
            margin: 0;
            width: 100%;
        }

        .news-image-title-link .news-title {
            width: 100%;
        }
    }
}

@media only screen and (max-width: 800px) {
    #app #news-n4 .story .news-title {
        padding: 25px
    }
}

@media only screen and (max-width: 600px) {
    #app #news-n4 {
        padding-left: 30px;
        padding-right: 20px;

        &::before,
        &::after,
        .news-content::before,
        .news-content::after {
            border-left-width: 20px;
        }
    }
}

/* End News */

/* Events */
@media only screen and (min-width: 600px) {
    #home .events-e6 {
        padding-inline: 70px;
    }
}

#home .events-e6 .events-container .events-wrapper .event-card .start-date .month {
    font-weight: 700;
    font-size: 20px;
}

/* end events */

/* START - custom spotlight */
#app .custom-spotlight-v2 {
    --bottom-bar-bg-color: var(--gradient);

    &:not(:has(img[src^="http"])) {
        display: none;
    }

    .custom-spotlight-v2-title {
        color: var(--primary-color);
    }

    .custom-spotlight-v2-list-area::after {
        background: var(--bottom-bar-bg-color);
        transform: scaleX(-1);
    }

    .custom-spotlight-v2-item-button {
        transition: all .25s ease-in-out;
        border-radius: 10px;
    }

    .custom-spotlight-v2-item-button {
        color: var(--primary-color);
        position: relative;
        font-weight: 700;
        border: 0;
        transition: all .35s ease-in-out;

        &:hover {
            color: #FFF;

            &::before {
                background: #FFF;
                inset: -1;
            }
        }

        &::before {
            content: '';
            position: absolute;
            inset: -2px;
            padding: 3px;
            border-radius: 10px;
            background: linear-gradient(90deg, #F07622 0%, #C81F3F 35%, #9F58A2 68%, #054F7D 100%);
            -webkit-mask:
                linear-gradient(#fff 0 0) content-box,
                linear-gradient(#fff 0 0);
            -webkit-mask-composite: xor;
            mask-composite: exclude;
            z-index: -1;
            box-sizing: border-box;
            transition: all .35s ease-in-out;
        }
    }
}

/* END - custom spotlight */
/* video */
#video-component {

    iframe,
    .mirrors .thumbnail img {
        border-radius: 20px;
    }
}

/* end video */

/* footer */
#app #view-footer .footer-social-links {
    --icon-color: var(--primary-color);
}

#cms-footer #footer-f1 p {
    padding-bottom: 10px;
    white-space: normal;
}

#cms-footer #footer-f1 .row .footer-column-main {
    flex-basis: 100% !important;
    text-align: center;
    order: 0;

    &>h2 {
        display: none;
    }

    &>p {
        &>span:first-child {
            color: var(--primary-color);
            font-weight: 700;
            display: block;
            font-size: 19px;
        }

        .new-line {

            @media only screen and (max-width: 500px) {
                display: flex;
                flex-direction: column;
                align-items: center;

                span {
                    border: 0 !important;
                }
            }

            span {
                &:first-child {
                    border-right: 1px solid currentColor;
                }
            }
        }
    }
}

#footer-f1 .row .footer-column-main .footer-logo {
    margin: auto;
    max-width: 100%;
}

#footer-f1 .row .footer-column-main p span {
    display: inline;
    padding-left: 8px;
    padding-right: 8px;
}

#footer-f1 .row .footer-columns {
    flex-basis: 100% !important;
    text-align: center;
    order: 2;
    padding: 0;
    margin: 0;
}

#footer-f1 .row .footer-columns .normal-window {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
    gap: 10px;

    @media only screen and (max-width: 600px) {
        flex-direction: column;
        align-items: center;
    }
}

#footer-f1 .row .footer-columns .normal-window li {
    margin-left: 6px;
    margin-right: 6px;

    &:has(.image-container)+li p {
        text-align: left;
    }
}

#footer-f1 .row .footer-column-last {
    flex-basis: 100%;
    text-align: center;
}

#footer-f1 .row h2 {
    display: none;
}

#footer-f1 .row .footer-column-last a {
    display: inline;
    padding-left: 5px;
    padding-right: 5px;
}

#footer-f1 .row .footer-column-last a img {
    display: inline;
}

#view-footer #cms-footer #footer-f1 .footer-column-last {
    flex-basis: 100%;
    order: 1;
    padding-top: 15px;
}

#view-footer #cms-footer #footer-f1 .footer-column-last .footer-social-links li {
    margin-left: 4px;
    margin-right: 4px;
}

/* end footer */
/* CMS pages */
#app:has(#view-header .bar-nav-menu) {
    .breadcrumb {
        padding-top: 40px;
    }
}

/* end */
/* from old code ============= ---------------------------- ==========================*/
#home #buttons-b2.light .button-link, 
#home #buttons-b2.light a {
    font-size: clamp(1.125rem, 0.8589rem + 0.6452vw, 1.375rem);
    padding: 1em 2em;
    box-sizing: border-box;
}

/* Custom Modal */

#container.hasCustomModal {
    position: relative;
}

.modalOuter {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    z-index: 9;
    visibility: visible;
    opacity: 1;
    color: var(--modal-text-color);
    transition: all .5s linear;
    padding: 40px 30px 35px;
    background-color: var(--modal-background-color);
    box-sizing: border-box;
    margin-bottom: 1px;
    border-bottom: 2px solid #d4d4d4;
}

.hasCustomModal--centered .modalOuter {
    justify-content: center;
    align-items: center;
    background-color: #0000007d;
}

.modalInner {
    width: 100%;
}

.modalElement {
    display: flex;
    padding-left: 200px;
    box-sizing: border-box;
    padding-right: 2em;
    padding-bottom: 0;
    align-items: center;
    font-size: 16px;
    /*    position: relative;*/
    box-sizing: border-box;
    color: var(--modal-text-color);
}

.hasCustomModal--centered .modalElement {
    width: 900px;
    max-width: calc(100% - 60px);
    min-height: 400px;
    max-height: 80vh;
    overflow: auto;
}

.hasCustomModal--bottom .modalOuter {
    justify-content: center;
    align-items: flex-end;
}

.hasCustomModal--top .modalOuter {
    justify-content: center;
    align-items: start;
}

.hasCustomModal--bottom .modalElement {
    width: 100%;
    max-width: 100%;
    max-height: 80vh;
    font-size: 15px;
    background-size: 200px auto;
    background-position: bottom 10px right 15px;
    border-radius: 0;
}


.modalHtml {
    display: flex;
    align-items: center;
    gap: 5%;
}

.modalTitle {
    font-size: 1.6em;
    margin-bottom: .5em;
    text-transform: uppercase;
    position: relative;
}

.modalTitle:after {
    content: close-quote;
    display: block;
    width: 100px;
    height: 2px;
    background-color: currentcolor;
    margin-top: .4em;
}



.modalHtml h3 {
    font-size: 1.5em;
    margin-bottom: .25em;
}

.hasCustomModal--bottom .modalHtml h3 {
    font-size: 1.2em;
    margin-bottom: .25em;
}

.modalHtml ul {
    padding-left: 0;
}

.modalHtml ul li {
    margin-bottom: .4em;
}

.modalHtml .title-wrap {
    margin-bottom: 1em;
}

.modalHtml ul {
    padding-left: 1em;
}

.modalHtml .text-wrap {
    font-size: clamp(19px, 1.714vw, 24px);
    line-height: 1.4;
    letter-spacing: 0.02em;
}

.modalHtml .text-wrap p {
    padding-bottom: .25em;
}

.modalHtml .text-wrap a {
    color: #FFF;
    text-decoration: none;
}

.modalHtml .text-wrap a:hover {
    text-decoration: underline;
}

.modalHtml a.button-element {
    font-size: clamp(18px, 1.571vw, 22px);
    line-height: 1.1;
    text-transform: uppercase;
    padding: 0.8em 1em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: currentcolor;
    border-radius: 50vw;
    border: 5px solid var(--modal-background-color);
    text-decoration: none;
    margin-top: 10px;
    margin-bottom: 10px;
    transition: all .25s linear;
    background: #FFF;
    color: #D90134;
    font-weight: 700;
    position: relative;
}

.modalHtml a.button-element:hover {
    background-color: #D90134;
    color: #FFF;
}

/*
.modalHtml a.button-element::after {
    position: absolute;
    content: no-close-quote;
    height: calc(100% + 12px);
    aspect-ratio: 1/1;
    border: 6px solid white;
    border-radius: 50%;
    border-bottom-color: transparent;
    border-left-color: transparent;
    transform: rotate(45deg);
    right: -12px;
    z-index: -1;
} 
.modalHtml a.button-element:hover::after {
    right: auto;
    left: -12px;
    transform: rotate(-45deg) scaleX(-1);
    border-top-color: #D90134;
    border-right-color: #D90134;
}
*/
.modalHtml a.button-element span {
    top: 50%;
    position: absolute;
    height: calc(100% + 22px);
    aspect-ratio: 1/2; 
    z-index: -2;
    right: 0;
    transform: translate(26%, -50%);
    overflow: hidden; 
}

.modalHtml a.button-element span::after {
    position: absolute;
    content: no-close-quote; 
    height: 100%;
    aspect-ratio: 1/1;
    border: 6px solid #FFF;
    right: 0;
    top: 0;
    border-radius: 50vw;
    box-sizing: border-box; 
}
.modalHtml a.button-element:hover span {
    left: 50%;
    right: auto;
    transform: translate(-50%, -50%);
    width: calc(100% + 22px);
    aspect-ratio: unset;
}
.modalHtml a.button-element:hover span::after {
    width: 100%;
    aspect-ratio: unset;
}
.modalHtml .modalAction {
    min-width: clamp(215px, 23.077vw, 300px);
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.closeModal {
    overflow: hidden;
    position: absolute;
    top: 0;
    right: 0;
    border: none;
    padding: 0;
    width: 2.5em;
    height: 2.5em;
    border-radius: 50%;
    background: transparent;
    color: var(--modal-text-color);
    font: inherit;
    text-indent: 100%;
    cursor: pointer;
}

.hasCustomModal--bottom .closeModal {
    top: 5px;
    right: 10px;
}

.closeModal:focus {
    color: var(--modal-text-color);
    ;
}

.closeModal:hover {
    color: var(--modal-text-color);
    ;
}

.closeModal:before,
.closeModal:after {
    content: close-quote;
    position: absolute;
    top: 15%;
    left: calc(50% - .0625em);
    width: 0.125em;
    height: 70%;
    border-radius: 0.125em;
    transform: rotate(45deg);
    background: currentcolor;
}

.closeModal:after {
    transform: rotate(-45deg);
}

.triggerModalWhenHidden {
    position: absolute;
    width: 40px;
    height: 40px;
    right: 5px;
    top: 0px;
    cursor: pointer;
    background-color: #fff;
    padding: 2px;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    background-color: #D90134; 
    z-index: -1;
    opacity: 0;
    visibility: hidden;
    transition: all .5s linear;
    border: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.triggerModalWhenHidden::after { 
    content: no-close-quote; 
    border: solid var(--modal-text-color);
    border-width: 0 5px 5px 0;
    display: inline-block;
    padding: 5px;
    transform: rotate(45deg); 
    transform-origin: center;
    margin-top: -10px;
}
.triggerModalWhenHidden:hover,
.triggerModalWhenHidden:focus {
    height: 50px;
    background-color: var(--modal-background-color); 
}
.triggerModalWhenHidden:hover::after, 
.triggerModalWhenHidden:focus::after { 
     margin-top: 0;   
} 
.hiddenModal .triggerModalWhenHidden {
    z-index: 9;
    opacity: 1;
    visibility: visible;
}

.hiddenModal .modalOuter {
    z-index: -1;
    opacity: 0;
    visibility: hidden;
}

.hasCustomModal--banner .modalOuter {
    position: relative;
    isolation: isolate;
}

.hasCustomModal--banner .modalOuter svg.corner-shape {
    position: absolute;
    left: 0;
    bottom: -2px;
    height: calc(100% + 2px);
    width: 237px;
    z-index: -1;
}

.hasCustomModal--banner .modalElement {
    border-radius: 0;
    width: 100%;
}

.hasCustomModal--banner.hiddenModal .modalOuter {
    height: 0;
    padding: 0;
    overflow: hidden;
}

@media screen and (max-width: 1350px) {
    .hasCustomModal--banner .modalOuter svg.corner-shape {
        left: -24px;
        width: 150px;
    }

    .modalOuter {
        padding-right: 10px;
        padding-bottom: 15px;
    }

    .modalElement {
        padding-left: 90px;
        padding-right: 0;
    }
}
@media screen and (max-width: 960px) {
    .triggerModalWhenHidden {
        width: 30px;
        height: 30px;
    }
    .triggerModalWhenHidden:hover, .triggerModalWhenHidden:focus {
        height: 40px;
    }
    .hiddenModal #view-header #h1 .header-container {
        padding-top: 20px;
    }
}
@media screen and (max-width: 700px) {
    .hasCustomModal--banner .modalOuter svg.corner-shape {
        width: 50px;
        left: -10px;
    }

    .modalElement {
        padding-left: 10px;
    }

    .modalHtml {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

/* END Custom Modal */
