﻿
:root {
    --colore_principale: #E6AA1B;
    --colore_principale_light: var(--sfondo-principale);
}

.flex-center {
    display: flex;
    align-items: center;
}
/*INIZIO CONTENITORE APPICCICOSO*/
.contenitore-appicciso-totale {
    z-index: 1000;
    bottom: 0;
    left: 0;
    position: fixed;
    height: 55px;
    width: 100%;
    background-color: transparent;
}

.contenitore-appicciso {
    display: flex;
    height: 100%
}

.testo-azione {
    color: white;
    margin: 0 0.4em;
}

.contenitore-icona {
    display: block;
    text-align: center;
}

.contenitore-appicciso a {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    height: 100%;
    justify-content: center;
    line-height: normal;
}

.contenitore-appicciso li {
    background-color: var(--sfondo-principale);
    flex: 1;
    height: 100%;
    overflow: hidden;
    transition: transform .3s linear;
}

    .contenitore-appicciso li i {
        width: 15px;
        height: 15px;
        text-align: center;
        display: inline-block;
        vertical-align: middle;
        font-style: normal;
    }

        .contenitore-appicciso li i > svg {
            display: block;
            width: 100%;
            height: 100%;
            fill: white;
        }


@media only screen and (min-width: 992px) {
    .contenitore-appicciso-totale {
        transform: translate3d(100%,0,0) translate3d(-56px,0,0);
    }

    .contenitore-appicciso-totale {
        bottom: auto;
        height: auto;
        left: auto;
        right: 0;
        /*transform: translate3d(100%,0,0) translate3d(-40px,0,0);*/
        top: 400px;
        width: auto;
    }

    .contenitore-appicciso a {
        justify-content: flex-start;
    }

    .contenitore-appicciso {
        display: block;
        height: auto;
    }

        .contenitore-appicciso li {
            height: 56px;
            margin-bottom: 4px;
            border-radius: 8px;
        }

            .contenitore-appicciso li:hover {
                background-color: var(--colore_principale_light);
                transform: translate3d(-100%,0,0) translate3d(56px,0,0);
            }

            .contenitore-appicciso li > a > div {
                align-items: center;
                display: flex;
            }

    .contenitore-icona {
        height: 56px;
        line-height: 56px;
        width: 56px;
    }
}
/*FINE CONTENITORE APPICCICOSO*/


/*INIZIO BOTTONE FILTRI*/
@media(min-width:992px) {
    #bottone-filtri {
        display: none;
    }
}

@media(max-width:992px) {
    
    .chiudi {
        transform: translate3d(0,100%,0);
    }

    .apri {
        transform: translateZ(0);
    }
    #header.topbar-dark .topbar {
        background-color: var(--colore_principale);
    }

    .page-section-ptb {
        margin: 17px 0;
    }

    #bottone-filtri {
        text-align: center;
        padding: 0.5em;
        text-transform: uppercase;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size:14px
    }

        #bottone-filtri > svg {
            height: 18px;
            width: 18px;
            fill: black;
            margin-left: 0.5em;
        }

    #dropdown-ricerca .contenitore-chiusura,
    #form-contatti-veicolo .contenitore-chiusura,
    #form-contatti .contenitore-chiusura,
    #form-recensione .contenitore-chiusura {
        text-align: right;
    }

    #dropdown-ricerca,
    #form-contatti-veicolo,
    #form-recensione,
    #form-contatti {
        position: fixed;
        z-index: 2001;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        transition: all .3s cubic-bezier(.25,.46,.45,.94);
        transition-property: transform;
        overflow-y: scroll;
        -webkit-overflow-scrolling: touch;
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
        padding: 1em;
        overflow: auto !important;
        height: 100% !important;
        border-radius: 0;
    }

}

@media(min-width:991px) {
    .btn-chiudi-ricerca {
        display: none
    }
}
#dropdown-ricerca .form-group,
#form-contatti-veicolo .form-group,
#form-contatti .form-group {
    border-bottom: solid 1px white;
    padding-bottom: 20px;
}

    #dropdown-ricerca .form-group > label,
    #form-contatti-veicolo .form-group > label,
    #form-contatti-contatti .form-group > label {
        text-transform: uppercase;
        font-weight: 700;
    }
/*FINE BOTTONE FILTRI*/



body.noscroll {
    position: fixed !important;
    overflow: hidden;
}

#contenitoreAppiccisoCellulare, #contenitoreAppiccisoRecensioni {
    height: auto;
    box-shadow: 0 -4px 12px #0000001a;
}
    #contenitoreAppiccisoCellulare > div, #contenitoreAppiccisoRecensioni > div {
        padding: 0.5em 1em;
    }


.contenitore-appicciso-totale a{
    height:auto !important;
    width:90% !important;
    line-height: 30px!important;
    margin-right:1em;
}
    .contenitore-appicciso-totale a span, 
    .contenitore-appicciso-totale button span, 
    .contenitore-appicciso-totale button {
        font-size: 18px;
        vertical-align: middle;
    }

.contenitore-appicciso-totale li {
    width: 100%
}

