@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');

#app,
.pb-main,
body,
html,
button {
    font-family: "helvetica-neue-lt-pro", sans-serif !important;
    --font-family: "helvetica-neue-lt-pro", sans-serif !important;
}

.hillsborough-county-public-schools {
    --third-district-color: #7B3F77;
    --navy-blue: #102348;
}


/* general rules */
#home>.main:has(.select-language),
#home #cms-gallery {
    position: relative;
    z-index: 2;
}

#home .see-all-container.see-all-top {

    .light-header-accent,
    .header-slot-container::after {
        display: none;
    }

    .header-slot-container {
        text-align: center;
        margin-inline: auto;

        h2 {
            line-height: 1.2;
            font-weight: 700;
            text-transform: capitalize;
            text-align: center;
            font-size: 32px;

            @media only screen and (min-width: 1400px) {
                font-size: 48px;
            }
        }
    }
}


@media only screen and (min-width: 1400px) {
    #app .custom-section {
        padding: 50px 40px;
    }
}

#home .custom-section .see-all-container.see-all-bottom {
    display: flex;

    @media only screen and (min-width: 1400px) {
        margin-top: 35px;
    }

    .see-all-button,
    .see-all-button-custom a {
        border-radius: 8px;
        padding: 12px 24px;
        box-sizing: border-box;
        font-size: 16px;
        border: 1px solid var(--buttonBorderColor, var(--primary-color));
        transition: all .35s ease-in-out;

        @media only screen and (min-width: 1400px) {
            font-size: 18px;
        }

        &:hover,
        &:focus {
            background-color: var(--buttonHoverBgColor, var(--primary-color-contrast));
            color: var(--buttonHoverTextColor, var(--primary-color));
            border-color: var(--buttonBorderColor, var(--primary-color));
        }
    }
}

.custom-section .custom-swiper-navigation {
    width: fit-content;
    margin-inline: auto;
    margin-top: 15px;
    color: var(--slider-arrow-color, var(--primary-color));

    &>* {
        margin: 0;
    }

    .custom-swiper-pagination {
        max-width: calc(100% - 90px);
        color: var(--pagination-color, #DEE5F4);

        .swiper-pagination-bullet {
            opacity: 1;
            transition: all .35s ease-in-out;
            width: 40px;

            &.swiper-pagination-bullet-active,
            &:hover,
            &:focus {
                color: var(--pagination-active-color, var(--primary-color));
            }

            &:hover:not(.swiper-pagination-bullet-active),
            &:focus:not(.swiper-pagination-bullet-active) {
                opacity: 0.6;
            }
        }
    }
}

.custom-section {
    box-sizing: border-box;

    &:has(.custom-swiper-prev.swiper-button-disabled):has(.custom-swiper-next.swiper-button-disabled) .swiper-wrapper {
        justify-content: center;
    }

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

    .only-in-cms {
        display: none;
    }
}

.custom-section:not(:has(.swiper-initialized)) {
    .custom-swiper-navigation {
        display: none;
    }
}

@media only screen and (max-width: 600px) {
    .custom-section .custom-swiper-navigation {

        &,
        .custom-swiper-pagination {
            width: 100%;
        }
    }

    .custom-section .custom-swiper-navigation .custom-swiper-pagination {
        margin-top: 20px;
    }

    .custom-swiper-navigation:not(:has(.custom-swiper-prev.swiper-button-disabled):has(.custom-swiper-next.swiper-button-disabled)) {
        position: relative;

        &+.see-all-container {
            justify-content: flex-end;
            padding-left: 80px;
        }

        .custom-swiper-prev,
        .custom-swiper-next {
            position: absolute;
            top: calc(100% + 25px);
        }

        .custom-swiper-prev {
            left: 0;
        }

        .custom-swiper-next {
            left: 40px;
        }
    }

}

/* general rules */


/* --------------------------------------------------- */
/* ------------- CUSTOM HEADER START --------------- */
/* --------------------------------------------------- */
.top-menu-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px 20px;
    background-color: var(--primary-color);
    color: var(--primary-color-contrast);
    padding: 10px;
    box-sizing: border-box;

    @media only screen and (min-width: 1520px) {
        gap: 5px 35px;
    }

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

    .menu-button {
        color: currentColor;
        text-decoration: none;
        display: flex;
        align-items: center;
        gap: 5px;

        .menu-button__icon svg {
            width: 20px;
            height: 20px;
            display: block;
            fill: currentColor;

            * {
                fill: currentColor;
            }
        }

        .menu-button__title {
            font-size: 16px;
            line-height: 1.2;
            font-weight: 700;
            position: relative;
            isolation: isolate;

            &::after {
                position: absolute;
                bottom: -2px;
                left: 0;
                content: '';
                width: 0%;
                height: 2px;
                transition: all .35s ease-in-out;
                background-color: currentColor;
            }

            @media only screen and (min-width: 1520px) {
                font-size: 18px;
            }
        }


        &:hover .menu-button__title::after {
            width: 100%;
        }
    }


}

#app:has(#home) #h2 .right-menu-items {

    #languagebutton,
    div:has(#languagebutton) {
        display: none;
    }
}

@keyframes fadeInZoom {
    0% {
        transform: scale(1.4);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

#view-header {
    .header-bar-wrapper:not(.sticky) #h2 {
        box-shadow: none;
    }

    #h2 .header-container::before {
        display: none;
    }

    .logo {
        animation-duration: 0.8s;
        animation-fill-mode: both;
        animation-name: fadeInZoom;
        animation-timing-function: ease-out;
    }

    .logo img {
        object-fit: contain;
        transition: all .35s ease-in-out;
    }

    a:has(.logo) {

        &:hover,
        &:focus {
            img {
                transform: scale(1.08) !important;
            }
        }
    }


    button.menu-item .button-action-content .menu-field,
    .utilities .utilities {
        font-weight: 700;
        font-size: 16px;
        padding-left: 0;
        text-transform: capitalize;
    }

    #m2 .menu-container .content .generated-links .col ul li {
        font-size: 16px;
        line-height: 1.2;
    }

    #m2 .generated-links h2 .menu-element:not(.has-child) a,
    #m2 .menu-container .content .generated-links .col ul li a {
        position: relative;
        isolation: isolate;
        padding-bottom: 4px;
        margin-bottom: 5px;
        display: inline-block;

        &::after {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0%;
            height: 2px;
            content: '';
            background-color: currentColor;
            transition: all .35s ease-in-out;
            content: '';
        }

        &:hover::after {
            width: 100%;
        }
    }

    #m2 .menu-container .content .generated-links .col ul li.has-child .icon-box {
        display: none;
    }

    #m2 .static-links .menu-item-icon svg {
        transition: all .35s ease-in-out;
    }

    #m2 .static-links a:hover svg {
        transform: scale(1.3);
    }

    #m2 .menu-container .content .static-links ul {
        display: flex;
        gap: 0 10px;
        justify-content: center;


        li {
            font-size: 17px;
            width: 140px;
        }
    }

    #m2 .menu-container .content .generated-links .col li.has-child ul {
        display: block;
        opacity: 1;
        position: relative;
        transform: scale(1);
        transition: transform .4s, opacity .4s;
        visibility: visible;
    }

    #h2 .utilities.utilities-top {
        padding-inline: 10px;
        justify-content: center;
        padding-bottom: 10px;
        padding-top: 15px;
        box-sizing: border-box;

        .utility-bar-items {
            gap: 5px 20px;
            padding-bottom: 0;
        }

        .utilities {
            margin: 0;
            font-size: 15px;
        }
    }

    .languages,
    .menu,
    .schools {
        margin-right: 0;
    }

    #cms-header:has(#customSchoolsDropdown) .mobile-header.menu-open .left-icon {
        top: 70px;
    }

    .mobile-header .main-content {
        height: auto;
    }

    a.utilities {
        position: relative;
        isolation: isolate;

        &::after {
            position: absolute;
            bottom: -2px;
            left: 0;
            content: '';
            width: 0%;
            height: 2px;
            transition: all .35s ease-in-out;
            background-color: currentColor;
        }

        &:hover::after {
            width: 100%;
        }
    }

    @media only screen and (min-width: 1024px) {
        .right-menu-items>div:has(#languagebutton) {
            order: -1;
        }

        .languages,
        .menu,
        .schools {
            margin-right: 18px;
        }

        #h2 .utilities.utilities-top {
            display: none;
        }

        #h2 .utilities.utilities-right {
            position: static;
            display: flex;
            height: auto;

            .utility-bar {
                flex-wrap: nowrap;
                white-space: nowrap;
                gap: 18px;
                padding: 0;
            }

            .utilities {
                margin-top: 0;
            }

            .sloped-edge {
                display: none;
            }
        }

        #h2 .header-container {
            height: auto;
            padding-block: 10px;
        }

        #h2 .left {
            min-width: inherit;
        }

        #h2 .right {
            flex-direction: column;
            position: relative;
            padding-right: 24px;
            gap: 18px;
            align-items: flex-end;
        }

        #h2 .right-menu-items {
            flex-direction: row-reverse;
            padding: 0;
            padding-right: 26px;
        }

        #h2 #searchbutton {
            position: absolute;
            right: 24px;
            bottom: 0;
            height: auto;
            margin: 0;
        }

    }

    @media only screen and (min-width: 1200px) {
        #h2 .right {
            flex-direction: row;
            padding-right: 50px;
            align-items: center;
        }

        #h2 .right-menu-items {
            padding-right: 0;
        }

        #h2 #searchbutton {
            bottom: auto;
            top: 50%;
            transform: translateY(-50%);
        }
    }

    @media only screen and (min-width: 1400px) {

        button.menu-item .button-action-content .menu-field,
        .utilities .utilities {
            font-size: 18px;
        }
    }

    @media only screen and (min-width: 1600px) {
        #h2 .right {
            padding-right: 64px;
        }

        #h2 #searchbutton {
            right: 40px;
        }
    }
}

@media only screen and (max-width: 1200px) {
    #view-header .active-accordion .tabcontent__title {
        color: var(--secondary-color-contrast);
    }
}

/* START Menu in 3 columns */

@media screen and (min-width: 1280px) {
    #view-header {
        #m2 {
            .menu-container {
                .content {
                    .generated-links {
                        display: grid;
                        grid-template-columns: repeat(auto-fit, minmax(33%, 1fr));
                        box-sizing: border-box;
                        padding-bottom: 40px;

                        .col {
                            width: 100%;
                            border-right: none;
                            margin-top: 60px;
                            box-sizing: border-box;
                            padding: 0 30px;
                            box-sizing: border-box;

                            &:nth-child(3n + 1),
                            &:nth-child(3n + 2) {
                                border-right: 1px solid currentColor;
                            }
                        }
                    }
                }
            }
        }
    }
}

/* END Menu in 3 columns */

/* language in internal pages */
#view-header #languagesmenu {
    /* top: 100%; */
    background-color: #FFF;
    color: #000;
    min-width: 200px;

    .title,
    .footer {
        display: none;
    }

    .header {
        border: 0;
    }

    .search-input {
        border: 0;
        text-transform: capitalize;
        outline-color: var(--primary-color);
    }

    .languages-list {
        margin-top: 0;
        --column-count: 2;

        @media only screen and (max-width: 350px) {
            --column-count: 1;
            column-count: var(--column-count);
        }

        .language-text,
        .language {
            color: currentColor;
        }

        svg path {
            stroke: currentColor
        }
    }
}

@media only screen and (min-width: 1024px) {
    #app:not(:has(#home)) {
        #view-header #languagesmenu {
            top: 100%;
        }

        #view-header #h2 .right {
            padding-bottom: 46px;
            align-items: center;

            .utilities-right {
                min-height: inherit;
            }

            #searchbutton {
                transform: none;
                top: 2px;
            }
        }

        #view-header #languagebutton {
            position: absolute;
            right: 0;
            bottom: 0;
            background-color: var(--third-district-color, var(--primary-color));
            color: #FFF;
            border-radius: 8px;
            border-top-right-radius: 0;
            border-bottom-right-radius: 0;
            box-sizing: border-box;
            padding: 5px 10px;
            padding-right: 24px;
            display: flex;
            align-items: center;
            justify-content: flex-end;
            gap: 10px;
            margin-right: 0;

            @media only screen and (min-width: 1600px) {
                padding-right: 40px;
            }

            &::before {
                content: var(--language-label-text, "Select your language");
                display: block;
            }

            .label,
            &::before {
                font-size: 14px;
                line-height: 1.2;
                color: currentColor;
                font-weight: 700;
                text-transform: capitalize;

                @media only screen and (min-width: 1400px) {
                    font-size: 16px;
                }
            }

            .button-action-content {
                border: 1.4px solid #E1E1E1;
                background: #FFF;
                color: #000;
                padding: 2px 4px 0 8px;
                border-radius: 8px;
                position: relative;
                text-align: left;
                box-sizing: border-box;

                svg,
                path {
                    fill: currentColor;
                }
            }

            .menu-field {
                color: #000 !important;
                font-weight: 400;
                font-size: 14px;
                line-height: 1.1;
            }
        }



    }
}

@media only screen and (min-width: 1024px) and (max-width: 1199px) {
    #app:not(#home) {
        #view-header #h2 .right {
            gap: 10px;
            align-items: flex-end;
            padding-bottom: 0;

            #searchbutton {
                position: relative;
                inset: 0;
                margin-left: 14px;
            }

            .right-menu-items {
                padding-right: 0;
                transform: translateX(24px);
            }

            #languagebutton {
                position: relative;
                inset: 0;

            }
        }

    }
}

/* custom header and menu on mobile */
@media only screen and (max-width: 979px) {
    #view-header .mobile-header {
        padding: 20px;
        justify-content: flex-start;
        box-sizing: border-box;
        height: auto;
    }

    .mobile-header .main-content .logo {
        margin-inline: 0;
    }

    #view-header .mobile-header .left-icon {
        left: auto;
        right: 20px;
    }

    #view-header .mobile-header .left-icon #menubutton {
        margin-right: 0;
        width: 54px;
        height: 54px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all .4s ease-in-out;
    }

    .mobile-header .main-content {
        max-width: calc(100% - 55px);
    }

    #view-header .mobile-header .hamburger {
        margin: 0;
        display: block;
        fill: var(--primary-color-contrast);
        width: 24px;
        height: 13px;
        transition: all .4s ease-in-out;
    }

    #view-header .school-info {
        padding-bottom: 0;
    }

    #view-header .school-info .org-name {
        padding-bottom: 0;
    }

    .mobile-menu-wrapper {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .mobile-menu-wrapper>div {
        width: 100%;
        box-sizing: border-box;
    }

    #view-header .mobile-header.shrink {
        padding-block: 5px;
    }

    #view-header .mobile-header.shrink .left-icon #menubutton {
        width: 40px;
        height: 40px;
    }

    .search-translate-buttons .sr-only {
        color: var(--mobile-menu-text-color);
        clip: auto;
        clip-path: unset;
        height: auto;
        width: auto;
        margin: 0;
        position: relative;
        font-size: 16px;
        font-weight: 400;
        line-height: 24px;
        letter-spacing: .5px;
        text-transform: none;
        font-family: var(--font-family, Helvetica);
    }

    #view-header .mobile-header.shrink .menu-mobile {
        top: 65px;
    }

    /* explore dropdown */
    .m4--drawer-element.mobile-element:has(#explore-header) {
        order: 2;
        padding-top: 45px;
    }

    .m4--drawer-element.mobile-element #explore-header {
        text-transform: uppercase;
    }

    .m4--drawer-element.mobile-element #explore-header .m4--drawer-element-title-icon {
        display: none;
    }

    .m4--drawer-element.mobile-element #explore-header-collapsible {
        display: grid !important;
        width: 100%;
        grid-template-columns: 1fr 1fr;
        column-gap: 10px;
    }

    #explore-header-collapsible .m4--drawer-element {
        border-top: solid 1px rgba(255, 255, 255, .2);
        min-width: unset;
    }

    #explore-header-collapsible .m4--drawer-element:nth-child(1),
    #explore-header-collapsible .m4--drawer-element:nth-child(2) {
        border-top: 0;
    }

    .mobile-element .m4--menu-item-focusable .item-icon {
        min-width: 32px;
    }

    /* end explore dropdown */

    .m4--drawer-element.mobile-element:has(#schools-header) {
        border-top: 0;
    }

    .dropdown-wrapper.language-dropdown {
        z-index: 5;
    }

    /* end first two dropdowns */
    #cms-header:has(#customSchoolsDropdown) .mobile-header .left-icon {
        right: 20px;
        left: auto;
        bottom: auto;
        top: 50%;
        transform: translateY(-50%);
        /* margin-top: 6px; */
    }

    #view-header .dynamicLink {
        margin-left: auto;
    }

    #view-header .mobile-header {
        align-items: center;
    }

    #view-header .mobile-header.menu-open {

        & #schoolsbutton,
        & .dynamicLink {
            display: none !important;
        }

        .left-icon {
            right: 20px !important;
        }
    }

    #cms-header:has(#customSchoolsDropdown) .mobile-header #schoolsbutton {
        bottom: auto;
        top: 50%;
        transform: translateY(-50%);
        right: 80px;


        & .button-action-content {
            display: flex;
            align-items: center;
            gap: 3px;
        }

        & svg rect {
            opacity: 0;
        }

        & svg path {
            stroke: var(--nav-color) !important;
        }
    }

    #cms-header:has(#customSchoolsDropdown) .mobile-header {
        padding-bottom: 20px;
    }

    #view-header .mobile-header.shrink {
        padding-block: 10px !important;
    }

    #view-header .mobile-header.shrink .left-icon #menubutton {
        width: 54px;
        height: 54px;
    }

    #view-header #cms-header .mobile-header {
        justify-content: center;
        box-sizing: border-box;
        align-items: flex-start;
        gap: 10px 35px;

        &.menu-open {
            max-height: calc(100dvh + 48px) !important;

            .mobile-element:has(#schools-header) {
                display: none;
            }

            .menu-mobile {
                overflow-x: hidden;
                width: auto !important;
                order: 3;
            }

            .left-icon {
                margin-left: auto;
            }
        }

        .left-icon {
            position: static;
            transform: none;
            margin: 0;

            #closebutton {
                svg path {
                    fill: var(--nav-color);
                }
            }

            #menubutton {
                width: auto;
                height: auto;
                border-radius: 0;

                .button-action-content {
                    align-items: center;
                }

                svg.hamburger {
                    width: 30px;
                    height: 30px;
                }
            }
        }

        .main-content {
            min-width: 100%;
            box-sizing: border-box;
            order: -1;
            height: auto;
        }

        #schoolsbutton {
            position: static;
            transform: none;
        }

        &:not(.menu-open):not(.shrink) {
            .logo {
                height: 60px;
                max-width: 100%;
                box-sizing: border-box;

                img {
                    max-width: 100%;
                }
            }
        }
    }

    #cms-header .right-mobile,
    #cms-header .header-container .right {
        display: none !important;
    }

    #cms-header:has(#customSchoolsDropdown) .mobile-header:not(.menu-open) {
        padding-bottom: 20px;
    }

    #view-header #cms-header .mobile-header {
        &.menu-open {
            .mobile-element:has(#schools-header) {
                display: none;
            }

            .mobile-element .bar-nav-element .item-icon svg path {
                fill: var(--icon-fill-color);
            }
        }

    }

    #cms-header:has(#customSchoolsDropdown) .mobile-header #schoolsbutton .button-action-content {
        display: flex;
        align-items: center;
    }

    #cms-header:has(#customSchoolsDropdown) .mobile-header #schoolsbutton svg rect {
        display: none;
    }
}

@media only screen and (max-width: 500px) {
    #view-header #cms-header .mobile-header:has(.dynamicLink) {
        gap: 10px;
        align-items: center;

        .left-icon #menubutton svg.hamburger {
            width: 18px;
            height: 18px;
        }

        .menu .button-action-content,
        #schoolsbutton .menu-field::after {
            font-size: 15px;
        }

        .dynamicLink {
            order: 2;
            padding: 4px;
            font-size: 15px;
        }
    }
}

/* END fix header issues on mobile */
/* --------------------------------------------------- */
/* ------------- CUSTOM HEADER END --------------- */
/* --------------------------------------------------- */

/* --------------------------------------------------- */
/* ------------- CUSTOM GALLERY START --------------- */
/* --------------------------------------------------- */

#cms-gallery {
    padding: 10px;
    box-sizing: border-box;
    overflow: visible !important;

    &:has(.languages-list.show) {
        position: relative;
        z-index: 2;
    }

    #g2 {

        .slide {
            background: transparent !important;
        }

        .image-wrapper {
            border-radius: 30px;
            overflow: hidden;
            box-sizing: border-box;
        }
    }

    .text {
        border-radius: 30px;
        isolation: isolate;
        overflow: visible;
        margin-top: 10px;
        position: relative;
        margin-bottom: 60px;

        &::after {
            background: linear-gradient(0deg, rgba(0, 0, 0, 1) 0%, rgba(255, 255, 255, 0) 100%);
            mask-image: url(images/gallery-shapes-bg.png);
            mask-repeat: repeat-x;
            mask-position: center center;
            mask-size: 160px 100%;
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 170px;
            content: '';
            z-index: -1;
            opacity: 0.15;
        }

        .title h1 {
            font-size: clamp(2rem, -0.411rem + 4.286vw, 3.875rem);
            line-height: 1.1;
            font-weight: 700;
            text-transform: capitalize;
        }

        .description {
            font-size: clamp(1.063rem, -0.188rem + 1.563vw, 1.375rem);
            line-height: 1.2;

            p:last-child a:last-child {
                background-color: var(--gallery-button-bg, var(--secondary-color));
                color: var(--gallery-button-link-color, var(--secondary-color-contrast));
                border: 1px solid var(--gallery-button-border-color, var(--secondary-color));
                padding: 12px 24px;
                border-radius: 8px;
                text-decoration: none;
                font-size: 16px;
                margin-bottom: 8px;
                display: inline-block;
                transition: all .35s ease-in-out;

                @media only screen and (min-width: 1400px) {
                    font-size: 18px;
                }

                &:hover {
                    background-color: var(--gallery-button-bg, var(--primary-color-contrast));
                    color: var(--gallery-button-link-color, var(--primary-color));
                    border: 1px solid var(--gallery-button-border-color, var(--primary-color));
                }
            }
        }
    }
}

@media only screen and (min-width: 960px) {
    #cms-gallery {
        padding: 10px 40px;

        .text {
            position: absolute;
            bottom: auto;
            top: 20px;
            left: 20px;
            right: auto;
            transform: none;
            width: 420px;
            max-width: 45%;
            margin-top: 0;
        }

        .pause.button-action,
        .play.button-action {
            right: 40px;
            bottom: 40px;
            left: auto;
        }

    }
}

/* START - join us button */
.circle-wrapper {
    --circle-size: 130px;
    --inner-circle-padding: 40px;
    width: var(--circle-size);
    height: var(--circle-size);
    position: fixed;
    z-index: 2;
    bottom: 20px;
    right: 140px;
    transition: all 0.25s linear;

    @media only screen and (max-width: 1280px) {
        --circle-size: 100px;
    }

    @media only screen and (max-width: 600px) {
        right: 10px;
        --circle-size: 80px;
    }
}

#app:has(.header-bar-wrapper.sticky) .circle-wrapper:not(:hover) {
    --circle-size: 80px;

    @media only screen and (max-width: 600px) {
        --circle-size: 60px;
    }
}

#app:has(.header-bar-wrapper.sticky) .circle-wrapper {
    right: 10px;
    bottom: 40px;

    @media only screen and (max-width: 600px) {
        right: 5px;
        bottom: 5px;
    }
}

.circle-wrapper .outer-circle {
    width: 100%;
    height: 100%;

    position: absolute;
    top: 0;
    left: 0;

}

.circle-wrapper .outer-circle svg {
    width: 100%;
    height: 100%;
    display: block;
    transition: all .35s ease-in-out;

    &>g,
    &>circle {
        transition: all 0.25s linear;
        animation: rotateText 30s linear infinite;
        transform-origin: center;
    }
}

.circle-wrapper .inner-circle {
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

#app:not(:has(.header-bar-wrapper.sticky)) .circle-wrapper:hover .outer-circle svg {
    transform: scale(1.2);
}

.circle-wrapper:hover .outer-circle svg {

    &>g,
    &>circle {
        animation-play-state: paused;
    }

}

a.circle-wrapper[href="javascript:void(0)"] {
    cursor: default;
    pointer-events: none;
}

@keyframes rotateText {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* END join us button */

/* START custom translation dropdown */
.select-language {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    z-index: 2;
    margin-top: 20px;
    background-color: var(--third-district-color);
    color: #FFF;
    padding: 8px 12px;
    border-radius: 8px;
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: center;

    box-sizing: border-box;

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

.select-language .label {
    font-size: 16px;
    line-height: 1.2;
    color: currentColor;
    font-weight: 700;
    text-transform: capitalize;

    @media only screen and (min-width: 900px) {
        font-size: 18px;
    }
}

.select-language .languages {
    position: relative;
}

.select-language .language-button {
    border: 1.4px solid #E1E1E1;
    background: #FFF;
    color: #000;
    padding: 4px 8px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    font-weight: 400;
    position: relative;
    text-align: left;
    font-size: 14px;
    gap: 15px;
}

.select-language .language-button:after {
    content: '';
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #000;
}

.select-language .language-button:hover,
.select-language .language-button:focus {
    background-color: var(--secondary-color);
    color: var(--secondary-color-contrast);
    outline: none;
}

.select-language .language-button:focus-visible {
    outline: 2px solid white;
    outline-offset: 2px;
}

.select-language .languages-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    margin-top: 5px;
    display: none;
    z-index: 1001;
    width: 200px;

    @media only screen and (max-width: 600px) {
        left: auto;
        right: 0;
    }
}

.select-language .languages-list.show {
    display: block;
}

.select-language .language-search-container {
    padding: 8px;
    border-bottom: 1px solid #eee;
}

.select-language .language-search {
    width: 100%;
    padding: 6px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    color: #000;
}

.select-language .language-search:focus {
    outline: 2px solid var(--primary-color, #0062AB);
    border-color: var(--primary-color, #0062AB);
}

.select-language .language-options {
    max-height: 200px;
    overflow-y: auto;
}

.select-language .language-item {
    padding: 8px 16px;
    cursor: pointer;
    color: #000;
    transition: background-color 0.2s;
}

.select-language .language-item:hover,
.select-language .language-item:focus {
    background-color: #eee;
    outline: none;
}

.select-language .language-item:focus-visible {
    outline: 2px solid var(--primary-color, #0062AB);
    outline-offset: -2px;
}

.select-language .language-item.active {
    background-color: var(--secondary-color);
    color: var(--secondary-color-contrast);
}

.select-language .no-results {
    padding: 8px 16px;
    color: #666;
    font-style: italic;
}

@media (max-width: 768px) {
    .select-language {
        margin-left: 0;
        margin-top: 10px;
    }
}

.select-language .languages-list {
    transition: opacity 0.3s ease-in-out;
    opacity: 0;
    display: none;
}

.select-language .languages-list.show {
    opacity: 1;
    display: block;
}

/* END custom translation dropdown */
/* --------------------------------------------------- */
/* ------------- CUSTOM GALLERY END --------------- */
/* --------------------------------------------------- */

/* change search current site only text */
#app #search .search-current-org-section label > span {
    font-size: 0;
    display: inline-flex;
    align-items: center;

    &::after {
        content: 'Search District site only';
        font-size: 14px;
    }
}
/* end */
/* ------------------------------------------------- */
/* ------------- CUSTOM LIVE FEED START------------- */
/* ------------------------------------------------- */
#section-live-feed {
    --buttonBgColor: var(--primary-color-contrast);
    --buttonTextColor: var(--primary-color);
    --buttonHoverBgColor: var(--primary-color);
    --buttonHoverTextColor: var(--primary-color-contrast);
}

#section-live-feed .header-slot-container h2 {
    color: var(--section-title-color, var(--primary-color));
}

#liveFeedsList:not(.swiper-initialized) {
    .swiper-wrapper {
        gap: 20px;
        /* flex-wrap: wrap; */
        /* justify-content: center; */
        overflow: auto;
        padding-bottom: 10px;
    }
}

#liveFeedsList.swiper {
    overflow: visible;
}

#section-live-feed .swiper-slide {
    overflow: hidden;
    width: 321px;
    height: auto;
    padding-bottom: 20px;
}

#section-live-feed .swiper-slide .lf-item__image {
    position: relative;
    height: 0;
    padding-top: 63%;
    width: 100%;
    border-radius: 30px;
    overflow: hidden;
}

#section-live-feed .swiper-slide .lf-item__image img {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: center;
    object-position: top center;
    transition: all .35s ease-in-out;

    &:hover {
        transform: scale(1.1);
    }
    &:first-child {
        z-index: 1;
    }
}

.lf-item__header {
    margin-top: 25px;
    color: var(--third-district-color, var(--primary-color));

    @media only screen and (min-width: 1400px) {
        margin-top: 35px;
    }
}

#section-live-feed .swiper-slide .lf-item__author {
    font-size: 18px;
    line-height: 1.3;
    font-weight: 500;
}

#section-live-feed .swiper-slide .lf-item__timeAgo {
    font-size: 16px;
    line-height: 1.4;
    font-weight: 600;
    font-family: "Raleway", sans-serif;
    font-style: italic;
}

#section-live-feed .lf-item__text {
    margin-top: 0.5rem;
    margin-bottom: 1rem;
    font-size: 16px;
    line-height: 1.5;
    color: var(--item-text-color, #000);
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
}

.lf-item__wrap {
    display: flex;
    flex-direction: column;
}

.lf-item__avatar {
    width: 30px;
    height: 30px;
    display: none;

    img {
        border-radius: 50%;
    }
}

.lf-item__read-more {
    font-size: 18px;
    line-height: 1.3;
    color: var(--read-more-color, #000) !important;
    line-height: 1.3;
    padding-bottom: 5px;
    position: relative;
    text-decoration: none !important;
    font-weight: 700;
    margin-top: 30px;
    letter-spacing: 0.025em;

    &:after {
        position: absolute;
        content: '';
        left: 0;
        bottom: 0;
        width: 100%;
        height: 2px;
        background-color: var(--read-more-line-color, var(--primary-color));
        transition: all .35s ease-in-out;
    }

    &:hover,
    &:focus {
        &::after {
            height: 4px;
        }
    }
}

/* ------------------------------------------------- */
/* ------------- CUSTOM LIVE FEED END------------- */
/* ------------------------------------------------- */

/* ------------------------------------------------- */
/* ------------- CUSTOM EVENTS START   ------------- */
/* ------------------------------------------------- */
#section-events {
    --buttonBgColor: var(--primary-color-contrast);
    --buttonTextColor: var(--primary-color);
    --buttonHoverBgColor: var(--primary-color);
    --buttonHoverTextColor: var(--primary-color-contrast);
    --buttonBorderColor: var(--primary-color-contrast);
    --slider-arrow-color: #FFF;
    --pagination-active-color: var(--secondary-color);
    --events-bg-image: url('https://cmsv2-shared-assets.apptegy.net/Schools/Hillsborough-County-Public-Schools-5557/images/events-image.jpg');
    background-color: var(--section-bg-color, var(--primary-color));
    position: relative;
    isolation: isolate;

    &::after {
        position: absolute;
        inset: 0;
        z-index: -1;
        content: '';
        background-image: var(--events-bg-image);
        background-size: cover;
        background-repeat: no-repeat;
        opacity: 0.2;
        mix-blend-mode: overlay;
    }

    #eventsList:not(.swiper-initialized) {
        .swiper-wrapper {
            gap: 20px;
            /* flex-wrap: wrap; */
            /* justify-content: center; */
            overflow: auto;
            padding-bottom: 10px;
        }
    }

    .header-slot-container h2 {
        color: var(--section-title-color, var(--primary-color-contrast));
    }

    #eventsList.swiper {
        overflow: visible;
    }

    .swiper-slide {
        overflow: hidden;
        width: 256px;
        height: auto;
        padding: 16px 12px;
        background-color: var(--event-bg-color, #FFF);
        border-radius: 8px;
        display: flex;
        flex-direction: column;
        gap: 16px;
        text-align: center;
        align-items: center;
        transition: all .35s ease-in-out;

        &:hover {
            transform: scale(1.07);
        }
    }

    .event-item__date {
        color: var(--event-date-color, var(--third-district-color, var(--primary-color)));
        font-size: 18px;
        line-height: 1.2;
        font-weight: 700;

        @media only screen and (min-width: 1400px) {
            font-size: 20px;
        }

        .date {
            display: flex;
            gap: 4px 6px;
            flex-wrap: wrap;
            justify-content: center;

            .start-weekday {
                display: none;
            }
        }
    }

    .event-item__title {
        color: var(--event-title-color, #000);
        font-size: 18px;
        line-height: 1.2;
        font-weight: 700;
        margin-bottom: 15px;

        @media only screen and (min-width: 1440px) {
            font-size: 22px;
        }

        a {
            color: currentColor;
            text-decoration: none;
            transition: all .35s ease-in-out;

            &:hover,
            &:focus {
                color: var(--event-title-hover-color, var(--primary-color));
            }
        }
    }

    .event-item__time {
        font-size: 16px;
        line-height: 1.2;
        font-weight: 400;
        color: var(--event-time-color, #000);
        margin-bottom: 7px;
    }
     .event-details {
        flex: 1;
        display: flex;
        flex-direction: column;
    }
    .event-item__calendar-type {
        margin-top: auto;
        display: inline-flex;
        margin-inline: auto;
        padding: 4px 14px;
        font-size: 16px;
        line-height: 1.3;
        text-align: center;
        background: #f2f2f2;
        border-radius: 50vw;
    }

}

/* ------------------------------------------------- */
/* ------------- CUSTOM EVENTS END     ------------- */
/* ------------------------------------------------- */

/* --------------------------------------------------- */
/* ------------- CUSTOM VIDEO V3 START --------------- */
/* --------------------------------------------------- */
#view-video:has(.video-wrapper) {
    position: relative;
    box-sizing: border-box;
    isolation: isolate;
    width: 100%;
    overflow: hidden;
}

#view-video:has(.video-wrapper)::before {
    content: close-quote;
    display: block;
    position: absolute;
    width: calc(100% + 25px);
    height: 40%;
    top: 50px;
    left: 50%;
    transform: translateX(-50%);
    z-index: -1;
    background: url('https://cmsv2-shared-assets.apptegy.net/Schools/Hillsborough-County-Public-Schools-5557/images/video-bg-section.svg') no-repeat top center;
    background-size: 100% 100%;

    @media only screen and (max-width: 600px) {
        height: 50vw;
        top: 100px;
    }
}

#view-video:has(.video-wrapper)::after {
    position: absolute;
    background-color: #FFF;
    width: 100%;
    height: 150px;
    z-index: -2;
    content: '';
    top: 0;
    left: 0;
    display: block;
}

#view-video:has(.video-wrapper) .see-all-container {
    justify-content: center;
    text-align: center;

    h2 {
        background-color: #FFF;
        color: var(--primary-color);
    }
}

@media only screen and (min-width: 1400px) {
    #view-video:has(.video-wrapper) #video-component {
        padding: 50px 40px;
    }
}

#view-video #video-component .mirrors {
    opacity: 1;
    align-items: flex-end;

    .title {
        display: none;
    }

    .thumbnail img {
        border-radius: 12px;
    }

    &>.prev {
        -webkit-mask-image: linear-gradient(90deg, transparent 20%, #fff 40%);
        mask-image: linear-gradient(90deg, transparent 20%, #fff 40%);
    }

    &>.next {
        -webkit-mask-image: linear-gradient(270deg, transparent 20%, #fff 40%);
        mask-image: linear-gradient(270deg, transparent 20%, #fff 40%);
    }
}

#view-video #video-component .video-wrapper .video {
    border-radius: 12px;
}

@media only screen and (min-width: 1280px) {
    #view-video #video-component .video-wrapper {
        max-width: 816px;
    }

    #view-video #video-component .mirrors>* {
        width: 710px;

        .thumbnail {
            height: 400px;
        }

        &.prev {
            margin-left: -730px;
        }

        &.next {
            margin-right: -730px;
        }
    }
}

@media only screen and (min-width: 1600px) {
    #view-video #video-component .video-wrapper {
        max-width: 940px;
    }

    #view-video #video-component .mirrors>* {
        width: 710px;

        .thumbnail {
            height: 400px;
        }

        &.prev {
            margin-left: -730px;
        }

        &.next {
            margin-right: -730px;
        }
    }
}

#view-video #video-component .video-info {
    text-align: center;

    .title {
        font-weight: 700;
    }
}

#view-video #video-component .buttons {
    position: absolute;
    bottom: 33px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(var(--dots-width, 180px) + 80px);
    max-width: 100%;
    justify-content: space-between;

    @media only screen and (min-width: 1400px) {
        bottom: 41px;
    }

    button {
        margin: 0;

        .icon {
            width: 35px;
            height: 35px;
        }
    }
}

#view-video #video-component .dots {
    justify-content: center;
    margin-top: 30px;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
    width: fit-content;
    margin-inline: auto;
    max-width: calc(100% - 70px);

    .dot {
        position: relative;
        width: 40px;
        transition: all .35s ease-in-out;

        &::after {
            position: absolute;
            width: 100%;
            height: 10px;
            top: 0;
            left: 0;
            content: '';
        }

        &:hover:not(.active) {
            opacity: 0.6;
            background-color: var(--pager-color);
        }
    }

    .dot:not(.active) {
        opacity: 1;
        background-color: var(--video-title-color);
    }
}

/* ------------------------------------------------- */
/* ------------- CUSTOM VIDEO V3 END --------------- */
/* ------------------------------------------------- */

/* ------------------------------------------------- */
/* ------------- CUSTOM FLIP CARDS START----------- */
/* ------------------------------------------------- */

#section-flip-cards.flip-cards-section {
    display: flex;
    flex-direction: column;
    margin-inline: auto;
    box-sizing: border-box;
    background-color: var(--section-bg-color, var(--primary-color));
    position: relative;
    isolation: isolate;

    &::after {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 1px;
        content: '';
        background-color: #FFF;
        opacity: 0.5;
    }



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

#section-flip-cards .header-slot-container {
    margin-inline: auto;
}

#section-flip-cards .header-slot-container h2 {
    color: var(--section-title-color, var(--primary-color-contrast));
    padding: 0;
}

#section-flip-cards.flip-cards-section .flip-cards {
    display: grid;
    grid-template-columns: 1fr;
}

@media (min-width: 1024px) {
    #section-flip-cards.flip-cards-section .flip-cards {
        grid-template-columns: repeat(12, 1fr);
    }

    #section-flip-cards.flip-cards-section .flip-cards>div:nth-child(1),
    #section-flip-cards.flip-cards-section .flip-cards>div:nth-child(2),
    #section-flip-cards.flip-cards-section .flip-cards>div:nth-child(3) {
        grid-column: auto / span 4;
    }

    #section-flip-cards.flip-cards-section .flip-cards>div {
        grid-column: auto / span 6;
    }
}

#section-flip-cards.flip-cards-section .flip-cards {
    gap: 1.25rem;
}

#section-flip-cards.flip-cards-section .flip-cards .flip-card {
    position: relative;
    width: 100%;
    height: 294px;
    transform-style: preserve-3d;
    transform: scale(1);
    transition: transform 0.1s;
    will-change: transform;
}

#section-flip-cards.flip-cards-section .flip-cards .flip-card .flip-card-number {
    font-size: clamp(28px, calc((28 / 390) * 100dvw), 32px);
    font-weight: 500;
}

#section-flip-cards.flip-cards-section .flip-cards .flip-card .flip-card-number,
#section-flip-cards.flip-cards-section .flip-cards .flip-card .flip-card-subtitle {
    position: relative;
    color: inherit;
    z-index: 1;
    transition: 2s opacity 0.3s;
    opacity: 1;
    text-align: left;
}

#section-flip-cards.flip-cards-section .flip-cards .flip-card .flip-card-front:has(img) .flip-card-number,
#section-flip-cards.flip-cards-section .flip-cards .flip-card .flip-card-front:has(img) .flip-card-subtitle {
    color: #FFF;
}

#section-flip-cards.flip-cards-section .flip-cards .flip-card .flip-card-image {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    transform: translate3d(0, 0, 0);
    position: absolute;
}

#section-flip-cards.flip-cards-section .flip-cards .flip-card .flip-card-image img {
    width: 100%;
    height: 100%;
    display: block;
    -o-object-fit: cover;
    object-fit: cover;
}

#section-flip-cards.flip-cards-section .flip-cards .flip-card .flip-card-image:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(0deg, #1d1d1dbf 0%, #00000000 55%);
}

#section-flip-cards.flip-cards-section .flip-cards .flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.5s;
    transform-style: preserve-3d;
    will-change: transform;
}

#section-flip-cards.flip-cards-section .flip-cards .flip-card:hover .flip-card-inner,
#section-flip-cards.flip-cards-section .flip-cards .flip-card:focus-within .flip-card-inner {
    transform: rotateY(180deg);
    transition-delay: 0s;
}

#section-flip-cards.flip-cards-section .flip-cards .flip-card:hover .flip-card-image,
#section-flip-cards.flip-cards-section .flip-cards .flip-card:focus-within .flip-card-image {
    transition: 0s opacity 0.5s;
    opacity: 0;
}

#section-flip-cards.flip-cards-section .flip-cards .flip-card:hover .flip-card-number,
#section-flip-cards.flip-cards-section .flip-cards .flip-card:hover .flip-card-subtitle,
#section-flip-cards.flip-cards-section .flip-cards .flip-card:focus-within .flip-card-number,
#section-flip-cards.flip-cards-section .flip-cards .flip-card:focus-within .flip-card-subtitle {
    transition: 0s opacity 0s;
    opacity: 0;
}

.flip-card-subtitle {
    margin-top: 10px;

    @media only screen and (min-width: 1400px) {
        margin-top: 20px;
    }
}

/* #section-flip-cards.flip-cards-section .flip-cards>div:nth-child(even) .flip-card-front {
    background: url('diamond-pattern-1.png');
    background-size: cover;
    background-position: bottom;
    background-blend-mode: overlay;
}

#section-flip-cards.flip-cards-section .flip-cards>div:nth-child(even) .flip-card-front,
#section-flip-cards.flip-cards-section .flip-cards>div:nth-child(even) .flip-card-back {
    background-color: var(--secondary-color);
    color: var(--secondary-color-contrast);

    & .link a::after {
        background-color: currentColor;
    }
} */

#section-flip-cards.flip-cards-section .flip-cards .flip-card-front,
#section-flip-cards.flip-cards-section .flip-cards .flip-card-back {
    display: flex;
    flex-direction: column;
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    padding: 1.5rem;
}

#section-flip-cards.flip-cards-section .flip-cards .flip-card-front {
    justify-content: flex-end;
    align-items: baseline;
    border-radius: 0.625rem;
    overflow: hidden;
    color: var(--primary-color-contrast);
}

#section-flip-cards.flip-cards-section .flip-cards .flip-card-back {
    background-color: var(--secondary-color);
    justify-content: center;
    align-items: flex-start;
    text-align: left;
    border-radius: 0.625rem;
    overflow: hidden;
    color: var(--secondary-color-contrast);
    transform: rotateY(180deg);
    will-change: transform;
}

#section-flip-cards.flip-cards-section .button.link a {
    font-size: 16px;
    line-height: 1.3;
    font-weight: 700;
    width: fit-content;
    color: currentColor;
    position: relative;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 8px;

    @media only screen and (min-width: 1440px) {
        font-size: 18px;
    }


    &::after {
        content: "";
        width: 20px;
        height: 20px;
        background-color: currentColor;
        mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='21' height='21' viewBox='0 0 21 21' fill='none'%3E%3Cpath d='M10.8618 3.44922L17.9125 10.4999L10.8618 17.5507' stroke='black' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M17.9124 10.5L2.91248 10.5' stroke='black' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
        mask-repeat: no-repeat no-repeat;
        mask-position: right center;
        mask-size: contain;
        transition: all .35s ease-in-out;
    }

    &:hover::after,
    &:focus::after {
        transform: translateX(5px);
    }
}

#section-flip-cards.flip-cards-section .flip-cards .flip-card .flip-card-title h3 {
    font-size: clamp(22px, calc((22 / 390) * 100dvw), 24px);
    padding: 8px 0;
    font-style: normal;
    font-weight: 700;
    line-height: 1.2;
}

#section-flip-cards.flip-cards-section .flip-card-text p span {
    white-space: normal !important;
    font-size: 16px;
    line-height: 1.3;
}

/* ------------------------------------------------- */
/* ------------- CUSTOM FLIP CARDS END   ----------- */
/* ------------------------------------------------- */

/* ------------------------------------------------- */
/* ------------- CUSTOM NEWS START       ----------- */
/* ------------------------------------------------- */
#section-news {
    --buttonBgColor: var(--primary-color-contrast);
    --buttonTextColor: var(--primary-color);
    --buttonHoverBgColor: var(--primary-color);
    --buttonHoverTextColor: var(--primary-color-contrast);

    .header-slot-container {
        color: var(--section-title-color, var(--primary-color));
    }
}

@media only screen and (min-width: 1400px) {
    #home #section-news .see-all-container.see-all-bottom {
        margin-top: 50px;
    }
}

#news-articles-list {
    --columns: 1;
    --gap: 0px;
    display: flex;
    gap: 30px var(--gap);
    flex-wrap: wrap;
    justify-content: center;


    @media only screen and (min-width: 760px) {
        --columns: 2;
        --gap: 23px;
        row-gap: 40px;
    }

    @media only screen and (min-width: 980px) {
        --columns: 4;
    }

    .news-article {
        width: calc((100% / var(--columns)) - ((var(--columns) - 1) * var(--gap)) / var(--columns));
        display: flex;
        flex-direction: column;
        gap: 18px;
        text-decoration: none;

        .cover-image {
            width: 100%;
            padding-top: 70%;
            overflow: hidden;
            border-radius: 0px 12px 12px 0px;
            border-left: 10px solid var(--news-image-border-color, var(--secondary-color));
            position: relative;

            img {
                position: absolute;
                left: 0;
                top: 0;
                width: 100%;
                height: 100%;
                display: block;
                object-fit: cover;
                transition: all .35s ease-in-out;

                &:hover {
                    transform: scale(1.1);
                }
            }
        }

        .content {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .date {
            color: var(--news-date-color, #000);
            font-weight: 600;
            font-family: "Raleway", sans-serif;
            font-size: 16px;
            line-height: 1.2;

            .date {
                display: flex;
                align-items: center;
                gap: 4px;

                .start-date {
                    &::after {
                        content: ',';
                        display: inline-block;
                        margin-left: 2px;
                        font-size: 18px;
                    }
                }
            }
        }

        .title {
            color: var(--news-title-color, var(--primary-color));
            font-size: 20px;
            line-height: 1.2;
            font-weight: 500;
            text-transform: capitalize;

            @media only screen and (min-width: 1400px) {
                font-size: 22px;
            }
        }

        .excerpt {
            font-size: 16px;
            line-height: 1.2;
            color: var(--news-text-color, #000);
            overflow: hidden;
            display: -webkit-box;
            -webkit-line-clamp: 3;
            line-clamp: 3;
            -webkit-box-orient: vertical;
        }

        .read-article-btn {
            font-size: 16px;
            line-height: 1.2;
            font-weight: 700;
            display: inline-flex;
            gap: 4px;
            color: var(--read-more-color, #000);
            text-decoration: none !important;
            transition: all .35s ease-in-out;

            @media only screen and (min-width: 1400px) {
                font-size: 18px;
            }

            &:hover {
                color: var(--read-more-hover-color, var(--primary-color));
            }

            &::after {
                width: 20px;
                height: 20px;
                content: '';
                background-color: currentColor;
                mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='21' viewBox='0 0 20 21' fill='none'%3E%3Cg clip-path='url(%23clip0_2_1999)'%3E%3Cpath d='M5.33203 5.19662L15.3033 5.19662L15.3033 15.1679' stroke='black' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M15.3032 5.19671L4.69666 15.8033' stroke='black' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='clip0_2_1999'%3E%3Crect width='20' height='20' fill='white' transform='translate(0 0.5)'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E");
                mask-repeat: no-repeat no-repeat;
                mask-position: right center;
                mask-size: contain;
                transition: all .35s ease-in-out;
            }

            &:hover::after,
            &:focus::after {
                transform: translate(5px, -2px);
            }
        }
    }
}

/* ------------------------------------------------- */
/* ------------- CUSTOM NEWS END         ----------- */
/* ------------------------------------------------- */

/* ------------------------------------------------- */
/* ------------- BY THE NUMBERS START    ----------- */
/* ------------------------------------------------- */
#home .by-the-numbers-v2 {
    --section-text-color: #000;
    --section-bg-color: #DEE5F4;
    --icon-area-bg-color: #DEE5F4;
    --icon-color: var(--primary-color);
    --opacity: .85;
    padding-block: 40px;

    @media only screen and (min-width: 1400px) {
        padding-block: 40px;
    }
}

#home .by-the-numbers-v2 .header-slot-container {
    color: var(--section-title-color, var(--primary-color));
    padding-bottom: 0;
}

#home .by-the-numbers-v2 .by-the-numbers-wrapper .btn-icon span svg * {
    fill: currentColor;
}

#home .by-the-numbers-v2 .by-the-numbers-wrapper .btn-icon span {
    border-radius: 20px;
    padding: 10px;
    width: fit-content;
    aspect-ratio: 1/1;
    height: auto;
}

#home .by-the-numbers-v2.bg-image-url .by-the-numbers-bg-image {
    display: none;
}

#home .by-the-numbers-v2.bg-image-url::after {
    display: block;
    background: linear-gradient(0deg, var(--section-bg-color) 0%, var(--section-bg-color) 100%), var(--section-bg-image) lightgray 50% / cover no-repeat;
    background-blend-mode: color, normal;
    background-attachment: fixed;
}

.by-the-numbers-v2 .by-the-numbers-wrapper .btn-title {
    white-space: normal !important;
}

.by-the-numbers-v2 .by-the-numbers-wrapper {
    justify-items: center;
}

.by-the-numbers-v2 .by-the-numbers-wrapper .btn-icon span svg {
    height: 0.55em;
}

@media only screen and (max-width: 600px) {
    .by-the-numbers-v2 .by-the-numbers-wrapper {
        grid-template-columns: repeat(auto-fit, minmax(48%, 1fr));
    }

    .by-the-numbers-v2 .by-the-numbers-wrapper .btn-value {
        font-size: 25px;
    }
}

/* ------------------------------------------------- */
/* ------------- BY THE NUMBERS END      ----------- */
/* ------------------------------------------------- */

/* ------------------------------------------------- */
/* ------------- SPONSORS START          ----------- */
/* ------------------------------------------------- */

#home .scroller-area {
    padding-inline: 0;

    .header-slot-container {
        color: var(--section-title-color, var(--primary-color));
        padding-inline: 20px;
        text-align: center;
    }

    .slide-pane {
        margin-block: 0;
        --scoller-section-image-height: 110px;
        --scoller-section-image-width: 270px;
    }
}

/* ------------------------------------------------- */
/* ------------- SPONSORS END            ----------- */
/* ------------------------------------------------- */

/* ------------------------------------------------- */
/* ------------- TOP CUSTOM FOOTER START   ----------- */
/* ------------------------------------------------- */
#app .top-custom-footer {
    background-color: var(--section-bg-color, var(--navy-blue, var(--primary-color)));
    color: var(--section-text-color, var(--primary-color-contrast));
    box-sizing: border-box;
    padding-bottom: 0;
    position: relative;
    isolation: isolate;
    padding-top: 100px;
    margin-top: -40px;
    z-index: 1;
    width: 100%;
    overflow: hidden;

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

    &::before {
        content: close-quote;
        display: block;
        position: absolute;
        width: calc(100% + 20px);
        height: 50px;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        z-index: -1;
        background: url('https://cmsv2-shared-assets.apptegy.net/Schools/Hillsborough-County-Public-Schools-5557/images/top-footer-content-shapes.svg') no-repeat top center;
        background-size: 100% 100%;
    }

    .container {
        padding-bottom: 40px;
    }

    .row {
        display: flex;
        align-items: center;
        flex-direction: column;
        gap: 20px;
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.10);
        padding: 25px 20px;
        justify-content: center;
        text-align: center;

        @media only screen and (min-width: 860px) {
            flex-direction: row;
            text-align: left;
            justify-content: space-between;
        }

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

    }

    .title {
        color: currentColor;
        font-size: 24px;
        line-height: 1.2;
        font-weight: 500;
        text-transform: capitalize;
        margin-bottom: 5px;

        @media only screen and (min-width: 800px) {
            font-size: 30px;
        }

        @media only screen and (min-width: 1400px) {
            font-size: 36px;
        }
    }

    .description p {
        font-size: 16px;
        line-height: 1.4;

        span {
            white-space: normal !important;
        }
    }

    .button {
        a {
            background-color: var(--button-bg-color, var(--secondary-color));
            border: 1px solid var(--button-border-color, var(--secondary-color));
            color: var(--button-text-color, var(--secondary-color-contrast));
            padding: 14px 24px;
            font-size: 16px;
            line-height: 1.2;
            border-radius: 8px;
            text-decoration: none;
            transition: all .35s ease-in-out;

            @media only screen and (min-width: 800px) {
                white-space: nowrap;
                font-size: 18px;
            }

            &:hover,
            &:focus {
                background-color: var(--button-bg-color, var(--primary-color-contrast));
                border: 1px solid var(--button-border-color, var(--primary-color));
                color: var(--button-text-color, var(--primary-color));
            }
        }



        &.right-arrow a {
            position: relative;
            display: flex;
            gap: 8px;

            &::after {
                content: "";
                width: 20px;
                height: 20px;
                background-color: currentColor;
                mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='21' height='21' viewBox='0 0 21 21' fill='none'%3E%3Cpath d='M10.8618 3.44922L17.9125 10.4999L10.8618 17.5507' stroke='black' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M17.9124 10.5L2.91248 10.5' stroke='black' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
                mask-repeat: no-repeat no-repeat;
                mask-position: right center;
                mask-size: contain;
                transition: all .35s ease-in-out;
            }

            &:hover::after,
            &:focus::after {
                transform: translateX(5px);
            }
        }
    }

    .footer-social-links {
        --icon-color: currentColor;
        --icon-size: 26px;
        --icon-size-mobile: 18px;
        display: flex;
        align-items: center;
        gap: 10px;
        list-style-type: none;
        padding: 0;
        margin: 0;

        @media only screen and (min-width: 800px) {
            flex-wrap: nowrap;
        }

        li {
            border: 1px solid currentColor;
            border-radius: 50%;
            overflow: hidden;
            padding: 3px;
            display: flex;
            align-items: center;
            justify-content: center;

            a {
                margin-bottom: 0;
            }

            &:hover {
                background-color: var(--secondary-color);
                color: var(--secondary-color-contrast);
            }
        }
    }
}

/* ------------------------------------------------- */
/* ------------- TOP CUSTOM FOOTER END   ----------- */
/* ------------------------------------------------- */

/* ------------------------------------------------- */
/* ------------- BOTTOM CUSTOM FOOTER START   ----------- */
/* ------------------------------------------------- */
#view-footer #footer-f1 .footer-logo {
    min-height: 58px;
    object-fit: contain;
}

#view-footer {
    &:has(.top-custom-footer) {
        margin-top: 30px;
    }

    #footer-f1 .row {
        justify-content: space-between;
        gap: 20px;
        padding-bottom: 30px;

        img {
            transition: all .35s ease-in-out;
        }

        a:hover img {
            transform: scale(1.05);
        }
    }

    #footer-f1 .row .footer-columns {
        max-width: 300px;
        padding: 0;

        &:nth-child(2) {
            margin-left: auto;
        }

        &:nth-child(3) {
            margin-right: auto;
        }
    }

    #footer-f1 .row .footer-column-main {
        max-width: 400px;
        min-width: 200px;
        flex: 0 0 auto;
        padding: 0;
        width: fit-content;

        @media only screen and (max-width: 599px) {
            max-width: 100%;
            width: 100%;
            box-sizing: border-box;
        }

        &>p span:first-child {
            font-weight: 700;
        }

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

    #footer-f1 .row .footer-columns ul li a {
        border-top: 1px solid currentColor;
        display: block;
        width: 100%;
        box-sizing: border-box;
        padding-block: 15px;
        margin-bottom: 0;
        position: relative;
        isolation: isolate;

        &::before {
            height: 1px;
            background-color: var(--secondary-color);
            width: 0%;
            position: absolute;
            content: '';
            top: -1px;
            left: 0;
            transition: all .35s ease-in-out;
        }

        &:hover::before {
            width: 100%;
        }
    }

    #footer-f1 .apptegy-copyright {
        border-top-width: 1px;
        display: flex;
        gap: 5px;
        flex-direction: row;
        justify-content: space-between;
        text-align: center;
        flex-wrap: wrap;

        .footer-columns {
            padding: 0;
            flex-grow: 1;

            h2 {
                display: none;
            }

            ul {
                display: flex;
                gap: 24px;
                justify-content: flex-end;

                li {
                    font-size: 14px;
                    font-weight: 500;

                    a {
                        position: relative;

                        &::after {
                            position: absolute;
                            bottom: -2px;
                            left: 0;
                            content: '';
                            width: 0%;
                            height: 1px;
                            background-color: currentColor;
                            transition: all .35s ease-in-out;
                        }

                        &:hover::after {
                            width: 100%;
                        }
                    }
                }
            }

        }
    }

    @media only screen and (max-width: 1200px) {
        #footer-f1 .apptegy-copyright {
            justify-content: center;
            width: 100%;

            .footer-columns {
                width: 100%;
                min-width: 100%;
                text-align: center;
                margin-top: 20px;

                ul {
                    justify-content: center;

                    @media only screen and (max-width: 400px) {
                        gap: 15px;
                    }
                }
            }
        }
    }
}

/* footer ad banner */
.footer-banner {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-block: 20px;

    img {
        max-width: 100%;
        height: auto;
        transition: all .35s ease-in-out;
    }

    a:hover img {
        transform: scale(1.05);
    }
}

/* ------------------------------------------------- */
/* ------------- BOTTOM CUSTOM FOOTER END   ----------- */
/* ------------------------------------------------- */


/* ---------------------------------- */
/* Custom pages STYLE START */
/* ---------------------------------- */

/* open 3rd level from side navigation*/
/*
#sidebarNav ul.navLinks .navLi.hasSubmenu.active .submenuBtn {
    transform: rotate(180deg);
}

#sidebarNav ul.navLinks .navLi.hasSubmenu.active .submenu {
    display: block;
}
*/

#sidebarNav {
    position: relative;
    top: 0;
}

#container #page-wrapper #page {
    overflow: hidden;
}

#page .block .heading-block h1,
#page .pb-heading h1 {
    font-size: clamp(2.188rem, 1.607rem + 1.548vw, 3rem);
    /* 48>35, 1440>600 */
    line-height: 1.2;
}

#page .block .heading-block h2,
#page .pb-heading h2 {
    font-size: clamp(1.813rem, 1.679rem + 0.357vw, 2rem);
    /* 32->29, 1440>600 */
    line-height: 1.4;
}

#page .block .heading-block h3,
#page .pb-heading h3 {
    font-size: clamp(1.25rem, 1.071rem + 0.476vw, 1.5rem);
    /* 24>20, 1440>600 */
    line-height: 1.4;
}

#page .block .heading-block h4,
#page .pb-heading h4 {
    font-size: clamp(1.125rem, 1.036rem + 0.238vw, 1.25rem);
    /* 20>18, 1440>600 */
    line-height: 1.4;
}

#page .block .heading-block h5,
#page .pb-heading h5 {
    font-size: 14px;
    line-height: 1.2;
    letter-spacing: 1px;
    text-transform: uppercase;
}

#page .block .text-block p,
#page .block div.card-block.separator .card-text .headline+.content p,
#page .pb-text p,
#page .pb-card .separator .card-text p {
    font-size: 16px;
    line-height: 1.75;
}

#page .pb-card .card-container {
    min-height: unset;
    overflow: hidden;
}

#page .block .card-block.shadow,
#page .pb-card .card-container.box-shadow {
    border-radius: 5px;
    border-left: 5px solid var(--page-builder-color);
}

#page .block .card-block.shadow.has-image,
#page .pb-card .card-container.box-shadow.has-image {
    align-items: center;
}

#page .block .card-block.shadow .headline,
#page .pb-card .card-container.box-shadow .card-heading {
    margin-bottom: 0;
}

#page .block .card-block.shadow .headline *,
#page .pb-card .card-container.box-shadow .card-heading * {
    color: var(--heading-color);
}

.card-block .card-text.shadow p,
.pb-card .card-content-container p {
    margin-top: 10px;
}

.card-block .card-text p:empty,
.pb-card .card-content-container p:empty {
    display: none;
}

#page .block .quote-block.design-2,
#page .pb-quote.design-2 blockquote {
    padding-left: 95px !important;
}


#page .block .quote-block.design-2 blockquote,
#page .pb-quote.design-2 blockquote {
    font-size: 18px;
    line-height: 1.7;
    font-weight: 300;
    font-style: normal;
    color: #181818;
}

#page .block .table-v2-block p,
#page .pb-table p {
    padding: 10px;
}

/* * New CMS Builder -> div.pb-card .pb-text don't need the margin * */
@media only screen and (min-width: 451px) {
    #page .block div.card-block.card-block .card-text .headline+.content {
        margin-left: 20px !important;
    }
}

#page .block .accordion-block .accordion-panel .section-header,
#page .pb-accordion .accordion-panel .panel-title {
    margin-bottom: 0;
    padding: 15px;
}

#page .block .accordion-block .accordion-panel h2+div,
#page .pb-accordion .accordion-panel .panel-content {
    padding: 20px;

}

#page .block .accordion-block .accordion-panel .collapsible-section:not(.default),
#page .pb-accordion .accordion-panel:not(.default) .panel-content {
    border: 1px solid #E0E0E0;
    border-radius: 6px;
}

#page .block .accordion-block .accordion-panel .collapsible-section.default h2+div,
#page .pb-accordion .accordion-panel.default .panel-content {
    border: 1px solid #E0E0E0;
    border-top: 0;
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
}

.accordion-panel .collapsible-section.default .section-header,
.accordion-panel.default .panel-heading {
    position: relative;
}

/* .accordion-panel .collapsible-section.default .section-header:before,
.accordion-panel.default .panel-heading .panel-toggle-icon:before {
    position: absolute;
    right: 11px;
    top: 11px;
    height: 24px;
    width: 24px;
    content: close-quote;
    font-size: 0;
    display: block;
    background: var(--page-builder-color);
    z-index: 0;
    border-radius: 50%;
}

.accordion-panel.default .panel-heading .panel-toggle-icon:before {
    right: 14px;
} */

.accordion-panel .collapsible-section.default .section-header svg,
.accordion-panel.default .panel-heading svg {
    position: relative;
    z-index: 1;
}

.accordion-panel .collapsible-section.default .section-header svg.chevron-open {
    top: -3px;
}

.accordion-panel.default .panel-heading svg.chevron-icon.expanded {
    top: -2px;
}

.accordion-panel .collapsible-section.default .section-header svg.caret-open,
.accordion-panel.default .panel-heading svg.caret-icon.expanded {
    top: -4px;
}

.accordion-panel .collapsible-section.default .section-header svg.plus-closed,
.accordion-panel .collapsible-section.default .section-header svg.minus-open,
.accordion-panel.default .panel-heading svg.plus-minus-icon,
.accordion-panel.default .panel-heading svg.plus-minus-icon.expanded {
    top: -2px;
}

.accordion-panel .collapsible-section .section-header svg.plus-closed,
.accordion-panel .collapsible-section .section-header svg.minus-open,
.accordion-panel .panel-heading svg.plus-minus-icon,
.accordion-panel .panel-heading svg.plus-minus-icon.expanded {
    height: 24px;
    width: 24px;
}

/* .accordion-panel .collapsible-section.default .section-header svg path,
.accordion-panel.default .panel-heading svg path {
    fill: #FFF;
} */

#page .block .card-block.separator,
#page .pb-card .separator {
    position: relative;
    border: 0;
    padding: 0;
    margin: 0;
}

#page .block .card-block.separator .headline,
#page .block div.card-block.separator .card-text .headline+.content,
#page .pb-card .separator .card-heading,
#page .pb-card .separator .card-text {
    padding-left: 0;
    margin-left: 0 !important;
    padding-right: 0;
    margin-right: 0;
}

#page .block div.card-block.separator .card-text .headline+.content,
#page .block div.card-block.separator.has-image .card-left,
#page .pb-card .separator .card-text,
#page .pb-card .separator.has-image .card-image-container {
    padding-bottom: 30px;
}

#page .block div.card-block.separator.has-image .card-left:first-child,
#page .pb-card .separator.has-image .card-image-container:first-child {
    margin-right: 20px;
}

#page .block .card-block.separator .headline:after,
#page .pb-card .separator .card-heading:after {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    display: block;
    content: close-quote;
    font-size: 0;
    background-color: currentcolor;
}

/* Photo gallery page */

#page .gallery-block .image-wrapper,
#page .pb-gallery .image-container {
    position: relative;
    border-radius: 5px;
    z-index: 1;
}

.gallery-block .image-wrapper img,
.pb-gallery .image-container img {
    border-radius: 5px;
    display: block;
    transition: .3s all linear;
}

.gallery-block .image-wrapper:hover img,
.pb-gallery .image-container:hover img {
    opacity: 0.2;
    position: relative;
    z-index: 1;
}

/* new custom code*/
#page .block .accordion-block .accordion-panel .collapsible-section:not(.default) .section-header,
#page .block .card-block.shadow,
#page .button-block .button.square,
#page .gallery-block .image-wrapper img,
#page div.card-block .card-left img,
#page .quote-block.design-1,
#page .quote-block.design-3,
#page .pb-accordion .accordion-panel:not(.default) .panel-heading,
#page .pb-card .card-container.box-shadow,
#page .pb-button .button-type-square,
#page .pb-gallery .image-container img,
#page .pb-card .card-image-container img,
#page .pb-quote.design-1,
#page .pb-quote.design-3 {
    border-radius: 12px;
}

#page .block .accordion-block .accordion-panel .collapsible-section:not(.default),
#page .pb-accordion .accordion-panel:not(.default) {
    border-radius: 12px;
}

#page .button .icon-wrapper,
#page .button .custom-icon-wrapper {
    padding: 10px;
    border-radius: 50vw;
    border: 2px solid transparent;
    margin-bottom: 10px;
    height: auto;
}

#page .button.dark .icon-wrapper,
#page .button.button-theme-dark .custom-icon-wrapper {
    border-color: #FFF;
}

#page .ts-divider,
#page .pb-separator .separator-container {
    margin-top: 30px;
}

#page .block:has(.heading-block)+.block .ts-divider,
#page div:has(.pb-heading)+div .separator-container {
    margin-top: 0;
    margin-bottom: 20px;
}

#page .button-block .button.square,
#page .pb-button .button.button-type-square {
    width: auto;
/*    flex-grow: 1;*/
}

#page .pb-text p a {
    text-decoration: none;
    position: relative;

    &::after {
        position: absolute;
        bottom: -4px;
        content: '';
        left: 0;
        width: 100%;
        background-color: currentColor;
        height: 2px;
        transition: all .35s ease-in-out;
    }

    &:hover&::after {
        height: 4px;
    }
}

#page .pb-text ul li::marker {
    color: var(--secondary-color);
    font-size: 20px;
}

#page .pb-image img {
    border-radius: 12px;
}

#page .slider-image,
#page .pb-video iframe {
    border-radius: 20px;
}

/* buttons style */
#page .pb-button {
    .button:not(.button-type-link) {
        box-sizing: border-box;
        transition: all .35s ease-in-out;
        border-radius: 8px;

        &:not(.button-type-square) {
            min-height: 49px;
        }

        &.button-size-large .title-text {
            font-size: 20px;
        }

        .title-text,
        .style-2-bar,
        .arrow-button *,
        .custom-icon svg *,
        .custom-icon-wrapper {
            transition: all .35s ease-in-out;
        }

        &.button-theme-light {
            --light-button: var(--secondary-color);
            --light-button-border-color: var(--secondary-color);
            --light-button-hover: #FFF;
            --light-button-color: var(--secondary-color-contrast);
            --light-button-hover-color: var(--primary-color);
            --light-button-hover-border-color: var(--primary-color);
            color: var(--light-button-color);
            border: 1px solid var(--light-button-border-color);

            &.button-type-regular {

                .title-text {
                    position: relative;
                    display: flex;
                    align-items: center;
                    gap: 8px;
                }


                .title-text::after {
                    display: none;
                }

                &:hover .title-text::after,
                &:focus .title-text::after {
                    transform: translateX(5px);
                }
            }

            &:hover {
                background-color: var(--light-button-hover);
                color: var(--light-button-hover-color);
                border-color: var(--light-button-hover-border-color);

                .style-2-bar {
                    border-bottom-color: var(--light-button-hover-color);
                }

                .arrow-button {

                    path,
                    circle {
                        stroke: var(--light-button-hover-color);
                    }

                    rect {
                        fill: var(--light-button-hover-color);
                    }
                }

                .custom-icon svg * {
                    fill: var(--light-button-hover-color);
                }

                .custom-icon-wrapper {
                    border-color: var(--light-button-hover-color);
                }
            }

            .title-text {
                color: currentColor;
            }

            .custom-icon-wrapper {
                border-color: var(--light-button-color);
            }

            .custom-icon svg * {
                fill: var(--light-button-color);
            }

            .style-2-bar {
                border-bottom-color: var(--light-button-color);
            }

            .arrow-button {

                path,
                circle {
                    stroke: var(--light-button-color);
                }

                rect {
                    fill: var(--light-button-color);
                }
            }
        }

        &.button-theme-dark {
            --dark-button-border-color: var(--dark-button);
            --dark-button-color: var(--primary-color-contrast);
            --dark-button-hover: #FFF;
            --dark-button-hover-color: var(--primary-color);
            --dark-button-hover-border-color: var(--primary-color);
            border: 1px solid var(--dark-button-border-color);


            &:hover {
                background-color: var(--dark-button-hover);
                color: var(--dark-button-hover-color);
                border-color: var(--dark-button-hover-border-color);
                color: var(--dark-button-hover-color);

                .title-text {
                    color: currentColor;
                }

                .style-2-bar {
                    border-bottom-color: var(--dark-button-hover-color);
                }

                .arrow-button {

                    path,
                    circle {
                        stroke: var(--dark-button-hover-color);
                    }

                    rect {
                        fill: var(--dark-button-hover-color);
                    }
                }

                .custom-icon svg * {
                    fill: var(--dark-button-hover-color);
                }

                .custom-icon-wrapper {
                    border-color: var(--dark-button-hover-color);
                }
            }

            .style-2-bar {
                border-bottom-color: var(--dark-button-color);
            }

            .arrow-button {

                path,
                circle {
                    stroke: var(--dark-button);
                }

                rect {
                    fill: var(--dark-button);
                }
            }
        }

        &.button-theme-outline {
            &:hover {
                .custom-icon-wrapper {
                    border-color: transparent;
                }
            }

            .custom-icon-wrapper {
                border-color: transparent;
            }
        }
        &.button-type-square {
            min-height: 49px;
            min-width: 150px;
            max-width: calc(100% - 10px);
            width: auto;

            .title-text {
                font-size: 16px !important;
                font-weight: 400;

                @media only screen and (min-width: 1400px) {
                    font-size: 18px !important;
                }
            }

            &.button-style-1:has(.custom-icon-wrapper ) {
                display: flex;
                align-items: center;
                flex-direction: row-reverse;
                gap: 10px;

                .custom-icon-wrapper {
                    border-width: 1px;
                    margin: 4px 0;
                    margin-right: 20px;
                    padding: 6px;

                    .custom-icon {
                        width: 27px;
                        height: 27px;
                    }
                }

                .title-text {
                    text-align: left;
                    margin-right: 0;
                    margin-block: 6px;
                }
            }

            &.button-style-2 {
                display: flex;
                align-items: center;
                flex-direction: row;
                gap: 5px;
                hr {
                    display: none;
                }
                .title-text {
                    margin-right: 0;
                    flex: 1;
                    width: 100%;
                }
                svg {
                    margin: 0 20px 0 0;
                    width: 30px;
                    min-width: 30px;
                    height: 30px;
                }
            }
        }
    }

    .button.button-type-link {
        .title-text {
            position: relative;
            display: flex;
            gap: 5px;
            align-items: center;
            margin-left: 0;
        }

        svg {
            display: none;
        }

        .title-text::after {
            width: 20px;
            height: 20px;
            content: '';
            display: block;
            background-color: currentColor;
            mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='21' viewBox='0 0 20 21' fill='none'%3E%3Cg clip-path='url(%23clip0_2_1999)'%3E%3Cpath d='M5.33203 5.19662L15.3033 5.19662L15.3033 15.1679' stroke='black' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M15.3032 5.19671L4.69666 15.8033' stroke='black' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='clip0_2_1999'%3E%3Crect width='20' height='20' fill='white' transform='translate(0 0.5)'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E");
            mask-repeat: no-repeat no-repeat;
            mask-position: right center;
            mask-size: contain;
            transition: all .35s ease-in-out;
        }

        &:hover,
        &:focus {
            text-decoration: none;

            .title-text::after {
                transform: translate(5px, -2px);
            }
        }
    }

    .title-text {
        font-size: 16px;
        line-height: 1.2;


        @media only screen and (min-width: 1400px) {
            font-size: 18px;
        }
    }
}

/* Side navigation changes */

@container layout-node-container (min-width: 600px) {

    #page .column.left-sidebar:first-child:has(.navigation-section),
    #page .column.right-sidebar:last-child:has(.navigation-section) {
        width: fit-content;
    }

    #page .column.left-sidebar:first-child:has(.navigation-section)+.column,
    #page .right-sidebar-row:has(.navigation-section) .column:first-child {
        flex: 1;
    }

    #page .column.left-sidebar:first-child:has(.navigation-section),
    #page .column.right-sidebar:last-child:has(.navigation-section) {
        max-width: var(--one-third-width);
    }

    #page .navigation-section {

        &,
        & .navigation-title {
            font-size: 18px;
            width: fit-content;
        }

        .navigation-list .page-child {
            padding-inline: 20px;

            &:hover:has(a:hover) {
                filter: brightness(0.9);
            }
        }
    }
}

/* END side nav changes */
/* strike + bold = underline */
p strong s, p s strong {
    text-decoration: underline;
    font-weight: 400;
}
/* end */
/* ---------------------------------- */
/* Custom pages STYLE END */
/* ---------------------------------- */

/* update custom buttons in events page */
.eventsCustomButtons {
    /* event button background color */
    --custom-event-button-bg-color:  #FFFFFF;
}
#app .eventsCustomButtons a {
   border-radius: 8px;
  
    @media only screen and (min-width: 1400px) {
      font-size: 18px;
  }
}
/* end */