﻿#pnlCerca {
    height: 100%; /* 100% Full-height */
    width: 0; /* 0 width - change this with JavaScript */
    position: fixed; /* Stay in place */
    z-index: 1; /* Stay on top */
    top: 0; /* Stay at the top */
    right: 0;
    left: 0;
    background-color: var(--colore-bg2); /*#007bff;*/
    overflow-x: hidden; /* Disable horizontal scroll */
    padding-top: 60px; /* Place content 60px from the top */
    transition: 0.5s; /* 0.5 second transition effect to slide in the sidenav */
    z-index: 1100;
}
#pnlCerca .closebtn {
    position: absolute;
    top: 0;
    /*right: 25px;*/
    left: 0px;
    font-size: 36px;
    margin-left: 5px;
    padding: 10px;
}

#pnlCerca2 {
    width: 100%;
    /*padding: 0 18px;
    
    overflow: hidden;
    background-color: #f1f1f1;*/
    display: none;
    padding: 0 18px;
    /*max-height: 50px;*/
    overflow: hidden;
    /*transition: max-height 0.2s ease-out;*/
    background-color: #f1f1f1;
}






.sidenavR {
    height: 100%; /* 100% Full-height */
    width: 0; /* 0 width - change this with JavaScript */
    position: fixed; /* Stay in place */
    z-index: 1; /* Stay on top */
    top: 0; /* Stay at the top */
    right: 0;
    background-color: var(--colore-primario); /*#007bff;*/
    overflow-x: hidden; /* Disable horizontal scroll */
    padding-top: 60px; /* Place content 60px from the top */
    transition: 0.5s; /* 0.5 second transition effect to slide in the sidenav */
    z-index: 1100;
}

    .sidenavR a {
        padding: 8px 8px 8px 32px;
        text-decoration: none;
        font-size: 25px;
        /*color: #fff;*/
        color: var(--colore-primario_testo) !important;
        display: block;
        /*justify-content: flex-start;
        vertical-align: middle;
        align-items: center;
        justify-content: center;*/
        transition: 0.3s;
    }

    /* When you mouse over the navigation links, change their color */
        .sidenavR a:hover {
            /*color: #f1f1f1;*/
            /*background-color: #0069d9;
        border-color: #0062cc;*/
            color: var(--colore-primario);
            background-color: var(--colore-bg2);
        }

/* Position and style the close button (top right corner) */
    .sidenavR .closebtn {
        position: absolute;
        top: 0;
        /*right: 25px;*/
        left: 0px;
        font-size: 26px;
        margin-top: 5px;
        margin-bottom: 5px;
        margin-left: 5px;
        padding: 10px;
    }
.sidenavR .closebtn:hover {
    border-color: var(--colore-primario);
}
.sidenavR .mFiltro {
    padding: 8px 8px 8px 32px;
    text-decoration: none;
    font-size: 25px;
    color: #fff;
    display: block;
    /*justify-content: flex-start;
        vertical-align: middle;
        align-items: center;
        justify-content: center;*/
    transition: 0.3s;
    background-color: var(--colore-bg2);
}

    /*.sidenavR .mFiltro:hover {
        background-color: #0069d9;
        border-color: #0062cc;
    }*/


.dropdown-divider-mgs {
    height: 0;
    margin: 0.5rem 0;
    overflow: hidden;
    border-top-width: 1px;
    border-top-style: solid;
    border-top-color: var(--colore-primario);
    /*border-top: 1px solid var(--colore-primario);*/
}



/* The side navigation menu */
.sidenav {
    height: 100%; /* 100% Full-height */
    width: 0; /* 0 width - change this with JavaScript */
    position: fixed; /* Stay in place */
    z-index: 1; /* Stay on top */
    top: 0; /* Stay at the top */
    left: 0;

    /*background-color: var(--colore-bg2);*/ /*#007bff;*/
    background-color: var(--colore-primario); /*#007bff;*/

    overflow-x: hidden; /* Disable horizontal scroll */
    padding-top: 60px; /* Place content 60px from the top */
    transition: 0.5s; /* 0.5 second transition effect to slide in the sidenav */
    z-index: 1100;
}

    /* The navigation menu links */
    .sidenav a {
        padding: 8px 8px 8px 10px;
        text-decoration: none;
        font-size: 25px;
        color: var(--colore-primario_testo) !important;
        /*color: var(--colore-bg2);*/
        /*color: var(--colore-primario);*/

        display: block;
        /*justify-content: flex-start;
        vertical-align: middle;
        align-items: center;
        justify-content: center;*/
        transition: 0.3s;

    }

    
    /* When you mouse over the navigation links, change their color */
    .sidenav a:hover {
        /*color: #f1f1f1;*/
        color: var(--colore-primario);
        background-color: var(--colore-bg2); /*#0069d9;*/
        border-color: #0062cc;
    }
    .sidenav .subMenu a {
        color: var(--colore-primario) !important;
    }
    .sidenav .subMenu a:hover {
        background-color: var(--colore-bg);
    }
    /* Position and style the close button (top right corner) */
    .sidenav .closebtn {
        position: absolute;
        top: 0;
        right: 0px;
        /*left: 5px;*/
        font-size: 26px;
       /* margin-left: 50px;*/
        /*padding: 10px;*/
        margin-top: 5px;
        margin-bottom: 5px;
        margin-right: 5px;
        padding: 10px;
        /*text-decoration: none;*/
    }
        .sidenav .closebtn:hover {
            border-color: var(--colore-primario);
        }
        .sidenav ul {
            padding-left: 0px;
            margin-left: 0px;
        }
        .sidenav li {
        padding-left: 0px;
        list-style: none;
        margin-left: 0px;
    }

    .sidenav .inner-li {
        padding-left: 20px;
        list-style: none;
        margin-left: 0px;
    }

    .header {
        /*background-color: #f1f1f1;*/
        padding: 30px;
        text-align: center;
    }
.sticky {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

    .sticky + .content {
        padding-top: 60px;
    }

.sticky2 {
    position: fixed;
    top: 335px;
    width: 100%;
    z-index: 1000;
}

.stickyFiltri {
    position: fixed;
    top: 100px;
    width: 100%;
    z-index: 1000;
}

/* On smaller screens, where height is less than 450px, change the style of the sidenav (less padding and a smaller font size) */
@media screen and (max-width: 768px) {
    .menuHam {
        display: block;
    }

    .menuAll {
        display: none;
    }
    /*.sidenav {
        padding-top: 15px;
    }*/

    .sidenav a {
        font-size: 18px;
    }

    .footerNotVis {
        display: none;
    }

    /*.footerVis2 {
        display: block;
    }*/

    .btnMenuSize {
        font-size: 0.875rem;
        border-radius: 0.2rem;
        padding: 3px;

        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .iconMenuSize {
        font-size: 22px !important;
        padding: 0px;
        margin: 0px;
    }
}
.btnMenuSearch[data-test="2"] {
    display: none;
    margin-right: 5px;
}
.logo[data-tipo="maxi"] {
    display: block;
}
.logo[data-tipo="mini"] {
    display: none;
}
/*@media screen and (max-width: 450px)*/
@media screen and (min-width: 900px) {
    /*.btnMenuSearch[data-test="1"] {
        display: none;
    }

    .btnMenuSearch[data-test="2"] {
        display: block;
    }*/
    .rowFiltri {
        display: none;
    }
}
@media screen and (max-width: 900px) {
    .colFiltri {
        display: none;
    }
    .rowFiltri {
        display: block;
    }
}
    @media screen and (max-width: 700px) {
        .btnMenuSearch[data-test="1"] {
            display: none;
        }

        .btnMenuSearch[data-test="2"] {
            display: block;
        }

        .carrello {
            display: none;
        }

        .logo[data-tipo="maxi"] {
            display: none;
        }

        .logo[data-tipo="mini"] {
            display: !important block;
        }
    }

    @media screen and (max-width: 580px) {
        .btnMenuSizeText {
            display: none;
        }
        /*.btnMenuSearch[data-test="1"] {
        display: none;
    }
    .btnMenuSearch[data-test="2"] {
        display: block;
    }*/
    }
    /*@media (min-width: 764px) {
    .footerVis2 {
        display: none;
    }
}*/
    @media screen and (min-width: 768px) {
        .menuHam {
            display: none;
        }

        .menuAll {
            display: block;
        }

        .btnMenuSearch[data-test="2"] {
            margin-right: 5px;
        }
    }

    @media screen and (max-width: 850px) {
        .menuHamR {
            display: none; /*block;*/
        }

        .menuAllR {
            display: none;
        }
    }

    @media screen and (min-width: 850px) {
        .menuHamR {
            display: none;
        }

        .menuAllR {
            display: block;
        }
    }

    .myUL {
        list-style-type: none;
        margin: 0;
        padding: 0;
    }

    .btn-menu {
        color: white;
        width: 140px;
    }


    .Myoverlay {
        display: none;
        position: fixed;
        /* full screen */
        width: 100vw;
        height: 100vh;
        /* transparent black */
        /*background: rgba(77, 184, 255, 0.7); */
        background: var(--colore-overlay);
        /*rgba(0, 0, 0, 0.7);*/
        /* middle layer, i.e. appears below the sidebar */
        z-index: 1098;
        opacity: 0;
        /* animate the transition */
        transition: all 0.5s ease-in-out;
    }
        /* display .overlay when it has the .active class */
        .Myoverlay.active {
            display: block;
            opacity: 1;
        }

    .btnAreaPrivata {
        padding-left: 0.3rem;
        padding-right: 0.3rem;
        /*margin-top: 3px;*/
        font-size: 0.9rem;
        font-weight: 600;
        display: inline-block;
        text-align: center;
        vertical-align: middle;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
        background-color: transparent;
        border: 1px solid transparent;
        line-height: 1.5;
        border-radius: 0.25rem;
        transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
        /*background-color: var(--colore-primario);
    border-color: var(--colore-primario);
    color: var(--colore-primario_testo);*/

        background-color: var(--colore-primario_hover);
        border-color: var(--colore-primario_testo);
        color: var(--colore-primario_testo);
    }

    a.btnAreaPrivata {
        text-decoration: none;
    }

    .btnAreaPrivata:hover {
        background-color: var(--colore-bg2);
        border-color: var(--colore-primario);
        color: var(--colore-primario);
    }

    .testoAreaPrivata {
        padding-left: 0.3rem;
        padding-right: 0.3rem;
        font-size: 0.9rem;
        font-weight: 600;
        display: inline-block;
        text-align: center;
        vertical-align: middle;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
        background-color: transparent;
        border: 1px solid transparent;
        line-height: 1.5;
        border-radius: 0.25rem;
        /*transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;*/
        background-color: transparent;
        /*border-color: var(--colore-primario);*/
        /*color: var(--colore-primario_testo);*/
        color: var(--colore-primario);
        font-style: italic;
    }
