/* Change Dropdown to columns layout START*/
#view-header #cms-header {
    --columns: 4;
}

@media screen and (min-width: 1024px) and (max-width: 1280px) {
    #view-header #cms-header {
        --columns: 3;
    }
}

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

    #view-header #cms-header .m4-menu--drawer {
        display: flex;
        flex-direction: column !important;
    }

    #view-header #cms-header .m4-menu--drawer .m4--drawer-element {
        cursor: default;
    }

    #view-header #cms-header .m4-menu--drawer .m4-menu--drawer-title {
        width: 100%;
        max-width: calc(100% - 80px);
        margin: 5px 40px;
    }

    #view-header #cms-header .m4-menu--drawer .m4--drawer-element-title-icon {
        display: none;
    }

    #view-header #cms-header .m4-menu--drawer .m4--drawer-element-title-text {
        cursor: default;
        white-space: initial;
        text-align: left;
        margin-bottom: 0.5em;
    }

    #view-header #cms-header .m4-menu--drawer .m4--drawer-element-title-text .m4--menu-item-focusable {
        font-weight: 600;
    }

    #view-header #cms-header .m4-menu--drawer .m4--drawer-element-title-text .m4--menu-item-focusable .m4--menu-item-link {
        font-size: 1em;
        font-weight: 400;
    }

    #view-header #cms-header .m4-menu--drawer .m4-menu--drawer-content-wrapper {
        margin: 5px 30px;
        width: 100%;
        max-width: calc(100% - 60px);
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        height: 300px;
        max-height: 500px;

    }

    #view-header #cms-header .m4--drawer-element .m4--drawer-children {
        display: block !important;
    }

    #view-header #cms-header .m4-menu--drawer .m4--drawer-element.child-element {
        margin-left: 15px;
        height: unset;
        min-height: 40px;
    }

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

    #view-header #cms-header .m4-menu--drawer .m4--drawer-element-title a:hover {
        cursor: pointer;
        color: var(--secondary-color);
        text-decoration: underline;
    }

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

/* Change Dropdown to columns layout END*/

#home #programs-p1 .programs-wrapper .program .image-wrapper .content-box .hover-content .program-link a {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    font-size: 0;
    z-index: 2;
    display: block;
}

/* external file */

/* @media only screen and (min-width: 960px) {
    #app #container .event-cal .event-cal-content {
        margin-left: 10px;
    }

    #app #container .event-list-item .left .date {
        min-width: 100px;
        padding-left: 15px;
    }
} */
@import url("https://use.typekit.net/qlr5hlw.css");

#app,
body,
html,
button {
    font-family: "itc-avant-garde-gothic-pro", sans-serif !important;
    --font-family: "itc-avant-garde-gothic-pro", sans-serif !important;
    font-weight: 300;
}

#page * {
    font-family: "itc-avant-garde-gothic-pro", sans-serif !important;
    --font-family: "itc-avant-garde-gothic-pro", sans-serif !important;
}

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

    #cms-header .right .menu-field {
        font-size: 18px;
    }

    #cms-header .right .button-action-content svg {
        width: 28px;
        height: 28px;
    }

    #cms-header .right .button-action-content svg rect {
        fill: #fff;
    }

    #cms-header .right .button-action-content svg path {
        fill: var(--nav-color);
    }

}


#home {
    --side-padding: 32px;
}

.header-slot-container h2 {
    font-weight: 400;
    font-size: 32px;
    text-transform: uppercase;
}

.custom-header-slot-container {
    padding: 40px var(--side-padding) 0;
}

/* Header START */

#cms-header .logo {
    height: 90px;
}


#cms-header .school-info .name .org-name {
    font-size: 28px;
    text-transform: uppercase;
    font-weight: 700;
}


/* Header END */


body.huntsville-city-schools .header-slot-container--has-buttons,
body.test-district-site .header-slot-container--has-buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

    body.test-district-site #home .main #buttons-b3 .wrapper .button:not(:first-child),
    body.huntsville-city-schools #home .main #buttons-b3 .wrapper .button:not(:first-child) {
        border-left: 2px solid var(--secondary-color);
    }

    #home #buttons-b3 .wrapper .button .icon-wrapper {
        margin-bottom: clamp(15px, 1.061vw, 19px);
    }

    #home #buttons-b3 .wrapper .button {
        height: auto;
        min-height: clamp(139px, 9.162vw, 164px);
    }

    #home #buttons-b3 .wrapper .button .button-link {
        padding-top: clamp(36px, 2.235vw, 40px);
        padding-bottom: 20px;
    }

    #home #buttons-b3 .wrapper .button .icon-wrapper .raw-svg {
        width: clamp(35px, 2.235vw, 40px);
        height: clamp(35px, 2.235vw, 40px);
    }
}

body.huntsville-city-schools .custom-button,
body.test-district-site .custom-button {
    background-color: var(--primary-color);
    color: #fff;
    text-decoration: none;
    padding: .75em 1.5em;
    box-sizing: border-box;
    font-weight: 500;
}


/* Notifications START */

.homepage-notifications-slider {
    position: relative;
}

#homepage-notifications {
    padding: 40px var(--side-padding);
}

#homepage-notifications .custom-notifications {
    max-width: calc(100% - 100px);
    margin: auto;
}

#homepage-notifications .event-content .event-date {
    background-color: var(--primary-color);
    color: #fff;
    text-align: center;
    font-weight: 700;
    padding: 10px;
    font-size: 21px;
}

#homepage-notifications .event-content .event-title {
    border: 2px solid var(--secondary-color);
    display: flex;
    font-weight: 500;
    justify-content: center;
    align-items: center;
    min-height: 110px;
    text-transform: uppercase;
    text-align: center;
    padding: 10px 15px;
    font-size: 18px;
}

#homepage-notifications .event-content .event-hour {
    display: none;
}

.homepage-notifications-controls .swiper-button-prev {
    left: var(--side-padding);
}

.homepage-notifications-controls .swiper-button-next {
    right: var(--side-padding);
}

.swiper-button-prev-custom,
.swiper-button-next-custom {
    position: absolute;
    left: 0;
    height: 40px;
    top: calc(50% - 20px);
    left: 1%;
    cursor: pointer;
}

.swiper-button-prev-custom img,
.swiper-button-next-custom img,
.swiper-button-prev-custom svg,
.swiper-button-next-custom svg {
    max-height: 100%;
    stroke: var(--primary-color);
}

.swiper-button-next-custom {
    left: unset;
    right: 1%;
}

/* Notifications END */



/* Events START */

.homepage-events-outer {
    background-color: #f5f5f5;
}

#homepage-main-events {
    padding-top: 2vw;
    padding-bottom: 4vw;
    position: relative;
}

#homepage-main-events .homepage-events:after {
    content: close-quote;
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-image: var(--bgImage);
    background-repeat: no-repeat;
    background-position: top 15px right 0;
    opacity: .05;
    z-index: 1;
}

#homepage-main-events .custom-events {
    position: relative;
    z-index: 2;
    box-sizing: border-box;
}

#homepage-main-events .events-header {
    width: 100%;
    margin-bottom: 1vw;
}

/*
#homepage-main-events .custom-events__inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3%;
}
*/

#homepage-main-events .event-item {
    width: 280px;
    margin-top: 30px;
    margin-bottom: 35px;
}

#homepage-main-events .event-content {
    text-align: center;
}

#homepage-main-events .event-date {
    display: inline-flex;
    flex-wrap: wrap;
    padding-bottom: 10px;
    border-bottom: 1px solid #fff;
    margin-bottom: 30px;
}

#homepage-main-events .event-month {
    font-size: 25px;
    width: 100%;
    display: block;
}

#homepage-main-events .event-day {
    font-size: 45px;
    font-weight: 700;
    display: block;
    width: 100%;
}

#homepage-main-events .event-date--multiple .day-item {
    width: calc(50% - 20px);
}

#homepage-main-events .event-date--multiple {
    align-items: center;
}

#homepage-main-events .event-date--multiple .dateLinkWord {
    display: block;
    width: 40px;
}

#homepage-main-events h4.event-title {
    font-size: 20px;
    font-weight: 300;
    padding-left: 2.5%;
    padding-right: 2.5%;
}

#homepage-main-events .event-hour {
    margin-top: .75em;
    font-weight: 600;
    font-size: 14px;
}

.homepage-main-events-controls .swiper-button-prev {
    left: var(--side-padding);
}

.homepage-main-events-controls .swiper-button-next {
    right: var(--side-padding);
}

@media screen and (max-width: 1600px) {
    .custom-events__inner {
        gap: 2%;
    }
}



/* Events END */

/* First events section - bold style */
#home #events-e4.bold {
    padding: 0;
}

#events-e4.bold .see-all-container h2 {
    border-right: 0;
    font-weight: 400;
    padding-right: 0;
}

#events-e4.bold .see-all-container.see-all-top .light-header-accent {
    width: 56px;
    height: 2px;
    background-color: var(--header-accent-color);
    margin: 0 24px;
}

#events-e4.bold .see-all-container.see-all-top {
    justify-content: flex-start;
}

#events-e4.bold .see-all-container .see-all-button {
    margin-left: auto;
    border-radius: 4px;
    min-width: 116px;
    padding: 12px;
    text-align: center;
    cursor: pointer;
    width: fit-content;
    text-decoration: none;
    color: #FFF;
    background-color: var(--primary-color);
    border: 0;
}

#home #events-e4.bold .events-info {
    border-radius: 0;
}

#home #events-e4.bold .events-info .events-card {
    padding: 0 0 20px;
    border: 0;
    box-sizing: border-box;
    text-align: center;
    border: 2px solid var(--event-separator-color);
    border-top: 0;
    margin-bottom: 16px;
}

@media only screen and (max-width: 600px) {
    #events-e4.bold .see-all-container .see-all-button {
        margin-inline: auto;
    }
}

#home #events-e4.bold .events-info .events-card .events-date {
    background: var(--date-color);
    color: #FFF;
    text-align: center;
    box-sizing: border-box;
    padding: 10px 5px;
    margin-left: -2px;
    margin-right: -2px;
    border-bottom: 2px solid var(--event-separator-color);
    margin-bottom: 35px;
    font-size: 21px;
    font-weight: 600;
}

#home #events-e4.bold .events-info .events-card .events-title {
    font-size: 21px;
    text-transform: uppercase;
    padding-inline: 5px;
}

#home #events-e4.bold .events-info .events-card .events-time {
    text-align: center;
    justify-content: center;
}

#home #events-e4.bold .events-info .events-card .events-card-mobile-border-right,
#home #events-e4.bold .events-info .events-card .events-card-mobile-border-top,
#events-e4.bold .see-all-container .see-all-button {
    display: none;
}

@media only screen and (min-width: 600px) and (max-width: 959px) {
    #home #events-e4.bold .events-info .events-card {
        margin-inline: 8px;
        width: calc(50% - 16px);
    }
}

@media only screen and (min-width: 960px) {
    #home #events-e4.bold .events-info .events-card {
        padding-inline: 8px;
        margin-bottom: 0;
        box-sizing: border-box;
        isolation: isolate;
        border: 0;
    }

    #home #events-e4.bold .events-info .events-card::after {
        position: absolute;
        top: 0;
        left: 6px;
        right: 6px;
        border: 2px solid var(--event-separator-color);
        border-top: 0;
        content: no-close-quote;
        bottom: 0;
        box-sizing: border-box;
        z-index: -1;
    }
}

@media only screen and (min-width: 1200px) {
    #home #events-e4.bold .events-info .events-card {
        padding-inline: 17px;
    }

    #home #events-e4.bold .events-info .events-card::after {
        left: 15px;
        right: 15px;
    }
}

@media only screen and (max-width: 960px) {
  #home #events-e4.bold .see-all-container .see-all-button {
    display: initial !important;
  }
}

@media only screen and (max-width: 600px) {
  #home #events-e4.bold .see-all-container .see-all-button {
    margin-bottom: 30px;
  }
}

#home #events-e4 .events-info .events-card .events-time .tag-tooltip {
    display: none;
}

/* End - first events section - bold style */

/* Videos START */

#homepage-videos {
    padding: 40px var(--side-padding);
    max-width: calc(100% - 2 * var(--side-padding));
    margin: auto;
}

#homepage-videos .video-element-inner {
    display: flex;
    flex-direction: column;
    min-height: 305px;
    background-color: #fff;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
}

#homepage-videos .video-element-inner .title-wrap {
    order: 2;
    min-height: 130px;
    display: flex;
    align-items: center;
    text-align: center;
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
}

#homepage-videos .video-element-inner .title-wrap h1,
#homepage-videos .video-element-inner .title-wrap h2,
#homepage-videos .video-element-inner .title-wrap h3 {
    width: 100%;
}

#homepage-videos .video-element-inner iframe {
    width: 100%;
    height: unset;
    aspect-ratio: 16/9;
}

#homepage-videos .video-placeholder a:after {
    content: close-quote;
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: #0000006b;
    z-index: 2;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'><path d='M12 0c-6.627 0-12 5.373-12 12s5.373 12 12 12 12-5.373 12-12-5.373-12-12-12zm-3 17v-10l9 5.146-9 4.854z' fill='%23fff'/></svg>");
    background-size:
        50px;
    background-position: center;
    background-repeat: no-repeat;
}

#homepage-videos .video-placeholder a {
    display: block;
    font-size: 0;
    width: 100%;
    height: 100%;
    position: relative;
}

#homepage-videos .video-placeholder img {
    width: 100%;
    aspect-ratio: 16/9;
}

.homepage-videos-controls {
    padding: 0 var(--side-padding) 40px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.homepage-videos-controls .swiper-button-next-custom-vids,
.homepage-videos-controls .swiper-button-prev-custom-vids,
.homepage-videos-controls .swiper-button-next-custom-counter,
.homepage-videos-controls .swiper-button-prev-custom-counter,
.homepage-flip-controls .swiper-button-next-custom-flip,
.homepage-flip-controls .swiper-button-prev-custom-flip {
    cursor: pointer;
}

/* Videos END */


/* COUNTERS START */

/*
@property --num {
    syntax: "<integer>";
    initial-value: 0;
    inherits: false;
}

.about-us-element .title-wrap span {
    --num: 0;
    transition: --num 5s;
    counter-reset: num var(--num);
}

.about-us-element .title-wrap span::after {
    content: counter(num);
}
*/

.custom-about {
    background-color: var(--primary-color);
    color: #fff;
}

.custom-about {
    position: relative;
    isolation: isolate;
}

.custom-about:after {
    content: close-quote;
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-image: url(https://cmsv2-shared-assets.apptegy.net/Schools/Huntsville-City-Schools-4113/classroom-1-huntsville-city-schools.jpeg);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    opacity: .15;
    z-index: -1;
}

#home .custom-about .custom-button {
    background-color: var(--secondary-color);
    color: #000;
}

#custom-homepage-about {
    padding: 40px var(--side-padding);
    position: relative;
    z-index: 1;
    height: 442px;
}

.swiper:not(.swiper-initialized) .about-us-numbers {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
}

.abount-us-counter-element {
    text-align: center;
    border-bottom: 1px solid var(--secondary-color);
    border-right: 1px solid var(--secondary-color);
    min-height: 180px;
    padding-top: 40px;
    padding-left: 10px;
    padding-right: 10px;
    box-sizing: border-box;
}

.swiper.swiper-initialized .abount-us-counter-element {
    height: calc(100% /2) !important;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.swiper.swiper-initialized .abount-us-counter-element:nth-child(even) {
    border-bottom: none;
}

.swiper.swiper-initialized .abount-us-counter-element:nth-child(9),
.swiper.swiper-initialized .abount-us-counter-element:nth-child(10) {
    border-right: none;
}

@media screen and (max-width: 320px) {
    #custom-homepage-about.swipper {
        height: calc((100% - 30px) / 3);
    }
}

@media screen and (max-width: 768px) {
    #custom-homepage-about.swipper {
        height: calc((100% - 30px) / 2);
    }
}

.about-us-numbers .title-wrap {
    font-size: 40px;
    font-weight: 700;
    line-height: 150%;
}

.about-us-numbers .text-wrap {
    font-size: 20px;
    margin-top: 1em;
}

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

    .swiper:not(.swiper-initialized) .abount-us-counter-element:nth-child(6),
    .swiper:not(.swiper-initialized) .abount-us-counter-element:nth-child(7),
    .swiper:not(.swiper-initialized) .abount-us-counter-element:nth-child(8),
    .swiper:not(.swiper-initialized) .abount-us-counter-element:nth-child(9),
    .swiper:not(.swiper-initialized) .abount-us-counter-element:nth-child(10) {
        border-bottom: none;
    }

    .swiper:not(.swiper-initialized) .abount-us-counter-element:nth-child(5),
    .swiper:not(.swiper-initialized) .abount-us-counter-element:nth-child(10) {
        border-right: none;
    }
}



@media screen and (max-width: 1400px) {
    .about-us-numbers .title-wrap {
        font-size: 30px;
    }

    .abount-us-counter-element {
        min-height: 150px;
        padding-top: 20px;
    }

    #custom-homepage-about {
        height: 400px;
    }
}

@media screen and (max-width: 1200px) {
    .about-us-numbers .title-wrap {
        font-size: 24px;
    }

    .about-us-numbers .text-wrap {
        font-size: 16px;
    }
}

@media screen and (max-width: 960px) {
    .swiper:not(.swiper-initialized) .about-us-numbers {
        grid-template-columns: repeat(2, 1fr);
    }

    .swiper:not(.swiper-initialized) .abount-us-counter-element:nth-child(even) {
        border-right: none;
    }

    .swiper:not(.swiper-initialized) .abount-us-counter-element:nth-last-child(1) {
        border-bottom: none;
    }

    .swiper:not(.swiper-initialized) .abount-us-counter-element:nth-last-child(2) {
        border-bottom: none;
    }

    .abount-us-counter-element {
        min-height: 120px;
    }

    #custom-homepage-about {
        height: 300px;
    }
}

@media screen and (max-width: 450px) {
    .swiper:not(.swiper-initialized) .swiper:not(.swiper-initialized) .about-us-numbers {
        grid-template-columns: repeat(1, 1fr);
    }

    .swiper:not(.swiper-initialized) .abount-us-counter-element {
        border-right: none;
    }

    #custom-homepage-about {
        height: 270px;
    }
}

/* COUNTERS END */


/* FLIP AREA START */

#flip-area.swiper-initialized {
    max-width: 1580px;
    width: 95%;
    margin: 3em auto 1em;
}

#flip-area.swiper-initialized .swiper-slide {
    box-sizing: border-box;
    padding-inline: 20px;
}

.swiper:not(.swiper-initialized) .flip-area-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    column-gap: 5%;
    margin-top: 3em;
}

.flip-card {
    background-color: transparent;
    width: 100%;
    max-width: 215px;
    height: 315px;
    /* border: 1px solid #f1f1f1; */
    perspective: 1000px;
    box-sizing: border-box;
    margin-inline: auto;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.flip-card {
    margin-top: .75em;
    margin-bottom: .75em;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border: 5px solid var(--secondary-color);
    box-sizing: border-box;
}

.flip-card-title {
    text-transform: uppercase;
    word-break: break-word;
}

.flip-card-front {
    background-color: var(--primary-color);
    color: #fff;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding: 10% 15px;
}

.flip-card-icon svg {
    fill: #fff;
    width: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 10px;
    margin: auto;
}

.flip-card-icon .icon-wrap {
    margin: auto;
    display: block;
}

.flip-card-back {
    background-color: var(--secondary-color);
    color: #000;
    transform: rotateY(180deg);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.custom-flip-area-bottom {
    text-align: center;
    margin-top: 4em;
    margin-bottom: 4em;
}

.homepage-flip-controls {
    padding: 0 var(--side-padding);
    display: flex;
    justify-content: center;
    gap: 10px;
}

@media screen and (max-width: 1600px) {
    .swiper:not(.swiper-initialized) .flip-area-inner {
        column-gap: 20px;
    }
}

@media screen and (max-width: 1200px) {
    #flip-area.swiper-initialized .swiper-slide {
        padding-inline: 10px;
    }

    .homepage-videos-controls .swiper-button-next-custom-vids svg,
    .homepage-videos-controls .swiper-button-prev-custom-vids svg,
    .homepage-videos-controls .swiper-button-next-custom-counter svg,
    .homepage-videos-controls .swiper-button-prev-custom-counter svg,
    .homepage-flip-controls .swiper-button-next-custom-flip svg,
    .homepage-flip-controls .swiper-button-prev-custom-flip svg {
        width: 45px;
        height: 45px;
    }
}

/* FLIP AREA END */


/* Footer START */

#cms-footer #footer-f1 .footer-column-main h2,
#cms-footer #footer-f1 .footer-columns h2,
#cms-footer #footer-f1 .footer-column-last h2 {
    font-size: 30px;
}

#footer-f1 .footer-columns {
    line-height: .5;
}

#footer-f1 .footer-columns h2 {
    padding-bottom: 30px !important;
}

#cms-footer #footer-f1 .footer-column-last {
    text-align: right;
}

#cms-footer #footer-f1 .footer-column-last a img.app-link {
    margin-right: 0;
    margin-left: auto;
    display: block;
}

#cms-footer #footer-f1 .footer-column-last .footer-social-links img {
    border-radius: 8px
}

#cms-footer {
    position: relative;
    isolation: isolate;
}

#cms-footer:after {
    content: close-quote;
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-image: url(https://cmsv2-shared-assets.apptegy.net/Schools/Huntsville-City-Schools-4113/huntsville-footer-bg.jpeg);
    background-repeat: no-repeat;
    /* background-attachment: fixed; */
    background-size: cover;
    opacity: .15;
    z-index: -1;
}

#cms-footer #footer-f1 {
    background-color: transparent;
}

/* Disclaimer Edits */
#cms-footer .apptegy-copyright {
    width: 100%;
    box-sizing: border-box;
    color: #ffff;
    background-color: #660015;
    border-top: none;
    min-height: 130px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

#cms-footer .additional-text {
    width: 100%;
    padding-left: 2%;
    padding-right: 2%;
    font-size: 13px;
    line-height: 1.4;
}

/* ---- Footer Additional Text Fix ---- */
#footer-f1 .apptegy-copyright.f1 {
    border-top: none !important;
    width: calc(100% + 9.5%) !important;
    margin: 0 !important;
}

#footer-f1 .apptegy-copyright span:nth-child(1) {
    font-size: 16px !important;
    font-weight: 700 !important;;
    text-transform: uppercase;
    margin-bottom: .75em !important;;
}

#footer-f1 .apptegy-copyright span:nth-child(2) {
    display: none !important;
}

#footer-f1 .additional-text-bottom {
    padding-top: 0 !important;
    width: 100% !important;
}

#footer-f1 .additional-text-bottom p {
    padding-left: 2%;
    padding-right: 2%;
    font-size: 13px !important;
    line-height: 1.4 !important;;
}
/* ---- Footer Additional Text Fix ---- */

/* Footer END */

/* Button Link PDF Icon */
#page .button.button-type-link svg,
#page .button.link svg {
    display: none;
}

#page .button.button-type-link::before,
#page .button.link::before {
    display: block;
    position: relative;
    content: close-quote;
    background-image: url('https://upload.wikimedia.org/wikipedia/commons/thumb/8/87/PDF_file_icon.svg/32px-PDF_file_icon.svg.png');
    background-size: 16px 20px;
    width: 16px;
    height: 20px;
}

#page .button.button-type-link .title-text,
#page .button.link .title {
    min-width: unset;
    margin: 6px 10px;
}
/* Button Link PDF Icon */

/* Article Changes */


#news-article .article-image {
    display: none;
}

@media screen and (max-width: 960px) {
  #news-list .article-image {
    width: 100% !important;
    margin-bottom: 10px;
  }

  #news-list .article-info {
    width: 100% !important;
  }

  #news-list .article-info .title h2 {
    font-size: 20px !important;
  }
}

/* Article Changes */

/* Hiding Documents Breadcrumbs */
#documents .breadcrumb {
    display: none;
}

/* Hiding Documents Breadcrumbs */

/* Hiding Event Filters */
.event-cal .event-filters div:nth-child(n + 4) {
    display: none;
}

/* Hiding Event Filters */


/* sections title dash lines all green */
.custom-header-slot-container h2 {
    position: relative;
    display: inline-block;
}

.custom-header-slot-container h2::after {
    content: no-close-quote;
    width: 56px;
    height: 2px;
    background: var(--secondary-color);
    margin: 0 24px;
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
}

@media only screen and (max-width: 600px) {
    .custom-header-slot-container .buttons-right {
        position: absolute;
        bottom: 20px;
        left: 0;
        width: 100%;
        box-sizing: border-box;
        text-align: center;
        z-index: 1;
    }

    .homepage-notifications-slider,
    .custom-about {
        padding-bottom: 40px;
    }

    body.test-district-site .custom-button,
    body.huntsville-city-schools .custom-button {
        display: inline-block;
    }
}

/* sections title dash lines all green end */

#view-header #schools-menu-sm1 {
    top: 100%;
    padding-top: 30px;
}

/* mobile-tablet fix */
@media only screen and (max-width: 960px) {
    #view-header #h1 .right {
        padding-top: 0;
    }

    #cms-gallery .responsive-image img,
    #cms-gallery .video,
    #cms-gallery .img-slider,
    #cms-gallery .video-wrapper {
        min-height: 200px;
        object-fit: cover;
    }

    #home #buttons-b3 .wrapper .button .button-link {
        padding: 10px 20px;
    }

    #home #programs-p1 .programs-wrapper .program .image-wrapper {
        padding-top: 50%;
    }

    /*
    #home #programs-p1 .programs-wrapper .program .image-wrapper:hover {
        padding-top: 66.66%;
    }
*/
    #home #programs-p1 .programs-wrapper .program .image-wrapper .content-box .title {
        font-size: 18px;
        line-height: 1.2;
    }

    #home #programs-p1 .programs-wrapper .program {
        margin-bottom: 10px;
    }

    #home #events-e4.bold .events-info .events-card {
        padding-bottom: 10px;
    }

    #home #events-e4.bold .events-info .events-card .events-date {
        font-size: 17px;
        margin-bottom: 15px;
        padding: 5px;
    }

    #home #events-e4.bold .events-info .events-card .events-time {
        padding-top: 5px;
    }

    #home #events-e4.bold .events-info .events-card .events-title {
        font-size: 18px;
    }

    #home #events-e4.bold .events-info {
        padding-bottom: 10px;
    }

    #home #events-e4.light .events-info .events-card .events-title {
        font-size: 18px;
        margin-top: 5px;
    }

    #cms-footer #footer-f1 .footer-column-last {
        text-align: center;
    }

    #cms-footer #footer-f1 .footer-column-last a img.app-link {
        margin-inline: auto;
    }

    #view-header #h1 .right .right-left-menu {
        width: 48%;
        min-width: 233px;
    }

    #view-header #h1 .header-container {
        padding-left: 10px;
        padding-right: 10px;
    }

    #news-n5 .see-all-bottom a {
        padding: 12px !important;
        min-width: 200px;
    }

    .custom-header-slot-container h2::after {
        left: auto;
        right: 0;
        margin: 0;
    }

    .custom-header-slot-container h2 {
        padding-right: 75px;
        box-sizing: border-box;
    }
}

@media (max-width: 600px) {

    #view-header #h1 .right .right-left-menu .explore-menu-container,
    #view-header #h1 .right .right-left-menu .schools-menu-container {
        width: auto;
        margin-top: 0;
    }

    #view-header #h1 .right .right-left-menu .schools-menu-container {
        margin-left: 20px;
    }

    #view-footer #footer-f1 .footer-column-main,
    #view-footer #footer-f1 .footer-columns,
    #view-footer #footer-f1 .footer-column-last {
        padding-right: 0;
    }

    #home .view-container .see-all-container.see-all-top {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    body.test-district-site .header-slot-container--has-buttons,
    body.huntsville-city-schools .header-slot-container--has-buttons {
        justify-content: center;
    }

    .custom-header-slot-container h2::after {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        bottom: 0;
        top: auto;
    }

    .custom-header-slot-container h2 {
        padding-bottom: 14px;
        padding-right: 0;
        text-align: center;
    }

    #home #events-e4 .events-info .events-card {
        padding-right: 4px;
        text-align: center;
    }

    #home #events-e4 .events-info .events-card .events-time {
        text-align: center;
        justify-content: center;
    }
}

@media (max-width: 500px) {
    #view-header .logo {
        height: auto;
        max-width: 300px;
    }

    #view-header #h1 .right {
        padding-top: 0;
        flex-wrap: wrap;
    }

    #view-header #h1 .right .right-left-menu,
    #view-header #h1 .right .right-right-menu {
        width: 100%;
        justify-content: center;
        margin-bottom: 15px;
    }
}

/* end mobile fix */



/* CUSTOM ALERT MODAL START */

#container.hasCustomModal {
    position: relative;
}

.modalOuter {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    z-index: 3;
    visibility: visible;
    opacity: 1;
    color: var(--modal-text-color);
    transition: all .5s linear;
}

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

.modalInner {
    width: 100%;
    padding: 20px 0 40px 0;
    position: relative;
    z-index: 2;
}

.modalElement {
    display: flex;
    padding-left: 2em;
    padding-right: 2em;
    padding-bottom: 30px;
    align-items: center;
    border-radius: 5px;
    font-size: 16px;
    position: relative;
    box-sizing: border-box;
    box-shadow: 10px 10px 25px 0px rgba(0, 0, 0, 0.25);
    background-color: var(--background-color);
    color: var(--text-color);
}

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

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

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

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


.modalHtml {
    padding-top: 1em;
}

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

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



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

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

.modalHtml ul {
    padding-left: 0;
}

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

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

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

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

.modalHtml .text-wrap a {
    color: var(--secondary-color);
    text-decoration: none;
}

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

.modalHtml a.button-element {
    font-size: 1.25em;
    padding: .5em 1.5em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: currentcolor;
    border-radius: 5px;
    border: 1px solid var(--secondary-color);
    text-decoration: none;
    margin-top: .75em;
    margin-bottom: .75em;
    transition: all .25s linear;
}

.modalHtml a.button-element:hover {
    background-color: var(--secondary-color);
}

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

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

.closeModal:focus {
    color: #b7b7b7;
}

.closeModal:hover {
    color: #b7b7b7;
}

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

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

.triggerModalWhenHidden {
    position: fixed;
    width: 50px;
    height: 50px;
    right: 20px;
    bottom: 20px;
    cursor: pointer;
    background-color: #fff;
    padding: 2px;
    border-radius: 50%;
    background-image: url(https://5il.co/1s5w5);
    background-size: calc(100% - 2px);
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
    opacity: 0;
    visibility: hidden;
    transition: all .5s linear;
}

.hiddenModal .triggerModalWhenHidden {
    z-index: 3;
    opacity: 1;
    visibility: visible;
}

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

@media screen and (max-width: 960px) {

    modalElement {
        max-width: calc(100% - 30px);
    }

    .closeModal {
        top: 10px;
        right: 10px;
    }

    .modalElement {
        font-size: 16px;
    }
}

.modalLogo {
    position: absolute;
    bottom: 15px;
    right: 58px;
    z-index: 1;
}

.modalLogo,
.modalLogoImg {
    opacity: var(--logo-opacity);
    max-height: var(--logo-max-height);
    max-width: var(--logo-max-width);
}


.hasCustomModal--banner .modalOuter {
    position: static;
}

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

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

/* CUSTOM ALERT MODAL END */

/* Truncating Event Descriptions */
.event-cal .event-list-item .description {
    visibility: hidden;
    position: absolute;
}
/* hides bullet after truncation dotdotdot */
.event-cal .description.is-truncated li:last-child {
  display: none;
}
/* adjust events spacing */
.event-cal .description p {
    margin-bottom: 19px;
    line-height: 1.5 !important;
    white-space: pre-wrap;
}

.event-cal .description ul, .event-cal .description ol {
    margin-bottom: 19px;
}

.event-cal .description ul li p, .event-cal .description ol li p {
    margin: 0;
}
/* Truncating Event Descriptions */

/* Remove Dining page underlines */
#menu-list h3 {
    text-decoration: none !important;
}

/* End Dining page style */

/* News and Page iFrames */

@media screen and (max-width: 959px) {
  #page iframe {
    width: 100% !important;
  }

  #news-article iframe {
    width: 100% !important;
  }
}
/* News and Page iFrames */

/* Buttons - Full Width Left & Right Sidebar */
#page .column.right-sidebar:nth-child(2) .buttons-container,
#page .column.right-sidebar:nth-child(2) .buttons-container .button,
#page .ts-right-sidebar.column:nth-child(2) .button {
    width: 100%;
}

#page .column.left-sidebar:nth-child(1) .buttons-container,
#page .column.left-sidebar:nth-child(1) .buttons-container .button,
#page .ts-left-sidebar.column:nth-child(1) .button {
    width: 100%;
}
/* Buttons - Full Width Left & Right Sidebar */
/* New PB - Ordered & Unordered Lists */
#page .pb-text ol,
#page .pb-text ul {
    margin-top: 0;
    margin-left: 0;
    padding-left: 40px;
    line-height: 1.5;
    white-space: pre-wrap;

    li {
        list-style-position: outside;
        padding-left: 0;
    }

    li::marker {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}
/* New PB - Ordered & Unordered Lists */

/* ------------ START Mobile Events ------------ */
@media screen and (max-width: 960px) {
    .custom-buttons {
        flex-flow: row wrap;
        justify-content: center;
        align-items: center;
    }

    .custom-buttons a {
        min-width: 100%;
        justify-content: center;
    }

    .event-cal-container .event-list-item .left {
        flex-direction: column !important;
        margin-left: 1em;
    }

    .event-cal-container .event-list-item .left .date {
        padding: 0 23px 23px 0 !important;
    }
}
/* ------------ END Mobile Events ------------ */
/* ------------ START Firefox Resize for Let's Talk Widget ------------ */
#wraperTab .previewDiv.leftLT .previewTab {
  height: 195.047px !important;
}

#wraperTab .previewTabText {
  width: auto !important;
}
/* ------------ END Firefox Resize for Let's Talk Widget ------------ */

.banner .banner-wrapper .close {
    display: none !important;
}
