/**********************/
/* CERTIFICAZIONI CPT */
/**********************/
.header-certificazione {
    position: relative;
    overflow: hidden;
    padding-top: 3rem;
    padding-bottom: 2rem;
}
.header-certificazione:after {
    content: '';
    position: absolute;
    width: 100vw;
    height: 50vw;
    left: 0;
    right: 0;
    bottom: 0%;
    margin-bottom: -2px;
    z-index: -2;
    pointer-events: none;
    background-repeat: no-repeat;
    background-size: 90%;
    background-position: right bottom;
    background-image: url("data:image/svg+xml,%3Csvg id='curva-top' data-name='curva-top' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 2545 417.91'%3E%3Cdefs%3E%3Cstyle%3E .cls-1 %7B fill: %23012243; stroke-width: 0px; %7D %3C/style%3E%3C/defs%3E%3Cpath class='cls-1' d='M0,417.51c338.29-5.72,711.9-31.44,1113.86-89.4C1652.48,250.45,2132.36,130.73,2545,0v417.91L0,417.51Z'/%3E%3C/svg%3E");
}
.target-section {
    background: var(--second-color);
    padding-bottom: 2rem;
    color: #FFF;
}
.target-section:after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: -1;
    height: 10rem;
    background: var(--second-color);
    clip-path: ellipse(60% 80% at 50% 20%);
}
.target-section .content-box .title {
    margin-top: 0;
    font-weight: 800;
    font-size: 3em;
    margin-bottom: 1rem;
    line-height: 1;
}
.target-section .content-box.azienda .title {
    color: #00c9a7;
}
.target-section .content-box.azienda .btn-collapse {
    background: #00c9a7;
    box-shadow: 0px 1px 0px #00c9a7;
}
.target-section .content-box.azienda .card:after {
    background: #00c9a7;
}
.target-section .content-box.professionista .title {
    color: #377dff;
}

.target-section .content-box.professionista .btn-collapse {
    background: #377dff;
    box-shadow: 0px 1px 0px #377dff;
}
.target-section .content-box.professionista .card:after {
    background: #377dff;
}
.target-section .content-box {
    padding: 1.5rem;
}
.target-section .image-wrap {
    position: relative;
    padding-top: 2rem;
}
.target-section .image-wrap.pois:before {
    content: '';
    position: absolute;
    top: -20px;
    width: 150px;
    height: 200px;
    background-position: top left;
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 2;
}
.target-section .image-wrap.pois.left {
    padding-left: 2rem;
}
.target-section .image-wrap.pois.left:before {
    left: -20px;
    transform: rotateY(180deg);
    background-image: url("data:image/svg+xml,%3Csvg id='pois' fill='%2300c9a7' data-name='Livello 1' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 209.79 255.51'%3E%3Ccircle class='cls-1' cx='145.15' cy='119.59' r='20.84'/%3E%3Ccircle class='cls-1' cx='142.9' cy='175.04' r='19.95'/%3E%3Ccircle class='cls-1' cx='122.18' cy='214.33' r='18.18'/%3E%3Ccircle class='cls-1' cx='149.92' cy='244.42' r='11.08'/%3E%3Ccircle class='cls-1' cx='191.59' cy='198.92' r='9.64'/%3E%3Ccircle class='cls-1' cx='195.82' cy='150.1' r='13.97'/%3E%3Ccircle class='cls-1' cx='190.94' cy='87.28' r='12.41'/%3E%3Ccircle class='cls-1' cx='181.44' cy='59.37' r='12.64'/%3E%3Ccircle class='cls-1' cx='159.99' cy='39.3' r='9.42'/%3E%3Ccircle class='cls-1' cx='141.72' cy='73.98' r='11.75'/%3E%3Ccircle class='cls-1' cx='114.36' cy='28' r='11.75'/%3E%3Ccircle class='cls-1' cx='108.13' cy='62.17' r='8.65'/%3E%3Ccircle class='cls-1' cx='80.5' cy='129.18' r='17.68'/%3E%3Ccircle class='cls-1' cx='67.08' cy='39.43' r='16.41'/%3E%3Ccircle class='cls-1' cx='19.96' cy='68.22' r='19.95'/%3E%3Ccircle class='cls-1' cx='61.4' cy='79.09' r='12.75'/%3E%3Ccircle class='cls-1' cx='50.25' cy='10.75' r='10.75'/%3E%3C/svg%3E");
}
.target-section .image-wrap.pois.right {
    padding-right: 2rem;
}
.target-section .image-wrap.pois.right:before {
    right: -20px;
    left: initial;
    background-image: url("data:image/svg+xml,%3Csvg id='pois' fill='%23377dff' data-name='Livello 1' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 209.79 255.51'%3E%3Ccircle class='cls-1' cx='145.15' cy='119.59' r='20.84'/%3E%3Ccircle class='cls-1' cx='142.9' cy='175.04' r='19.95'/%3E%3Ccircle class='cls-1' cx='122.18' cy='214.33' r='18.18'/%3E%3Ccircle class='cls-1' cx='149.92' cy='244.42' r='11.08'/%3E%3Ccircle class='cls-1' cx='191.59' cy='198.92' r='9.64'/%3E%3Ccircle class='cls-1' cx='195.82' cy='150.1' r='13.97'/%3E%3Ccircle class='cls-1' cx='190.94' cy='87.28' r='12.41'/%3E%3Ccircle class='cls-1' cx='181.44' cy='59.37' r='12.64'/%3E%3Ccircle class='cls-1' cx='159.99' cy='39.3' r='9.42'/%3E%3Ccircle class='cls-1' cx='141.72' cy='73.98' r='11.75'/%3E%3Ccircle class='cls-1' cx='114.36' cy='28' r='11.75'/%3E%3Ccircle class='cls-1' cx='108.13' cy='62.17' r='8.65'/%3E%3Ccircle class='cls-1' cx='80.5' cy='129.18' r='17.68'/%3E%3Ccircle class='cls-1' cx='67.08' cy='39.43' r='16.41'/%3E%3Ccircle class='cls-1' cx='19.96' cy='68.22' r='19.95'/%3E%3Ccircle class='cls-1' cx='61.4' cy='79.09' r='12.75'/%3E%3Ccircle class='cls-1' cx='50.25' cy='10.75' r='10.75'/%3E%3C/svg%3E");
}
.target-section img {
    object-fit: cover;
    aspect-ratio: 5 / 4;
    border-radius: 10px;
    z-index: 2;
    position: relative;
}
.btn-collapse {
    display: block;
    position: relative;
    border: none;
    width: 100%;
    text-align: left;
    padding: 10px;
    color: #FFF;
    font-weight: 600;
    font-size: 18px;
    display: flex;
    align-items: center;
    border-radius: 4px;
    margin-top: .5rem;
    transition: all 200ms ease-out;
}

.btn-collapse:before {
    content: '-';
    margin-right: 10px;
    font-size: 1.3em;
    font-weight: 400;
    line-height: 1;
}
.btn-collapse.collapsed:before {
    content: '+';
}

.collapse-wrap .card {
    position: relative;
    overflow: hidden;
    padding: 20px 10px 10px;
    font-size: 13px;
}
.collapse-wrap .card:after {
    content: '';
    width: 30px;
    height: 30px;
    transform: rotate(45deg);
    position: absolute;
    left: 20px;
    top: 0;
    margin-top: -24px;
    transition: all 200ms ease-out;
}

.certificazioni-template-default .learndash-shortcode-wrap {
    --verde-color: #0aa6dd;
}
.disclaim-certificazione {
    font-size: 16px;
    color: #333;
    font-style: italic;
}
.disclaim-certificazione i {
    color: var(--main-color);
    font-size: 1.2em;
    margin-right: 5px;
}
.header-certificazione .disclaim-certificazione {
    color: #FFF;
}

.header-overview {
    position: relative;
    background: var(--main-color);
    color: #FFF;
    text-align: center;
    font-size: 20px;
    padding: 1.5rem 14%;
    font-weight: 200;
    border-radius: 10px 10px 0 0;
}
.header-overview .title {
    font-weight: bold;
    margin-top: 0;
    margin-bottom: .6rem;
    font-size: 1.4em;
    color: #FFF;
}
.header-overview:before {
    content: '';
    width: 30px;
    height: 30px;
    background: var(--main-color);
    transform: rotate(45deg);
    position: absolute;
    top: 100%;
    left: 60px;
    margin-top: -20px;
    z-index: -1;
}
body.certificazioni-template-default [class*="learndash-shortcode-wrap-course_content-"] {
    padding: 0 10px;
}
.certificazioni-template-default .section-title {
    font-style: italic;
}

.page-template-archive-sfwd-courses .certification-section .content-box,
.certificazioni-template-default .certification-section .content-box {
    padding: 2rem;

}
.page-template-archive-sfwd-courses .certification-section h1:not(.section-title),
.page-template-archive-sfwd-courses .certification-section h2:not(.section-title),
.page-template-archive-sfwd-courses .certification-section h3:not(.section-title),
.certificazioni-template-default .certification-section h1:not(.section-title),
.certificazioni-template-default .certification-section h2:not(.section-title),
.certificazioni-template-default .certification-section h3:not(.section-title) {
    font-size: 2em;
    font-weight: bold;
    margin-top: 0;
}
.page-template-archive-sfwd-courses .certification-section h4,
.certificazioni-template-default .certification-section h4 {
    font-size: 1.1em;
    font-weight: 600;
}

.certification-section .row {
    margin-bottom: 2rem;
}

.certificazioni-template-default .course-actions:has(.shop-btn) .status-paynow {
    display: none !important;
}
.certificazioni-template-default .course-actions .shop-btn {
    border-radius: 36px;
    max-width: 90%;
    margin: 0 20px;
    padding: 10px 20px;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 1rem;
}
.certificazioni-template-default .course-actions .shop-btn:after {
    display: none;
}
.single-certificazioni .superior-wrap,
.single-certificazioni #main {
    overflow: initial;
}

.single-certificazioni .course-actions {
    position: sticky;
    top: 90px;
    padding-bottom: 10px;
}
.single-certificazioni .oldprice {
    /* position: absolute; */
    /* bottom: 2rem; */
    font-size: .9em;
    order: 2;
    width: 100%;
}
.single-certificazioni .oldprice .old {
    position: relative;
    font-weight: 600;

}
.single-certificazioni .oldprice .old:before {
    content: '';
    width: 110%;
    border-top: 2px solid #ff0000;
    position: absolute;
    left: 50%;
    top: 52%;
    transform: translate(-50%, -50%) rotate(-7deg);
}
.single-certificazioni .target-section .section-title {
    color: #FFF;
}
.certificazione-content {
    display: flex;
    flex-wrap: wrap;
}
.overview-section {
    color: #FFF;
    background: #0AA6DD;
    font-size: 20px;
    background: linear-gradient(128deg, rgba(10, 166, 221, 1) 0%, rgba(23, 73, 122, 1) 47%, rgba(2, 39, 78, 1) 100%);
}
.overview-section .section-title {
    color: #FFF;
}
.side-content .section-title {
    color: var(--main-color);
}
@media (max-width:1100px) {
    .disclaim-certificazione {
        font-size: 15px;
    }
}

@media (max-width:992px) {
    .certificazione-content {
        margin-bottom: 2rem;
    }
    .header-certificazione .disclaim-certificazione {
        color: var(--second-color);
    }
    .certificazioni-template-default .image-wrap {
        max-width: 70vw;
        margin: 0 auto;
        display: grid;
    }
    .header-certificazione {
        padding-top: 2rem;
    }
    .header-certificazione .ld-course-resume.ld-button,
    .header-certificazione .shop-btn {
        margin-bottom: 2rem;
    }

}

@media (min-width:991px) {
    body.certificazioni-template-default [class*="learndash-shortcode-wrap-course_content-"] {
        padding: 0 2rem;
    }
}
@media (max-width:767px) {
    .single-certificazioni .course-actions {
        padding-bottom: 1rem;
    }
    .single-certificazioni .course-actions .image-wrap {
        max-width: none;
        height: 300px;
    }
    .single-certificazioni .course-actions .image-wrap img {
        margin-top: -110px;
    }
    .single-certificazioni .course-actions .shop-btn {
        max-width: none;
        margin: 0 auto 1rem;
        display: table;
    }
    .single-certificazioni .course-actions .ld-course-status-seg-status .ld-course-status-label {
        text-align: center;
    }
    .single-certificazioni .course-actions .ld-course-status.ld-course-status-not-enrolled .ld-course-status-content {
        align-items: center;
    }
    body .side-order {
        z-index: 2;
        position: relative;
    }
}

@media (max-width:575px) {
    .certificazioni-template-default .image-wrap {
        max-width: 100vw;
    }
    .certificazioni-template-default .image-wrap.pois.left {
        padding-right: 2rem;
    }
    .certificazioni-template-default .image-wrap.pois.right {
        padding-left: 2rem;
    }
}
@media screen and (max-width: 540px) {
    .single-certificazioni .course-actions .image-wrap {
        height: auto;
    }
    .single-certificazioni .course-actions .image-wrap img {
        margin-top: 0;
    }
}