/* stile carousel */

#main_carousel.carousel img {
    max-height: 650px;
    width: 100%;
    object-fit: cover;
}

.carousel-control-next,
.carousel-control-prev {
    z-index: 31;
}

.carousel-control-next-icon {
    background-image: none;
    font-size: 2rem;
    font-weight: bold;
}

.carousel-control-prev-icon {
    background-image: none;
    font-size: 2rem;
    font-weight: bold;
}

.search_div {
    position: absolute;
    z-index: 10;
    height: 100%;
    top: 0;
    width: 100%;
}

.search_div .row {
    height: 100%;
}

.search_div .row .column {
    background-color: rgba(255, 255, 255, 0.8);
}

/* blocco risultati di ricerca */
.cardSearchResult {
    /*border: 1px solid #bdbdbd !important;
    -webkit-border-radius: .25rem;
    border-radius: .25rem;*/
}

.cardSearchResult img {
    -webkit-border-radius: .25rem .25rem 0 0;
    border-radius: .25rem .25rem 0 0;
}

.cardSearchResult .fas.fa-star {
    font-size: 12px;
}

.cardSearchResult .fas.fa-star.checked {
    color: orange;
}

.cardSearchResult .starDesc {
    font-size: 13px;
    color: #6b6b6b;
    padding-top: 2px;
}

.cardSearchResult .buttonAction {
    font-size: 11px;
    width: 145px;
}

.cardSearchResultTop {
    position: absolute;
    right: 10px;
    top: -11px;
    padding: 5px 10px 5px 10px;
    background-color: orange;
    font-size: 10px;
    -webkit-border-radius: 0.25rem;
    border-radius: 0.25rem;
    color: #232c3b;
}

.cardSearchResult .serviceDetail {
    font-size: 13px;
    color: #6b6b6b;
}


.btn-plus,
.btn-minus {
    color: #fff;
    background-color: #50afab;
    border-color: #50afab;
    border-radius: 0 0.25em 0.25em 0 !important;

}

.btn-minus {
    color: #fff;
    background-color: #50afab;
    border-color: #50afab;
    border-radius: 0.25em 0 0 0.25em !important;

}

.btn-plus:hover,
.btn-minus:hover {
    color: #fff !important;
    background-color: #232c3b;
    border-color: #232c3b;
}

.btn-product-confirm-checked {
    color: #fff;
    background-color: #232c3b;
    border-color: #232c3b;
}

.btn-product-confirm {
    color: #fff;
    background-color: #50afab;
    border-color: #50afab;
}

.btn-service-confirm-checked {
    color: #fff;
    background-color: #232c3b;
    border-color: #232c3b;
}

.btn-service-confirm {
    color: #fff;
    background-color: #50afab;
    border-color: #50afab;
}

.btn-nav {
    font-size: 1.6em;
    height: 100px;
}

.btn-nav.active {
    font-weight: bold;
    font-size: 1.6em;
    height: 100px;
    color: #fff !important;
    background-color: #232c3b !important;
    border-color: #232c3b !important;
}

@media (max-width: 575.98px) {
    .btn-nav {
        font-size: 1em;
        height: 100px;
    }

    h3 {
        font-size: 1em;
    }

    .btn-nav.active {
        font-weight: bold;
        font-size: 1em;
        height: 100px;
        color: #fff !important;
        background-color: #232c3b !important;
        border-color: #232c3b !important;
    }
}


@media (min-width: 575.98px) and (max-width: 767.98px) {
    .btn-nav {
        font-size: 1.3em;
        height: 100px;
    }

    h3 {
        font-size: 1.3em;
    }

    .btn-nav.active {
        font-weight: bold;
        font-size: 1.3em;
        height: 100px;
        color: #fff !important;
        background-color: #232c3b !important;
        border-color: #232c3b !important;
    }
}




.expand_hidden {
    display: none;
}

.success-toast.swal2-icon-success {
    background-color: #a5dc86 !important;
}

.success-toast.swal2-title {
    color: white !important;
}

/* forma-range style*/
.form-range {
    width: 100%;
    height: 1.5rem;
    padding: 0;
    background-color: transparent;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.form-range::-webkit-slider-thumb {
    width: 1rem;
    height: 1rem;
    margin-top: -0.25rem;
    background-color: #50afab;
    border: 0;
    border-radius: 1rem;
    -webkit-transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    -webkit-appearance: none;
    appearance: none;
}

.form-range::-webkit-slider-runnable-track {
    width: 100%;
    height: 0.5rem;
    color: transparent;
    cursor: pointer;
    background-color: #dee2e6;
    border-color: transparent;
    border-radius: 1rem;
}

.form-range::-moz-range-thumb {
    width: 1rem;
    height: 1rem;
    background-color: #0d6efd;
    border: 0;
    border-radius: 1rem;
    -moz-transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    transition: background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    -moz-appearance: none;
    appearance: none;
}

@media (prefers-reduced-motion: reduce) {
    .form-range::-moz-range-thumb {
        -moz-transition: none;
        transition: none;
    }
}

.expand_description{
    cursor: pointer;
    padding-top: 0;
    margin-top: 0;
}

.description_truncate {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
