﻿@import url("https://use.typekit.net/ick2oea.css");


/* /////// GLOBALI /////// */

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

h1,
h2,
h3,
h4,
h5,
h6,
img,
p,
form,
hr {
    margin: 0;
    padding: 0;
    border: 0;
}

html {
    margin: 0;
    padding: 0;
}

body {
    color: white;
    text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
    font-family: 'Impact';
    background: #FFFFFF;
    margin: 0;
    padding: 0;
    font-size: 12px;
    line-height: 16px;
    overflow-x: hidden;
}

body.menuOn {
    overflow: hidden !important;
}

.spacer_10 {
    height: 10px;
    font-size: 1px;
    line-height: 1px;
}

.spacer_20 {
    height: 20px;
    font-size: 1px;
    line-height: 1px;
}

.spacer_30 {
    height: 30px;
    font-size: 1px;
    line-height: 1px;
}

.spacer_40 {
    height: 40px;
    font-size: 1px;
    line-height: 1px;
}

.spacer_50 {
    height: 50px;
    font-size: 1px;
    line-height: 1px;
}

.clear {
    clear: both;
    font-size: 1px;
    line-height: 1px;
    height: 0px;
}

hr {
    background-color: #512838;
    height: 1px;
    border: 0;
    margin: 10px 0;
}

a {
    color: #512838;
    text-decoration: underline;
}

a:hover,
a:active,
a:focus {
    color: #512838;
    text-decoration: none;
}

a:active {
    color: #512838;
    text-decoration: none;
}

a img {
    border: none;
}

embed:focus,
div:focus,
a:focus {
    outline: transparent;
}

*:focus {
    outline: 0;
}

::-webkit-input-placeholder {
    color: #9a9696;
}

:-moz-placeholder {
    /* Firefox 18- */
    color: #9a9696;
}

::-moz-placeholder {
    /* Firefox 19+ */
    color: #9a9696;
}

:-ms-input-placeholder {
    color: #9a9696 !important;
}

input:-ms-input-placeholder {
    color: #9a9696 !important;
}

iframe {
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
    position: absolute;
    top: 30vh;
}

.loading_layer {
    display: block;
    background: #522937;
    width: 100%;
    height: 100%;
    position: fixed;
    z-index: 99999;
    top: 0;
    right: 0;
}

.loading_layer .w {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 170px;
    margin: -85px 0 0 -85px;
}

.loading_layer .w .torre {
    position: relative;
    width: 100%;
    height: 170px;
}

.loading_layer .w .torre img {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    -webkit-border-radius: 100%;
    border-radius: 100%;
}

.loading_layer .w .percent {
    text-align: center;
    color: #FFF;
    font-size: 13px;
    letter-spacing: 2px;
    margin-top: 10px;
}

.menu {
    position: fixed;
    overflow-y: scroll;
    background-color: #000;
    top: 100%;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9;
    -webkit-transition: all 500ms ease-in-out;
    -moz-transition: all 500ms ease-in-out;
    -ms-transition: all 500ms ease-in-out;
    -o-transition: all 500ms ease-in-out;
    transition: all 500ms ease-in-out;
    -webkit-overflow-scrolling: touch;
}

.menu.open {
    top: 0;
}

.menu ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.menu ul li {
    padding: 50px 20px;
    display: inline-block;
    text-align: center;
    width: 100%;
}

.menu .wrapper {
    display: table;
    width: 100%;
    height: 100%;
}

.menu .wrapper .inner {
    text-align: center;
    padding: 140px 20px 100px;
    display: table-cell;
    width: 100%;
    height: 100%;
    vertical-align: middle;
    font-size: 30px;
    line-height: 30px;
}


/* Layout base ******************************************************************************************* */

.main_container {
    position: relative;
    margin: 0 auto;
    background: url(../images/01/bg-grunge.png);
    background-size: 260px;
}

.wrapper {
    max-width: 1440px;
    position: relative;
    margin: 0 0 0 0;
}

.itemAnim {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
}

.faded {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    mask-image: gradient(linear, left top, left bottom, color-stop(10%,rgba(255,255,255,0)), color-stop(50%,rgba(255,255,255,1)), color-stop(50%,rgba(255,255,255,1)), color-stop(90%,rgba(255,255,255,0)));
    -webkit-mask-image: -webkit-gradient(linear, left top, left bottom, color-stop(10%,rgba(255,255,255,0)), color-stop(50%,rgba(255,255,255,1)), color-stop(50%,rgba(255,255,255,1)), color-stop(90%,rgba(255,255,255,0)));
}

.title h1 {
    font-size: 6vw;
    line-height: 100%;
    margin-bottom: 30px;
}

.title p {
    font-size: 3vw;
    line-height: 100%;
}


/* Elementi comuni *************************************************************************************** */

blockquote {
    opacity: 0;
    position: relative;
    padding: 30px 20px;
    text-align: center;
    font-size: 38px;
    line-height: 42px;
    font-weight: 700;
    font-style: italic;
    letter-spacing: 0.5px;
    margin: 50px 0;
    -webkit-transition: opacity 400ms ease-out;
    -moz-transition: opacity 400ms ease-out;
    -ms-transition: opacity 400ms ease-out;
    -o-transition: opacity 400ms ease-out;
    transition: opacity 400ms ease-out;
}

blockquote.visible {
    opacity: 1;
}

blockquote::after,
blockquote::before {
    content: '';
    display: block;
    width: 0%;
    margin: 0 auto;
    height: 2px;
    background-color: #f9d26b;
    -webkit-transition: all 1s ease-out;
    -moz-transition: all 1s ease-out;
    -ms-transition: all 1s ease-out;
    -o-transition: all 1s ease-out;
    transition: all 1s ease-out;
}

blockquote::after {
    margin-top: 60px;
}

blockquote::before {
    margin-bottom: 60px;
}

blockquote.visible::after,
blockquote.visible::before {
    width: 100%;
}

blockquote .ap {
    position: absolute;
    left: 50%;
    font-size: 80px;
    color: #4778c5;
    background-color: #512838;
    line-height: 51px;
    height: 25px;
    width: 100px;
    margin-left: -50px;
    letter-spacing: 6px;
}

blockquote .ap.top {
    top: 15px;
}

blockquote .ap.bot {
    bottom: 15px;
}

blockquote .quote {
    opacity: 0;
    -webkit-transition: opacity 500ms ease-out;
    -moz-transition: opacity 500ms ease-out;
    -ms-transition: opacity 500ms ease-out;
    -o-transition: opacity 500ms ease-out;
    transition: opacity 500ms ease-out;
    -webkit-transition-delay: 800ms;
    transition-delay: 800ms;
}

blockquote.visible .quote {
    opacity: 1;
}

#cursor {
    position: absolute;
    z-index: 100;
    width: 100px;
    margin: -45px 0 0 -45px;
}

.rotate-screen-container {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    display: none;
    z-index: 9999999;
}

.rotate-screen-container .rotate-screen {
    position: relative;
    width: 100%;
    height: 100%;
    display: table;
    background: rgba(0, 0, 0, 0.9);
}

.rotate-screen-container .rotate-screen .lock-icon {
    position: relative;
    width: 81px;
    height: 81px;
    display: table-cell;
    vertical-align: middle;
    background: url("../images/01/lock-icon.png") no-repeat center center;
}

.sidebar {
    position: fixed;
    top: 50%;
    right: -50px;
    z-index: 100;
    -webkit-transition: all 1s ease-in-out;
    -moz-transition: all 1s ease-in-out;
    -ms-transition: all 1s ease-in-out;
    -o-transition: all 1s ease-in-out;
    transition: all 1s ease-in-out;
}

.sidebar.visible {
    right: 50px;
}

.sidebar .bar {
    position: absolute;
    width: 3px;
    height: 300px;
    margin-top: -150px;
}

.sidebar .bar .sect {
    position: absolute;
    width: 3px;
    height: 20%;
    left: 0;
}

.sidebar .bar .sect.s0 {
    top: 0;
}

.sidebar .bar .sect.s1 {
    top: 25%;
}

.sidebar .bar .sect.s2 {
    top: 50%;
}

.sidebar .bar .sect.s3 {
    top: 75%;
}

.sidebar .bar .progress {
    display: block;
    position: absolute;
    width: 3px;
    left: 0;
    background-color: #f9d26b;
    height: 0%;
    max-height: 100%;
}

.sidebar .bar .dot {
    cursor: pointer;
    position: absolute;
    left: 50%;
    margin: -7px 0 0 -7px;
    width: 14px;
    height: 14px;
    background-color: #3f232e;
    -webkit-border-radius: 20px;
    border-radius: 20px;
}

.sidebar .bar .dot.d0 {
    top: 0;
}

.sidebar .bar .dot.d1 {
    top: 25%;
}

.sidebar .bar .dot.d2 {
    top: 50%;
}

.sidebar .bar .dot.d3 {
    top: 75%;
}

.sidebar .bar .dot.d4 {
    top: 100%;
}

.sidebar .bar .dot img {
    cursor: pointer;
    opacity: 0;
    position: absolute;
    width: 14px;
    top: 50%;
    left: 50%;
    margin: -7px 0 0 -7px;
    -webkit-transition: all 400ms ease-in-out;
    -moz-transition: all 400ms ease-in-out;
    -ms-transition: all 400ms ease-in-out;
    -o-transition: all 400ms ease-in-out;
    transition: all 400ms ease-in-out;
}

.sidebar .bar .dot.on img {
    opacity: 1;
    width: 44px;
    margin: -22px 0 0 -22px;
}

/**************************************************************************************
* Header
*/
.header {
    position: relative;
    width: 100%;
    text-align: center;
}

.header .wrapper {
    height: 750px;
    position: relative;
}

.header .title {
    position: absolute;
    top: 20%;
    bottom: auto;
    width: 580px;
    -webkit-transition: top 400ms ease-out;
    -moz-transition: top 400ms ease-out;
    -ms-transition: top 400ms ease-out;
    -o-transition: top 400ms ease-out;
    transition: top 400ms ease-out;
}

.header small {
    letter-spacing: 1px;
    position: absolute;
    bottom: 10px;
    right: 30px;
    margin-left: 220px;
    text-align: right;
    font-size: 12px;
    font-family: 'Roboto Slab';
    font-weight: 400;
    line-height: 20px;
}

.header .bg,
.header .title,
.header small {
    opacity: 0;
}

/**************************************************************************************
* Panel
*/
.panel {
    position: relative;
    width: 100%;
    text-align: center;
    color: #FFF;
    overflow: hidden;
}

.panel .title {
    position: absolute;
    bottom: auto;
    width: 100%;
    top: 20%;
    -webkit-transition: top 400ms ease-out;
    -moz-transition: top 400ms ease-out;
    -ms-transition: top 400ms ease-out;
    -o-transition: top 400ms ease-out;
    transition: top 400ms ease-out;
}

.panel#waterfall .title {
    top: 0px;
    left: 0px;
    width: 100%;
    margin-left: 3vw;
}

.panel small {
    letter-spacing: 1px;
    position: absolute;
    bottom: 10px;
    right: 30px;
    margin-left: 220px;
    text-align: right;
    font-size: 12px;
    font-family: 'Roboto Slab';
    font-weight: 400;
    line-height: 20px;
}

.panel .bg,
.panel .title,
.panel small {}


/* Responsive ******************************************************************************************* */


@media screen and (min-width: 0px) and (max-width: 1280px) {
    .header .title {
        top: 10%;
        width: 100%;
    }
}


@media screen and (min-width: 0px) and (max-width: 600px) {
    .header {
        padding-top: 0px;
    }
    .header .title {
        top: 28%;
        width: 100%;
    }
    .title h1 {
        font-size: 10vw;
        line-height: 100%;
        margin-bottom: 30px;
    }

    .title p {
        font-size: 8vw;
        line-height: 100%;
    }
    .header small {
        bottom: 0;
        right: 0;
        z-index: 1;
        text-align: center;
        width: 100%;
        font-size: 11px;
        line-height: 18px;
    }
    .main_text .wrapper {
        max-width: none;
        padding: 80px 115px;
    }
    .main_text .wrapper p {
        font-size: 16px;
        line-height: 30px;
    }
    .panel#waterfall .title p {
        text-align: center;
    }
    blockquote {
        padding: 15px 10px;
        font-size: 30px;
        line-height: 40px;
        margin: 40px 0;
    }
    blockquote .ap.top {
        top: 2px;
    }
    blockquote .ap.bot {
        bottom: 2px;
    }
    .sidebar .bar {
        height: 260px;
        margin-top: -130px;
    }
    .sidebar .bar .dot.on img {
        width: 36px;
        margin: -18px 0 0 -18px;
    } 
    .panel {
        padding-top: 0px;
    }
    .panel small {
        bottom: 0;
        right: 0;
        z-index: 1;
        text-align: center;
        width: 100%;
        font-size: 11px;
        line-height: 18px;
    }
}