#menu{
    margin-bottom: 0;
    z-index: 1000;
}
    #menu ul{
        margin-left: 24px;
    }

    li.lang-switch{
        margin-left: 15px;
    }
        li.lang-switch a{
            position: relative;
            top: 1px;
            display: block;
            width: 34px;
            height: 19px;
            padding: 0;
            text-align: center;
            font-size: 0.67em;
            line-height: 19px;
            background-color: #756fae;
            color: white;
        }
        
h1.titolo-sezione{
    position: relative;
    display: inline-block;
    margin: 0;
    padding-top: 50px;
    font-family: 'Gotham-bold';
    font-size: 3.9em;
    letter-spacing: -0.02em;
    color: #3a356a;
}

h2.titolo-colonna{
    position: relative;
    display: inline-block;
    margin: 0;
    padding-top: 35px;
    padding-bottom: 10px;
    font-family: 'Gotham-bold';
    font-size: 2.4em;
    line-height: 0.85;
    letter-spacing: -0.05em;
}

    h1.titolo-sezione:after,
    h2.titolo-colonna:after{
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        display: block;
        height: 100%;
        width: 100%;
        background: url(../images/site/pattern_titoli.png) center center repeat;
    }
    h2.titolo-colonna:after{
        background: url(../images/site/pattern_sottotitoli.png) center center repeat;
    }

/* HOME */

#barche{
    position: relative;
    height: 1000px;
    min-height: 500px;
    background-image: url(../images/site/barchette.png);
    background-repeat: repeat-x;
    background-position: center bottom;
    opacity: 0;

    transition: height 0.5s, opacity 0.4s 0.1s;
}
#barche.updated{
    opacity: 1;
}

#barche #contenitore{
    background: none;
}

#barche .contenitore.centrato{
    position: absolute;
    top: 8%;
    left: 50%;
    width: 960px;
    height: 150px;
    margin-left: -480px;
    overflow: hidden;
    z-index: 10;
}

.sliding-text{
    position: absolute;
    width: 100%;
}

.sliding-text-first{
    opacity: 1;
    transform: translateX(0);

    transition: transform 0.6s, opacity 0.6s;
}

.sliding-text-next{
    width: 1px;
    transform: translateX(150px);
    opacity: 0;

    transition: transform 0.6s 0.4s, opacity 0.6s 0.4s;
}

.start-sliding .sliding-text-first{
    transform: translateX(-150px);
    opacity: 0;
}
.start-sliding .sliding-text-first+.sliding-text-next{
    width: 100%;
    transform: translateX(0);
    opacity: 1;
}

#barche .ict-circles-wrapper{
    position: absolute;
    top: 24%;
    left: 50%;
    width: 900px;
    height: 60%;
    margin-left: -450px;
    text-align: center;
    z-index: 15;
}

    #barche .ict-circles-wrapper img{
        display: inline-block;
        width: auto;
        height: inherit;
        margin: 0 30px;
        cursor: pointer;
        object-fit: contain;

        transition: transform 0.2s;
    }
    #barche .ict-circles-wrapper img:hover{
        transform: scale(1.05);
    }

#barche .consulenza{
    position: absolute;
    left: 0;
    bottom: 25%;
    width: 100%;
    padding-top: 90px;
    text-align: center;
    background-color: #9b97c4;
    z-index: 2;
}


.ict-headings{
    margin-bottom: 45px;
}

    .heading-direzione.titolo_bold:after,
    .heading-consulenza.titolo_bold:after{
        content: '';
        display: block;
        position: absolute;
        bottom: -16px;
        width: 60px;
        height: 18px;
    }
    .heading-direzione:after{
        left: 56px;
        background: url(../images/site/freccina_direzione.png) center top no-repeat;
    }
    .heading-consulenza:after{
        right: 56px;
        background: url(../images/site/freccina_consulenza.png) center top no-repeat;
    }

#ict-type-info-wrap{
    height: 955px;
}

.ict-type-info{
    padding-top: 15px;
    opacity: 0;
    transform: scale(0.93) translateY(10px);
}

    .ict-type-info.col1 h2.titolo-colonna{
        color: #dd2f64;
    }
    .ict-type-info.col2 h2.titolo-colonna{
        margin-top: -26px;
        color: #95908c;
    }

    .ict-type-info.reveal{
        opacity: 0.75;
        transform: scale(0.98) translateY(0);
        transition: opacity 1.5s, transform 1.5s;
    }

    .ict-type-info.reveal.highlighted{
        opacity: 1;
        transform: scale(1) translateY(0);
    }

/* COME */

.come-heading{
    position: relative;
    height: 1000px;
    min-height: 200px;
    opacity: 0;

    transition: height 0.5s, opacity 0.4s 0.1s;
}
.come-heading.updated{
    opacity: 1;
}
    .come-heading .contenitore{
        position: absolute;
        top: 50%;
        width: 100%;
        margin-top: -150px;
    }

.title-metodo{
    margin-top: 0;
}
.title-metodo+#freccina{
    margin-bottom: 30px;
}

#come-info{
    height: 840px;
}

.come-steps-animation{
    display: block;
    height: 270px;
    list-style: none;
    margin: 0;
    padding: 0;
}
    .come-steps-animation li{
        display: block;
        height: 270px;
        padding: 0;
        background-repeat: no-repeat;
        opacity: 0;
        transform: translateX(-200px);
    }
    .come-steps-animation.reveal li{
        opacity: 1;
        transform: translateX(0);
    }
    .come-steps-animation li.step-0{
        width: 34%;
        background-position: 5px center;
        transition: transform 0.3s, opacity 0.4s;
    }
    .come-steps-animation li.step-1{
        width: 30%;
        background-position: -313px center;
        transition: transform 0.3s 1.0s, opacity 0.4s 1.0s;
    }
    .come-steps-animation li.step-2{
        width: 33%;
        background-position: -600px center;
        transition: transform 0.3s 2.0s, opacity 0.4s 2.0s;
    }

.come-columns-animation > div{
    opacity: 0;
    transform: translateY(25px);
}
.come-columns-animation.reveal > div{
    opacity: 1;
    transform: translateY(0);
}
/*
.come-columns-animation > div.column-0{
    transition: transform 0.7s 0.3s, opacity 0.7s 0.3s;
}
.come-columns-animation > div.column-1{
    transition: transform 0.7s 1.3s, opacity 0.7s 1.3s;
}
.come-columns-animation > div.column-2{
    transition: transform 0.7s 2.3s, opacity 0.7s 2.3s;
}
*/
.come-columns-animation > div.column-0{
    transition: transform 1.0s, opacity 1.0s;
}
.come-columns-animation > div.column-1{
    transition: transform 1.0s 0.5s, opacity 1.0s 0.5s;
}
.come-columns-animation > div.column-2{
    transition: transform 1.0s 1.0s, opacity 1.0s 1.0s;
}

/* QUANDO */

.quando-heading{
    position: relative;
    height: 1000px;
    min-height: 200px;
    opacity: 0;

    transition: height 0.5s, opacity 0.4s 0.1s;
}
.quando-heading.updated{
    opacity: 1;
}
.quando-heading .contenitore{
        position: absolute;
        top: 50%;
        width: 100%;
        margin-top: -150px;
    }

.title-momenti{
    margin-top: 0;
}

#quando-info{
    height: 660px;
}

.quando-columns-animation div.quando-column{
    opacity: 0;
    transform: translateY(20px);
}
.quando-columns-animation.reveal div.quando-column{
    opacity: 1;
    transform: translateY(0);
}

.quando-columns-animation div.quando-column.column-0{
    transition: transform 1.0s, opacity 1.0s;
}
.quando-columns-animation div.quando-column.column-1{
    transition: transform 1.0s 0.7s, opacity 1.0s 0.7s;
}

    .quando-columns-animation div.quando-column img.quando-circle{
        display: block;
        margin-left: 10px;
        margin-bottom: 40px;
    }

/* PERCHÉ */

.perche-heading{
    position: relative;
    height: 1000px;
    min-height: 420px;
    opacity: 0;

    transition: height 0.5s, opacity 0.4s 0.1s;
}
.perche-heading.updated{
    opacity: 1;
}
.perche-heading .contenitore{
        position: absolute;
        top: 50%;
        width: 100%;
        margin-top: -250px;
    }

.title-numero{
    margin-top: 0;
}

#perche-info{
    height: 610px;
}

.perche-columns-animation div.perche-column{
    opacity: 0;
    transform: translateY(25px);
}
.perche-columns-animation.reveal div.perche-column{
    opacity: 1;
    transform: translateY(0);
}
.perche-columns-animation div.perche-column.column-0{
    transition: transform 1.0s, opacity 1.0s;
}
.perche-columns-animation div.perche-column.column-1{
    transition: transform 1.0s 0.5s, opacity 1.0s 0.5s;
}
.perche-columns-animation div.perche-column.column-2{
    transition: transform 1.0s 1.0s, opacity 1.0s 1.0s;
}
.perche-columns-animation div.perche-column.column-3{
    transition: transform 1.0s 1.5s, opacity 1.0s 1.5s;
}

/* A CHI */

.a-chi-heading{
    position: relative;
    height: 1200px;
    min-height: 200px;
    max-height: 1400px;
    opacity: 0;

    transition: height 0.5s, opacity 0.4s 0.1s;
}
.a-chi-heading.updated{
    opacity: 1;
}
.a-chi-heading .contenitore{
        position: absolute;
        top: 50%;
        width: 100%;
        margin-top: -135px;
    }

#a-chi-info{
    height: 700px;
}

.a-chi-columns-animation div.a-chi-column{
    opacity: 0;
    transform: translateY(25px);
}
.a-chi-columns-animation.reveal div.a-chi-column{
    opacity: 1;
    transform: translateY(0);
}
.a-chi-columns-animation div.a-chi-column.column-0{
    transition: transform 1.0s, opacity 1.0s;
}
.a-chi-columns-animation div.a-chi-column.column-1{
    transition: transform 1.0s 0.4s, opacity 1.0s 0.4s;
}
.a-chi-columns-animation div.a-chi-column.column-2{
    transition: transform 1.0s 0.8s, opacity 1.0s 0.8s;
}

/* CONTATTI */

.contacts-info{
    position: relative;
    top: 25px;
    display: inline-block;
    text-transform: uppercase;
    font-family: 'Gotham-Bold';
    font-size: 2.35em;
    letter-spacing: -0.05em;
}
    .contacts-info:after{
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        display: block;
        height: 100%;
        width: 100%;
        background: url(../images/site/pattern_sottotitoli.png) center center repeat;
    }
.contacts-info.mail-info{
    color: #e13264;
    letter-spacing: -0.05em;
}
.contacts-info.phone-info{
    float: right;
    color: #9e9a92;
}



/****************************
 *
 *       MEDIA QUERIES 
 *
 ****************************/


/* Home */

@media (max-height: 790px){
    #barche .ict-circles-wrapper img{
        width: 170px;
        height: 180px;
    }     
}

@media (max-height: 950px){
    #barche .contenitore.centrato h1{
        font-size: 20px;
    }
    #barche .consulenza{
        font-size: 23px;
    }
}

/* All */

@media (min-height: 1000px){
    #barche,
    .come-heading,
    .quando-heading,
    .perche-heading,
    .a-chi-heading{
        opacity: 1;
        transition: none;
    }

    #barche{
        height: 640px !important;
    }
    #barche .ict-circles-wrapper img{
        width: 220px;
        height: 230px;
    }
    .come-heading{
        height: 300px;
    }
    .quando-heading{
        height: 300px;
    }
    .perche-heading{
        height: 480px;
    }
    .a-chi-heading{
        height: 210px;
    }
}