﻿@media only screen and (min-width: 700px) and (max-width: 768px) 
{
    #menu {
        width: 45%;
        margin: -100px 0 0 -70px;
        padding: 50px;
        padding-top: 125px;
        background: #fff;
        list-style-type: none;
        -webkit-font-smoothing: antialiased;
        height: 1500px;
        /* to stop flickering of text in safari */
        transform-origin: 0% 0%;
        transform: translate(-200%, 0);
        transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0);
        position: fixed;
    }

    .internal-menu {
        display: flex;
        flex-direction: row;
        align-items: center;
        width: 100%;
        position: relative;
        cursor: pointer;
    }

    .menuDiscesaTop {
        height: 24px;
        width: 24px;
        position: absolute;
        right: -35px;
    }

    .onclick-menu {
        color: var(--text);
        font-family: var(--font-family-rubik);
        font-size: var(--font-size-m);
        font-style: normal;
        font-weight: 700;
        display: flex;
        flex-direction: column;
        width: 95%;
    }

    .nosottomenumenu {
        color: var(--text);
        font-family: var(--font-family-rubik);
        font-size: var(--font-size-m);
        font-style: normal;
        font-weight: 700;
        cursor: pointer;
        display: flex;
        align-items: center;
    }

    .iconMenuTop {
        align-items: center;
        display: flex;
        height: 48px;
        justify-content: center;
        width: 48px;
    }

    .image-menu-big-top {
        height: 25px;
        width: 25px;
    }

    .image-menu-top {
        height: 24px;
        width: 24px;
    }


}
@media only screen and (min-width: 500px) and (max-width: 700px) {
    #menu {
        width: 55%;
        margin: -100px 0 0 -70px;
        padding: 50px;
        padding-top: 125px;
        background: #fff;
        list-style-type: none;
        -webkit-font-smoothing: antialiased;
        height: 1500px;
        /* to stop flickering of text in safari */
        transform-origin: 0% 0%;
        transform: translate(-200%, 0);
        transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0);
        position: fixed;
    }

    .internal-menu {
        display: flex;
        flex-direction: row;
        align-items: center;
        width: 100%;
        position: relative;
        cursor: pointer;
    }

    .menuDiscesaTop {
        height: 24px;
        width: 24px;
        position: absolute;
        right: -35px;
    }

    .onclick-menu {
        color: var(--text);
        font-family: var(--font-family-rubik);
        font-size: var(--font-size-s);
        font-style: normal;
        font-weight: 700;
        display: flex;
        flex-direction: column;
        width: 95%;
    }

    .nosottomenumenu {
        color: var(--text);
        font-family: var(--font-family-rubik);
        font-size: var(--font-size-s);
        font-style: normal;
        font-weight: 700;
        cursor: pointer;
        display: flex;
        align-items: center;
    }

    .iconMenuTop {
        align-items: center;
        display: flex;
        height: 40px;
        justify-content: center;
        width: 40px;
    }

    .image-menu-big-top {
        height: 20px;
        width: 20px;
    }

    .image-menu-top {
        height: 18px;
        width: 18px;
    }
}

@media (max-width: 500px) {
    #menu {
        width: 70%;
        margin: -100px 0 0 -70px;
        padding: 50px;
        padding-top: 125px;
        background: #fff;
        list-style-type: none;
        -webkit-font-smoothing: antialiased;
        height: 1500px;
        /* to stop flickering of text in safari */
        transform-origin: 0% 0%;
        transform: translate(-200%, 0);
        transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0);
        position: fixed;
    }

    .internal-menu {
        display: flex;
        flex-direction: row;
        align-items: center;
        width: 100%;
        position: relative;
        cursor: pointer;
    }

    .menuDiscesaTop {
        height: 24px;
        width: 24px;
        position: absolute;
        right: -35px;
    }

    .onclick-menu {
        color: var(--text);
        font-family: var(--font-family-rubik);
        font-size: var(--font-size-xs);
        font-style: normal;
        font-weight: 700;
        display: flex;
        flex-direction: column;
        width: 95%;
    }

    .nosottomenumenu {
        color: var(--text);
        font-family: var(--font-family-rubik);
        font-size: var(--font-size-xs);
        font-style: normal;
        font-weight: 700;
        cursor: pointer;
        display: flex;
        align-items: center;
    }

    .iconMenuTop {
        align-items: center;
        display: flex;
        height: 35px;
        justify-content: center;
        width: 35px;
    }

    .image-menu-big-top {
        height: 15px;
        width: 15px;
    }

    .image-menu-top {
        height: 13px;
        width: 13px;
    }
}
@media  (max-width: 768px) {
    .login-container {
        display: flex;
        flex-direction: row;
        width: 100%;
        justify-content: center;
        min-height: 500px;
    }

    .login-content {
        margin-left: 10px;
        margin-right: 10px;
        display: flex;
        flex-direction: column;
        width: 100%;
    }

        .logoAlto {
            height: 47px;
            position: relative;
            width: 170px;
            margin-left: 50px;
            margin-top: 20px;
        }


        .menu-left {
            display: none;
        }

        .elementoMenuPresentazione {
            margin-left: 30px;
            margin-top: var(--margin-dimension);
        }

        .elementoMenu {
            display: flex;
        }



        .elementoMenuSelected {
            display: flex;
            margin-top: 5px;
            width: 320px;
            /*background-color: var(--slimy-green-2);   #1ca74d;*/
            background-color: rgb(28,167,77,0.5);
            border-radius: 10px;
        }



        .testoPresentazione {
            letter-spacing: 2.40px;
            line-height: 25.3px;
            margin-left: 12px;
            margin-top: 11.5px;
            white-space: nowrap;
            font-family: var(--font-family-karla);
            font-weight: 700;
        }



        .testoMenu {
            flex-direction: column;
            justify-content: center;
            font-family: var(--font-family-rubik-medium);
            font-size: var(--font-size-m);
            font-weight: 700;
            display: flex;
            letter-spacing: 1px;
            line-height: 27px;
            margin-left: 8px;
            margin-top: 3px;
            white-space: nowrap;
            cursor: pointer;
            width: 224px;
        }

            .testoMenu a {
                color: var(--text) !important;
                text-decoration: none;
                cursor: pointer;
                text-transform: none;
            }

        .testoMenu-selected {
            flex-direction: column;
            justify-content: center;
            font-family: var(--font-family-rubik);
            font-size: var(--font-size-m);
            font-weight: 700;
            display: flex;
            letter-spacing: 1px;
            line-height: 27px;
            margin-left: 8px;
            margin-top: 3px;
            white-space: nowrap;
            cursor: pointer;
            width: 224px;
        }

            .testoMenu-selected a {
                color: var(--slimy-green-2) !important;
                text-decoration: none;
                cursor: pointer;
                text-transform: none;
            }

        .iconMenu {
            align-items: center;
            display: flex;
            height: 48px;
            justify-content: center;
            margin-left: 15px;
            width: 48px;
        }

        .image-menu {
            height: 24px;
            width: 24px;
        }


        .image-menu-big {
            height: 35px;
            width: 35px;
        }

        .image-menu-secondario {
            margin-left: 67.0px;
            width: 2px;
        }

        .mano-menu {
            cursor: pointer;
        }

        .mano-menu-selected {
            cursor: pointer;
            color: var(--slimy-green-2) !important;
        }

        .div-collassabile {
            overflow-x: hidden;
            overflow-y: hidden;
        }

        .imagePanel {
            height: 24px;
            width: 48px;
        }



        .menuDiscesa {
            height: 24px;
            width: 24px;
            margin-left: 8px;
            margin-top: 15px;
        }


        .elemento-menu-secondario {
            margin-left: 15px;
            margin-top: 5px;
            height: 48px;
            position: relative;
        }

        .pos-secondario {
            display: flex;
            height: 48px;
            left: 0;
            position: absolute;
            top: 0;
            width: 345px;
        }

        .testoMenu-secondario {
            display: flex;
            letter-spacing: 0.09px;
            line-height: 27px;
            margin-left: 8px;
            white-space: nowrap;
            flex-direction: column;
            justify-content: center;
            font-family: var(--font-family-rubik);
            font-size: var(--font-size-m);
            font-weight: 700;
            text-decoration: none;
        }


            .testoMenu-secondario a {
                color: var(--text) !important;
                text-decoration: none;
                text-transform: none;
            }


        .testoMenu-secondario-selected {
            display: flex;
            height: 48px;
            width: 134px;
            letter-spacing: 0.09px;
            line-height: 27px;
            margin-left: 8px;
            white-space: nowrap;
            flex-direction: column;
            justify-content: center;
            color: var(--slimy-green);
            font-family: var(--font-family-rubik);
            font-size: var(--font-size-m);
            font-style: normal;
            font-weight: 700;
            text-decoration: none;
        }

            .testoMenu-secondario-selected a {
                color: var(--slimy-green);
                text-decoration: none;
                text-transform: none;
            }

        /*START TOGGLE*/

    .menu-left-toogle {
        display: flex;
        background-color: #eff4fc;
        position: fixed;
        height: 60px;
        width: var(--with_10);
        z-index: 10;
        overflow-y: auto;
        overflow-x:hidden;
    }

        #menuToggleLeft {
            position: fixed;
            top: 35px;
            z-index: 10;
            align-self: flex-start;
        }

            #menuToggleLeft input {
                display: block;
                width: 40px;
                height: 32px;
                position: absolute;
                top: -7px;
                left: -5px;
                cursor: pointer;
                opacity: 0; /* hide this */
                z-index: 2; /* and place it over the hamburger */

                -webkit-touch-callout: none;
            }

            #menuToggleLeft span {
                display: block;
                width: 33px;
                height: 4px;
                margin-bottom: 5px;
                position: relative;
                background: #000;
                border-radius: 3px;
                z-index: 1;
                transform-origin: 4px 0px;
                transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0), background 0.5s cubic-bezier(0.77, 0.2, 0.05, 1.0), opacity 0.55s ease;
            }

                #menuToggleLeft span:first-child {
                    transform-origin: 0% 0%;
                }

                #menuToggleLeft span:nth-last-child(2) {
                    transform-origin: 0% 100%;
                }

            /*
         * Transform all the slices of hamburger
         * into a crossmark.
         */
            #menuToggleLeft input:checked ~ span {
                opacity: 1;
                transform: rotate(45deg) translate(-2px, -1px);
                background: #232323;
            }

                /*
 * But let's hide the middle one.
 */
                #menuToggleLeft input:checked ~ span:nth-last-child(3) {
                    opacity: 0;
                    transform: rotate(0deg) scale(0.2, 0.2);
                }

                /*
 * Ohyeah and the last one should go the other direction
 */
                #menuToggleLeft input:checked ~ span:nth-last-child(2) {
                    transform: rotate(-45deg) translate(0, -1px);
                }

        /*
* Make this absolute positioned
* at the top left of the screen
*/
 

            #menu li {
            }

        /*
         * And let's slide it in from the left
         */
        #menuToggleLeft input:checked ~ ul {
            transform: none;
        }

        .menutoggleLeft-topRight {
            display: flex;
            position: relative;
            /*top: 10px; cambio 26.07.23 per logo*/
            z-index: 1;
            width: 100%;
        }

        .logoLeft {
            height: 47px;
            position: absolute;
            right: 0px;
            top: 10px;
        }

      

        .onclick-menu:focus {
            /* clicking on label should toggle the menu */
            pointer-events: none;
        }

            .onclick-menu:focus .onclick-menu-content {
                /*  opacity is 1 in opened state (see below) */
                opacity: 1;
                visibility: visible;
                display: inherit;
                /* don't let pointer-events affect descendant elements */
                pointer-events: auto;
            }

        .onclick-menu-content {
            /* use opacity to fake immediate toggle */
            display: none;
            opacity: 0;
            visibility: hidden;
            transition: visibility 0.5s;
            flex-direction: column;
            margin-left: 48px;
            margin-bottom: 20px;
        }

            .onclick-menu-content li {
                list-style: none;
            }


        .specialmenu {
            cursor: pointer;
            display: flex;
            align-items: center;
            color: var(--blue-ribbon);
            font-family: var(--font-family-rubik-medium);
            font-size: var(--font-size-m);
            font-style: normal;
            font-weight: 700;
            text-decoration: none;
            margin-left: 15px;
            margin-top: 20px;
        }

 
        .elementoSottomenuFirst {
            margin-top: 5px;
        }

        .elementoSottomenu {
            margin-top: 25px;
        }

            .elementoSottomenu label {
                left: 10px;
                color: var(--text);
                font-family: var(--font-family-rubik);
                font-size: var(--font-size-m);
                font-style: normal;
                font-weight: 700;
                text-transform: none;
                cursor: pointer;
                word-wrap: break-word;
            }

        .elementoSottomenuFirst label {
            left: 10px;
            color: var(--text);
            font-family: var(--font-family-rubik);
            font-size: var(--font-size-m);
            font-style: normal;
            font-weight: 700;
            text-transform: none;
            cursor: pointer;
            word-wrap: break-word;
        }
    }
