.select2 {
    width: 100% !important;
}

.single-auto-select {
    width: 100% !important;
    height: 53.5px;
}

.single-auto-select:hover {
    cursor: pointer;
}

.select2-search__field, .single-auto-select {
    font-family: 'Switzer', sans-serif !important;
    border-radius: 10px;
}

.select2-results__option {
    padding-right: 20px;
    vertical-align: middle;
}

.select2-results__option:before {
    content: "";
    display: inline-block;
    position: relative;
    height: 20px;
    width: 20px;
    border: 1px solid #e9e9e9;
    border-radius: 0px;
    background-color: #fff;
    margin-right: 20px;
    vertical-align: middle;
}

.select2-results__option[aria-selected=true]:before {
    font-family: fontAwesome;
    content: "\f00c";
    color: #fff;
    background-color: #62b8eb;
    border: 0;
    display: inline-block;
    padding-left: 3px;
}

.select2-container--default .select2-results__option[aria-selected=true] {
    background-color: #fff;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #eaeaeb;
    color: #272727;
}

.select2-container--default .select2-selection--multiple, .single-auto-select {
    margin-bottom: 10px;
    border-radius: 10px;
}

.select2-container--default.select2-container--open.select2-container--below .select2-selection--multiple {
    border-radius: 10px;
}

.select2-container--default.select2-container--focus .select2-selection--multiple {
    border-color: #62b8eb;
    border-width: 1px;
}

.select2-container--default .select2-selection--multiple {
    border-width: 1px;
    border-radius: 10px;
}

.select2-container--open .select2-dropdown--below {

    border-radius: 0px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);

}

.select2-selection .select2-selection--multiple:after {
    content: 'hhghgh';
}

/* select with icons badges single*/
.select-icon .select2-selection__placeholder .badge {
    display: none;
}

.select-icon .placeholder {
    /* 	display: none; */
}

.select-icon .select2-results__option:before,
.select-icon .select2-results__option[aria-selected=true]:before {
    display: none !important;
    /* content: "" !important; */
}

.select-icon .select2-search--dropdown {
    display: none;
}

.bh-search-container {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.select2-container--default .select2-selection--multiple {
    border-radius: 10px !important;
    border-width: 1px !important;
    padding: 8px 12px !important;
    border-color: #A0A0A0 !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    border-radius: 5px !important;
    border-width: 0px !important;
    background-color: #62b8eb !important;
    color: #fff !important;
    font-size: 14px !important;
    padding: 3px 8px !important;
    font-weight: 300 !important;
    letter-spacing: 1px !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    border-radius: 0px !important;
    border-width: 1px !important;
    background-color: #62b8eb !important;
    color: #fff !important;
    margin-right: 4px !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover {
    background-color: #62b8eb !important;
    color: #fff !important;
}

.select2-selection__choice {
    letter-spacing: 2px !important;
}

.select-label {
    font-family: "General Sans", sans-serif;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #000 !important;
    margin-bottom: 5px !important;
}

/*
.bh-search-btn {
    font-family: 'Blinker', sans-serif !important;
    width: 100% !important;
    background-color: #000 !important;
    color: #fff !important;
    border-radius: 50px !important;
    padding: 14px 20px !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    letter-spacing: 1px !important;
    margin-top: 15px !important;
}

.bh-search-btn:hover {
    background-color: #FFF !important;
    color: #000 !important;
    border: 1px solid black !important;
}
*/


.auto-item {
    scale: 0.9;
    transition: .2s;
}

.auto-item:hover {
    scale: 1.05;
    transition: .2s;
}

.price-container {
    display: flex;
    width: 100%;
    padding: 6px 12px;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    background-color: #000;
}

.auto-price {
    font-size: 36px;
    font-weight: 600;
    color: #FFF;
}

.auto-temporarity {
    font-size: 14px;
    font-weight: 600;
    color: #FFF;
    text-transform: uppercase;
    margin-left: 12px;

}

.auto-title {
    font-size: 18px;
    letter-spacing: 0.01rem;
    font-weight: 600;
    color: #000;
    margin-top: 20px;
    margin-bottom: 20px;
    text-align: center;
    text-transform: uppercase;
}

.auto-description {
    font-size: 16px;
    letter-spacing: 0.01rem;
    font-weight: 400;
    color: #000;
    margin-top: 20px;
    margin-bottom: 20px;
    text-align: center;
}

.specifiche-row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    margin-bottom: 20px;
    border-top: 1px solid #000;
    padding: 10px 0px;
}

/* First span child of specifiche-row */
.specifiche-row span:first-child {
    font-family: 'General Sans', sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: #000;
}

.specifiche-container {
    background-color: #FFFFFF;
    padding: 80px 40px;
}

.specifiche-titles {
    font-family: 'General Sans', sans-serif;
    margin-bottom: 30px;
    font-size: 32px;
    font-weight: 500;

}

.top-button {
    background-color: #000 !important;
    border-radius: 0px !important;
}

#anteprimaIVA, #anteprimaIVAMobile {
    font-family: 'Switzer', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #A0A0A0;
}

.auto-title-scheda {
    font-family: 'General Sans', sans-serif;
    margin-top: 0px !important;
    font-size: 38px;
    font-weight: 500;
    letter-spacing: 0.01rem;
    color: #FFF;
    text-align: center;
}

.auto-modello-scheda {
    font-family: 'Switzer', sans-serif;
    font-size: 18px;
    margin-top: -10px !important;
    color: #A0A0A0;
    text-align: center;
}

#auto-images-slider {
    margin-top: 100px;
}

#autoLightgallery {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    margin-bottom: 10px;
}

#autoLightgallery li {

    list-style-type: none;
}

.lg-backdrop {
    z-index: 9999999; /* Puoi aumentare questo valore a seconda delle tue necessità */
}

.lg-outer {
    z-index: 999999; /* Assicurati che questo sia maggiore del z-index del backdrop per visibilità corretta */
}

.lg-outer .lg-thumb-item.active, .lg-outer .lg-thumb-item:hover {
    border: 2px solid #62b8eb !important;
}

.preventivo-card-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    margin-right: 20px;
    margin-bottom: 20px;
    padding: 40px 40px;
    background-color: #FFF;
    border-radius: 10px;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.2);
}


.offerta-container {
    width: 100%;
    background-color: #FFFFFF;
    padding-top: 30px !important;
    padding-bottom: 30px !important;
    padding-right: 40px !important;
    padding-left: 40px !important;
    border-radius: 10px;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.2);
}


.offerta-container-price {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.offerta-container-price > span {
    font-size: 12px;
    font-weight: 600;
    margin-top: -12px;
    color: #FFF;
    text-transform: uppercase;
}

.offerta-container-price > p {
    color: #A0A0A0
}

.offerta-container-price > p {
    font-size: 16px;
    font-weight: 400;
    margin-top: -10px;
    text-transform: uppercase;
}

/*
.richiedi-preventivo-container > .bh-search-btn {
    width: 100% !important;
    background-color: #FFF !important;
    color: #000 !important;
    border-radius: 50px !important;
    padding: 14px 20px !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    letter-spacing: 1px !important;
    margin-top: 15px !important;
}


.richiedi-preventivo-container > .bh-search-btn:hover {
    background-color: #000 !important;
    color: #FFF !important;
    border: 1px solid #FFF !important;
}
*/

.form-check-input:checked {
    background-color: #62b8eb !important;
    border-color: #62b8eb !important;

}

.offerta-container-detail {
    color: #A0A0A0;
}

.gallery-thumbnail {
    width: 60px !important;
    height: 60px !important;
    object-fit: cover;
    margin-right: 10px;
    cursor: pointer;
    transition: .3s;
}

.gallery-thumbnail:hover {
    border: 2px solid #62b8eb;
    scale: 1.05;
    transition: .3s;
}

.richiedi-preventivo-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.offerta-container-detail {
    font-size: 16px;
    text-align: center;
    margin-top: 12px;
}

.offerta-price {
    font-family: 'General Sans', sans-serif;
    font-size: 36px;
    font-weight: 500;
    color: #FFF;
}

.single-auto-temporalita {
    font-family: 'General Sans', sans-serif;
    font-size: 22px;
    font-weight: 500;
    color: #000;
    margin-bottom: 2px;
}

.preventivo-container-edit {
    width: 95vw;
    padding: 40px 20px;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
}

.bh-preventivo-input {
    font-family: 'Switzer', sans-serif;
    border-radius: 10px !important;
    border: 1px solid #A0A0A0 !important;
    padding: 14px 20px !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    letter-spacing: 1px !important;
    margin-top: 0px !important;
}

#searchOfferteContainer {
    display: flex;
    width: 95vw;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

#filtroAutoForm {
    background-color: #FFF;
    margin-top: -100px;
    padding: 30px 30px;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.5);
    border-radius: 10px;
}

.select-filters-container-title {
    font-family: 'General Sans', sans-serif;
    font-size: 28px;
    color: #000;
    text-align: start;
    font-weight: 500;
}

/** TinySlider **/
.tns-image {
    width: 50%;
}

/** Crea pulsanti rotondi per .prev e .next **/
.auto-slider-arrow, .categoria-auto-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px !important;
    height: 50px !important;
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    background-color: #FFF;
    color: #000;
    padding: 10px 15px;
    font-size: 20px;
    cursor: pointer;
    user-select: none;
    border: 1px solid #FFF;
    border-radius: 10px;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.5);
    transition: .3s;
}

.categoria-auto-arrow {
    top: 60%;
}

.prev {
    left: 2%;
}

.next {
    right: 2%;
}

.categoria-auto-arrow:hover, .auto-slider-arrow:hover {
    background-color: #FFF;
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: #000;
    transition: .3s;
}

.preventivo-btn {
    width: 25%;
}


/** Responsive **/

@media (max-width: 576px) {
    .tns-image {
        width: 75%;
        height: 750%;
        object-fit: cover;
    }

    .specifiche-row {
        margin-top: 0px !important;
        margin-bottom: 10px !important;
    }

    .auto-slider-arrow {
        top: 35%;
    }

    .specifiche-container {
        padding: 40px 10px;
    }

    .auto-slider-arrow {
        top: 50%;
    }

    .offerta-container {
        width: 100%;
        position: relative;
        top: 0;
        margin-top: 0px;
        margin-bottom: 50px;
    }
}


/*** Last added card item ***/
.last-added-card {
}

.last-added-card .added-card-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    background-color: #FFFFFF;
    height: 80%;
    padding: 20px 20px;
}

.auto-card-item, .last-added-card {
    border-radius: 10px;
    margin: 20px 0px;
}

.auto-card-item .auto-card-body {
    display: flex;
    width: 100%;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    background-color: #FFFFFF;
    height: 100%;
    padding: 20px 10px;
    border-radius: 10px;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.2);
}

.auto-item-image {
    width: auto;
    height: 180px !important;
    object-fit: cover;
}

.auto-card-item-title {
    font-family: "General Sans", sans-serif;
    font-size: 24px;
    font-weight: 500;
    letter-spacing: -0.01rem;
    color: #000;
    text-align: center;
}

.auto-card-item-modello {
    font-family: "Switzer", sans-serif;
    margin-top: -10px;
    color: #666666;
}

.auto-card-item-price {
    font-family: "General Sans", sans-serif;
    font-size: 34px;
    font-weight: 500;
    color: #000;
    margin-top: 0px;
    margin-bottom: 0px !important;
    text-align: center;
}

.auto-card-item-price-temporalita {
    font-family: "General Sans", sans-serif;
    font-size: 20px;
    font-weight: 500;
    color: #000;
    margin-bottom: 5px !important;
    margin-left: 5px;
    text-align: center;
}

.auto-card-item-anticipo {
    font-family: "Switzer", sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #666666;
    margin-top: -5px;
    margin-bottom: 0px !important;
    text-align: center;
}

.added-card-footer .bh-search-btn {
    width: 100% !important;
}

.added-card-title {
    font-size: 32px;
    letter-spacing: 0.01rem;
    font-weight: 600;
    color: #000;
    text-align: center;
}

.added-card-modello {
    margin-top: -10px;
    color: #A0A0A0;
}

.added-card-price {
    font-size: 32px;
    font-weight: 600;
    color: #000;
    margin-top: -6px;
    margin-bottom: 0px !important;
    text-align: center;
}

.added-card-anticipo {
    
}

.added-card-info {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.tns-nav {
    opacity: 0 !important;
}


/* Template - Single auto */
.single-auto-container {
    width: 95vw;
    margin-top: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.single-auto-form-label {
    font-size: 16px;
    font-weight: 400;
    color: #000000;
}

.richiedi-preventivo-container > p {
    color: rgba(255, 255, 255, 0.5);
}

/* Categora auto */
.categoria-item {
    display: flex;
    flex-direction: column;
    justify-content: end;
    align-items: center;
    transition: .2s;
    width: 100%;
    margin: 0 auto; /* Centra l'elemento orizzontalmente */
}


.titolo-categoria {
    font-size: 5.0rem;
    font-family: 'General Sans', sans-serif;
    font-weight: 500;
    text-align: center;
    margin-top: 1rem;
}

.descrizione-categoria {
    font-size: 18px;
    font-family: 'Switzer', sans-serif;
    font-weight: 400;
    text-align: center;
    margin-top: 1rem;
}

.immagine-categoria {
    width: 100%;
    height: auto;
    object-fit: cover;
    margin-top: 1rem;
}

.categoria-btn, .bh-search-btn {
    margin-top: 1rem;
    font-family: "General Sans", Sans-serif;
    font-size: 14px;
    font-weight: 500;
    padding: 12px 15px 12px 15px;
    fill: #FFFFFF;
    color: #FFFFFF;
    background-color: var(--e-global-color-5148c1c);
    border-style: solid;
    border-width: 0px 0px 0px 0px;
    border-radius: 10px;
    text-decoration: none;
    cursor: pointer;
}

.categoria-btn:hover, .bh-search-btn:hover {
    background-color: var( --e-global-color-118ab42);
    color: #FFFFFF;
}

.bh-search-btn.form {
    width: 50%;
}

.tns-outer {
    overflow: visible !important; /* Permetti agli elementi di fuoriuscire */
}

.tns-item {
    display: flex;
    justify-content: center;
    align-items: center;
}

#categorieAutoSlider {
    display: flex;
    justify-content: center;
    align-items: center;

}


/** Media queries **/

/** Tablet **/
@media (max-width: 768px) {

    .single-auto-container {
        margin-top: 50px;
    }

    .categoria-item {
        width: 100%;
    }

    .titolo-categoria {
        font-size: 3.6rem;
    }

    .descrizione-categoria {
        font-size: 1.4rem;
    }

    .categoria-btn {
        font-size: 1.2rem;
    }

    .auto-slider-arrow, .categoria-auto-arrow {
        width: 50px !important;
        height: 50px !important;
        font-size: 20px;
    }

    .bh-search-btn.form {
        width: 100%;
    }

    .preventivo-btn {
        width: 50%;
    }
}

/** Smartphone **/
@media (max-width: 576px) {

    .single-auto-container {
        margin-top: 0px;
    }

    .categoria-item {
        width: 100%;
    }

    .titolo-categoria {
        font-size: 2.4rem;
    }

    .descrizione-categoria {
        font-size: 1rem;
    }

    .categoria-btn {
        font-size: 1rem;
    }

    .auto-slider-arrow, .categoria-auto-arrow {
        width: 40px !important;
        height: 40px !important;
        font-size: 16px;
    }

    .bh-search-btn.form {
        width: 100%;
    }

    .preventivo-btn {
        width: 100%;
    }

    .gallery-thumbnail {
        width: 50px !important;
        height: 50px !important;
    }
}