/*
 CSS Generale delle Stories
 */
html, body {
    overflow: hidden;
    height: 100vh;
}
main {
    padding: 0px;
}
a {
    -webkit-tap-highlight-color: transparent;
}
#nav-storia {
    display: flex;
    padding: 0px 20px;
    position: fixed;
    z-index: 50;
    top: 10px;
    left: 0px;
    box-sizing: border-box;
}
#nav-storia .nav-el {
    display: block;
    float: left;
    height: 5px;
    width: calc((100vw - 10px * (var(--num-slide) - 1) - 40px) / var(--num-slide));
    margin-right: 10px;
    background-color: rgba(255,255,255,0.5);
}
#nav-storia .nav-el:last-chilld {
    margin-right: 0px;
}
.desktop-stories-arrow {
    position: fixed;
    z-index: 45;
    display: block;
    float: left;
    width: 100px;
    height: 100vh;
    line-height: 100vh;
    bottom: 0px;
    padding: 0px 20px;
    box-sizing: border-box;
}
.desktop-stories-arrow img {
    height: 42px;
    padding: 60px 0px;
}
#desktop-stories-arrow-right {
    right: 0px;
    text-align: right;
}
#desktop-stories-arrow-left {
    left: 0px;
    text-align: left;
}
#desktop-stories-arrow-right img {
    transform: rotate(180deg);
}
#desktop-stories-arrow-left {
    left: 0px;
}
#storia-chiudi {
    position: fixed;
    z-index: 50;
    display: block;
    float: left;
    height: 30px;
    line-height: 30px;
    width: 30px;
    text-align: center;
    top: 30px;
    right: 20px;
}
#storia-chiudi .svg-close .st1 {
    fill: var(--bianco);
}
.nav-el-filler {
    display: block;
    float: left;
    height: 5px;
    width: 0px;
    background-color: var(--bianco);
}
#storia-etichetta {
    position: fixed;
    z-index: 50;
    display: block;
    float: left;
    height: 30px;
    line-height: 30px;
    text-align: center;
    padding: 0px 20px;
    font-size: 18px;
    box-sizing: border-box;
    top: 30px;
    left: 20px;
    min-width: 135px;
    border-radius: 3px;
}
#storia-etichetta.white {
    transition: all 1;
    background-color: var(--bianco);
}
.storia-area {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100vw;
    height: 100vh;
}
#storia-el-1-bg-grafica {
    position: absolute;
    width: 100%;
    height: 0%; /* come la stessa */
    opacity: 0;
    background-size: 30px;
    background-repeat: repeat;
}
#storia-el-1 {

    position: relative;
    z-index: 10;
    /*display: flex;*/
    display: none;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center center;
    /*zoom: 0.001;*/
    transform: scale(0.001, 0.001);
    min-width: 450px;
    min-height: 450px;
    width: calc(100vw - 70px);
    height: calc(100vw - 70px);
    visibility: hidden;
}
#storia-el-1-titolo {
    display: none;
    opacity: 0;
    width: 60%;
}
#storia-el-1-titolo span {
    font-size: 30px;
    line-height: 35px;
    width: 100%;
    text-align: center;
    display: block;
    float: left;
    font-family: "paralucent", sans-serif;
}
#storia-el-1-introduzione {
    display: none;
    opacity: 0;
    width: 60%;
    max-width: calc(66.6667vw - 20px);
}
#storia-el-1-introduzione span {
    font-size: 19px;
    line-height: 29px;
    width: 100%;
    text-align: center;
    display: block;
    float: left;
}
#storia-el-disclaimer {
    position: fixed;
    z-index: 11;
    width: 100%;
    height: 100%;
    display: none;  /* Poi Flex! */
    align-items: center;
    justify-content: center;
    opacity: 0;
}
#storia-el-disclaimer p {
    padding: 70px 20px;
    box-sizing: border-box;
    text-align: center;
    font-size: 19px;
    line-height: 30px;
    max-width: 600px;
}
#storia-el-2-bg-grafica {
    position: absolute;
    display: none;
    width: 100%;
    height: 100%; /* come la stessa */
    opacity: 1;
    background-size: 200px;
    background-repeat: repeat;
}
#storia-el-2 {
    position: relative;
    z-index: 10;
    display: none;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center center;
    transform: scale(0.001, 0.001);
    width: calc(100vw - 70px);
    height: calc(100vw - 70px);
    min-width: 450px;
    min-height: 450px;
}

#storia-el-2-elenco {
    display: none;
    opacity: 0;
    width: 60%;
}
#storia-el-2-elenco span {
    font-size: 30px;
    line-height: 35px;
    width: 100%;
    text-align: center;
    display: block;
    float: left;
/*     font-family: "paralucent", sans-serif; */
}
#storia-el-3  {
    display: none;
    flex-wrap: wrap;
    width: 100%;
    position: absolute;
    top: 0px;
    left: 0px;
    z-index: 12;
    height: 300vh;
    opacity: 0;
}
.approfondimento {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-wrap: wrap;
}
.approfondimento-titolo {
    position: absolute;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    width: 250px;
    height: 250px;
    line-height: 24px;
    font-size: 21px;
    text-align: center;
    bottom: calc(50% - 125px);
    left: calc(50% - 125px);
    color: white;
    font-weight: 700;
}
.approfondimento img {
    max-width: 300px;
    width: 100%;
}
.approfondimento-img-cont {
    width: 100%;
    height: 50vh;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}
.approfondimento-text-cont {
    width: 100%;
    height: 50vh;
    display: flex;
    box-sizing: border-box;
    padding-top: 0px;
    justify-content: center;
    align-items: flex-start;
}
.approfondimento-text-cont p {
    padding: 70px 20px;
    box-sizing: border-box;
    text-align: center;
    font-size: 19px;
    line-height: 30px;
    max-width: 600px;
}

#storia-el-4-bg-grafica {
    position: absolute;
    display: none;
    width: 100%;
    height: 100%; /* come la stessa */
    opacity: 1;
    background-size: 200px;
    background-repeat: repeat;
}
#storia-el-4 {
    position: relative;
    z-index: 10;
    display: none;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center center;
    /*zoom: 0.001;*/
    transform: scale(0.001, 0.001);
    min-width: 450px;
    min-height: 450px;
    width: calc(100vw - 70px);
    height: calc(100vw - 70px);
}

#storia-el-4-conclusioni-titolo {
    display: none;
    opacity: 0;
    width: 60%;
}
#storia-el-4-conclusioni-titolo span {
    font-size: 30px;
    line-height: 35px;
    width: 100%;
    text-align: center;
    display: block;
    float: left;
    font-family: "paralucent", sans-serif;
}
#storia-el-4-conclusioni-testo {
    position: fixed;
    z-index: 11;
    width: 100%;
    height: 100%;
    display: none;  /* Poi Flex! */
    align-items: center;
    justify-content: center;
    opacity: 0;
}
#storia-el-4-conclusioni-testo p {
    padding: 70px 20px;
    box-sizing: border-box;
    text-align: center;
    font-size: 19px;
    line-height: 29px;
    max-width: 600px;
}
#storia-el-5-strutture {
    position: fixed;
    z-index: 11;
    width: 100%;
    height: 100%;
    padding: 100px 0px 100px 0px;
    box-sizing: border-box;
    display: none;
    opacity: 0;
}
#storia-el-5-link-cont {
    height: 50px;
    position: fixed;
    bottom: 20px;
    z-index: 55;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0px 20px;
    box-sizing: border-box;
    display: none;
    opacity: 0;
}
#storia-el-5-strutture-int {
    max-height: calc(100vh - 200px);
    overflow: auto;
}
#storia-struttura-titolo {
    font-family: "paralucent", sans-serif;
    font-size: 30px;
    line-height: 35px;
    font-weight: 600;
    margin-bottom: 60px;
}
.storia-el-struttura {
    margin-bottom: 20px;
}
.storia-el-struttura:last-child {
    margin-bottom: 0px;
}
.storia-el-struttura-row {
    padding-left: 30px;
    box-sizing: border-box;
    margin-bottom: 20px;
}
.storia-el-struttura-row-ico {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 20px;
}
.storia-struttura-page {
    max-width: 600px;
    width: 100%;
    float: none;
    margin: 0px auto;
    padding: 0px 20px;
    box-sizing: border-box;
}

#storia-el-5-link {
    display: block;
    float: left;
    height: 50px;
    line-height: 50px;
    border-radius: 3px;
    background-color: white;
    text-align: center;
    max-width: 100%;
    width: 600px;
}
#storia-el-5-strutture-int::-webkit-scrollbar {
    width: 5px !important;
}
#storia-el-5-strutture-int {
    scrollbar-width: thin;
}

@media only screen and (min-width:768px) and (max-width:1023px) {
    .desktop-stories-arrow img {
        display: none;
    }
}
@media only screen and (min-width:220px) and (max-width:767px) {
    .desktop-stories-arrow img {
        display: none;
    }
    #storia-el-1-introduzione span {
        font-size: 15px;
        line-height: 18px;
    }
    #storia-el-2-elenco span {
        font-size: 19px;
        line-height: 25px;
    }
    .approfondimento-text-cont p {
        padding: 20px;
    }
    #storia-el-4-conclusioni-titolo {
        width: 70%;
    }
    #storia-el-4-conclusioni-titolo span {
        font-size: 19px;
        line-height: 23px;
    }
    #storia-etichetta {
        top: 27.5px;
    }
    #nav-storia .nav-el,
    .nav-el-filler {
        height: 2.5px;
    }
}
