﻿.custom-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    content: '>'; /* Aggiungi la freccia */
}

.dropdown-menu a {
    background-color: white !important; /* Sfondo bianco per la dropdown */
}

.dropdown-item a {
    color: black; /* Colore del testo per gli elementi della dropdown */
}

.dropdown-item:hover a {
    background-color: #f8f9fa; /* Colore di sfondo al passaggio del mouse */
}

/* PRIMA CARD */

.filtraggio-auto-card {
    background-color: var(--text-secondary);
}

.bottone-dropdown-marca {
    background-color: var(--bg);
    color: #1d1d1b;
    width: 100%;
}

.bottone-dropdown-modello {
    background-color: var(--bg);
    color: #1d1d1b;
    width: 100%;
}

.bottone-dropdown-versione {
    background-color: var(--bg);
    color: var(--text-primary);
    width: 100%;
}

    .bottone-dropdown-marca:hover, .bottone-dropdown-modello:hover, .bottone-dropdown-versione:hover {
        background-color: var(--bg);
        color: var(--text-primary);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    }

    .bottone-dropdown-marca:active, .bottone-dropdown-modello:active, .bottone-dropdown-versione:active {
        background-color: var(--bg);
        color: var(--text-primary);
    }

    .bottone-dropdown-marca:focus, .bottone-dropdown-modello:focus, .bottone-dropdown-versione:focus {
        background-color: var(--bg);
        color: var(--text-primary);
    }

.bottone-cerca {
    background-color: var(--action-btn-bg);
    color: #fff;
}

    .bottone-cerca:hover {
        background-color: var(--action-btn-bg);
        color: var(--bg);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }

.divisore-sezioni-card {
    border: none;
    height: 1px;
    background-color: #5E5E5E;
}

.dropdown-item:active {
    background-color: inherit;
}


/* SECONDA CARD */

.filtraggio-auto-per-pezzo-card {
    background-color: var(--bg-secondary);
}

.middle-section-filtraggio-auto-per-pezzo-card-search-bar:active {
    border: none; /* Rimuove il bordo dell'input */
}

.middle-section-filtraggio-auto-per-pezzo-card-search-bar:focus {
    box-shadow: none; /* Rimuove l'ombra al focus */
}

.card-title {
    color: var(--text-secondary);
    font-weight: bold;
    font-size: 30px;
}

.card-grid-title {
    font-size: 24px;
    columns: var(--text-secondary);
}

.card-pezzo-auto {
    height: 100%;
}

.subcategory-card {
    flex-direction: row;
}

.sezione {
    padding-left: 50px;
    padding-right: 50px;
}

.column-filtraggio-auto-card-dekstop {
    display: block;
}

.column-filtraggio-auto-card-mobile {
    display: none;
}

.titolo-ecommerce-mobile {
    display: none;
}

.button-targa-telaio-filter-selector {
    background-color: var(--text-secondary);
    color: var(--bg);
    border-color: var(--bg);
}

    .button-targa-telaio-filter-selector:hover {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
        color: var(--bg);
    }

    .button-targa-telaio-filter-selector:active {
        background-color: var(--text-secondary);
    }

    .button-targa-telaio-filter-selector:focus {
        background-color: var(--text-secondary);
    }

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: var(--text-secondary);
    background-color: var(--bg);
}

.nav-pills .nav-link span {
    color: var(--bg-secondary) !important;
}

.nav-pills .nav-link.active span, .nav-pills .show > .nav-link span {
    color: var(--text-secondary) !important;
}

.border-none {
    border: none !important;
}

.form-control:focus {
    border-color: none;
    box-shadow: none;
}

.no-radius {
    border-radius: 0px;
}

.field-validation-error.text-danger span {
    color: rgb(var(--bs-danger-rgb)) !important;
    font-size: 16px;
    display: block;
}

.validation-summary-errors.text-danger ul li {
    color: rgb(var(--bs-danger-rgb)) !important;
    font-size: 16px;
}


.lds-ellipsis,
.lds-ellipsis div {
    box-sizing: border-box;
}

.lds-ellipsis {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
    transform: scale(2)
}

    .lds-ellipsis div {
        position: absolute;
        top: 33.33333px;
        width: 13.33333px;
        height: 13.33333px;
        border-radius: 50%;
        background: #0cb900;
        animation-timing-function: cubic-bezier(0, 1, 1, 0);
    }

        .lds-ellipsis div:nth-child(1) {
            left: 8px;
            animation: lds-ellipsis1 0.6s infinite;
        }

        .lds-ellipsis div:nth-child(2) {
            left: 8px;
            animation: lds-ellipsis2 0.6s infinite;
        }

        .lds-ellipsis div:nth-child(3) {
            left: 32px;
            animation: lds-ellipsis2 0.6s infinite;
        }

        .lds-ellipsis div:nth-child(4) {
            left: 56px;
            animation: lds-ellipsis3 0.6s infinite;
        }

@keyframes lds-ellipsis1 {
    0% {
        transform: scale(0);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes lds-ellipsis3 {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(0);
    }
}

@keyframes lds-ellipsis2 {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(24px, 0);
    }
}



.fullscreen-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #0000008c;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

    .fullscreen-loader span {
        position: relative;
        color: white !important;
        font-weight: bold;
    }

@keyframes l7 {
    33% {
        background-size: calc(100%/3) 0%,calc(100%/3) 100%,calc(100%/3) 100%
    }

    50% {
        background-size: calc(100%/3) 100%,calc(100%/3) 0%,calc(100%/3) 100%
    }

    66% {
        background-size: calc(100%/3) 100%,calc(100%/3) 100%,calc(100%/3) 0%
    }
}

.validation-summary-errors {
    color: #842029 !important;
    background-color: #f8d7da;
    border: 1px solid #f5c2c7;
    padding: 10px 15px;
    border-radius: 5px;
    margin-bottom: 15px;
}

    .validation-summary-errors ul {
        margin-bottom: 0;
        list-style: none;
        padding-left: 0;
    }

@media (max-width: 991px) {
    main {
        margin-bottom: 0;
    }

    .sezione:not(.for-mobile) {
        padding-left: 0px;
        padding-right: 0px;
    }

    .sezione.for-mobile {
        padding-left: 20px;
        padding-right: 20px;
    }

    .custom-breadcrumb {
        margin-left: 20px;
        margin-right: 20px;
    }

    .column-filtraggio-auto-card-mobile {
        border-radius: 0;
    }

    .filtraggio-auto-card {
        border-radius: 0;
        border-style: none;
    }

    .filtraggio-auto-per-pezzo-card {
        border-radius: 0;
        padding-bottom: 0;
        border-style: none;
    }

    .titolo-ecommerce-mobile {
        display: block;
        padding-left: 20px;
    }
}
