
:root {
    --color-jade: #17BAA1;
    --color-grey:#f8f8f8;
    --color-blue: #012f7f;
    --color-fuxia: #17BAA0;
    --color-jade-dark: #2B6B61;
    --color-light-jade: #F3FAFB;
}

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


body {
    font-family: 'Muli', sans-serif;
    background-color: #fff;
    color: #747373;
    font-weight: 300;
    line-height: 1.42857143;
    font-size: 1.1rem;
}



/* === COLOR === */

.bg-green {background-color: var(--color-jade);}
.bg-grey {background-color: var(--color-grey);}
.bg-blue {background-color: var(--color-blue);}
.bg-fuxia {background-color: var(--color-fuxia);}
.bg-light-green { background-color: #fff5f9;}

.color-jade { color: var(--color-jade);}
.color-jade-dark {color: var(--color-jade-dark);}
.color-fuxia {color: var(--color-fuxia);}
.color-button { color: var(--color-jade)}
.color-blue {color: var(--color-blue); }


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

img.logo {
    width: 400px;
}

.bg-visual {
    width: 100%;
    background-image: url('img_AIN/visual-new.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.text-black {color: #333;}

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

img {
    border-radius: 12px;
}

strong {
    font-weight: 700;
}

.separator {
    border-top: 2px solid var(--color-fuxia);
    width: 10%;
}

.separator-white {
    border-top: 2px solid white;
    width: 10%;
}

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

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

.bg-sceglierci {
    background: linear-gradient(180deg, rgba(255,255,255,1) 0%, var(--color-light-jade) 100%);
}


a.btn-cta {
    color: white;
    background-color: var(--color-jade);
    padding: 10px 15px;
    text-decoration: none;
    font-size: 18px;
    letter-spacing: 2px;
}


.lead {
    font-size: 1.1rem !important;
}

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

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

.badge-myes {
    width: 450px;
}

p.maggiore-eta {
    font-size: 12px;
    text-align: left;
    margin: 15px 0px 0px 0px;
}

img.logo-myes {
    width: 150px;
}

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

.bg-form {
    background-color: var(--color-jade-dark);
    padding: 25px;
    width: 450px;
    border-radius: 15px;
}


.btn-form {
    border-radius: 50px;
    border: 3px solid var(--color-fuxia);
}




#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 === */


.futuro {
    width: 350px;
    margin: auto;
    height: 343px;
}

.h-50 {height: inherit;}




.box {
    background-color: var(--color-jade);
    height: 270px;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    font-size: 22px;
    text-align: center;
}


.box2 {
    background-color: var(--color-blue);
    height: 270px;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    font-size: 22px;
    text-align: center;
}

.img1 {
    background-image: url('img_AIN/light-bulb-ideas-creative-diagram-concept.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    display: block;
    height: 270px;
}
.img1a {
    background-image: url('img_AIN/scacchi_1-1.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    display: block;
    height: 270px;
}
.img2 {
    background-image: url('img_AIN/scacchi_1-2.jpeg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    display: block;
    height: 270px;
}
.img3 {
    background-image: url('img_AIN/scacchi_1-3.jpeg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    display: block;
    height: 270px;
}
.img4 {
    background-image: url('img_AIN/scacchi_1-4.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    display: block;
    height: 270px;
}
.img5 {
    background-image: url('img_AIN/scacchi_2-1.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    display: block;
    height: 270px;
}
.img6 {
    background-image: url('img_AIN/scacchi_2-2.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    display: block;
    height: 270px;
}
.img7 {
    background-image: url('img_AIN/scacchi_2-3.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    display: block;
    height: 270px;
}
.img8 {
    background-image: url('img_AIN/scacchi_2-4.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    display: block;
    height: 270px;
}
.img9 {
    background-image: url('img_AIN/scacchi_3-1.jpeg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    display: block;
    height: 270px;
}.img10 {
    background-image: url('img_AIN/scacchi_3-2.jpeg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    display: block;
    height: 270px;
}

::marker{
    color: var(--color-jade) !important;
}

/* CUSTOM */

.custom-line{
    width: 10%;
    border-bottom: 2px solid ;
    margin: auto;
}

.bg-jade-transparent {
    background-color:rgba(23, 186, 161, 0.09);
    
}

.programma> li{
    display: inline-block;
    margin-right: 1.5em;
}

.programma>li:before{
    content: "";
    display: list-item;
    position: absolute;
}

/*================================ GRID ==================================*/

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

    .container-grid{
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 10px;
        grid-auto-rows: 100px;
        padding: 2% 10% 10% 10%;
    }
}

@media screen and (min-width: 1000px){


    .container-grid{
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
        grid-auto-rows: 100px;
        padding: 2% 10% 10% 10%;
    }
}


.container-grid .item img{
    width: 100px;
    display: flex;
    flex-direction: column;
}
.container-grid .item p{
    display: flex;
    margin: revert;
    flex-direction: column;
    max-width: 50%;
    margin: auto;
}

.item{
    display: flex;
}

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

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

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

    br {
        display: none;
    }

    .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;
    }

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

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

    .futuro {
        width: 100%;
        margin: auto;
        height: inherit;
    }
    .h-50 {height: 50px !important;}

    input.btn {
        font-size: 19px;
    }
}


@media screen and (min-width: 577px) and (max-width: 1366px){
    br {
        display: none;
    }


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

.lds-default {
    display: inline-block;
    position: relative;
    width: 30px;
    height: 30px;
}
.lds-default div {
    position: absolute;
    width: 2.25px;
    height: 2.25px;
    background: #fff;
    border-radius: 50%;
    animation: lds-default 1.2s linear infinite;
}
.lds-default div:nth-child(1) {
    animation-delay: 0s;
    top: calc(0.375 * 37px);
    left: calc(0.375 * 66px);
}
.lds-default div:nth-child(2) {
    animation-delay: -0.1s;
    top: calc(0.375 * 22px);
    left: calc(0.375 * 62px);
}
.lds-default div:nth-child(3) {
    animation-delay: -0.2s;
    top: calc(0.375 * 11px);
    left: calc(0.375 * 52px);
}
.lds-default div:nth-child(4) {
    animation-delay: -0.3s;
    top: calc(0.375 * 7px);
    left: calc(0.375 * 37px);
}
.lds-default div:nth-child(5) {
    animation-delay: -0.4s;
    top: calc(0.375 * 11px);
    left: calc(0.375 * 22px);
}
.lds-default div:nth-child(6) {
    animation-delay: -0.5s;
    top: calc(0.375 * 22px);
    left: calc(0.375 * 11px);
}
.lds-default div:nth-child(7) {
    animation-delay: -0.6s;
    top: calc(0.375 * 37px);
    left: calc(0.375 * 7px);
}
.lds-default div:nth-child(8) {
    animation-delay: -0.7s;
    top: calc(0.375 * 52px);
    left: calc(0.375 * 11px);
}
.lds-default div:nth-child(9) {
    animation-delay: -0.8s;
    top: calc(0.375 * 62px);
    left: calc(0.375 * 22px);
}
.lds-default div:nth-child(10) {
    animation-delay: -0.9s;
    top: calc(0.375 * 66px);
    left: calc(0.375 * 37px);
}
.lds-default div:nth-child(11) {
    animation-delay: -1s;
    top: calc(0.375 * 62px);
    left: calc(0.375 * 52px);
}
.lds-default div:nth-child(12) {
    animation-delay: -1.1s;
    top: calc(0.375 * 52px);
    left: calc(0.375 * 62px);
}
@keyframes lds-default {
    0%, 20%, 80%, 100% {
        transform: scale(1);
   }
    50% {
        transform: scale(1.375);
   }
}