:root {
    --smaller: .75;
}

::placeholder {
    color: #828283;
}

/*FONT:
Corpo testo: Roboto
Titoli: Titillium Web

COLORI:
sfondo grigio: #f7f7f5
sfondo blu: #013877
blu sezione recensioni; #175091
azzurro: #009edd
verde: #00b31a
nero: #36383a*/

* {
    transition: all 0.3s;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body,
html {
    margin: 0px;
    padding: 0px;
    scroll-behavior: smooth;
    font-family: "Roboto", arial;
    font-style: normal;
    font-weight: 500;
    font-size: max(15px, 1.2vw);
    color: #1f2121;
    background-color: white;
    height: 100%;
    margin: 0;
}

h1 {
    font-weight: normal;
    margin-bottom: 1%;
    margin-top: 5%;
    font-family: "Titillium", arial;
    font-size: max(15px, 3vw);
}

h2 {
    margin: 20px auto;
    font-size: max(32px, 2.6vw);
    font-weight: 700;
    font-family: "Titillium", arial;
}

h3 {
    font-size: max(16px, 1.2vw);
    font-weight: 700;
    color: #1f2121;
    margin: 0px auto;
    padding: 0;
    font-family: "Titillium", arial;

    margin-top: 2%;
}

.header {
    padding: 0.3%;
    background-color: #009edd;
    color: white;
    font-family: "Titillium", arial;
}


.apertura {
    width: 100%;
    max-width: max-content;
    ;
}













.text-center {
    text-align: center;
    font-size: 30px;
}

.float-left {
    float: left;
}

.container {
    width: 100%;
    margin: 0 auto;
    padding: 0;
    float: left;
}

.offerta * {
    transition: all 0s;
}

iframe {
    width: 34%;
    height: 400px;
}

.header {
    text-align: center;

}

.logo {
    width: 50%;
}

.div_errori {
    color: #b70000;
    font-size: max(14px, 0.85vw) !important;
    padding: 5px 0;
}

.fascia_opinioni {
    background-color: white;
    padding-top: 1%;
}

.cont-pannelli h2 {
    text-align: left;
    margin-left: 3%;
}

/* chrome, safari, edge, opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    /* display: none; <- crashes chrome on hover */
    -webkit-appearance: none;
    margin: 0;
    /* <-- apparently some margin are still there even though it's hidden */
}

input[type=number] {
    appearance: textfield;
    -moz-appearance: textfield;
}

.hero {
    width: 100%;
    background-size: 100%;
    background-color: #f7f7f5;
}

.form {
    width: 29%;
    margin: 0 auto;
    height: auto;
    display: inline-block;
    vertical-align: top;
    margin-top: 2%;
    padding-bottom: 30px;
    margin-left: 3%;
    border-radius: 25px;
    text-align: center;
    font-size: 20px;
    color: #1f2121;
}

.intero {
    margin-top: 1;
    border: none;
    width: 90%;
    margin: 0 auto;
    padding: 3%;
    padding-left: 2%;
    font-size: 20px;
    margin-top: 2%;
    font-size: max(15px, 1vw);
    border-radius: 12px;
}

.testo_offerta {
    font-size: max(30px, 2.5vw);
    font-weight: bold;
    color: #ed1c24;
    line-height: 110%;
}

.offerta table td {
    font-size: max(20px, 1.3vw);
    margin: 1%;
}

.offerta table {
    line-height: 220%;
}

.testo_offerta span {
    color: #0073cb;
}

.mezzo {
    width: 45% !important;
    display: inline-block !important;
    margin: 0 1.25% !important;
    margin-top: 3% !important;
}



.offerta {
    width: 50%;
    display: inline-block;
    margin-left: 5%;
    margin-top: 2%;
    margin-right: 1%;
    margin-bottom: 2%;
    text-align: right;
}

.frase_blu {
    padding: 2%;
    border-radius: 20px;
    background: #0074d4;
    color: white;
    font-size: 1.2vw;
    width: fit-content;
}

.privacy {
    width: 94%;
    margin: 0 auto;
    display: block;
}

.testo_privacy {
    font-size: max(10px, 0.6vw);
    text-align: left;
    width: 90%;
    vertical-align: middle;
}

.privacy-text-accept {
    font-size: max(15px, 0.85vw);
    text-align: left;
    font-weight: 400;
}

.checkbox-round {
    width: 1.3em;
    height: 1.3em;
    background-color: white;
    border-radius: 20%;
    vertical-align: middle;
    border: 1px solid #ddd;
    outline: none;
    cursor: pointer;
}

/* todo css */

.css-checkbox {
    position: absolute;
    overflow: hidden;
    clip: rect(0 0 0 0);
    height: 1px;
    width: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
}

#inputPreview {
    display: flex;
    gap: 20px;
}

.css-checkbox+label {
    position: relative;
    /* font-size: 11px; */
    cursor: pointer;
    /* display: inline-flex; */
    align-items: flex-start;
    /* color: rgb(0, 0, 0); */
    font-weight: 400;
    /* display: flex; */
    /* gap: 20px; */
    /* width: 100%; */
}

.css-checkbox+label::before {
    content: " ";
    display: inline-block;
    vertical-align: top;
    margin-right: 7px;
    width: 0;
    padding-right: 28px;
    height: 28px;
    background-color: rgb(224, 224, 224);
    border-width: 1px;
    border-style: solid;
    border-color: #fff;
    border-radius: 0px;
    box-shadow: none;
    float: left;
}

.css-checkbox:checked+label::after {
    content: " ";
    background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA1MTIgNTEyIj48cGF0aCBmaWxsPSIiIGQ9Ik0xNzMuODk4IDQzOS40MDRsLTE2Ni40LTE2Ni40Yy05Ljk5Ny05Ljk5Ny05Ljk5Ny0yNi4yMDYgMC0zNi4yMDRsMzYuMjAzLTM2LjIwNGM5Ljk5Ny05Ljk5OCAyNi4yMDctOS45OTggMzYuMjA0IDBMMTkyIDMxMi42OSA0MzIuMDk1IDcyLjU5NmM5Ljk5Ny05Ljk5NyAyNi4yMDctOS45OTcgMzYuMjA0IDBsMzYuMjAzIDM2LjIwNGM5Ljk5NyA5Ljk5NyA5Ljk5NyAyNi4yMDYgMCAzNi4yMDRsLTI5NC40IDI5NC40MDFjLTkuOTk4IDkuOTk3LTI2LjIwNyA5Ljk5Ny0zNi4yMDQtLjAwMXoiLz48L3N2Zz4=");
    background-repeat: no-repeat;
    background-size: 21px 21px;
    background-position: center center;
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 0px;
    left: 0px;
    top: 0px;
    text-align: center;
    background-color: transparent;
    font-size: 10px;
    height: 28px;
    width: 28px;
}


a {
    text-decoration: none;
}

.checkbox-round:checked {
    background-color: gray;
}

input,
select {
    cursor: pointer;
}

.footer {
    color: #1f2121;
    width: 100%;
    text-align: center;
    padding-top: 20px;
    padding-bottom: 20px;
    font-size: 1vw;
    margin-top: 1%;
}

.privacy-label {
    font-size: 12px;
    margin-bottom: 10px;
}

iframe {
    display: block;
    margin: 2% auto;
}

.pulsante {
    font-weight: 600;
    color: #fff;
    color: white;
    background: #00b31a;
    width: 95%;
    font-size: max(14px, 1.4vw);
    cursor: pointer;
    margin: 0 auto;
    padding: 3% 4%;
    border-radius: 12px;
    display: inline-block;
    margin: 5% auto;
    margin-top: 0;
    font-family: 'Urbanist', sans-serif;
}

.pulsante2 {
    font-weight: 600;
    color: #fff;
    background: #FF3131;
    font-size: max(14px, 1.1vw);
    cursor: pointer;
    border-radius: 0;
    text-align: center;
    width: fit-content;
    padding: 20px 30px;
    margin: 2% 0;
    font-family: 'Urbanist';
}

.cont-pannelli2 .pulsante2 {
    margin-left: 0;
    padding: 5% 10%;
}

#step2 .pulsante {
    display: inline-block;
}

.cont_pre_form {
    background: #fff;
    margin: 0 27px 15px;
    font-size: 15px;
    font-weight: 700;
    padding: 8px 8px;
    border-radius: 3px;
}

.cont_form {
    width: 100%;
    display: block;
    background: #fff;
    border-radius: 12px;
    box-shadow: 4px 1px 8px rgba(0, 0, 0, 0.15);





















    .tuo-box {
        box-shadow: 4px 0 8px rgba(0, 0, 0, 0.15);
    }

    ;

    .tuo-box {
        box-shadow: 4px 0 8px rgba(0, 0, 0, 0.15);
    }

    ;
}

.step {
    margin-top: 2%;
}

#step2 {
    display: none;
}

#form {
    width: 90%;
    margin: 0 auto;
}

#provincia,
#nome,
#cognome,
#cap,
#preferenza,
#nazione,
#email,
#telefono {
    display: block;
    margin: 0 auto;
    margin: 1% auto;
    width: 94%;
    /* height: 39px; */
    background: #DCDCDC;
    border-radius: 0;
    border: none;
    font-weight: bold;
    font-size: max(18px, 0.8vw);
    font-weight: normal;
    padding: 3%;
    color: gray;
    font-family: 'Jost';
}

#provincia,
#nome,
#cognome,
#cap,
#telefono,
#preferenza,
#nazione,
#email,
#telefono {
    display: block;
    margin: 0 auto;
    margin: 1.5% auto;
    border-radius: 12px;
}

#provincia {
    margin: 0 auto !important;
    width: 93.5% !important;
    margin-bottom: 3% !important;
}

.cont-pannelli {
    margin: 0 auto;
    display: flex;
}

.cont-pannelli2 {
    width: 80%;
    margin: 0 auto;
    display: flex;
}

.pannello {
    margin: 10px auto;
    border-radius: 12px;
    height: fit-content;
    padding: 10px 3%;
    font-size: max(15px, 0.81em);
    text-align: left;
    font-weight: 400;
    line-height: 125%;
    font-weight: normal;
}

.pannello h4 {
    text-align: left;
    font-size: max(20px, 1.1em);
    margin: 0.5em 0 0.1em;
    font-weight: 700;
    color: #f7313d;
}

.cont-pannelli2 .pannello {
    width: 28%;
}

.pannello>div {
    font-size: max(15px, 1.2vw);
    padding-inline: 6%;
    font-weight: 400;
}

.pannello>img {
    display: block;
    margin: 0 auto;
    padding-right: 60px;
}

.cont-pannelli2 .pannello>img {
    border-bottom: 0.3em solid #f7313d;
    width: 100%;
}

.centrale {
    text-align: center;
    background: none;
}

.fascia_grigia {
    background: #ededed;
    font-weight: 450;
}

#step2 h3 {
    width: 90%;
}

.cont_img img {
    width: 30%;
    max-width: max-content;
    margin: 1em auto;
}

.cont_img {
    display: flex;
    width: 98%;
    margin: 0 auto;
}

.slick-dots li button:before {
    font-size: 16px !important;
}

.slick-dotted.slick-slider {
    margin-bottom: 45px !important;
}

.slick-dots {
    bottom: -40px !important;
}

.mobile {
    display: none;
}

.thank-you-msg {
    background: #fff;
    padding: 20px 10px 60px 10px;
}

.container {
    width: 350px;
}

.box {
    display: flex;
    align-items: center;
    background-color: #003366;
    /* blu */
    color: #fff;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 5px;

    /* Ombra leggera a destra */
    box-shadow: 4px 0 8px rgba(0, 0, 0, 0.15);
}

.icon {
    font-size: 24px;
    margin-right: 10px;
}

.text h3 {
    font-size: 14px;
    margin: 0;
    font-weight: bold;
    text-transform: uppercase;
}

.text p {
    font-size: 13px;
    margin: 2px 0 0;
}

.features {
    padding: 40px 20px;
    background: #fff;
}

.features-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
}

/* Colonna Sinistra */
.features-left {
    flex: 1;
    text-align: left;
}

.box {
    display: flex;
    align-items: center;
    background-color: #003366;
    /* Blu */
    color: #fff;
    padding: 7px;
    margin-bottom: 15px;
    border-radius: 6px;

    /* Ombra leggera a dx */
    box-shadow: 4px 0 8px rgba(0, 0, 0, 0.15);
    padding-inline: 3%;
    width: 90%;
}

.icon {
    font-size: 28px;
    margin-right: 12px;
}

.text h3 {
    font-size: 15px;
    margin: 0;
    font-weight: bold;
    text-transform: uppercase;
    color: white;
}

.text p {
    font-size: 13px;
    margin: 2px 0 0;
}

/* Colonna Destra */
.features-right {
    flex: 1;
}

.features-right h2 {
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: bold;
}

.features-right p {
    font-size: 20px;
    line-height: 1.5;
    margin-bottom: 15px;
}

.btn-green {
    display: inline-block;
    padding: 12px 25px;
    background-color: #00b300;
    /* Verde */
    color: #fff;
    font-weight: bold;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.3s;
}

.cont_slider {
    background-color: #175091;
    padding-top: 0.5%;
    color: white;
    padding-bottom: 10px;
}

.btn-green:hover {
    background-color: #009900;
}

.slider,
.slider_mobile {
    width: 80%;

    margin: 0 auto;
}

.slider img,
.slider_mobile img {
    max-width: 70%;
}

.btn2 {
    margin: 0 auto;
    display: block;
    width: 30%;
    margin: 1% auto;
    padding: 20px;
    text-align: center;
    margin-top: 4%;
}

/* Colore dei dots slick */
.slick-dots li button:before {
    font-size: 16px !important;
    color: #fff !important;
    /* bianco */
    opacity: 1 !important;
    /* evita trasparenza */
}

/* Colore del dot attivo */
.slick-dots li.slick-active button:before {
    color: #fff !important;
    /* bianco anche per quello attivo */
}


/* Responsive */
@media (max-width: 768px) {
    .features-container {
        flex-direction: column;
    }

    .features-left,
    .features-right {
        flex: unset;
        width: 100%;
    }
}




@media screen and (max-width:1024px) {
    .btn2 {
        margin: 0 auto;
        display: block;
        width: 90%;
        margin: 1% auto;
        padding: 12px;
        text-align: center;
        margin-top: 4%;
        /* font-size: 15px; */
    }

    .cont_form {
        width: 100%;
        display: block;
        padding: 0;
        /* padding-top: 7%; */
        margin: 0 auto;
        border-radius: 0;
    }

    .pannello>img {
        max-width: max-content;
        margin: 2% auto;
        padding-right: 6%;
    }

    h4 {
        text-align: center;
        font-size: 5.2vw;
        margin: 0.5em;
        margin-left: 0;
    }

    iframe {
        height: 281px;
        width: 90%;
    }

    .cont-pannelli2,
    .fascia_opinioni .cont-pannelli {
        width: 90%;
        margin: 0 auto;

    }

    .pannello {
        width: 75%;
        margin: 6px auto;
    }

    .reviews {
        width: 80% !important;
        content: url('img/reviews-mobile.png');
        max-width: 400px;
    }

    .offerta {
        /*visibility: hidden;*/
        /*display: none;*/
        width: 96%;
        margin: 5px auto;
        display: block;
    }

    .hero {
        /*background: none;*/
        height: auto;
        background-size: 100%;
        padding-bottom: 2%;
        background-size: 220%;
    }

    .form {
        width: 40%;
        margin: 0 auto;
        display: block;
        min-width: 100px;
        border-radius: 0px;
        width: 100%;
    }

    .footer {
        width: 100%;
        text-align: center;
        padding-top: 1%;
        font-size: 1vw;
    }

    #privacy_1 {
        float: left;
        width: 4.2vw;
        height: 4.2vw;
        margin-left: 1%;
    }

    .div_errori {
        color: #b70000;
        font-size: 15px;
    }

    h2 {
        margin: 0;
        padding: 0;
        text-align: center;
        padding: 2%;
        padding-bottom: 2%;
        width: 90%;
        font-size: 1.7em;
        margin: 0 auto;
    }

    .fascia_grigia h2 {
        width: 72%;
        font-size: 1.7em;
    }

    .pulsante2,
    .pulsante {
        font-size: 4.5vw !important;
        padding: 2%;
        margin-bottom: 5%;
    }

    .cont-pannelli2 .pannello {
        width: 65%;
    }

    .footer {
        font-size: 10px;
        margin-bottom: 13px;
        padding-inline: 6%;
    }

    .header {
        color: white;
        font-weight: bold;
        text-align: center;
        padding: 2%;
        font-size: 14px;
    }

    .cont-pannelli2 .pulsante2 {
        margin-left: 0;
        padding: 1em 2em;
        margin: 6% auto;
        margin-bottom: 0px;
    }

    .cont-pannelli2 .pannello>img {
        border-bottom: 0.3em solid #f7313d;
        width: 90%;
    }

    .cont-pannelli2 .pannello {
        width: 80%;
    }

    #form {
        width: 100%;
        margin: 0 auto;
    }

    .cont_form>p {
        padding: 0.5% !important;
        background: #353738;
        color: white !important;
        font-size: 30px !important;
        line-height: 122% !important;
        padding-top: 2% !important;
        border-radius: 0 !important;
    }

    .pulsante2,
    .pulsante {
        font-size: 25px;
        padding: 0.5em 1em;
        margin-bottom: 5%;
        width: fit-content;
    }

    .pulsante2,
    .pulsante {
        font-size: 25px;
        padding: 10px;
        margin-bottom: 7%;
        margin: 0% auto;
        margin-bottom: 10px;
        width: 96%;
        font-size: 25px !important;
    }

    .cont_img {
        display: none;
    }

    .slider {
        display: block;
        width: 90%;
        margin: 0 auto;

        margin-top: 30px;
        padding-bottom: 10px;
    }

    .slick-dots li button:before {
        font-family: 'slick';
        font-size: 11px !important;
    }

    .fascia_grigia {
        padding: 0% 0%;
        background: #ededed;
        padding-top: 2%;
    }

    .pulsante_ultimo {
        margin-top: -8% !important;
    }

    .footer>div {
        width: 90% !important;
    }

    .desktop {
        display: none;
    }

    .mobile {
        display: block !important;
    }








    .css-checkbox+label {

        gap: 0;
        width: 100%;
        margin-left: 5%;
    }

    .box {

        width: 100%;
    }

    .privacy {
        width: 100%;
        margin: 0 auto;
        display: block;
    }

    .features {
        padding: 10px 35px;
        background: #fff;
    }

    .btn-green {
        text-align: center;
        font-size: 20px;
        width: 100%;
    }

    .features-right p {
        font-size: 17px;
        line-height: 1.5;
        margin-bottom: 15px;
    }

    .text-center {
        text-align: center;
        font-size: 30px;
        margin-top: 2%;
    }

    .slider {
        width: 70%;
    }

    .btn2 {
        width: 80%;
        text-align: center;
    }

    .slick-dotted.slick-slider {
        margin-bottom: 70px !important;
    }
}