body.single,
body.blog {
    overflow-x: visible;
}

.single-post-container,
.blog-archive-container {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 6rem;
}

.single-post-container .content,
.blog-archive-container .content {
    flex: 1 1 calc(72.5% - 3rem);
    width: 100%;
}

.single-post-container .sidebar,
.blog-archive-container .sidebar {
    flex: 1 1 calc(27.5% - 3rem);
    width: 100%;
}

.single .entry {
    padding: 0;
}

.single .sidebar:not(.fixed) .widget:first-of-type,
.blog .sidebar:not(.fixed) .widget:first-of-type {
    position: sticky;
    top: 0;
    left: 0;
}

@media (max-width: 895px) {

    body.single,
    body.blog {
        overflow-x: hidden;
    }

    .single-post-container,
    .blog-archive-container {
        flex-direction: column;
    }

    .single-post-container .content,
    .single-post-container .sidebar,
    .blog-archive-container .content,
    .blog-archive-container .sidebar {
        flex: auto;
    }

    .single .sidebar:not(.fixed) .widget:first-of-type,
    .blog .sidebar:not(.fixed) .widget:first-of-type {
        position: unset;
    }
}


/* Single Team Member Page */
.single-team-member {
    color: #000;
    line-height: 1.6;
    font-size: 16px;
}

.team-member {
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.team-headshot-area {
    flex: 1 1 300px;
    margin-right: 20px;
    text-align: center;
}

.team-headshot-area img {
    max-width: 100%;
    height: auto;
    border: solid 2px #000;
    padding: 3rem;
}

.team-info {
    flex: 2 1 300px;
}

.team-member-name {
    font-size: 2em;
    font-weight: bold;
    margin-bottom: 10px;
    color: #000;
}

.team-member-role {
    font-size: 1.2em;
    color: #000;
    margin-bottom: 20px;
}

.team-member-bio {
    font-size: 1em;
    margin-bottom: 20px;
    color: #000;
}

.team-contact-area {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 20px 0 0 0;
}

div.team-contact-area .team-contact a {
    color: #000;
    text-decoration: none;
    font-size: 1.4em;
    display: flex;
    gap: 1rem;
    align-items: center;
    transition: color 0.3s ease;
}

.team-contact a span {
    margin-left: 5px;
}

.team-contact a:hover {
    color: #333;
}

.team-socials-area {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 20px;
}

.team-social {
    margin: 0 10px;
}

div.team-socials-area div.team-social a {
    color: #000;
    font-size: 1.5em;
    transition: color 0.3s ease;
}

.team-social a:hover {
    color: #333;
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

@media (max-width: 800px) {
    .team-member {
        flex-direction: column;
        align-items: center;
    }

    .team-headshot-area {
        margin-right: 0;
        margin-bottom: 20px;
    }

    .team-info {
        text-align: center;
    }
}

/* Team Archive Page */
.team-member-archive {
    display: flex;
    flex-direction: column;
    gap: 5rem;
}

.team-member-items {
    order: 2;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4rem;
}

.team-member-archive .team-member--link {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

.team-member-archive .team-member--link:hover {
    transform: translateY(-2px);
    box-shadow: none
}

.team-member-archive .team-member--content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 3rem;
}

.team-member-archive .team-member--content-name h2 {
    margin: 0 0 1rem;
    font-size: 2rem;
    letter-spacing: 0;
    word-spacing: 0;
    text-align: center;
    color: #000;
}

.team-member-archive .team-member--content-role p {
    font-size: 1.7rem;
    line-height: 1.4;
    text-align: center;
    color: #000;
}

.team-member-none {
    grid-column: 1 / span 4;
}

.team-member-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    row-gap: 3rem;
    column-gap: 6rem;
    padding: 0 0 5rem;
    border-bottom: 1px solid var(--mfe-dark-grey);
}

.team-member-filter {
    flex: 1;
    max-width: 400px;
}

.team-member-filter.dept label {
    justify-content: flex-end;
}

.team-member-filter input,
.team-member-filter select {
    margin: 0;
}

@media (max-width: 767px) {
    .team-member-items {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-member-none {
        grid-column: 1 / span 2;
    }

    .team-member-filters {
        flex-direction: column;
    }

    .team-member-filter.dept label {
        justify-content: flex-start;
    }
}

@media (max-width: 600px) {
    .team-member-items {
        grid-template-columns: auto;
    }

    .team-member {
        width: 100%;
        margin: 0 auto;
    }

    .team-member-archive .team-member--headshot img {
        object-fit: cover;
        width: 100%;
        max-height: 270px;
    }

    .team-member-none {
        grid-column: auto;
    }
}

/* Events Archive Page*/
.events-archive {
    position: relative;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 12rem 0 10rem;
}

.at-content-archive:not(:first-of-type) {
    margin: 12rem 0 0;
}

.at-content-archive--wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6rem;
    margin: 6rem 0 0;
}

@media (max-width: 1095px) {
    .at-content-archive .at-content-archive--wrapper {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .at-content-archive .at-content-archive--wrapper {
        grid-template-columns: none;
    }
}

.at-content-box {
    border: 1px solid #cdd9dc;
    box-shadow: -14px 14px 0px #f3f5f6;
    overflow: hidden;
}

.at-content-box {
    display: block;
    width: 100%;
    height: 100%;
    padding: 4rem;
}

.at-content-box .at-content-box--thumbnail {
    margin: -4rem -4rem 4rem;
    overflow: hidden;
}

.at-content-box .at-content-box--thumbnail img {
    aspect-ratio: 2 / 1;
    object-fit: cover;
    object-position: center center;
    width: 100%;
    height: 100%;
    transition: 0.25s ease-in-out all;
}

.at-content-box--inner {
    height: fit-content;
}

.at-content-box .at-content-box--title>* {
    transition: 0.25s ease-in-out all;
}

.at-content-box .at-content-box--date p {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 0.6rem;
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0 0 1.5rem;
    color: #000;
}

.at-content-box .at-content-box--cta {
    margin: 2rem 0 0;
}

div.at-content-box--title h3 {
    color: #000;
}

div.at-content-box--description p {
    color: #000;
}

div.at-content-box--cta a.read-more-button {
    color: #000;
}

a.read-more-button {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Single Post */

.single.single-post .header-section {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
    padding: 11rem 0;
    z-index: 1;
}

.single.single-post .header-section:before {
    content: '';
    background-color: rgb(30 40 44 / 82%);
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 2;
}

.single.single-post .header-section>.wrap {
    position: relative;
    width: 90%;
    max-width: 960px;
    margin: 0 auto;
    padding: 0;
    z-index: 3;
}

.single.single-post .header-section h1 {
    color: #fff;
    font-size: 4.8rem;
    font-weight: 800;
    line-height: 1.12;
    margin: 0;
    text-align: center;
    text-transform: uppercase;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.17);
}

.single.single-post .header-section .entry-meta {
    margin: 1.2rem 0 2rem;
}

.single.single-post .header-section .entry-meta p {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    color: #fff;
    font-size: 1.6rem;
    font-weight: 500;
    margin: 0;
    text-align: center;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.17);
}

.single.single-post .header-section .entry-meta p>span.entry-meta--separator {
    font-size: 2.2rem;
    margin: 0 0 3px;
}

.single.single-post .header-section .entry-tagline {
    padding: 0 3rem;
}

.single.single-post .header-section .entry-tagline p {
    color: #fff;
    font-size: 1.9rem;
    font-weight: 500;
    margin: 0;
    text-align: center;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.17);
}

.single.single-post .content-sidebar-wrap {
    width: 90%;
    max-width: 960px;
    margin: 0 auto;
    padding: 10rem 0;
}

.single.single-post .entry-content h2 {
    font-size: 3.5rem;
    margin: 0 0 1.2rem;
}

.single.single-post .entry-content h3 {
    color: #000;
    font-size: 2.6rem;
    line-height: 1;
    margin: 0 0 1rem;
}

.single.single-post .entry-content h4 {
    color: #000;
    font-size: 1.7rem;
    font-weight: 800;
    line-height: 1.4;
    margin: 0 0 0.8rem;
    padding: 0;
    text-transform: uppercase;
}

.single.single-post .entry-content p {
    font-size: 1.9rem;
    line-height: 1.5;
}

.single.single-post .entry-content li {
    font-size: 1.8rem;
    line-height: 1.7;
}

.single.single-post .entry-content a:not(.button):not(.arrow-cta--link) {
    color: #000;
    font-weight: 600;
    border-bottom: 1.5px solid;
}

.single.single-post .entry-content p strong {
    font-weight: 700;
}

@media (max-width: 991px) {
    .single.single-post .header-section h1 {
        font-size: 4.2rem;
    }

    .single.single-post .entry-content h2 {
        font-size: 3.5rem;
    }
}

@media (max-width: 767px) {
    .single.single-post .header-section {
        padding: 8rem 0;
    }

    .single.single-post .header-section h1 {
        font-size: 3.5rem;
        text-align: left;
    }

    .single.single-post .entry-content h3 {
        font-size: 2.4rem;
    }

    .single.single-post .header-section h1>br {
        display: none;
    }

    .single.single-post .header-section .entry-meta p {
        justify-content: flex-start;
        text-align: left;
    }
}

.at-event-flyer {
    width: 500px;
    max-width: 50%;
    margin: 0 0 3rem 3rem;
}

.single.has-toc .entry-content {
    display: flex;
    flex-wrap: wrap;
    column-gap: 4rem;
}

.single.has-toc .entry-content>.table-of-contents {
    flex: 1 1 calc(40% - 11rem);
    border: solid 1px #000;
    background: #f1f1f1;
    padding: 2rem;
    margin: 2rem;
}

.single.has-toc .entry-content > .table-of-contents + p {
    order: -1;
    flex: 1 1 calc(60% - 2rem);
    word-break: break-word;
}

.single.has-toc .entry-content> .table-of-contents h2 {
    font-size: 2.5rem;
    text-align: center;
}

/* Blog */

.blog .blog-archive {
    display: flex;
    flex-wrap: wrap;
    gap: 7rem;
    width: 100%;
}

.blog .blog-archive .blog-archive--sidebar {
    flex: 1 1 calc(27% - 3.5rem);
    display: flex;
    flex-direction: column;
    gap: 5rem;
}

.blog .blog-archive .blog-archive--loop {
    flex: 1 1 calc(73% - 3.5rem);
}

.blog .blog-articles {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
}

.blog .blog-articles .blog-article {
    background-color: #fff;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    border: 1px solid #eceef1;
    border-radius: 0.5rem;
    box-shadow: 0px 3px 13px -2px rgba(0, 0, 0, 0.27);
    overflow: hidden;
    transition: 0.25s ease-in-out all;
}

.blog .blog-articles .blog-article:hover {
    box-shadow: 0px 3px 13px -2px rgba(0, 0, 0, 0.11);
}

.blog .blog-articles .blog-article--image a {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
}

.blog .blog-articles .blog-article--image a:before {
    content: '';
    background-color: #ddebf8;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0.15;
    transition: 0.25s ease-in-out all;
}

.blog .blog-articles .blog-article--image a:hover:before {
    opacity: 0;
}

.blog .blog-articles .blog-article--image span {
    background-color: #192b34;
    position: absolute;
    width: fit-content;
    height: fit-content;
    top: 0;
    left: 0;
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    padding: 0.8rem 2rem;
    border-bottom-right-radius: 0.5rem;
}

.blog .blog-articles .blog-article--image img {
    aspect-ratio: 2 / 1;
    object-fit: cover;
    object-position: center center;
    width: 100%;
    height: auto;
}

.blog .blog-articles .blog-article--image a:hover {
    opacity: 1;
}

.blog .blog-articles .blog-article--content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    height: 100%;
    gap: 4rem;
    padding: 4rem;
}

.blog .blog-articles .blog-article--content-info-title h2 {
    font-size: unset;
    margin: 0 0 2rem;
}

.blog .blog-articles .blog-article--content-info-title h2 a {
    font-size: 2rem;
    font-family: 'Libre Baskerville', serif;
    line-height: 1.236;
}

.blog .blog-articles .blog-article--content-info-description p {
    margin: 0;
}

.blog .blog-articles .blog-article--content-cta a {
    line-height: 1;
    text-decoration: none;
    padding: 0 0 0.5rem;
}

.blog .blog-filter {
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
}

.blog .featured-articles h2,
.blog .blog-filter h3 {
    font-size: 2.2rem;
    font-weight: 700;
    font-family: 'Public Sans', sans-serif;
    line-height: 1;
    margin: 0 0 1.2rem;
}

.blog .featured-articles h2 {
    margin: 0 0 0.4rem;
}

.blog .blog-filter span {
    width: fit-content;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #135083;
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 1;
    pointer-events: all;
    cursor: pointer;
    transition: 0.25s ease-in-out all;
}

.blog .blog-filter span:after {
    content: '\00d7';
    opacity: 0;
    transition: 0.25s ease-in-out all;
}

.blog .blog-filter span.active:after {
    opacity: 1;
}

.blog .blog-filter span:hover {
    opacity: 0.77;
}

.blog .blog-filter span.active {
    color: #000;
}

.blog .blog-filter span svg {
    width: 16px;
    height: 16px;
}

.blog .site-inner {
    background-color: #fff;
}

.blog .featured-articles {
    display: flex;
    flex-direction: column;
    gap: 3.2rem;
}

.blog .featured-articles .blog-article {
    border: 1px solid #ddd;
    border-radius: 0.5rem;
    box-shadow: 0px 2px 7px -2px rgba(0, 0, 0, 0.09);
    overflow: hidden;
    transition: 0.25s ease-in-out all;
}

.blog .featured-articles .blog-article:hover {
    box-shadow: none;
}

.blog .featured-articles .blog-article--content {
    background-color: #192b34;
    padding: 3rem;
}

.blog .featured-articles .blog-article--content-info-title h3 {
    font-size: unset;
    margin: 0 0 2rem;
}

.blog .featured-articles .blog-article--content-info-title h3 a {
    color: #fff;
    font-size: 1.7rem;
    font-weight: 700;
    line-height: 1.236;
}

.blog .featured-articles .blog-article--content-info-description p {
    color: #fff;
    font-size: 1.5rem;
    margin: 0 0 1.6rem;
}

.blog .featured-articles .blog-article--content-cta a {
    color: #fff;
    font-size: 1.6rem;
    line-height: 1;
}

.blog .blog-pagination {
    margin: 5rem 0 0;
}

.blog .blog-pagination ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2.4rem;
    margin: 0;
}

.blog .blog-pagination ul li {
    display: flex;
}

.blog .blog-pagination ul li:after,
.blog .blog-pagination ul li svg {
    display: none;
}

.blog .blog-pagination ul li span,
.blog .blog-pagination ul li a {
    background-color: #fff;
    color: #000;
    font-size: 1.8rem;
    font-weight: 500;
    line-height: 1;
    padding: 1.1rem 1.3rem;
    border: 1px solid #ccc;
    border-radius: 0.4rem;
    box-shadow: 0px 2px 5px -1px rgba(0, 0, 0, 0.11);
}

.blog .blog-pagination ul li span.dots {
    background-color: transparent;
    padding: 0;
    border: none;
    border-radius: 0;
    box-shadow: none;
}

.blog .blog-pagination ul li span.current,
.blog .blog-pagination ul li a:hover {
    background-color: #135083;
    color: #fff;
    border-color: #135083;
    box-shadow: none;
}

.blog .blog-pagination ul li span.current {
    font-weight: 600;
}

.blog .blog-archive .error-message p {
    margin: 0;
}

.blog .blog-archive .error-message .button {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: fit-content;
    color: #192b39;
}

@media (max-width: 991px) {
    .blog .blog-archive {
        gap: 4rem;
    }

    .blog .blog-archive .blog-archive--sidebar {
        flex: 1 1 calc(23% - 2rem);
    }

    .blog .blog-archive .blog-archive--loop {
        flex: 1 1 calc(77% - 2rem);
    }

    .blog .featured-articles {
        display: none;
    }
}

@media (max-width: 895px) {
    .blog .blog-archive {
        flex-direction: column;
    }

    .blog .blog-archive .blog-archive--sidebar {
        flex: 1;
        width: 100%;
        flex-direction: row;
        gap: 13vw;
    }

    .blog .blog-archive .blog-archive--loop {
        flex: 1;
    }
}

@media (max-width: 650px) {
    .blog .blog-articles {
        grid-template-columns: none;
    }

    .blog .blog-articles .blog-article {
        max-width: 350px;
        margin: 0 auto;
    }

    .blog .blog-archive .blog-archive--sidebar {
        justify-content: space-between;
        gap: 4rem;
        max-width: 350px;
        margin: 0 auto;
    }
}

@media (max-width: 450px) {
    .blog .blog-archive .blog-archive--sidebar {
        flex-direction: column;
        justify-content: flex-start;
        gap: 4rem;
    }
}

.blog .blog-articles--three-column {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
}

@media (max-width: 991px) {
    .blog .blog-articles--three-column {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 650px) {
    .blog .blog-articles--three-column {
        grid-template-columns: 1fr;
    }
}

/* Recent Articles Block */

.recent-articles {
    width: 100%;
}

.recent-articles--items-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin: 0 auto;
    width: 90%;
    max-width: 1280px;
}

@media (max-width: 1095px) {
    .recent-articles--items-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .recent-articles--items-wrapper {
        grid-template-columns: auto;
        gap: 5vw;
        max-width: 400px;
    }
}

.search-no-results .recent-articles--items-wrapper {
    grid-template-columns: auto;
}

.search-no-results .recent-articles--items-wrapper .wp-block-button {
    text-align: left;
}

.front-page .content .fp7-content .recent-articles .entry-header {
    padding: 4rem;
}

.recent-articles .entry-content p {
    display: none;
}

.recent-articles .entry-image-link {
    width: 100%;
    margin: 0;
    border-radius: 0;
}

div.recent-articles div.entry-content a.entry-image-link img {
    aspect-ratio: 2 / 1;
    object-fit: cover;
    object-position: center center;
    width: 100%;
    height: auto;
    border-radius: unset;
    margin-bottom: unset;
    box-shadow: unset;
}

.recent-articles .entry-header {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 4rem 4rem 4rem;
}

.recent-articles .entry-header .entry-title {
    margin: 0;
}

.recent-articles .entry-header .entry-title a {
    font-size: 2.4rem;
    line-height: 1.4;
}

.recent-articles .entry-header .entry-title a:hover {
    color: var(--mg-primary-blue);
}

.recent-articles .entry-content a {
    background-image: none;
    background-color: transparent;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    max-width: 100%;
    color: var(--mg-primary-blue);
    font-weight: 600;
    text-align: left;
    padding: 0;
}

.recent-articles .entry-content a:hover {
    gap: 1.75rem;
    opacity: 0.88;
}

/* Recent Articles Container */

.recent-articles-container {
    text-align: center;
}

.recent-articles-container .wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 0;
}

.recent-articles-container .wrap:before,
.recent-articles-container .wrap:after {
    display: none;
}

.recent-articles-container .widget {
    width: 100%;
}

.recent-articles-container .pricing-table {
    margin-right: 5vw;
    margin-left: 5vw;
}

.recent-articles-container hr {
    max-width: 88vw;
    margin-right: auto;
    margin-left: auto;
}

.recent-articles-container ul blockquote {
    padding-right: calc(2em + 5vw);
    padding-left: calc(2em + 5vw);
}

/* Recent Articles Container (rac) Content */

.rac-content {
    margin: 6rem 0;
}

.home .content .rac-content .entry.post {
    display: flex;
    flex-direction: column-reverse;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0px 6px 13px -4px rgba(0, 0, 0, 0.22);
    overflow: hidden;
}


/* Consultation Page */

.consultation-page .site-inner {
    background-color: #fff;
    overflow-x: hidden;
}

.consultation-page .content>article {
    background-color: #fff;
}

.consultation-page .content-sidebar-wrap {
    background-color: #fff;
    padding: 7.6rem 0 10rem;
}

.consultation-page .contact-form-wrapper {
    padding: 5rem 6rem;
    z-index: 1;
}

.consultation-page .contact-form--heading,
.consultation-page .contact-form--content {
    position: relative;
    z-index: 3;
}

.consultation-page .contact-form-section--steps {
    width: 100%;
    height: 100%;
    padding-top: 5rem;
}

.consultation-page .contact-form-section--steps h2,
.consultation-page .contact-form-section--content h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 2rem;
}

.consultation-page .contact-form-section--content h1 {
    color: #000;
    margin-bottom: 0;
}

.consultation-page .contact-form-section--steps h2 {
    color: #000;
}

.consultation-page .contact-form-section--steps .contact-steps--info p {
    color: #000;
    font-size: 1.9rem;
    line-height: 1.5;
    margin-bottom: 2rem;
}

.consultation-page .contact-form-section--content {
    background-color: transparent;
    margin-left: 2rem;
}

.consultation-page .gform_wrapper {
    margin: 16px 0;
}

.consultation-page .ui-datepicker .ui-datepicker-title select {
    color: #000;
    font-size: 1.5rem;
    font-weight: 600;
    padding: 0 3rem 0 0;
}

.consultation-page .ui-datepicker .ui-datepicker-calendar span,
.consultation-page .ui-datepicker .ui-datepicker-calendar a {
    font-size: 1rem;
}

.consultation-page .gform_wrapper.gravity-theme .gform_footer {
    margin-top: 3.2rem;
}

.consultation-page .gform_wrapper.gravity-theme .gfield label[for*="gform_browse_button"] {
    transform: translateY(4px);
}

.consultation-page .contact-steps {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.consultation-page .contact-steps--items {
    width: 100%;
    height: 100%;
    padding: 5rem 0 5rem 4rem;
}

.consultation-page .contact-steps--items-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.consultation-page .contact-steps--items-border {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 12px;
    left: -4rem;
    border-left: 2px solid #ddd;
    z-index: 2;
}

.consultation-page .contact-steps--items-inner {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    height: 100%;
    padding-right: 2rem;
}

.consultation-page .contact-step {
    position: relative;
    z-index: 3;
}

.consultation-page .contact-step::before {
    content: '';
    position: absolute;
    display: block;
    top: 7px;
    left: calc(-4rem - 6px);
    width: 14px;
    height: 14px;
    background-color: #000;
    border-radius: 50%;
    z-index: 9;
}

.consultation-page .contact-step:last-of-type::after {
    content: '';
    position: absolute;
    display: block;
    top: 12px;
    left: -4rem;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.consultation-page .entry-content .contact-step--heading h3 {
    font-size: 2rem;
    font-weight: 700;
    padding: 0;
}

.consultation-page .entry-content .contact-step--copy p {
    color: #000;
    font-size: 1.6rem;
    line-height: 1.5;
    margin-bottom: 0;
}

.consultation-page .gform_wrapper.gravity-theme .gform_fields {
    row-gap: 1.5rem;
    column-gap: 0;
}

.consultation-page .gform_wrapper.gravity-theme .gfield,
.consultation-page .gform_wrapper.gravity-theme .gfield.static {
    margin: 0;
}

.consultation-page .gform_wrapper.gravity-theme .gfield.field-spaced {
    margin: 3.5rem 0 7rem;
}

.consultation-page .gform_wrapper.gravity-theme .gfield select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.consultation-page .gform_wrapper.gravity-theme .gfield .ginput_container.ginput_container_select,
.consultation-page .gform_wrapper.gravity-theme .gfield .ginput_container.gfield_time_ampm {
    position: relative;
}

.consultation-page .gform_wrapper.gravity-theme .gfield .ginput_container.gfield_time_ampm {
    min-width: 77px;
    max-width: none;
}

.consultation-page .gform_wrapper.gravity-theme .gfield .ginput_container.ginput_container_select select,
.consultation-page .gform_wrapper.gravity-theme .gfield .ginput_container.gfield_time_ampm select {
    padding: 5px 12px !important;
    background-color: transparent;
    border-color: #c9cfd0;
    color: #fff;
    border-radius: 4px;
    height: auto;
    line-height: 1.5;
    margin-left: 1px;
}

.consultation-page .gform_wrapper.gravity-theme .gfield .ginput_container.ginput_container_select select:focus,
.consultation-page .gform_wrapper.gravity-theme .gfield .ginput_container.gfield_time_ampm select:focus {
    border-color: #fff;
}

.consultation-page .gform_wrapper.gravity-theme .gfield .ginput_container.ginput_container_select:after,
.consultation-page .gform_wrapper.gravity-theme .gfield .ginput_container.gfield_time_ampm:after {
    content: '\f078';
    position: absolute;
    display: block;
    top: 1.2rem;
    right: 1.5rem;
    color: #c9cfd0;
    font-size: 1.5rem;
    font-weight: 900;
    font-family: 'Font Awesome 6 Pro';
    pointer-events: none;
}

.consultation-page .gform_wrapper.gravity-theme .gfield .ginput_container input,
.consultation-page .gform_wrapper.gravity-theme .gfield .ginput_container textarea {
    margin: 0;
}

.consultation-page .gform_wrapper.gravity-theme .gfield .ginput_container {
    margin-top: 8px;
}

.consultation-page .gform_wrapper.gravity-theme .gfield .ginput_container input,
.consultation-page .gform_wrapper.gravity-theme .gfield .ginput_container select,
.consultation-page .gform_wrapper.gravity-theme .gfield .ginput_container textarea {
    color: #fff;
    font-size: 2rem;
    padding: 5px 4px;
}

.consultation-page .gform_wrapper.gravity-theme .gfield .ginput_container input {
    height: 51px;
}

.consultation-page .gform_wrapper.gravity-theme .gfield .ginput_container span.gform_drop_instructions {
    color: #aaa;
    font-size: 2rem;
}

.consultation-page .site-footer .static-page-cta.widget-area {
    display: none;
}

@media (min-width: 992px) {
    .consultation-page .contact-main {
        padding: 0 6rem;
    }
}

@media (max-width: 991px) {
    .consultation-page .content-sidebar-wrap {
        padding-top: 0;
        padding-left: 6rem;
        padding-right: 6rem;
    }

    .consultation-page .content>article {
        padding-top: 0;
    }

    .consultation-page .entry-content {
        padding: 0 3vw;
    }

    .consultation-page .contact-form-wrapper {
        padding: 8rem 0;
    }

    .consultation-page .contact-form-wrapper:before {
        display: block;
    }

    .consultation-page .contact-form-section--steps {
        padding-top: 7rem;
    }

    .consultation-page .contact-form-section--content {
        margin-left: 0;
    }

    .consultation-page .contact-form-section--steps h2 br {
        display: none;
    }

    .contact-steps--items {
        width: 100%;
        height: 100%;
        padding: 2rem 0 2rem 5rem;
    }

    .contact-steps--items-inner {
        gap: 4rem;
    }
}

@media (max-width: 767px) {
    .consultation-page .content-sidebar-wrap {
        padding-top: 0;
        padding-left: 6vw;
        padding-right: 6vw;
    }
}

.consultation-page .gform_wrapper.gravity-theme .gfield_label {
    display: inline-block;
    font-size: 16px;
    font-weight: 700;
    margin: 1.2rem 0;
    padding: 0;
}

.consultation-page .gform_wrapper.gravity-theme .gfield.static .gfield_label {
    margin: 0 0 0.8rem;
}

.consultation-page .gform_wrapper.gravity-theme .gsection {
    margin-bottom: 1rem;
    border-bottom: none;
}

.consultation-page .entry-content .gform_wrapper.gravity-theme .gsection h3 {
    color: #fff;
    font-size: 2rem;
    font-weight: 600;
    margin: 0 0 1.5rem;
    padding: 0;
}

.consultation-page .gform_wrapper.gravity-theme .gform_fileupload_rules {
    color: #fff;
}

.consultation-page .gform_wrapper.gravity-theme .gfield.field_description_below+.gsection {
    margin: 0;
    padding: 0;
}

.consultation-page .gform_wrapper.gravity-theme .gfield.contact-time-picker {
    font-size: 3rem;
}

.consultation-page .gform_wrapper.gravity-theme .ginput_preview {
    display: flex;
    align-items: center;
    color: #fff;
    font-size: 1.5rem;
    margin: 0.8rem 0;
}

.consultation-page .gform_wrapper.gravity-theme .gfield .ginput_container.ginput_container_select select option {
    color: #000;
}

@media (min-width: 992px) {
    .consultation-page .gform_wrapper.gravity-theme .gfield {
        padding-right: 16px;
    }
}

.consultation-page .gform_wrapper input:not([type="radio"]):not([type="checkbox"]):not([type="submit"]):not([type="button"]):not([type="image"]):not([type="file"]) {
    padding: 5px 12px;
    border-top-style: hidden;
    border-right-style: hidden;
    border-left-style: hidden;
    border-bottom-style: groove;
    border-radius: unset;
    box-shadow: none;
}

.consultation-page .gform_wrapper textarea {
    padding: 5px 12px;
    border-radius: unset;
    box-shadow: none;
}

/* Home Page Video */

.video-background-block {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    background-color: inherit;
    opacity: inherit;
}

.video-background-block video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    min-width: 100%;
    min-height: 100%;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: 0;
    object-fit: cover;
}

.block-view .video-overlay {
    position: absolute;
    transform: translate(-50%, -50%);
    z-index: 2;
    text-align: center;
    color: inherit;
}

.block-view .center-center {
    top: 50%;
    left: 50%;
}

.block-view .center-right {
    top: 50%;
    right: 10%;
    left: auto;
    transform: translate(0, -50%);
    text-align: right;
}

.block-view .center-left {
    top: 50%;
    left: 10%;
    right: auto;
    transform: translate(0, -50%);
    text-align: left;
}

.block-view .center-top {
    top: 10%;
    left: 50%;
    transform: translate(-50%, 0);
    text-align: center;
}

.block-view .center-bottom {
    bottom: 10%;
    left: 50%;
    transform: translate(-50%, 0);
    text-align: center;
}

.block-view .top-left {
    top: 10%;
    left: 10%;
    transform: translate(0, 0);
    text-align: left;
}

.block-view .top-right {
    top: 10%;
    right: 10%;
    left: auto;
    transform: translate(0, 0);
    text-align: right;
}

.block-view .bottom-left {
    bottom: 10%;
    left: 10%;
    top: auto;
    transform: translate(0, 0);
    text-align: left;
}

.block-view .bottom-right {
    bottom: 10%;
    right: 10%;
    top: auto;
    left: auto;
    transform: translate(0, 0);
    text-align: right;
}

.video-overlay .cta-button {
    background-color: #64c64e;
    padding: 1rem 2rem;
    color: white;
    text-decoration: none;
    border-radius: 0.25rem;
    font-weight: bold;
}

.video-background-block h1[style],
.video-background-block p[style],
.video-background-block .cta-button[style] {
    font-size: inherit;
    color: inherit;
}

.full-width-content .alignfull {
    position: relative;
    left: 50%;
    width: 100vw;
    max-width: none;
    margin-left: -50vw;
}

.content-sidebar .full-width-content .alignfull,
.sidebar-content .full-width-content .alignfull {
    max-width: calc(100% + 12rem);
}

/* News */

.news-archive h1.entry-title {
    border-bottom: 2px solid #929baf;
    padding-bottom: 1.2rem;
    margin-bottom: 0.5rem;
}

.news-post .entry-content h2 {
    font-size: 1.5rem;
}

h2.news-post--header {
    font-weight: 900;
    margin-bottom: 0.3rem;
    line-height: 1.35;
}

.news-post--meta {
    display: block;
    margin: 0 0 1.5rem;
    padding: 0 2px;
}

time.news-post--date {
    font-weight: 600;
    font-size: 0.9rem;
    color: #444;
}

.news-archive article.ews-post {
    border-bottom: 1px solid #cccccc;
    padding: 2rem 0 1rem;
}

.news-archive article.news-post:last-of-type {
    border-bottom: none;
}

/* client logos block */

.client-logos-slider {
    position: relative;
    margin: 0 auto;
    max-width: 1200px;
    padding: 10rem 10rem;
}

.client-logos-slider .swiper {
    display: flex;
    position: relative;
    align-items: center;
}

.client-logos-slider .swiper-controls {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.client-logos-slider .swiper .swiper-wrapper {
    display: flex;
    align-items: center;
}

/* Swiper navigation buttons */
.client-logos-slider .swiper-button-next,
.client-logos-slider .swiper-button-prev {
    width: 44px;
    height: 44px;
    z-index: 10;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.3s ease;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0
}

.client-logos-slider .swiper-button-next::after,
.client-logos-slider .swiper-button-prev::after {
    font-size: 20px;
    color: white;
}

.client-logos-slider .swiper-button-next {
    top: calc(50% - 22px);
    align-self: center;
}

.client-logos-slider .swiper-button-prev {
    top: calc(50% - 22px);
    align-self: center;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    opacity: 1;
}

@media (max-width: 768px) {

    .client-logos-slider .swiper-button-next,
    .client-logos-slider .swiper-button-prev {
        width: 35px;
        height: 35px;
    }

    .client-logos-slider .swiper-button-next::after,
    .client-logos-slider .swiper-button-prev::after {
        font-size: 16px;
    }

    .client-logos-slider .swiper-button-next {
        margin-right: 0;
        align-self: center;
    }

    .client-logos-slider .swiper-button-prev {
        margin-left: 0;
        align-self: center;
    }
}

.client-logos-slider .swiper .swiper-pagination-lock {
    display: unset;
}

.client-logos-slider .swiper-pagination-bullets.swiper-pagination-horizontal {
    bottom: unset;
        top: unset;
}

/* Custom image */

.custom-image--wrapper {
    position: relative;
}

.custom-image {
    position: relative;
    display: block;
    border-radius: 16px;
    max-width: 100%;
    background: #fff;
    box-shadow: 0px 10px 28px -7px rgb(0 0 0 / 35%);
}

.custom-image.image-center {
    margin: 0 auto;
}

.custom-image.image-right {
    margin: 0 0 0 auto;
}

.custom-image.image-left {
    margin: 0 auto 0 0;
}

.custom-image img {
    object-fit: cover;
    object-position: center;
    width: 100%;
    opacity: 1;
}

img.custom-image--img-secondary {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

.custom-image--tagline {
    display: inline-block;
    position: absolute;
    right: -12.5%;
    top: 20px;
    background: #657d9f;
    color: #fff;
    text-align: center;
    z-index: 3;
    border-radius: 25px;
    padding: 3px 15px;
    font-size: 1.6rem;
    font-weight: 600;
    text-transform: uppercase;
}

.custom-image--tagline.left {
    left: -12.5%;
    right: auto;
}

.custom-image--graphic img {
    display: block;
    box-shadow: none;
}

.custom-image--graphic {
    display: block;
    position: absolute;
}

.custom-image--graphic.custom-image--graphic-left {
    bottom: 10%;
    left: -20%;
    z-index: 10;
}

.custom-image--graphic.custom-image--graphic-right {
    top: 10%;
    right: -20%;
    z-index: -1;
}

.custom-image--graphic svg {
    font-size: 15rem;
}

@media (max-width: 896px) {
    .custom-image--tagline {
        display: none !important;
    }
}

/* Centered Copy Block */

section.browser-view {
    padding: 5rem;
    margin: 6rem auto;
    max-width: 1200px;
    position: relative;
    border: 5px solid transparent;
    box-shadow: 0 4px 16px -2px rgba(0, 0, 0, 0.12);
    border-radius: 0;
    overflow: hidden;
}

@media (max-width: 1300px) {
    .section.browser-view {
        margin: 6rem;
    }
}

.browser-view .cta-inner {
    text-align: center;
}

.browser-view .cta-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.browser-view .cta-section p {
    margin-bottom: 2rem;
    font-size: 1.125rem;
    line-height: 1.7;
}

section.browser-view .cta-inner h2 {
    margin: 1rem 0 3rem;
}

.browser-view .cta-image {
    max-width: 80px;
    height: auto;
    margin-bottom: 2rem;
    position: absolute;
}

.browser-view .bottom-right {
    top: auto;
    bottom: 3rem;
    left: auto;
    right: 3rem;
}

.browser-view .bottom-left {
    top: auto;
    bottom: 3rem;
    left: 3rem;
    right: auto;
}

.browser-view .top-left {
    top: 3rem;
    bottom: auto;
    left: 3rem;
    right: auto;
}

.browser-view .top-right {
    top: 3rem;
    bottom: auto;
    left: auto;
    right: 3rem;
}

/* Static Copy Left Right */

.two-column-content-block {
    padding: 8rem;
}

.block-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
}

.column-left,
.column-right {
    flex-basis: 48%;
    box-sizing: border-box;
}

.align-left {
    text-align: left;
}

.align-center {
    text-align: center;
}

.align-right {
    text-align: right;
}

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

    .column-left,
    .column-right {
        flex-basis: 100%;
        text-align: center;
    }
}

.two-column-content-block {
    padding: 8rem;
    position: relative;
}

section.two-column-content-block:before {
    clip-path: polygon(0 0, 56% 0, 44% 100%, 0 100%);
    content: '';
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
}

section.two-column-content-block:after {
    content: '';
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -2;
}

/* After content CTA */

.after-content-cta--section {
    background-color: #f7f9fc;
    padding: 40px;
    border-radius: 8px;
    max-width: 1200px;
    margin: 30px auto;
    text-align: center;
    box-shadow: 0px 10px 28px -7px rgb(0 0 0 / 35%);
}

.after-content-cta--title span {
    font-size: 1.8em;
    color: #333;
    font-weight: bold;
    margin-bottom: 20px;
    display: inline-block;
}

.after-content-cta--buttons-row {
    display: flex;
    justify-content: center;
    gap: 80px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.after-content-cta--button-wrap {
    display: inline-block;
}

.after-content-cta--button {
    background-color: #007bff;
    color: white;
    font-size: 1.2em;
    font-weight: bold;
    padding: 12px 35px;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.after-content-cta--button:hover {
    background-color: #0056b3;
    transform: translateY(-3px);
}

@media (max-width: 1300px) {
    .after-content-cta--section {
        margin: 3rem;
    }
}

@media (max-width: 768px) {
    .after-content-cta--buttons-row {
        flex-direction: column;
        gap: 15px;
    }

    .after-content-cta--button {
        width: 100%;
    }
}

/* Mid Content CTA */

.mid-content-cta {
    background-color: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.mid-content-cta--inner {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: start;
}

.mid-content-cta--image {
    flex-shrink: 0;
}

.mid-content-cta--image img {
    max-width: 175px;
    height: auto;
    margin-right: 20px;
    border-radius: 4px;
}

.mid-content-cta--copy {
    flex-grow: 1;
    max-width: 50rem;
    text-align: center;
}

.mid-content-cta--copy p {
    margin: 0;
    font-size: 16px;
    color: #333;
    line-height: 1.5;
    padding-right: 20px;
}

.mid-content-cta--button {
    flex-shrink: 0;
}

.mid-content-cta--button a.button {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
}

.mid-content-cta--button i.fa-solid {
    margin-left: 8px;
    font-size: 14px;
}

.mid-content-cta-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

@media (max-width: 1300px) {
    .mid-content-cta {
        margin: 3rem;
    }
}

/* Form CTA Block */

.form-cta-block {
    position: relative;
    padding: 50px;
    background-size: cover;
    background-position: center;
    color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: left;
}

.form-cta-container {
    display: flex;
    max-width: 1200px;
    width: 100%;
}

@media (max-width: 867px) {
    .form-cta-container {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 5rem;
    }
}

.form-cta-left {
    flex: 1;
    margin-right: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.form-cta-left h2 {
    font-size: 2rem;
    color: #000;
    margin-bottom: 20px;
}

.form-cta-image {
    margin-bottom: 20px;
}

.circular-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid white;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

.form-cta-right {
    flex: 1;
    padding-left: 20px;
    display: flex;
    align-items: start;
    justify-content: flex-start;
}

.form-cta-right form {
    width: 100%;
}

.form-cta-extra-info {
    color: #000;
    text-align: center;
}

.form-cta-extra-info p {
    margin-bottom: 10px;
}

/* Phone Number CTA */

.phone-number-block {
    display: flex;
    align-items: center;
}

.phone-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: inherit;
    font-size: 16px;
}

.phone-link i {
    margin-right: 8px;
    font-size: 18px;
    color: #000;
}

.phone-link .phone-number {
    font-size: 16px;
    color: #000;
}

/* Email CTA */

.email-cta-block {
    display: flex;
    align-items: center;
}

.email-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: inherit;
    font-size: 16px;
}

.email-link i {
    margin-right: 8px;
    font-size: 18px;
    color: #000;
}

.email-link .email-address {
    font-size: 16px;
    color: #000;
}

/* Mega Menu */

@media (min-width: 896px) {
    li:not(.mega-menu) .menu-item {
        padding: 0.25em 0.6em;
        height: auto;
        list-style-type: none;
    }
}

.widget-area.footer-widget-area ul {
    display: -webkit-box !important;
    display: -ms-flexbox !important;
    display: flex !important;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

@media (min-width: 896px) {

    .mega-menu ul.sub-menu:first-of-type {
        width: 50vw;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }

    .mega-menu ul.sub-menu:first-of-type>li {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-flex: 0;
        -ms-flex-positive: 0;
        flex-grow: 0;
        -ms-flex-preferred-size: 50%;
        flex-basis: 50%;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-align: start;
        -ms-flex-align: start;
        align-items: flex-start;
    }

    .mega-menu ul.sub-menu:first-of-type ul.sub-menu {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -ms-flex-wrap: nowrap;
        flex-wrap: nowrap;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        position: relative;
        margin: 0;
        /* padding: 0.5rem 0 0.5rem 4px; */
        padding: 0.5rem 0;
        left: auto;
        top: auto;
        width: 100% !important;
        background-color: transparent;
        -webkit-box-shadow: none;
        box-shadow: none;
        border: none !important;
    }

    .mega-menu ul.sub-menu:first-of-type ul.sub-menu>li {
        -webkit-box-flex: 1;
        -ms-flex: 1;
        flex: 1;
        -webkit-box-align: start;
        -ms-flex-align: start;
        align-items: flex-start;
        padding: 0;
        line-height: 1;
    }

    .mega-menu ul.sub-menu:first-of-type ul.sub-menu>li a {
        font-size: 1.4rem;
        font-weight: 400;
        padding: 4px 0;
        margin-left: 3px;
    }

    .mega-menu ul.sub-menu:first-of-type ul.sub-menu:before {
        display: none;
    }

    .mega-menu.menu-item.menu-item-has-children:hover>.sub-menu {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
    }

    .mega-menu ul.sub-menu:first-of-type>li>a:first-child {
        font-size: 1.5rem;
        font-weight: 800;
    }

    .is_ie .mega-menu.menu-item.menu-item-has-children:hover .sub-menu {
        display: block !important;
    }

    .is_ie .mega-menu>.sub-menu>li {
        max-width: 45% !important;
        width: 100% !important;
        display: inline-block !important;
    }
}

@media (min-width: 896px) {
     .site-header>.wrap {
        position: relative;
    }

     .site-header .nav-primary,
     .site-header .nav-primary>.wrap,
     .site-header .nav-primary ul.menu,
     .site-header .nav-primary ul.menu>li.menu-item.mega-menu {
        position: initial;
    }

     .site-header .nav-primary ul.menu li.menu-item.mega-menu>ul.sub-menu {
        min-width: 850px;
        max-width: 850px;
    }

     .site-header .nav-primary ul.menu li.menu-item.mega-menu>ul.sub-menu>li.menu-item {
        flex: 1 1 30%;
        max-width: calc(100% / 2);
    }

}

.mega-menu ul.sub-menu ul.sub-menu {
    position: unset !important;
    opacity: 1 !important;
}


/* Mega Menu Custom Layout */
@media (min-width: 1024px) {
    .mega-menu-container {
      position: absolute;
      top: 100%;
      left: 0;
      width: 100vw;
      background: #fff;
      display: none;
      box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
      z-index: 1000;
    }
  
    .menu-item.mega-menu:hover .mega-menu-container {
      display: block;
    }
  
    .mega-menu-wrap {
      display: flex;
      justify-content: space-between;
      padding: 4rem;
      max-width: 1280px;
      margin: 0 auto;
    }
  
    .mega-menu-wrap--menu {
      flex: 1 1 60%;
    }
  
    .mega-menu-wrap--menu .sub-menu {
      display: grid;
      grid-template-columns: 1fr;
      gap: 1.5rem;
      list-style: none;
      margin: 0;
      padding: 0;
    }
  
    .mega-menu-wrap--menu .sub-menu li a {
      font-weight: bold;
      font-size: 1.4rem;
      color: #000;
      text-decoration: none;
      transition: color 0.2s ease-in-out;
    }
  
    .mega-menu-wrap--menu .sub-menu li a:hover {
      color: #1a78f6;
    }
  
    .mega-menu-wrap--cta {
      flex: 1 1 40%;
      background-color: #f5f4fb;
      padding: 3rem;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: flex-start;
      gap: 1.5rem;
    }
  
    .mega-menu-wrap--cta p {
      margin: 0;
      color: #333;
      line-height: 1.5;
    }
  
    .mega-menu-wrap--cta .mega-menu-callout p {
      font-size: 1.8rem;
      font-weight: bold;
    }
  
    .mega-menu-wrap--cta .mega-menu-copy p {
      font-size: 1.4rem;
      color: #555;
    }
  
    .mega-menu-wrap--cta .mega-menu-action a.button {
      background: #5f4dee;
      color: #fff;
      padding: 1rem 2rem;
      font-weight: 600;
      text-decoration: none;
      transition: background 0.3s ease;
    }
  
    .mega-menu-wrap--cta .mega-menu-action a.button:hover {
      background: #4734cb;
    }
  }

  @media (min-width: 896px) {
    .menu > .menu-item.mega-menu {
      position: relative;
    }
  
    .menu > .menu-item.mega-menu .mega-menu-container {
      display: none;
      position: absolute;
      top: 100%;
      left: 0;
      width: 100%;
      background: #fff;
      z-index: 999;
      box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
    }
  
    .menu > .menu-item.mega-menu:hover .mega-menu-container {
      display: block;
    }
  
    .mega-menu-wrap {
      display: flex;
      padding: 3rem;
      max-width: 1280px;
      margin: 0 auto;
    }
  
    .mega-menu-wrap--menu {
      flex: 0 0 60%;
    }
  
    .mega-menu-wrap--cta {
      flex: 0 0 40%;
      background: #f7f5ff;
      padding: 2rem !important;
    }
  
    .mega-menu-wrap--cta p {
      margin: 0 0 1rem;
    }
  
    .mega-menu-wrap--cta .button {
      display: inline-block;
      background: #6544db;
      color: #fff;
      padding: 0.75rem 1.5rem;
      text-decoration: none;
      border-radius: 6px;
    }
  
    .mega-menu-wrap--cta .button:hover {
      background: #5232c0;
    }
  
    .mega-menu-wrap--menu .sub-menu {
      display: flex;
      /* flex-direction: column; */
      gap: 0.75rem;
    }
  
    .mega-menu-wrap--menu .sub-menu li a {
      font-weight: bold;
      color: #111;
      text-decoration: none;
    }
  
    .mega-menu-wrap--menu .sub-menu li a:hover {
      color: #6544db;
    }
   
  }


  @media (min-width: 1024px) {
.menu > .menu-item-has-children:not(.mega-menu) > .sub-menu {
    right: -9999px;
    opacity: 0;
    pointer-events: none;
}

.menu > .menu-item-has-children:not(.mega-menu):hover > .sub-menu {
    right: 0;
    opacity: 1;
    pointer-events: auto;
}

.menu-item.mega-menu .sub-menu {
    position: static !important;
    right: auto;
    opacity: 1;
    pointer-events: auto;
    display: flex !important;
    padding: 3rem;
}
  }

@media (min-width: 896px) {
    .mega-menu-container .mega-menu-wrap .mega-menu-wrap--menu .sub-menu:before {
        display: none;
    }

    .mega-menu-container .mega-menu-wrap .mega-menu-wrap--menu .sub-menu svg {
        display: none;
    }
}

@media (min-width: 1024px) {
    .mega-menu-container {
      width: 100vw;
      left: 0;
      right: 0;
      position: absolute;
    }
  
    .mega-menu-wrap {
      width: 100%;
      max-width: none;
      padding: 0;
      display: flex;
    }
  
    .mega-menu-wrap--menu {
      flex: 1 1 100%;
      width: 100%;
      max-width: 100%;
    }
  
    .mega-menu-wrap--menu .sub-menu {
      width: 100% !important;
      max-width: 100% !important;
      display: flex !important;
      height: 100%;
      flex-wrap: wrap;
      gap: 0;
      padding: 0;
    }
  
    .mega-menu-wrap--menu .sub-menu > li {
      flex: 1 1 100%;
      max-width: 100%;
    }
  }


  @media (max-width: 895px) {
    /* Hide mega menu CTA-style layout only */
    .mega-menu-wrap--cta,
    .mega-menu-ctas,
    .mega-menu-thumbnail,
    .mega-menu-callout,
    .mega-menu-copy,
    .mega-menu-action {
      display: none !important;
    }
  
    /* Ensure submenus are allowed to show */
    .mega-menu-container .sub-menu {
      display: block !important;
      position: relative;
      opacity: 1;
      pointer-events: auto;
      padding: 0;
      background: none;
      box-shadow: none;
      border: none;
    }
  }



/* Sub Menu */

.nav-primary .menu-item ul.sub-menu li a:before {
    display: none;
}

.nav-primary ul:not(.sub-menu) .menu-item.menu-item-has-children a:after {
    display: none;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f078";
}

.nav-primary ul:not(.sub-menu) .menu-item.menu-item-has-children a {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.nav-primary ul:not(.sub-menu) .menu-item.menu-item-has-children a svg {
    width: .7em;
    margin-left: 0.5rem;
    -webkit-transform: translateY(1px);
    -ms-transform: translateY(1px);
    transform: translateY(1px);
}

.nav-primary ul.sub-menu .menu-item.menu-item-has-children a:after,
.nav-primary ul.sub-menu .menu-item a:after {
    display: none;
    content: "" !important;
}

.nav-primary .menu-item a:hover:before,
.nav-primary .menu-item a:focus:before,
.nav-primary .menu-item a:active:before {
    left: 0;
    right: 0;
}

.nav-primary .sub-menu a {
    font-weight: 700;
    font-size: 1.4rem;
    color: #3e3e3e;
}

.nav-primary .sub-menu a:hover {
    color: #333;
}


.sub-menu {
    display: none;
    clear: both;
}

.sub-menu:before,
.sub-menu:after {
    clear: both;
    display: block;
    content: '';
}

.sub-menu:before {
    content: '';
    position: absolute;
    top: -5px;
    top: -0.5rem;
    height: 10px;
    height: 1rem;
    width: 10px;
    width: 1rem;
    background-color: rgba(0, 0, 0, 0.97);
    border-top: 1px solid rgba(0, 0, 0, 0.97);
    border-left: 1px solid rgba(0, 0, 0, 0.97);
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    z-index: 98;
    opacity: 1;
    -webkit-transition-delay: 0.3s;
    -o-transition-delay: 0.3s;
    transition-delay: 0.3s;
    display: none;
}

.sub-menu .sub-menu:before {
    content: '';
    position: absolute;
    top: -5px;
    top: 2rem;
    left: 30px;
    left: -0.5rem;
    height: 10px;
    height: 1rem;
    width: 10px;
    width: 1rem;
    background-color: rgba(8, 52, 91, 0.97);
    border-top: none;
    border-bottom: 1px solid rgba(8, 52, 91, 0.97);
    border-left: 1px solid rgba(8, 52, 91, 0.97);
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    z-index: 98;
    opacity: 1;
    -webkit-transition-delay: 0.3s;
    -o-transition-delay: 0.3s;
    transition-delay: 0.3s;
}

.sub-menu .menu-item {
    /* width: 100%; */
    width: fit-content;
    height: auto;
    padding: 0.5em 0;
}

.sub-menu .menu-item:first-of-type {
    margin-top: 1em;
}

.sub-menu a {
    padding-left: 0.618em;
}

.sub-menu .sub-menu {
    padding-left: 1em;
}

.nav-secondary .sub-menu .menu-item {
    height: auto;
}

.sub-menu-toggle {
    position: absolute;
    right: 4em;
    height: auto;
    top: 0.1em;
    background: none;
    padding: 1em;
    margin: 0 -1em;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.sub-menu-toggle:hover,
.sub-menu-toggle:focus {
    background: none;
    -webkit-box-shadow: none;
    box-shadow: none;
}


.sub-menu-toggle:before {
    content: '';
    display: block;
    margin: 2px 0 -2px;
    margin: 0.2rem 0 -0.2rem;
    border: 4px solid transparent;
    border: 0.4rem solid transparent;
    border-top-color: #2a3139;
}

.sub-menu-toggle.activated:before {
    -webkit-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    transform: rotate(180deg);
    margin: -2px 0 2px;
    margin: -0.2rem 0 0.2rem;
}

.sub-menu-toggle svg {
    color:#000;
}

.menu-item-has-children .sub-menu-toggle:focus {
    transform: rotate(-90deg);
    transition: transform 0.3s ease;
}

@media (min-width: 896px) {
    .menu-item.menu-item-has-children:hover>.sub-menu {
        display: block;
    }
}

@media (min-width: 896px) {

    .menu-item-has-children .sub-menu-toggle:hover {
        transform: rotate(180deg);
        transition: transform 0.3s ease;
    }

    .sub-menu {
        background-color: rgba(255, 255, 255, 1);
        top: 100%;
        position: absolute;
        margin-left: -1em;
        width: 20rem;
        z-index: 99;
        padding: 1em 0;
        border-radius: 3px;
        -webkit-box-shadow: 0px 10px 28px -7px rgba(0, 0, 0, 0.2);
        box-shadow: 0px 10px 28px -7px rgba(0, 0, 0, 0.2);
    }

    .nav-primary .sub-menu a {
        color: #000;
    }

    .sub-menu:before {
        display: block;
    }

    .sub-menu .menu-item {
        padding: 0.5em 1em;
        height: auto;
    }

    li:not(.mega-menu) .menu-item {
        padding: 0.25em 0.6em;
        height: auto;
    }

    .sub-menu {
        display: flex;
        right: -9999px;
        pointer-events: none;
        opacity: 0;
        /* transition: 0.25s ease-in-out opacity, 0s 0.25s ease-in-out right; */
    }

    .menu-item:hover > .sub-menu {
		right: 0;
        left: -3em;
		pointer-events: all;
        opacity: 1;
		transition: 0.25s ease-in-out opacity, 0s ease-in-out right;
	}

    .mega-menu:hover>.sub-menu {
        right: 0;
        left: unset;
        pointer-events: all;
        opacity: 1;
        transition: 0.25s ease-in-out opacity, 0s ease-in-out right;
    }

    .sub-menu .menu-item:first-of-type {
        margin-top: 0;
    }

    .sub-menu a {
        padding: 0;
        position: relative;
        word-wrap: break-word;
        color: #fff;
    }

    .sub-menu .sub-menu {
        margin: -0.1rem 0 0 19.9rem;
        padding-left: 0;
        left: -0.1rem;
        top: -0.5em;
        border: 1px solid #eceef1;
    }

    .sticky-header .shrink .nav-secondary ul ul.sub-menu .menu-item {
        height: auto;
    }

    .sub-menu-toggle {
        display: none;
    }

}


.widget_nav_menu ul:not(.sub-menu) {
    display: block;
    margin-left: 0;
}

@media (max-width: 895px) {
    .nav-primary ul:not(.sub-menu) .menu-item.menu-item-has-children a svg {
        display: none;
    }
}

.nav-primary ul.menu>li.menu-item>ul.sub-menu:before {
    content: "";
    display: none !important;
    position: absolute;
    top: -10px;
    right: var(--submenu-before-right, 0);
    width: 10px;
    height: 10px;
    background: black;
    transform: rotate(45deg);
}

@media (min-width: 896px) {
    .nav-primary ul.menu.has-pseudo>li.menu-item>ul.sub-menu:before {
        display: block;
    }
}

/* Mobile only */

.nav-primary .mobile-only {
    display: none;
}

@media (max-width: 768px) {
    .nav-primary .mobile-only {
        display: block;
    }
}

/* Menu Toggle */

 .menu-toggle {
     display: none;
     background: none;
     border: none;
     font-size: 2rem;
     cursor: pointer;
 }

 @media (max-width: 896px) {
     .menu-toggle {
         display: block;
         position: absolute;
         right: 20px;
         top: -15px;
         z-index: 1001;
     }

     .nav-primary {
         position: fixed;
         width: 80%;
         right: -100%;
         top: 0;
         height: 100vh;
         background-color: #fff;
         z-index: 999;
         overflow-y: auto;
         transition: right 0.3s ease;
     }

     .site-header .top-nav-bar {
         display: none;
     }

     .nav-primary.active {
         right: 0;
         margin-top: 0;
     }

     .nav-primary ul.menu {
         display: block;
        padding: 6em 0 0 0;
         position: relative;
         width: 100%;
     }

     .nav-primary .wrap .menu li {
         display: block;
         margin: 0;
         text-align: left;
     }

         .site-header .wrap .nav-primary .menu>.menu-item {
             padding: unset;
             padding-top: 1rem;
             padding-bottom: 1rem;
         }

     .menu-toggle {
         display: block;
         position: relative;
         z-index: 999;
         height: auto;
         margin-right: -0.5em;
         padding: 1em 0.5em;
         color: #2a3139;
         background: transparent;
         box-shadow: none;
         cursor: pointer;
     }

     .menu-toggle:hover,
     .menu-toggle:focus {
         color: #2a3139;
         background: none;
         box-shadow: none;
     }

     .menu-toggle.activated {
         position: fixed;
         right: 4vw;
     }

     .menu-toggle.activated,
     .shrink .menu-toggle {
         color: #2a3139;
     }

     .menu-toggle.activated span,
     .shrink .menu-toggle span {
         background: #2a3139;
     }

     .menu-toggle span {
         display: block;
         float: right;
         position: relative;
         width: 2rem;
         height: 2px;
         border-radius: 3px;
         background: #2a3139;
     }

     .menu-toggle span:before,
     .menu-toggle span:after {
         display: block;
         position: absolute;
         left: 0;
         width: 100%;
         height: 2px;
         border-radius: 3px;
         background-color: #2a3139;
         content: ' ';
     }

     .menu-toggle span:before {
         top: -0.5rem;
         transition: top 0.2s 0.2s, transform 0.2s 0s;
     }

     .menu-toggle span:after {
         bottom: -0.5rem;
         transition: bottom 0.2s 0.2s, transform 0.2s 0s;
     }

     .menu-toggle.activated span {
         background: none;
     }

     .menu-toggle.activated span:before {
         top: 0;
         transition: top 0.2s 0s, transform 0.2s 0.2s;
         transform: rotate(45deg);
     }

     .menu-toggle.activated span:after {
         bottom: 0;
         transition: bottom 0.2s 0s, transform 0.2s 0.2s;
         transform: rotate(-45deg);
     }

     .site-header .wrap .nav-primary>.wrap {
         display: flex;
         flex-direction: column;
        flex-flow: column;
         height: 100vh;
         padding: 0 3rem;
     }

     .primary-menu-ctas .gb-layout-column-wrap {
         flex-direction: column;
        margin-bottom: 25%;
     }

         .primary-menu-ctas .gb-block-layout-column {
             display: flex;
             align-items: center;
             justify-content: center;
         }

     .search-widget {
         display: none;
     }


    .menu-item-has-children {
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: relative;
        padding-right: 2rem;
    }
    .menu-item-has-children .sub-menu {
        display: none;
        position: relative;
        padding-left: 0.5rem;
        background-color: #fff;
    }
    .menu-item-has-children .sub-menu.active {
        display: block;
    }
    .sub-menu-toggle {
        display: inline-flex;
        justify-content: center;
        align-items: center;
        width: 30px;
        height: 30px;
        border: 1px solid #000;
        background: transparent;
        cursor: pointer;
        padding: 0;
        margin-left: auto;
        margin-right: 0;
    }
    .menu-item-has-children .sub-menu .menu-item {
        padding-left: 1.5rem;
    }
    .menu-item-has-children .sub-menu .menu-item-has-children {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding-right: 2rem;
    }
    .sub-menu-toggle:hover,
    .sub-menu-toggle:focus {
        background-color: #f0f0f0;
    }
 }

 @media (max-width: 767px) {

     .site-header .wrap,
     .basic-page .content-sidebar-wrap,
     .entry-content>.wp-block-genesis-blocks-gb-columns>.gb-layout-column-wrap,
     .entry-content>.gb-block-container>.gb-container-inside {
         width: 90%;
     }

 }

 .menu-toggle.active .hamburger-icon {
     transform: rotate(90deg);
     transition: 0.3s;
 }


 .menu-item-has-children {
     position: relative;
 }

 /* Confirmation block */

 .confirmation-block {
     text-align: center;
 }

 .confirmation-block svg {
     font-size: 15rem;
     color: #008000;
 }

 .confirmation-page .custom-socials {
     margin: 0 auto;
     padding: 3rem;
 }

 /* Front Page Banner */

 section.fp1 {
     display: -webkit-box;
     display: -ms-flexbox;
     display: flex;
     padding: 4rem 7%;
     overflow: hidden;
     min-height: 400px;
     background-size: cover;
     background-position: top;
     position: relative;
     z-index: 10;
     align-items: center;
 }


 .fp1-image::after {
     content: "";
     position: absolute;
     top: 0;
     left: 0;
     right: 0;
     bottom: 0;
     background-color: rgb(16 16 16 / 40%);
     z-index: 1;
 }

 .fp1-image img {
     opacity: 0;
     -webkit-transition: .4s all ease-in-out;
     -o-transition: .4s all ease-in-out;
     transition: .4s all ease-in-out;
     width: 100%;
     height: 100%;
     object-fit: cover;
     object-position: center center;
 }

 .fp1-image {
     position: absolute;
     height: 100%;
     width: 100%;
     top: 0;
     left: 0;
 }

 .fp1-image.transitioning {
     -webkit-animation: kenburnsBig 15s infinite;
     animation: kenburnsBig 15s infinite;
 }

 .fp1-image.transitioning:not(.active) img {
     opacity: 0;
 }

 .fp1-image.active img {
     opacity: 1;
     z-index: 3;
 }

 .fp1-overlay {
     position: absolute;
     display: block;
     height: 100%;
     width: 100%;
     top: 0;
     left: 0;
     z-index: 2;
     -webkit-transition: 0.24s ease-in-out all;
     -o-transition: 0.24s ease-in-out all;
     transition: 0.24s ease-in-out all;
     filter: progid: DXImageTransform.Microsoft.gradient(startColorstr='rgba(0, 0, 0, 0.9)', endColorstr='rgba(0, 0, 0, 0)');
     background-image: -ms-linear-gradient(left, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.85) 25%, rgba(0, 0, 0, 0.6) 35%, rgba(0, 0, 0, 0.01) 50%);
     background: -o-linear-gradient(left, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.85) 25%, rgba(0, 0, 0, 0.6) 35%, rgba(0, 0, 0, 0.01) 50%);
     background: linear-gradient(to right, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.85) 25%, rgba(0, 0, 0, 0.6) 35%, rgba(0, 0, 0, 0.01) 50%);
 }

 .fp1-overlay.is-active {
     background: -o-linear-gradient(left, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.85) 25%, rgba(0, 0, 0, 0.6) 35%, rgba(0, 0, 0, 0.01) 50%, rgba(0, 0, 0, 0.6) 65%, rgba(0, 0, 0, 0.85) 75%, rgba(0, 0, 0, 0.9) 100%);
     background: linear-gradient(to right, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.85) 25%, rgba(0, 0, 0, 0.6) 35%, rgba(0, 0, 0, 0.01) 50%, rgba(0, 0, 0, 0.6) 65%, rgba(0, 0, 0, 0.85) 75%, rgba(0, 0, 0, 0.9) 100%);
 }

 .fp1-content {
     color: #fff;
     display: -webkit-box;
     display: -ms-flexbox;
     display: flex;
     width: 100%;
     z-index: 5;
     -webkit-box-align: end;
     -ms-flex-align: end;
     align-items: flex-end;
     justify-content: flex-start;
 }

 .fp1-content__left {
     -webkit-box-flex: 1;
     -ms-flex: 1 50%;
     flex: 1 50%;
 }

 .fp1-content__right {
     max-width: 450px;
     display: -webkit-box;
     display: -ms-flexbox;
     display: flex;
     text-align: left;
     z-index: 9;
 }

 section.fp1.fp1-mobile {
     display: none;
     text-align: center;
     -webkit-box-align: end;
     -ms-flex-align: end;
     align-items: flex-end;
     min-height: 400px;
     color: #fff;
     background-position: 91% 50%;
 }

 section.fp1-mobile.fp1>div {
     text-shadow: 0px 1px 2px rgba(255, 255, 255, 0.16);
 }

 @media (min-width: 992px) {
     section.fp1 {
         min-height: 450px;
     }
 }

 @media (min-width: 1200px) {
     .fp1-image {
         top: 0;
     }

     section.fp1 {
         min-height: 550px;
     }
 }

 @media (min-width: 1400px) {

     section.fp1 {
         min-height: 500px;
     }
 }

 @media (min-width: 1700px) {

     section.fp1 {
         min-height: 600px;
     }
 }

 .fp1-banner-container {
     position: absolute;
     width: 100%;
     height: 100%;
     top: 0;
     left: 0;
     z-index: 1;
 }

 .fp1-banner-container img {
     position: absolute;
     top: 50%;
     left: 50%;
     min-width: 100%;
     min-height: 100%;
     transform: translate(-50%, -50%);
     z-index: 0;
     object-fit: cover;
 }

 .fp1-banner-container .carousel,
 .fp1-banner-container .carousel-inner,
 .fp1-banner-container .carousel-item {
     width: 100%;
     height: 100%;
 }

 .fp1-banner-container .carousel-item>img {
     animation: tto-zoom 20s forwards;
     object-fit: cover;
     object-position: center center;
     width: 100%;
     height: 100%;
 }


@keyframes tto-zoom {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.3);
    }
}

.fp1 {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    background-color: inherit;
    opacity: inherit;
}

.overlay-content {
    position: absolute;
    transform: translate(-50%, -50%);
    z-index: 2;
    text-align: center;
    color: inherit;
}

.fp1 .center-center {
    top: 50%;
    left: 50%;
}

.fp1 .center-right {
    top: 50%;
    right: 10%;
    left: auto;
    transform: translate(0, -50%);
    text-align: right;
}

.fp1 .center-left {
    top: 50%;
    left: 10%;
    right: auto;
    transform: translate(0, -50%);
    text-align: left;
}

.fp1 .center-top {
    top: 10%;
    left: 50%;
    transform: translate(-50%, 0);
    text-align: center;
}

.fp1 .center-bottom {
    bottom: 10%;
    left: 50%;
    transform: translate(-50%, 0);
    text-align: center;
}

.fp1 .top-left {
    top: 10%;
    left: 10%;
    transform: translate(0, 0);
    text-align: left;
}

.fp1 .top-right {
    top: 10%;
    right: 10%;
    left: auto;
    transform: translate(0, 0);
    text-align: right;
}

.fp1 .bottom-left {
    bottom: 10%;
    left: 10%;
    top: auto;
    transform: translate(0, 0);
    text-align: left;
}

.fp1 .bottom-right {
    bottom: 10%;
    right: 10%;
    top: auto;
    left: auto;
    transform: translate(0, 0);
    text-align: right;
}

/*** Testimonials ***/

.testimonial-item {
    background-color: #ffffff;
    padding: 2em 2.2em 2em;
    border-radius: 4px;
    box-shadow: 0 2rem 2rem -1rem rgba(35, 44, 57, 0.05);
    clear: both;
    -webkit-transition: all 0.75s cubic-bezier(0, 1, 0.5, 1);
    transition: all 0.75s cubic-bezier(0, 1, 0.5, 1);
    border-top: 3px solid #03c3f2;
    position: relative;
    min-height: 250px;
}

.testimonial-item--copy {
    text-align: left;
    margin: 0 2rem 0 0;
}

.testimonial-item--copy p {
    margin: 0 0 1.5rem;
    font-size: 1.7rem;
}

.testimonial-item--name {
    display: block;
    padding-top: 1rem;
    font-weight: 600;
    text-align: left;
    font-size: 1.8rem;
}

.testimonial-item--icon {
    position: absolute;
    right: 1rem;
    top: 0.5rem;
    font-size: 3rem;
    color: #03c3f2;
}

.testimonial-item.testimonial-list-item {
    margin: 0 0 5rem;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.25), 0 2rem 2rem -1rem rgba(35, 44, 57, 0.05);
}

blockquote.testimonial-item--copy::before {
    font-size: 5rem;
    font-weight: 700;
    color: #03c3f2;
    left: -40px;
    top: -15px;
    display: none;
}

/*** Reviews ***/

.review-items-wrapper {
    margin: 6rem;
}

.review-item {
    background-color: #ffffff;
    padding: 2em 2.2em 2em;
    border-radius: 4px;
    box-shadow: 0 2rem 2rem -1rem rgba(35, 44, 57, 0.05);
    clear: both;
    -webkit-transition: all 0.75s cubic-bezier(0, 1, 0.5, 1);
    transition: all 0.75s cubic-bezier(0, 1, 0.5, 1);
    border-top: 3px solid #03c3f2;
    position: relative;
    min-height: 250px;
}

.review-item:first-child {
    padding: 2em 2.2em 2em;
}

.review-item--copy {
    text-align: left;
    margin: 0 2rem 0 0;
}

.review-item--copy p {
    margin: 0 0 1.5rem !important;
    font-size: 1.7rem;
}

.review-item--copy {
    margin-top: 2rem !important;
}

.review-item--name {
    display: block;
    padding-top: 1rem;
    font-weight: 600;
    text-align: left;
    font-size: 1.8rem;
}

.review-item--icon {
    position: absolute;
    right: 1rem;
    top: 0.5rem;
    font-size: 3rem;
    color: #03c3f2;
}

.review-item.review-list-item {
    margin: 0 0 5rem;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.25), 0 2rem 2rem -1rem rgba(35, 44, 57, 0.05);
}

blockquote.review-item--copy::before {
    font-size: 5rem;
    font-weight: 700;
    color: #03c3f2;
    left: -40px;
    top: -15px;
    display: none;
}

/* Sidebar .single pages */

.single.sidebar-content .content-sidebar-wrap {
    display: flex;
    flex-direction: row;
}

.single.sidebar-content .content {
    order: 1;
    width: 70%;
}

.single.content-sidebar .sidebar-primary {
    order: 2;
    width: 30%;
    padding-left: 2rem;
}

.single.sidebar-content .sidebar-primary {
    order: 1;
    width: 30%;
    padding-right: 2rem;
}

.single.sidebar-content .content {
    order: 2;
    width: 70%;
}

@media only screen and (max-width: 1024px) {
    .single .content-sidebar-wrap {
        flex-direction: column;
    }

    .single .content,
    .single .sidebar-primary {
        width: 100%;
        margin: 0;
        padding: 0;
    }

    .single .sidebar-primary {
        margin-top: 2rem;
    }
}

.sidebar-form {
    padding: 2rem;
    border: 1px solid #eceef1;
    border-radius: 0.5rem;
    box-shadow: 0px 3px 13px -2px rgba(0, 0, 0, 0.27);
}

.site-inner .content-sidebar-wrap .sidebar .sidebar-content .recent-articles .recent-articles--items .recent-articles--items-wrapper {
    display: grid;
    grid-template-columns: unset;
    grid-template-rows: repeat(3, 1fr);
    gap: 3rem;
    margin: 0;
    width: 100%;
    max-width: 1280px;
}

.sidebar-primary .sidebar-content .entry-before--time {
    display: none;
}

.sidebar-content .entry-image-link {
    border-bottom: unset;
}

.single.single-post .site-container .site-inner .sidebar-content .entry-image-link {
    border-bottom: unset;
}

.sidebar .sidebar-content {
    padding: 2rem;
    margin-top: 2rem;
    border: 1px solid #eceef1;
    border-radius: 0.5rem;
    box-shadow: 0px 3px 13px -2px rgba(0, 0, 0, 0.27);
}

.entry-after h3:not(.sidebar-primary .sidebar-content .entry-after h3) {
    display: none;
}

.sidebar-primary .sidebar-content .entry-after .custom-button {
    display: none;
}

.sidebar-primary .sidebar-content .entry-after {
    text-align: center;
    margin-top: 2rem;
}

/*** Carriers ***/

.brand-partner {
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.15);
    margin: 0 0 4rem;
    position: relative;
}

.brand-partner::before {
    content: "";
    display: block;
    height: 4px;
    background-color: #20CC75;
    width: 35%;
    margin: 0 auto;
}

.brand-partner--logo {
    padding: 1rem 2rem;
}

.brand-partner--content {
    text-align: center;
    padding: 1rem 2rem 3rem;
}

.brand-partner:last-child {
    padding-bottom: 3rem;
}

.brand-partner--name {
    font-size: 1.8rem;
    letter-spacing: -.03em;
    font-weight: 800;
    color: #444;
    margin: 0;
}

a.brand-partner--phone {
    display: block;
    color: #444;
}

a.brand-partner--phone:hover {
    color: #20CC75;
}

a.brand-partner--cta.button {
    font-weight: 500;
    border-width: 1px !important;
}

.brand-partner--button-container {
    margin-top: 2rem;
}

.brand-partner--button-container.with-pdf {
    display: flex;
    justify-content: center;
    align-items: center;
}

.brand-partner--button-container.with-pdf a {
    font-size: 1.4rem;
    padding: 8px 30px;
    line-height: 1.4;
}

.brand-partner--button-container.with-pdf a:first-child {
    margin-right: 1rem;
}

.brand-partner--contact-info {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 26px;
}

.brand-partner--contact-info a {
    font-weight: 500;
}

.brand-partner--logo {
    padding: 1rem 2rem;
    min-height: 203px;
    height: 200px;
    display: flex;
    align-items: center;
}

.brand-partner--logo img {
    height: 200px;
    object-fit: cover;
    object-position: center;
}

span.dot-separater {
    padding: 0 5px;
    font-size: 3rem;
    line-height: .1;
    vertical-align: middle;
}

/* Interactive list */

section.inner-page-section.interactive-list>.inner-page-section--wrapper {
    position: relative;
    padding: 6rem 13rem 6rem 13rem;
    z-index: 1;
}

@media (max-width: 767px) {
    section.inner-page-section.interactive-list>.inner-page-section--wrapper {
        padding: 6rem 3rem 6rem 8rem;
    }
}

section.inner-page-section.interactive-list>.inner-page-section--wrapper:before {
    content: '';
    background-color: transparent;
    position: absolute;
    display: block;
    width: 50%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 2;
    pointer-events: none;
}

section.inner-page-section.interactive-list>.inner-page-section--wrapper .wrap {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
    z-index: 3;
}

.entry-content .interactive-list-section--heading h2 {
    color: #243846;
    font-size: 5rem;
    font-weight: 800;
    line-height: 1;
    margin: 2rem 0 3.5rem;
    padding: 0 4rem 0 6vw;
}

.interactive-list-copy {
    position: relative;
    width: 100%;
    height: fit-content;
}

.interactive-list-copy .list-item-content {
    position: absolute;
    background-color: #fff;
    padding: 4rem;
    box-shadow: 0 6px 12px 0 rgba(0, 0, 0, 0.2);
    border-radius: 0;
    top: 0;
    left: 0;
    opacity: 0;
    transition: none;
    pointer-events: none;
    width: 100%;
    height: auto !important;
}

.interactive-list-copy .list-item-content.active {
    position: relative;
    opacity: 1;
    transition: 0.3s ease-in-out all;
    pointer-events: all;
}

.interactive-list-copy .list-item-content img {
    margin: 0 auto 3rem;
}

.entry-content ul.interactive-list {
    margin: 0;
}

.entry-content ul.interactive-list>li.list-item {
    background-color: #fff;
    border-radius: 0;
    color: #000;
    font-size: 1.8rem;
    font-weight: 600;
    line-height: 1;
    list-style-type: none;
    cursor: pointer;
    border-left: 3px solid #06c3f2;
    transition: 0.3s ease-in-out all;
}

.entry-content ul.interactive-list>li.list-item:not(:last-of-type) {
    margin-bottom: 1.6rem;
}

ul.interactive-list li.list-item .list-item-info {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.list-item-info .list-item-info--left-icon {
    width: 50px;
    height: 50px;
}

.list-item-info .list-item-info--left-icon img {
    width: 100%;
    height: 100%;
}

.list-item-info .list-item-info--left-icon p.list-item--number {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    color: #777;
    font-size: 1.7rem;
    font-weight: 700;
}

.list-item-info .list-item-info--left-icon p.list-item--number span {
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 70%;
    height: 70%;
    font-size: 80%;
    font-weight: 800;
    line-height: 1;
    padding: 0;
    border: 3px solid #06c3f2;
    border-radius: 50%;
}

.list-item-info .list-item-info--right-title h3 {
    color: #243846;
    font-size: 1.8rem;
    font-weight: 800;
}

.interactive-list-section--right {
    position: relative;
    z-index: 1;
}


.interactive-list-section--right:before {
    content: '';
    background-color: #fff;
    position: absolute;
    display: none;
    width: 200vw;
    height: 100%;
    top: 0;
    left: -100vw;
    z-index: 2;
}

.interactive-list-section--right .interactive-list-copy {
    position: relative;
    z-index: 3;
}

.interactive-list-section--right-content .list-item-content p {
    margin: unset;
}

@media (min-width: 992px) {
    section.inner-page-section.interactive-list.light-background>.inner-page-section--wrapper:before {
        background-color: #f5f5f5;
    }

    .interactive-list-section--right-background {
        content: '';
        background-color: transparent;
        position: absolute;
        display: block;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        z-index: 2;
        pointer-events: none;
    }
}

@media (max-width: 991px) {
    section.inner-page-section.interactive-list>.inner-page-section--wrapper {
        padding-bottom: 0;
    }

    section.inner-page-section.interactive-list>.inner-page-section--wrapper:before {
        width: 100%;
    }

    section.inner-page-section.interactive-list>.inner-page-section--wrapper .wrap {
        display: flex;
        flex-direction: column;
        padding: 0 1vw;
    }

    .interactive-list-section--left {
        padding: 0 0 9rem;
    }

    .entry-content .interactive-list-section--heading h2 {
        padding: 0;
    }

    .interactive-list-section--right {
        padding: 9rem 0;
    }

    .interactive-list-copy .list-item-content {
        width: 100%;
        padding: 5rem;
        display: none;
        top: 0 !important;
    }
}

@media (max-width: 600px) {
    .interactive-list-section--left {
        padding: 0 0 6rem;
    }

    .interactive-list-section--right {
        padding: 0;
    }
}

.interactive-list {
    background-color: #f2f2f2;
}

.interactive-list-container {
    padding: 0 4rem 0 0;
}

.interactive-list svg {
    color: #000;
}

.interactive-list svg:hover {
    opacity: 0.5;
}

.interactive-list-section--button a {
    background-color: #000;
    display: flex;
    align-items: center;
    gap: 1rem;
    height: fit-content;
    justify-content: space-evenly;
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'ArialNovaCondensed', sans-serif;
    line-height: 1;
    padding: 1.3rem 2.7rem;
    letter-spacing: 1.1px;
    word-spacing: 1.6px;
    border: none;
    border-radius: 0;
    box-shadow: none;
    text-transform: uppercase;
    filter: none;
    transition: 0.25s ease-in-out filter;
}

.interactive-list-section--button svg {
    color: #fff;
}

.interactive-list-section--button a:hover {
    opacity: 0.5;
}

.interactive-list-section--a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #000;
}

.interactive-list-section--a:hover {
    opacity: 0.5;
}

.list-item-info--right-description {
    display: flex;
    align-items: normal;
    gap: 0.5rem;
}

.list-item-info--right-description-icon {
    display: none;
}

@keyframes slide-in {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }

    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

.list-item:hover .list-item-info--right-description-icon {
    display: inline-block;
    animation: slide-in 1s ease forwards;
}

.list-item:hover .list-item {
    transform: translateY(-2px);
}

.list-item-info {
    width: 100%;
    padding: 0 2rem;
}

.list-item-info--right-description {
    display: flex;
    align-items: normal;
    justify-content: space-between;
    width: 100%;
    gap: 0.5rem;
}

.list-item-info--right {
    width: 100%;
}

.interactive-list-block-heading {
    padding: 2rem 13rem 0;
    background: #f2f2f2;
}

@media (max-width: 991px) {
    .interactive-list-block-heading {
        padding: 2rem 5rem 0;
        background: #f2f2f2;
    }
}

.interactive-list-block-heading h2 {
    font-size: 3rem;
}

.list-item-info--right-description p {
    margin: 0;
}

.moving-copy-container {
    display: block;
    width: 100%;
    height: 100%;
}

.moving-copy {
    position: sticky;
    top: 0;
    left: 0;
    height: fit-content;
}

/* Timeline */

.bt-story {
    position: relative;
    display: flex;
    flex-direction: column;
    max-width: 1200px;
    margin: 0 auto;
    padding: 8rem;
    z-index: 1;
}

.bt-story:before {
    display: block;
    content: '';
    position: absolute;
    border-left: 3px dashed #f2f2f2;
    width: 3px;
    height: 100%;
    top: 3rem;
    left: calc(50% - 1.5px);
    z-index: -1;
}

.bt-story--item {
    position: relative;
    width: 50%;
    padding: 0 calc(8rem + 1.5px) 0 0;
    z-index: 2;
}

.bt-story--item:nth-of-type(2n + 1) {
    margin-left: auto;
    padding: 0 0 0 calc(8rem + 1.5px);
}

.bt-story--item {
    position: relative;
}

.bt-story--item:before {
    content: '';
    background-color: white;
    border: 3px solid #06c3f2;
    position: absolute;
    display: block;
    width: 40px;
    height: 40px;
    top: calc(5rem + 20px);
    right: -20px;
    border-radius: 50%;
    z-index: 3;
}

.bt-story--item:nth-of-type(2n + 1):before {
    left: -20px;
    right: auto;
}


.bt-story--item-index {
    position: absolute;
    top: calc(5rem + 20px);
    right: -20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 600;
    color: #000;
    z-index: 4;
}

.bt-story--item:nth-of-type(2n + 1) .bt-story--item-index {
    left: -20px;
    right: auto;
}

@media (max-width: 767px) {
    .bt-story--item .bt-story--item-index {
        left: 5px;
        right: auto;
    }

    .bt-story--item-index {
        top: calc(3rem + 4px);
    }

    .bt-story--item:nth-of-type(2n + 1) .bt-story--item-index {
        left: 5px;
        right: auto;
    }
}

.site-container .entry-content .bt-story .bt-story--item .bt-story--item-inner {
    background-color: #f2f2f2;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 3rem;
    border-radius: 0;
    box-shadow: 0px 3px 7px -1px rgba(0, 0, 0, 0.27);
    overflow: hidden;
}

.bt-story--item-year h3 {
    font-size: 2rem;
    font-weight: 400;
    font-family: 'ArialNovaBold';
    margin: 0;
    letter-spacing: 0.2px;
}

.bt-story--item-milestone p {
    font-size: 1.5rem;
    line-height: 1.6;
}

@media (max-width: 767px) {

    .bt-story {
        gap: 6rem;
        margin: 6rem auto 0;
        padding: 6rem;
    }

    .bt-story:before {
        left: 83px;
    }

    .bt-story--item,
    .bt-story--item:nth-of-type(2n+1) {
        width: 100%;
        padding: 0 0 0 5rem;
    }

    .bt-story--item:before,
    .bt-story--item:nth-of-type(2n + 1):before {
        top: 33.2px;
        left: 5px;
        right: auto;
    }
}

/* Inner Page Header */

section.inner-page-header {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    padding: 4rem 7%;
    overflow: hidden;
    min-height: 400px;
    background-size: cover;
    background-position: top;
    position: relative;
    z-index: 10;
    align-items: center;
}


.inner-page-header-image::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgb(16 16 16 / 40%);
    z-index: 1;
}

.inner-page-header-image img {
    opacity: 0;
    -webkit-transition: .4s all ease-in-out;
    -o-transition: .4s all ease-in-out;
    transition: .4s all ease-in-out;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.inner-page-header-image {
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
}

.inner-page-header-image.transitioning {
    -webkit-animation: kenburnsBig 15s infinite;
    animation: kenburnsBig 15s infinite;
}

.inner-page-header-image.transitioning:not(.active) img {
    opacity: 0;
}

.inner-page-header-image.active img {
    opacity: 1;
    z-index: 3;
}

.inner-page-header-overlay {
    position: absolute;
    display: block;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 2;
    -webkit-transition: 0.24s ease-in-out all;
    -o-transition: 0.24s ease-in-out all;
    transition: 0.24s ease-in-out all;
    filter: progid: DXImageTransform.Microsoft.gradient(startColorstr='rgba(0, 0, 0, 0.9)', endColorstr='rgba(0, 0, 0, 0)');
    background-image: -ms-linear-gradient(left, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.85) 25%, rgba(0, 0, 0, 0.6) 35%, rgba(0, 0, 0, 0.01) 50%);
    background: -o-linear-gradient(left, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.85) 25%, rgba(0, 0, 0, 0.6) 35%, rgba(0, 0, 0, 0.01) 50%);
    background: linear-gradient(to right, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.85) 25%, rgba(0, 0, 0, 0.6) 35%, rgba(0, 0, 0, 0.01) 50%);
}

.inner-page-header-overlay.is-active {
    background: -o-linear-gradient(left, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.85) 25%, rgba(0, 0, 0, 0.6) 35%, rgba(0, 0, 0, 0.01) 50%, rgba(0, 0, 0, 0.6) 65%, rgba(0, 0, 0, 0.85) 75%, rgba(0, 0, 0, 0.9) 100%);
    background: linear-gradient(to right, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.85) 25%, rgba(0, 0, 0, 0.6) 35%, rgba(0, 0, 0, 0.01) 50%, rgba(0, 0, 0, 0.6) 65%, rgba(0, 0, 0, 0.85) 75%, rgba(0, 0, 0, 0.9) 100%);
}

.inner-page-header-content {
    color: #fff;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    width: 100%;
    z-index: 5;
    -webkit-box-align: end;
    -ms-flex-align: end;
    align-items: flex-end;
    justify-content: flex-start;
}

.inner-page-header-content__left {
    -webkit-box-flex: 1;
    -ms-flex: 1 50%;
    flex: 1 50%;
}

.inner-page-header-content__right {
    max-width: 450px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    text-align: left;
    z-index: 9;
}

section.inner-page-header.inner-page-header-mobile {
    display: none;
    text-align: center;
    -webkit-box-align: end;
    -ms-flex-align: end;
    align-items: flex-end;
    min-height: 400px;
    color: #fff;
    background-position: 91% 50%;
}

section.inner-page-header-mobile.inner-page-header>div {
    text-shadow: 0px 1px 2px rgba(255, 255, 255, 0.16);
}

.inner-page-header-banner-container {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

.inner-page-header-banner-container img {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    z-index: 0;
    object-fit: cover;
}

.inner-page-header-banner-container .carousel,
.inner-page-header-banner-container .carousel-inner,
.inner-page-header-banner-container .carousel-item {
    width: 100%;
    height: 100%;
}

.inner-page-header-banner-container .carousel-item>img {
    animation: tto-zoom 20s forwards;
    object-fit: cover;
    object-position: center center;
    width: 100%;
    height: 100%;
}


@keyframes tto-zoom {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.3);
    }
}

.inner-page-header {
    position: relative;
    height: 50vh;
    width: 100%;
    overflow: hidden;
    background-color: inherit;
    opacity: inherit;
}

.inner-page-header .overlay-content {
    position: absolute;
    transform: translate(-50%, -50%);
    z-index: 2;
    text-align: center;
    color: inherit;
}

.inner-page-header .center-center {
    top: 50%;
    left: 50%;
}

.inner-page-header .center-right {
    top: 50%;
    right: 10%;
    left: auto;
    transform: translate(0, -50%);
    text-align: right;
}

.inner-page-header .center-left {
    top: 50%;
    left: 10%;
    right: auto;
    transform: translate(0, -50%);
    text-align: left;
}

.inner-page-header .center-top {
    top: 10%;
    left: 50%;
    transform: translate(-50%, 0);
    text-align: center;
}

.inner-page-header .center-bottom {
    bottom: 10%;
    left: 50%;
    transform: translate(-50%, 0);
    text-align: center;
}

.inner-page-header .top-left {
    top: 10%;
    left: 10%;
    transform: translate(0, 0);
    text-align: left;
}

.inner-page-header .top-right {
    top: 10%;
    right: 10%;
    left: auto;
    transform: translate(0, 0);
    text-align: right;
}

.inner-page-header .bottom-left {
    bottom: 10%;
    left: 10%;
    top: auto;
    transform: translate(0, 0);
    text-align: left;
}

.inner-page-header .bottom-right {
    bottom: 10%;
    right: 10%;
    top: auto;
    left: auto;
    transform: translate(0, 0);
    text-align: right;
}

/* Background slider */

.slider-img {
    height: 400px;
    object-fit: cover;
    width: 100%;
    display: block;
}

.thumbnails {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.thumbnail {
    width: 60px;
    height: 60px;
    margin: 0 10px;
    border: 2px solid transparent;
    cursor: pointer;
    opacity: 0.6;
    object-fit: cover;
    transition: opacity 0.3s, border-color 0.3s;
}

.thumbnail.active {
    border-color: #03c3f2;
    opacity: 1;
}

.thumbnail:hover {
    opacity: 0.8;
}

.slider-item {
    display: none;
}

.slider-item.active {
    display: block;
}

.unique-slider {
    padding: 8rem 0;
}

/* Address block */

.address-block {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.address-block .address-block--item {
    display: flex;
    gap: 2rem;
}

.address-block svg {
    color: #004dbe;
    font-size: 2.1rem;
    padding: 0.5rem 0 0;
}

.address-block p,
.address-block a {
    font-size: 1.9rem;
    margin: 0;
}

.address-block a {
    color: #004dbe;
    font-weight: 600;
    text-decoration: none;
    transition: 0.25s ease-in-out all;
}

.address-block a:hover {
    opacity: 0.78;
}

/* Services list */

.tto-services-list ul {
    margin: 0;
}

.tto-services-list ul li {
    list-style-type: none;
}

.tto-services-list ul li a {
    display: inline-block;
    color: #004dbe;
    font-size: 1.9rem;
    font-weight: 600;
    line-height: 1.9;
    white-space: pre-wrap;
    padding-left: 2rem;
    text-indent: -2rem;
    text-decoration: none;
    transition: 0.25s ease-in-out all;
}

.tto-services-list ul li a:hover {
    opacity: 0.78;
}

/* Service boxes */

.service-boxes-section--heading {
    max-width: 760px;
    margin: 0 auto;
}

.service-boxes-section--items {
    margin: 6rem 0 0;
}

.service-boxes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
}

.service-box .service-box--link {
    background-color: #fff;
    display: block;
    width: 100%;
    height: 100%;
    padding: 5rem;
    border: 1px solid #dbdbdb;
    border-radius: 0.4rem;
    box-shadow: 0px 4px 9px -2px rgba(0, 0, 0, 0.27);
    overflow: hidden;
}

.service-box .service-box--link:hover {
    box-shadow: none;
    transform: translateY(-2px);
}

.service-box--icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 2.5rem;
}

.service-box--icon svg {
    color: var(--mg-primary-orange);
    font-size: 6rem;
}

.service-box--title {
    margin: 0 0 2rem;
}

.service-box--title h3 {
    font-size: 2.2rem;
    margin: 0;
    text-align: center;
    transition: 0.25s ease-in-out all;
}

.service-box--copy p {
    font-size: 1.6rem;
    font-weight: 500;
    line-height: 1.9;
    text-align: center;
}

.service-box--link:hover .service-box--title h3 {
    color: #06c3f2;
}
