/*------------------------------------*\

    WebFX WYSIWYG Customizations - Global styling for all ACF WYSIWYG's

    Add custom WYSIWYG styling to this file if it should be applied to all ACF WYSIWYG's on the site
    Otherwise, put your block-specific styles in individual block stylesheets

\*------------------------------------*/

.faq-section .wysiwyg {
    color: #3b3b3b;
    position: relative;
    overflow: hidden;
}

.faq-section .wysiwyg.has-curve-bottom {
    -webkit-clip-path: ellipse(86% 62% at 50% 37%);
    clip-path: ellipse(86% 62% at 50% 37%);
    -webkit-clip-path: ellipse(100% 55% at 48% 44%);
    clip-path: ellipse(100% 55% at 48% 44%);
    margin-bottom: -60px;
    padding-bottom: 70px;
    overflow: hidden;
}

.faq-section .wysiwyg.has-curve-bottom:has(.bg-texture-img) + .cta-curve .cta-top-curve {
    display: none;
}

.faq-section .wysiwyg-curve {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
}

.faq-section .section-padding--curve {
    padding: 120px 0 88px;
}

.faq-section .wysiwyg__content img.aligncenter {
    width: auto;
    height: auto;
}

.faq-section .wysiwyg-margins {
    margin: 60px 0 50px;
}

.faq-section .home-video-text + .wysiwyg-margins {
    margin-top: 30px;
}

.faq-section .wysiwyg--with-sidebar {
    padding: 55px 0 60px 0;
}

.faq-section .wysiwyg__sidebar {
    max-width: 330px;
    margin: 24px auto 0;
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 5px 8px 22px rgba(0, 60, 113, 0.5);
}

.faq-section .wysiwyg__info {
    padding: 28px 30px;
}

.faq-section .wysiwyg__info h3 {
    font-weight: 600;
    font-size: 22px;
    line-height: 1.36em;
    color: #3b3b3b;
    margin-bottom: 9px;
}

.faq-section .wysiwyg__sidebar__image {
    width: 100%;
    height: 287px;
    -o-object-fit: cover;
    object-fit: cover;
}

.faq-section .wysiwyg.bg-blue + .wysiwyg.bg-blue {
    margin-top: 0;
    padding-top: 0;
}

.faq-section .wysiwyg.bg-blue + .wysiwyg.bg-blue.section-padding--curve svg {
    display: none;
}

.faq-section .wysiwyg.bg-blue + .wysiwyg.bg-blue.section-padding--curve {
    padding-top: 0;
}

.faq-section .wysiwyg.bg-blue:has(+ .wysiwyg.bg-blue) {
    margin-bottom: 0;
}

.faq-section section.wysiwyg.bg-blue:not(.section-padding--curve) {
    padding-top: 50px;
    padding-bottom: 50px;
}

.faq-section .wysiwyg.has-curve-bottom.bg-blue:not(.section-padding--curve) {
    padding-bottom: 100px;
}

.faq-section .resource-list-content h5 {
    color: #3b3b3b;
    font-weight: 600;
}

.faq-section .resource-list-content p:has(+ a) {
    margin: 0 0 10px;
}

.faq-section .resource-list-content {
    margin-top: 30px;
}

.faq-section div.sub-heading + .resource-list-content {
    margin-top: 20px;
}

.faq-section .resource-list-content h5:has(+ a) {
    margin-bottom: 10px;
}

.faq-section .wysiwyg--with-sidebar .wysiwyg__content p + .fx-accordion {
    padding-top: 10px;
}

.faq-section .wysiwyg--with-sidebar + .image-buttons.image-buttons--inner,
.faq-section .wysiwyg--with-sidebar + .image-buttons.image-buttons--homepage {
    margin-top: 50px;
}

.faq-section section.full-width-image-text + section.wysiwyg.wysiwyg--with-sidebar {
    padding-top: 100px;
}

.faq-section .wysiwyg__content img {
    box-shadow: 5px 8px 22px rgba(0, 60, 113, 0.5);
}

.faq-section .wysiwyg__content img.remove-dropdown-on-image {
    box-shadow: none;
}

.faq-section .wysiwyg__content img.no-border-img {
    box-shadow: none;
    border-radius: 0;
}

.faq-section .wysiwyg__content ul.inline-list,
.faq-section .wysiwyg__content ol.inline-list {
    display: inline-block;
}

.faq-section .wysiwyg.bg-white + .logo-carousel,
.faq-section .wysiwyg.bg-white + .logo-carousel .logo-carousel {
    margin-top: 0px;
}

@media (min-width: 1200px) {
    .faq-section section:has(.home-video-text__curve) + .wysiwyg {
        padding-top: calc(var(--section-margins) - 70px);
    }
}

/* table */

.faq-section .table-wrap {
    margin-right: -22px;
    margin-top: 40px;
    position: relative;
}

.faq-section .table-wrap::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 72px;
    height: calc(100% - 25px);
    background: linear-gradient(to right, rgba(240, 242, 242, 0) 0%, rgba(240, 242, 242, 1) 100%);
    z-index: 1;
}

.faq-section .table-scroll {
    padding-bottom: 24px;
    position: relative;
    height: auto;
    width: 100%;
    overflow: auto;
}

.faq-section .table-structure {
    width: 1098px;
    border-radius: 60px;
    overflow: hidden;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5);
}

.faq-section .table-structure table {
    border-collapse: collapse;
    font-family: "Montserrat", sans-serif;
    background: transparent;
    width: 100%;
    background: #ffffff;
}

.faq-section .table-structure table thead {
    color: #ffffff;
    background-image: url("/wp-content/themes/chemtreat/assets/img/table-header-bg.jpg");
    background-position: center bottom -43px;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.faq-section .table-structure table thead tr {
    position: relative;
}

.faq-section .table-structure table thead::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #1c5282;
    opacity: 0.79;
}

.faq-section .table-structure table thead tr th {
    padding: 25px 24px;
    text-align: center;
    font-size: 20px;
    line-height: 1.4em;
    font-weight: 500;
    color: #ffffff;
    vertical-align: middle;
}

.faq-section .table-structure table thead tr th * {
    font-weight: 500;
    margin: 0;
}

.faq-section .table-structure table tbody tr:nth-child(even) {
    background-color: #e8edf1;
}

.faq-section .table-structure table tbody {
    border: 1px solid #2e618d54;
}

.faq-section .table-structure table tbody tr:not(:first-child) {
    border-top: 1px solid #19457a;
}

.faq-section .table-structure table tbody tr td:last-child {
    border-right: none;
}

.faq-section .table-structure table tbody tr td,
.faq-section .table-structure table tbody tr th {
    padding: 20px 24px;
    text-align: left;
    font-size: 18px;
    font-weight: 500;
    color: #19457a;
    line-height: 1.33em;
    vertical-align: top;
    border-right: 1px solid #19457a;
    width: 33.33%;
    vertical-align: middle;
    text-align: center;
}

.faq-section .table-structure table tr td img {
    border-radius: 0;
    width: auto;
    object-fit: contain;
}

.faq-section .table-structure table thead tr th h1,
.faq-section .table-structure table thead tr th .h1,
.faq-section .table-structure table thead tr th h2,
.faq-section .table-structure table thead tr th .h2,
.faq-section .table-structure table thead tr th h3,
.faq-section .table-structure table thead tr th .h3,
.faq-section .table-structure table thead tr th h4,
.faq-section .table-structure table thead tr th .h4,
.faq-section .table-structure table thead tr th h5,
.faq-section .table-structure table thead tr th .h5,
.faq-section .table-structure table thead tr th h6,
.faq-section .table-structure table thead tr th .h6,
.faq-section .table-structure table thead tr th p {
    color: #ffffff;
}

.faq-section .table-wrap.no-gradient::before {
    display: none;
}

.faq-section figure.wp-caption.alignnone {
    width: -webkit-fit-content !important;
    width: -moz-fit-content !important;
    width: fit-content !important;
    display: table;
}

.faq-section section.wysiwyg.bg-blue + section.image-cta.cta-curve .cta-top-curve path {
    fill: #e8f4ff;
}

.faq-section table tr td .wp-video {
    margin: 0 auto;
}

.faq-section .wysiwyg:has(.bg-texture-img) .wysiwyg__content {
    position: relative;
    z-index: 3;
}

.faq-section .bg-texture-img {
    position: absolute;
    left: 0;
    bottom: 0;
    top: 0;
    width: 100%;
    z-index: 2;
    opacity: 0.03;
}

.faq-section .wysiwyg:has(.bg-texture-img) .wysiwyg-curve.hidden-md-down {
    z-index: 1;
}

.faq-section .wysiwyg:has(.bg-texture-img) .wysiwyg-curve.hidden-md-down.wysiwyg-curve--top {
    z-index: 3;
}

.faq-section .wysiwyg.bg-white {
    z-index: 3;
}

.faq-section .wysiwyg.bg-blue.section-padding--curve {
    z-index: 2;
}

.faq-section .bg-white + .wysiwyg.bg-white.has-curve-bottom {
    padding-top: var(--section-margins);
}

.faq-section .wysiwyg.bg-white:has(+ .half-text-half-image) {
    padding-bottom: 40px;
}

.faq-section .has-curve-bottom:has(+ .has-curve-bottom) {
    z-index: 99;
}

.faq-section .has-curve-bottom + .section-padding--curve {
    padding-top: 90px;
}

@media (min-width: 1200px) {
    .faq-section .has-curve-bottom + .section-padding--curve {
        padding-top: 130px;
    }
}

@media (max-width: 1300px) {
    .faq-section #calitect-benefits .wysiwyg__sidebar__image {
        height: auto;
    }
}

@media (max-width: 1200px) {
    .faq-section #how-flexcorr-works .table-wrap {
        margin-right: 0;
    }

    .faq-section #how-flexcorr-works .table-wrap:before {
        background: unset;
    }

    .faq-section #how-flexcorr-works .table-scroll .table-structure {
        width: 100%;
    }

    .faq-section #how-flexcorr-works .wysiwyg__sidebar__image {
        height: auto;
    }

    .faq-section #how-flexcorr-works .table-wrap .table-scroll .table-structure table {
        width: 100% !important;
        height: auto;
    }
}

@media (max-width: 900px) {
    .faq-section #calitect-benefits .table-wrap {
        margin-right: 0;
    }

    .faq-section #calitect-benefits .table-wrap:before {
        background: unset;
    }

    .faq-section #calitect-benefits .table-wrap .table-scroll .table-structure {
        width: 100%;
    }

    .faq-section #calitect-benefits .wysiwyg__sidebar__image {
        height: auto;
    }

    .faq-section #calitect-benefits .table-wrap .table-scroll .table-structure table {
        width: 100% !important;
        height: auto;
    }
}

@media (max-width: 767px) {
    .faq-section .cs-desc + .table-wrap {
        margin-right: 0;
    }

    .faq-section .cs-desc + .table-wrap:before {
        background: unset;
    }

    .faq-section .cs-desc + .table-wrap .table-scroll .table-structure {
        width: 100%;
    }

    .faq-section #how-flexcorr-works .table-structure table tbody tr {
        display: flex;
        flex-direction: column;
    }

    .faq-section #how-flexcorr-works .table-structure table tbody tr td {
        width: 100% !important;
        text-align: center;
    }

    .faq-section #how-flexcorr-works .wp-video {
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .faq-section #calitect-benefits .table-structure table tbody,
    .faq-section #calitect-benefits .table-structure table tbody tr,
    .faq-section #calitect-benefits .table-structure table tbody tr td {
        border: none;
    }

    .faq-section #calitect-benefits .table-structure table tbody tr {
        display: flex;
        flex-direction: column;
    }

    .faq-section #calitect-benefits .table-structure table tbody tr td {
        width: 100%;
    }

    .faq-section #how-flexcorr-works .table-structure table tbody,
    .faq-section #how-flexcorr-works .table-structure table tbody tr,
    .faq-section #how-flexcorr-works .table-structure table tbody tr td {
        border: none;
    }

    .faq-section #how-flexcorr-works .wp-video,
    .faq-section #how-flaxcorr-works .wp-video .mejs-container {
        width: 100% !important;
    }

    .faq-section #how-flaxcorr-works .wp-video .mejs-container {
        height: auto !important;
    }

    .faq-section #how-flexcorr-works .table-structure table tbody tr td {
        padding: 20px 0 !important;
    }
}

@media (min-width: 768px) {
    .faq-section .section-padding--curve {
        padding: 150px 0 100px;
    }

    .faq-section .wysiwyg--with-sidebar {
        padding: 75px 0 60px 0;
    }

    .faq-section .wysiwyg__sidebar {
        max-width: 380px;
        margin: 45px auto 0;
    }

    .faq-section .wysiwyg__info {
        padding: 28px 30px 33px;
    }

    .faq-section .wysiwyg__info h3 {
        font-weight: 600;
        font-size: 22px;
        line-height: 1.36em;
        color: #3b3b3b;
        margin-bottom: 15px;
    }

    .faq-section .wysiwyg__sidebar__image {
        width: 100%;
        height: 287px;
        -o-object-fit: cover;
        object-fit: cover;
    }

    .faq-section .table-wrap {
        margin-right: -52px;
    }

    .faq-section .table-scroll::-webkit-scrollbar-track {
        margin-right: 52px;
    }

    .faq-section .table-wrap::before {
        width: 104px;
        height: calc(100% - 25px);
    }

    .faq-section .wysiwyg__content img + img:has(+ img) {
        margin-left: 20px;
        margin-right: 20px;
    }
}

@media (min-width: 1200px) {
    .faq-section .section-padding--curve {
        padding: 160px 0 80px;
    }

    .faq-section .wysiwyg--with-sidebar {
        padding: 50px 0 44px 0;
    }

    .faq-section .wysiwyg__sidebar {
        margin: 40px 0 0 auto;
    }

    .faq-section .table-wrap {
        margin-right: 0px;
    }

    .faq-section .table-scroll {
        padding-bottom: 0;
        overflow: visible;
    }

    .faq-section .table-structure {
        width: 100%;
        overflow: hidden;
    }

    .faq-section .table-wrap::before {
        display: none;
    }

    .faq-section .image-buttons + .wysiwyg-margins {
        margin-top: 110px;
    }

    .faq-section .bg-texture-img {
        bottom: -38px;
    }

    .faq-section .wysiwyg.has-curve-bottom {
        -webkit-clip-path: ellipse(86% 62% at 50% 37%);
        clip-path: ellipse(86% 62% at 50% 37%);
        margin-bottom: -70px;
        padding-bottom: 100px;
    }

    .faq-section .wysiwyg + .half-text-half-image .half-image__wrap {
        margin-top: 0;
    }
}

@media (min-width: 1600px) {
    .faq-section .bg-texture-img {
        bottom: -77px;
    }

    .faq-section .wysiwyg:has(.bg-texture-img) + .cta-curve {
        z-index: 1;
    }

    .faq-section .wysiwyg.has-curve-bottom.bg-blue:not(.section-padding--curve) + .cta-curve {
        z-index: -1;
    }

    .faq-section .wysiwyg.has-curve-bottom:has(.bg-texture-img) + .cta-curve .image-cta-overlay {
        padding-top: 160px;
    }
}

/* Page specific styles */

.faq-section .page-id-375 .wysiwyg__content img {
    box-shadow: none;
}
