
:root {
    --color-light-blue: #36B2CA;
    --color-grey:#f8f8f8;
    --color-blue: #EBF7FA;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


body {
    font-family: 'Muli', sans-serif;
    background-color: #fff;
    color: #333;
    font-weight: normal;
    line-height: 1.42857143;
    font-size: 16px;
}

/* === TYPOGRAPHY === */

.w-75{
    width: 75%;
}

/* === TYPOGRAPHY === */

h2 {font-size:24px;}
h3 {font-size:24px;}
.f24 {font-size: 24px;}
.f-26 {font-size: 26px;}
.f-22 {font-size: 22px;}
.f-19 {font-size: 19px;}
.f-18 {font-size: 18px;}
.f-13 {font-size: 13px;}
.f-20 {font-size: 20px;}
.f-50 {font-size: 50px;}


/* === COLOR === */

.bg-red {background-color: var(--color-light-blue);}
.bg-grey {background-color: var(--color-grey);}
.bg-blue {background-color: var(--color-blue);}
.color-red { color: var(--color-light-blue);}
.bg-myes {background-color: var(--color-light-blue)}
.bg-verde {background-color: #214701;}

.bg-dark-grey {
    background-color: #e2e2e2;
}


/*  === MODIFICHE VARIE === */

img.logo {
    width: 400px;
}

.bg-visual {
    width: 100%;
    background: url('img_generico/hero.png');
    background-repeat: no-repeat;
    background-size: unset;
    background-position: center;
}

p.payoff {
    font-size:24px;
}

.separator {
    border-top: 2px solid var(--color-light-blue);
    width: 17%;
}
.separator2 {
    border-top: 2px solid var(--color-light-blue);
    width: 10%;
}

ul.check-list {
    padding-left: 0px;
    margin-left: 20px;
}



 .check-list li{
    margin-bottom: 10px;
}  

a.btn-cta {
    color: white;
    background-color: var(--color-light-blue);
    padding: 20px;
    text-decoration: none;
    border-radius: .3rem;
}

p.autori {
    width: 433px;
    margin: auto;
}

.footer {
    color: white;
    font-size:15px;
}

.bg-pink {
    background-color: rgb(204 6 30 / 10%);
}

span.font-decreto { font-size: 15px; line-height: 1.2;}


/* ==== FORM ===== */

.bg-form {
    background-color: #103A61;
    padding: 30px;
}
#validatename,#validatesurname,#validateemail1,#phone_workvalidate,#primary_address_provincia_c_validate,#privacy1validate {
    display:none;
}
a.informativa {
    color:#fff;
}

p.eta {font-size:12px;}

input.form-control, select.form-control {
    font-size:14px;
    color:#555;
}

input.btn {
    font-size:22px;
    font-weight: bold;
}

.cta-mobile {
    display: none;
}


/* === Modale ==== */
hr {
    opacity: 0.3;
    border-color: #000;
}

#css-only-modals {
    position: fixed;
    pointer-events: none;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 10000000;
    text-align: center;
    white-space: nowrap;
    height: 100%;
}

#css-only-modals:before {
    content: '';
    display: inline-block;
    height: 100%;
    vertical-align: middle;
    margin-right: -0.25em;
}

.css-only-modal-check {
    pointer-events: auto;
}

.css-only-modal-check:checked~.css-only-modal {
    opacity: 1;
    pointer-events: auto;
}

.css-only-modal {
    width: 40%;
    background-color: #003B73;
    border-radius: 25px;
    z-index: 1;
    display: inline-block;
    position: relative;
    pointer-events: auto;
    padding: 25px;
    text-align: right;
    white-space: normal;
    display: inline-block;
    vertical-align: middle;
    opacity: 0;
    pointer-events: none;
}

.css-only-modal h2 {
    text-align: center;
    color: #fff;
}

.css-only-modal p {
    text-align: center;
    font-size: 24px;
    font-style: bold;
    color: #fff;
}

.css-only-modal-close {
    position: absolute;
    top: 25px;
    right: 25px;
    color: #fff;
}

.css-only-modal-check {
    display: none;
}

.css-only-modal-check:checked~#screen-shade {
    opacity: 0.5;
    pointer-events: auto;
}

#screen-shade {
    opacity: 0;
    background: #000;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    pointer-events: none;
    transition: opacity 0.8s;
}

.css-only-modal-btn {
    background: #cc0101 !important;
    color: #ffffff !important;
    border-color: #cc0101;
}

/* === finemodale === */


img.logo-myes {
    width: 150px;
}
.badge-myes {
    width: 550px;
    display: block;
}

.h-50 {height: inherit;}

a.cta-prenota {
    background-color: var(--color-light-blue);
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 5px;
    display: inline-block;
    font-weight: bold;
    font-size: 22px;
}


p.promo {
    text-shadow: 2px 1px 0px var(--color-light-blue);
}

a.promo {
    color: #000;
    font-size: 22px;
    border: 1px solid black;
}


/*================================ VIDEO ==================================*/

/* Custom CSS */
.video-section {
    position: relative;
    overflow: hidden;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    cursor: pointer;
}

.video-overlay p {
    font-size: 24px;
    text-align: center;
}

.video-container {
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    position: relative;
}

.video-container iframe {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

/*================================ FORM ==================================*/

.bg-visual{
    min-height: 90vh;
}

.form-control{
    background-color: transparent;
    border-radius: 2px;
    border: 2px solid white;
    color: white;
}

.form-control:focus{
    background-color: transparent;
}

input:-webkit-autofill {
   
    -webkit-box-shadow:0 0 0 50px rgb(54,178,202) inset; /* Change the color to your own background color */
    -webkit-text-fill-color: white;
}

input:-webkit-autofill:focus {
    -webkit-box-shadow:0 0 0 50px rgba(54,178,202, 1) inset; /* Change the color to your own background color */
    -webkit-text-fill-color: white;
} 

select > option{
    color:#000
}

.form-control[placeholder]{
    color: white;
}

input::-webkit-input-placeholder {

    color: rgba(255, 255, 255, 1) !important;
}

textarea:-moz-placeholder, /* Firefox 18- */
textarea::-moz-placeholder, /* Firefox 19+ */
textarea:-ms-input-placeholder, /* IE 10+ */
textarea::-webkit-input-placeholder, /* Webkit based */
textarea::placeholder { /* Modern browsers */
  color: white;  
}


/*================================ MOBILE ==================================*/



@media screen and (max-width: 1024px){
    .bg-visual{
        
        background-size: cover;
    }
}
@media screen and (max-width: 767px){
    .cta-mobile {
        display: block;
        background-color: #fff;
        padding: 20px;
        text-align: center;
        bottom: 0px;
        z-index: 100;
    }

    a.cta-scroll-mobile {
        text-decoration: none;
        font-weight: bold;
        font-size:20px;
        color: #fff;
    }
}

@media screen and (max-width:576px) {

    .h-50 {height: 50px !important;}

    a.cta-scroll-mobile {
        text-decoration: none;
        font-weight: bold;
        font-size:20px;
        color: #fff;
    }

   img.img-cerchi {
       width: 70%;
   }

    p.autori {
        width: inherit;

    }

    br {
        display: none;
    }

    a.cta-prenota {
        font-size: 13px;
    }

    
   
    

    p.scelta {
        font-size:21px;
    }

    body {
        font-size: 18px;
    }
    .f24 {font-size: 18px;}
    .f-26 {font-size: 18px;}
    .f-22 {font-size: 18px;}
    h2 {
        font-size: 24px;
    }
    h1 {
        font-size: 27px;
    }
    p.payoff {font-size:20px;}

    .bg-visual {
        background-position: 28%;
    }

    body {
        font-size: 16px;
    }

    .f-18 {
        font-size: 16px;
    }

    

}