﻿@import url(Fonts.css);

body {
    margin: 2.9em 0 0 0;
    font-family: 'MuseoSans', sans-serif;
    font-weight: 300;
    font-size: 26px;
    line-height: 1.1em;
    color: Black;
    text-align: left;
    background-color: white;
    width: 100%;
    position: relative;
    overflow-x: hidden;
}

header.mainTop {
    background-color: white;
    width: 100%;
    font-size: 80%;
    height: 3.65em;
    position: fixed;
    top: 0;
    vertical-align: top;
    z-index: 100;
}

    header.mainTop aside {
        display: inline-block;
        height: 6em;
        width: 6em;
        background-color: white;
        border: 1px solid white;
        border-radius: 50%;
        margin-left: 7%;
    }

        header.mainTop aside input[type="image"] {
            width: 70%;
            margin: 15%;
        }

    header.mainTop span {
        display: inline-block;
        vertical-align: top;
        margin: 1.3em 2em 0 1em;
        text-transform: uppercase;
    }

        header.mainTop span a {
            color: #F37100;
            font-weight: 700;
        }

            header.mainTop span a:hover {
                color: #333333;
            }

nav {
    display: inline-block;
    position: absolute;
    right: 4em;
    top: 1.3em;
    text-transform: uppercase;
}

    nav ul li {
        display: inline-block;
        margin-right: 2em;
    }

        nav ul li a {
            color: inherit;
        }

            nav ul li a:hover {
                color: #F7941E;
            }

footer.masterFooter {
    height: 22em;
    overflow: hidden;
}

    footer.masterFooter div.social {
        position: relative;
        overflow: hidden;
    }

        footer.masterFooter div.social .circle {
            width: 130%;
            height: 85em;
            right: 50%;
            transform: translate(50%,82%);
        }

        footer.masterFooter div.social p {
            position: relative;
            font-size: 120%;
            font-weight: 700;
            color: white;
            display: block;
            width: 50%;
            text-align: center;
            margin: 1.5em auto;
            z-index: 10;
        }

            footer.masterFooter div.social p span {
                font-size: 130%;
                display: block;
                line-height: 2.5em;
            }

                footer.masterFooter div.social p span a {
                    display: inline-block;
                    margin: 1em 0.4em;
                    border: 0.25em solid white;
                    height: 3em;
                    width: 3em;
                    border-radius: 50%;
                    vertical-align: top;
                }

                footer.masterFooter div.social p span img {
                    max-height: 2em;
                    max-width: 2em;
                    margin-top: 0.5em;
                }

                footer.masterFooter div.social p span a:nth-of-type(2) img {
                    margin-top: 0.75em;
                }


    footer.masterFooter div.riferimenti {
        background-color: #282828;
        padding: 1.5em 0;
        z-index: 2;
    }

        footer.masterFooter div.riferimenti p {
            font-family: 'Poppins', sans-serif;
            font-size: 100%;
            color: #F9F9F9;
            width: 100%;
            text-align: center;
        }

            footer.masterFooter div.riferimenti p label {
                margin: 0 1em;
            }

            footer.masterFooter div.riferimenti p span {
                display: block;
                line-height: 1.5em;
            }

            footer.masterFooter div.riferimenti p a {
                margin: 0 1em;
                color: white;
            }

.background {
    background-color: #333333;
    opacity: 0.6;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

section.dialogo {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 27em;
    height: 18em;
    margin-top: -9em;
    margin-left: -13.5em;
    border: 13px solid #E26D38;
    background-color: white;
    text-align: center;
    box-shadow: 10px 10px 15px #333333;
    z-index: 102;
    padding: 0;
}

    section.dialogo header {
        padding: 1em;
    }

        section.dialogo header a {
            position: absolute;
            top: 12px;
            right: 15px;
            color: #333333;
            font-weight: bold;
            font-size: 100%;
        }

        section.dialogo header img {
            height: 3em;
        }

    section.dialogo p {
        margin: 1em 2em;
    }

    section.dialogo footer {
        height: initial;
        position: absolute;
        bottom: 0;
        width: 100%;
        text-align: center;
    }

        section.dialogo footer a {
            color: #FFFEFE;
            background-color: #FF8E01;
            font-family: inherit;
            font-size: 120%;
            font-weight: 700;
            text-transform: uppercase;
            display: block;
            margin: 1em auto;
            border-radius: 1em;
            padding: 0.6em;
            text-align: center;
            width: 7em;
            display: inline-block;
        }

section.privacy {
    width: 90%;
    height: 90%;
    left: 50%;
    top: 50%;
    margin-left: 0;
    margin-top: 0;
    padding: 0;
    max-width: 1920px;
    transform: translate(-50%, -50%);
}

    section.privacy footer a {
        display: inline-block;
        width: 14em;
    }

div.iframe {
    position: absolute;
    top: 5em;
    bottom: 5em;
    left: 3%;
    right: 3%;
}

iframe {
    width: 100%;
    height: 100%;
}

body.privacy {
    color: #333333 !Important;
    background-color: white !Important;
    font-size: 3vh;
}

    body.privacy h1 {
        color: #333333 !Important;
        margin-left: 5px;
        margin-right: 5px;
        font-size: 5vh;
    }


    body.privacy p {
        margin-left: 2%;
        margin-right: 2%;
    }

/*aggiornamento*/
h1 {
    font-weight: 700;
    color: white;
    font-size: 300%;
    line-height: 1em;
    margin: 0 0 1em 0;
}

h2 {
    color: #FD8E25;
    font-weight: 700;
    font-size: 300%;
    line-height: 1em;
    margin: 0 0 1em 0;
}

h3 {
    color: #FD8E25;
    font-weight: 700;
    font-size: 200%;
    line-height: 1em;
    margin: 0 0 0.6em 0;
}

h4 {
    font-weight: 700;
    font-size: 150%;
    line-height: 1em;
    margin: 0;
}

h5 {
    font-weight: 700;
    font-size: 125%;
    line-height: 1em;
    margin: 0;
}

h6 {
    color: #FD8E25;
    font-weight: 700;
    font-size: 110%;
    line-height: 1em;
    margin: 0 0 0.5em 0;
}

p {
    margin: 0 0 1em 0;
}

a {
    text-decoration: none;
}

strong {
    font-weight: bold;
}

input[type="text"],
input[type="email"],
textarea {
    display: block;
    font-family: inherit;
    font-weight: 300;
    font-size: 100%;
    text-align: center;
    border: 2px solid #818181;
    border-radius: 1em;
    height: 2.6em;
    width: 80%;
    margin: 0.5em auto;
    padding: 0 0.5em;
}

textarea {
    height: 9em;
    text-align: left;
    resize: none;
}

    textarea::-webkit-input-placeholder {
        text-align: center;
    }

    textarea:-moz-placeholder {
        /* Firefox 18- */
        text-align: center;
    }

    textarea::-moz-placeholder {
        /* Firefox 19+ */
        text-align: center;
    }

    textarea:-ms-input-placeholder {
        text-align: center;
    }

input[type="submit"] {
    font-family: inherit;
    font-size: 125%;
    font-weight: 700;
    text-transform: uppercase;
    border: 0;
    border-radius: 1em;
    padding: 0.9em 1.5em;
    cursor: pointer;
    background-color: #F37100;
    color: white;
    display: block;
    margin: 0.5em auto;
}

.desktop_only {
    display: initial;
}

.mobile_only {
    display: none;
}

.loader {
    position: fixed;
    background-color: rgb(255,255,255);
    background-color: rgba(255,255,255,0.8);
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    z-index: 250;
    overflow: hidden;
}

    .loader h1 {
        margin-top: 240px;
        font-size: 1.8rem;
        color: #7D8088;
        color: rgb(125, 128, 136);
        text-align: center;
        margin-bottom: 0;
    }

    .loader img {
        position: absolute;
        width: 200px;
        left: 50%;
        margin-left: -100px;
        margin-top: 20px;
    }

    .loader p {
        font-size: 1.6rem;
        color: #7D8088;
        color: rgb(125, 128, 136);
        text-align: center;
    }

a.pulsante {
    color: #FD8E25;
    background-color: white;
    font-family: inherit;
    font-size: 125%;
    font-weight: 700;
    text-transform: uppercase;
    border: 4px solid #FD8E25;
    border-radius: 1em;
    padding: 0.9em 1.5em;
    cursor: pointer;
    display: inline-block;
    text-align: center;
}

label {
    font-size: 80%;
}

fieldset {
    border: none;
}

.immagine {
    position: relative;
    padding: 0 !important;
    margin-top: 3em;
}

    .immagine img {
        width: 100%;
    }

    .immagine div {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%,-50%);
        padding-left: 7%;
        padding-right: 7%;
        text-align: center;
        width: 86%;
    }

        .immagine div h3 {
            margin: 0;
            color: white;
        }

    .immagine span.circle {
        height: 6em;
        width: 6em;
        opacity: 0.7;
        background-color: #E47708;
        color: white;
        font-size: 220%;
        text-align: center;
        line-height: 6em;
        transform: inherit;
    }

.circle {
    background-color: #FF8E01;
    height: 56em;
    width: 56em;
    border-radius: 50%;
    position: absolute;
    right: 0;
    bottom: 0;
    transform: translate(25%, 45%);
}

.pagina section {
    padding-left: 7%;
    padding-right: 7%;
    padding-top: 2em;
    padding-bottom: 2em;
    position: relative;
}

/*Pagina Home*/
article.home section aside picture {
    position: absolute;
}

article.home section {
    padding-top: 4em;
    padding-bottom: 4em;
    position: relative;
}

    article.home section article, article.home section aside {
        width: 47%;
        display: inline-block;
        margin-right: -4px;
        position: relative;
        z-index: 10;
        vertical-align: top;
        padding-right: 3%;
    }

    article.home section:first-of-type {
        background-color: #FFAD00;
        overflow: hidden;
    }

        article.home section:first-of-type article {
            width: 41%;
        }

        article.home section:first-of-type aside {
            width: 53%;
        }

            article.home section:first-of-type aside picture {
                right: 5em;
                top: -1em;
            }

    article.home section:nth-of-type(2) article, article.home section:nth-of-type(2) aside {
        height: 18em;
    }

    article.home section:nth-of-type(2) .pulsante {
        position: absolute;
        bottom: 0;
    }

    article.home section:nth-of-type(3) {
    }

        article.home section:nth-of-type(3) article {
            width: 43%;
        }

        article.home section:nth-of-type(3) aside {
            width: 51%;
        }

        article.home section:nth-of-type(3) .circle {
            left: 0;
            right: inherit;
            transform: translate(-10%, 8%);
            background-color: #FFAD00;
            height: 45em;
            width: 45em;
        }

    article.home section:nth-of-type(4) {
        padding-top: 0;
    }

        article.home section:nth-of-type(4) article {
            width: 51%;
        }

        article.home section:nth-of-type(4) aside {
            width: 43%;
        }

        article.home section:nth-of-type(4) .circle {
            transform: translate(10%, -8%);
            height: 45em;
            width: 45em;
        }

    article.home section fieldset {
        border: none;
        display: block;
        width: 18em;
        font-weight: 900;
        color: white;
        text-transform: uppercase;
        line-height: 2.5em;
        margin-top: 1.3em;
        padding: 0;
    }

        article.home section fieldset a {
            margin: 0 0em -1em 0;
        }

            article.home section fieldset a img {
                width: 8.8em;
                margin: 0;
            }

    article.home section:nth-of-type(5) {
        margin-top: 8em;
    }

        article.home section:nth-of-type(5) h1 {
            margin: 0;
        }

        article.home section:nth-of-type(5) h3 {
            margin: 0;
            color: white;
        }

    article.home section.newsletter article {
        width: 80%;
        margin-left: 10%;
        margin-right: 10%;
        text-align: center;
    }

    article.home section.newsletter input[type=email] {
        width: 70%;
        margin-top: 1em;
        margin-bottom: 1em;
    }

/*Moduli*/
article.moduli header.immagine div {
    top: inherit;
    left: 0;
    bottom: 0;
    transform: inherit;
    text-align: left;
}

article.moduli section a {
    vertical-align: middle;
}

/*Come funziona*/
.flex_container {
    display: flex;
    justify-content: center;
}

    .flex_container > div {
        width: 10em;
        margin: 1em;
        text-align: center;
    }

article.come_funziona header.immagine div {
    left: 0;
    top: 11%;
    text-align: left;
    width: 20em;
    transform: translate(0,0);
}

article.come_funziona header span.circle:first-of-type {
    right: 56%;
    bottom: 26%;
}

article.come_funziona header span.circle:nth-of-type(2) {
    right: 34%;
    bottom: 45%;
    background-color: #FBB03B;
}

article.come_funziona header span.circle:nth-of-type(3) {
    right: 12%;
    bottom: 60%;
}

article.come_funziona header span.circle:nth-of-type(4) {
    right: 18%;
    bottom: 20%;
    opacity: 1;
    background-color: white;
    height: 5em;
    width: 5em;
}

    article.come_funziona header span.circle:nth-of-type(4) img {
        width: 55%;
        position: absolute;
        transform: translate(-50%, 50%);
    }

article.come_funziona section span {
    background-color: #F7941E;
    color: white;
    font-size: 120%;
    height: 5em;
    width: 5em;
    line-height: 5em;
    border-radius: 50%;
    display: inline-block;
    text-align: center;
    margin: 1em;
}

article.come_funziona p img {
    vertical-align: middle;
}

article.come_funziona .mini_guida article, article.come_funziona section aside {
    display: inline-block;
    margin-left: -4px;
    width: 50%;
}

article.come_funziona .mini_guida article {
    text-align: right;
}

    article.come_funziona .mini_guida article:first-of-type {
        width: 39%;
        padding-right: 1%;
        margin-top: 2em;
        margin-bottom: 2em;
    }

        article.come_funziona .mini_guida article:first-of-type img {
            width: 9.4em;
        }

article.come_funziona .mini_guida aside {
    text-align: left;
}

    article.come_funziona .mini_guida aside:first-of-type {
        width: 30%;
        vertical-align: top;
        margin-top: 2em;
        margin-bottom: 2em;
    }

        article.come_funziona .mini_guida aside:first-of-type h4 {
            margin-bottom: 1em;
        }

        article.come_funziona .mini_guida aside:first-of-type .pulsante {
            display: block;
            width: 60%;
        }

article.come_funziona section:nth-of-type(4) img, article.come_funziona section:nth-of-type(5) img {
    vertical-align: top;
}

/*Aiuto*/
article.aiuto header.immagine div {
    top: 11%;
    left: 0;
    text-align: left;
    width: 20em;
    transform: translate(0, 0);
}

article.aiuto header.immagine span.circle {
    font-size: 570%;
    font-weight: bold;
    opacity: 1;
    height: 2em;
    width: 2em;
    line-height: 2em;
    background-color: #FF8E01;
    right: 20%;
    bottom: 28%;
}

article.aiuto section {
    text-align: center;
}

    article.aiuto section fieldset {
        width: 80%;
        margin: auto;
    }

        article.aiuto section fieldset p.errore {
            margin: 0;
        }

    article.aiuto section input[type=submit] {
        width: 20em;
    }

/*Video*/
article.video header {
    background-color: #FEAD29;
    padding: 4em 0 2em 7%;
}

    article.video header h3 {
        color: white;
        margin: 0;
    }

article.video section div {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

    article.video section div > article {
        width: 20em;
        height: 12em;
        margin-top: 2em;
        margin-bottom: 4em;
    }

article.freetool header {
    background-color: #FEAD29;
    padding: 4em 0 2em 7%;
}

    article.freetool header h3 {
        color: white;
        margin: 0;
    }
    article.freetool header h5 {
        color: white;
    }

article.freetool section {
    text-align: center;
}
    article.freetool section p{
        font-size: 120%;
        margin: 2em 0em;
    }
    article.freetool section div p {
        font-size: 100%;
        margin: 0em;
    }
article.freetool section p b{
    display: block;
}

    article.freetool section table {
        margin-top: 1em;
        margin-left: 50%;
        transform: translate(-50%, 0);
    }

    article.freetool section.download {
    }

        article.freetool section.download h5 {
            color: #FF8E01;
            margin-top:2em;
            margin-bottom:0.3em;
        }
        article.freetool section.download p {
            margin:0;
            margin-bottom: 1em;
        }
        article.freetool section.download a img{
            max-height: 46px;
        }
/*mobile*/
@media screen and (max-width: 330px) {
    body {
        font-size: 16px;
    }

    header.mainTop a.icon {
        top: 16px;
    }
}

@media screen and (max-width: 380px) and (min-width: 331px) {
    body {
        font-size: 18px;
    }

    header.mainTop a.icon {
        top: 18px;
    }
}

@media screen and (max-width:400px) and (min-width: 381px) {
    body {
        font-size: 20px;
    }

    header.mainTop a.icon {
        top: 20px;
    }
}

@media screen and (max-width:929px) and (min-width: 401px) {
    body {
        font-size: 18px;
    }

    header.mainTop a.icon {
        top: 18px;
    }
}
/*specifico basse risoluzioni portrait*/

@media screen and (max-width:929px) and (orientation: portrait) {
    /*.desktop_only {
        display: none;
    }

    .mobile_only {
        display: initial;
    }

    .pagina {
        overflow-x: hidden;
    }

    .pagina section {
            padding-left: 3%;
            padding-right: 3%;
        }

    .immagine div {
        padding-left: 3%;
        padding-right: 3%;
    }*/

    /*section article, section aside {
        width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-top: 1em;
        padding-bottom: 1em;
    }*/

    input[type=submit], a.pulsante, input[type="text"], input[type="email"], textarea {
        width: 100% !important;
        display: block;
        box-sizing: border-box;
    }

    /*input[type=checkbox] {
        transform: scale(2.5);
        margin: 0 1.5em;
    }

    h1 {
        font-size: 277%;
        margin: 0 0 0.5em 0;
    }

    h2 {
        font-size: 222%;
        margin: 0;
    }

    h3 {
        font-size: 138%;
    }*/

    .circle {
        transform: translate(20%, 55%);
    }

    .immagine {
        margin-top: 0;
    }

        .immagine img {
            width: initial;
            height: 26em;
            transform: translate(-34%, 0);
        }

    a.pulsante {
        padding: 0.9em 0;
    }

    .flex_container {
        flex-wrap: wrap;
    }

        .flex_container > div {
            width: 46%;
            margin: 1%;
        }

    /*header.mainTop {
        height: 5em;
    }

        header.mainTop aside {
            margin-left: 0%;
            margin-top: 0.5em;
        }

        header.mainTop span {
            width: 50%;
            margin-left: 0.2em;
            margin-right: 0;
        }

        header.mainTop a.icon {
            font-size: 360%;
            position: fixed;
            right: 3%;
            text-decoration: none;
            color: #D87C30;
        }

    nav {
        right: 0;
        top: 5em;
        width: 100%;
        text-align: right;
        z-index: -1;
    }

        nav ul li {
            display: block;
            margin-right: 3%;
            margin-left: 3%;
            padding-top: 0.5em;
            padding-bottom: 0.5em;
            font-size: 130%;
            border-bottom: 1px solid lightgray;
        }

    #mnuMaster {
        display: none;
        width: 100%;
        background-color: white;
        padding: 1em 0;
    }

        #mnuMaster ul {
            width: 100% !important;
        }*/

    /*footer.masterFooter div.social .circle {
        width: 70em;
        height: 70em;
        transform: translate(50%,82%);
    }

    footer.masterFooter div.social p {
        width: 100%;
    }

        footer.masterFooter div.social p span a {
            margin: 0.5em 0.4em;
            height: 2.5em;
            width: 2.5em;
        }

        footer.masterFooter div.social p span img {
            max-height: 1.5em;
            max-width: 1.5em;
        }

    article.home section {
        padding-top: 1em;
        padding-bottom: 1em;
    }

        article.home section aside picture {
            position: initial;
        }*/

    article.home section aside picture img {
        width: 90%;
    }
    /*

        article.home section:first-of-type {
            padding-top: 3em;
        }

            article.home section:first-of-type aside {
                text-align: center;
            }

        article.home section:nth-of-type(2) article, article.home section:nth-of-type(2) aside {
            height: initial;
        }

        article.home section:nth-of-type(2) .pulsante {
            position: initial;
            margin-top: 1.5em;
        }
*/
    article.home section:nth-of-type(3) {
        margin-top: 3em;
    }

        article.home section:nth-of-type(3) aside {
            text-align: center;
            margin-top: 4em;
        }

        article.home section:nth-of-type(3) .circle {
            top: 40%;
            left: 50%;
            transform: translate(-50%, -50%);
            height: 48em;
            width: 48em;
        }

    article.home section:nth-of-type(4) {
        margin-top: 4em;
        margin-bottom: 20em;
    }

        article.home section:nth-of-type(4) .circle {
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            height: 35em;
            width: 35em;
        }

        article.home section:nth-of-type(4) article {
            position: absolute;
            bottom: -75%;
            text-align: center;
        }

            article.home section:nth-of-type(4) article img {
                width: 56%;
            }

    article.moduli .immagine {
        background-color: #FFAD00;
    }

    article.moduli h3 {
        font-size: 210%;
    }

    article.moduli .immagine img {
        width: 100%;
        height: initial;
        transform: initial;
        padding-top: 1em;
        padding-bottom: 4em;
    }

    article.moduli section {
        padding-top: 0;
        padding-bottom: 1em;
    }

        article.moduli section a.pulsante {
            margin-top: 1.5em;
            margin-bottom: 1.8em;
        }

    article.moduli a img {
        width: 49%;
    }

    article.come_funziona section {
        padding-top: 1em;
        padding-bottom: 1em;
    }

    article.come_funziona .immagine img {
        transform: translate(-18%,0);
    }

    article.come_funziona header span.circle:nth-of-type(4) {
        right: 12%;
        bottom: 9%;
        height: 3em;
        width: 3em;
    }

        article.come_funziona header span.circle:nth-of-type(4) img {
            height: initial;
        }

    article.come_funziona section span {
        display: block;
    }

    /*article.come_funziona .mini_guida article:first-of-type {
        margin-top: 0;
        margin-bottom: 0;
    }

    article.come_funziona .mini_guida article {
        text-align: center;
    }

        article.come_funziona .mini_guida article:first-of-type img {
            width: initial;
        }

    article.come_funziona .mini_guida aside:first-of-type {
        text-align: center;
        margin-top: 0em;
    }

    article.come_funziona section picture img {
        width: 100%;
    }*/

    article.video header {
        font-size: 170%;
    }

    article.aiuto header.immagine span.circle {
        font-size: 340%;
    }

    article.aiuto section h1 {
        color: #FD8E25;
        text-align: left;
    }

    article.aiuto section h3 {
        margin: 0;
        text-align: left;
    }
}

/*specifico basse risoluzioni landscape*/

@media screen and (max-width:929px) and (orientation: landscape) {
    footer.masterFooter {
        height: 20em;
    }

    .pagina section {
        padding-top: 0em;
        padding-bottom: 1em;
    }

    article.home section aside picture img {
        width: 40%;
    }

    article.home section:nth-of-type(3) {
        margin-top: 1em;
    }

        article.home section:nth-of-type(3) aside {
            text-align: center;
            margin-top: 1em;
        }

        article.home section:nth-of-type(3) .circle {
            top: 45%;
            left: 50%;
            transform: translate(-50%, -50%);
            height: 37em;
            width: 75em;
        }

    article.home section:nth-of-type(4) article img {
        width: 30%;
    }

    article.home section:nth-of-type(4) article {
        position: absolute;
        bottom: -65%;
        left: 25%;
        text-align: center;
    }

    article.home section:nth-of-type(4) .circle {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        height: 30em;
        width: 65em;
    }

    article.home section:nth-of-type(4) {
        margin-top: 4em;
        margin-bottom: 14em;
    }

    article.moduli a.pulsante {
        display: block;
    }

    article.moduli a img {
        margin-top: 0.5em;
        width: 24%;
    }

    article.come_funziona .mini_guida aside:first-of-type .pulsante {
        display: inline-block;
        width: 50%;
    }

    article.aiuto section h1 {
        color: #FD8E25;
        text-align: center;
    }

    article.aiuto section h3 {
        margin: 0;
        text-align: center;
    }
}

/*comune basse risoluzioni portrait e landscape*/

@media screen and (max-width:929px) {

    .desktop_only {
        display: none;
    }

    .mobile_only {
        display: initial;
    }

    .pagina {
        overflow-x: hidden;
    }

        .pagina section {
            padding-left: 3%;
            padding-right: 3%;
        }

    .immagine div {
        padding-left: 3%;
        padding-right: 3%;
    }

    h1 {
        font-size: 277%;
        margin: 0 0 0.5em 0;
    }

    h2 {
        font-size: 222%;
        margin: 0;
    }

    h3 {
        font-size: 138%;
    }

    header.mainTop {
        height: 5em;
    }

        header.mainTop aside {
            margin-left: 0%;
            margin-top: 0.5em;
        }

        header.mainTop span {
            width: 50%;
            margin-left: 0.2em;
            margin-right: 0;
        }

        header.mainTop a.icon {
            font-size: 360%;
            position: fixed;
            right: 3%;
            text-decoration: none;
            color: #D87C30;
        }

    nav {
        right: 0;
        top: 5em;
        width: 100%;
        text-align: right;
        z-index: -1;
    }

        nav ul li {
            display: block;
            margin-right: 3%;
            margin-left: 3%;
            padding-top: 0.5em;
            padding-bottom: 0.5em;
            font-size: 130%;
            border-bottom: 1px solid lightgray;
        }

    #mnuMaster {
        display: none;
        width: 100%;
        background-color: white;
        padding: 1em 0;
    }

        #mnuMaster ul {
            width: 100% !important;
        }

    section article, section aside {
        width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-top: 1em;
        padding-bottom: 1em;
    }

    input[type=checkbox] {
        transform: scale(2.5);
        margin: 0 1.5em;
    }

    footer.masterFooter div.social .circle {
        width: 70em;
        height: 70em;
        transform: translate(50%,82%);
    }

    footer.masterFooter div.social p {
        width: 100%;
    }

        footer.masterFooter div.social p span a {
            margin: 0.5em 0.4em;
            height: 2.5em;
            width: 2.5em;
        }

        footer.masterFooter div.social p span img {
            max-height: 1.5em;
            max-width: 1.5em;
        }

    article.home section {
        padding-top: 1em;
        padding-bottom: 1em;
    }

        article.home section aside picture {
            position: initial;
        }

        article.home section:first-of-type {
            padding-top: 3em;
        }

            article.home section:first-of-type aside {
                text-align: center;
            }

        article.home section:nth-of-type(2) article, article.home section:nth-of-type(2) aside {
            height: initial;
        }

        article.home section:nth-of-type(2) .pulsante {
            position: initial;
            margin-top: 1.5em;
        }

    article.come_funziona .mini_guida article:first-of-type {
        margin-top: 0;
        margin-bottom: 0;
    }

    article.come_funziona .mini_guida article {
        text-align: center;
    }

        article.come_funziona .mini_guida article:first-of-type img {
            width: initial;
        }

    article.come_funziona .mini_guida aside:first-of-type {
        text-align: center;
        margin-top: 0em;
    }

    article.come_funziona section picture img {
        width: 100%;
    }
}

/*desktop*/

@media screen and (max-width: 1180px) and (min-width: 930px) {
    body {
        min-width: 950px;
        font-size: 19px;
    }

    article.home section:first-of-type aside picture {
        right: 1em;
    }

    header.mainTop aside {
        margin-left: 1%;
    }

    nav {
        right: 1%;
    }

        nav ul li {
            margin-right: 0.6em;
        }

    article.home section:nth-of-type(4) {
        padding-top: 4em;
    }

        article.home section:nth-of-type(4) .circle {
            transform: translate(30%, -30%);
        }

    .pagina section {
        padding-left: 1%;
        padding-right: 1%;
    }

    .immagine div {
        padding-left: 1%;
        padding-right: 1%;
    }

    article.home section:nth-of-type(3) .circle {
        transform: translate(-30%, 5%);
    }

    article.home section:nth-of-type(2) article, article.home section:nth-of-type(2) aside {
        height: 21em;
    }

    article.come_funziona header span.circle:first-of-type {
        right: 56%;
        bottom: 7%;
    }

    article.come_funziona header span.circle:nth-of-type(2) {
        right: 32%;
        bottom: 37%;
    }

    article.come_funziona header span.circle:nth-of-type(3) {
        right: 7%;
        bottom: 60%;
    }

    article.come_funziona header span.circle:nth-of-type(4) {
        right: 18%;
        bottom: 6%;
    }
}

@media screen and (max-width: 1420px) and (min-width: 1180px) {
    body {
        font-size: 20px;
    }

    header.mainTop aside {
        margin-left: 2%;
    }

    nav {
        right: 2%;
    }

        nav ul li {
            margin-right: 1em;
        }

    article.home section:nth-of-type(4) {
        padding-top: 4em;
    }

        article.home section:nth-of-type(4) .circle {
            transform: translate(14%, -30%);
        }

    .pagina section {
        padding-left: 2%;
        padding-right: 2%;
    }

    .immagine div {
        padding-left: 2%;
        padding-right: 2%;
    }

    article.home section:nth-of-type(3) .circle {
        transform: translate(-20%, 8%);
    }
}

@media screen and (max-width: 1600px) and (min-width: 1421px) {
    body {
        font-size: 22px;
    }

    article.home section:nth-of-type(4) {
        padding-top: 4em;
    }

        article.home section:nth-of-type(4) .circle {
            transform: translate(10%, -20%);
        }
    /*.pagina section {
        padding-left: 2%;
        padding-right: 2%;
    }*/

    /*article.home section:nth-of-type(2) article, article.home section:nth-of-type(2) aside {
        height: 21em;
    }

    article.home section:nth-of-type(3) .circle {
        transform: translate(-30%, 8%);
    }

    article.home section:nth-of-type(4) .circle {
        transform: translate(30%, -8%);
    }*/

    /*.immagine div {
        padding-left: 2%;
        padding-right: 2%;
    }*/
}

@media screen and (max-width: 1820px) and (min-width: 1601px) {
    body {
        font-size: 24px;
    }
    /*.pagina section {
        padding-left: 5%;
        padding-right: 5%;
    }*/

    /*article.home section:nth-of-type(3) .circle {
        transform: translate(-19%, 8%);
    }

    article.home section:nth-of-type(4) .circle {
        transform: translate(19%, -8%);
    }*/

    /*.immagine div {
        padding-left: 5%;
        padding-right: 5%;
    }*/
}

@media screen and (min-width: 1921px) {
    .pagina section {
        padding-left: 12%;
        padding-right: 12%;
    }

    article.home section:nth-of-type(3) {
        padding-top: 6em;
    }

        article.home section:nth-of-type(3) .circle {
            height: 47em;
            width: 47em;
        }

    article.home section:nth-of-type(4) .circle {
        height: 47em;
        width: 47em;
    }

    .immagine div {
        padding-left: 12%;
        padding-right: 12%;
    }
}


@media screen and (min-width: 2101px) {

    article.home section:nth-of-type(3) {
        padding-top: 8em;
    }

        article.home section:nth-of-type(3) .circle {
            height: 50em;
            width: 50em;
        }

    article.home section:nth-of-type(4) .circle {
        height: 50em;
        width: 50em;
    }
}

@media screen and (min-width: 2401px) {
    body {
        font-size: 30px;
    }

    article.home section article, article.home section aside {
        margin-right: -6px;
    }

    article.come_funziona .mini_guida article, article.come_funziona section aside {
        margin-left: -6px;
    }

    article.home section:nth-of-type(3) .circle {
        transform: translate(-8%, 10%);
        height: 48em;
        width: 48em;
    }

    article.home section:nth-of-type(4) .circle {
        transform: translate(8%, -2%);
        height: 48em;
        width: 48em;
    }
}

@media screen and (min-width: 2570px) {
    body {
        font-size: 33px;
    }

    article.home section:nth-of-type(3) .circle {
        transform: translate(-8%, 8%);
        height: 46em;
        width: 46em;
    }

    article.home section:nth-of-type(4) .circle {
        transform: translate(8%, -2%);
        height: 46em;
        width: 46em;
    }
}

@media screen and (min-width: 2700px) {
    body {
        font-size: 33px;
    }

    article.home section:nth-of-type(3) .circle {
        transform: translate(-6%, 10%);
        height: 48em;
        width: 48em;
    }

    article.home section:nth-of-type(4) .circle {
        transform: translate(6%, 3%);
        height: 48em;
        width: 48em;
    }
}

@media screen and (min-width: 3000px) {

    article.home section:nth-of-type(3) .circle {
        transform: translate(0, 10%);
        height: 49em;
        width: 49em;
    }

    article.home section:nth-of-type(4) .circle {
        transform: translate(0, 3%);
        height: 49em;
        width: 49em;
    }
}

@media screen and (min-width: 3200px) {
    .pagina section {
        padding-left: 16%;
        padding-right: 16%;
    }

    article.home section:nth-of-type(3) .circle {
        transform: translate(3%, 12%);
        height: 49em;
        width: 49em;
    }

    article.home section:nth-of-type(4) .circle {
        transform: translate(-10%, 3%);
        height: 49em;
        width: 49em;
    }

    .immagine div {
        padding-left: 16%;
        padding-right: 16%;
    }
}

@media screen and (min-width: 3500px) {
    body {
        font-size: 36px;
    }

    article.home section:nth-of-type(3) .circle {
        transform: translate(12%, 8%);
        height: 46em;
        width: 46em;
    }

    article.home section:nth-of-type(4) .circle {
        transform: translate(-19%, 6%);
        height: 46em;
        width: 46em;
    }
}
