@charset "utf-8";
/*
Theme Name: CFDS
Author: Vibrant Brands
Author URI: https://vibrantbrands.com/
Description: Center For Disability Services New York
Version: 1.0
Text Domain: cfdsny
*/

:root {
    --tile-border-radius: 15px;
    --teal-ada: #007f87;
    --purple-ada: #251759;
    --red-ada: #ad0d6a;
    --fa: "Font Awesome 6 Pro";
    --cb: cubic-bezier(0.47, 1, 0.92, 1);

    --para-font-size: 17px;
    --para-line-height: 1.5em;
}

/* Homepage */
/* --------------------------------------------- */
/* --------------------------------------------- */
.home_impact {
    border-radius: var(--tile-border-radius);
    padding: 70px 9vw;
    text-align: center;
    color: white;
    margin: 0 0 70px 0;
    background: linear-gradient(to bottom, #251759 0%, var(--teal-ada) 100%);
}
.home_impact h2 {
    font-weight: 700;
    text-transform: uppercase;
    margin: 0 0 20px 0;
    font-size: 28px;
    letter-spacing: 1px;
}
.home_impact p {
    margin: 0 0 20px 0;
    font-size: var(--para-font-size);
    line-height: var(--para-line-height);
}
.impact_icons {
    display: flex;
    margin: 50px 0;
    gap: 100px;
    justify-content: center;
}
.impact_icon_box {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 17px;
    font-style: italic;
}
.impact_icon {
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    height: 90px;
    width: 100%;
    margin: 0 0 20px 0;
}
.impact_link_holder a {
    display: inline-block;
    padding: 10px 50px;
    border-radius: 50px;
    border: 2px solid #fff;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    transition: ease all 300ms;
}
.impact_link_holder a:hover {
    background: rgba(0, 0, 0, 0.3);
}
/* --------------------------------------------- */
#home_affiliates {
    margin: 0 0 70px 0;
}
#home_affiliates h2 {
    text-align: center;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0 0 20px 0;
    font-size: 28px;
    letter-spacing: 1px;
    color: var(--purple-ada);
}
.affiliates_tiles {
    gap: 25px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin: 40px 0;
}
.affiliates_tile {
    aspect-ratio: 3/2;
    display: flex;
    position: relative;
    flex-direction: column;
    justify-content: flex-end;
    background: #eee;
    transition: ease all 200ms;
    overflow: hidden;
    border-radius: var(--tile-border-radius) var(--tile-border-radius) var(--tile-border-radius) 0;
}
.affiliates_tile:hover {
    border-radius: var(--tile-border-radius);
}
.tile_bg_image {
    display: block;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    position: absolute;
    background-size: cover;
    background-position: center;
    z-index: 1;
    transform-origin: center;
    transform: scale(1);
    transition: ease all 200ms;
}
.affiliates_tile:hover .tile_bg_image {
    transform: scale(1.05);
}
.affiliates_tile h3 {
    position: relative;
    z-index: 2;
    padding: 0 50px 0 20px;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    min-height: 70px;
    display: flex;
    align-items: center;
}
.affiliates_tile h3:before {
    content: "\f061";
    font-family: var(--fa);
    font-weight: 900;
    color: #fff;
    font-size: 17px;
    position: absolute;
    right: 30px;
    z-index: 5;
    opacity: 0;
    top: 50%;
    transform: translate(0, -50%);
    transition: ease all 200ms;
}
.affiliates_tile:hover h3:before {
    right: 20px;
    opacity: 1;
}
.affiliates_tile h3:after {
    border-radius: 0 0 var(--tile-border-radius) 0;
    content: "";
    display: block;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    position: absolute;
    background: #251759;
    opacity: 0.91;
    z-index: -1;
    transition: ease all 200ms;
}
.affiliates_tile:hover h3:after {
    background: #251759;
    opacity: 1;
}
/* --------------------------------------------- */
#home_testimonials {
    background-color: #0097a5;
    background-image: url("img/home_teal_bg.webp");
    background-size: cover;
    background-position: top center;
    padding: 0 0 90px 0;
    position: relative;
    overflow: hidden;
}
#home_testimonials .wrapper {
    position: relative;
    z-index: 1;
}
#home_testimonials svg {
    width: 3000px;
    height: 570px;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -62%);
    display: block;
}

.home_testimonial_video_holder {
    border-radius: var(--tile-border-radius);
    background: #eee;
    width: 100%;
    display: block;
    position: relative;
    margin: 0 0 60px 0;
    overflow: hidden;
    transition: ease all 300ms;
}
.home_testimonial_video_holder:hover {
    -webkit-box-shadow: 0 9px 12px 0 #525252;
    -moz-box-shadow: 0 9px 12px 0 #525252;
    box-shadow: 0 9px 12px 0 #525252;
}
.home_testimonial_video_holder:after {
    content: "\f144";
    font-family: var(--fa);
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    font-size: 88px;
    color: #fff;
    transform: translate(-50%, -50%);
    z-index: 10;
    text-shadow: 0 0 21px #333;
}
.video_thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-size: cover;
    background-position: center;
}
.video_label_box {
    position: relative;
    z-index: 5;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 150px 60% 150px 80px;
    height: 35vw;
    max-height: 480px;
    min-height: 250px;
}
.video_label_box h2 {
    font-size: 38px;
    font-weight: 700;
    position: relative;
    line-height: 1.2em;
    padding: 0 0 0 0;
    transition: ease all 500ms;
}
.video_label_box h2:after {
    content: "";
    height: 1px;
    background: #fff;
    display: block;
    position: absolute;
    left: 0;
    bottom: -13px;
    width: 0px;
    opacity: 0;
    transition-delay: 100ms;
    transition: ease all 500ms;
}
.home_testimonial_video_holder:hover .video_label_box h2:after {
    width: 70px;
    opacity: 1;
}
.video_label_box p {
    margin: 25px 0 0 0;
    font-size: 18px;
    line-height: 1.5em;
}
.video_overlay_dot {
    position: absolute;
    width: 80%;
    aspect-ratio: 1/1;
    border-radius: 50%;
    right: 50%;
    top: 50%;
    transform: translate(0, -50%);
    z-index: 1;
    background: linear-gradient(to bottom, #e55627 0%, #811c49 100%);
    opacity: 0.9;
    transition: ease all 700ms;
}
.home_testimonial_video_holder:hover .video_overlay_dot {
    right: 48%;
}
.home_user_testimonials_header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    color: #fff;
    margin: 0 0 20px 0;
}
.home_user_testimonials_header h2 {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 28px;
    letter-spacing: 1px;
}
.home_user_testimonials_header h2 i {
    font-size: 24px;
    margin: 0 10px 0 0;
}
.home_user_testimonials_header p {
    font-size: 17px;
}
.home_user_testimonials_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}
.home_user_testimonial_tile {
    border-radius: var(--tile-border-radius);
    background: #bcf1f6;
    padding: 30px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.home_user_testimonial_tile blockquote {
    padding: 50px 0 0 0;
    margin: 0 0 20px 0;
    position: relative;
}
.home_user_testimonial_tile blockquote p {
    font-size: var(--para-font-size);
    line-height: var(--para-line-height);
}
.home_user_testimonial_tile blockquote:before {
    content: "\f10d";
    font-family: var(--fa);
    font-weight: 900;
    position: absolute;
    top: 0;
    left: 0;
    color: #00656b;
    font-size: 38px;
}
.home_user_testimonial_tile figcaption {
    position: relative;
}
.home_user_testimonial_thumbnail {
    display: block;
    border-radius: 50%;
    position: absolute;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    background: #aaa;
}
.home_user_testimonial_tile figcaption.has_thumbnail {
    padding-left: 50px;
}
.home_user_testimonial_author {
    display: block;
    font-weight: 900;
    font-size: 17px;
    color: #00656b;
}
.home_user_testimonial_title {
    font-style: italic;
    font-size: 15px;
}
/* --------------------------------------------- */
#home_pre_footer {
    padding: 160px 0;
    position: relative;
}
.pre_footer_color,
.pre_footer_bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}
.pre_footer_color {
    z-index: 2;
    background-color: #251759;
    opacity: 0.91;
}
.pre_footer_bg {
    background-size: cover;
    background-position: center;
}
.pre_footer_button_wrap,
.pre_footer_text_wrap {
    position: relative;
    z-index: 3;
}
.pre_footer_text_wrap {
    color: #fff;
    text-align: center;
}
.pre_footer_text_wrap h2 {
    font-size: 40px;
    font-weight: 700;
}
.pre_footer_text_wrap p {
    margin: 20px 0 0 0;
}
.pre_footer_button_wrap {
    margin: 40px 0 0 0;
    display: flex;
    gap: 25px;
    justify-content: center;
    flex-wrap: wrap;
}
.pre_footer_button_wrap a {
    display: inline-block;
    padding: 10px 50px;
    border-radius: 50px;
    border: 2px solid var(--teal-ada);
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    transition: ease all 300ms;
}
.pre_footer_button_wrap a:hover {
    background: rgba(0, 0, 0, 0.3);
}

/* Footer */
/* --------------------------------------------- */
/* --------------------------------------------- */
footer {
    background: #000000;
    color: #fffefe;
    padding: 60px 0;
}
.footer_layout {
    display: flex;
    gap: 50px;
}
.footer_logo {
    background-image: url("/wp-content/themes/cfds/img/cfdsny_logo_white_w_teal.webp");
    background-size: contain;
    background-position: bottom left;
    background-repeat: no-repeat;
    height: 200px;
    display: block;
    aspect-ratio: 1.6/1;
    margin: 0 0 40px 0;
}
footer .logo_col p {
    font-size: 14px;
}
footer .logo_col p a {
    color: #20abb7;
    border: 1px solid #181818;
    display: inline-block;
    padding: 8px 15px;
    border-radius: 50px;
    transition: ease all 300ms;
}
footer .logo_col p a:hover {
    border: 1px solid #4e4e4e;
}

footer .footer_col {
    flex: 1 1 auto;
}
footer .footer_col .contact {
    margin: 0 0 20px 0;
}
footer .footer_col .contact a {
    color: #fffefe;
    transition: ease all 300ms;
    position: relative;
}
footer .footer_col .contact a:after {
    content: "";
    width: 0px;
    height: 1px;
    display: block;
    position: absolute;
    background: #20abb7;
    opacity: 0;
    transition: ease all 300ms;
    bottom: -3px;
    left: 0;
}
footer .footer_col .contact a:focus,
footer .footer_col .contact a:hover {
    color: #20abb7;
    outline: none;
}
footer .footer_col .contact a:focus:after,
footer .footer_col .contact a:hover:after {
    opacity: 1;
    width: 14px;
}
footer .footer_col .contact:last-child {
    margin: 0;
}
footer .footer_col h2 {
    color: #20abb7;
    font-size: 26px;
    text-transform: uppercase;
    font-weight: 700;
    margin: 40px 0 15px 0;
}
footer .footer_col h2:first-child {
    margin-top: 0;
}

#social {
    display: flex;
    position: relative;
    left: -10px;
    gap: 5px;
}
#social a {
    width: 40px;
    height: 40px;
    position: relative;
    border-radius: 50%;
    font-size: 18px;
    color: #fffefe;
    border: 1px solid transparent;
    transition: ease all 300ms;
}
#social a:focus,
#social a:hover {
    outline: none;
    border: 1px solid #20abb7;
}
#social a i {
    transform: translate(-50%, -50%);
    position: absolute;
    top: 50%;
    left: 50%;
}
.footer_nav {
    display: flex;
    flex-direction: column;
}
.footer_nav a {
    transition: ease all 300ms;
    color: #fffefe;
    padding: 7px 0;
    position: relative;
}
.footer_nav a:focus,
.footer_nav a:hover {
    color: #20abb7;
    outline: none;
}

.footer_nav a:after {
    content: "";
    width: 0px;
    height: 1px;
    display: block;
    position: absolute;
    background: #20abb7;
    opacity: 0;
    transition: ease all 300ms;
    bottom: 3px;
    left: 0;
}
.footer_nav a:focus:after,
.footer_nav a:hover:after {
    opacity: 1;
    width: 14px;
}

/* Interior Templates */
/* ------------------------------------------ */
.interior {
    position: relative;
    z-index: 50;
}
.int_header_image {
    max-height: 550px;
    min-height: 200px;
    height: 40vw;
    overflow: hidden;
    position: relative;
    background-color: #dedede;
}
@media (max-width: 1800px) {
    .int_header_image.has_ar {
        max-height: initial;
        min-height: 0;
        height: auto;
    }
    .int_header_image.has_ar .hero_bg_focus {
        width: 100%;
        max-width: 100%;
        position: relative;
        left: 0;
        top: 0;
        height: auto;
        transform: translate(0, 0);
        z-index: 2;
    }
}

.overlay_logos {
    /* background: #004f55; */
    background: linear-gradient(to right, #00646b 1%, #251759 100%);
    opacity: 0.9;
    width: 100%;
    position: absolute;
    z-index: 50;
    bottom: 0;
    left: 0;
    padding: 22px 0;
}
.overlay_logos p {
    font-size: 14px;
    margin: 0px 0 10px 0;
    color: #93d6dc;
    font-style: italic;
}
.overlay_logos_flex {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    justify-content: flex-start;
}
.overlay_logo {
    height: 70px;
    max-width: 250px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
@media (max-width: 1200px) {
    .overlay_logos {
        opacity: 1;
        width: 100%;
        position: relative;
        padding: 22px 0;
    }
    .overlay_logo {
        height: 50px;
        max-width: 220px;
    }
}

.content_flex {
    display: flex;
    gap: 60px;
    padding: 50px 0;
}
.content_flex section {
    order: 2;
    flex: 1 1 auto;
    padding: 0;
    min-width: 0;
    padding-bottom: 100px;
}
.thepage {
    min-height: 400px;
}
.thepage h1 {
    color: var(--teal-ada);
    font-size: 36px;
    /* text-transform: uppercase; */
    font-weight: 700;
    margin: 0 0 25px 0;
    line-height: 1.2em;
    position: relative;
    top: -8px;
}
.thepage h2 {
    color: var(--red-ada);
    font-size: 28px;
    font-weight: 700;
    margin: 40px 0 18px 0;
    line-height: 1.2em;
}
.thepage h3 {
    color: var(--teal-ada);
    font-size: 20px;
    font-weight: 700;
    margin: 25px 0 12px 0;
    line-height: 1.2em;
}
.thepage p {
    margin: 0 0 20px 0;
}
.thepage b,
.thepage strong {
    font-weight: 700;
}
.thepage em {
    font-style: italic;
}
.thepage ol,
.thepage ul {
    padding: 0 0 0 18px;
    margin: 0 0 30px 0;
}
.thepage ol ul,
.thepage ol ol,
.thepage ul ol,
.thepage ul ul {
    padding: 0 0 0 15px;
    margin: 10px 0;
}
.wp-block-list.is-columns-2 {
    column-count: 2;
    column-gap: 1.5rem;
}
.wp-block-list.is-columns-3 {
    column-count: 3;
    column-gap: 1.5rem;
}
@media (max-width: 1000px) {
    .wp-block-list.is-columns-3 {
        column-count: 2;
        column-gap: 1.5rem;
    }
}
@media (max-width: 700px) {
    .wp-block-list.is-columns-2,
    .wp-block-list.is-columns-3 {
        column-count: 1;
    }
}

.thepage h2 a,
.thepage h3 a,
.thepage h4 a,
.thepage h5 a {
    font-weight: 900;
    text-decoration: underline;
    color: inherit;
    transition: ease all 150ms;
}
.thepage h2 a:hover,
.thepage h3 a:hover,
.thepage h4 a:hover,
.thepage h5 a:hover {
    background: rgba(14, 70, 100, 0.1);
}
.thepage h2.has-bottom-border,
.thepage h3.has-bottom-border,
.thepage h4.has-bottom-border,
.thepage h5.has-bottom-border {
    margin-top: 40px;
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 1px solid #dedede;
}

.thepage hr {
    border: none;
    border-top: 1px solid #ddd;
    margin: 40px 0;
}
.thepage li {
    margin: 0 0 12px 0;
    font-size: var(--para-font-size);
    line-height: var(--para-line-height);
}
.thepage p,
.thepage li p {
    font-size: var(--para-font-size);
    line-height: var(--para-line-height);
}
.wp-block-table a,
.thepage p a,
.thepage li a {
    color: var(--red-ada);
    text-decoration: underline;
}
.wp-block-table a:hover,
.thepage p a:hover,
.thepage li a:hover {
    text-decoration-thickness: 2px;
}

figure.wp-block-gallery {
    margin: 30px 0;
}
figure.wp-block-image figcaption,
.wp-block-gallery.has-nested-images figure.wp-block-image figcaption {
    background: rgba(158, 15, 98, 0.9);
}
figure.wp-block-image {
    margin: 0 0 30px 0;
}
figure.wp-block-embed {
    margin: 0 0 30px 0;
}
.wp-block-table {
    margin: 0 0 30px 0;
}
.wp-block-buttons {
    gap: 25px;
    margin: 20px 0;
}

.wp-block-buttons a {
    background: #fff;
    border: 3px solid #9e0f62;
    color: #9e0f62;
    padding: 9px 35px;
    display: flex;
    border-radius: 50px;
    transition: ease all 150ms;
}
.wp-block-buttons a:hover {
    background: #9e0f62;
    color: #fff;
}

.content_flex aside {
    order: 1;
    flex: 0 1 25%;
    min-width: 300px;
}
#sidebar nav {
    border-radius: var(--tile-border-radius);
    padding: 0 0 10px 0;
    overflow: hidden;
    background: linear-gradient(to bottom, #00646b 1%, #251759 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
}
#sidebar nav a {
    color: #fff;
    display: block;
    padding: 10px 20px;
    transition: ease all 150ms;
}
#sidebar nav a.current_page {
    color: #ffcb00;
}
#sidebar nav a:hover {
    color: #ffcb00 !important;
    background-color: rgba(0, 0, 0, 0.3) !important;
}

/* 1st Level */
#sidebar nav a.epoch_link,
#sidebar nav a.parent_link,
#sidebar nav a.grandparent_link,
#sidebar nav a.greatgrandparent_link {
    background-color: rgba(0, 0, 0, 0.2);
    font-size: 1.4em;
    color: #fff;
}

/* 2nd Level */
#sidebar nav a.parent_link + a.epoch_link,
#sidebar nav a.grandparent_link + a.parent_link,
#sidebar nav a.greatgrandparent_link + a.grandparent_link {
    background-color: rgba(0, 0, 0, 0.15);
    font-size: 1.3em;
}

/* 3rd Level */
#sidebar nav a.grandparent_link + a.parent_link + a.epoch_link,
#sidebar nav a.greatgrandparent_link + a.grandparent_link + a.parent_link {
    background-color: rgba(0, 0, 0, 0.1);
    font-size: 1.2em;
}

/* With Borders */
#sidebar nav a.greatgrandparent_link + a.grandparent_link + a.parent_link + a.epoch_link,
#sidebar nav a.grandparent_link + a.parent_link + a.epoch_link {
    border-bottom: 1px solid #1e5678;
}

/* Events Single Template */
.event_details_block {
    background-color: #600c45;
    background-image: url("img/home_event_purple.webp");
    background-size: cover;
    background-position: center;
    border-radius: var(--tile-border-radius);
    padding: 30px;
    color: #fff;
    margin: 0 0 30px 0;
}
.big_date {
    font-size: 40px;
    font-weight: 700;
}
.event_details_block_date {
    font-size: 14px;
}
.event_details_block_time {
    margin: 10px 0 0 0;
    font-weight: 700;
    font-size: 24px;
}
.event_details_block_location {
    margin: 10px 0 0 0;
    padding: 10px 0 0 0;
    border-top: solid #fff 1px;
    font-weight: 700;
    font-size: 18px;
}

/* On Page Search */
.search-results #sidebar .tagline {
    font-size: 14px;
    font-weight: 700;
    color: #666;
    margin: 0 0 10px 0;
}
.search-results #sidebar h1 {
    font-size: 26px;
    font-weight: 400;
    color: var(--teal-ada);
    margin: 0 0 15px 0;
}
.search-results #sidebar h1 .the_query {
    display: block;
    margin: 5px 0 0 0;
    color: var(--red-ada);
    font-weight: 700;
    font-size: 0.8em;
}
@media (max-width: 950px) {
    .search-results .content_flex {
        gap: 40px;
    }
    .search-results .content_flex aside {
        order: 1;
    }
    .search-results .content_flex section {
        order: 2;
    }
}

#on_page_search {
    border-radius: 50px;
    border: 1px solid var(--teal-ada);
    margin: 15px 0;
    max-width: 500px;
    overflow: hidden;
}
#on_page_search .form_area {
    display: flex;
}

.error404 .content_flex section {
    min-height: 400px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
    justify-content: center;
}
#on_page_search #searchLabel i {
    font-size: 16px;
    color: black;
}
#on_page_search #searchLabel {
    padding: 0 10px 0 14px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #bcf1f6;
}
#on_page_search input {
    appearance: none;
    -webkit-appearance: none;
    border: none;
    padding: 11px;
    font-size: 16px;
    color: #035757;
    font-weight: 700;
    flex: 1 0 auto;
    outline: none;
    border-radius: 0 50px 50px 0;
    transition: ease all 200ms;
    background: #e8fdff;
}

.no_results_center {
    display: flex;
    flex-direction: column;
    min-height: 0;
    align-items: center;
}

/* Serp */
.serps {
    display: grid;
}
.serp {
    display: block;
    border-bottom: 1px solid #eee;
    margin: 0 0 30px 0;
    padding: 0 0 30px 0;
}
.serp:last-child {
    border: none;
    margin: 0;
    padding: 0;
}
.serp .serp_header {
    font-size: 14px;
    color: #3f3f3f;
    padding: 0 0 0 45px;
    position: relative;
    margin: 0 0 10px 0;
    min-height: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.serp_header_content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
}
.serp_icon {
    height: 30px;
    width: 30px;
    position: absolute;
    left: 0;
    top: 0;
    background: #eee;
    border-radius: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}
.serp_icon.icon_event {
    background: var(--purple-ada);
}
.serp_icon.icon_page {
    background: var(--teal-ada);
}
.serp_icon.icon_post {
    background: var(--red-ada);
}
.serp_icon.icon_moving_story {
    background: var(--red-ada);
}

.serp_icon:after {
    font-family: var(--fa);
    font-size: 16px;
    color: #fff;
}
.serp_icon.icon_event:after {
    content: "\e31b";
}
.serp_icon.icon_page:after {
    content: "\f15c";
}
.serp_icon.icon_post:after {
    content: "\f0a1";
}
.serp_icon.icon_moving_story:after {
    content: "\f0a1";
}
.thepage .serp_main a {
    color: var(--red-ada);
}

.thepage .serp h2 {
    margin: 0;
    font-size: 22px;
}
.thepage .serp h2 span.qual {
    font-size: 16px;
    display: block;
    color: #251759;
    text-decoration: none;
}
.thepage .serp h2 span.main_t {
    text-decoration: underline;
    text-decoration-thickness: 1px;
}
.thepage .serp .serp_main a:hover h2 span.main_t {
    text-decoration-thickness: 2px;
}
.serp_type {
    font-weight: 700;
    color: var(--teal-ada);
}

.thepage .serp_main p {
    margin: 8px 0 0 0;
    font-size: var(--para-font-size);
    line-height: var(--para-line-height);
    max-width: 700px;
}

@media (max-width: 950px) {
    .single-event .content_flex aside {
        order: 0;
    }
    .single-event .interior {
        position: relative;
        z-index: 55;
    }
    .single-event .content_flex {
        position: relative;
        top: -90px;
        margin: 0 0 -90px 0;
    }

    .single-event .overlay_logos {
        padding: 22px 0 60px 0;
    }
    .single-event .overlay_logo {
        height: 60px;
        max-width: 280px;
    }

    .event_details_block {
        margin: 0;
        border-radius: var(--tile-border-radius) var(--tile-border-radius) 0 0;
    }
    .single-event .content_flex aside#sidebar nav {
        border-radius: 0 0 var(--tile-border-radius) var(--tile-border-radius);
        background: linear-gradient(to bottom, #4d2363 1%, #251759 100%);
        margin: 0 0 40px 0;
        padding: 0;
    }
    .single-event .content_flex aside#sidebar nav a {
        padding: 14px 30px;
    }
    .single-event .content_flex aside#sidebar nav .current_page.epoch_link {
        display: none;
    }
}
@media (max-width: 500px) {
    .single-event .overlay_logos[data-count="1"] .overlay_logo {
        height: 110px;
        max-width: 100%;
    }
}

.news_posts {
    display: grid;
    gap: 20px;
}
.single_post {
    border-radius: var(--tile-border-radius);
    border: 1px solid #eee;
    display: block;
    padding: 25px;
    color: #000;
    transition: ease all 300ms;
}
.single_post:hover {
    border: 1px solid teal;
}
.thepage .single_post h2,
.thepage .single_post h3 {
    margin-top: 0;
    font-size: 22px;
}
.thepage .single_post :last-child {
    margin-bottom: 0;
}

/* Pagination */

#pagination {
    grid-column: 1/3;
    display: flex;
    justify-content: center;
    padding: 30px;
}
.pagi_inner {
    display: flex;
}
.page-numbers {
    padding: 15px;
    border-radius: 50%;
    border: #c5c5c5 1px solid;
    width: 52px;
    display: block;
    margin: 0 5px;
    height: 52px;
    color: #000;
    line-height: 20px;
    text-align: center;
    font-weight: bold;
    transition: ease all 200ms;
    font-size: 18px;
}
.page-numbers:hover {
    border-color: var(--teal-ada);
    background: #e5f4f6;
}
.page-numbers.current {
    color: white;
    border-color: var(--teal-ada);
    background: var(--teal-ada);
}
.page-numbers.current:hover {
    background: var(--teal-ada);
    border-color: var(--teal-ada);
}
.page-numbers.dots {
    border: solid 1px transparent;
    background: transparent;
}

@media (max-width: 1400px) {
    .video_label_box {
        padding: 10vw 60% 10vw 80px;
    }
}
@media (max-width: 1300px) {
    .footer_logo {
        height: 130px;
    }
}
@media (max-width: 1200px) {
    .video_label_box h2 {
        font-size: 30px;
    }
    .home_testimonial_video_holder:after {
        font-size: 75px;
    }

    .home_user_testimonials_header {
        flex-direction: column;
        align-items: flex-start;
    }
    .home_user_testimonials_grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 20px;
    }

    .footer_layout {
        flex-wrap: wrap;
    }
    footer .footer_col.logo_col {
        flex: 1 0 100%;
        order: 10;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}
@media (max-width: 1150px) {
    .affiliates_tiles {
        grid-template-columns: repeat(2, 1fr);
    }
    .affiliates_tile {
        aspect-ratio: 1.7/1;
    }

    /* Interior Page */
    .content_flex {
        gap: 40px;
    }
    .content_flex aside {
        flex: 0 1 23%;
        min-width: 280px;
    }
}
@media (max-width: 950px) {
    /* Interior Page */
    .content_flex {
        gap: 0;
        flex-direction: column;
    }
    .content_flex section {
        padding-bottom: 70px;
    }
    .content_flex aside {
        width: 100%;
        min-width: 0;
        order: 3;
    }
}
@media (max-width: 850px) {
    .home_impact {
        padding: 50px 9vw;
    }
    .impact_icons {
        gap: 30px;
        flex-wrap: wrap;
    }
    .impact_icon_box {
        flex-direction: row;
        flex: 1 0 100%;
        gap: 30px;
        align-items: center;
    }
    .impact_icon_box span {
        font-size: 22px;
        text-align: left;
    }
    .impact_icon {
        height: 70px;
        flex: 0 0 70px;
        margin: 0;
    }

    .affiliates_tile h3 {
        font-size: 16px;
    }

    .video_label_box {
        padding: 8vw 50% 8vw 50px;
    }
    .video_overlay_dot {
        width: 120%;
        right: 40%;
    }

    .home_testimonial_video_holder:hover .video_overlay_dot {
        right: 37%;
    }
    .video_label_box h2 {
        font-size: 27px;
    }
    .video_label_box p {
        font-size: 16px;
        line-height: 1.4em;
    }
    .home_testimonial_video_holder::after {
        font-size: 55px;
        left: initial;
        top: 20px;
        right: 20px;
        transform: translate(0, 0);
    }

    footer .footer_col h2 {
        font-size: 22px;
    }
    .footer_nav a,
    footer .contact p {
        font-size: 15px;
    }

    footer .footer_col.contact_col {
        flex: 1 0 100%;
        order: 8;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    #social {
        left: 0;
    }
    footer .contact p {
        text-align: center;
    }
}
@media (max-width: 600px) {
    :root {
        --para-font-size: 16px;
        --para-line-height: 1.4em;
    }

    .thepage h1 {
        font-size: 30px;
    }
    .thepage h2 {
        font-size: 24px;
    }

    .impact_icon {
        height: 50px;
        flex: 0 0 50px;
    }

    #home_affiliates {
        margin: 0 0 40px 0;
    }

    #home_testimonials {
        padding-top: 170px;
    }
    #home_testimonials svg {
        transform: translate(-50%, -72%);
    }
    .home_testimonial_video_holder {
        margin: 0 0 40px 0;
    }
    .video_label_box {
        padding: 6vw 50% 6vw 36px;
        min-height: 190px;
    }
    .video_label_box h2 {
        font-size: 20px;
    }
    .video_label_box p {
        font-size: 14px;
        line-height: 1.3em;
        display: none;
    }

    footer .footer_col {
        flex: 1 0 100%;
    }
    .footer_nav {
        background: #0d0e0e;
        border-radius: var(--tile-border-radius);
    }
    .footer_nav a {
        padding: 15px;
        color: #889ea0;
        border-bottom: 1px solid #181818;
    }
    .footer_nav a:hover,
    .footer_nav a:focus {
        background: rgba(0, 0, 0, 0.2);
    }
    .footer_nav a:last-child {
        border: none;
    }
    .footer_nav a:after {
        height: 100%;
        background: transparent;
        border-left: #20abb7 solid 1px;
        opacity: 0;
        bottom: initial;
        left: 0px;
        top: 0;
        width: 30px;
        pointer-events: none;
    }
    .footer_nav a:first-child:after {
        border-radius: var(--tile-border-radius) 0 0 0;
    }
    .footer_nav a:last-child:after {
        border-radius: 0 0 0 var(--tile-border-radius);
    }

    .footer_nav a:focus:after,
    .footer_nav a:hover:after {
        opacity: 1;
        width: 30px;
    }

    .affiliates_tiles {
        grid-template-columns: repeat(1, 1fr);
        gap: 15px;
    }
}

@keyframes fadeInOpacity {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}
@keyframes fadeInUp {
    from {
        transform: translate3d(0, 40px, 0);
    }

    to {
        transform: translate3d(0, 0, 0);
        opacity: 1;
    }
}
@-webkit-keyframes fadeInUp {
    from {
        transform: translate3d(0, 40px, 0);
    }

    to {
        transform: translate3d(0, 0, 0);
        opacity: 1;
    }
}
@keyframes choicesSlideIn {
    from {
        transform: translate3d(-20%, 0, 0);
    }

    to {
        transform: translate3d(0, 0, 0);
        opacity: 1;
    }
}
@-webkit-keyframes choicesSlideIn {
    from {
        transform: translate3d(-20%, 0, 0);
    }

    to {
        transform: translate3d(0, 0, 0);
        opacity: 1;
    }
}

.fade {
    opacity: 0;
    transform: translateY(70px);
    transition:
        opacity 0.6s var(--cb),
        transform 0.6s var(--cb);
}
.fade.fade_1 {
    transition-delay: 100ms !important;
}
.fade.fade_2 {
    transition-delay: 200ms !important;
}
.fade.fade_3 {
    transition-delay: 300ms !important;
}
.fade.fade_4 {
    transition-delay: 400ms !important;
}
.fade.fade_5 {
    transition-delay: 500ms !important;
}
.fade.fade_6 {
    transition-delay: 600ms !important;
}

.fade.fade-in-up {
    opacity: 1;
    transform: translateY(0);
}

/* Popup */
.greeting_popup {
    display: none;
    position: fixed;
    width: 90%;
    max-height: 80vh;
    max-width: 630px;
    top: 50%;
    left: 50%;
    z-index: 10000;
    transform: translate(-50%, -50%);
}
.greeting_popup.active {
    display: block;
}
.cookie_pop {
    z-index: 100;
    right: initial;
}
.greeting_popup .greeting_popup_inner {
    position: relative;
}

.popup_inner_content {
    padding: 40px;
    background-size: 90px;
    background-position: right 50px top 30px;
    background-repeat: no-repeat;
}
.popup_underlay {
    display: none;
    position: fixed;
    z-index: 9000;
    top: -200px;
    left: -200px;
    right: -200px;
    bottom: -200px;
    background: rgba(0, 12, 13, 0.83);
}
.popup_underlay.active {
    display: block;
}
.popup_content {
    background: var(--teal-ada);
    color: #fff;
    border-radius: var(--tile-border-radius) var(--tile-border-radius) var(--tile-border-radius) 0;
    padding: 40px 40px 80px 40px;
    position: relative;
}
.popup_content:after {
    height: 40px;
    background: #02757c;
    content: "";
    bottom: 0;
    left: 0;
    width: 100%;
    display: block;
    position: absolute;
    border-radius: 0 0 var(--tile-border-radius) 0;
}
.greeting_popup_inner:before {
    content: "";
    display: block;
    height: 140px;
    width: 200px;
    position: absolute;
    bottom: 0;
    right: 30px;
    background-image: url("img/watermark_logo.webp");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top center;
    z-index: 5;
    pointer-events: none;
}
.popup_content h2 {
    font-size: 18px;
    font-style: italic;
    line-height: 1.5em;
}
.popup_content h2 span {
    font-size: 53px;
    font-style: normal;
    display: block;
    font-family: Georgia, "Times New Roman", Times, serif;
}
.popup_content h3 {
    position: relative;
    font-size: 22px;
    margin: 5px 0 0px 0;
    font-family: Georgia, "Times New Roman", Times, serif;
    color: #ffff64;
    padding: 0 0 20px 0;
}
.popup_content h3:after {
    content: "";
    width: 80px;
    background: #ffff64;
    display: block;
    height: 1px;
    position: absolute;
    bottom: 10px;
    left: 0;
}
.popup_content p {
    font-size: var(--para-font-size);
    line-height: var(--para-line-height);
    margin: 10px 0 0 0;
}
.popup_buttons {
    margin: 30px 0 0 0;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}
.popup_buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    margin: 25px 0 0 0;
}
.popup_buttons a {
    display: inline-block;
    padding: 10px 50px;
    border-radius: 50px;
    border: 2px solid #ffff64;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    transition: ease all 300ms;
}
.popup_buttons a:hover {
    background: rgba(0, 0, 0, 0.3);
}

.popup_close {
    position: absolute;
    top: -10px;
    right: -10px;
    padding: 15px;
    background: none;
    border: 1px solid transparent;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 40px;
    height: 40px;
    background: #08bdc9;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 20px;
}
.popup_close:focus,
.popup_close:hover {
    cursor: pointer;
    border: 1px solid #ffff64;
}

.popup_close i {
    color: #000000;
}

@keyframes fadeInUp {
    from {
        transform: translate3d(0, 40px, 0);
    }
    to {
        transform: translate3d(0, 0, 0);
        opacity: 1;
    }
}
@-webkit-keyframes fadeInUp {
    from {
        transform: translate3d(0, 40px, 0);
    }
    to {
        transform: translate3d(0, 0, 0);
        opacity: 1;
    }
}
@keyframes fadeIn {
    from {
    }
    to {
        opacity: 1;
    }
}
@-webkit-keyframes fadeIn {
    from {
    }
    to {
        opacity: 1;
    }
}
.animated {
    animation-duration: 1s;
    animation-fill-mode: both;
    -webkit-animation-duration: 1s;
    -webkit-animation-fill-mode: both;
}
.animated_delay {
    animation-delay: 300ms;
    -webkit-animation-delay: 300ms;
    animation-duration: 1s;
    animation-fill-mode: both;
    -webkit-animation-duration: 1s;
    -webkit-animation-fill-mode: both;
}
.animatedFadeInUp {
    opacity: 0;
}
.fadeInUp {
    opacity: 0;
    animation-name: fadeInUp;
    -webkit-animation-name: fadeInUp;
}
.animatedFadeIn {
    opacity: 0;
}
.fadeIn {
    opacity: 0;
    animation-name: fadeIn;
    -webkit-animation-name: fadeIn;
}

/*! Lity - v2.4.1 - 2020-04-26
* http://sorgalla.com/lity/
* Copyright (c) 2015-2020 Jan Sorgalla; Licensed MIT */
.lity {
    z-index: 9990;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    white-space: nowrap;
    background: #0b0b0b;
    background: rgba(0, 0, 0, 0.9);
    outline: none !important;
    opacity: 0;
    -webkit-transition: opacity 0.3s ease;
    -o-transition: opacity 0.3s ease;
    transition: opacity 0.3s ease;
}
.lity.lity-opened {
    opacity: 1;
}
.lity.lity-closed {
    opacity: 0;
}
.lity * {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.lity-wrap {
    z-index: 9990;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    text-align: center;
    outline: none !important;
}
.lity-wrap:before {
    content: "";
    display: inline-block;
    height: 100%;
    vertical-align: middle;
    margin-right: -0.25em;
}
.lity-loader {
    z-index: 9991;
    color: #fff;
    position: absolute;
    top: 50%;
    margin-top: -0.8em;
    width: 100%;
    text-align: center;
    font-size: 14px;
    font-family: Arial, Helvetica, sans-serif;
    opacity: 0;
    -webkit-transition: opacity 0.3s ease;
    -o-transition: opacity 0.3s ease;
    transition: opacity 0.3s ease;
}
.lity-loading .lity-loader {
    opacity: 1;
}
.lity-container {
    z-index: 9992;
    position: relative;
    text-align: left;
    vertical-align: middle;
    display: inline-block;
    white-space: normal;
    max-width: 100%;
    max-height: 100%;
    outline: none !important;
}
.lity-content {
    z-index: 9993;
    width: 100%;
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
    -webkit-transition: -webkit-transform 0.3s ease;
    transition: -webkit-transform 0.3s ease;
    -o-transition: -o-transform 0.3s ease;
    transition: transform 0.3s ease;
    transition:
        transform 0.3s ease,
        -webkit-transform 0.3s ease,
        -o-transform 0.3s ease;
}
.lity-loading .lity-content,
.lity-closed .lity-content {
    -webkit-transform: scale(0.8);
    -ms-transform: scale(0.8);
    -o-transform: scale(0.8);
    transform: scale(0.8);
}
.lity-content:after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    display: block;
    right: 0;
    width: auto;
    height: auto;
    z-index: -1;
    -webkit-box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
}
.lity-close {
    z-index: 9994;
    width: 35px;
    height: 35px;
    position: fixed;
    right: 0;
    top: 0;
    -webkit-appearance: none;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    padding: 0;
    color: #fff;
    font-style: normal;
    font-size: 35px;
    font-family: Arial, Baskerville, monospace;
    line-height: 35px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
    border: 0;
    background: none;
    outline: none;
    -webkit-box-shadow: none;
    box-shadow: none;
}
.lity-close::-moz-focus-inner {
    border: 0;
    padding: 0;
}
.lity-close:hover,
.lity-close:focus,
.lity-close:active,
.lity-close:visited {
    text-decoration: none;
    text-align: center;
    padding: 0;
    color: #fff;
    font-style: normal;
    font-size: 35px;
    font-family: Arial, Baskerville, monospace;
    line-height: 35px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
    border: 0;
    background: none;
    outline: none;
    -webkit-box-shadow: none;
    box-shadow: none;
}
.lity-close:active {
    top: 1px;
}
.lity-image img {
    max-width: 100%;
    display: block;
    line-height: 0;
    border: 0;
}
.lity-iframe .lity-container,
.lity-youtube .lity-container,
.lity-vimeo .lity-container,
.lity-facebookvideo .lity-container,
.lity-googlemaps .lity-container {
    width: 100%;
    max-width: 964px;
}
.lity-iframe-container {
    width: 100%;
    height: 0;
    padding-top: 56.25%;
    overflow: auto;
    pointer-events: auto;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-overflow-scrolling: touch;
}
.lity-iframe-container iframe {
    position: absolute;
    display: block;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -webkit-box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
    background: #000;
}
.lity-hide {
    display: none;
}
