/*
    This CSS File will only display on pages and posts using the ACF Flexible Layouts
*/

/* Table of Contents
    - Defaults
    - Text Section
    - Image Text Section
    - Icon Section
    - Galery Section
    - Background Image Section
    - Blog & Services Section
    - Team Section
    - Testimonials Section
    - Form Section
    - Events Section
    - Tabs Section
        - Horizontal Tabs Section
        - Vertical Tabs Section
    - FAQs Section
    - Media Queries
*/

/* Defaults
---------------------------------------------------------------------------- */
.flexible-layout-page .site-inner {
    padding: 0;
    max-width: 100%;
}

.flexible-layout-page .entry {
    padding: 0;
    margin: 0;
    display: none;
}

.flexible-layout,
.flexible-layout.flexible-layout-image-text-section .image-text-default {
    padding: 4rem 0;
}

.flexible-layout .section-title,
.flexible-layout-form-section .form-styling.form-default .form-title,
.flexible-layout-form-section .form-styling.form-overlay .form-title {
    font-size: 3rem;
    font-weight: 700;
    text-transform: uppercase;
    position: relative;
    padding-bottom: 2rem;
    text-wrap: balance;
}

.flexible-layout .section-title::after,
.flexible-layout-form-section .form-styling.form-default .form-title::after,
.flexible-layout-form-section .form-styling.form-overlay .form-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 5rem;
    height: 0.3rem;
    background-color: var(--secondColor);
}

.flexible-layout-icon-section .section-title::after,
.flexible-layout-icon-section .section-title:has(~.practice-areas)::after,
.flexible-layout.flexible-layout-testimonial-section .section-title::after,
.flexible-layout-text-section .text-centered .section-title::after,
.flexible-layout.flexible-layout-team-section .section-title::after {
    left: calc(50% - 2.5rem);
}

.flexible-layout .section-button {
    margin-top: 2rem;
}

.flexible-layout .section-button a.button {
    margin: 0 .5rem;
}

.flexible-layout-icon-section .section-title,
.flexible-layout-icon-section .section-content,
.flexible-layout-icon-section .section-title:has(~.practice-areas),
.flexible-layout-icon-section .section-content:has(~.practice-areas),
.flexible-layout-blog-section .section-content,
.flexible-layout-blog-section .section-title,
.flexible-layout-services-section .section-content,
.flexible-layout-services-section .section-title {
    text-align: center;
}

/* Text Section
---------------------------------------------------------------------------- */
.flexible-layout-text-section .text-centered {
    text-align: center;
    max-width: 96rem;
    margin: 0 auto;
}

.flexible-layout-text-section .text-centered .section-title:last-child {
    margin: 0;
}

.flexible-layout-text-section .text-cta .flexcol p {
    margin: 0;
}

.flexible-layout-text-section .text-cta .flexcol:last-of-type a.button.underlined-button:hover {
    color: var(--mainColor);
    border-color: var(--mainColor);
}

.flexible-layout-text-section .text-cta .flexcol:last-of-type a.button:not(:last-of-type) {
    margin-bottom: 1.5rem;
}

.flexible-layout-text-section .text-styling.text-list .section-content ul>li {
    margin-bottom: 1rem;
    position: relative;
    padding-left: 3.5rem;
    list-style-type: none;
    line-height: 1.8;
}

.flexible-layout-text-section .text-styling.text-list .section-content ul>li::before,
.flexible-layout-text-section .text-styling.text-list .section-content ul>li::after {
    font-family: "Font Awesome 6 Duotone";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 0;
    font-size: 2.6rem;
    line-height: 1;
    text-shadow: none;
}

.flexible-layout-text-section .text-styling.text-list .section-content ul>li::before {
    content: '\f336';
    color: white;
    opacity: 1;
}

.flexible-layout-text-section .text-styling.text-list .section-content ul>li::after {
    content: '\10f336';
    color: var(--mainColor);
    opacity: 1;
}

.flexible-layout-text-section .text-cta .flexcol:last-of-type a.button.underlined-button {
    color: white;
    display: inline-block;
    border-color: white;
    min-width: auto;
}



/* Image Text Section
---------------------------------------------------------------------------- */
.flexible-layout.flexible-layout-image-text-section,
.flexible-layout.flexible-layout-image-text-section>.wrap {
    padding: 0;
}

.flexible-layout-image-text-section .image-text-full-width .flexcol:last-of-type .content-wrap {
    padding: 3rem 5%;
}

.flexible-layout-image-text-section .image-text-full-width .wrap {
    padding: 0;
}

.flexible-layout-image-text-section .image-text-default .flexcol .image-wrap {
    position: relative;
}

.flexible-layout-image-text-section .image-text-default .flexcol .image-wrap::after {
    content: '';
    position: absolute;
    left: -2rem;
    bottom: -2rem;
    height: 100%;
    width: 100%;
    border: 0.3rem solid var(--secondColor);
    border-radius: 0.5rem;
}

.flexible-layout-image-text-section .image-text-default .flexcol img {
    border-radius: 0.5rem;
    position: relative;
    z-index: 1;
    width: 100%;
}

/* Icon Section
---------------------------------------------------------------------------- */

.flexible-layout-icon-section .flexbox.practice-areas .flexcol {
    background-color: var(--mainColor);
    color: white;
    text-align: center;
    box-sizing: border-box;
    padding: 2rem;
    display: flex;
    flex-flow: column wrap;
    justify-content: center;
    align-items: center;
}

.flexible-layout-icon-section .flexbox.practice-areas .flexcol .icon-title {
    color: white;
}

.flexible-layout-icon-section .flexbox.practice-areas .flexcol h3.icon-title::after {
    content: unset;
}

.flexible-layout-icon-section .flexbox.practice-areas .flexcol .icon-title:last-child {
    margin: 0;
    padding: 0;
}

.flexible-layout-icon-section .flexcol .icon i {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    background-color: var(--secondColor);
    color: white;
    width: 6rem;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.flexible-layout-icon-section .flexcol h3.icon-title {
    margin-bottom: 1rem;
    font-size: 1.8rem;
    font-weight: 700;
    text-transform: uppercase;
    padding-bottom: 1.3rem;
    position: relative;
    text-wrap: balance;
    color: var(--mainColor);
}

.flexible-layout-icon-section .flexcol h3.icon-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 0.3rem;
    width: 3rem;
    background-color: var(--secondColor);
}

.flexible-layout-icon-section .flexcol .icon-content {
    font-size: 1.4rem;
}

.flexible-layout-icon-section .section-button {
    text-align: center;
    margin-top: 2rem;
}

.flexible-layout-icon-section .flexcol .icon-title:last-child:after {
    content: unset;
}

.flexible-layout-icon-section .flexcol:has(.icon-title:last-child) {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.flexible-layout-icon-section .flexcol:has(.icon-title:last-child) .icon {
    padding-right: 2rem;
    flex-basis: 8rem;
}


.flexible-layout-icon-section .flexbox:not(.practice-areas) .flexcol:has(.icon-title:last-child) .icon-title {
    flex-basis: calc(100% - 8rem);
    text-align: left;
}

.flexible-layout-icon-section .flexcol:has(.icon-title:last-child) .icon-title,
.flexible-layout-icon-section .flexcol:has(.icon-title:last-child) .icon i {
    margin: 0;
    padding: 0;
}


/* Gallery Section
---------------------------------------------------------------------------- */
.flexible-layout.flexible-layout-gallery-section {
    padding: 0;
}

.flexible-layout.flexible-layout-gallery-section>.wrap {
    max-width: none;
    margin: 0;
    padding: 0;
}

.flexible-layout-gallery-section .section-title {
    text-align: center;
}

.flexible-layout-gallery-section .section-content {
    text-align: center;
    max-width: 96rem;
    margin: 0 auto 2rem;
}

.slick-slider.gallery-slider .slick-track {
    width: auto !important;
    transform: none !important;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0.5rem;
}

.gallery-slider .item {
    padding: .5rem;
    list-style-type: none;
    flex: 1;
}

.gallery-slider .item img {
    width: 100%;
}

.flexible-layout-gallery-section .image-links {
    text-align: center;
}

.flexible-layout-gallery-section .image-links .section-image {
    padding: .5rem;
}

.flexible-layout-gallery-section .section-button {
    text-align: center;
    margin-bottom: 2rem;
}

.slick-slider.gallery-slider .item img:not(.Logo):hover {
    cursor: zoom-in;
}

/* Background Image Section
---------------------------------------------------------------------------- */
.flexible-layout-background-image-section .background-image.half-height,
.flexible-layout-background-image-section .background-image.half-height .background-content {
    min-height: 65vh;
}

.flexible-layout-background-image-section .background-image.full-height,
.flexible-layout-background-image-section .background-image.full-height .background-content {
    min-height: calc(100vh - 7rem);
    max-height: 108rem;
}

.flexible-layout-background-image-section .background-image .background-content {
    background: var(--mainColor);
}

.flexible-layout.flexible-layout-background-image-section {
    padding: 0;
}

.flexible-layout.flexible-layout-background-image-section>.wrap {
    max-width: none;
    padding: 0;
}

.flexible-layout-background-image-section .background-image,
.flexible-layout-background-image-section .background-image .background-content {
    position: relative;
}

.flexible-layout-background-image-section .background-image .image-section {
    position: absolute;
    top: 0;
    bottom: 0;
    overflow: hidden;
    margin: 0;
    right: 0;
    left: 0;
}

.flexible-layout-background-image-section .background-image .image-section img {
    position: relative;
    z-index: 1;
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center center;
}

.flexible-layout-background-image-section .background-image .background-content {
    position: relative;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    z-index: 1;
    color: #fff;
    padding: 4rem 0;
}

.flexible-layout-background-image-section .background-image .background-content .section-content,
.flexible-layout.flexible-layout-background-image-section .section-title {
    text-shadow: .1rem .1rem 1.5rem rgb(0 0 0 / 25%);
}

.flexible-layout-background-image-section .background-image .background-content .section-content p {
    margin: 0;
}

.flexible-layout-background-image-section .background-image .background-content .section-button {
    margin-top: 2rem;
}

/* Blog & Services Section
---------------------------------------------------------------------------- */
.flexible-layout-blog-section .section-button {
    text-align: center;
    margin-top: 2rem;
}

.flexible-layout-blog-section .flexcol,
.flexible-layout-services-section .flexcol {
    box-shadow: var(--boxShadow);
    position: relative;
    border-radius: .5rem;
    background-color: #fff;
}

.flexible-layout-blog-section .flexcol .post-link,
.flexible-layout-services-section .flexcol .service-link {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 9;
}

.flexible-layout-blog-section .flexcol .post-image,
.flexible-layout-services-section .flexcol .service-image {
    overflow: hidden;
    border-radius: .5rem .5rem 0 0;
}

.flexible-layout-blog-section .flexcol .post-image img,
.flexible-layout-services-section .flexcol .service-image img {
    border-radius: .5rem .5rem 0 0;
    transition: .5s ease all;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.flexible-layout-blog-section .flexcol:hover .post-image img,
.flexible-layout-services-section .flexcol:hover .service-image img {
    transform: scale(1.1);
}

.flexible-layout-blog-section .flexcol .post-content,
.flexible-layout-services-section .flexcol .service-content {
    padding: 1.5rem;
}

.flexible-layout-services-section .section-button,
.flexible-layout-team-section .section-button {
    text-align: center;
    margin-top: -2rem;
}

.flexible-layout-services-section .section-button a.button,
.flexible-layout-team-section .section-button a.button {
    margin: 0 .5rem;
}

.flexible-layout-blog-section .flexcol .post-date {
    color: var(--secondColor);
    text-transform: uppercase;
    font-weight: 700;
    font-size: 1.5rem;
}

.flexible-layout-blog-section .flexcol .post-title,
.flexible-layout-services-section .flexcol .service-title {
    font-size: 2.2rem;
    text-transform: capitalize;
    line-height: 1.4;
    margin-bottom: 1rem;
    font-weight: 700;
}

/* Team Section
---------------------------------------------------------------------------- */
.flexible-layout-team-section .section-title {
    text-align: center;
}

.flexible-layout-team-section .section-content {
    text-align: center;
    max-width: 96rem;
    margin: 0 auto;
}

.flexible-layout-team-section .team-has-content .flexbox {
    margin-bottom: 4rem;
}

.flexible-layout-team-section .team-has-content .flexcol .team-headshot img {
    border-radius: 0.5rem;
    display: block;
    margin: 0 auto 2rem;
}

.flexible-layout-team-section .team-has-content .flexcol .team-name {
    font-weight: 400;
    margin-bottom: 1rem;
    color: var(--mainColor);
}

.flexible-layout-team-section .team-has-content .flexcol .team-position {
    color: var(--secondColor);
    font-size: 1.6rem;
    font-weight: 400;
    margin-bottom: 1rem;
}

.page-id-747 .flexible-layout-team-section .team-has-content .flexcol .team-content {
    display: -webkit-box;
    -webkit-line-clamp: 6;
    line-clamp: 6;
    -webkit-box-orient: vertical;
    box-orient: vertical;
    overflow: hidden;
    min-height: 10rem;
}

.flexible-layout-team-section .team-no-content .flexcol {
    text-align: center;
    margin: 8rem 0 0 0;
    position: relative;
    background-color: white;
    border-bottom: 0.5rem solid var(--secondColor);
    border-radius: 0.5rem;
    padding: 0 4rem 2rem;
    box-shadow: var(--boxShadow);
}

.flexible-layout-team-section .team-no-content .flexcol .team-headshot img {
    border-radius: 0.5rem;
    display: block;
    margin: -8rem auto 2rem;
}

.flexible-layout-team-section .team-no-content .flexcol h3.team-name {
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 1rem;
    color: var(--mainColor);
}

.flexible-layout-team-section .team-no-content .flexcol .team-position {
    color: var(--secondColor);
    font-size: 1.6rem;
    font-weight: 400;
}

/* Testimonials Section
---------------------------------------------------------------------------- */
.flexible-layout-testimonial-section .testimonial-section .flexcol,
.flexible-layout-testimonial-section .testimonial-section .item .content-wrap {
    background-color: #fff;
    box-shadow: var(--boxShadow);
    border-radius: .5rem;
    padding: 1.5rem;
}

.flexible-layout-testimonial-section .testimonial-section .item .content-wrap {
    margin: 1.5rem;
    box-shadow: 0 .5rem 2rem rgb(0 0 0 / 10%);
}

.flexible-layout-testimonial-section .section-content,
.flexible-layout-testimonial-section .section-title {
    text-align: center;
}

.flexible-layout-testimonial-section .section-button {
    text-align: center;
    margin-top: 2rem;
}

.flexible-layout-testimonial-section .section-button a.button {
    margin: 0 .5rem;
}

.flexible-layout-testimonial-section .testimonial-section .flexcol h3.client-name,
.flexible-layout-testimonial-section .testimonial-section .item h3.client-name {
    font-weight: 700;
    margin-bottom: 0.5rem;
    line-height: 1;
    font-size: 1.8rem;
}

.flexible-layout-testimonial-section .testimonial-section .flexcol .review-info,
.flexible-layout-testimonial-section .testimonial-section .item .review-info {
    font-size: 1.2rem;
    color: #999;
    line-height: 1.2;
    margin-top: 0.3rem;
}

.flexible-layout-testimonial-section .testimonial-section .flexcol .stars,
.flexible-layout-testimonial-section .testimonial-section .item .stars {
    color: #ffc107;
    margin: 1rem 0;
    font-size: 1.5rem;
}

.flexible-layout-testimonial-section .testimonial-section .flexcol .review,
.flexible-layout-testimonial-section .testimonial-section .item .review {
    max-height: 11rem;
    overflow: auto;
    font-size: 1.5rem;
    padding: 0 1rem 0 0;
    line-height: 1.4;
    color: black;
}

.flexible-layout-testimonial-section .testimonial-section .flexcol .review::-webkit-scrollbar,
.flexible-layout-testimonial-section .testimonial-section .item .review::-webkit-scrollbar {
    width: 0.4rem;
}

.flexible-layout-testimonial-section .testimonial-section .flexcol .review::-webkit-scrollbar-track,
.flexible-layout-testimonial-section .testimonial-section .item .review::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.flexible-layout-testimonial-section .testimonial-section .flexcol .review::-webkit-scrollbar-thumb,
.flexible-layout-testimonial-section .testimonial-section .item .review::-webkit-scrollbar-thumb {
    background: #999;
    cursor: pointer;
}

.flexible-layout-testimonial-section .testimonial-section .flexcol .review::-webkit-scrollbar-thumb:hover,
.flexible-layout-testimonial-section .testimonial-section .item .review::-webkit-scrollbar-thumb:hover {
    background: var(--secondColor);
}

.ti-widget[data-layout-id='5'][data-set-id='light-background'][data-pid='67c1684364ea538dc126fd2020e'] .ti-widget-container * {
    font-family: var(--headingFont);
}

.ti-widget[data-layout-id='5'][data-set-id='light-background'] .ti-reviews-container-wrapper .ti-inner>.ti-stars {
    margin: 1rem 0;
}

div[data-ti-widget-inited="true"] {
    height: 60rem;
}

/* Form Section
-------------------------------------------------------------------------- */
.flexible-layout.flexible-layout-form-section {
    padding: 0;
    position: relative;
}

.flexible-layout.flexible-layout-form-section>.wrap {
    max-width: none;
    padding: 0;
}

.flexible-layout-form-section .flexible-form-section.has-image .form-styling,
.flexible-layout-form-section .flexible-form-section.has-image .form-styling.form-full-height .background-content .flexcol:last-of-type {
    overflow: hidden;
    position: relative;
}

.flexible-layout-form-section .form-styling.form-overlay::before {
    content: '';
    width: 100%;
    height: 20rem;
    background-color: white;
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 9;
}

.flexible-layout-form-section .form-styling.form-overlay .background-content>.wrap {
    position: relative;
    z-index: 10;
}

.flexible-layout-form-section .form-styling.form-full-height .background-content {
    padding: 0;
}

.flexible-layout-form-section .image-section {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    overflow: hidden;
    margin: 0;
}

.flexible-layout-form-section .image-section img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.flexible-layout-form-section .flexible-form-section.has-image .background-content {
    background-color: rgba(0, 0, 0, 0.25);
    color: white;
    text-shadow: 0.2rem 0.2rem 1rem rgb(0 0 0 / 25%);
    position: relative;
}

.flexible-layout-form-section .background-content {
    padding: 4rem 0;
}

.flexible-layout-form-section .form-styling.form-default .form-title,
.flexible-layout-form-section .form-styling.form-overlay .form-title {
    text-align: left;
    border-radius: 1rem 1rem 0 0;
    font-weight: 700;
    font-size: 3rem;
    text-shadow: none;
    text-transform: uppercase;
}

.flexible-layout-form-section .form-styling.form-default .form-shortcode,
.flexible-layout-form-section .form-styling.form-overlay .form-shortcode {
    text-shadow: none;
}

.flexible-layout-form-section .form-shortcode .gfield textarea.medium {
    height: 12.5rem;
}

.flexible-layout-form-section .form-shortcode input,
.flexible-layout-form-section .form-shortcode textarea,
.flexible-layout-form-section .form-shortcode select {
    padding: 1.2rem;
}

.flexible-layout-form-section .form-shortcode .gform_wrapper.gravity-theme .gfield_label {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.flexible-layout-form-section .form-shortcode .gform_wrapper.gravity-theme .ginput_complex label {
    padding: 0;
    font-size: 1.4rem;
}

.flexible-layout-form-section .form-shortcode input[type=submit] {
    display: block;
    width: 100%;
    margin: 0;
    padding: 1.8rem;
    background-color: var(--secondColor);
    color: white;
    margin-top: 1rem;
}

.flexible-layout-form-section .form-shortcode input[type=submit]:hover {
    background-color: white;
    color: var(--mainColor);
}

.flexible-layout-form-section .form-styling:not(.form-overlay) .background-content .flexbox {
    align-items: center;
}

.flexible-layout-form-section .background-content .flexcol .section-content .jsmt-shortcode {
    display: block;
    margin-bottom: 1.5rem;
}

.flexible-layout-form-section .background-content .flexcol .section-content ul.jsmt-hours {
    padding-left: 3rem;
}

.flexible-layout-form-section .background-content .flexcol .section-content ul>li {
    margin-bottom: 1rem;
    position: relative;
    padding-left: 3.5rem;
    list-style-type: none;
}

.flexible-layout-form-section .background-content .flexcol .section-content ul>li::before,
.flexible-layout-form-section .background-content .flexcol .section-content ul>li::after {
    font-family: "Font Awesome 6 Duotone";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 0;
    font-size: 2.4rem;
    line-height: 1;
    text-shadow: none;
}

.flexible-layout-form-section .background-content .flexcol .section-content ul>li::before {
    content: '\f336';
    color: white;
    opacity: 1;
}

.flexible-layout-form-section .background-content .flexcol .section-content ul>li::after {
    content: '\10f336';
    color: var(--mainColor);
    opacity: 1;
}

.flexible-layout-form-section .background-content .flexcol .section-content .jsmt-shortcode ul>li {
    margin-bottom: 0;
    padding: 0;
}

.flexible-layout-form-section .background-content .flexcol .section-content .jsmt-shortcode ul>li::before,
.flexible-layout-form-section .background-content .flexcol .section-content .jsmt-shortcode ul>li::after {
    content: '';
}

.flexible-layout-form-section .background-content .flexcol:first-of-type .section-button {
    margin-top: 3rem;
}

.flexible-layout-form-section .flexible-form-section.has-image .background-content .flexcol:first-of-type a.button.primary-button,
.flexible-layout-background-image-section .background-content a.button.primary-button,
.flexible-layout-text-section .text-cta .flexcol:last-of-type a.button.primary-button {
    text-shadow: none;
}

.flexible-layout-form-section .flexible-form-section.has-image .background-content .flexcol:first-of-type a.button.primary-button:hover,
.flexible-layout-background-image-section .background-content a.button.primary-button:hover,
.flexible-layout-text-section .text-cta .flexcol:last-of-type a.button.primary-button:hover {
    background-color: white;
    color: var(--mainColor);
}

.flexible-layout-form-section .flexible-form-section.has-image .background-content .flexcol:first-of-type a.button.secondary-button,
.flexible-layout-background-image-section .background-content a.button.secondary-button,
.flexible-layout-text-section .text-cta .flexcol:last-of-type a.button.secondary-button {
    text-shadow: none;
    color: white;
}

.flexible-layout-form-section .flexible-form-section.has-image .background-content .flexcol:first-of-type a.button.secondary-button:hover,
.flexible-layout-background-image-section .background-content a.button.secondary-button:hover,
.flexible-layout-text-section .text-cta .flexcol:last-of-type a.button.secondary-button:hover {
    background-color: white;
    outline-color: white;
    color: var(--mainColor);
}

.flexible-layout-form-section .form-styling.form-full-height .form-title {
    color: white;
    text-align: center;
    font-weight: 700;
    font-size: 3rem;
    text-transform: uppercase;
}

.flexible-layout-form-section .form-styling.form-full-height .form-section .gform_wrapper .gfield_required {
    color: white;
    font-size: 1.2rem;
    font-style: normal;
}

.flexible-layout-form-section .form-styling.form-full-height .background-content .flexcol:last-of-type {
    background-color: var(--mainColor);
    color: white;
    padding: 4rem;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    align-items: center;
    box-shadow: var(--boxShadow);
    bottom: auto;
    opacity: 1;
}

.flexible-layout-form-section .form-styling.form-full-height .form-shortcode input[type=submit] {
    margin-top: 1rem;
    background-color: var(--secondColor);
    color: white;
}

.flexible-layout-form-section .form-styling.form-full-height .form-shortcode input[type=submit]:hover {
    background-color: white;
    color: var(--mainColor);
}

/* Events Section
---------------------------------------------------------------------------- */
.flexible-layout-events-section .section-content,
.flexible-layout-events-section .section-title {
    text-align: center;
}

.flexible-layout-events-section .event-section .flexbox {
    border-radius: 1rem;
    box-shadow: var(--boxShadow);
    align-items: center;
    background-color: #fff;
    position: relative;
}

.flexible-layout-events-section .event-section .flexbox:not(:last-of-type) {
    margin-bottom: 4rem;
}

.flexible-layout-events-section .event-section .flexcol img {
    border-radius: 1rem 0 0 1rem;
}

.flexible-layout-events-section .event-section .flexcol .event-date,
.flexible-layout-events-section .event-section .flexcol .event-time {
    font-size: 2rem;
}

.flexible-layout-events-section .event-section .flexcol h2.event-title {
    color: var(--mainColor);
    font-size: 2.6rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.flexible-layout-events-section .event-section .flexcol .event-button {
    margin-top: 1.5rem;
}

.flexible-layout-events-section .event-section .flexcol .event-date i,
.flexible-layout-events-section .event-section .flexcol .event-time i {
    margin-right: 1rem;
}

.flexible-layout-events-section .section-button {
    text-align: center;
    margin-top: 4rem;
}

/* Tabs Section
---------------------------------------------------------------------------- */
.flexible-layout-tabs-section .section-title,
.flexible-layout-tabs-section .section-content {
    text-align: center;
}

.flexible-layout-tabs-section ul.tabs-nav>li {
    list-style-type: none;
}

.flexible-layout-tabs-section ul.tabs-nav>li a {
    display: block;
    padding: 20px;
    background-color: #f7f7f7;
    border-bottom: 0.5rem solid #f7f7f7;
    outline: none;
    color: #333;
    transition: 0.5s ease all;
}

.flexible-layout-tabs-section ul.tabs-nav>li:not(:last-of-type) a {
    margin-right: 0.4rem;
}

.flexible-layout-tabs-section ul.tabs-nav>li a:hover,
.flexible-layout-tabs-section ul.tabs-nav>li.ui-tabs-active a {
    color: var(--mainColor);
    border-bottom: 0.5rem solid var(--mainColor);
}

.flexible-layout-tabs-section .tabs-content {
    padding: 2rem 5%;
    box-shadow: var(--boxShadow);
    background-color: white;
}

.flexible-layout-tabs-section .tabs-content .tab-title {
    font-size: 2.4rem;
    font-weight: 700;
}

/* Horizontal Tabs Section
------------------------------------------------- */
.flexible-layout-tabs-section .horizontal-tabs ul.tabs-nav {
    box-shadow: var(--boxShadow);
    border-radius: 0.5rem 0.5rem 0 0;
    overflow: hidden;
}

.flexible-layout-tabs-section .horizontal-tabs .tabs-content {
    border-radius: 0 0 0.5rem 0.5rem;
}

/* Vertical Tabs Section
------------------------------------------------- */
.flexible-layout-tabs-section .vertical-tabs ul.tabs-nav {
    border-radius: 0.5rem 0 0 0.5rem;
    overflow: hidden;
    position: relative;
    z-index: 9;
}

.flexible-layout-tabs-section .vertical-tabs ul.tabs-nav>li a {
    display: inline-flex;
    width: 100%;
    align-items: center;
    margin: 0.2rem 0;
}

.flexible-layout-tabs-section .vertical-tabs ul.tabs-nav>li a .tab-icon {
    font-size: 2.6rem;
    margin-right: 1rem;
    width: 3rem;
}

.flexible-layout-tabs-section .vertical-tabs ul.tabs-nav>li a .tab-title {
    font-family: var(--headingFont);
    font-weight: 700;
}

.flexible-layout-tabs-section .vertical-tabs .tabs-content {
    border-radius: 0 0.5rem 0.5rem 0;
}

/* FAQs Section
---------------------------------------------------------------------------- */
.flexible-layout-faqs-section .section-title,
.flexible-layout-faqs-section .section-content,
.flexible-layout-faqs-section .section-button {
    text-align: center;
}

.flexible-layout-faqs-section .section-content {
    text-align: center;
    max-width: 96rem;
    margin: 0 auto 2rem;
}

.flexible-layout-faqs-section .faq-section {
    max-width: 96rem;
    margin: 0 auto;
}

/* Media Queries
---------------------------------------------------------------------------- */
@media only screen and (min-width:660px) {

    .flexible-layout-icon-section .flexbox,
    .flexible-layout-team-section .flexbox {
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    .flexible-layout-icon-section .flexbox {
        gap: 3rem;
    }

    .flexible-layout-icon-section .wrap .flexbox:not(:first-child) {
        margin-top: 4rem;
    }

    .flexible-layout-icon-section .flexcol {
        flex-basis: calc(50% - 1.5rem);
        max-width: calc(50% - 1.5rem);
    }

    .flexible-layout-background-image-section .background-image .background-content .section-button a.button {
        margin: 0 .5rem 0 0;
        display: inline-block;
        vertical-align: middle;
    }

    .flexible-layout-team-section .flexbox {
        justify-content: center;
        gap: 3rem;
    }

    .flexible-layout-team-section .team-no-content .flexcol {
        flex-basis: calc(50% - 1.5rem);
        max-width: calc(50% - 1.5rem);
    }
}

@media only screen and (min-width:660px) and (max-width:959px) {
    .flexible-layout-image-text-section .image-text-full-width .flexcol .image-wrap {
        height: 35rem;
        position: relative;
        overflow: hidden;
    }

    .flexible-layout-image-text-section .image-text-full-width .flexcol .image-wrap img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center center;
    }

    .flexible-layout-team-section .team-has-content .flexcol:first-of-type {
        flex: 1;
    }

    .flexible-layout-team-section .team-has-content .flexcol:last-of-type {
        flex: 2.5;
    }
}

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

    .background-image .background-content,
    .flexible-layout,
    .flexible-layout.flexible-layout-image-text-section .image-text-default,
    .flexible-layout-form-section .background-content {
        padding: 8rem 0;
    }

    .flexible-layout-image-text-section>.wrap,
    .flexible-layout-image-text-section>.wrap .image-text-full-width>.wrap {
        max-width: none;
    }

    .flexible-layout-image-text-section .image-text-default .flexbox,
    .flexible-layout-text-section .text-cta .flexbox {
        align-items: center;
    }

    .flexible-layout-image-text-section .image-text-default .flexbox {
        gap: 8rem;
    }

    .flexible-layout-image-text-section .flexcol.flex-1 {
        order: 1;
    }

    .flexible-layout-image-text-section .flexcol.flex-2 {
        order: 2;
    }

    .flexible-layout-image-text-section .image-text-full-width .flexcol:last-of-type .content-wrap {
        max-width: 75rem;
        padding: 6rem;
        margin: 0 auto;
    }

    .flexible-layout-image-text-section .image-text-full-width .flexcol .image-wrap {
        width: 100%;
        height: 100%;
    }

    .flexible-layout-image-text-section .image-text-full-width .flexcol .image-wrap img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center center;
    }

    .flexible-layout-icon-section .flexcol.col-3,
    .flexible-layout-icon-section .flexcol.col-4,
    .flexible-layout-icon-section .flexcol.col-5 {
        flex-basis: calc(33.3% - 1.33rem);
        max-width: calc(33.3% - 1.33rem);
    }

    .flexible-layout.flexible-layout-background-image-section .section-title {
        font-size: 6rem;
    }

    .flexible-layout-text-section .text-cta .flexbox {
        gap: 6rem;
    }

    .flexible-layout-text-section .text-cta .flexcol:first-of-type {
        flex: 2;
    }

    .flexible-layout-text-section .text-cta .flexcol:last-of-type {
        flex: 1;
        text-align: right;
    }

    .flexible-layout-text-section .text-cta .flexcol:last-of-type a.button {
        min-width: 28rem;
    }

    .flexible-layout .section-title {
        font-size: 3.8rem;
    }

    .flexible-layout h1.section-title {
        font-size: 5rem;
        text-wrap: balance;
    }

    .flexible-layout-blog-section .flexbox,
    .flexible-layout-services-section .flexbox,
    .flexible-layout-testimonial-section .testimonial-section .flexbox {
        gap: 3rem;
    }

    .flexible-layout-blog-section .flexcol,
    .flexible-layout-services-section .flexcol,
    .flexible-layout-testimonial-section .testimonial-section .flexcol {
        flex-basis: calc(50% - 1.5rem);
        max-width: calc(50% - 1.5rem);
    }

    .flexible-layout-team-section .team-no-content .flexcol {
        flex-basis: calc(33.3% - 2rem);
        max-width: calc(33.3% - 2rem);
    }

    .flexible-layout-team-section .team-has-content .flexcol:last-of-type {
        flex: 4;
    }

    .flexible-layout-text-section .text-cta .flexcol:last-of-type .section-button {
        margin: 0;
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        flex-flow: column;
        align-items: flex-end;
    }

    .flexible-layout-form-section .background-content .flexbox {
        gap: 8rem;
    }

    .flexible-layout-form-section .form-styling.form-overlay .flexbox {
        align-items: center;
    }

    .flexible-layout-form-section .form-styling.form-default .form-section,
    .flexible-layout-form-section .form-styling.form-overlay .form-section {
        padding: 4rem;
        border-radius: 0.5rem;
        background-color: var(--mainColor);
        color: white;
    }

    .flexible-layout-form-section .form-styling.form-default .form-title,
    .flexible-layout-form-section .form-styling.form-overlay .form-title {
        text-align: center;
    }

    .flexible-layout-form-section .form-styling.form-default .form-title::after,
    .flexible-layout-form-section .form-styling.form-overlay .form-title::after {
        left: calc(50% - 2.5rem);
    }

    .flexible-layout-form-section .form-styling.form-default .form-title,
    .flexible-layout-form-section .form-styling.form-overlay .form-title {
        color: white;
    }

    .flexible-layout-image-text-section .flexcol:last-of-type {
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
    }

    .flexible-layout-events-section .event-section .flexcol .event-date,
    .flexible-layout-events-section .event-section .flexcol .event-time {
        display: inline-flex;
        vertical-align: middle;
        margin-bottom: 1.5rem;
        align-items: center;
    }

    .flexible-layout-events-section .event-section .flexcol .event-date {
        margin-right: 1rem;
        padding-right: 1rem;
        border-right: .1rem solid;
        line-height: 1;
    }

    .flexible-layout-events-section .event-section .flexcol:last-of-type {
        flex: 4;
        padding: 2rem 4rem;
    }

    .flexible-layout-events-section .event-section .flexcol h2.event-title {
        font-size: 3rem;
        line-height: 1;
    }

    .flexible-layout-events-section .section-content {
        max-width: 96rem;
        margin: 0 auto 2rem;
    }

    .flexible-layout-tabs-section .horizontal-tabs ul.tabs-nav {
        text-align: center;
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
    }

    .flexible-layout-tabs-section .horizontal-tabs ul.tabs-nav>li {
        flex: 1;
    }

    .flexible-layout-tabs-section .horizontal-tabs ul.tabs-nav>li .tab-icon {
        font-size: 4rem;
        margin-bottom: 1rem;
    }

    .flexible-layout-tabs-section .horizontal-tabs ul.tabs-nav>li .tab-title {
        font-family: var(--headingFont);
        font-size: 2.4rem;
        line-height: 1;
        font-weight: 700;
    }

    .flexible-layout-tabs-section .vertical-tabs .tabs {
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
    }

    .flexible-layout-tabs-section .vertical-tabs .tabs .tabs-nav {
        flex: 1;
    }

    .flexible-layout-tabs-section .vertical-tabs .tabs .tabs-content {
        flex: 4;
    }

    .flexible-layout-tabs-section .tabs-content {
        padding: 4rem;
    }

    .flexible-layout-tabs-section .tabs-content .tab-title {
        font-size: 3.6rem;
    }

    .flexible-layout-gallery-section .image-links {
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
    }

    .flexible-layout-gallery-section .image-links .section-image {
        flex: 1;
    }

    .flexible-layout-form-section .flexible-form-section.has-image .background-content {
        width: 100%;
        height: 100%;
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .flexible-layout-form-section .form-styling.form-full-height .background-content .flexcol:last-of-type {
        padding: 4rem;
    }

    .flexible-layout-text-section .text-styling.text-list .section-content ul {
        column-count: 2;
        column-gap: 3rem;
    }

    .flexible-layout-background-image-section .background-image .background-content .wrap {
        width: 100%;
    }

    .flexible-layout-background-image-section .background-image .background-content .wrap>* {
        max-width: 79rem;
    }

    .flexible-layout-background-image-section .background-image .background-content {
        background: linear-gradient(to right, rgba(0, 23, 67, 1) 15%, transparent);
    }

    div[data-ti-widget-inited="true"] {
        height: 24rem;
    }

    .flexible-layout-icon-section .flexbox {
        gap: 2rem;
    }
}

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

    .flexible-layout-icon-section .flexcol.col-4,
    .flexible-layout-icon-section .flexcol.col-5 {
        flex-basis: calc(25% - 1.5rem);
        max-width: calc(25% - 1.5rem);
    }

    .flexible-layout-blog-section .flexcol,
    .flexible-layout-services-section .flexcol,
    .flexible-layout-testimonial-section .testimonial-section .flexcol {
        flex-basis: calc(33.3% - 2rem);
        max-width: calc(33.3% - 2rem);
    }

    .flexible-layout-team-section .team-no-content .flexcol {
        flex-basis: calc(25% - 2.3rem);
        max-width: calc(25% - 2.3rem);
    }

    .flexible-layout-form-section .background-content .flexcol:first-of-type {
        flex: 1.25;
    }

    .flexible-layout-text-section .text-styling.text-list .section-content ul {
        column-count: 3;
    }
}

@media only screen and (min-width:1340px) {
    .flexible-layout-icon-section .flexcol.col-5 {
        flex-basis: calc(20% - 2.4rem);
        max-width: calc(20% - 2.4rem);
    }
}

@media only screen and (min-width:2000px) {
    .flexible-layout-image-text-section .image-text-full-width .flexcol:last-of-type .content-wrap {
        max-width: 80%;
    }

    .flexible-layout-image-text-section .image-text-full-width .flexcol img {
        width: 100%;
    }

    .flexible-layout-text-section .text-centered {
        max-width: 60%;
    }

    .flexible-layout-text-section .text-cta .flexcol:last-of-type a.button {
        min-width: 70%;
    }

    .gallery-slider .item img {
        width: 100%;
    }
}

@media only screen and (max-width:959px) {
    .flexible-layout-text-section .text-cta .flexcol:last-of-type {
        margin-top: 2rem;
    }

    .flexible-layout.flexible-layout-image-text-section .image-text-default .flexcol:first-of-type {
        padding-bottom: 2rem;
    }

    .site-container .flexible-layout-background-image-section .background-image.full-height,
    .site-container .flexible-layout-background-image-section .background-image.full-height .background-content {
        min-height: 85vh;
    }

    .flexible-layout-events-section .event-section .flexbox {
        padding: 0;
    }

    .flexible-layout-events-section .event-section .flexcol img {
        border-radius: 1.5rem 1.5rem 0 0;
        width: 100%;
        box-shadow: none;
    }

    .flexible-layout-events-section .event-section .flexcol:last-of-type {
        padding: 2rem 5%;
    }

    .flexible-layout-events-section .event-section .flexcol .event-date,
    .flexible-layout-events-section .event-section .flexcol .event-time {
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        align-items: center;
        margin-bottom: 1rem;
    }

    .flexible-layout-tabs-section .horizontal-tabs ul.tabs-nav>li a {
        display: inline-flex;
        width: 100%;
        align-items: center;
        margin: 0.2rem 0;
    }

    .flexible-layout-tabs-section .horizontal-tabs ul.tabs-nav>li .tab-icon {
        font-size: 2.6rem;
        margin-right: 1rem;
        width: 3rem;
    }

    .flexible-layout-tabs-section .horizontal-tabs ul.tabs-nav>li .tab-title {
        font-family: var(--headingFont);
        font-weight: 700;
    }

    .flexible-layout-gallery-section .image-links .section-image img,
    .gallery-slider .item img {
        width: 100% !important;
    }

    .flexible-layout-form-section .flexible-form-section.has-image .form-styling.form-full-height .wrap {
        padding: 0;
    }

    .flexible-layout-form-section .background-content .flexcol:not(:last-of-type) {
        margin-bottom: 4rem;
    }

    .flexible-layout-image-text-section .image-text-default .flexcol .image-wrap {
        width: calc(100% - 2rem);
        margin: 0 0 3rem auto;
    }

    .flexible-layout-image-text-section .image-text-default .flexcol .image-wrap::after {
        left: -2rem;
        bottom: -2rem;
    }

    .ti-widget[data-layout-id='5'][data-set-id='light-background'] .ti-col-1 .ti-footer {
        margin: 1rem 0 !important;
    }

    .ti-widget[data-layout-id='5'][data-set-id='light-background'] .ti-col-1 .ti-reviews-container {
        margin: 0;
    }

    .flexible-layout-background-image-section .background-image.half-height,
    .flexible-layout-background-image-section .background-image.half-height .background-content {
        min-height: auto;
    }
}

@media only screen and (max-width:659px) {
    .flexible-layout-icon-section .flexcol h3.icon-title {
        font-size: 2rem;
    }

    .flexible-layout .section-button a.button {
        margin: 1rem 0 0 0;
    }

    .flexible-layout .section-button a.button.underlined-button {
        display: inline-block;
    }

    .flexible-layout-text-section .text-cta .flexcol:last-of-type .section-button {
        text-align: center;
    }

    .flexible-layout-text-section .text-cta .flexcol:last-of-type .section-button a.button {
        display: block;
    }

    .gallery-slider .item {
        padding: .5rem 0;
        flex-basis: 100%;
        max-width: 100%;
    }

    .flexible-layout-events-section .event-section .flexcol .event-button a.button {
        display: block;
    }

    .flexible-layout-team-section .team-no-content .flexcol:not(:last-of-type) {
        margin-bottom: 12rem;
    }

    .flexible-layout-icon-section .flexcol:not(:last-of-type) {
        margin-bottom: 2rem;
    }

    .flexible-layout .section-title {
        text-wrap: balance;
    }

    .flexible-layout-icon-section {
        text-align: center;
    }

    .flexible-layout-icon-section .section-title::after,
    .flexible-layout-text-section .text-cta .section-title::after {
        left: calc(50% - 2.5rem);
    }

    .flexible-layout-icon-section .flexcol .icon i {
        margin: 0 auto 1.5rem;
    }

    .flexible-layout-icon-section .flexcol h3.icon-title::after {
        left: calc(50% - 1.5rem);
    }

    .flexible-layout-text-section .text-cta {
        text-align: center;
    }

    .flexible-layout-team-section .section-button {
        text-align: left;
    }
}