/* p2_secondo_template SECTION */
.p2_secondo_template-section {
    background-color: #fff;
    display: flex;
    width: 100%;
    margin: 0;
    padding: 0;
}

/* p2_secondo_template CONTAINER */
.p2_secondo_template-container {
    padding-left: 50px;
    padding-right: 50px;
    width: 100%;
    display: flex;
    justify-content: center;
    padding-top: 60px;
    padding-bottom: 60px;
}

/* p2_secondo_template WRAPPER */
.p2_secondo_template-wrapper-imgcentral-textcentral {
    flex-direction: row;
    flex-wrap: wrap;
    margin: 0 auto;
    width: 100%;
    max-width: 1400px;
}

/* p2_secondo_template */
.p2_secondo_template-cols-xl-12.p2_secondo_template-cols-xs-12.p2_secondo_template-cols-sm-12.p2_secondo_template-cols-md-12.p2_secondo_template-cols-lg-12 {
    display: block;
    margin: 0 auto;
    text-align: center;
    width: 100%;
    max-width: 1400px;
}

.p2_secondo_template-section-title {
    line-height: 52px;
    font-size: 44px;
    font-family: Inter, sans-serif;
    font-weight: 600;
    color: #000;
    text-align: center;
    padding-bottom: 60px;
    margin-block-start: 0px !important;
    margin-block-end: 0px !important;
}

.description-imgcentral-textcentral {
    font-size: 26px;
    line-height: 32px;
    font-family: Inter, sans-serif;
    font-weight: 400;
    color: #000;
    text-align: center;
    padding-bottom: 30px;
    margin-block-start: 0px !important;
    margin-block-end: 0px !important;
}

.accurate-results-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding-top: 0px !important;
    padding-bottom: 0px !important;
}

.img-fluid-second-section {
    display: block;
    max-width: 100%;
    width: 100%;
    height: auto;
    object-fit: contain;
    align-self: flex-start;
}

/* MEDIA QUERIES */
/* p2_secondo_template CONTAINER */
@media (max-width: 409px) {
    .p2_secondo_template-container,
    .testo_centrale {
        padding-left: 30px;
        padding-right: 30px;
    }
}

@media (min-width: 410px) and (max-width: 699px) {
    .p2_secondo_template-container,
    .testo_centrale {
        padding-left: 50px;
        padding-right: 50px;

    }
}

@media (min-width: 700px) and (max-width: 870px) {
    .p2_secondo_template-container,
    .testo_centrale {
        padding-left: 30px;
        padding-right: 30px;
    }
}

/* p2_secondo_template */
@media (max-width: 699px) {
    .p2_secondo_template-cols-xl-12.p2_secondo_template-cols-xs-12.p2_secondo_template-cols-sm-12.p2_secondo_template-cols-md-12.p2_secondo_template-cols-lg-12 {
        padding-left: 0px;
        padding-right: 0px;
    }

}


/* < 369PX */
@media (max-width: 368px) {
    .p2_secondo_template-section-title {
        font-size: 31px;
        line-height: 40px;
    }
}


@media (min-width: 369px) and (max-width: 374px) {
    .p2_secondo_template-section-title {
        font-size: 31px;
        line-height: 40px;
    }
}

@media (min-width: 375px) and (max-width: 408px) {
    .p2_secondo_template-section-title {
        font-size: 32px;
        line-height: 41px;
    }
}

@media (min-width: 409px) and (max-width: 413px) {
    .p2_secondo_template-section-title {
        font-size: 33px;
        line-height: 40px;
    }
}

@media (min-width: 414px) and (max-width: 429px) {
    .p2_secondo_template-section-title {
        font-size: 32.5px;
        line-height: 40px;
    }
}

@media (min-width: 430px) and (max-width: 790px) {
    .p2_secondo_template-section-title {
        font-size: 34px;
        line-height: 41px;
    }
}

@media (min-width: 791px) and (max-width: 809px) {
    .p2_secondo_template-section-title {
        font-size: 35px;
        line-height: 42px;
    }
}

@media (min-width: 810px) and (max-width: 829px) {
    .p2_secondo_template-section-title {
        font-size: 36px;
        line-height: 43px;
    }
}

@media (min-width: 830px) and (max-width: 848px) {
    .p2_secondo_template-section-title {
        font-size: 37px;
        line-height: 44px;
    }
}

@media (min-width: 849px) and (max-width: 886px) {
    .p2_secondo_template-section-title {
        font-size: 38px;
        line-height: 45px;
    }
}

@media (min-width: 887px) and (max-width: 963px) {
    .p2_secondo_template-section-title {
        font-size: 39px;
        line-height: 46px;
    }
}

@media (min-width: 964px) and (max-width: 1066px) {
    .p2_secondo_template-section-title {
        font-size: 41px;
        line-height: 48px;
    }
}

@media (min-width: 1067px) and (max-width: 1231px) {
    .p2_secondo_template-section-title {
        font-size: 43px;
        line-height: 51px;
    }
}

@media (max-width: 963px) {
    .description-imgcentral-textcentral {
        font-size: 20px;
        line-height: 26px;
    }
}

@media (min-width: 964px) and (max-width: 1066px) {
    .description-imgcentral-textcentral {
        font-size: 22px;
        line-height: 28px;
    }
}

@media (min-width: 1067px) and (max-width: 1231px) {
    .description-imgcentral-textcentral {
        font-size: 24px;
        line-height: 30px;
    }
}


/* SECONDO BLOCCO */
.testo_centrale {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.paragrafo_18pixel {
    font-size: 18px;
    line-height: 24px;
    font-family: Inter, sans-serif;
    font-weight: 400;
    color: #000;
    text-align: center;
    width: 100%;
    margin-bottom: 10px;
    margin-block-end: 0px !important;
    margin-block-start: 0px !important;
    padding-bottom: 15px;
}

.paragrafo_bold_22pixel {
    font-size: 22px;
    line-height: 28px;
    font-family: Inter, sans-serif;
    font-weight: 600;
    color: #000;
    text-align: center;
    width: 100%;
    margin-bottom: 20px;
    margin-block-end: 0px !important;
    margin-block-start: 0px !important;
    padding-bottom: 15px;
}

.btn.btn-preventivo-p2_template.btn-blu-p2_template {
    border: solid 2px #000;
    border-radius: 30px;
    cursor: pointer;
    font-family: Inter, sans-serif;
    font-size: 18px;
    line-height: 24px;
    text-align: center;
    color: #000;
    font-weight: 700;
    text-decoration: none;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 30px;
    padding-right: 30px;
    display: inline-block;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
    margin-bottom: 60px;
}

.btn.btn-preventivo-p2_template.btn-blu-p2_template:hover {
    background-color: #000;
    color: #fff;
}

/* MEDIA PARGARFO 18 PIXEL */
@media (max-width: 1128px) {
    .paragrafo_18pixel {
        font-size: 16px;
        line-height: 22px;
    }

    .paragrafo_18pixel {
        margin-block-start: 0px !important;
        margin-block-end: 0px !important;
    }
}

@media (max-width: 369px) {
    .paragrafo_18pixel {
        line-height: 20px;
        font-size: 14px;
    }
}

/* MEDIA PARGARFO BOLD 22 PIXEL */

@media (max-width: 1066px) {
    .paragrafo_bold_22pixel {
        font-size: 18px;
        line-height: 24px;
    }
}

@media (min-width: 1067px) and (max-width: 1231px) {
    .paragrafo_bold_22pixel {
        font-size: 20px;
        line-height: 26px;
    }
}

/* BOTTONE */
@media (min-width: 315px) and (max-width: 450px) {
    .btn.btn-preventivo-p2_template.btn-blu-p2_template {
        font-size: 15px;
        padding-left: 10px;
        padding-right: 10px;
    }
}

@media (max-width: 314px) {
    .btn.btn-preventivo-p2_template.btn-blu-p2_template {
        font-size: 13px;
        padding-left: 8px;
        padding-right: 8px;
    }
}

.accurate-results-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding-top: 0px !important;
    padding-bottom: 0px !important;
}

/* IFRAME RESPONSIVE  */
.iframe-container {
    display: flex;
    flex-direction: row; 
    justify-content: center;
    align-items: flex-start;
    width: 100%;
    height: 600px; 
}

.iframe-container iframe {
    width: 100%;
    height: 100%;
}
