* {
    margin: 0;
    padding: 0;
}

html,
body {
    overflow: hidden;
    font-family: 'Roboto', sans-serif;
    -webkit-text-size-adjust: 100%
}

.container {
    position: absolute;
    top: 50px;
    left: 0;
    outline: none;
    display: block;
}

.interface {
    position: absolute;
    width: 100%;
    height: 100%;
    outline: none;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.webgl {
    width: 100%;
    height: 100%;
    z-index: 1;
}

.toolbar {
    position: absolute;
    bottom: 20px;
    right: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.button {
    border: 0px;
    box-shadow: rgba(0, 0, 0, 0.1) 1px 2px 4px;
    box-sizing: border-box;
    cursor: pointer;
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    background: #fff;
    line-height: 1em;
    outline: 0;
    pointer-events: auto;
    transition: cubic-bezier(0.075, 0.82, 0.165, 1) 0.75s;
    border-radius: 100%;
    padding: 0;
    margin: 0 8px;
    width: 40px;
    height: 40px;
}

.button:hover {
    transform: scale(1.2);
}

.button.back-button, .button.back-button-map, .back-button-info {
    height: 50px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 66px;
    color: #1F4C65;
    padding: 0 12px 0 6px;
    display: flex;
    align-items: center;
    position: absolute;
    top: 30px;
    left: 16px;
    width: auto;
    z-index: 999;
}


.button:hover .icon {
    background: rgba(204, 74, 0, .7);
}

.button.detail-button {
    position: absolute;
    top: calc(50% - 20px);
    left: calc(90% - 20px);
    border-radius: 100%;
    padding: 0;
    margin: 0;
    width: 40px;
    height: 40px;
}

.icon {
    background: rgba(204, 74, 0, 1);
    border-radius: 60px;
    font-size: 14px;
    height: 40px;
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 6px;
}

.button.close-button {
    position: absolute;
    top: -20px;
    right: -20px;
    border-radius: 100%;
    padding: 0;
    margin: 0;
    width: 40px;
    height: 40px;
    z-index: 1002;
}

.button.info-button .icon,
.button.map-button .icon,
.button.fullscreen-button .icon {
    border: 1px solid #fff;
}

.icon svg {
    width: 20px;
    height: 20px;
    fill: #ffffff;
}

.button.map-button .icon svg, .button.info-button .icon svg {
    width: 20px;
    height: 24px;
}

.button.map-button.active .icon, .button.info-button.active .icon {
    transform: scale(1.45);
    background: #fff;
    border-color: #CC4A00;
}

.button.map-button.active .icon svg .rd0, .button.info-button.active .icon svg path {
    fill: #CC4A00 !important;
}

.button.active:hover {
    transform: none;
}

.button.detail-button .icon svg {
    width: 16px;
    height: 16px;
}


.map-detail, .info-detail {
    background: #fff;
    position: absolute;
    top: 50px;
    height: calc(100% - 50px);
    width: 100%;
    box-sizing: border-box;
    pointer-events: auto;
}

.map-picture {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px 0;
}

.map-picture svg {
    max-width: 590px;
    width: 100%;
}

.map-title {
    position: absolute;
    left: 30px;
    top: 150px;
    color: #CC4A00;
    font-size: 24px;
}

.map-names {
    color: #1F4C65;
    line-height: 1.4em;
    font-size: 15px;
    font-weight: 300;
    display: flex;
    justify-content: space-between;
    padding: 0 30px 60px;
}

.sala {
    column-count: 2;
    column-gap: 20px;
    display: none;
    width: 100%;
}

.sala.show {
    display: block;
}


.sala h3 {
    column-span: all;
    font-size: 21px;
    margin-bottom: 10px;
}

.sala div span {
    color: #CC4A00;
    font-weight: bold;
}

/* Picture focus */
.picture-focus {
    position: absolute;
    top: 50px;
    height: calc(100% - 50px);
    width: 100%;
}

/* Picture detail */
.picture-detail {
    /* display: flex; */
    max-width: 450px;
    max-height: 450px;
    box-sizing: border-box;
    position: relative;
    left: 25vw;
}


.close-button {
    align-self: end;
}

.caption {
    font-family: 'Roboto', sans-serif;
    background-color: #fff;
    font-weight: 300;
    line-height: 1.5em;
    width: 100%;
    height: 450px;
    color: #1F4C65;
    padding: 24px;
    pointer-events: auto;
    overflow-y: scroll;
    box-sizing: border-box;
}

.caption::-webkit-scrollbar, .info-content::-webkit-scrollbar, .map-content::-webkit-scrollbar {
    width: 4px;
}

.caption::-webkit-scrollbar-track, .info-content::-webkit-scrollbar-track, .map-content::-webkit-scrollbar-track {

}

.caption::-webkit-scrollbar-thumb, .info-content::-webkit-scrollbar-thumb, .map-content::-webkit-scrollbar-thumb {
    background-color: #ccc;
    outline: none;
}

.heading {
    border-left: 3px solid #CC4A00;
    padding-left: 10px;
}
.premio {
    margin-bottom: 20px;
}

.photo-premio {
    margin-left: 7px;
    padding: 7px 17px;
    background-color: #cc4a00;
    border-radius: 16px;
    color: #fff;
    font-size: 17px;
}

.photo-title {
    color: #CC4A00;
    font-size: 24px;
    font-weight: 600;
    padding: 7px 0;
}

.caption-content {
    padding: 10px 0 0 12px;
    font-size: 15px;
}


#picture {
    display: none;
    width: 100%;
    height: 100%;
    grid-area: content;
    margin: auto;
    object-fit: contain;
}

/* Menu */
.menu {
    position: absolute;
    display: flex;
    top: 0%;
    width: 100%;
    height: 50px;
    left: 0%;
    background: #CC4A00;
    z-index: 999;
}

.menu-items {
    position: relative;
    display: flex;
}

.menu-items li {
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    text-align: center;
    font-family: 'Roboto', sans-serif;
    font-weight: 400 !important;
    list-style-type: none;
    margin: 12px 30px;
    padding: 3px 0;
    display: flex;
    cursor: pointer;
    pointer-events: auto;
}

.menu-items li.active, .menu-items li:hover {
    border-bottom: 1px solid #fff;
}

/* Intro */

.intro, .force-landscape {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-image: url(assets/images/b4035bd1969dfaf4.jpg);
    background-size: cover;
    background-position: center center;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    padding: 20px;
    box-sizing: border-box;
}

.force-landscape {
    background-image: none;
    background-color: rgba(0, 0, 0, .85);
    color: #fff;
    z-index: 1100;
    position: fixed;
}

.force-landscape img {
    max-width: 70%;
    height: auto;
}

.force-landscape h2 {
    margin-bottom: 10px;
    font-size: 25px;
}

.force-landscape p {
    text-align: center;
    line-height: 1.4em;
}


.intro .box {
    min-width: 100%;
    min-height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    backdrop-filter: blur(10px);
}

.intro.clicked {
    animation: shrink 4s steps(75);
}

@keyframes shrink {
    0% {
        transform: scale(1.0)
    }
    100% {
        transform: scale(2.0);
        opacity: 0;
    }
}


.intro h2 {
    color: #fff;
    font-size: 60px;
    font-weight: 700;
    text-align: center;
    line-height: 1.2em;
    z-index: 100;
}

.intro p {
    color: #fff;
    margin: 20px 0 0 0;
    font-size: 15px;
    line-height: 1.5em;
    text-align: center;
    z-index: 100;
}

.enter-button, .stbtn {
    background: #CC4A00;
    transition: cubic-bezier(0.075, 0.82, 0.165, 1) 0.75s;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 130px;
    height: 40px;
    cursor: pointer;
    z-index: 100;
    margin-top: 5px;
    border: 0;
}

.stbtn {
    column-span: all;
    display: flex;
    justify-content: center;
    margin: 20px auto;
}

.enter-button.disabled {
    background: #b6a097;
    cursor: default;

}

.enter-button:hover {
    transform: scale(1.2);
}

.enter-button.disabled:hover {
    transform: none;
}


.hidden {
    display: none;
}

.show-flex {
    display: flex;
}

.info-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 90px 30px 120px;
    max-height: calc(100% - 200px);
    margin: 0 -30px;
    position: absolute;
    top: 50%;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

.info-content .terna,
.info-content .terna-cult,
.info-content .premio-driving,
.info-content .come-funziona {
    width: calc(50% - 60px);
    color: #1F4C65;
    font-weight: 300;
    line-height: 1.5em;
    font-size: 15px;
    padding: 30px;
    position: relative;
}



.info-content .terna-cult,
.info-content .come-funziona {
    margin-right: 30px;
    width: calc(50% - 90px);
}

.info-content .terna-cult {
    padding-top: 77px;
}

.info-content h2 {
    color: #CC4A00;
    padding: 0 0 15px 0;
    line-height: 1.2em;
}

.info-content img {
    max-width: 130px;
    margin-bottom: 10px;
    display: block;
}

/*.info-content .logo-driving, .info-content .logo-terna-cult {
    max-width: 130px;
    position: absolute;
    right: 50px;
    top: 30px;
}*/

.info-content .logo-terna-cult {
    top: -9px;
    position: absolute;
}


.info-content .come-funziona {
    background: #CC4A00;
    color: #fff;
}

.info-content .come-funziona h2 {
    color: #fff;
}

@media screen and (min-width: 1281px) {
    .map-picture svg {
        max-width: 50% !important;
    }

    .map-picture {
        margin-top: 80px;
    }
}

@media screen and (max-width: 990px) {
    .info-content .logo-driving, .info-content .logo-terna-cult {
        position: relative !important;
        right: initial;
        top: initial;
    }

    .info-content .logo-terna-cult {
      padding-top: 0;
    }

    .info-content .terna-cult {
      margin-top: -80px;
    }

    .info-content .terna div {
        margin-bottom: 18px;
    }


}

/* Smartphones and touchscreens */
@media screen and (max-width: 900px) {
    .menu-items li:active {
        background-color: rgba(0, 0, 0, .15);
    }

    .picture-detail {
        /* display: flex; */
        max-width: 88%;
        max-height: 80%;
        box-sizing: border-box;
        position: relative;
        left: 0;
        z-index: 9999;

    }

    .caption {
        max-height: 550px;
        height: calc(100% - 48px);
    }

    .intro h2 {
        font-size: 40px;
    }

    .map-title {
        position: relative;
        margin-top: 60px;
        top: 0;
        left: 0;
        text-align: center;
    }

    .map-names {
        flex-direction: column;
    }

    .sala {
        margin-bottom: 40px;
    }

    .map-picture {
        margin: 10px auto;
        max-width: 90%;
    }

    .button.back-button, .button.back-button-map, .back-button-info {
        height: 50px;
        background: rgba(255, 255, 255, 0.8);
        border-radius: 66px;
        color: #1F4C65;
        padding: 0 12px 0 6px;
        display: flex;
        align-items: center;
        position: absolute;
        top: 10px;
        left: 5px;
        width: auto;
        z-index: 999;
    }
}

.map-content {
    height: calc(100vh - 40px);
    overflow-y: scroll;
    pointer-events: auto;
}

.info-content {
    overflow-y: scroll;
    pointer-events: auto;
}

/*}*/

@media screen and (max-width: 767px) {
    .picture-detail {
        left: 0;
    }

    .sala {
        column-count: 1;
    }
}

.exit-fullscreen {
    display: none;
    position: absolute;
    top: 60px;
    right: 10px;
}

.spinner2 {
    animation: rotate 2s linear infinite;
    /*z-index: 2;*/
    /*  position: absolute;
      top: 50%;
      left: 50%;
      margin: -12px 0 0 -12px;*/
    width: 48px;
    height: 48px;
    z-index: 100;
}

@keyframes rotate {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes dash {
    0% {
        stroke-dasharray: 1, 150;
        stroke-dashoffset: 0;
    }
    50% {
        stroke-dasharray: 90, 150;
        stroke-dashoffset: -35;
    }
    100% {
        stroke-dasharray: 90, 150;
        stroke-dashoffset: -124;
    }
}

.stbtn, .st {
    cursor: pointer;
}

.stbtn.stbtn1 {
    display: none;
}

/*# sourceMappingURL=main.css.map*/