﻿@import url(Fonts.css);

html {
    overflow-x: hidden;
}

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;
}

h1 {
    font-weight: 700;
    color: white;
    font-size: 300%;
    display: block;
    text-transform: uppercase;
    line-height: 1em;
    margin: 0;
}

    h1 span {
        text-transform: none;
        display: block;
    }

h2 {
    font-weight: 700;
    color: white;
    font-size: 200%;
    display: block;
    line-height: 1em;
    margin: 0 0 0.2em 0;
}

    h2 span {
        text-transform: uppercase;
        display: block;
        line-height: 1.2em;
    }

h3 {
    font-size: 200%;
    font-weight: 700;
    color: #FD8E25;
    margin: 0.5em 0;
    line-height: 1em;
}

h4 {
    font-size: 150%;
    font-weight: 700;
    color: #D77D2F;
    margin: 1em 0;
    line-height: 1em;
}

    h4 span {
        display: block;
    }

h5 {
    font-size: 100%;
    font-weight: 900;
    color: #333333;
    margin: 0;
}

h6 {
    font-size: 100%;
    font-weight: 700;
    color: #343434;
    margin: 2em;
    width: 100%;
    text-align: center;
}

strong {
    font-weight: bold;
}

a {
    text-decoration: none;
}

input[type="text"],
input[type="email"],
textarea {
    display: block;
    font-family: inherit;
    font-size: 120%;
    font-weight: 300;
    text-align: center;
    border: 2px solid #818181;
    border-radius: 1em;
    height: 2.6em;
    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"] {
    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 6em;
    cursor: pointer;
}

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 {
    height: 23em;
    overflow: hidden;
}

    footer div.social {
        position:relative;
        overflow:hidden;
        /*background-color: #FF8E01;
        width: 100%;
        height: 32em;
        border-top: 1px solid #FF8E01;
        border-radius: 50%;
        margin-bottom: -16em;*/
    }
        footer div.social .circle {
            width: 130%;
            height: 85em;
            right: 50%;
            transform: translate(50%,82%);
        }

        footer 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 div.social p span {
                font-size: 130%;
                display: block;
                line-height: 2.5em;
            }

                footer 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 div.social p span img {
                    max-height: 2em;
                    max-width: 2em;
                    margin-top: 0.5em;
                }

                footer div.social p span a:nth-of-type(2) img {
                    margin-top: 0.75em;
                }


    footer div.riferimenti {
        background-color: #282828;
        padding: 1.5em 0;
        z-index: 2;
    }

        footer div.riferimenti p {
            font-family: 'Poppins', sans-serif;
            font-size: 100%;
            color: #F9F9F9;
            width: 100%;
            text-align: center;
        }

            footer div.riferimenti p label {
                margin: 0 1em;
            }

            footer div.riferimenti p span {
                display: block;
                line-height: 1.5em;
            }

            footer div.riferimenti p a {
                margin: 0 1em;
                color: white;
            }

section.descrittiva {
    position: relative;
    background-color: #FFAD00;
    padding: 5em 5em 0.5em 5em;
}

    section.descrittiva h1 {
        width: 8em;
        margin-top: 0;
        line-height: 1em;
    }

    section.descrittiva h2 {
        margin-top: 0;
    }

    section.descrittiva li {
        font-weight: 500;
    }

    section.descrittiva fieldset {
        border: none;
        display: block;
        width: 18em;
        font-weight: 900;
        color: white;
        text-transform: uppercase;
        line-height: 2.5em;
    }

        section.descrittiva fieldset a {
            margin: 0 0em -1em 0;
        }

            section.descrittiva fieldset a img {
                width: 8.8em;
                margin: 0;
            }

    section.descrittiva aside {
        display: block;
        position: absolute;
        right: 7%;
        top: 0;
    }

    section.descrittiva:nth-of-type(2) {
        background-color: white;
        height: 80em;
        padding: 0 0 0 0;
    }

        section.descrittiva:nth-of-type(2) img {
            position: absolute;
            bottom: 0;
            right: 0;
            max-width: 75%;
        }

    section.descrittiva:nth-of-type(3) {
        background-color: white;
        height: 39em;
        padding: 0 0 0 0;
    }

section.aggiuntiva {
    display: block;
    position: absolute;
    width: 54em;
    height: 54em;
    border-radius: 50%;
}

    section.aggiuntiva:nth-of-type(2n) {
        background-color: #FF8E01;
        right: -14em;
    }

    section.aggiuntiva:nth-of-type(2n+1) {
        background-color: #FFAD00;
        left: -14em;
    }

    section.aggiuntiva:nth-of-type(4n) {
        top: 11em;
    }

    section.aggiuntiva:nth-of-type(4n+1) {
        top: 65em;
    }

    section.aggiuntiva:nth-of-type(4n+2) {
        top: 112.5em;
    }

    section.aggiuntiva aside {
        position: absolute;
        width: 19em;
    }

    section.aggiuntiva:nth-of-type(4n) aside {
        top: -4.6em;
        right: 19em;
    }

    section.aggiuntiva:nth-of-type(4n+1) aside {
        top: -23em;
        left: 22em;
    }

    section.aggiuntiva:nth-of-type(4n+2) aside {
        top: 15em;
        left: -26em;
        width: 34em;
    }

    section.aggiuntiva aside img {
        width: 100%;
    }

    section.aggiuntiva div {
        position: absolute;
        width: 22em;
    }

    section.aggiuntiva:nth-of-type(4n) div {
        left: 10.5em;
        bottom: 8em;
    }

    section.aggiuntiva:nth-of-type(4n+1) div {
        left: 21.5em;
        bottom: 20em;
    }

    section.aggiuntiva:nth-of-type(4n+2) div {
        left: 10em;
        top: 15em;
    }


    section.aggiuntiva div h1 {
        margin: 0;
    }

    section.aggiuntiva div p {
        text-align: justify;
    }

    section.aggiuntiva div a {
        display: inline-block;
        font-weight: 700;
        font-size: 125%;
        text-transform: uppercase;
        color: white;
        padding: 0.64em 2.56em;
        border: 2px solid white;
        border-radius: 0.75em;
    }

section.conclusiva {
    position: relative;
    padding: 0;
    width: 100%;
    z-index: 10;
}

    section.conclusiva p {
        position: absolute;
        width: 100%;
        text-align: center;
        top: 41%;
        color: white;
        font-weight: 700;
        font-size: 200%;
        line-height: 1em;
    }

        section.conclusiva p span {
            display: block;
            font-size: 300%;
            line-height: 1em;
        }

    section.conclusiva img {
        width: 100%;
    }

section.spiegazione img {
    width: 100%;
}

section.spiegazione div.testo {
    position: absolute;
    top: 8.5em;
    left: 6em;
    width: 27em;
}

section.spiegazione span {
    font-weight: 300;
    color: white;
    display: block;
    text-align: center;
    position: absolute;
    border-radius: 50%;
    line-height: 1em;
    text-transform: uppercase;
}

    section.spiegazione span:nth-of-type(1) {
        font-size: 250%;
        top: 8.5em;
        left: 8.56em;
        width: 5.34em;
        height: 3.34em;
        opacity: 0.5;
        background-color: #E47708;
        padding: 1.5em 0.5em;
    }

    section.spiegazione span:nth-of-type(2) {
        font-size: 220%;
        top: 5.77em;
        left: 17.13em;
        width: 4.29em;
        height: 2.29em;
        opacity: 0.4;
        background-color: #FBB03B;
        padding: 2em 1em;
    }

    section.spiegazione span:nth-of-type(3) {
        font-size: 100%;
        top: 23.65em;
        left: 49.6em;
        width: 11em;
        height: 11em;
        opacity: 0.6;
        background-color: white;
    }

        section.spiegazione span:nth-of-type(3) img {
            width: 7em;
            position: absolute;
            top: 2.5em;
            left: 2em;
        }

section.vantaggi {
    padding: 2em 9em;
}

section.multidevice header {
    height: 12em;
}

section.multidevice footer {
    position: relative;
    background-color: #FF8E01;
    height: 16em;
    overflow: visible;
}

    section.multidevice footer div {
        position: absolute;
        bottom: 8em;
        left: 50%;
        width: 50em;
        margin-left: -25em;
        text-align: center;
        padding: 0;
    }

section.multidevice .tablet {
    width: 20%;
}

section.multidevice .pc {
    width: 65%;
}

section.multidevice .mobile {
    width: 10%;
}

section.multidevice h1 {
    font-size: 250%;
    text-transform: none;
    position: absolute;
    bottom: 1.2em;
    text-align: center;
    width: 100%;
}

section.wizard {
    padding: 3.5em 10em;
    text-align: center;
}

    section.wizard article {
        display: inline-block;
        margin: 1em;
        width: 9em;
        vertical-align: top;
    }

        section.wizard article div {
            display: block;
            background-color: #F7941E;
            width: 5em;
            height: 5em;
            border-radius: 50%;
            text-align: center;
            margin: auto;
        }

            section.wizard article div img {
                height: 2.5em;
                margin-top: 1.25em;
            }

        section.wizard article label {
            font-size: 100%;
            text-transform: uppercase;
            font-weight: 500;
            color: black;
            text-align: center;
            display: block;
            text-align: center;
            margin-top: 1em;
        }

section.download {
    background-color: #FFAD00;
    padding: 2em;
    text-align: center;
    margin-bottom: 2em;
}

    section.download fieldset {
        border: none;
    }

        section.download fieldset a {
            margin: 0 0.2em;
        }

            section.download fieldset a img {
                width: 8.8em;
                margin: 0;
            }

section.form {
    margin-bottom: 10em;
}

    section.form input[type="email"],
    section.form textarea {
        width: 37em;
    }

    section.form fieldset {
        width: 44.4em;
        border: none;
        margin: 0 auto;
    }

        section.form fieldset p {
            font-size: 80%;
            margin: 0;
            text-align: justify;
        }

            section.form fieldset p.errore {
                text-align: center;
                font-weight: 700;
                color: #D56706
            }

            section.form fieldset p input[type="checkbox"] {
                display: inline-block;
                vertical-align: top;
                font-size: inherit;
                margin: 5px 10px 0 0;
                text-align: left;
            }

            section.form fieldset p label {
                display: inline-block;
                width: 97%;
            }

        section.form fieldset a {
            color: #D56706;
        }

        section.form fieldset span {
            font-weight: 700;
        }

    section.form input[type="submit"] {
        margin: 0 auto;
    }

section.miniGuida h3 {
    color: #F37100;
    width: 28em;
    text-align: center;
    margin: 1em auto;
}

section.miniGuida h4 {
    color: #333333;
    width: 37em;
    text-align: center;
    margin: 1em auto;
    text-transform: uppercase;
}

    section.miniGuida h4 span {
        display: inline;
        color: #D56706;
    }

section.miniGuida h5 {
    font-weight: 500;
    width: 56em;
    text-align: center;
    margin: auto;
    line-height: 1.5em;
}

section.miniGuida div.miniGuida {
    margin: 1em auto;
    width: 40em;
}

    section.miniGuida div.miniGuida div:first-of-type {
        width: 7.8em;
        background-color: #F7941E;
        padding: 2em 1em;
        display: inline-block;
        border-radius: 1em;
    }

    section.miniGuida div.miniGuida div:last-of-type {
        display: inline-block;
        font-size: 200%;
        line-height: 1em;
        width: 14em;
        font-weight: 700;
        color: #333333;
        vertical-align: top;
        padding-left: 0.7em;
    }

    section.miniGuida div.miniGuida div aside {
        display: inline-block;
        height: 7.5em;
        width: 7.5em;
        background-color: white;
        border-radius: 50%;
        margin-bottom: 1em;
        text-align: center;
    }

    section.miniGuida div.miniGuida div img {
        width: 4.5em;
        height: 4.5em;
        margin-top: 1.5em;
    }

    section.miniGuida div.miniGuida label {
        display: block;
        font-family: 'Poppins', sans-serif;
        font-size: 180%;
        font-weight: bold;
        color: white;
        text-align: center;
        margin: auto;
    }

section.miniGuida div.dati {
    width: 51em;
    margin: 3em auto;
}

    section.miniGuida div.dati div:first-of-type {
        width: 30em;
        display: inline-block;
    }

    section.miniGuida div.dati div:last-of-type {
        display: inline-block;
        width: 20em;
    }

    section.miniGuida div.dati h6 {
        margin: 0;
    }

    section.miniGuida div.dati input[type="email"] {
        width: 100%;
    }

section.miniGuida input[type="submit"] {
    padding: 0.6em 2em;
}

section.miniGuida div.dati a {
    color: #F37100;
}

section.miniGuida div.dati fieldset {
    border: none;
    padding: 0.5em 3em;
}

/***** Finestre di dialogo *****/

.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: 4%;
    top: 3%;
    margin-left: 0;
    margin-top: 0;
    padding: 0;
    max-width: 1920px;
}

    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%;
    }
.immagine{
    position: relative;
}
.immagine img{
    width: 100%;
}
.immagine section{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    padding-bottom: 4em;
}
article.home h1{
    margin-bottom: 0.5em;
}
article.home h3 {
    color: #F37100;
}
article.home h5 {
    font-size: 110%;
    font-weight: 700;
    color: #333333;
    margin-top: 1.3em;
}
article.home p{
    margin-top:0;
}
.circle {
    background-color: #FF8E01;
    height: 56em;
    width: 56em;
    border-radius: 50%;
    position: absolute;
    right: 0;
    bottom: 0;
    transform: translate(25%, 45%);
}
article.home section aside picture{
    position:absolute;
}
article.pagina section {
    padding-left: 7%;
    padding-right: 7%;
    padding-top: 1em;
    padding-bottom: 1em;
}
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) h1 {
        color: #FD8E25;
    }
    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(8%, 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.conclusiva {
        padding: 0;
        margin-top: 10em;
    }
    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;
    }
    article.home section.newsletter input[type=submit] {
        border: 0;
        padding: 1em 2em;
        background-color: #F37100;
    }

article.moduli .immagine section{
    top: inherit;
    left:0;
    bottom:0;
    transform: inherit;
}
article.moduli .immagine h1{
    color: white;
}

@media screen and (max-width: 1710px) {
    body {
        font-size: 22px;
    }
}

@media screen and (max-width: 1450px) {
    body {
        font-size: 20px;
    }
}

@media screen and (max-width: 1310px) {
    body {
        font-size: 18px;
    }
}

@media screen and (max-width: 1190px) {
    body {
        font-size: 16px;
    }

    section.form fieldset p label {
        width: 96%;
    }
}

@media screen and (max-width: 1050px) {
    body {
        font-size: 14px;
    }
}

@media screen and (max-width: 920px) {
    body {
        font-size: 12px;
    }

    section.form fieldset p label {
        width: 95%;
    }
}

@media screen and (max-width: 790px) {
    body {
        font-size: 10px;
    }

    section.form fieldset p label {
        width: 94%;
    }
}
