﻿@media screen and (min-width: 1690px) {
    .slider_back {
        display: none;
        position: fixed;
        height: 100dvh;
        width: 25rem;
        z-index: 10;
        right: 0;
        top: 0;
        overflow: hidden;
        background-color: var(--colorWhite);
        box-shadow: rgba(50, 50, 105, 0.15) 0px 2px 5px 0px, rgba(0, 0, 0, 0.05) 0px 1px 1px 0px;
    }

    .slider-main {
        display: grid;
        grid-template-rows: 3rem auto;
        gap: 1rem;
        height: 100%;
        width: 100%;
    }

    .slider-main-title {
        display: grid;
        grid-template-columns: auto 4rem;
        gap: 0.5rem;
        background-color: var(--color1D);
    }

.slider-main-title-subtitle {
    display: flex;
    align-items: center;
    padding-left: 1rem;
}

    .slider-main-title-subtitle > span {
        font-size: 1.2rem;
        color: var(--color1);
        font-family: var(--fuente);
        font-weight: bold;
    }

.slider-main-title-close {
    display: flex;
    align-items: center;
    justify-content: center;
}

    .slider-main-title-close > a {
        text-decoration: none;
    }

        .slider-main-title-close > a > span {
            font-size: 1.4rem;
            color: var(--color1);
            font-family: var(--fuente);
            font-weight: bold;
        }


.slider-body-nocount {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
    height: 100%;
    padding: 0.5rem;
}

    .slider-main-body-count {
        display: grid;
        grid-template-rows: 7rem auto 3rem;
        gap: 0.5rem;
        width: 100%;
        height: 100%;
        padding: 0.5rem;
    }

        .slider-main-body-count-option {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
            width: 100%;
            height: 100%;
        }

            .slider-main-body-count-option > span {
                font-size: 1.3rem;
                color: var(--color1A);
                font-family: var(--fuenteLight);
                border-bottom: 0.1rem solid var(--colorGray);
            }

    .slider-main-body-count-title {
        display: grid;
        grid-template-columns: 8rem auto;
        gap: 0.5rem;
        width: 100%;
        height: 100%;
    }

        .slider-main-body-count-title-imgusu {
            display: flex;
            align-items: center;
            justify-content: center;
            height: 100%;
            width: 100%;
        }


    .slider-main-body-count-title-imgusu img {
        height: 5rem;
        width: 5rem;
    }

    .slider-main-body-count-title-nomb {
        display: flex;
        flex-direction: column;
        align-items: start;
        justify-content: center;
        height: 100%;
        width: 100%;
        font-size: 1.1rem;
        color: var(--colorBlack);
        font-family: var(--fuente);
    }

    .slider-body-nocount a,
    .slider-main-body-count-option a {
        width: 100%;
        height: 2.5rem;
        text-decoration: none;
        border-radius: 0.3rem;
        padding-left: 0.5rem;
    }

        .slider-body-nocount a > span,
        .slider-main-body-count-option a > span {
            display: flex;
            align-items: center;
            font-size: 1rem;
            color: var(--colorBlack);
            font-family: var(--fuenteLight);
            width: 100%;
            height: 100%;
        }

        .slider-body-nocount a:hover,
        .slider-main-body-count-option a:hover {
            background-color: var(--color4E);
        }

    .slider-body-count-button {
        display: block;
        border: none;
        height: 3rem;
        width: 100%;
        background-color: var(--color1B);
        color: var(--colorWhite);
        font-family: var(--fuente);
        font-size: 1.2rem;
    }
   
}

/* Schermi Desktop o Portatili */
@media screen and (min-width: 1280px) and (max-width: 1689px) {
    .slider_back {
        display: none;
        position: fixed;
        height: 100dvh;
        width: 25rem;
        z-index: 2;
        right: 0;
        top: 0;
        overflow: hidden;
        background-color: var(--colorWhite);
        box-shadow: rgba(50, 50, 105, 0.15) 0px 2px 5px 0px, rgba(0, 0, 0, 0.05) 0px 1px 1px 0px;
    }

    .slider-main {
        display: grid;
        grid-template-rows: 3rem auto;
        gap: 1rem;
        height: 100%;
        width: 100%;
    }

    .slider-main-title {
        display: grid;
        grid-template-columns: auto 4rem;
        gap: 0.5rem;
        background-color: var(--color1D);
    }

    .slider-main-title-subtitle {
        display: flex;
        align-items: center;
        padding-left: 1rem;
    }

        .slider-main-title-subtitle > span {
            font-size: 1.2rem;
            color: var(--color1);
            font-family: var(--fuente);
            font-weight: bold;
        }

    .slider-main-title-close {
        display: flex;
        align-items: center;
        justify-content: center;
    }

        .slider-main-title-close > a {
            text-decoration: none;
        }

            .slider-main-title-close > a > span {
                font-size: 1.4rem;
                color: var(--color1);
                font-family: var(--fuente);
                font-weight: bold;
            }


    .slider-body-nocount {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
        height: 100%;
        padding: 0.5rem;
    }

    .slider-main-body-count {
        display: grid;
        grid-template-rows: 7rem auto 3rem;
        gap: 0.5rem;
        width: 100%;
        height: 100%;
        padding: 0.5rem;
    }

    .slider-main-body-count-option {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
        height: 100%;
    }

        .slider-main-body-count-option > span {
            font-size: 1.3rem;
            color: var(--color1A);
            font-family: var(--fuenteLight);
            border-bottom: 0.1rem solid var(--colorGray);
        }

    .slider-main-body-count-title {
        display: grid;
        grid-template-columns: 8rem auto;
        gap: 0.5rem;
        width: 100%;
        height: 100%;
    }

    .slider-main-body-count-title-imgusu {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100%;
        width: 100%;
    }


        .slider-main-body-count-title-imgusu img {
            height: 5rem;
            width: 5rem;
        }

    .slider-main-body-count-title-nomb {
        display: flex;
        flex-direction: column;
        align-items: start;
        justify-content: center;
        height: 100%;
        width: 100%;
        font-size: 1.1rem;
        color: var(--colorBlack);
        font-family: var(--fuente);
    }

    .slider-body-nocount a,
    .slider-main-body-count-option a {
        width: 100%;
        height: 2.5rem;
        text-decoration: none;
        border-radius: 0.3rem;
        padding-left: 0.5rem;
    }

        .slider-body-nocount a > span,
        .slider-main-body-count-option a > span {
            display: flex;
            align-items: center;
            font-size: 1rem;
            color: var(--colorBlack);
            font-family: var(--fuenteLight);
            width: 100%;
            height: 100%;
        }

        .slider-body-nocount a:hover,
        .slider-main-body-count-option a:hover {
            background-color: var(--color4E);
        }

    .slider-body-count-button {
        display: block;
        border: none;
        height: 3rem;
        width: 100%;
        background-color: var(--color1B);
        color: var(--colorWhite);
        font-family: var(--fuente);
        font-size: 1.2rem;
    }
}

/* Tablet in modalità horizontal */
@media screen and (min-width: 737px) and (max-width: 1279px) {
    .slider_back {
        display: none;
        position: fixed;
        height: 100dvh;
        width: 25rem;
        z-index: 2;
        right: 0;
        top: 0;
        overflow: hidden;
        background-color: var(--colorWhite);
        box-shadow: rgba(50, 50, 105, 0.15) 0px 2px 5px 0px, rgba(0, 0, 0, 0.05) 0px 1px 1px 0px;
    }

    .slider-main {
        display: grid;
        grid-template-rows: 3rem auto;
        gap: 1rem;
        height: 100%;
        width: 100%;
    }

    .slider-main-title {
        display: grid;
        grid-template-columns: auto 4rem;
        gap: 0.5rem;
        background-color: var(--color1D);
    }

    .slider-main-title-subtitle {
        display: flex;
        align-items: center;
        padding-left: 1rem;
    }

        .slider-main-title-subtitle > span {
            font-size: 1.2rem;
            color: var(--color1);
            font-family: var(--fuente);
            font-weight: bold;
        }

    .slider-main-title-close {
        display: flex;
        align-items: center;
        justify-content: center;
    }

        .slider-main-title-close > a {
            text-decoration: none;
        }

            .slider-main-title-close > a > span {
                font-size: 1.4rem;
                color: var(--color1);
                font-family: var(--fuente);
                font-weight: bold;
            }


    .slider-body-nocount {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
        height: 100%;
        padding: 0.5rem;
    }

    .slider-main-body-count {
        display: grid;
        grid-template-rows: 7rem auto 3rem;
        gap: 0.5rem;
        width: 100%;
        height: 100%;
        padding: 0.5rem;
    }

    .slider-main-body-count-option {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
        height: 100%;
    }

        .slider-main-body-count-option > span {
            font-size: 1.3rem;
            color: var(--color1A);
            font-family: var(--fuenteLight);
            border-bottom: 0.1rem solid var(--colorGray);
        }

    .slider-main-body-count-title {
        display: grid;
        grid-template-columns: 8rem auto;
        gap: 0.5rem;
        width: 100%;
        height: 100%;
    }

    .slider-main-body-count-title-imgusu {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100%;
        width: 100%;
    }


        .slider-main-body-count-title-imgusu img {
            height: 5rem;
            width: 5rem;
        }

    .slider-main-body-count-title-nomb {
        display: flex;
        flex-direction: column;
        align-items: start;
        justify-content: center;
        height: 100%;
        width: 100%;
        font-size: 1.1rem;
        color: var(--colorBlack);
        font-family: var(--fuente);
    }

    .slider-body-nocount a,
    .slider-main-body-count-option a {
        width: 100%;
        height: 2.5rem;
        text-decoration: none;
        border-radius: 0.3rem;
        padding-left: 0.5rem;
    }

        .slider-body-nocount a > span,
        .slider-main-body-count-option a > span {
            display: flex;
            align-items: center;
            font-size: 1rem;
            color: var(--colorBlack);
            font-family: var(--fuenteLight);
            width: 100%;
            height: 100%;
        }

        .slider-body-nocount a:hover,
        .slider-main-body-count-option a:hover {
            background-color: var(--color4E);
        }

    .slider-body-count-button {
        display: block;
        border: none;
        height: 3rem;
        width: 100%;
        background-color: var(--color1B);
        color: var(--colorWhite);
        font-family: var(--fuente);
        font-size: 1.2rem;
    }
}

/* Tablet in modalità verticale */
@media screen and (min-width: 481px) and (max-width: 736px) {
    .slider_back {
        display: none;
        position: fixed;
        height: 100dvh;
        width: 21rem;
        z-index: 3;
        right: 0;
        top: 0;
        overflow: hidden;
        background-color: var(--colorWhite);
        box-shadow: rgba(50, 50, 105, 0.15) 0px 2px 5px 0px, rgba(0, 0, 0, 0.05) 0px 1px 1px 0px;
    }

    .slider-main {
        display: grid;
        grid-template-rows: 3rem auto;
        gap: 1rem;
        height: 100%;
        width: 100%;
    }

    .slider-main-title {
        display: grid;
        grid-template-columns: auto 4rem;
        gap: 0.5rem;
        background-color: var(--color1D);
    }

    .slider-main-title-subtitle {
        display: flex;
        align-items: center;
        padding-left: 1rem;
    }

        .slider-main-title-subtitle > span {
            font-size: 1.1rem;
            color: var(--color1);
            font-family: var(--fuente);
            font-weight: bold;
        }

    .slider-main-title-close {
        display: flex;
        align-items: center;
        justify-content: center;
    }

        .slider-main-title-close > a {
            text-decoration: none;
        }

            .slider-main-title-close > a > span {
                font-size: 1.4rem;
                color: var(--color1);
                font-family: var(--fuente);
                font-weight: bold;
            }


    .slider-body-nocount {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
        height: 100%;
        padding: 0.5rem;
    }

    .slider-main-body-count {
        display: grid;
        grid-template-rows: 7rem auto 3rem;
        gap: 0.5rem;
        width: 100%;
        height: 100%;
        padding: 0.5rem;
    }

    .slider-main-body-count-option {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
        height: 100%;
    }

        .slider-main-body-count-option > span {
            font-size: 1.3rem;
            color: var(--color1A);
            font-family: var(--fuenteLight);
            border-bottom: 0.1rem solid var(--colorGray);
        }

    .slider-main-body-count-title {
        display: grid;
        grid-template-columns: 6rem auto;
        gap: 0.5rem;
        width: 100%;
        height: 100%;
    }

    .slider-main-body-count-title-imgusu {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100%;
        width: 100%;
    }


        .slider-main-body-count-title-imgusu img {
            height: 4rem;
            width: 4rem;
        }

    .slider-main-body-count-title-nomb {
        display: flex;
        flex-direction: column;
        align-items: start;
        justify-content: center;
        height: 100%;
        width: 100%;
        font-size: 1.1rem;
        color: var(--colorBlack);
        font-family: var(--fuente);
    }

    .slider-body-nocount a,
    .slider-main-body-count-option a {
        width: 100%;
        height: 2.5rem;
        text-decoration: none;
        border-radius: 0.3rem;
        padding-left: 0.5rem;
    }

        .slider-body-nocount a > span,
        .slider-main-body-count-option a > span {
            display: flex;
            align-items: center;
            font-size: 0.9rem;
            color: var(--colorBlack);
            font-family: var(--fuenteLight);
            width: 100%;
            height: 100%;
        }

        .slider-body-nocount a:hover,
        .slider-main-body-count-option a:hover {
            background-color: var(--color4E);
        }

    .slider-body-count-button {
        display: block;
        border: none;
        height: 3rem;
        width: 100%;
        background-color: var(--color1B);
        color: var(--colorWhite);
        font-family: var(--fuente);
        font-size: 1.1rem;
    }
}

/* Smartphone o piccoli Tablet */
@media screen and (max-width: 480px) {
    .slider_back {
        display: none;
        position: fixed;
        height: 100dvh;
        width: 21rem;
        z-index: 3;
        right: 0;
        top: 0;
        overflow: hidden;
        background-color: var(--colorWhite);
        box-shadow: rgba(50, 50, 105, 0.15) 0px 2px 5px 0px, rgba(0, 0, 0, 0.05) 0px 1px 1px 0px;
    }

    .slider-main {
        display: grid;
        grid-template-rows: 3rem auto;
        gap: 1rem;
        height: 100%;
        width: 100%;
    }

    .slider-main-title {
        display: grid;
        grid-template-columns: auto 4rem;
        gap: 0.5rem;
        background-color: var(--color1D);
    }

    .slider-main-title-subtitle {
        display: flex;
        align-items: center;
        padding-left: 1rem;
    }

        .slider-main-title-subtitle > span {
            font-size: 1.1rem;
            color: var(--color1);
            font-family: var(--fuente);
            font-weight: bold;
        }

    .slider-main-title-close {
        display: flex;
        align-items: center;
        justify-content: center;
    }

        .slider-main-title-close > a {
            text-decoration: none;
        }

            .slider-main-title-close > a > span {
                font-size: 1.4rem;
                color: var(--color1);
                font-family: var(--fuente);
                font-weight: bold;
            }


    .slider-body-nocount {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
        height: 100%;
        padding: 0.5rem;
    }

    .slider-main-body-count {
        display: grid;
        grid-template-rows: 7rem auto 3rem;
        gap: 0.5rem;
        width: 100%;
        height: 100%;
        padding: 0.5rem;
    }

    .slider-main-body-count-option {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
        height: 100%;
    }

        .slider-main-body-count-option > span {
            font-size: 1.1rem;
            color: var(--color1A);
            font-family: var(--fuenteLight);
            border-bottom: 0.1rem solid var(--colorGray);
        }

    .slider-main-body-count-title {
        display: grid;
        grid-template-columns: 6rem auto;
        gap: 0.5rem;
        width: 100%;
        height: 100%;
    }

    .slider-main-body-count-title-imgusu {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 100%;
        width: 100%;
    }


        .slider-main-body-count-title-imgusu img {
            height: 4rem;
            width: 4rem;
        }

    .slider-main-body-count-title-nomb {
        display: flex;
        flex-direction: column;
        align-items: start;
        justify-content: center;
        height: 100%;
        width: 100%;
        font-size: 1.1rem;
        color: var(--colorBlack);
        font-family: var(--fuente);
    }

    .slider-body-nocount a,
    .slider-main-body-count-option a {
        width: 100%;
        height: 2.5rem;
        text-decoration: none;
        border-radius: 0.3rem;
        padding-left: 0.5rem;
    }

        .slider-body-nocount a > span,
        .slider-main-body-count-option a > span {
            display: flex;
            align-items: center;
            font-size: 1rem;
            color: var(--colorBlack);
            font-family: var(--fuenteLight);
            width: 100%;
            height: 100%;
        }

        .slider-body-nocount a:hover,
        .slider-main-body-count-option a:hover {
            background-color: var(--color4E);
        }

    .slider-body-count-button {
        display: block;
        border: none;
        height: 3rem;
        width: 100%;
        background-color: var(--color1B);
        color: var(--colorWhite);
        font-family: var(--fuente);
        font-size: 1.1rem;
    }
}
