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

.page-id-902 .flexible-layout.flexible-layout-gallery-section {
    padding-top: 4rem;
}

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

.flexible-layout .section-title {
    font-size: 3rem;
    font-weight: 400;
    text-wrap: balance;
}

.flexible-layout:not(.flexible-layout-image-grid-section) .section-title:last-child {
    margin: 0;
}

.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 {
    position: relative;
}

.flexible-layout .section-title {
    position: relative;
    padding-bottom: 4rem;
    margin-bottom: 4rem;
}

.flexible-layout-form-section .has-image .section-title:last-child,
.flexible-layout.flexible-layout-background-image-section .section-title:last-child {
    margin: 0;
}

.flexible-layout-form-section .has-image .section-title,
.flexible-layout.flexible-layout-background-image-section .section-title {
    padding: 0;
    margin-bottom: 2rem;
}

.flexible-layout-form-section .has-image .section-title::before,
.flexible-layout-form-section .has-image .section-title::after,
.flexible-layout.flexible-layout-background-image-section .section-title::before,
.flexible-layout.flexible-layout-background-image-section .section-title::after {
    content: unset;
}

.flexible-layout .section-title::before,
.flexible-layout .section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.flexible-layout .section-title::before {
    bottom: 0;
    width: 25rem;
    height: .2rem;
    background-color: var(--mainColor);
}

.flexible-layout .section-title::after {
    bottom: -2rem;
    background-image: url(/wp-content/uploads/2025/11/KarenJosephSalon-flower-petal.png);
    height: 4rem;
    width: 6rem;
    background-color: white;
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
}

.flexible-layout[style="background-color:#768f93;color:#ffffff;"] .section-title::before {
    background-color: white;
}

.flexible-layout[style="background-color:#768f93;color:#ffffff;"] .section-title::after {
    background-color: var(--secondColor);
    background-image: url(/wp-content/uploads/2025/11/KarenJosephSalon-flower-petal-white.png);
}

.flexible-layout[style="background-color:#fdf3f0;color:;"] .section-title::after {
    background-color: #fdf3f0;
}

.flexible-layout.flexible-layout-form-section .no-image .section-title::after,
.flexible-layout.flexible-layout-text-section .text-styling:not(.text-centered) .section-title::after,
.flexible-layout.flexible-layout-image-text-section .section-title::after {
    left: 12.5rem;
}

.flexible-layout.flexible-layout-form-section .no-image .section-title::before,
.flexible-layout.flexible-layout-text-section .text-styling:not(.text-centered) .section-title::before,
.flexible-layout.flexible-layout-image-text-section .section-title::before {
    left: 0;
    transform: unset;
}

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

.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-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 .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 p:last-child {
    margin: 0;
}

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

/* 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-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 .image-text-default .flexcol img {
    width: 100%;
}

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

/* Icon Section
---------------------------------------------------------------------------- */
.flexible-layout-icon-section .flexcol {
    padding: 2rem;
    box-sizing: border-box;
    background-color: white;
    border-radius: 2rem;
    position: relative;
    margin-top: 3rem;
    text-align: center;
    box-shadow: var(--boxShadow);
}

.flexible-layout-icon-section .flexcol.col-3 {
    display: flex;
    align-items: center;
    justify-content: center;
}

.flexible-layout-icon-section .flexcol.col-3 .icon-title:has(+a) {
    margin: 0;
}

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

.flexible-layout-icon-section .flexcol h3.icon-title {
    margin-bottom: 1rem;
    line-height: 1;
    font-size: 2.2rem;
    font-weight: 600;
    text-wrap: balance;
}

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

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

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

.flexible-layout-icon-section .flexcol:has(.icon) {
    padding-top: 7rem;
}

.flexible-layout-icon-section .flexcol:has(a.button) {
    padding-bottom: 6rem;
}

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

.flexible-layout-icon-section .flexcol a.button {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    box-sizing: border-box;
    border-radius: 0 0 2rem 2rem;
}

.flexible-layout-icon-section .flexcol .icon {
    position: absolute;
    top: -2.5rem;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--mainColor);
    padding: 1rem;
    width: 8rem;
    height: 8rem;
    border-radius: 50%;
    border: .4rem solid hsl(14 74% 90% / 1);
    box-sizing: border-box;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;

}


/* 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,
.flexible-layout.flexible-layout-gallery-section>.wrap {
    padding: 0;
    max-width: unset;
}

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

/* Background Image Section
---------------------------------------------------------------------------- */
.flexible-layout-background-image-section .background-image.half-height:not(.has-video),
.flexible-layout-background-image-section .background-image.half-height:not(.has-video) .background-content {
    min-height: 50vh;
}

.flexible-layout-background-image-section .background-image.full-height:not(.has-video),
.flexible-layout-background-image-section .background-image.full-height:not(.has-video) .background-content {
    min-height: 70vh;
}

.flexible-layout[style="background-color:#768f93;color:#ffffff;"]::before,
.flexible-layout[style="background-color:#fdf3f0;color:;"]::before {
    content: '';
    position: absolute;
    bottom: -2rem;
    width: 100vw;
    height: 8rem;
    left: 0;
    z-index: 0;
    background-color: #fdf3f0;
    clip-path: polygon(100% 0%, 0% 0%, 0.00% 99.67%, 2.00% 99.52%, 4.00% 99.08%, 6.00% 98.37%, 8.00% 97.41%, 10.00% 96.23%, 12.00% 94.88%, 14.00% 93.41%, 16.00% 91.86%, 18.00% 90.29%, 20.00% 88.76%, 22.00% 87.32%, 24.00% 86.02%, 26.00% 84.91%, 28.00% 84.03%, 30.00% 83.41%, 32.00% 83.07%, 34.00% 83.02%, 36.00% 83.26%, 38.00% 83.79%, 40.00% 84.59%, 42.00% 85.63%, 44.00% 86.87%, 46.00% 88.27%, 48.00% 89.77%, 50.00% 91.33%, 52.00% 92.89%, 54.00% 94.40%, 56.00% 95.80%, 58.00% 97.04%, 60.00% 98.08%, 62.00% 98.87%, 64.00% 99.40%, 66.00% 99.65%, 68.00% 99.60%, 70.00% 99.26%, 72.00% 98.64%, 74.00% 97.75%, 76.00% 96.65%, 78.00% 95.35%, 80.00% 93.91%, 82.00% 92.38%, 84.00% 90.81%, 86.00% 89.26%, 88.00% 87.79%, 90.00% 86.44%, 92.00% 85.26%, 94.00% 84.30%, 96.00% 83.59%, 98.00% 83.15%, 100.00% 83.00%);
}

.post-type-archive-products .flexible-layout-text-section::before,
.flexible-layout[style="background-color:#768f93;color:#ffffff;"]:last-of-type:before,
.flexible-layout[style="background-color:#768f93;color:#ffffff;"].section-2::before,
.flexible-layout[style="background-color:#fdf3f0;color:;"]:last-of-type:before,
.flexible-layout[style="background-color:#fdf3f0;color:;"].section-2::before {
    top: -2rem;
    height: 8rem;
    bottom: unset;
    z-index: 0;
    transform: rotate(180deg);
}

.post-type-archive-team .flexible-layout-text-section::before {
    content: unset !important;
}

.flexible-layout[style="background-color:#768f93;color:#ffffff;"]::before {
    background-color: var(--secondColor);
}

.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-page.home .flexible-layout-background-image-section.section-1 .background-image:not(.has-video) .background-content {
    padding: 15.9rem 0 4rem;
}

.flexible-layout-background-image-section .background-image:not(.has-video) .background-content .section-content,
.flexible-layout.flexible-layout-background-image-section .background-image:not(.has-video) .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;
    text-wrap: balance;
}

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

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

.flexible-layout-background-image-section .background-image-slider .slick-track {
    align-items: center;
    display: flex;
}

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

.flexible-layout-background-image-section .background-image.has-video video {
    max-width: 100vw;
    width: 100%;
    object-fit: cover;
    aspect-ratio: 18/9;
}

.flexible-layout-background-image-section .background-image.has-video .video-wrapper {
    aspect-ratio: unset;
    margin-bottom: -8px;
}

.flexible-layout-background-image-section .background-image.has-video .background-content {
    background-color: var(--secondColor);
    text-align: center;
}

/* 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;
    line-height: 1.4;
    margin-bottom: 1rem;
    text-wrap: balance;
    font-weight: 700;
}

.flexible-layout-services-section .flexcol .service-title:last-child {
    margin: 0;
}

.flexible-layout-services-section .flexcol {
    border-radius: 2rem;
    padding: 2rem;
    box-sizing: border-box;
    text-align: center;
    display: flex;
    flex-flow: column wrap;
    justify-content: center;
    align-items: center;
}

.flexible-layout-services-section .flexcol .content-wrap .price {
    font-size: 2rem;
    font-style: italic;
    color: var(--secondColor);
    font-weight: 700;
}

.flexible-layout-services-section .flexcol .content-wrap .price:not(:last-child) {
    margin-bottom: .5rem;
}

.flexible-layout-services-section .services-section {
    margin-top: 4rem;
}

.flexible-layout-services-section .services-section .service-excerpt {
    font-style: italic;
    font-size: 1.6rem;
    text-wrap: balance;
}

.flexible-layout .section-content h2,
.flexible-layout .section-content h3,
.flexible-layout .section-content h4,
.flexible-layout .section-content h5 {
    font-weight: 400;
    text-wrap: balance;
}


.flexible-layout .section-content h4 {
    font-size: 2rem;
}

.flexible-layout .section-content h4:last-child {
    margin: 0;
}

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

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

.flexible-layout-form-section:not(.section-1) .form-default .form-section {
    background-color: unset;
    box-shadow: unset;
    border-radius: 0;
}

.flexible-layout-form-section .gform_wrapper.gravity-theme .gf_simple_horizontal {
    margin: 0;
    width: 100%;
}

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

.flexible-layout-form-section .fixed-image .image-section {
    clip-path: inset(0);
    margin-top: 1px;
}

.flexible-layout-form-section .fixed-image .image-section img {
    position: fixed;
    top: 3rem;
}

.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;
    margin-bottom: -.1rem;
}

.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 {
    background-color: var(--secondColor);
    color: white;
    margin: 0;
    padding: 2rem;
    text-align: center;
    font-weight: 400;
    font-size: 3rem;
    text-shadow: none;
}

.flexible-layout-form-section .form-styling.form-default .form-shortcode,
.flexible-layout-form-section .form-styling.form-overlay .form-shortcode {
    color: #333;
    padding: 2rem;
    text-shadow: none;
}

.flexible-layout-form-section:not(.section-1) .form-default .form-shortcode {
    padding: 0;
}

.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 input[type="submit"] {
    background-color: var(--secondColor);
}

.flexible-layout-form-section .form-shortcode input[type="submit"]:focus,
.flexible-layout-form-section .form-shortcode input[type="submit"]:hover {
    background-color: var(--buttonHover);
    color: #333;
}

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

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

.flexible-layout-form-section:not(.section-1) .form-default .form-shortcode input[type=submit] {
    padding: 1.4rem 2rem;
}

.flexible-layout-form-section .background-content .flexcol .section-content .jsmt-shortcode .jsmt-hours>li:not(:last-of-type) {
    margin-bottom: .5rem;
}

.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 .section-content ul.jsmt-hours {
    list-style-type: none;
}

.flexible-layout .section-content .jsmt-shortcode.jsmt-hours-shortcode {
    max-width: 25rem;
}

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

span.jsmt-shortcode.jsmt-hours-shortcode>span.icon,
span.jsmt-shortcode.jsmt-hours-shortcode>span.shortcode-label,
.flexible-layout .section-content .jsmt-shortcode .jsmt-hours>li span {
    display: inline-block;
    width: 50%;
}

.flexible-layout .section-content span.day {
    text-align: left;
}

span.jsmt-shortcode.jsmt-hours-shortcode>span.icon,
.flexible-layout .section-content .jsmt-shortcode .jsmt-hours>li span.hours {
    text-align: right;
}

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

.home .flexible-layout-background-image-section.section-1 .background-image .background-content .section-button a.button {
    background-color: transparent;
    color: white;
}

.home .flexible-layout-background-image-section.section-1 .background-image .background-content .section-button a.button:hover {
    background-color: white;
    color: var(--secondColor);
}

.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[style="background-color:#768f93;color:#ffffff;"] .flexcol:last-of-type a.button.primary-button {
    background-color: var(--secondColor);
    color: white;
    text-shadow: none;
    outline: .2rem solid white;
    outline-offset: -.2rem;
}

.flexible-layout-form-section .flexible-form-section.has-image .background-content .flexcol:first-of-type a.button.primary-button:focus,
.flexible-layout-background-image-section .background-content a.button.primary-button:focus,
.flexible-layout-text-section .text-cta .flexcol:last-of-type a.button.primary-button:focus,
.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[style="background-color:#768f93;color:#ffffff;"] .text-cta .flexcol:last-of-type a.button.primary-button:hover {
    background-color: white;
    color: var(--secondColor);
    outline: .2rem solid white;
    outline-offset: -.2rem;
}

.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[style="background-color:#768f93;color:#ffffff;"] .text-cta .flexcol:last-of-type a.button.secondary-button {
    color: #333;
    outline: .2rem solid white;
    outline-offset: -.2rem;
    text-shadow: none;
    background-color: var(--buttonHover);
}

.flexible-layout-form-section .flexible-form-section.has-image .background-content .flexcol:first-of-type a.button.secondary-button:focus,
.flexible-layout-background-image-section .background-content a.button.secondary-button:focus,
.flexible-layout-text-section[style="background-color:#768f93;color:#ffffff;"] .text-cta .flexcol:last-of-type a.button.secondary-button:focus,
.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[style="background-color:#768f93;color:#ffffff;"] .text-cta .flexcol:last-of-type a.button.secondary-button:hover {
    background-color: var(--secondColor);
    outline: .2rem solid white;
    outline-offset: -.2rem;
    color: white;
}

.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 .gform_wrapper.gravity-theme#gform_wrapper_2 .gform_footer {
    margin-top: .8rem;
}

.flexible-layout-form-section .section-content .jsmt-shortcode a {
    color: #333;
}

.flexible-layout-form-section .section-content .jsmt-shortcode a:hover {
    color: var(--secondColor);
}

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

/* 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: -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 .accordion .tab {
    border-radius: 2rem;
    background-color: white;
    box-shadow: var(--boxShadow);
    overflow: hidden;
}

/* Image Grid Section
---------------------------------------------------------------------------- */
.flexible-layout.flexible-layout-image-grid-section {
    padding-bottom: 0;
}

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

.flexible-layout-image-grid-section>.wrap .wrap {
    margin-bottom: 3rem;
    text-align: center;
}

.flexible-layout-image-grid-section .flexbox.grid-flex .flexcol img {
    width: 100%;
}

.flexible-layout-image-grid-section .flexbox.grid-flex .flexcol:last-of-type .content-wrap {
    text-align: center;
    padding: 4rem 5%;
}

.flexible-layout-image-grid-section .flexbox {
    gap: 0;
}

.flexible-layout-image-grid-section .content-wrap .section-sub-title {
    font-weight: 700;
    font-size: 2.6rem;
    color: var(--secondColor);
}

.flexible-layout-image-grid-section .content-wrap .grid-title {
    font-size: 2.8rem;
}

.flexible-layout.flexible-layout-image-grid-section .content-wrap .grid-title:has(+.section-sub-title) {
    margin-bottom: .5rem;
}

.flexible-layout.flexible-layout-image-grid-section .content-wrap .section-sub-title {
    margin-bottom: 2rem;
}

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

    .flexible-layout-services-section .flexbox,
    .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-team-section .flexbox,
    .flexible-layout-icon-section .flexbox {
        gap: 2rem;
    }

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

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

    .page-id-902 .flexible-layout-gallery-section .gallery-slider .item {
        flex-basis: calc(20% - 1rem);
        max-width: calc(20% - 1rem);
    }

    .page-id-902 .flexible-layout-gallery-section.section-2 .gallery-slider .item {
        flex-basis: calc(16.66% - 1rem);
        max-width: calc(16.66% - 1rem);
    }

    .page-id-902 .flexible-layout-gallery-section.section-3 .gallery-slider .item {
        flex-basis: calc(20% - 1rem);
        max-width: calc(20% - 1rem);
    }

    .page-id-902 .flexible-layout-gallery-section.section-4 .gallery-slider .item {
        flex-basis: calc(25% - 1rem);
        max-width: calc(25% - 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);
    }

    .accordion .tab label {
        padding: 2rem 4rem 2rem 2rem;
        font-size: 2rem;
        min-height: 8.8rem;
        box-sizing: border-box;
        display: flex;
        flex-flow: column wrap;
        justify-content: center;
    }
}

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

    .flexible-layout-image-grid-section .flexbox.grid-flex .flexcol img {
        width: 100%;
        aspect-ratio: 16 / 12;
        object-fit: cover;
    }
}

@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-background-image-section .video-wrapper::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
        background: #1D1D1D;
        background: linear-gradient(0deg, rgba(29, 29, 29, 0) 60%, rgba(29, 29, 29, 0.6) 80%);
    }

    .flexible-layout-background-image-section .background-image.has-video video,
    .flexible-layout-background-image-section .background-image.has-video .video-wrapper {
        min-height: calc(100vh - 21rem);
        max-height: 69rem;
    }

    .admin-bar .flexible-layout-background-image-section .background-image.has-video .video-wrapper,
    .admin-bar .flexible-layout-background-image-section .background-image.has-video video {
        min-height: calc(100vh - 24rem);
        max-height: 72rem;
    }

    .page-id-902 .flexible-layout-gallery-section {
        padding-top: 8rem;
    }

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

    .flexible-layout-background-image-section .background-image-slider .slider-content {
        font-size: 2rem;
        text-wrap: balance;
    }

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

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

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

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

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

    .flexible-layout-page.home .flexible-layout.section-1 .section-content {
        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;
        min-width: 45rem;
    }

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

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

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


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

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

    .flexible-layout-form-section .form-styling.form-overlay .flexbox {
        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-faqs-section .accordion,
    .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-faqs-section .accordion {
        gap: 2rem;
        align-items: flex-start;
        justify-content: unset;
        flex-wrap: wrap;
        text-align: left;
    }

    .flexible-layout-faqs-section .accordion .tab {
        flex-basis: calc(50% - 1rem);
        max-width: calc(50% - 1rem);
    }

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

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

    .flexible-layout-image-grid-section .flexbox .flexcol:last-of-type {
        flex: 1.5;
    }

    .flexible-layout-image-grid-section .flexbox.grid-flex .flexcol:last-of-type {
        flex: 1;
        display: flex;
        align-items: center;
    }

    .flexible-layout-image-grid-section .flexbox.grid-flex {
        background-color: #fdf3f0;
    }

    .flexible-layout-image-grid-section .flexbox.grid-flex:nth-of-type(odd) .flexcol:first-of-type {
        order: 2;
        min-height: 100%;
    }

    .flexible-layout-image-grid-section .flexbox.grid-flex .flexcol:last-of-type .content-wrap {
        padding: 4rem;
        text-align: left;
    }
}

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

@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 {
        flex-basis: calc(33.3% - 2rem);
        max-width: calc(33.3% - 2rem);
    }

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

    .page-id-902 .flexible-layout-gallery-section.section-2 .gallery-slider .item {
        flex-basis: calc(11.1% - 1rem);
        max-width: calc(11.1% - 1rem);
    }

    .page-id-902 .flexible-layout-gallery-section.section-3 .gallery-slider .item {
        flex-basis: calc(20% - 1rem);
        max-width: calc(20% - 1rem);
    }

    .page-id-902 .flexible-layout-gallery-section.section-4 .gallery-slider .item {
        flex-basis: calc(12.5% - 1rem);
        max-width: calc(12.5% - 1rem);
    }

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

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

    .flexible-layout-page.home .flexible-layout-form-section .section-title {
        font-size: 3rem;
    }

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

    .flexible-layout-image-grid-section .flexbox .flexcol .image-wrap {
        position: sticky;
        top: 11.9rem;
    }

    .admin-bar .flexible-layout-image-grid-section .flexbox .flexcol .image-wrap {
        top: 15.1rem;
    }

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

    .flexible-layout-image-grid-section .wrap>.flexbox>.flexcol:first-of-type img {
        min-width: 69rem;
        min-height: calc(100vh - 11.9rem);
    }
}

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

    .flexible-layout-form-section .fixed-image .image-section img {
        position: fixed;
        top: 3rem;
    }
}

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

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

    .flexible-layout-background-image-section .background-image .background-content>.wrap .slick-slider .item {
        max-width: 100%;
    }
}

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

    .background-image .background-content .section-content {
        max-width: 60%;
        margin: 0 auto;
    }

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

    /*.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: 1279px) {
    .flexible-layout-image-grid-section .flexbox .flexcol:first-of-type {
        display: none;
    }

    .flexible-layout-image-grid-section .flexbox.grid-flex .flexcol:first-of-type {
        display: block;
    }
}

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

    .flexible-layout-background-image-section .background-image.has-video video {
        aspect-ratio: 18/9;
    }

    .flexible-layout-icon-section .flexcol.col-2 {
        flex-basis: 100%;
        max-width: 100%;
    }

    .flexible-layout-image-grid-section .flexbox.grid-flex .flexcol:last-of-type .content-wrap {
        text-align: center;
        padding: 6rem 5%;
    }

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

    .flexible-layout-form-section .background-content .flexcol:first-of-type,
    .flexible-layout-text-section .text-cta,
    .flexible-layout-image-text-section .flexcol {
        text-align: center;
    }

    .flexible-layout-form-section .background-content .flexcol .section-title::before,
    .flexible-layout-form-section .background-content .flexcol .section-title::after,
    .flexible-layout.flexible-layout-text-section .text-cta:not(.text-centered) .section-title::before,
    .flexible-layout.flexible-layout-text-section .text-cta:not(.text-centered) .section-title::after,
    .flexible-layout.flexible-layout-image-text-section .section-title::after,
    .flexible-layout.flexible-layout-image-text-section .section-title::before {
        left: 50%;
        transform: translateX(-50%);
    }

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


    section.accordion .tab:not(:last-of-type) {
        margin-bottom: 2rem;
    }

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

    .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-bottom: 2rem
    }

    .flexible-layout[style="background-color:#768f93;color:#ffffff;"]::before,
    .flexible-layout[style="background-color:#fdf3f0;color:;"]::before {
        content: '';
        position: absolute;
        bottom: -2rem;
        width: 100vw;
        height: 6rem;
    }

    .flexible-layout[style="background-color:#768f93;color:#ffffff;"]:not(:last-of-type):not(.section-2),
    .flexible-layout[style="background-color:#fdf3f0;color:;"]:not(:last-of-type):not(.section-2) {
        padding-bottom: 5rem;
    }

    .post-type-archive-products .flexible-layout-text-section::before,
    .flexible-layout[style="background-color:#768f93;color:#ffffff;"]:last-of-type:before,
    .flexible-layout[style="background-color:#768f93;color:#ffffff;"].section-2::before,
    .flexible-layout[style="background-color:#fdf3f0;color:;"]:last-of-type:before,
    .flexible-layout[style="background-color:#fdf3f0;color:;"].section-2::before {
        top: -2rem;
        height: 6rem;
        bottom: unset;
        z-index: 9;
        transform: rotate(180deg);
    }

    .post-type-archive-products .flexible-layout-text-section,
    .flexible-layout[style="background-color:#768f93;color:#ffffff;"]:last-of-type,
    .flexible-layout[style="background-color:#768f93;color:#ffffff;"].section-2,
    .flexible-layout[style="background-color:#fdf3f0;color:;"]:last-of-type,
    .flexible-layout[style="background-color:#fdf3f0;color:;"].section-2 {
        margin-top: 2rem;
    }

    .flexible-layout-background-image-section .section-content h4 {
        font-size: 2.2rem;
    }

    .contact-page .flexible-layout-image-text-section .section-title {
        text-align: center;
    }

    .contact-page .flexible-layout-image-text-section .section-title::before,
    .contact-page .flexible-layout-image-text-section .section-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .contact-page .flexible-layout .section-content .jsmt-shortcode.jsmt-hours-shortcode {
        margin: 0 auto;
    }
}

@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-text-section .text-cta .flexcol:last-of-type a.button:not(:last-of-type) {
        margin-bottom: 1.5rem;
    }

    .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) {
        margin-bottom: 2rem;
    }


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

    .flexible-layout-icon-section .section-title:has(+.flexbox) {
        margin-bottom: 6rem;
    }

}

@media only screen and (max-width:640px) {
    .gform_wrapper.gravity-theme .ginput_complex span.name_last {
        margin-bottom: 0;
    }
}