body.charles-lea-center {
    --tertiary-color: #C84F04;
}

body.charles-lea-center-north-carolina {
    --tertiary-color: #43653C;
}

body.charles-lea-center-tennessee {
    --tertiary-color: #2A3E5E;
}

#home .see-all-container.bold a {
    border-radius: unset;
}

/* ---------- START Custom Header ---------- */
#cms-header {
    --gradient-color-1: var(--secondary-color);
    --gradient-color-2: var(--secondary-color);
}

body:not(.charles-lea-center) #cms-header {
    --gradient-color-1: var(--primary-color);
    --gradient-color-2: var(--primary-color);
}

/* START Make the utilities bar full width */
#view-header #h2 .utilities.utilities-right {
    display: none;
}

#view-header #h2 .utilities.utilities-top {
    display: flex;
}

#view-header #h2 .utilities.utilities-top .utility-bar-items {
    padding-block: 16px;
    align-items: center;
    row-gap: 5px;
}

#view-header #h2 .utilities.utilities-top .utility-bar-items a {
    margin-top: 0;
}

@media only screen and (max-width: 960px) {
    #view-header #h2 .utilities.utilities-top .utility-bar-items {
        padding-block: 7px;
    }

    #view-header #h2 .utilities.utilities-top .utility-bar-items a {
        font-size: 14px;
    }
}

/* END Make the utilities bar full width */

/* ---------- END Custom Header ---------- */

/* ---------- START Gallery ---------- */
#app #home #cms-gallery .text .title,
#app #home #cms-gallery .text .description {
    display: none;
}

/* gallery v2 to look like v3 */
@media screen and (min-width: 960px) {
    #cms-gallery #g2 .text {
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        text-align: center;
        background: linear-gradient(180deg, rgba(1, 73, 145, 0) 0%, #000 80.73%) !important;
        box-sizing: border-box;
        padding: 50px 170px;
        -webkit-transform: translate(0%);
        transform: translate(0%);
        border-radius: 0;
    }

    #cms-gallery #g2 .text .title h1 {
        font-size: 40px;
        line-height: 1.1;
    }

    #cms-gallery .image-wrapper .pause,
    #cms-gallery .image-wrapper .play {
        z-index: 2;
        left: 70px;
        bottom: 50px;
    }
}

@media screen and (max-width: 959px) {
    #cms-gallery .image-wrapper {
        position: relative;
        isolation: isolate;
    }

    #cms-gallery #g2 .image-wrapper:after {
        content: close-quote;
        font-size: 0;
        position: absolute;
        left: 0;
        bottom: 0;
        width: 100%;
        height: 50px;
        text-align: center;
        background: linear-gradient(180deg, rgba(1, 73, 145, 0) 0%, #000 80.73%) !important;
        box-sizing: border-box;
        z-index: 0;
        -webkit-transform: translate(0%);
        transform: translate(0%);
    }

    #cms-gallery #g2 .slide button {
        z-index: 1;
    }

    #cms-gallery #g2 .slide button svg {
        border: 1px solid rgba(255, 255, 255, 0.7);
    }
}

#home #cms-gallery .play svg,
#home #cms-gallery .pause svg {
    border-radius: 0;
}

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

    #home #cms-gallery .play,
    #home #cms-gallery .pause {
        bottom: 200px;
    }
}

/* ---------- END Gallery ---------- */

/* ---------- START Custom Button Bar ---------- */
#home #buttons-b3 .wrapper .button:nth-child(3n + 1) {
    --custom-button-border-color: var(--primary-color);
    --icon-and-text-color: var(--primary-color);
}

#home #buttons-b3 .wrapper .button:nth-child(3n + 2) {
    --custom-button-border-color: var(--secondary-color);
    --icon-and-text-color: var(--secondary-color);
}

#home #buttons-b3 .wrapper .button:nth-child(3n + 3) {
    --custom-button-border-color: var(--tertiary-color);
    --icon-and-text-color: var(--tertiary-color);
}

#app #home #buttons-b3 {
    margin-top: unset;
}

@media only screen and (min-width: 1158px) {
    #app #home #buttons-b3 {
        margin-top: -205px;
    }
}

/* ---------- END Custom Button Bar ---------- */

/* ---------- START Custom Live Feed ---------- */
.custom-live-feed-v5 {
    position: relative;
    isolation: isolate;
    --avatar-size: 50px;
    overflow: hidden;
    --custom-live-feed-text-color: #000;
    --custom-live-feed-accent-color: var(--primary-color);
    --custom-live-feed-background-color: #f1f1f1;
    --custom-live-feed-item-text-color: #fff;
    --custom-live-feed-item-bg-color: var(--primary-color);
    --custom-live-feed-dot-color: var(--primary-color);
    --custom-live-feed-active-dot-color: var(--tertiary-color);
    --custom-live-feed-arrow-color: var(--primary-color);
    color: var(--custom-live-feed-text-color);
    background-color: var(--custom-live-feed-background-color, #fff);
}

.custom-live-feed-v5 .lf-item {
    border-radius: 10px;
    overflow: hidden;
    background-color: var(--custom-live-feed-item-bg-color, var(--primary-color));
    color: var(--custom-live-feed-item-text-color, #fff);
    box-sizing: border-box;
    padding: 35px 25px;
    transition: all 0.35s ease-in-out;
}

.custom-live-feed-v5 .lf-item__header {
    display: flex;
    gap: 5px;
    justify-content: center;
    flex-direction: column;
    min-height: var(--avatar-size);
    position: relative;
    padding-left: min(25%, var(--avatar-size));
    margin-bottom: 15px;
}

.custom-live-feed-v5.style-bold .header-slot-container {
    border-right: none;
}

@media only screen and (min-width: 600px) {
    .custom-live-feed-v5.style-bold .header-slot-container {
        border-right: 4px solid var(--custom-live-feed-accent-color, currentColor);
    }
}

#app .custom-live-feed-v5 .see-all-button:hover {
    border-bottom: 2px solid var(--custom-live-feed-accent-color);
    border-top: 2px solid transparent;
    line-height: 1.5;
    border-radius: unset;
}

#app .custom-live-feed-v5 #liveFeedsList .swiper-wrapper .lf-item:nth-child(3n + 1) {
    --custom-live-feed-item-bg-color: var(--primary-color);
}

#app .custom-live-feed-v5 #liveFeedsList .swiper-wrapper .lf-item:nth-child(3n + 2) {
    --custom-live-feed-item-bg-color: var(--secondary-color);
}

#app .custom-live-feed-v5 #liveFeedsList .swiper-wrapper .lf-item:nth-child(3n + 3) {
    --custom-live-feed-item-bg-color: var(--tertiary-color);
}

.custom-live-feed-v5 .lf-item__avatar {
    position: absolute;
    left: 0;
    top: 0;
    max-width: 25%;
}

.custom-live-feed-v5 .lf-item__avatar img {
    width: var(--avatar-size);
    aspect-ratio: 1/1;
    -o-object-fit: contain;
    object-fit: contain;
    max-width: 100%;
    height: auto;
}

.custom-live-feed-v5 .lf-item__author {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: capitalize;
    padding-left: 8px;
}

.custom-live-feed-v5 .lf-item__timeAgo {
    font-size: 15px;
    letter-spacing: 0.03em;
    text-transform: capitalize;
    padding-left: 8px;
}

.custom-live-feed-v5 .lf-item__text {
    --max-lines: 3;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: var(--max-lines);
    line-height: 1.4;
    font-size: 16px;
    line-height: 1.4;
}

.custom-live-feed-v5 .lf-item__text+.lf-item__read-more {
    display: inline-block !important;
    color: var(--custom-live-feed-read-more-color, var(--custom-live-feed-item-text-color, #fff));
}

.custom-live-feed-v5 .lf-item__image-link {
    text-decoration: none;
    background-color: var(--custom-live-feed-image-bg-color, transparent);
}

.custom-live-feed-v5 .lf-item__image-link:hover img {
    transform: scale(1.1);
}

.custom-live-feed-v5 .lf-item__image-link img {
    max-width: 95%;
    margin-top: 25px;
    height: auto;
    max-height: 200px;
    border-radius: 10px;
    margin-inline: auto;
    display: block;
    -o-object-fit: contain;
    object-fit: contain;
    aspect-ratio: 1.5/1;
    transition: all 0.35s ease-in-out;
}

.custom-live-feed-v5 .live-feed__swiper-controls {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 5px;
    padding-top: 2vw;
    margin-top: 0;
    margin-top: 3em;
}

.custom-live-feed-v5 .custom-swiper-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: auto;
}

.custom-live-feed-v5 .custom-swiper-pagination .swiper-pagination-bullet {
    width: clamp(0.75rem, 0.357rem + 0.484vw, 0.938rem);
    height: clamp(0.75rem, 0.357rem + 0.484vw, 0.938rem);
    min-width: unset;
    border-radius: 50%;
    cursor: pointer;
    margin: 0;
    opacity: 1;
    background-color: var(--custom-live-feed-dot-color, var(--secondary-color));
    transition: all 0.35s ease-in-out;
}

.custom-live-feed-v5 .custom-swiper-pagination .swiper-pagination-bullet:hover,
.custom-live-feed-v5 .custom-swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
    background-color: var(--custom-live-feed-active-dot-color, var(--primary-color));
}

.custom-live-feed-v5 .custom-swiper-pagination .swiper-pagination-bullet:after {
    display: none;
}

.custom-live-feed-v5 .custom-swiper-controls.custom-swiper-navigation>button {
    background-color: transparent;
    padding: 0;
    border: 0;
    margin: 0;
    color: var(--custom-live-feed-arrow-color, var(--secondary-color));
}

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

    .custom-live-feed-v5 .lf-item__text,
    .custom-live-feed-v5 .lf-item__author {
        font-size: 17px;
    }

    .custom-live-feed-v5 .lf-item__timeAgo {
        font-size: 16px;
    }
}

@media only screen and (min-width: 768px) {
    .custom-live-feed-v5 .custom-swiper-controls.custom-swiper-navigation>button {
        width: clamp(1.563rem, 0rem + 2.083vw, 2.5rem);
        height: clamp(1.563rem, 0rem + 2.083vw, 2.5rem);
        font-size: clamp(0.375rem, -0.146rem + 0.694vw, 0.688rem);
        cursor: pointer;
    }

    .custom-live-feed-v5.live-feed-section .see-all-container.see-all-bottom {
        display: none;
    }

    .custom-live-feed-v5 .lf-container {
        /* max-width: 80vw;
    margin-inline: auto; */
        margin-top: 4vw;
        margin-block: 4vw;
    }

    .custom-live-feed-v5 .lf-item {
        transform: scale(0.8);
    }

    .custom-live-feed-v5 .lf-item.swiper-slide-prev {
        transform: translateX(2%) scale(0.8);
    }

    .custom-live-feed-v5 .lf-item.swiper-slide-next {
        transform: translateX(-2%) scale(0.8);
    }

    .custom-live-feed-v5 .lf-item.swiper-slide-active {
        transform: scale(1.1);
    }
}

@media only screen and (min-width: 1000px) {
    .custom-live-feed-v5 .lf-item.swiper-slide-prev {
        transform: translateX(-2%) scale(0.9);
    }

    .custom-live-feed-v5 .lf-item.swiper-slide-next {
        transform: translateX(2%) scale(0.9);
    }

    .custom-live-feed-v5 .lf-item.swiper-slide-active {
        transform: scale(1.1);
    }
}

@media only screen and (min-width: 1400px) {
    .custom-live-feed-v5 .lf-item {
        transform: scale(0.8);
    }

    .custom-live-feed-v5 .lf-item:has(+ .swiper-slide-prev) {
        transform: scale(0.8) translateX(-20%);
    }

    .custom-live-feed-v5 .lf-item.swiper-slide-next+.lf-item {
        transform: scale(0.8) translateX(20%);
    }

    .custom-live-feed-v5 .lf-item.swiper-slide-prev {
        transform: translateX(-20%) scale(0.95);
    }

    .custom-live-feed-v5 .lf-item.swiper-slide-next {
        transform: translateX(20%) scale(0.95);
    }

    .custom-live-feed-v5 .lf-item.swiper-slide-active {
        transform: scale(1.3);
    }
}

@media only screen and (max-width: 767px) {
    .custom-live-feed-v5 .live-feed__sliderArea {
        margin-inline: 25px;
        box-sizing: border-box;
    }

    .custom-live-feed-v5.style-bold .see-all-container.see-all-top .see-all-button {
        display: none;
    }

    .custom-live-feed-v5.style-bold .header-slot-container {
        padding-right: 0;
    }

    .custom-live-feed-v5 .custom-swiper-navigation {
        width: 100%;
        margin-top: 1.5em;
        justify-content: center;
        margin-bottom: 20px;
    }

    .custom-live-feed-v5 .see-all-container.see-all-bottom {
        text-align: center;
    }

    .custom-live-feed-v5::after {
        width: 100%;
    }
}

/* ---------- END Custom Live Feed ---------- */

/* ---------- START Events ---------- */
#home #events-e1 .events-info {
    padding-block: 32px;

    & .events-card:nth-child(odd) {
        --event-border-color: var(--tertiary-color);

        .event-tag {
            background: var(--tertiary-color);
        }
    }

    & .events-card:nth-child(even) {
        --event-border-color: var(--secondary-color);

        .event-tag {
            background: var(--secondary-color);
        }
    }
}

/* ---------- END Events ---------- */

/* ---------- START Custom Text, Icons and Images section ---------- */
#app #home .text-image-v2.style-bold .see-all-container {
    padding-inline: 20px;

    .header-slot-container h2 {
        color: #000;
    }
}

@media only screen and (min-width: 600px) {
    #app #home .text-image-v2.style-bold .see-all-container {
        padding-inline: 32px;

        .header-slot-container h2 {
            border-right: 4px solid var(--primary-color);
            padding-right: 24px;
            line-height: 1.25;
        }
    }

}

#app #home .text-image-v2.is-not-in-cms .section-bg-shape path {
    fill: var(--primary-color);
}

#app #home .text-image-v2.is-not-in-cms .row .column:last-child .image::after {
    background: var(--tertiary-color);
}

/* ---------- END Custom Text, Icons and Images section ---------- */

/* ---------- START Stats V1 "About Us" ---------- */
#app #home #stats-s1 .stats-wrapper {
    justify-content: center;
}

#app #home #stats-s1 .stats-wrapper .stats-info:nth-child(3n+1) {
    --card-bg-color: var(--primary-color);
    --card-border-color: var(--primary-color);
    --card-top-border: var(--primary-color);
}

#app #home #stats-s1 .stats-wrapper .stats-info:nth-child(3n+2) {
    --card-bg-color: var(--secondary-color);
    --card-border-color: var(--secondary-color);
    --card-top-border: var(--secondary-color);
}

#app #home #stats-s1 .stats-wrapper .stats-info:nth-child(3n+3) {
    --card-bg-color: var(--tertiary-color);
    --card-border-color: var(--tertiary-color);
    --card-top-border: var(--tertiary-color);
}

/* ---------- END Stats V1 "About Us" ---------- */

/* ---------- START Sponsors Bar ---------- */
#home .scroller-area,
#home .scroller-area .slide-pane {
    background: #F1F1F1;
}

/* ---------- START Sponsors Bar ---------- */