/* TOP BAR */

#header-fisso {
    z-index: 99999 !important;
}



body {
    padding: 0;
    margin: 0;
    overflow-x: hidden !important;
    background-color: #161616;
    ;
}

div {
    width: 100%;
}


/* PRIMA SCHEMARATA CON FOTO */

#testata {
    width: 100%;
    overflow: hidden;
}

#intro {
    width: 100%;
    overflow: hidden;
    margin-top: 0;
}

#hp_swiper {
    width: 100%;
    height: 100%;
}

#hp_swiper .swiper-slide {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    width: 100%;
    background-color: black;
    background-attachment: fixed;
    background-size: cover;
    overflow: hidden;
}

#hp_swiper .swiper-button-next:after,
#hp_swiper .swiper-button-prev:after {
    content: '';
}

#hp_swiper .swiper-button-next,
#hp_swiper .swiper-button-prev {
    top: 60%;
    width: 40px;
    height: 40px;
    background-image: url(../img/freccia-tonda.svg);
    background-size: contain;
    background-repeat: no-repeat;
    cursor: pointer;
}

#hp_swiper .swiper-button-prev {
    transform: rotate(180deg);
}

#hp_swiper .swiper-button-next.swiper-button-disabled,
#hp_swiper .swiper-button-prev.swiper-button-disabled {
    opacity: 0;
}

#hp_swiper .swiper-pagination-bullet {
    background: #fff;
    opacity: .3;
}

#hp_swiper .swiper-pagination-bullet-active {
    background: #fff;
    opacity: 1;
}

#hp_swiper .swiper-slide:first-of-type {
    /* background-image: url(../img/copertina_1_mobile.webp); */
    background-image: url(../img/copertina_3_mobile.webp);
}

#hp_swiper .swiper-slide:nth-of-type(2) {    
    /* background-image: url(../img/copertina_2_mobile.webp); */
    background-image: url(../img/copertina_1_mobile.webp);
}

#hp_swiper .swiper-slide:nth-of-type(3) {
    /* background-image: url(../img/copertina_3_mobile.webp); */
    background-image: url(../img/copertina_2_mobile.webp);
}

#hp_swiper .swiper-slide:nth-of-type(4) {
    background-image: url(../img/copertina_4_mobile.webp);
}

#intro .numerone * {
    display: flex;
    justify-content: center;
}

.numerone {
    width: 100%;
    justify-content: flex-end;
    padding-bottom: 50px;
    z-index: 30;
}

.numerone .titolo {
    font-size: 13px;
    letter-spacing: 1px;
    margin-top: 10px;
}

.numerone .ico {
    opacity: 1;
    mix-blend-mode: unset;
}

.numerone .spiega {
    margin-top: 0;
    font-size: 14;
    letter-spacing: 1px;
    padding: 3px 0 5px;
}

.numerone .numero {
    font-size: 36px;
    line-height: 36px;
}

.numerone img {
    width: 24px;
    height: 35px;
    margin-left: 8px;
}

#testata .bottone {
    background-color: rgba(255, 255, 255, 1);
    color: #000;
    width: calc(100% - 100px);
    font-size: 20px;
    line-height: 40px;
    margin-top: 32px;
}

#titolazione {
    z-index: 6;
    position: absolute;
    top: 20%;
    width: 100%;
    overflow: hidden;
    pointer-events: none;
}

#titolazione .occhiello {
    text-align: center;
}

h1 {
    font-family: "SoleSans", Arial, Helvetica, sans-serif;
    color: #FFF;
    text-align: center;
    font-size: 36px;
    font-style: normal;
    font-weight: 600;
    line-height: 38px;
    width: 350px;
}

#data-aggiornamento {
    position: relative;
    width: 100%;
    margin: 0;
    overflow: hidden;
    font-size: 24px;
}

#data-aggiornamento .occhiello {
    font-size: 13px;
    letter-spacing: 1px;
    text-align: center;
}

.riga {
    position: absolute;
    top: 50%;
    width: 20%;
    margin-block-start: 0;
    margin-block-end: 0;
    margin-inline-start: 0;
    margin-inline-end: 0;
    overflow: hidden;
    border-style: solid;
    border-width: 1px;
    border-color: white;
    z-index: 6;
}

.riga:first-of-type {
    left: 0;
}

.riga:last-of-type {
    right: 0;
}

.dividi {
    width: 100%;
    overflow: hidden;
    position: absolute;
    top: 50%;
    z-index: 6;
    display: flex;
    justify-content: center;
    pointer-events: none;
}

#menu-top {
    overflow: hidden;
}

#contenuto {
    flex-direction: column;
    width: 100%;
}

/* MENU STICKY TOP */
#menu-top {
    width: 100%;
    height: 50px;
    background-color: #515151;
}

#menu-top.visibile {
    top: 50px;
}

#menu-top .swiper-slide {
    white-space: nowrap;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #FFF;
    text-align: center;
    font-family: "SoleSans", Arial, Helvetica, sans-serif;
    font-size: 26px;
    font-style: normal;
    font-weight: 600;
    line-height: 50px;
}

.mt_swiper-button-prev-sfondo {
    position: absolute;
    top: 0;
    left: 0;
    width: 50px;
    height: 50px;
    background-color: #515151;
    z-index: 7;
}

.mt_swiper-button-next-sfondo {
    position: absolute;
    top: 0;
    right: 0;
    width: 50px;
    height: 50px;
    background-color: #515151;
    z-index: 7;
}

#menu-top .swiper-button-next:after,
#menu-top .swiper-button-prev:after {
    content: '';
}

#menu-top .swiper-button-next,
#menu-top .swiper-button-prev {
    top: 55%;
    width: 40px;
    height: 40px;
    background-color: #515151;
    background-image: url(../img/freccia-tonda.svg);
    background-size: contain;
    background-repeat: no-repeat;
    cursor: pointer;
}

#menu-top .swiper-button-prev {
    transform: rotate(180deg);
}

#menu-top .swiper-button-next.swiper-button-disabled,
#menu-top .swiper-button-prev.swiper-button-disabled {
    opacity: 0;
}

#contenuto {
    padding-top: 30px;
    align-items: center;
    min-height: 0;
}

#contenuto-menu {
    width: 100%;
    padding: 0 15px;
    min-width: 0;
}

.menu-toggle {
    flex-direction: row;
    justify-content: center;
    width: min-content;
    margin-left: auto;
    margin-right: auto;
}

.menu-toggle-etichetta.sx {
    text-align: right;
    justify-content: end;
}

.menu-switch {
    justify-content: center;
}

.menu-titolino {
    text-align: center;
    padding-bottom: 10px;
}

.radiobutton-tondo {
    width: auto;
}

.checkbox-tondo {
    max-width: 120px;
}

.menu-selezione {
    max-width: 300px;
    margin: auto;
}

.combo-mini {
    position: relative;
    top: initial;
    right: initial;
    outline: thick solid #5B5B5B;
    border-radius: 30px;
    max-width: 300px;
    margin: auto;
    margin-top: 20px;
}


#contenuto-info {
    margin-top: 50px;
}

/* MENU BOTTOM */

.menu_bottom {
    position: fixed;
    bottom: -60px;
    left: 0;
    height: 50px;
    border-top: 2px solid #FFF;
    border-bottom: 2px solid #FFF;
    background: #161616;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    z-index: 80;
}

.mb_visible {
    transform: translateY(-60px);
    transition: transform .2s ease-in-out;
}

.menu_bottom div {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.menu_bottom div:first-of-type {
    border-right: 1px solid #5C5C5C;
    width: 28%;
}

.menu_bottom div:nth-child(2) {
    border-right: 1px solid #5C5C5C;
    width: 22%;
}

.menu_bottom div:last-of-type {
    width: 50%;
}

.menu_bottom div::after {
    content: url(../img/freccia-doppia.svg);
    position: absolute;
    top: 12px;
    right: 5px;
}

.menu_bottom button {
    border: none;
    outline: none;
    background: #161616;
    color: #FFF;
    font-family: "SoleSans", Arial, Helvetica, sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    padding: 0 10px;
    margin-left: 2px;
    text-transform: capitalize;
    cursor: pointer;
    width: 100%;
    text-align: left;
}


/* MODAL PER PICKER MENU */
.modal {
    display: none;
    z-index: -1;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.4);
    -webkit-animation-name: fadeIn;
    -webkit-animation-duration: 0.4s;
    animation-name: fadeIn;
    animation-duration: 0.4s;
}


.modal-content {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    width: 80%;
    height: fit-content;
    -webkit-animation-name: slideIn;
    -webkit-animation-duration: 0.4s;
    animation-name: slideIn;
    animation-duration: 0.4s;
    border-radius: 15px;
    background-color: #fff;
}


.modal-close {
    color: #161616;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.modal-close:hover,
.modal-close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.modal-header {
    padding: 10px 16px;
    background-color: #fff;
    color: #161616;
    font-family: "SoleSans", Arial, Helvetica, sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.modal-body {
    padding: 2px 16px;
    background-color: #fff;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}



@-webkit-keyframes slideIn {
    from {
        bottom: -300px;
        opacity: 0
    }

    to {
        bottom: 0;
        opacity: 1
    }
}

@keyframes slideIn {
    from {
        bottom: -300px;
        opacity: 0
    }

    to {
        bottom: 0;
        opacity: 1
    }
}

@-webkit-keyframes fadeIn {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

@keyframes fadeIn {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

/* PICKER MENU */

.picker-window {
    position: absolute;
    height: 40px;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    pointer-events: none;
}


.picker {
    display: flex;
    justify-content: center;
    position: relative;
    background: #FFF;
    padding: 0;
    margin-top: 20px;
    margin-bottom: 20px;
    width: 100%;
}

.picker:before,
.picker:after {
    content: "";
    position: absolute;
    width: 100%;
    pointer-events: none;
}

.picker:before {
    top: -0.2em;
    height: 50px;
    background: linear-gradient(white, rgba(255, 255, 255, 0.7));
}

.picker:after {
    bottom: -0.2em;
    height: 50px;
    background: linear-gradient(rgba(255, 255, 255, 0.7), white);
}

.picker ul {
    padding: 50px 0;
    -ms-overflow-style: none;
    max-height: 200px;
    overflow-y: scroll;
    -ms-scroll-snap-type: y mandatory;
    scroll-snap-type: y mandatory;
    list-style: none;
}

.picker ul::-webkit-scrollbar {
    display: none;
}

.picker li {
    scroll-snap-align: center;
    height: 40px;
    word-spacing: 0.2em;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 250px;
}

.picker-item {
    color: #161616;
    background-color: #fff;
    border-radius: 30px;
    padding: 0 20px;
    font-family: "SoleSans", Arial, Helvetica, sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    animation: all .2s ease-in-out;
    text-align: center;
}


.picker li.picker-selected {
    background-color: #161616;
    color: #FFF;
    font-weight: 600;
    width: fit-content;
    margin: auto;
}

/* FONTI E CREDITI */

.info-commento-data {
    background-color: #161616;
    font-size: 16px;
    width: fit-content;
}

#info-indicatori-crediti-cnt {
    position: relative;
    top: initial;
    border-top: 2px solid #FFF;
}


#info-indicatori-btn {
    opacity: 1;
}


.info-indicatori-crediti-wrapper {
    width: 100%;
    padding: 20px 20px 0;
    overflow-y: auto;
    border-bottom: 2px solid #FFF;
    height: auto;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
    margin-bottom: 100px;
}

.info-indicatori-crediti-wrapper p {
    line-height: 25px;
}


.info-indicatori-crediti-btn {
    width: 100%;
    padding-right: 30px;
}

#info-indicatori-btn {
    margin-left: 0;
    padding-left: 20px;
}


#info-indicatori-btn::after {
    content: url('../img/freccia-testo-giu.svg');
    position: absolute;
    top: 15px;
    right: 20px;
    transform-origin: center;
    transform: rotate(0deg);
    opacity: 1;
    transition: rotate .3s ease-in-out;
}

#info-indicatori-btn:hover {
    border-bottom: none;
}

#info-indicatori-btn.info-indicatori-btn-active::after {
    transform: rotate(180deg) !important;
    top: 25px !important;
}

.info-content {
    position: relative;
    top: initial;
    width: 100%;
    background-color: #161616;
    opacity: 1;
    transition: opacity 0.3s linear;
    z-index: 10;
    padding: 0 20px;
}

.info-indicatori-crediti-title:first-of-type {
    border-top: none;
    padding-top: 20px;
}

.info-indicatori-crediti-title:last-of-type {
    border-top: 1px solid #000;
}

#indicatori-text {
    padding: 0;
}

#crediti-text {
    background-color: #FFF;
    color: #000;
    padding-bottom: 20px;
}

#crediti-text a:link {
    color: #000;
    text-decoration: underline;
}

#crediti-text a:visited {
    color: #000;
    text-decoration: underline;
}


/* FOOTER */

/*--- FOOTER ----*/

footer {
    z-index: 20;
}

#footer_div {
    font-family: "SoleSans", Arial, Helvetica, sans-serif;
    line-height: 1.3;
    background-color: #19171a;
    color: #a19e9e;
    font-size: 14px;
    text-transform: none;
    padding: 30px 10px 50px;
    text-align: center;
}

@media screen and (max-height: 668px) {

    #data_agg_cnt {
        top: 40% !important;
    }

    .numerone .icona,
    .numerone .titolo,
    .numerone .spiega,
    .numerone .numero {
        opacity: 0;
    }
}