/* --------------- SFOGLIABILE --------------- */

.sfogliabile {
    display: block;
    width: 100%;
    margin: 0 auto;
    padding: 0;
}

.contenuto_sfogliabile {
    margin: 0 auto;
    padding: 20px;
    text-align: center;
}

.contenuto_sfogliabile h2,
.contenuto_sfogliabile h3 {
    font-size: 30px;
    font-weight: 700;
    line-height: 34px;
    color: var(--nero);
    text-align: center;
    padding: 0;
    margin: 0;
}

.errore_volantino {
    color: var(--rosso);
    font-weight: 700;
    background-color: #ffffff;
    padding: 20px;
    text-align: center;
}

/* ---- stili per il full screen ------- */

.contenitore_sfogliabile {
    position: relative;
    min-height: auto;
    background-color: #ffffff;
}

.contenitore_sfogliabile_fullscreen {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 2100 !important;
    margin: 0 !important;
}

body.sfogliabile_fullscreen_aperto {
    overflow: hidden;
}

.tasto_fullscreen {
    position: absolute;
    top: 0;
    right: calc(50% + 161px);
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 12px;
    border: 0;
    background: #ffffff;
    cursor: pointer;
    transition: background 200ms linear;
}

.tasto_fullscreen:hover {
    background: #595959;
}

.tasto_fullscreen svg {
    display: block;
    width: 100%;
    height: 100%;
    fill: #4a4a4a;
    transition: all 200ms linear;
}

.tasto_fullscreen:hover svg {
    fill: #ffffff;
}

.contenuto_sfogliabile a {
    display: inline-block;
    font-size: 16px;
    font-weight: 700;
    line-height: 20px;
    text-align: center;
    transition: all 0.2s linear;
    text-decoration: none;
    cursor: pointer;
    padding: 15px 20px;
    background-color: var(--verde);
    color: #ffffff;
    border: solid 2px var(--verde);
    border-radius: 50px;
}

@media screen and (max-width: 722px) {
    .tasto_fullscreen {
        left: 0;
        right: inherit;
    }
}

@media only screen and (min-width: 768px) {

    .contenuto_sfogliabile h2,
    .contenuto_sfogliabile h3 {
        font-size: 35px;
        line-height: 39px;
    }
}