/*
    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 {
    font-size: 4rem;
    font-weight: 400;
    text-wrap: balance;
}

.flexible-layout.section-1 h1.section-title {
    font-size: 4rem;
}

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

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

.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;
    max-width: 128rem;
    margin: 0 auto 2rem;
}

.flexible-layout .section-content h4 {
    font-weight: 400;
    font-family: 'charms';
    font-style: italic;
}

.flexible-layout .section-content h2 {
    font-size: 2.4rem;
}

.flexible-layout .section-content ol {
    padding-left: 2rem;
}

.flexible-layout .section-content ol>li:not(:last-child) {
    margin-bottom: .5rem;
}

.flexible-layout-form-section .section-content>p:last-child,
.flexible-layout-text-section .section-content>p:last-child,
.flexible-layout-image-text-section .section-content>p:last-child {
    margin: 0;
}

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

.flexible-layout-image-text-section .section-content ul>li::before,
.flexible-layout-image-text-section .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-image-text-section .section-content ul>li::before {
    content: '\f336';
    color: white;
    opacity: 1;
}

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

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


.flexible-layout-background-image-section .background-content .section-content h2 {
    font-family: 'charm';
    font-weight: 400;
    font-style: italic;
}

.flexible-layout-background-image-section .background-content .section-content h2,
.flexible-layout-text-section .text-centered .section-content {
    text-wrap: balance;
}

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

.flexible-layout-text-section .text-styling.text-list .section-content ul {
    padding-left: 2rem;
}

.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 {
    padding-left: 2rem;
}

.flexible-layout-text-section .text-styling.text-list .section-content ul>li {
    list-style: disc;
    margin-bottom: 1.5rem;
}

.flexible-layout-text-section .text-cta .flexcol:last-of-type a.button.underlined-button {
    color: white;
    display: inline-block;
    border-color: white;
    padding: 1.5rem 3rem;
}

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

.flexible-layout-text-section .section-content p span.jsmt-shortcode {
    display: inline;
}

.flexible-layout-text-section .section-content p span.jsmt-shortcode i {
    display: none;
}

.flexible-layout-text-section .section-content h2 {
    font-size: 2.6rem;
    font-family: 'charm';
    font-weight: 400;
    font-style: italic;
}

.page-id-737 .flexible-layout-text-section.section-1 {
    padding-bottom: 0;
}

/* 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 .section-content p img {
    border-radius: 1rem;
}

.flexible-layout-image-text-section .image-text-default .image-wrap {
    overflow: hidden;
    box-shadow: var(--boxShadow);
    border-radius: 2rem;
}

.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 .flexcol:first-of-type img {
    width: 100%;
}

.flexible-layout-image-text-section .flexcol .video-wrapper {
    overflow: hidden;
    position: relative;
    object-fit: contain;
    padding-bottom: 0;
    height: 100%;
    box-shadow: unset;
    background-color: transparent;
    text-align: center;
}

.flexible-layout-image-text-section .flexcol .video-wrapper video {
    height: 100%;
    border-radius: 0;
    margin-bottom: 0;
    box-shadow: unset;
    object-fit: cover;
    object-position: top center;
    width: 100%;
    display: block;
}

.flexible-layout-image-text-section .flexcol .icon {
    width: 6rem;
    height: 6rem;
    background-color: var(--mainColor);
    color: white;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    align-items: center;
    margin-right: 2rem;
    outline: .6rem solid rgb(158 148 104 / 40%);
    margin-left: .6rem;
}


.flexible-layout-image-text-section .flexcol .icon i {
    font-size: 3.4rem;
    margin-bottom: 0rem;
}

.flexible-layout-image-text-section .flexcol .section-title {
    display: inline-block;
    vertical-align: middle;
}


/* Icon Section
---------------------------------------------------------------------------- */
.flexible-layout-icon-section .flexcol {
    padding: 2rem 0 0 0;
    box-sizing: border-box;
}

.page-id-728 .flexible-layout-icon-section .flexcol.col-3 {
    background-color: var(--mainColor);
    color: white;
    padding: 2rem;
    border-radius: 2rem;
    box-shadow: var(--boxShadow);
}

.page-id-728 .flexible-layout-icon-section .flexcol.col-3 .icon {
    background-color: unset;
    width: auto;
    height: auto;
    outline: unset;
}

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

.flexible-layout-icon-section .flexcol .icon i {
    font-size: 4rem;
    margin-bottom: 0rem;
}

.flexible-layout-icon-section .flexcol .icon {
    width: 7rem;
    height: 7rem;
    background-color: var(--mainColor);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    outline: .6rem solid rgb(158 148 104 / 30%);
}

.flexible-layout-icon-section .flexcol[style="text-align:center"] .icon {
    margin: 0 auto 2rem;
}

.flexible-layout-icon-section .flexcol h3.icon-title {
    margin-bottom: 2rem;
    line-height: 1;
    font-size: 2.2rem;
    font-weight: 400;
}

.flexible-layout-icon-section .flexcol h3.icon-title:last-child {
    margin: 0;
}

.flexible-layout-icon-section .flexcol .icon-content {
    font-size: 1.6rem;
    text-wrap: balance;
}

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

.flexible-layout-icon-section .flexcol.col-6 {
    padding: 2rem 0 0 0;
}

/* Gallery Section
---------------------------------------------------------------------------- */
.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;
}

.gallery-slider .item {
    padding: .5rem;
    list-style-type: none;
    flex-basis: 100%;
    max-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;
}

.flexible-layout.flexible-layout-gallery-section {
    padding: 0;
}

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

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

/* Background Image Section
---------------------------------------------------------------------------- */
.flexible-layout-background-image-section .background-image .background-content {
    background-color: rgba(0, 0, 0, .35);
}

.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;
    text-align: center;
    z-index: 1;
    color: #fff;
    padding: 4rem 0;
}

.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;
}

.flexible-layout-background-image-section .background-image.has-video .background-content {
    background-color: var(--mainColor);
    text-align: left;
    margin-top: -4px;
}

.flexible-layout-background-image-section .background-image.has-video video {
    max-width: 100vw;
}

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

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

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

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

.flexible-layout-blog-section .flexcol .post-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 {
    transform: scale(1.1);
}

.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: 400;
    font-size: 1.5rem;
}

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


/* Services Section
------------------------------------------------------------------------------------- */

.flexible-layout-services-section .flexcol {
    padding: 2rem;
    background-color: var(--mainColor);
    overflow: hidden;
    position: relative;
    box-sizing: border-box;
}

.contact-page .flexible-layout-services-section .flexcol {
    border-radius: 0;
    box-shadow: unset;
    background-color: unset;
}

.contact-page .flexible-layout-services-section .flexbox {
    gap: 0;
}

.flexible-layout-services-section .flexcol .icon i {
    font-size: 5rem;
    margin-bottom: 2rem;
}

.contact-page .flexible-layout-form-section .flexcol .section-content iframe {
    width: 100%;
}

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

.flexible-layout-team-section .flexcol .team-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9;
}

.flexible-layout-team-section .flexcol .team-headshot img {
    border-radius: 50%;
    margin: 0 auto 2rem;
}

.flexible-layout-team-section .flexcol h3.team-name {
    font-size: 2rem;
    font-weight: 400;
    margin: 0;
}

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

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

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

/* 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: 400;
    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);
}

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

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

.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 .background-content .flexcol .form-section {
    width: 100%;
    overflow: hidden;
    background-color: white;
    padding: 2rem;
    border-radius: 2rem;
    color: #333;
    box-shadow: var(--boxShadow);
    box-sizing: border-box;
}

.flexible-layout-form-section .background-content .flexcol .form-section .form-title {
    color: var(--mainColor);
}

.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 .form-styling.form-default .form-title,
.flexible-layout-form-section .form-styling.form-overlay .form-title {
    text-align: center;
    font-weight: 400;
    font-size: 3.6rem;
    text-wrap: balance;
}

.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;
}

.site-container .gform_wrapper.gravity-theme .gform_page_footer input+input {
    margin-left: 0;
}

.flexible-layout-form-section .form-shortcode .gform_wrapper.gravity-theme .gfield_label {
    font-size: 1.5rem;
    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 .gform_wrapper.gravity-theme .gform_fields {
    grid-row-gap: 0.8rem;
    grid-column-gap: 0.8rem;
}

.flexible-layout-form-section .form-shortcode input[type="button"] {
    padding: 1.5rem;
}

.flexible-layout-form-section .form-shortcode input[type=submit] {
    display: block;
    width: 100%;
    margin: 0;
    padding: 1.5rem;
    color: white;
    font-weight: 400;
}

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

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

.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 .jsmt-shortcode a {
    color: white;
}

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

.flexible-layout-form-section .flexcol .image-wrap {
    margin-top: 2rem;
    overflow: hidden;
    border-radius: 2rem;
}

.flexible-layout-form-section .flexcol .image-wrap img {
    width: 100%;
}

.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 {
    background-color: white;
    color: var(--mainColor);
    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: var(--secondColor);
    color: white;
}

.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 {
    color: white;
    outline-color: white;
    text-shadow: none;
}

.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: var(--mainColor);
    outline-color: var(--mainColor);
}

.flexible-layout-form-section .form-styling.form-full-height .form-title {
    color: white;
    margin: 0;
    padding: 2rem;
    text-align: center;
    font-weight: 400;
    font-size: 3rem;
}

.flexible-layout-form-section .form-styling.form-full-height .form-section .gform_wrapper .gfield_required {
    color: white;
}

.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);
}

.flexible-layout-form-section .form-styling.form-full-height .form-shortcode input[type=submit] {
    margin-top: 2rem;
}

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

.flexible-layout-form-section .background-content .wrap {
    max-width: unset;
    padding: 0;
}

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

.flexible-layout-form-section .background-content .flexcol {
    padding: 4rem 5%;
}

.flexible-layout-form-section .background-content .flexcol:first-of-type {
    flex: 1.5;
    display: flex;
    flex-flow: column wrap;
    justify-content: center;
}

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



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

.flexible-layout-events-section .section-content {
    margin-bottom: 2rem;
}

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

.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;
}

.flexible-layout-events-section .event-image {
    position: relative;
    height: 100%;
}

.flexible-layout-events-section .event-image img {
    object-fit: cover;
    height: 100%;
}

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

.flexible-layout-tabs-section .tabs .tabs-nav~div {
    display: none;
}

.flexible-layout-tabs-section .tabs .tabs-nav~div:target {
    display: block;
}

.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: #ededed;
    outline: none;
    color: #333;
    transition: 0.5s ease all;
    position: relative;
}

.flexible-layout-tabs-section ul.tabs-nav>li a:hover,
.flexible-layout-tabs-section ul.tabs-nav>li.ui-tabs-active a {
    color: white;
    background-color: var(--mainColor);
}

.flexible-layout-tabs-section .tabs-content .content-wrap {
    text-align: center;
}

.flexible-layout-tabs-section .tabs-content .flexbox .content-wrap {
    text-align: left;
}

.flexible-layout-tabs-section .tabs-content .flexbox .image-wrap img {
    border-radius: 2rem;
    box-shadow: var(--boxShadow);
}

.flexible-layout-tabs-section .tabs-content:not(:has(.flexbox)) {
    padding: 2rem 5%;
    background-color: #ededed;
    border-radius: 2rem;
    box-shadow: 0 .2rem 1rem rgba(0 0 0 / 15%)
}

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

/* Horizontal Tabs Section
------------------------------------------------- */
.flexible-layout-tabs-section .horizontal-tabs ul.tabs-nav {
    overflow: hidden;
    border-radius: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 .2rem 1rem rgba(0 0 0 / 15%)
}

/* 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: -webkit-fill-available;
    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: 400;
}

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

.flexible-layout-tabs-section .tab-content>*:last-child {
    margin: 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-team-section .flexbox {
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

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

    .gallery-slider .item {
        flex-basis: calc(33.33% - 1rem);
        max-width: calc(33.33% - 1rem);
    }

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

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

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

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

    .flexible-layout-icon-section .flexbox:has(.flexcol.col-6) {
        gap: 2rem;
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        flex-wrap: wrap;
    }
}

@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-events-section .event-section,
    .flexible-layout-services-section .flexbox {
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        flex-wrap: wrap;
        gap: 2rem;
    }

    .flexible-layout-events-section .flexbox,
    .flexible-layout-services-section .flexcol {
        flex-basis: calc(50% - 1rem);
        max-width: calc(50% - 1rem);
    }
}

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

    .background-image .background-content,
    .flexible-layout,
    .flexible-layout.flexible-layout-image-text-section .image-text-default {
        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 .flexcol {
        flex-basis: calc(50% - 4rem);
        max-width: calc(50% - 4rem);
    }

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

    .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;
    }

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

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


    .page-id-728 .flexible-layout-icon-section .flexcol.col-3 {
        max-width: 33rem;
    }

    .contact-page .flexible-layout-services-section .flexcol {
        flex-basis: 33.33%;
        max-width: 33.33%;
        border-right: .2rem solid #ccc;
    }

    .contact-page .flexible-layout-services-section .flexcol:first-of-type {
        border-left: .2rem solid #ccc;
    }

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

    .flexible-layout .section-content h2 {
        font-size: 3rem;
    }

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

    .flexible-layout-page .flexible-layout h1.section-title {
        font-size: 5rem;
    }

    .background-image .background-content .section-content {
        max-width: 100rem;
        margin: 0 auto;
        font-size: 2rem;
    }

    .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: 25rem;
    }

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


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

    .flexible-layout-services-section .flexbox {
        gap: .2rem;
        justify-content: center;
    }

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

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

    .flexible-layout-team-section .flexcol h3.team-name {
        font-size: 2.6rem;
    }

    .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: 0rem;
    }*/

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

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

    .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;
        display: flex;
        flex-flow: column wrap;
        justify-content: center;
    }

    .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;
        overflow: hidden;
    }

    .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: 400;
    }

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

    .flexible-layout-tabs-section ul.tabs-nav>li a {
        height: 100%;
    }

    .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:has(.flexbox) {
        padding: 2rem 0 0 0;
    }

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

    .flexible-layout-tabs-section .tabs-content .flexbox {
        align-items: center;
        gap: 8rem;
    }

    .flexible-layout-tabs-section .tabs-content .flexbox .content-wrap,
    .flexible-layout-tabs-section .tabs-content .flexbox .image-wrap {
        flex: 1;
    }

    .flexible-layout-tabs-section .tabs .tabs-content:nth-of-type(even) .image-wrap {
        order: 2;
    }

    .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;
        padding-left: 3rem;
    }

    .accordion .tab label {
        padding: 2rem;
        font-size: 2rem;
    }

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

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

    .admin-bar .flexible-layout-background-image-section .background-image.full-height,
    .admin-bar .flexible-layout-background-image-section .background-image.full-height .background-content {
        min-height: calc(100vh - 23.6rem);
    }

    .flexible-layout-background-image-section .background-image.has-video,
    .flexible-layout-background-image-section .background-image.has-video .background-content {
        display: flex;
        flex-direction: row-reverse;
    }

    .flexible-layout-background-image-section .wrap .video-wrapper {
        flex: 1;
        background-color: black;
        flex-basis: calc(100% - 60rem);
    }

    .flexible-layout-background-image-section .wrap .video-wrapper video {
        width: 100%;
        height: 100%;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        position: relative;
        object-fit: cover;
        object-position: center center;
        opacity: .75;
    }

    .flexible-layout-background-image-section .background-image.has-video .background-content {
        flex: 1;
        flex-basis: 60rem;
        max-width: 60rem;
        padding: 4rem;
        margin: 0 auto 0 0;
    }

    .flexible-layout-background-image-section .background-image.has-video .background-content::before {
        content: '';
        position: absolute;
        right: -13.9rem;
        top: 50%;
        transform: translateY(-50%);
        width: 14rem;
        height: 100%;
        z-index: 999;
        clip-path: polygon(0 0, 0% 100%, 100% 50%);
        background-color: var(--mainColor);
    }
}

@media only screen and (min-width: 960px) and (max-width: 1279px) {
    .flexible-layout-image-text-section .image-text-default .flexcol .image-wrap {
        min-height: 40rem;
        position: relative;
    }

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

    .flexible-layout .section-button a.button {
        padding: 1.5rem 2rem;
        font-size: 1.4rem;
    }

    .flexible-layout-background-image-section .background-image.has-video .background-content {
        flex: 1;
        flex-basis: 40%;
        max-width: 40%;
        padding: 2rem 20px;
        margin: 0 auto 0 0;
    }

    .flexible-layout-background-image-section .background-image.has-video .background-content::before {
        content: unset;
    }

    .flexible-layout-icon-section .flexcol.col-6 {
        flex-basis: calc(33.33% - 1.33rem);
        max-width: calc(33.33% - 1.33rem);
    }
}

@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% - 2.3rem);
        max-width: calc(25% - 2.3rem);
    }

    .flexible-layout-icon-section .flexcol.col-6 {
        flex-basis: calc(16.66% - 1.66rem);
        max-width: calc(16.66% - 1.66rem);
    }

    .gallery-slider .item {
        flex-basis: calc(16.66% - 1rem);
        max-width: calc(16.66% - 1rem);
    }

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

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

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

    .flexible-layout .section-title,
    .flexible-layout-form-section .form-styling.form-full-height .form-title {
        font-size: 4rem;
    }
}

@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 (max-width: 1499px) and (min-width: 960px) {
    .flexible-layout-form-section .background-content .wrap {
        padding: 0 2rem;
    }
}*/

@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%;
    }

    .background-content>.wrap {
        max-width: unset;
    }

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

    .admin-bar .flexible-layout-background-image-section .background-image.full-height,
    .admin-bar .flexible-layout-background-image-section .background-image.full-height .background-content {
        min-height: calc(100vh - 18rem);
    }
}

@media only screen and (max-width: 1279px) and (min-width: 960px) {
    .flexible-layout .section-button a.button {
        margin: 0 .5rem 1rem;
    }
}

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

    .flexible-layout-blog-section .flexcol:not(:last-of-type) {
        margin-bottom: 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;
    }

    .site-container .flexible-layout-background-image-section .background-image:not(.full-height) .background-content .section-content {
        line-height: 1.4;
    }

    .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;
        aspect-ratio: 16/9;
    }

    .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;
        box-sizing: border-box;
    }

    .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: 400;
    }

    .flexible-layout-tabs-section .horizontal-tabs ul.tabs-nav>li:first-of-type a {
        margin-top: 0;
    }

    .flexible-layout-tabs-section .section-content h2 {
        font-size: 2.6rem;
        text-wrap: balance;
    }

    .flexible-layout-tabs-section .flexbox .image-wrap {
        margin-bottom: 2rem;
    }

    .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-testimonial-section .testimonial-section .flexcol:not(:last-of-type) {
        margin-bottom: 2rem;
    }

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

    .flexible-layout-form-section .background-content .flexcol:first-of-type {
        border-radius: 2rem;
    }

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

    .contact-page .flexible-layout-services-section .flexcol {
        padding: 0;
    }

    .flexible-layout-form-section .flexcol .form-section .form-title {
        font-size: 3.2rem;
    }
}

@media only screen and (max-width:659px) {
    .flexible-layout-background-image-section .background-image .background-content .section-button a.button {
        display: block;
        margin: 1rem 0;
    }

    .flexible-layout-icon-section .flexcol h3.icon-title {
        font-size: 2rem;
    }

    .flexible-layout .section-button a.button {
        display: block;
        margin: 1rem 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;
    }

    .gallery-slider .item {
        padding: .5rem;
        flex-basis: 50%;
        max-width: 50%;
        box-sizing: border-box;
    }

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

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

    .flexible-layout-events-section .event-section .flexbox:not(:last-of-type),
    .flexible-layout-services-section .flexcol:not(:last-of-type),
    .flexible-layout-team-section .flexcol:not(:last-of-type),
    .flexible-layout-icon-section .flexcol:not(:last-of-type) {
        margin-bottom: 2rem;
    }

    .flexible-layout-tabs-section ul.tabs-nav>li a {
        padding: 10px 20px;
    }

    .flexible-layout-image-text-section .section-content p>a:has(img) {
        display: inline-block;
        margin-bottom: .5rem;
    }
}