/* #cms-header #alert-banner + .header-bar-wrapper:not(.sticky) {
    margin-bottom: calc(-1 * var(--header-height)) !important;
} */

/* button bar v3 custom changes */
#home .view-container #buttons-b3 .wrapper {
    /*flex-wrap: wrap;
      justify-content: center;*/
    background-color: var(--button-bg-color);
    box-sizing: border-box;
    padding: 20px 40px 10px;
}

#home .view-container #buttons-b3 .wrapper .button {
    /* 
          
          min-width: 205px;
          flex-grow: 0;
        width: auto; 
        */
    height: auto;
    padding: 0 8px;
    border: 0;
    background: transparent;
    margin-bottom: 10px;
    box-sizing: border-box;

}

#home .view-container #buttons-b3 .wrapper .button:hover {
    -webkit-filter: none;
    filter: none;
}

#home .view-container #buttons-b3 .wrapper .button .button-link {
    font-size: 15px;
    padding: 0;
}

#home .view-container #buttons-b3 .wrapper .button .button-title {
    text-transform: none;
    display: inline-block;
    margin-top: 7px;
    position: relative;
}

#home .view-container #buttons-b3 .wrapper .button .button-title:before {
    height: 2px;
    width: 0%;
    position: absolute;
    left: 0;
    bottom: -4px;
    content: close-quote;
    font-size: 0;
    background: var(--icon-and-text-color);
    transition: all 0.3s ease-in-out;
}

#home .view-container #buttons-b3 .wrapper .button:hover .button-title:before {
    width: 100%;
}

#home .view-container #buttons-b3 .wrapper .button .icon-wrapper,
#home .view-container #buttons-b3 .wrapper .button .icon-wrapper .raw-svg span {
    height: 90px;
    width: 105px;
    display: flex;
    flex-direction: column;
    align-content: center;
    justify-content: center;
    position: relative;
    margin: 0 auto;
}

#home .view-container #buttons-b3 .wrapper .button .icon-wrapper:before {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    content: close-quote;
    font-size: 0;
    display: block;
    z-index: 0;
    background: url(https://cmsv2-shared-assets.apptegy.net/Global/Images/Site-Images/btn-shape-1-blue.svg) no-repeat center center;
    background-size: contain;
    transition: all 0.3s ease-in-out;
}

#home .view-container #buttons-b3 .wrapper .button:nth-child(6n+2) .icon-wrapper:before,
#home .view-container #buttons-b3 .wrapper .button:nth-child(4) .icon-wrapper:before {
    transform: rotate(-186deg);
}

#home .view-container #buttons-b3 .wrapper .button:nth-child(3) .icon-wrapper:before,
#home .view-container #buttons-b3 .wrapper .button:nth-child(6) .icon-wrapper:before {
    background: url(https://cmsv2-shared-assets.apptegy.net/Global/Images/Site-Images/btn-shape-3-blue.svg) no-repeat center center;
    background-size: contain;
}

#home .view-container #buttons-b3 .wrapper .button:hover .icon-wrapper:before {
    -webkit-filter: brightness(50%);
    filter: brightness(50%);
}

#home .view-container #buttons-b3 .wrapper .button .icon-wrapper .raw-svg svg {
    width: 60%;
    height: 50%;
}

#home .view-container #buttons-b3 .wrapper .button .icon-wrapper .raw-svg svg path {
    fill: #b5beea;
}

#home .view-container #buttons-b3 .wrapper .button:nth-child(6n+2) .icon-wrapper .raw-svg svg path {
    fill: #8cc9c0;
}

#home .view-container #buttons-b3 .wrapper .button:nth-child(3) .icon-wrapper .raw-svg svg path {
    fill: #f1be50;
}

#home .view-container #buttons-b3 .wrapper .button:nth-child(4) .icon-wrapper .raw-svg svg path {
    fill: #b5beea;
}

#home .view-container #buttons-b3 .wrapper .button:nth-child(5) .icon-wrapper .raw-svg svg path {
    fill: #8cc9c0;
}

#home .view-container #buttons-b3 .wrapper .button:nth-child(6) .icon-wrapper .raw-svg svg path {
    fill: #f1be50;
}

#home .view-container #buttons-b3 .wrapper .button:nth-child(7) .icon-wrapper .raw-svg svg path {
    fill: #b5beea;
}

@media only screen and (max-width: 800px) {
    #home .view-container #buttons-b3 .wrapper {
        padding: 40px 15px;
    }

    #home .view-container #buttons-b3 .wrapper .button .button-link {
        font-size: 14px;
    }

    #home .view-container #buttons-b3 .wrapper .button .icon-wrapper,
    #home .view-container #buttons-b3 .wrapper .button .icon-wrapper .raw-svg span {
        height: 80px;
        width: 100px;
    }

    #home .view-container #buttons-b3 .wrapper .button .icon-wrapper .raw-svg svg {
        width: 50%;
    }
}

/*end button bar v3 custom changes*/



/* schools dropdown changes */
.fullWidthMenu #schoolsmenu #schools-menu-sm1 {
    top: 0;
    bottom: auto;
    z-index: 999;
    box-sizing: border-box;
    height: 100vh;
    padding-top: 55px;
    overflow: visible;
    padding-bottom: 0;
}

#closeSchools {
    background: none;
    border: none;
    cursor: pointer;
    font: inherit;
    padding: 0;
    position: absolute;
    top: 15px;
    right: 15px;
}

#closeSchools:focus {
    outline: 2px solid var(--utility-link-color);
}

#closeSchools #close_modal_icon {
    fill: #FFF !important;
}

.fullWidthMenu #schools-menu-sm1 .wrapper {
    max-height: calc(100vh - 150px);
    overflow: auto;
}

#searchItem {
    width: 100%;
    margin-bottom: 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    box-sizing: border-box;
    padding: 10px;
    gap: 10px;
}

#searchItem label {
    font-size: 25px;
    line-height: 1.1;
    color: #FFF;
    margin: 0 10px;
}

#searchItem #findSchool {
    width: 300px;
    height: 30px;
    line-height: 30px;
    padding: 0 15px;
    border: 0;
    font-size: 17px;
    color: #000;
    border-radius: 5px;
}

.fullWidthMenu #schools-menu-sm1 .hide {
    display: none !important;
}

@media only screen and (max-width: 600px) {
    .fullWidthMenu #schools-menu-sm1 .schools-menu-arrow {
        display: none;
    }

    .child-ul {
        display: block !important;
    }

    .fullWidthMenu #schools-menu-sm1 .wrapper {
        max-height: calc(100vh - 190px);
    }

    #searchItem {
        margin-bottom: 10px;
    }

    #view-header.fullWidthMenu #schoolsmenu #schools-menu-sm1 {
        padding-top: 45px !important;
    }

    .fullWidthMenu #schools-menu-sm1 .wrapper,
    #view-header.fullWidthMenu .sticky .column:last-of-type {
        padding-bottom: 30px;
    }
}

/* center middle column */
#view-footer #footer-f1 .footer-column-main,
#view-footer #footer-f1 .logo-wrapper {
    text-align: center;
}

@media only screen and (min-width: 600px) {
    #view-footer #footer-f1 .footer-column-main+.footer-columns {
        flex-grow: unset;
        min-width: 326px;
    }
}

/* END schools dropdown changes */
#view-footer #footer-f1 .footer-column-main+.footer-columns {
    order: -1;
}

@media only screen and (max-width: 600px) {
    #view-footer #footer-f1 .footer-column-main+.footer-columns {
        order: 1;
    }
}

/* Change footer icons */
#cms-footer {
    --social-icon-color: #FFC030;
    --social-icon-color-hover: #FFF;
    --social-icon-size: 45px;
}

#cms-footer .footer-social-links li a img {
    display: none;
}

#cms-footer .footer-social-links li a svg {
    width: var(--social-icon-size);
    height: var(--social-icon-size);
}

#cms-footer .footer-social-links li a svg,
#cms-footer .footer-social-links li a svg g,
#cms-footer .footer-social-links li a svg path {
    fill: var(--social-icon-color);
    filter: brightness(1.01);
    transition: fill .25s linear;
}

#cms-footer .footer-social-links li a:hover svg,
#cms-footer .footer-social-links li a:hover svg g,
#cms-footer .footer-social-links li a:hover svg path {
    fill: var(--social-icon-color-hover);
}

/* END Change footer icons */

/*Mobile Changes*/
@media only screen and (max-width: 600px) {
    #h2 .right-mobile .right-left-menu .explore-menu-container {
        z-index: 9999;
    }

    .fullWidthMenu .explore-menu-container {
        display: none !important;
    }

    #schoolsbutton span svg {
        display: block;
        transform: translate(0px, -25px) !important;
    }

    #h2 div.header-container.shrink.logo-circle #schoolsbutton span svg {
        padding-top: 1px !important;
    }

    #schoolsbutton span .menu-field {
        display: block;
        padding: 0px 0px 1px 28px !important;
    }

    #h2 .right-mobile {
        padding: 24px 0 0px 0px !important;
    }

    #view-footer #footer-f1 .footer-column-main+.footer-columns {
        order: 1 !important;
    }
}

/* Mobile Gallery Changes*/
@media only screen and (min-width: 960px) and (max-width: 1280px) {
    #g2 .text .title {
        margin-bottom: 28px !important;
    }

    #g2 .position {
        bottom: 15px !important;
    }

    #g2 .text .description {
        padding: 40px 65px 30px 40px !important;
    }

    .title h1 {
        font-size: 26px !important;
    }
}

/* Alert banner icon */
#view-header #alert-banner {
    isolation: isolate;
}

#view-header #alert-banner::after {
    content: no-close-quote;
    font-size: 0;
    display: block;
    background: #FABC30 url(https://cmsv2-shared-assets.apptegy.net/Global/Images/Icons/info-blue-icon.svg) no-repeat center center;
    background-size: 30% auto;
    position: absolute;
    left: 50%;
    top: 10px;
    transform: translateX(-50%);
    height: 40px;
    width: 40px;
    aspect-ratio: 1/1;
    border-radius: 50%;
    max-width: 80%;
    z-index: -1;
}

@media only screen and (min-width: 600px) {
    #view-header #alert-banner {
        padding-left: 90px;
    }

    #view-header #alert-banner::after {
        left: 20px;
        top: 50%;
        transform: translateY(-50%);
        height: 52px;
        width: 52px;
        max-height: 90%;
    }
}

@media only screen and (min-width: 600px) and (max-width: 1024px) {
    #view-header #alert-banner::after {
        width: 45px;
        height: 45px;
    }
}

@media only screen and (max-width: 599px) {
    #view-header #alert-banner {
        padding-top: 60px;
        text-align: center;
    }
}
/* End Alert banner icon */


/* START CUSTOM NEWS */

.news-articles-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.news-articles-list:before {
    content: "MORE HEADLINES";
    display: block;
    order: 3;
    margin: 40px 0 32px;
    width: 100%;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--heading-color);
    font-weight: 700;
    font-size: 24px;
    color: #000;
}

@media only screen and (max-width: 600px) {
    .news-articles-list:before {
        font-size: 20px;
        margin: 20px 0 15px;
    }
}

.news-articles-list .news-article {
    width: calc(50% - 10px);
    text-decoration: none;
}

@media only screen and (max-width: 600px) {
    .news-articles-list .news-article {
        width: 100%;
        margin-bottom: 1.5em;
    }
}

.news-articles-list .news-article__date {
    display: none;
}

.news-articles-list .news-article__image {
    position: relative;
    width: 100%;
    border-top: 8px solid #000;
    font-size: 0;
    display: block;
    margin-bottom: 10px;
    overflow: clip;
    aspect-ratio: 2/1;
}

.news-articles-list .news-article__image:before {
    content: "";
    left: -1px;
    width: 20%;
    height: 8px;
    position: absolute;
    background-color: var(--secondary-color);
    bottom: -8px;
    -webkit-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
}

.news-articles-list .news-article__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.25s linear;
}

.news-articles-list .news-article__title {
    margin-top: 5px;
    margin-bottom: 16px;
    font-weight: 700;
    color: var(--primary-color);
    font-size: 20px;
}

@media only screen and (min-width: 599px) {
    .news-articles-list .news-article__title {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        min-height: 60px;
    }
}

@media only screen and (max-width: 600px) {
    .news-articles-list .news-article__title {
        font-size: 18px;
    }
}

.news-articles-list .news-article__snippet {
    color: #000;
}

.news-articles-list .news-article:hover .news-article__image:before {
    width: 100%;
}

.news-articles-list .news-article:hover .news-article__image img {
    transform: scale(1.03);
}

.news-articles-list .news-article:nth-child(n + 3) {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.news-articles-list .news-article:nth-child(n + 3) .news-article__image {
    width: 48%;
    flex-shrink: 0;
}

@media only screen and (max-width: 600px) {
    .news-articles-list .news-article:nth-child(n + 3) .news-article__image {
        width: 40%;
    }
}

.news-articles-list .news-article:nth-child(n + 3) .news-article__content {
    width: 48%;
}

@media only screen and (max-width: 600px) {
    .news-articles-list .news-article:nth-child(n + 3) .news-article__content {
        width: 56%;
    }
}

.news-articles-list .news-article:nth-child(n + 3) .news-article__snippet {
    display: none;
}

.news-articles-list .news-article:nth-child(n + 3) .news-article__title {
    width: 100%;
    font-size: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-top: 10px;
    margin-bottom: 10px;
    padding-left: 15px;
}

.news-articles-list .news-article:nth-child(n + 3) .news-article__title h3 {
    font-weight: 400;
}

@media only screen and (max-width: 600px) {
    .news-articles-list .news-article:nth-child(n + 3) .news-article__title {
        font-size: 14px;
    }
}

.news-articles-list .news-article:nth-child(1) {
    order: 1;
}

.news-articles-list .news-article:nth-child(2) {
    order: 2;
}

.news-articles-list .news-article:nth-child(3) {
    order: 4;
}

.news-articles-list .news-article:nth-child(4) {
    order: 5;
}

.news-articles-list .news-article:nth-child(5) {
    order: 6;
}

.news-articles-list .news-article:nth-child(6) {
    order: 7;
}

.news-articles-list .news-article:nth-child(7) {
    order: 8;
}

.news-articles-list .news-article:nth-child(8) {
    order: 9;
}

/* END CUSTOM NEWS */

/* Hide date on news */

#news-article .page-container-item .date {
    display: none !important;
}

/* End hide date on news */
