/* GPSGNNS-SECTION */

.formazione_sezione8-section {
    background-color: #ffffff;
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    font-family: Inter, 'sans-serif';
}

/* GPSGNNS CONTAINER */

.formazione_sezione8-container {
    display: block;
    padding-left: 50px;
    padding-right: 50px;
    padding-bottom: 30px;
}

/* GPSGNNS WRAPPER */

.formazione_sezione8-wrapper {
    margin: 0px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

/* GPSGNNS */

.formazione_sezione8-cols-12 {
    display: block;
    margin: 0 auto;
    text-align: left;
    width: 100%;
    max-width: 1400px;
}

.formazione_sezione8-title {
    font-size: 45px;
    line-height: 52px;
    font-family: Inter, sans-serif;
    font-weight: 600;
    margin-block-start: 0px !important;
    margin-block-end: 0px !important;
    padding-bottom: 60px;
}

/* GPSGNNS CONTAINER SECTIONS */

.formazione_sezione8-container-sections {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    flex-wrap: wrap;
}

/* COLONNE */

.formazione_sezione8-cols-4-3,
.formazione_sezione8-cols-8-3 {
    width: 25%;
    box-sizing: border-box;
}

.formazione_sezione8-cols-1-3,
.formazione_sezione8-cols-2-3,
.formazione_sezione8-cols-3-3,
.formazione_sezione8-cols-5-3,
.formazione_sezione8-cols-6-3,
.formazione_sezione8-cols-7-3 {
    width: 25%;
    box-sizing: border-box;
    padding-right: 30px;
    padding-bottom: 30px;
}

/* IMMAGINI */

.img-fluid-formazione_sezione8 {
    max-width: 100%;
    height: auto;
    max-height: 600px;
    width: 150px;
    object-fit: contain;
}

.rx_flex-formazione_sezione8 {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.formazione_sezione8-cols-1-3,
.formazione_sezione8-cols-2-3,
.formazione_sezione8-cols-3-3,
.formazione_sezione8-cols-4-3,
.formazione_sezione8-cols-5-3,
.formazione_sezione8-cols-6-3,
.formazione_sezione8-cols-7-3,
.formazione_sezione8-cols-8-3 {
    display: flex;
    flex-direction: column;
    /* colonne verticali */
}

.service-title-formazione_sezione8 {
    font-family: Inter, sans-serif;
    font-size: 28px;
    line-height: 34px;
    font-weight: 600;
    margin-block-start: 0px !important;
    margin-block-end: 0px !important;
    color: black;
    padding-top: 25px;
}

.service_rx-title-formazione_sezione8 {
    font-family: Inter, sans-serif;
    font-size: 16px;
    line-height: 22px;
    font-weight: 400;
    margin-block-start: 0px !important;
    margin-block-end: 0px !important;
    color: black;
    padding-top: 10px;
    padding-right: 20px;
    padding-bottom: 10px;
}

button.btn-outline-custom-formazione_sezione8 {
    font-weight: 700;
    font-size: 18px;
    line-height: 24px;
    color: #008BEE;
    text-decoration: underline;
    align-self: flex-start;
    margin-block-start: 0px !important;
    margin-block-end: 0px !important;

    white-space: nowrap;
    /* testo del bottone sempre su una riga */
    flex-shrink: 1;
    /* si restringe un po' se serve */
    max-width: 225px;
    text-align: center;
    padding-bottom: 30px;
    border: none;
    background-color: transparent;
}

button.btn-outline-custom-formazione_sezione8:hover {
    cursor: pointer;
    color: #0067b0;

}

/* MEDIA QUERIES */
/* MEDIA QUERIES */
@media (max-width: 409px) {

    .formazione_sezione8-container,
    .popup-content {
        padding-left: 30px !important;
        padding-right: 30px !important;
    }
}

@media (min-width: 410px) and (max-width: 699px) {
    .formazione_sezione8-container {
        padding-left: 50px;
        padding-right: 50px;
        padding-bottom: 24px;
    }

    .popup-content {
        padding-left: 50px !important;
        padding-right: 50px !important;
    }
}

@media (min-width: 700px) and (max-width: 870px) {

    .formazione_sezione8-container,
    .popup-content {
        padding-left: 30px !important;
        padding-right: 30px !important;
    }
}

/* < 369PX */

@media (max-width: 368px) {
    .formazione_sezione8-title {
        font-size: 31px;
        line-height: 40px;
    }
}

/*  Da 369px a 374px */

@media (min-width: 369px) and (max-width: 374px) {
    .formazione_sezione8-title {
        font-size: 31px;
        line-height: 40px;
    }
}

/*  Da 375px a 408px */

@media (min-width: 375px) and (max-width: 408px) {
    .formazione_sezione8-title {
        font-size: 32px;
        line-height: 41px;
    }
}

/*  Da 409px a 413px */

@media (min-width: 409px) and (max-width: 413px) {
    .formazione_sezione8-title {
        font-size: 33px;
        line-height: 40px;
    }
}

/*  Da 414px a 429px */

@media (min-width: 414px) and (max-width: 429px) {
    .formazione_sezione8-title {
        font-size: 32.5px;
        line-height: 40px;
    }
}

/*  Da 430px a 790px */

@media (min-width: 430px) and (max-width: 790px) {
    .formazione_sezione8-title {
        font-size: 34px;
        line-height: 41px;
    }
}

/* Da 791px a 809px */

@media (min-width: 791px) and (max-width: 809px) {
    .formazione_sezione8-title {
        font-size: 35px;
        line-height: 42px;
    }
}

/* Da 810px a 829px */

@media (min-width: 810px) and (max-width: 829px) {
    .formazione_sezione8-title {
        font-size: 36px;
        line-height: 43px;
    }
}

/* Da 830px a 848px */

@media (min-width: 830px) and (max-width: 848px) {
    .formazione_sezione8-title {
        font-size: 37px;
        line-height: 44px;
    }
}

/* Da 849px a 886px */

@media (min-width: 849px) and (max-width: 886px) {
    .formazione_sezione8-title {
        font-size: 38px;
        line-height: 45px;
    }
}

/* Da 887px a 963px */

@media (min-width: 887px) and (max-width: 963px) {
    .formazione_sezione8-title {
        font-size: 39px;
        line-height: 46px;
    }
}

/* Da 964px a 1066px */

@media (min-width: 964px) and (max-width: 1066px) {
    .formazione_sezione8-title {
        font-size: 41px;
        line-height: 48px;
    }
}

/* Da 1067px a 1231px */

@media (min-width: 1067px) and (max-width: 1231px) {
    .formazione_sezione8-title {
        font-size: 43px;
        line-height: 51px;
    }
}

@media (min-width: 720px) and (max-width: 1100px) {

    .formazione_sezione8-cols-1-3,
    .formazione_sezione8-cols-2-3,
    .formazione_sezione8-cols-3-3,
    .formazione_sezione8-cols-4-3,
    .formazione_sezione8-cols-5-3,
    .formazione_sezione8-cols-6-3,
    .formazione_sezione8-cols-7-3,
    .formazione_sezione8-cols-8-3 {
        width: 33%;
    }

    .formazione_sezione8-cols-1-3,
    .formazione_sezione8-cols-2-3,
    .formazione_sezione8-cols-3-3,
    .formazione_sezione8-cols-4-3,
    .formazione_sezione8-cols-5-3,
    .formazione_sezione8-cols-6-3 {
        padding-bottom: 20px;
    }
}

@media (min-width: 501px) and (max-width: 719px) {

    .formazione_sezione8-cols-1-3,
    .formazione_sezione8-cols-2-3,
    .formazione_sezione8-cols-3-3,
    .formazione_sezione8-cols-4-3,
    .formazione_sezione8-cols-5-3,
    .formazione_sezione8-cols-6-3,
    .formazione_sezione8-cols-7-3,
    .formazione_sezione8-cols-8-3 {
        width: 50%;
    }

    .service_rx-title-formazione_sezione8 {
        padding-right: 0px;
    }
}

/* TITOLO PARAGRAFI */

@media (max-width: 369px) {
    .service-title-formazione_sezione8 {
        line-height: 26px;
        font-size: 18px;
    }
}

@media (min-width: 369px) and (max-width: 388px) {
    .service-title-formazione_sezione8 {
        line-height: 28px;
        font-size: 20px;
    }
}

@media (min-width: 389px) and (max-width: 409px) {
    .service-title-formazione_sezione8 {
        line-height: 30px;
        font-size: 22px;
    }
}

@media (min-width: 410px) and (max-width: 820px) {
    .service-title-formazione_sezione8 {
        line-height: 30px;
        font-size: 22px;
    }
}

@media (min-width: 821px) and (max-width: 943px) {
    .service-title-formazione_sezione8 {
        line-height: 34px;
        font-size: 26px;
    }
}

@media (min-width: 944px) and (max-width: 1200px) {
    .service-title-formazione_sezione8 {
        line-height: 35px;
        font-size: 27px;
    }
}

/* DESCRZIONE PARAGRAFO */

@media (max-width: 369px) {
    .service_rx-title-formazione_sezione8 {
        font-size: 14px;
        line-height: 20px;
    }
}

/* Colonne a 1 sola per < 500px */
@media (max-width: 500px) {

    .formazione_sezione8-cols-1-3,
    .formazione_sezione8-cols-2-3,
    .formazione_sezione8-cols-3-3,
    .formazione_sezione8-cols-4-3,
    .formazione_sezione8-cols-5-3,
    .formazione_sezione8-cols-6-3,
    .formazione_sezione8-cols-7-3,
    .formazione_sezione8-cols-8-3 {
        width: 100%;
        padding-right: 0;
        /* evita spazi vuoti laterali */
    }
}


/* PULSANTE DEMO 
@media (min-width:712px) and (max-width:775px) {

    a.btn-outline-custom-formazione_sezione8,
    a.btn-outline-custom-formazione_sezione82 {
        padding-left: 10px;
        padding-right: 10px;
        font-size: 14px;
    }
}

@media (min-width:752px) and (max-width: 1066px) {

    a.btn-outline-custom-formazione_sezione8,
    a.btn-outline-custom-formazione_sezione82 {
        padding-left: 10px;
        padding-right: 10px;
    }
}

@media (max-width:605px) {

    a.btn-outline-custom-formazione_sezione8,
    a.btn-outline-custom-formazione_sezione82 {
        padding-left: 5px;
        padding-right: 5px;
        font-size: 13px;
    }
} */
@media (min-width: 700px) and (max-width: 900px) {

    .formazione_sezione8-cols-1-3,
    .formazione_sezione8-cols-2-3,
    .formazione_sezione8-cols-3-3,
    .formazione_sezione8-cols-4-3,
    .formazione_sezione8-cols-5-3,
    .formazione_sezione8-cols-6-3,
    .formazione_sezione8-cols-7-3,
    .formazione_sezione8-cols-8-3 {
        width: 50%;
    }
}

@media (max-width:699px) {

    .formazione_sezione8-cols-1-3,
    .formazione_sezione8-cols-2-3,
    .formazione_sezione8-cols-3-3,
    .formazione_sezione8-cols-4-3,
    .formazione_sezione8-cols-5-3,
    .formazione_sezione8-cols-6-3,
    .formazione_sezione8-cols-7-3,
    .formazione_sezione8-cols-8-3 {
        width: 100%;
    }

    .img-fluid-formazione_sezione8 {
        width: 100px;
    }

    .service_rx-title-formazione_sezione8 {
        padding-right: 0px;
    }

    .rx_flex-formazione_sezione8 {
        padding-bottom: 0px;
    }
}

/* Popup overlay */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    justify-content: center;
    align-items: center;
    z-index: 99999999;
    font-family: 'Inter', sans-serif;
}

/* Popup content */
.popup-content {
    background: white;
    padding: 35px 50px;
    border-radius: 30px;
    max-width: 750px;
    width: 90%;
    height: auto;
    position: relative;
}

/* Chiudi popup */
#closePopup {
    position: absolute;
    top: 5px;
    right: 25px;
    font-size: 30px;
    cursor: pointer;
    color: black;
    background-color: transparent !important;
    padding: 0px;
}

/* Form */
.popup-content input,
.popup-content textarea,
select {
    box-shadow: none !important;
    background: transparent !important;
    color: rgb(0, 0, 0) !important;
    padding: 10px 16px 10px;
    border-radius: 6px !important;
    width: 100%;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    border: 1px solid #ccc;
}

.popup-content input:focus,
.popup-content textarea:focus {
    outline: none;
    border-bottom: 2px solid black;
}

.popup-content input::placeholder,
.popup-content textarea::placeholder {
    color: rgb(99, 97, 97);
    opacity: 1;
}




/* Righe del form (2 colonne) */
.form-row {
    display: flex;
    gap: 10px;
}


/* Pulsante */
/* Pulsante Invia nel popup */
.popup-content button {
    background-color: #008bee;
    color: white;
    border: none;
    border-radius: 30px;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
    text-transform: uppercase;
    font-family: 'Inter', sans-serif;
    display: block;
    margin: 0 auto;
}

.popup-content button:hover {
    background-color: #0077be;
}


/* Titolo del popup */
.popup-content h2,
.confirm-title {
    color: #000;
    font-size: 26px;
    font-weight: 600;
    line-height: 32px;
    padding-bottom: 5px;
    text-align: center;
    margin-block-end: 0px !important;
    margin-block-start: 0px !important;
}

p.subtitle {
    padding-bottom: 20px;
    color: #8c8c8c;
    font-weight: 400;
    font-size: 12px;
    line-height: 20px;
    text-align: center;
    margin-block-end: 0px !important;
    margin-block-start: 0px !important;
}

.quote-privacy-check_popup {
    font-size: 9px !important;
    line-height: 15px !important;
    font-family: Inter, sans-serif !important;
    color: #393939 !important;
    font-weight: 400 !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
    margin-top: -15px;
}

.quote-privacy-link_popup {
    font-weight: 600;
    color: #000;
}

/* Responsive popup title come h6 */
@media (max-width: 369px) {

    .popup-content h2,
    .confirm-title {
        font-size: 18px;
        line-height: 26px;
    }
}

@media (min-width: 369px) and (max-width: 388px) {

    .popup-content h2,
    .confirm-title {
        font-size: 20px;
        line-height: 28px;
    }
}

@media (min-width: 389px) and (max-width: 409px) {

    .popup-content h2,
    .confirm-title {
        font-size: 22px;
        line-height: 30px;
    }
}

@media (min-width: 410px) and (max-width: 820px) {

    .popup-content h2,
    .confirm-title {
        font-size: 22px;
        line-height: 30px;
    }
}

@media (min-width: 821px) and (max-width: 943px) {

    .popup-content h2,
    .confirm-title {
        font-size: 26px;
        line-height: 34px;
    }
}

#popupText,
.confirm-text {
    font-family: Inter, sans-serif;
    font-size: 18px;
    line-height: 24px;
    font-weight: 400;
    margin-block-start: 0px !important;
    margin-block-end: 0px !important;
    padding-bottom: 20px;
}

@media (max-width: 1128px) {

    #popupText,
    .confirm-text {
        font-size: 16px;
        line-height: 22px;
    }

    #popupText,
    .confirm-text {
        margin-block-start: 0px !important;
        margin-block-end: 0px !important;
    }
}

@media (max-width: 369px) {

    #popupText,
    .confirm-text {
        line-height: 20px;
        font-size: 14px;
    }
}


.popup-content .form-group_sezione8 {
    margin-bottom: 15px;
}

.popup-content label {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    margin-bottom: 5px;
    color: black;
}

.popup-content textarea {
    width: 100%;
    padding: 10px 20px 10px;
    border: 1px solid #ccc;
    font-family: 'Inter', sans-serif;
    box-sizing: border-box;
    resize: none;
    overflow: hidden;
}

.popup-content textarea:focus {
    outline: none;
    border: 1px solid black;
}

.popup-content input:focus,
.popup-content input.error,
.popup-content textarea:focus,
.popup-content textarea.error,
.popup-content select:focus {
    border: 1px solid #008bee;

}

.popup-content input.error,
.popup-content textarea.error {
    border: 1px solid #ea5858;
}

/* Messaggio di errore rosso sotto il bordo */
.error-message {
    color: #ea5858;
    font-size: 10px;
    font-weight: 400;
    line-height: 16px;
    background: #fff;
    position: relative;
    text-align: end;
}

.input-error {
    border: 1px solid #ea5858 !important;
    /* bordo rosso se errore */
}

.input-wrapper {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
    width: 100%;
}

#popupForm_formazione8 {
    margin-bottom: 0px;
}




/* Chrome, Safari, Edge autofill */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0px 1000px white inset;
    /* o transparent se vuoi */
    -webkit-text-fill-color: black;
    /* colore testo */
    transition: background-color 5000s ease-in-out 0s;
    /* forzo overlay invisibile */
}

@media (max-width: 409px) {
    .error-message {
        font-size: 11px;
    }

    .popup-content input {
        font-size: 13px;
    }
}

@media (max-width: 699px) {
    .form-row {
        display: flex;
        flex-direction: column;
    }

    .input-wrapper {
        width: 100%;
    }
}


/* ========================
   FLOATING LABEL SYSTEM
   ======================== */

.floating {
    position: relative;
}


.floating select {
    padding: 10px 16px 10px;
    font-size: 13px;
    line-height: 19px;
    border-radius: 6px;

}

/* label */
.floating label {
    position: absolute;
    left: 16px;
    top: 15%;
    font-size: 12px;
    line-height: 18px;
    color: #777;
    pointer-events: none;
    transition: all .18s ease;
}

/* stato attivo */
.floating input:focus+label,
.floating input:not(:placeholder-shown)+label,
.floating textarea:focus+label,
.floating textarea:not(:placeholder-shown)+label,
.floating select:focus+label,
.floating select:valid+label {
    top: -14px;
    font-size: 12px;
    line-height: 18px;
    color: #008BEE;
    background-color: white;
}

/* errore */
.floating .input-error+label {
    color: #e53935;
}


.error-message {
    display: none;
}

/* normalizza focus */
input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-bottom: 2px solid #008bee;
}