/*
 Theme Name:    AB Tasty 2019
 Theme URI:     https://www.abtasty.com
 Description:   AB Tasty child theme derived from Hello Elementor
 Author:        Anthony Brebion
 Version:       1.0
 Template:      hello-elementor
 Text Domain:   abtasty
*/


/* Sticky Header */

#header.elementor-sticky--effects {
    background-color: #ffffff;
    box-shadow: 0px 2px 20px -10px rgba(0, 0, 0, 0.25);
    z-index: 99;
}


/* Navigation Menu */

.pll-parent-menu-item .jet-sub-menu,
.btn-login .jet-sub-menu,
.btn-login .jet-sub-mega-menu {
    margin-top: 14px !important;
}

@media screen and (min-width: 768px) {
    .ml-auto {
        margin-left: auto;
    }
    .mr-auto {
        margin-right: auto;
    }
    .mt-auto {
        margin-top: auto;
    }
}

.btn-login>a {
    color: var(--e-global-color-5651371f, #ff5252) !important;
}

.btn-demo a {
    background-color: var(--e-global-color-77d716f0, #ffffff) !important;
    color: var(--e-global-color-5651371f, #ff5252) !important;
    padding-left: 1.2rem !important;
    padding-right: 1.2rem !important;
    border: 1px solid var(--e-global-color-5651371f, #ff5252) !important;
    border-radius: 4px !important;
}

.btn-demo a:hover {
    background-color: var(--e-global-color-5651371f, #ff5252) !important;
    color: var(--e-global-color-77d716f0, #ffffff) !important;
    transition: all 0.3s !important;
}

.mobile-btn-demo a {
    color: var(--e-global-color-77d716f0, #ffffff) !important;
    background-color: var(--e-global-color-5651371f, #ff5252) !important;
    padding: 1.2rem !important;
    border: 1px solid var(--e-global-color-5651371f, #ff5252) !important;
    border-radius: 4px !important;
}

@media screen and (max-width: 768px) {
    .btn-demo a {
        padding-top: 0.8rem;
        padding-bottom: 0.8rem;
    }
}

.jet-sub-mega-menu .elementor-posts a:hover {
    color: #48d4d4 !important;
}


/* Footer fix for social icons spacing */

.elementor-location-footer .elementor-social-icons-wrapper.elementor-grid {
    display: flex;
}


/* Headline */

.white-outline {
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: white;
}

.teal-outline {
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke-width: 1px;
    -webkit-text-stroke-color: #217981;
}


/* Fix z-index issue for Elementor shape divider */

.elementor-shape-bottom svg {
    z-index: -1;
}


/* Hero section */

#hero-image-placeholder img {
    display: none;
}

#hero-image {
    /* Set hero image on element created via Javascript, cf. abtasty.js */
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    width: 45%;
    height: 100%;
    right: 0;
    -webkit-clip-path: polygon(10% 0%, 100% 0%, 100% 100%, 0% 100%);
    clip-path: polygon(10% 0%, 100% 0%, 100% 100%, 0% 100%);
}

@media screen and (max-width: 415px) {
    #hero-image {
        width: 0%;
        -webkit-clip-path: unset;
        clip-path: unset;
    }
}


/* Pointer cursor on link w/o href */

#open-live-chat a {
    cursor: pointer;
}


/* Hand-picked resource grid */

.hand-picked-resources .elementor-post__badge {
    position: relative;
    left: 0;
    top: -38px;
    width: max-content;
    border-radius: 0;
    padding: 10px 30px 10px 20px;
    -webkit-clip-path: polygon(0% 0%, 100% 0%, 90% 100%, 0% 100%);
    clip-path: polygon(0% 0%, 100% 0%, 90% 100%, 0% 100%);
}

.hand-picked-resources .elementor-post__title {
    padding-top: 20px;
}

.hand-picked-resources .category-conversion-optimization .elementor-post__badge,
.hand-picked-resources .category-optimisation-conversions .elementor-post__badge,
.hand-picked-resources .category-optimizacion-web .elementor-post__badge,
.hand-picked-resources .category-conversion-optimierung .elementor-post__badge,
.hand-picked-resources .resources-ebooks .elementor-post__badge {
    background-color: #4ca2cd;
}

.hand-picked-resources .category-ab-testing .elementor-post__badge,
.hand-picked-resources .resources-case-studies .elementor-post__badge,
.hand-picked-resources .resources-casos-de-exito .elementor-post__badge {
    background-color: #9381da;
}

.hand-picked-resources .category-product-updates .elementor-post__badge,
.hand-picked-resources .category-innovaciones .elementor-post__badge,
.hand-picked-resources .category-mises-a-jour .elementor-post__badge,
.hand-picked-resources .category-neuheiten .elementor-post__badge,
.hand-picked-resources .resources-events .elementor-post__badge,
.hand-picked-resources .resources-eventos .elementor-post__badge {
    background-color: #48d4d4;
}

.hand-picked-resources .category-landing-page .elementor-post__badge {
    background-color: #4ddbb8;
}

.hand-picked-resources .category-user-experience .elementor-post__badge,
.hand-picked-resources .category-experiencia-de-usuario .elementor-post__badge,
.hand-picked-resources .resources-webinars .elementor-post__badge {
    background-color: #ff5252;
}

.hand-picked-resources .category-personalization .elementor-post__badge,
.hand-picked-resources .category-personnalisation .elementor-post__badge,
.hand-picked-resources .category-personalizacion .elementor-post__badge,
.hand-picked-resources .category-personalisierung .elementor-post__badge {
    background-color: #217981;
}

.hand-picked-resources .category-ecommerce .elementor-post__badge,
.hand-picked-resources .category-e-commerce .elementor-post__badge {
    background-color: #004052;
}


/* Hand-picked resource grid */

.resource-list .elementor-post__badge {
    position: relative;
    left: 0;
    top: -38px;
    width: max-content;
    border-radius: 0;
    padding: 10px 30px 10px 20px;
    -webkit-clip-path: polygon(0% 0%, 100% 0%, 95% 100%, 0% 100%);
    clip-path: polygon(0% 0%, 100% 0%, 95% 100%, 0% 100%);
    font-size: 10px;
}

.resource-list .elementor-post__title {
    padding-top: 20px;
}

.resource-list .topics-feature-flagging-product-optimization .elementor-post__badge,
.resource-list .topics-feature-flagging-optimisation-produit .elementor-post__badge,
.resource-list .topics-feature-flagging-optimizacion-productos .elementor-post__badge,
.resource-list .topics-feature-flagging-produkt-optimierung .elementor-post__badge {
    background-color: #4ca2cd;
}

.resource-list .topics-website-optimization-ideas .elementor-post__badge,
.resource-list .topics-idees-optimisation-site-web .elementor-post__badge,
.resource-list .topics-ideas-optimizacion-web .elementor-post__badge,
.resource-list .topics-ideen-website-optimierung .elementor-post__badge {
    background-color: #9381da;
}

.resource-list .topics-business-customer-experience .elementor-post__badge,
.resource-list .topics-experience-client .elementor-post__badge,
.resource-list .topics-experiencia-usuario .elementor-post__badge,
.resource-list .topics-customer-experience .elementor-post__badge {
    background-color: #48d4d4;
}

.resource-list .topics-personalization-strategy .elementor-post__badge,
.resource-list .topics-strategies-personnalisation .elementor-post__badge,
.resource-list .topics-estrategias-personalizacion .elementor-post__badge,
.resource-list .topics-personalisierung .elementor-post__badge {
    background-color: #4ddbb8;
}

.resource-list .topics-trends-innovation .elementor-post__badge,
.resource-list .topics-tendencias-innovacion .elementor-post__badge,
.resource-list .topics-tendances-innovations .elementor-post__badge {
    background-color: #ff5252;
}

.resource-list .topics-product-updates .elementor-post__badge,
.resource-list .topics-nouveautes-produit .elementor-post__badge,
.resource-list .topics-novedades-producto .elementor-post__badge,
.resource-list .topics-produkt-updates .elementor-post__badge {
    background-color: #217981;
}


/* Blog and Resource library */


/* Faceted search */

#blog-listing-facets .facetwp-facet,
#resource-listing-facets .facetwp-facet {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 0 !important;
}

#blog-listing-facets .facetwp-facet .facetwp-checkbox,
#resource-listing-facets .facetwp-facet .facetwp-checkbox {
    flex: 1 1 100%;
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(0, 64, 82, 0.6);
    padding-left: 35px;
    background: url('images/checkbox-off.svg') 0 50% no-repeat;
}

@media screen and (min-width: 415px) {
    #blog-listing-facets .facetwp-facet .facetwp-checkbox,
    #resource-listing-facets .facetwp-facet .facetwp-checkbox {
        flex: 0 0 auto;
        margin: 5px;
    }
}

#blog-listing-facets .facetwp-facet .facetwp-checkbox.checked,
#resource-listing-facets .facetwp-facet .facetwp-checkbox.checked {
    background: url('images/checkbox-on.svg') 0 50% no-repeat;
    color: #004052;
}

#blog-listing-facets .facetwp-counter,
#resource-listing-facets .facetwp-counter {
    display: none;
}

#blog-listing-facets .facetwp-pager,
#resource-listing-facets .facetwp-pager {
    display: flex;
    justify-content: center;
}

.facetwp-type-pager {
    margin-top: 3rem;
    margin-bottom: 3rem;
    text-align: center;
}

.facetwp-type-pager button {
    border: 1px solid #004052;
}

.facet-reset {
    border: 1px solid #004052;
    width: 100%;
}


/* Resource Filters */

.resource-filters .facetwp-facet {
    margin-bottom: 10px;
}

.resource-filters .facetwp-type-fselect .fs-wrap,
.resource-filters .facetwp-type-fselect .fs-label-wrap,
.resource-filters .facetwp-type-fselect .fs-dropdown,
.resource-filters .facetwp-type-search .facetwp-input-wrap {
    width: 100%;
}

.resource-filters .facetwp-type-fselect .fs-label-wrap .fs-label {
    padding: 9px 8px;
}

.resource-filters .facetwp-type-search .facetwp-search {
    padding: 6px 8px;
    border: 1px solid #dddddd !important;
}

.resource-filters .facetwp-type-fselect .fs-label-wrap,
.resource-filters .facetwp-type-search .facetwp-input-wrap {
    border-radius: 4px;
}

.resource-filters .facetwp-type-fselect .fs-label,
.resource-filters .facetwp-type-fselect .fs-option-label,
.resource-filters .facetwp-type-search .facetwp-search {
    font-family: Montserrat;
    font-size: 0.9rem;
    color: #004052;
}

.resource-filters .facetwp-type-fselect .fs-arrow {
    border-top: 5px solid #004052;
}

.resource-filters .facetwp-type-fselect .fs-option.selected .fs-checkbox i {
    background-color: #48d4d4 !important;
}

.resource-filters .facet-reset-plain {
    background-color: #004052 !important;
    border: 1px solid #004052 !important;
    color: #ffffff !important;
    width: 100%;
}


/* Resource library */


/* Pagination */

nav.elementor-pagination {
    margin-top: 40px;
}

nav.elementor-pagination .page-numbers {
    padding: 5px 8px;
    margin-bottom: 15px;
    background-color: #ffffff;
    border: 1px solid rgba(0, 64, 82, 0.2);
    display: inline-block;
}

nav.elementor-pagination .current {
    background-color: #217981;
    border: 1px solid #217981;
    color: #ffffff;
}


/* Plans page */


/* Fix text indentation for list items */

.elementor-price-table__feature-inner {
    display: flex;
}


/* Force columns to full height of parent container */

.elementor-widget-price-table {
    display: flex;
    height: 100%;
}

.elementor-widget-price-table .elementor-price-table {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.elementor-widget-price-table .elementor-price-table .elementor-price-table__footer {
    margin-top: auto;
}


/* Force columns to full height for CTA */

.force-alignment .elementor-widget-call-to-action {
    display: flex;
    height: 100%;
}

.force-alignment .elementor-widget-call-to-action .elementor-cta,
.force-alignment .elementor-widget-call-to-action .elementor-cta .elementor-cta__content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.force-alignment .elementor-widget-call-to-action .elementor-cta .elementor-cta__button-wrapper {
    margin-top: auto;
}


/* Single resource */

.single-resources .resource-type-badge span.elementor-heading-title {
    display: inline-block;
    padding: 8px 16px 8px 8px;
    -webkit-clip-path: polygon(0% 0%, 100% 0%, 90% 100%, 0% 100%);
    clip-path: polygon(0% 0%, 100% 0%, 90% 100%, 0% 100%);
}

.single-resources .resources-ebooks .resource-type-badge span.elementor-heading-title {
    background-color: #4ca2cd;
}

.single-resources .resources-case-studies .resource-type-badge span.elementor-heading-title,
.single-resources .resources-casos-de-exito .resource-type-badge span.elementor-heading-title {
    background-color: #9381da;
}

.single-resources .resources-webinars .resource-type-badge span.elementor-heading-title {
    background-color: #ff5252;
}

.single-resources .resources-events .resource-type-badge span.elementor-heading-title,
.single-resources .resources-eventos .resource-type-badge span.elementor-heading-title {
    background-color: #48d4d4;
}

.single-resources .resources-videos .resource-type-badge span.elementor-heading-title {
    background-color: #4ddbb8;
}

.single-resources h1 {
    font-family: 'Criteria CF' !important;
    font-size: 2rem !important;
    font-style: oblique !important;
    line-height: 1.2em !important;
}

.single-resources .elementor-text-editor li {
    margin-bottom: 0.5rem;
}

.single-resources .elementor-text-editor li:first-of-type {
    margin-top: 1rem;
}

.single-resources .elementor-text-editor li:last-of-type {
    margin-bottom: 1rem;
}

@media screen and (min-width: 415px) {
    .resource-form {
        position: absolute;
        z-index: 10;
        scroll-behavior: smooth;
    }
}


/* Key figures highlighted on case studies */

.single-resources .resources-case-studies .elementor-widget-theme-post-content h2 {
    font-family: 'Criteria CF';
    font-style: oblique !important;
    font-size: 1.4rem !important;
}

.single-resources .resources-case-studies .elementor-widget-theme-post-content h3 {
    font-family: 'Criteria CF';
    font-style: oblique !important;
    font-size: 1rem !important;
}

.case-study-kpi {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: flex-start;
    list-style-type: none;
    padding: 0px;
}

.case-study-kpi li {
    flex: 1 1 33%;
    text-align: center;
    margin: 0 !important;
    padding: 20px;
    font-family: 'Montserrat', sans-serif;
}

.case-study-kpi li i.fas {
    color: #48d4d4;
    font-size: 1.6rem;
    margin-bottom: 0.6rem;
}

.case-study-kpi li .uplift {
    font-size: 1.2rem;
    font-weight: bold;
    font-family: 'Criteria CF', sans-serif;
    font-style: oblique;
}

.case-study-kpi li .indicator {
    font-size: 0.9rem;
    line-height: 100%;
}


/* Webinar listing */

.webinar-listing .elementor-post__card {
    height: 100%;
}

.webinar-listing .elementor-post__card .elementor-post__text {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.webinar-listing .elementor-post__card .elementor-post__excerpt p:after {
    content: '...';
}

.underlined-subtitle span {
    background-image: linear-gradient(transparent calc(100% - 2px), #009cb2 2px);
    background-size: 100% 100%;
    padding-bottom: 0.3rem !important;
}


/* Webinar partners */

.webinar-partners {
    list-style-type: none;
    padding-left: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.webinar-partners li {
    margin-right: 45px;
}

.webinar-partners li img {
    max-height: 40px;
    max-width: 200px;
}


/* Webinar speakers*/

.webinar-speakers-headline {
    font-size: 1.2rem;
}

.webinar-speakers {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    list-style-type: none;
    padding: 0;
}

.webinar-speakers li {
    flex: 0 0 260px;
    text-align: center;
    margin: 0 !important;
    font-size: 0.9rem;
}

.webinar-speakers li .webinar-speaker-picture {
    display: block;
    margin: 0 auto;
    padding-bottom: 10px;
    width: 30%;
    border-radius: 50%;
}

.webinar-speakers li .webinar-speaker-name {
    font-weight: 700;
}


/* Single blog and resource post */

.single-post .elementor-widget-theme-post-content,
.single-resources .elementor-widget-theme-post-content {
    font-size: 0.9rem;
    line-height: 1.4rem;
}

.single-post .elementor-widget-theme-post-content h2,
.single-resources .elementor-widget-theme-post-content h2 {
    font-size: 1.6rem;
    font-style: inherit;
    margin: 2.4rem 0 1.2rem 0;
}

.single-post .elementor-widget-theme-post-content h3,
.single-resources .elementor-widget-theme-post-content h3 {
    font-size: 1.2rem;
    font-style: inherit;
    margin: 2rem 0 1.2rem 0;
}

.single-post .elementor-widget-theme-post-content li,
.single-resources .elementor-widget-theme-post-content li {
    margin-bottom: 0.5rem;
}

.single-post .elementor-widget-theme-post-content li:first-of-type,
.single-resources .elementor-widget-theme-post-content li:first-of-type {
    margin-top: 1rem;
}

.single-post .elementor-widget-theme-post-content li:last-of-type,
.single-resources .elementor-widget-theme-post-content li:last-of-type {
    margin-bottom: 1rem;
}


/* Link decoration on single post */

.single-post .elementor-widget-theme-post-content a {
    background-image: linear-gradient(transparent calc(100% - 1px), #009cb2 1px);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: right;
    transition: all 300ms;
}

.single-post .elementor-widget-theme-post-content a:hover {
    background-size: 0% 100%;
    color: #009cb2;
}

.single-post .elementor-widget-theme-post-content .code-block a {
    background-image: none;
}

.single-post .elementor-widget-theme-post-content a.inline-ad {
    background-image: none;
}


/* Fixed CTA on blog posts */


/* Fix z-index issue with already sticky header */

.blog-right-column .elementor-sticky--active {
    z-index: 10;
}

@media screen and (min-width: 768px) {
    .blog-right-column .elementor-shortcode {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        align-content: center;
        min-height: calc(100vh - 150px);
    }
}

.fixed-cta {
    display: flex;
    flex-wrap: wrap;
}

.fixed-cta::after,
.fixed-cta::before {
    content: '';
    height: 6px;
    width: 100%;
    background-color: #48d4d4;
    margin: 35px 0;
    transform: rotateZ(-5deg);
    -webkit-transform: rotateZ(-5deg);
}

.fixed-cta h3 {
    font-family: 'Criteria CF', sans-serif;
    font-style: oblique;
    font-weight: 800;
    font-size: 1.6rem;
    color: #48d4d4;
    letter-spacing: 0.5px;
    margin-top: 0;
}

.fixed-cta p {
    font-family: 'Montserrat', sans-serif;
    color: #193239;
    margin-bottom: 0;
}

.fixed-cta i {
    font-size: 1.4rem;
    color: #48d4d4;
}

.fixed-cta a {
    display: block;
}

.fixed-cta .btn {
    padding: 5px 15px;
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    border: none;
    margin-top: 10px;
}

.fixed-cta .turquoise {
    background-color: #48d4d4;
    color: white;
}


/* Split testing tools comparison */

.noshow {
    color: #222222 !important;
    text-decoration: none;
    cursor: none;
}

#feature-comparison tbody>tr:nth-child(odd)>td,
#feature-comparison tbody>tr:nth-child(odd)>th {
    background-color: transparent;
}

#feature-comparison th.cell,
#feature-comparison td.cell {
    padding: 10px;
    border: 1px solid #efefef;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
}

#feature-comparison th h3 {
    text-align: left;
    font-size: 1.2rem;
}

#feature-comparison th img {
    width: 150px;
}

#feature-comparison th {
    text-align: center;
}

#feature-comparison th .vendor {
    display: block;
    margin-top: 10px;
    font-size: 0.9rem;
    color: #cccccc;
}


/* #feature-comparison .group h3 {
  width: 150px;
} */

#feature-comparison .group h3 {
    text-transform: uppercase;
    font-size: 0.9rem;
    margin: 0;
}

#feature-comparison .green,
#feature-comparison tbody>tr:nth-child(odd)>td.green {
    background-color: #add8ad;
    color: green;
    text-align: center;
}

#feature-comparison .red,
#feature-comparison tbody>tr:nth-child(odd)>td.red {
    background-color: #f3bbc1;
    color: red;
    text-align: center;
}

#feature-comparison .grey,
#feature-comparison tbody>tr:nth-child(odd)>td.grey {
    background-color: #cccccc;
    text-align: center;
    vertical-align: middle;
}

#feature-comparison .compare {
    text-align: center;
    vertical-align: middle;
}

#feature-comparison td strong {
    font-weight: 400 !important;
}

#feature-comparison td .feature-comment {
    font-size: 0.8rem;
    display: block;
    line-height: 120%;
    text-align: center;
}


/* Typical setup for iframe resize */

#pardot-iframe {
    width: 1px;
    min-width: 100%;
}


/* Ad Inserter Pro */

.code-block {
    margin-top: 2rem !important;
    margin-bottom: 2rem !important;
}

.code-block img {
    border-radius: 4px;
}

.text-ad {
    margin-left: 2rem;
    margin-right: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    padding: 1rem;
    font-size: 1.2rem;
    line-height: 1.6rem;
    color: rgba(33, 121, 129, 1);
}

.text-ad a {
    color: #009cb2 !important;
    background-image: none !important;
}


/* Custom paragraph formats */

.single-resources .elementor-widget-theme-post-content .custom-heading-2 {
    position: relative;
    display: inline-block;
    font-family: Montserrat, sans-serif;
    line-height: 1.2;
    font-size: 1.1rem;
    font-weight: bold;
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 1rem 0 2rem 0;
}

.single-resources .elementor-widget-theme-post-content .custom-heading-2:before {
    content: '';
    display: block;
    position: absolute;
    width: 100%;
    height: 12px;
    background-color: #48d4d440;
    bottom: -2px;
    left: 8px;
    z-index: -1;
}

.single-resources .elementor-widget-theme-post-content .list-blue-checkmark {
    list-style: none;
}

.single-resources .elementor-widget-theme-post-content .list-blue-checkmark li {
    position: relative;
}

.single-resources .elementor-widget-theme-post-content .list-blue-checkmark li:first-child {
    margin-top: 0;
}

.single-resources .elementor-widget-theme-post-content .list-blue-checkmark li:before {
    font-family: FontAwesome;
    content: '\f00c';
    color: #48d4d4;
    position: absolute;
    left: -1.5rem;
}

.single-resources .elementor-widget-theme-post-content .resource-quote {
    position: relative;
    margin-left: 3rem;
    margin-top: 3rem;
    margin-bottom: 1rem;
    font-style: italic;
}

.single-resources .elementor-widget-theme-post-content .resource-quote>span {
    display: block;
    color: #4ba2cd;
    font-weight: bold;
}

.single-resources .elementor-widget-theme-post-content .resource-quote:before {
    font-family: FontAwesome;
    content: '\f10d';
    font-size: 3rem;
    color: #4ba2cd43;
    position: absolute;
    top: -2rem;
    left: -4rem;
}

.single-resources .elementor-widget-theme-post-content .resource-quote:after {
    font-family: FontAwesome;
    content: '\f10d';
    font-size: 3rem;
    color: #4ba2cd43;
    position: absolute;
    bottom: -2rem;
    right: -2rem;
    transform: rotate(180deg);
}


/* ------------------------------------------------------------------------- */


/* NEW STYLES 2021                                                           */


/* ------------------------------------------------------------------------- */

body:not(.elementor-editor-active) .hidden {
    display: none;
}

body.elementor-editor-active .slider-container .elementor-widget-wrap {
    flex-wrap: wrap;
}


/* Prevent overflow due to shape divider  */

main.page {
    overflow: hidden;
}


/* CSS variables */

.theme-teal {
    --color-white: #ffffff;
    --color-default: #004052;
    --color-primary: #48d4d4;
    --color-secondary: #33c0c0;
    --color-primary-light: #d4fdf3;
    --color-primary-accent: #217981;
}

.theme-green {
    --color-white: #ffffff;
    --color-default: #004052;
    --color-primary: #4ddbb8;
    --color-secondary: #35c09d;
    --color-primary-light: #d4fdf3;
    --color-primary-accent: #217981;
}

.theme-blue {
    --color-white: #ffffff;
    --color-default: #004052;
    --color-primary: #48d4d4;
    --color-secondary: #40bdbd;
    --color-primary-light: #48d4d415;
    --color-primary-accent: #4ca2cd;
}

.theme-red,
.footer-cta {
    --color-white: #ffffff;
    --color-default: #004052;
    --color-primary: #ff5252;
    --color-secondary: #d92e2e;
    --color-primary-light: #f8eff0;
    --color-primary-accent: #ffbaba;
}

.theme-purple {
    --color-white: #ffffff;
    --color-default: #004052;
    --color-primary: #a994ff;
    --color-secondary: #7e67dd;
    --color-primary-light: #a994ff15;
    --color-primary-accent: #6347d2;
}


/* Header triangle shape */

@media (min-width: 1240px) and (max-width: 1800px) {
    .theme-green:before,
    .theme-blue:before,
    .theme-red:before,
    .theme-purple:before,
    .theme-teal:before {
        content: '';
        position: absolute;
        width: 100%;
        height: 100%;
        background-repeat: no-repeat;
        background-position: top right;
    }
    .theme-green:before {
        background-image: url(https://www.abtasty.com/wp-content/uploads/header-triangle-green.svg);
    }
    .theme-blue:before {
        background-image: url(https://www.abtasty.com/wp-content/uploads/header-triangle-blue.svg);
    }
    .theme-red:before {
        background-image: url(https://www.abtasty.com/wp-content/uploads/header-triangle-red.svg);
    }
    .theme-purple:before {
        background-image: url(https://www.abtasty.com/wp-content/uploads/header-triangle-purple.svg);
    }
    .theme-teal:before {
        background-image: url(https://www.abtasty.com/wp-content/uploads/header-triangle-grey.svg);
    }
    .triangle-pattern-start:after {
        content: '';
        position: absolute;
        right: 0;
        top: 10%;
        width: 200px;
        height: 150px;
        transform: rotate(180deg);
        background-repeat: no-repeat;
    }
    .triangle-pattern-end:before {
        content: '';
        position: absolute;
        left: 0;
        bottom: 10%;
        width: 200px;
        height: 150px;
        background-repeat: no-repeat;
    }
    .theme-teal .triangle-pattern-start:after,
    .theme-teal .triangle-pattern-end:before {
        background-image: url(https://www.abtasty.com/wp-content/uploads/triangle-stroke-teal.svg);
    }
    .theme-green .triangle-pattern-start:after,
    .theme-green .triangle-pattern-end:before {
        background-image: url(https://www.abtasty.com/wp-content/uploads/triangle-stroke-green.svg);
    }
    .theme-blue .triangle-pattern-start:after,
    .theme-blue .triangle-pattern-end:before {
        background-image: url(https://www.abtasty.com/wp-content/uploads/triangle-stroke-blue.svg);
    }
    .theme-purple .triangle-pattern-start:after,
    .theme-purple .triangle-pattern-end:before {
        background-image: url(https://www.abtasty.com/wp-content/uploads/triangle-stroke-purple.svg);
    }
    .theme-red .triangle-pattern-start:after,
    .theme-red .triangle-pattern-end:before {
        background-image: url(https://www.abtasty.com/wp-content/uploads/triangle-stroke-red.svg);
    }
}


/* Gradiant text */

.heading-gradient {
    background: -webkit-linear-gradient(left, var(--color-primary-accent), var(--color-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.red-heading-gradient {
    background: -webkit-linear-gradient(left, #ff5252, #ffbaba);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.green-heading-gradient {
    background: -webkit-linear-gradient(left, #217981, #4ddbb8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.blue-heading-gradient {
    background: -webkit-linear-gradient(left, #4ca2cd, #48d4d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.teal-heading-gradient {
    background: -webkit-linear-gradient(left, #217981, #48d4d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}


/* Buttons */

.elementor-button[type='submit'] {
    background-color: var(--color-primary, #ff5252);
    color: var(--color-white, #ffffff);
}

.elementor-button[type='submit']:hover {
    background-color: var(--color-secondary, #d92e2e);
    color: var(--color-white, #ffffff);
}

.btn-no-outline .elementor-button,
.btn-outline .elementor-button {
    color: var(--color-primary);
    background-color: transparent;
}

.btn-no-outline .elementor-button:hover,
.btn-outline .elementor-button:hover {
    color: var(--color-secondary);
    background-color: transparent;
}

.btn-no-outline .elementor-button {
    padding: 0;
}


/* Tabs */

body[class*='theme-'] .btn-tab .elementor-button {
    font-family: 'Criteria CF';
    font-weight: 600;
    letter-spacing: 0.5px;
    border-radius: 20px 20px 20px 20px;
    color: var(--color-default);
}

body[class*='theme-'] .btn-tab .elementor-button:hover {
    color: var(--color-primary);
}

body[class*='theme-'] .btn-tab.btn-active .elementor-button {
    color: var(--color-primary);
    background-color: var(--color-primary-light) !important;
}

body[class*='theme-'] .elementor-tabs .elementor-tabs-wrapper {
    display: flex;
    justify-content: space-around;
}

body[class*='theme-'] .elementor-tabs .elementor-tab-content {
    width: 100% !important;
    height: auto !important;
}

body[class*='theme-'] .elementor-tabs .elementor-tab-content.elementor-active {
    padding: 0;
}

@media (max-width: 450px) {
    body[class*='theme-'] .elementor-tabs .elementor-tabs-wrapper {
        display: none;
    }
}

body[class*='theme-'] .elementor-tabs .elementor-tab-title {
    font-family: 'Criteria CF';
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 10px 25px;
}

body[class*='theme-'] .elementor-tabs .elementor-tab-title a:hover {
    color: var(--color-primary);
}

body[class*='theme-'] .elementor-tabs .elementor-tab-title.elementor-active {
    background-color: var(--color-primary-light);
    color: var(--color-primary);
    border-radius: 20px;
}


/* Accordions */

body[class*='theme-'] .elementor-accordion .elementor-accordion-title {
    font-family: 'Criteria CF' !important;
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px !important;
}

body[class*='theme-'] .elementor-accordion .elementor-tab-title,
body[class*='theme-'] .elementor-accordion .elementor-tab-content {
    padding-left: 0;
    padding-right: 0;
}

body[class*='theme-'] .elementor-accordion .elementor-tab-title a {
    padding: 10px 25px;
    border-radius: 20px;
}

body[class*='theme-'] .elementor-accordion .elementor-tab-title.elementor-active a {
    background-color: var(--color-primary-light);
    color: var(--color-primary);
}

body[class*='theme-'] .elementor-accordion .elementor-tab-title a:hover {
    color: var(--color-primary);
}


/* Client stories slider */

.success-stories .n2-ss-slide-backgrounds:after {
    content: '';
    position: absolute;
    background-color: var(--color-primary, #48d4d4);
    opacity: 0.5;
    top: 0;
    right: 0;
    width: 70%;
    height: 100%;
    clip-path: polygon(110% 0%, 100% 0%, 100% 100%, 0% 100%);
    z-index: 20;
}

.success-stories .n2-ss-slider .n2-ss-slide-background {
    background-color: white;
}

.success-stories .n2-ss-slider .n2-ss-slide-background-color {
    background-color: var(--color-primary, #48d4d4) !important;
    opacity: 0.5;
    z-index: 7 !important;
}

@media (min-width: 1024px) {
    .success-stories .n2-ss-slider .n2-ss-slide-background * {
        right: 0 !important;
        left: unset !important;
    }
    .success-stories .n2-ss-slider .n2-ss-slide-background-image,
    .success-stories .n2-ss-slider .n2-ss-slide-background-color {
        -webkit-clip-path: polygon(10% 0%, 100% 0%, 100% 100%, 0% 100%);
        clip-path: polygon(10% 0%, 100% 0%, 100% 100%, 0% 100%);
        width: 50% !important;
    }
}

@media (max-width: 768px) {
    .success-stories .n2-ss-layer * {
        color: white !important;
    }
}


/* Card box shadow */

.related-resources .elementor-post__text {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 170px;
}

.elementor-card-shadow-yes .elementor-post__card {
    border-radius: 4px !important;
    -webkit-box-shadow: 0 20px 35px -25px rgba(0, 0, 0, 0.15);
    box-shadow: 0 20px 35px -25px rgba(0, 0, 0, 0.15);
}

.elementor-card-shadow-yes .elementor-post__card:hover {
    -webkit-box-shadow: 0 20px 35px -10px rgba(0, 0, 0, 0.15);
    box-shadow: 0 20px 35px -10px rgba(0, 0, 0, 0.15);
}


/* Custom shape divider */


/* .double-shape-divider-top-bottom {
  z-index: 1;
}

.double-shape-divider-top-bottom:after,
.double-shape-divider-top-bottom:before {
  position: absolute;
  content: '';
  z-index: -1;
  top: 0px;
  left: -25%;
  width: 150%;
  height: 20%;
  background: inherit;
  transform: rotate(-2deg);
  transform-origin: 0 0;
}

.double-shape-divider-top-bottom:before {
  height: 10%;
  background: #f5f7fa;
  transform: rotate(-3deg);
}

@media (max-width: 768px) {
  .double-shape-divider-top-bottom:after {
    transform: rotate(-5deg);
  }

  .double-shape-divider-top-bottom:before {
    transform: rotate(-8deg);
  }
} */


/* Custom text inline styles */

.green-link {
    color: #4ddbb8;
    font-weight: 500;
}

.green-link:hover {
    color: #35c09d;
    font-weight: 500;
}


/* Inserts on Tab */

.process-insert {
    background-color: #ffffff;
    padding: 20px;
    box-shadow: 15px 15px 2px 0px var(--color-primary-light), -10px -10px 40px -20px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.process-insert p {
    line-height: 1.6;
    font-size: 0.8rem;
}

.process-insert p {
    color: #00405299;
}

.process-insert strong {
    color: #004052;
}


/* New Resource Hub */

.resource-main-card .elementor-background-overlay {
    z-index: 1;
    pointer-events: none;
}

.resource-main-card .elementor-widget-wrap {
    -webkit-clip-path: polygon(10% 0%, 100% 0%, 100% 100%, 0% 100%);
    clip-path: polygon(10% 0%, 100% 0%, 100% 100%, 0% 100%);
}

@media screen and (max-width: 768px) {
    .resource-main-card .elementor-background-overlay {
        display: none;
    }
    .resource-main-card .elementor-widget-wrap {
        -webkit-clip-path: unset;
        clip-path: unset;
    }
}

.force-vertical-alignment .elementor-widget-wrap {
    flex-direction: column;
}

.success-stories-cards .elementor-icon-list-icon {
    color: #004052;
    background-color: #f5f7fa;
    padding: 12px;
    border-radius: 50%;
    font-size: 20px;
}

.wistia_click_to_play {
    height: 100%;
}

.video-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: 4px;
    box-shadow: 0px 10px 20px -10px rgb(0 0 0 / 15%);
    overflow: hidden;
}

.video-image {
    display: flex;
    justify-content: center;
    align-items: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
}

.video-image a,
.video-image span {
    z-index: 1;
}

.video-image:before {
    content: '';
    width: 100%;
    height: 100%;
    background-color: rgba(33, 121, 129, 0.5);
    position: absolute;
    top: 0;
    left: 0;
}

.video-play-button:hover {
    box-shadow: 0px 10px 20px -10px rgb(0 0 0 / 15%);
}

.video-content {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.video-duration {
    font-size: 0.8rem;
    color: rgba(0, 64, 82, 0.6);
}

.video-title {
    margin-bottom: 2rem;
}

.video-cta,
.video-content>a {
    margin-top: auto;
}

.menu-item-no-wrap {
    white-space: nowrap;
}