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

.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: 3rem;
    font-weight: 400;
    text-transform: capitalize;
    text-wrap: balance;
    color: var(--mainColor);
}

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

.flexible-layout .section-content a {
    font-weight: 700;
}

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

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

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

.flexible-layout .section-button a.button:hover {
    background-color: var(--secondColor);
}

.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[style="background-color:#005b96;color:#ffffff;"] .section-button a.button {
    background-color: var(--mainColor);
    color: white;
    border: .2rem solid white;
}

.flexible-layout[style="background-color:#005b96;color:#ffffff;"] .section-button a.button:hover {
    background-color: var(--secondColor);
    color: white;
    border-color: var(--secondColor);
}

.flexible-layout:nth-of-type(even)::before,
.flexible-layout:nth-of-type(odd)::before {
    content: '';
    position: absolute;
    bottom: -10rem;
    width: 10rem;
    height: 20rem;
    background-size: contain;
    background-repeat: no-repeat;
    background-size: contain;
    background-repeat: no-repeat;
    opacity: .2;
    background-image: url(/wp-content/uploads/2025/06/cropped-otncnj-favicon.png);
}

.flexible-layout[style="background-color:#005b96;color:#ffffff;"]::before {
    filter: brightness(.1);
}

.flexible-layout:nth-of-type(odd)::before {
    left: 0rem;
    background-image: url(/wp-content/uploads/2025/06/otncnj-favicon-right.png);
}

.flexible-layout:nth-of-type(even)::before {
    right: 0rem;
    background-image: url(/wp-content/uploads/2025/06/otncnj-favicon-left.png);
}

.flexible-layout[style="background-color:#005b96;color:#ffffff;"] .section-content a {
    color: white;
}

/* Text Section
---------------------------------------------------------------------------- */
.flexible-layout-text-section .text-centered {
    text-align: center;
    max-width: 96rem;
    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;
}

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

.flexible-layout-image-text-slider-section .flexcol .image-wrap,
.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-slider-section .tabs-content .image-wrap img,
.flexible-layout-image-text-section .flexcol .image-wrap img {
    width: 100%;
}

/* Icon Section
---------------------------------------------------------------------------- */
.flexible-layout-icon-section .flexbox {
    margin-bottom: 4rem;
    margin-top: 4rem;
}

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

.flexible-layout-icon-section .flexcol {
    text-align: center;
    box-shadow: var(--boxShadow);
    background-color: var(--mainColor);
    border-radius: 2rem;
    padding: 2rem;
    box-sizing: border-box;
    text-wrap: balance;
    color: white;
}

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

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

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

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

/* Gallery Section
---------------------------------------------------------------------------- */
.flexible-layout.flexible-layout-gallery-section,
.flexible-layout.flexible-layout-gallery-section>.wrap {
    max-width: unset;
    padding: 0;
}

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

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

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

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

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

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

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

.flexible-layout-background-image-section .background-image .background-content {
    background-color: rgba(0, 0, 0, .35);
    box-shadow: var(--boxShadow);
}

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

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

.flexible-layout.flexible-layout-background-image-section>.wrap {
    padding: 8rem;
    max-width: 128rem;
    margin: 0 auto;
}

.flexible-layout-background-image-section .background-image .image-section,
.flexible-layout-background-image-section .background-image .background-content {
    border-radius: 2rem;
    overflow: hidden;
}

.flexible-layout-background-image-section .background-image .background-content .wrap .section-title:last-child {
    margin: 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,
.flexible-layout.flexible-layout-background-image-section .section-title {
    text-shadow: .1rem .1rem 1.5rem rgb(0 0 0 / 25%);
}

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

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

/* Blog & Services Section
---------------------------------------------------------------------------- */

.flexible-layout-blog-section .flexcol,
.flexible-layout-services-section .flexcol {
    position: relative;
    overflow: hidden;
}

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

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

.flexible-layout-blog-section .flexcol .post-image img,
.flexible-layout-services-section .flexcol .service-image img {
    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;
    text-align: center;
}

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

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

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

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

/* Team Section
---------------------------------------------------------------------------- */
.flexible-layout-team-section .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: 700;
    margin: 0;
}

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

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

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

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

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

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

.flexible-layout-form-section .form-styling.form-default .form-title,
.flexible-layout-form-section .form-styling.form-overlay .form-title {
    background-color: var(--mainColor);
    color: white;
    margin: 0;
    padding: 2rem;
    text-align: center;
    border-radius: 1rem 1rem 0 0;
    font-weight: 700;
    font-size: 3rem;
    box-shadow: var(--boxShadow);
    text-shadow: none;
}

.flexible-layout-form-section .form-styling.form-default .form-shortcode,
.flexible-layout-form-section .form-styling.form-overlay .form-shortcode {
    background-color: white;
    color: #333;
    padding: 2rem;
    border-radius: 0 0 1rem 1rem;
    box-shadow: var(--boxShadow);
    text-shadow: none;
}

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

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

.flexible-layout-form-section .form-shortcode .gform_wrapper.gravity-theme .gfield_label {
    font-size: 1.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 .form-shortcode input[type=submit]:not(:hover) {
    background-color: var(--mainColor);
}

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

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

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

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

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

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

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

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

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

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

.flexible-layout-form-section .form-styling.form-full-height .form-title {
    color: white;
    margin: 0;
    padding: 2rem;
    text-align: center;
    font-weight: 700;
    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);
}

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

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

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

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

.flexible-layout-tabs-section .vertical-tabs ul.tabs-nav>li a {
    display: inline-flex;
    width: -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: 700;
}

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

/* Image Text Slider Section
--------------------------------------------------------------------------------------------------------------------------------------------- */

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

.flexible-layout-image-text-slider-section .image-text-tabs ul.tabs-nav {
    list-style-type: none;
    margin-bottom: 4rem;
    margin-top: 2rem;
}

.flexible-layout-image-text-slider-section .image-text-tabs ul.tabs-nav>li a {
    font-size: 2rem;
    color: var(--mainColor);
    padding: 1rem;
    text-align: left;
    transition: .5s ease all;
    position: relative;
    display: block;
}

.flexible-layout-image-text-slider-section .image-text-tabs ul.tabs-nav {
    list-style-type: none;
    margin-bottom: 4rem;
    margin-top: 2rem;
    border-radius: 2rem;
}

.flexible-layout-image-text-slider-section .image-text-tabs ul.tabs-nav>li a:focus {
    outline: none;
}

.flexible-layout-image-text-slider-section .image-text-tabs ul.tabs-nav>li a::after,
.flexible-layout-image-text-slider-section .image-text-tabs ul.tabs-nav>li a::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: unset;
    left: 0;
    width: .4rem;
    height: 100%;
    background-color: #ccc;
}

.flexible-layout-image-text-slider-section .image-text-tabs ul.tabs-nav>li.ui-state-active a::after {
    background-color: var(--secondColor);
}

.flexible-layout-image-text-slider-section .image-text-tabs ul.tabs-nav>li.tabs-nav-item:hover a,
.flexible-layout-image-text-slider-section .image-text-tabs ul.tabs-nav>li.tabs-nav-item.ui-state-active a {
    color: var(--secondColor);
    border-color: var(--secondColor);
}

.flexible-layout-image-text-slider-section .image-text-tabs ul.tabs-nav>li .tab-icon {
    text-align: left;
}

.flexible-layout-image-text-slider-section .image-text-tabs ul.tabs-nav>li .tab-title {
    font-weight: 700;
}

.flexible-layout-image-text-slider-section .flexcol .content-wrap .section-title,
.flexible-layout-image-text-slider-section .flexcol .content-wrap .section-content {
    text-align: left;
}

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

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

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

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

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

@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,
    .flexible-layout-form-section .background-content {
        padding: 8rem 0;
    }

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

    .flexible-layout-image-text-slider-section .flexbox,
    .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-slider-section .flexbox,
    .flexible-layout-image-text-section .image-text-default .flexbox {
        gap: 8rem;
    }

    .flexible-layout-image-text-slider-section .slick-initialized .slick-slide.flexbox {
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        margin: 0 2rem;
    }

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

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

    .flexible-layout-image-text-slider-section .image-text-tabs ul.tabs-nav>li .tab-icon {
        width: fit-content;
        margin: 0 auto 1rem;
        padding: .5rem 1rem;
        border-radius: 1rem;
        background-color: var(--mainColor);
        color: white;
        transition: .5s ease all;
    }

    .flexible-layout-image-text-slider-section .image-text-tabs ul.tabs-nav {
        display: flex;
        flex-wrap: wrap;
        gap: 2rem;
        border-radius: 2rem 2rem 0 0;
    }

    .flexible-layout-image-text-slider-section .image-text-tabs ul.tabs-nav>li a {
        text-align: center;
        padding: 2rem 1rem;
    }

    .flexible-layout-image-text-slider-section .image-text-tabs ul.tabs-nav>li a::after,
    .flexible-layout-image-text-slider-section .image-text-tabs ul.tabs-nav>li a::before {
        width: 100%;
        height: .4rem;
        bottom: 0;
        top: unset
    }

    .flexible-layout-image-text-slider-section .image-text-tabs ul.tabs-nav>li.ui-state-active a::after {
        width: 0;
        animation: timer-horizontal 14.4s linear;
        z-index: 999;
    }

    .flexible-layout-image-text-slider-section .image-text-tabs .tabs-content:nth-of-type(even) .flexcol:first-of-type {
        order: 4;
    }

    @keyframes timer-horizontal {
        0% {
            width: 0;
        }

        100% {
            width: 100%;
        }
    }

    .flexible-layout-image-text-slider-section .image-text-tabs ul.tabs-nav>li.tabs-nav-item:hover .tab-icon,
    .flexible-layout-image-text-slider-section .image-text-tabs ul.tabs-nav>li.tabs-nav-item.ui-state-active .tab-icon {
        background-color: var(--secondColor);
    }

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

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

    .flexible-layout.section-1 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 .section-title,
    .flexible-layout-form-section .form-styling.form-full-height .form-title {
        font-size: 4rem;
    }

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

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

    .flexible-layout-testimonial-section .testimonial-section .flexcol {
        flex-basis: calc(50% - 1.5rem);
        max-width: calc(50% - 1.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-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-image-text-slider-section .image-text-tabs ul.tabs-nav>li,
    .flexible-layout-tabs-section .horizontal-tabs ul.tabs-nav>li {
        flex: 1;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    .flexible-layout-blog-section .flexcol,
    .flexible-layout-services-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% - 2rem);
        max-width: calc(33.3% - 2rem);
    }

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

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

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

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

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

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

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

    .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: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:nth-of-type(even)::before,
    .flexible-layout:nth-of-type(odd)::before {
        bottom: -5rem;
        width: 5rem;
        height: 10rem;
    }


    .flexible-layout:nth-of-type(odd)::before {
        left: -0rem;
    }

    .flexible-layout:nth-of-type(even)::before {
        right: -0rem;
    }

    .flexible-layout-image-text-slider-section .image-text-tabs ul.tabs-nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    .flexible-layout-image-text-slider-section .image-text-tabs ul.tabs-nav>li.tabs-nav-item {
        flex-basis: 50%;
        max-width: 50%;
    }

    .flexible-layout-image-text-slider-section .image-text-tabs ul.tabs-nav>li .tab-icon,
    .flexible-layout-image-text-slider-section .image-text-tabs ul.tabs-nav>li a {
        text-align: center;
    }

    .flexible-layout-image-text-slider-section .image-text-tabs ul.tabs-nav>li a::after,
    .flexible-layout-image-text-slider-section .image-text-tabs ul.tabs-nav>li a::before {
        content: '';
        position: absolute;
        top: unset;
        bottom: 0;
        left: 0;
        width: 100%;
        height: .4rem;
        background-color: #ccc;
    }

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

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

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

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

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

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

    .flexible-layout-image-text-slider-section .image-text-tabs .tabs-content .flexcol:first-of-type {
        margin-bottom: 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:only-child {
        margin: 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: calc(50% - 1rem);
        max-width: calc(50% - 1rem);
    }

    .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-form-section .background-content .flexcol .section-content .jsmt-shortcode,
    .flexible-layout-form-section .background-content .flexcol .section-content .jsmt-shortcode i::before {
        font-size: 1.4rem;
    }
}