:root {
    --color-green: #16b797;
    --color-grey: #f8f8f8;
    --color-blue: #012f7f;
    --color-grey-dark: #666666;
}

* {
    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;
}


/* === TYPOGRAPHY === */

h1 {
    font-size: 25px;
}

h2 {
    font-size: 28px;
    color: var(--color-green);
}

h3 {
    font-size: 28px;
}

.f24 {
    font-size: 24px;
}

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

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

.f-20 {
    font-size: 20px;
}

.f-19 {
    font-size: 19px;
}

.f-13 {
    font-size: 13px;
}

.f-10 {
    font-size: 9px;
}


/* === COLOR === */

.bg-green {
    background-color: var(--color-green);
}

.bg-grey {
    background-color: var(--color-grey);
}

.bg-blue {
    background-color: var(--color-blue);
}

.color-green {
    color: var(--color-green);
}

.color-grey-dark {
    color: var(--color-grey-dark);
}

.color-blue {
    color: var(--color-blue);
}


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

img.logo {
    width: 400px;
}

.bg-visual {
    width: 100%;
    background-image: url('img_ssm4/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;
}

.separator {
    border-top: 2px solid var(--color-green);
    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%, rgba(246, 254, 253, 1) 100%);
}

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

a.btn-cta {
    color: white;
    background-color: var(--color-green);
    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: 200px;
    display: block;
}

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

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


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

.bg-form {
    background-color: #2c6455;
    padding: 25px;
    width: 400px;
    border-radius: 15px;
}

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

#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-green);
    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_ssm4/scacchi_1-1.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    display: block;
    height: 270px;
}

.img2 {
    background-image: url('img_ssm4/scacchi_1-2.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    display: block;
    height: 270px;
}

.img3 {
    background-image: url('img_ssm4/scacchi_1-3.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    display: block;
    height: 270px;
}

.img4 {
    background-image: url('img_ssm4/scacchi_1-4.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    display: block;
    height: 270px;
}

.img5 {
    background-image: url('img_ssm4/scacchi_2-1.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    display: block;
    height: 270px;
}

.img6 {
    background-image: url('img_ssm4/scacchi_2-2.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    display: block;
    height: 270px;
}

.img7 {
    background-image: url('img_ssm4/scacchi_2-3.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    display: block;
    height: 270px;
}

.img8 {
    background-image: url('img_ssm4/scacchi_2-4.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    display: block;
    height: 270px;
}

.img9 {
    background-image: url('img_ssm4/scacchi_3-1.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    display: block;
    height: 270px;
}

.img10 {
    background-image: url('img_ssm4/scacchi_3-2.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    display: block;
    height: 270px;
}


/*================================ 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;
    }
}

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