p {
    margin: 0;
}

footer a {
    text-decoration: none;
    color: white;
}

form a {
    color: #333;
    text-decoration: underline;
}

footer a:hover {
    text-decoration: none;
    color: black !important;
}


.text-muted a {
    color: #333;
    text-decoration: underline;
}

/* CUSTOM WIDTHS */
.w-10,
.w-xs-10 {
    width: 10% !important;
}

.w-15,
.w-xs-15 {
    width: 15% !important;
}

.w-20,
.w-xs-20 {
    width: 20% !important;
}

/* BREAKPOINTS */

/* SM breakpoint */
@media (min-width: 576px) {

    /* CUSTOM WIDTHS */
    .w-sm-10 {
        width: 10% !important;
    }

    .w-sm-15 {
        width: 15% !important;
    }

    .w-sm-20 {
        width: 20% !important;
    }
}

/* MD breakpoint*/
@media (min-width: 768px) {

    /* CUSTOM WIDTHS */
    .w-md-10 {
        width: 10% !important;
    }

    .w-md-15 {
        width: 15% !important;
    }

    .w-md-20 {
        width: 20% !important;
    }
}

/* LG breakpoint */
@media (min-width: 992px) {

    /* CUSTOM WIDTHS */
    .w-lg-10 {
        width: 10% !important;
    }

    .w-lg-15 {
        width: 15% !important;
    }

    .w-lg-75 {
        width: 75% !important;
    }

}

.btnselection {

    color: white;
    --bs-btn-padding-x: 2em;
    text-transform: uppercase;
    font-weight: 600;
    border-radius: 0;
    width: fit-content;
    text-decoration: none;
    padding: 0.4rem 1.5rem;
    background-color: #ccc;
}

.btnselection:hover {

    color: white;
    --bs-btn-padding-x: 2em;
    text-transform: uppercase;
    font-weight: 600;
    border-radius: 0;
    width: fit-content;
    text-decoration: none;
    padding: 0.4rem 1.5rem;
    background-color: #aeaeae;
}

/* colori globali*/

:root {
    --primary-color: #EC0000;
    /* Colore primario */
    --secondary-color: #1BB3BC;
    /* Colore secondario */
    --hover-primary-color: #c10000;
    /* Colore primario */
    --hover-secondary-color: #189ba2;
    /* Colore secondario */
}

.primary-color {
    background-color: var(--primary-color);
}

.secondary-color {
    background-color: var(--secondary-color);
}

.primary-color:hover {
    background-color: var(--hover-primary-color);
    color: white;
}

.secondary-color:hover {
    background-color: var(--hover-secondary-color);
    color: white;
}

.primary-button-color {
    background-color: var(--primary-color);
    color: white !important;
}

.secondary-button-color {
    background-color: var(--secondary-color);
}

.primary-button-color:hover {
    background-color: var(--hover-primary-color);
    color: white
}

.secondary-button-color:hover {
    background-color: var(--hover-secondary-color);
    color: white !important;
}

.primary-border-color {
    border: 1px solid var(--primary-color);
}

.secondary-border-color {
    border: 1px solid var(--secondary-color);
}

.primary-text-color {
    color: var(--primary-color);
}

.secondary-text-color {
    color: var(--secondary-color);
}

.primary-svg-color {
    fill: var(--primary-color);
}

.secondary-svg-color {
    fill: var(--secondary-color);
}

.card-logo-client {
    width: 100%;
}

.card-logo-client .favicon {
    /* Dimensione fissa */
    height: auto;
    /* Dimensione fissa */
}

.primary-header-color {
    background-color: var(--primary-color);
    color: white;
    border-bottom: 2px solid var(--primary-color);
}

.secondary-header-color {
    background-color: var(--secondary-color);
    color: white;
    border-bottom: 2px solid var(--secondary-color);
}

/* Stile per la Hero Section */


.hero-section {
    background: url('img/herosection.png') no-repeat center center;
    background-size: cover;
    padding: 4em;
    /* Altezza piena */
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    background-position: center right;


}

.lead {
    width: 50%;
}


.description-text-popup-client-mobile {
    display: none;
}


.description-text-popup-client {
    display: block;
}

.modal-body .description-text-popup-client-mobile {
    background-color: white;
    padding: 2px 20px;
    font-weight: 600;
    font-size: 0.8em;
    margin: 0;
    border-radius: 3px;
}

footer {
    background-color: var(--primary-color);
}

.footer-section {
    background: url('img/immagineprefooter.png') no-repeat center center;
    background-size: cover;
    padding: 8em 0em;
    /* Altezza piena */
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    background-position: center right;

}

/* Stile per dispositivi mobili */
@media (max-width: 768px) {
    .btnselection {

        color: white;
        font-size: 16px;

        text-transform: uppercase;
        font-weight: 600;
        border-radius: 0;
        width: fit-content;
        text-decoration: none;
        padding: 0.2rem 1rem;
        background-color: #ccc;
    }

    .btnselection:hover {

        color: white;
        font-size: 16px;
        text-transform: uppercase;
        font-weight: 600;
        border-radius: 0;
        width: fit-content;
        text-decoration: none;
        padding: 0.2rem 1rem;
        background-color: #aeaeae;
    }

    .hero-section {
        background-image: url('img/herosectionmobile.png');
        /* Immagine di sfondo per dispositivi mobili */
        background-color: black;
        padding: 1em;
        background-size: contain;
        height: 70vh;
        background-position: top center;
    }

    .lead {
        width: 100%;
        font-size: 2lvh;
    }

    .btn {
        color: white;
        --bs-btn-padding-x: 0.6em !important;
        text-transform: uppercase;
        font-weight: 600;
        border-radius: 0;
        width: fit-content;
        font-size: 14px;
    }


    .primary-button-color {
        background-color: var(--primary-color);
    }

    .secondary-button-color {
        background-color: var(--secondary-color);
    }

    .primary-button-color:hover {
        background-color: var(--hover-primary-color);
        color: white !important;
    }

    .secondary-button-color:hover {
        background-color: var(--hover-secondary-color);
        color: white;
    }

    .container-selezione {
        width: 100% !important;
    }

    .title-hero {
        font-size: 4lvh;
        width: 100% !important;
    }

    .allestimento,
    .cambio {
        font-size: 0.8em;
    }

    .card-text {
        font-size: 0.8em !important;
    }

    .text-back {
        display: none;
    }

    .modal-body .form-title {

        font-size: 1em !important;

    }

    tr {
        display: flex;
        flex-direction: column;
        margin-bottom: 4px;
    }

    th {
        width: 100% !important;
    }

    .modal-body .car-title-popup {
        font-size: 1.4em !important;
    }

    .description-text-popup-client-mobile {
        display: block;
    }


    .description-text-popup-client {
        display: none;
    }



    .footer-section {
        background-image: url('img/footerimagemobile.png') !important;
        background-size: cover;
        background-position: center center;
        display: flex;
        align-items: flex-start;
        justify-content: flex-end !important;
        color: white;
        background-position: center righ;
        padding: 0;
        height: 60vh;
    }

    .modal-body .form input,
    .modal-body .form select,
    .modal-body .form textarea {
        margin: 0 !important;
    }

}

@media (max-width: 991px) {

    .hero-section {
        background-image: url('img/herosectionmobile.png');
        /* Immagine di sfondo per dispositivi mobili */
        background-color: black;
        padding: 1em;
        background-size: contain;
        height: 70vh;
        background-position: top center;
    }
}

.cta-servizi {
    background-color: #6F7779;
    color: white;
    padding-left: 1em;
}



.title-hero {
    font-weight: 900;
    width: 70%;
}

/* Navbar centrata */
.navbar {
    --bs-navbar-padding-y: 0;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    margin-right: 0;
}

#selezione-cliente {
    background-color: #F8F8F8;

}

.container-selezione {
    background-color: #EDEDED;
    width: fit-content;

}


h2,
p,
.container-bottoni-selezione-cliente {
    width: fit-content;
}

.btn {
    color: white;

    --bs-btn-padding-x: 2em;
    text-transform: uppercase;
    font-weight: 600;
    border-radius: 0;
    width: fit-content;
}

.btn-card {
    color: white;
    --bs-btn-padding-x: 2em;
    text-transform: uppercase;
    font-weight: 600;
    border-radius: 0;
    width: fit-content;
}

/* Stile per la sezione servizi */

.bg-light {
    background-color: #EDEDED !important;
    /* Grigio chiaro */
}





.card {

    border-radius: 4px;
    width: 100%;

    box-shadow: 0 0 4px rgba(0, 0, 0, 0.2);
}

.card:hover {

    border-radius: 4px;
    width: 100%;

    box-shadow: 0 0 8px rgba(0, 0, 0, 0.4);
    transform: scale(1.009);
}


.card-image {
    width: auto;
    max-height: 180px;

}

.card img {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    object-fit: contain;
}

.card-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 4px;
    height: fit-content;
}


.favicon {
    width: 20px !important;
}


.card-title-section {
    margin-bottom: 0px;
    padding: 2px 0;
}

.card-title {
    font-size: 1.25rem;
    font-weight: bold;
    margin: 0;
}

.card-info {

    font-size: 0.9rem;
    gap: 14px;
}

.card-version .card-text {
    font-size: 0.7rem;
    padding: 0 0 10px 0;
    text-transform: uppercase;
    text-align: center;
}

.card-logo-client .card-text {
    font-size: 0.6rem;
    padding: 0px 20px;
    background-color: #EFEFEF;
    text-transform: uppercase;
    font-weight: 800;
    border-radius: 2px;
}


.card-price-section {

    padding: 0.4em;
    background-color: #EFEFEF;
    margin: 0;
}

.card-price-section .price {
    font-size: 3em;
    font-weight: bold;
    line-height: 1em;

}

.card-price-section .price-details {
    font-size: 0.7em;
    font-weight: 400;

}

.card-text {
    margin: 0;
    display: flex;
    align-items: center;
    text-transform: uppercase;
    font-weight: light;
}



.card-note .card-text {
    font-size: 0.6rem;
    font-weight: bold;
    border-radius: 2px;
    ;

    color: white;
    padding: 2px 20px;
}

.card-note,
.card-title,
.card-info,
.card-price-section,
.card-version {

    display: flex;
    justify-content: center;
}

.card-text {
    font-size: 0.7em;
}



.card-button {
    margin-top: 10px;
    text-align: center;
}

.card-header h3 {
    margin: 0;
    font-size: 20px;
}

.card-details p {
    margin: 5px 0;
}

.card-footer {
    text-align: center;
}

.card-footer .price {
    font-size: 18px;
    font-weight: bold;
    color: #e53935;
}



.box {
    width: 100%;
    /* Box responsivo */
    transition: transform 0.3s ease-in-out;
    height: 120px;
}

.box:hover {
    transform: scale(1.05);
}

.icon {
    font-size: 2rem;
    color: #007bff;
    /* Colore blu per le icone */
}



.row.g-3 {
    gap: 1rem !important;
    /* Spaziatura tra i box */
}

.titolo-servizi,
.container-bottone-testo-servizi {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

/* Stile per il box immagine */

.container-cta {
    background-color: var(--primary-color);
}

.container-cta-text {
    background-color: none
}

.image-box {
    width: 100%;
    height: 300px;
    /* Altezza fissa per il box immagine */
    background: url('img/contattaciperunpreventivo.png') no-repeat center center;
    background-size: cover;
    /* Copre l'intero box */
    border-radius: 0px;
    /* Bordi arrotondati */

}

.image-box1 {
    width: 100%;
    height: 300px;
    /* Altezza fissa per il box immagine */
    background: url('img/noleggiolungotermine.png') no-repeat center center;
    background-size: cover;
    /* Copre l'intero box */
    border-radius: 0px;
    /* Bordi arrotondati */

}

.image-box2 {
    width: 100%;
    height: 300px;
    /* Altezza fissa per il box immagine */
    background: url('img/vantaggiperaziende.png') no-repeat center center;
    background-size: cover;
    /* Copre l'intero box */
    border-radius: 0px;
    /* Bordi arrotondati */

}

/* Stile per il testo */
.container h2 {
    font-size: 1.5rem;
    color: #333;
    line-height: 1.5;
}

.container .btn {
    padding: 0.4rem 1.5rem;
}

.text-back {
    font-size: 0.8em;
    padding-left: 0.5em;

}


/*popup css*/
/* Popup nascosto */


.modal-header {
    color: white;
    font-size: 18px;
    font-weight: bold;
    padding: 10px 20px;
    text-align: left;
}

/* Modal Body */
.modal-body {
    background-color: #e7e7e7;

}

/* General Container */
.modal-body .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Row Styling */
.modal-body .row>* {
    padding-right: 0;
    padding-left: 0;
}

/* Offer Section */
.modal-body .offer {
    display: flex;
    flex-wrap: wrap;
    padding: 1em;
    margin-bottom: 20px;
    background-color: #EFEFEF;
    border-radius: 5px;
    width: 100%;
}

/* Image Styling */
.modal-body .offer img {
    max-width: 100%;
    border-radius: 5px;
}

/* Offer Details */
.modal-body .offer-details {
    gap: 1em;
}

/* Offer Titles */
.modal-body .offer-details h2 {
    margin: 0;
    font-size: 24px;
}

a {
    color: black;
}

.form a {
    color: #818181;
}

.form a:hover {
    color: var(--primary-color);
}

.offer-details a:hover {
    color: var(--primary-color);
}

.modal-body .car-title-popup {
    font-weight: 900;
    font-size: 2em;
    margin: 0;
}

.modal-body .car-subtitle-popup {
    margin: 0;
    font-size: 1em;
    color: #555;
}

/* Offer Attributes */
.modal-body .description-popup-client {
    display: flex;
    flex-direction: column;
    gap: 0.5em;
}

.modal-body .description-text-popup-client {
    background-color: white;
    padding: 2px 20px;
    font-weight: 600;
    font-size: 0.8em;
    margin: 0;
    border-radius: 3px;
}

.modal-body .offer-type {
    background-color: black;
    color: white;
    padding: 2px 20px;
    font-weight: 600;
    font-size: 0.8em;
    margin: 0;
    border-radius: 3px;
}

/* Price Section */
.modal-body .offer-price {

    font-size: 4em;
    font-weight: bold;
    line-height: 1em;
}

.modal-body .price-details {
    font-size: 0.8em;
    color: #777;
    margin: 0;
}

.modal-body .container-price-popup {
    background-color: white;
    border-radius: 5px;
    padding: 10px 20px;
    text-align: center;
}

/* Form Section */

.modal-body .form-title {
    text-transform: uppercase;
    font-size: 1.4em;
    font-weight: 800;
    text-align: center;
    margin-top: 1em !important;
}

.modal-body .form input,
.modal-body .form select,
.modal-body .form textarea {
    width: 100%;
    padding: 10px;
    margin: 4px;
    border: 0px solid #ccc;
    border-radius: 4px;
}


.modal-open,
.modal,
.modal-backdrop {
    padding-right: 0 !important;
}



/* Services Section */
.modal-body .services {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 20px;
}

.modal-body .service {
    width: 100%;
    text-align: center;
    margin-bottom: 20px;
}

.modal-body .service img {
    max-width: 50px;
    margin-bottom: 10px;
}

/* Disclaimer */
.modal-body .disclaimer {
    font-size: 12px;
    color: #666;
    margin-top: 20px;
    text-align: center;
}

label .checkbox {
    width: fit-content !important;
}

.description-popup-client .text-back {
    font-size: 12px;
    margin: 0;
    padding-left: 10px;
}

.incluso-offerta-popup p {
    margin: 0;
}

.incluso-offerta-popup p:first-child {
    margin: 0;
    font-weight: 100;
    font-size: 14px;
}

.incluso-offerta-popup p:last-child {
    margin: 0;
    font-weight: 600;
}

/* accordion popup */

.accordion-body {
    background-color: #dcdcdc;
}

.accordion-collapse {
    background-color: #EFEFEF;
    border-radius: 0px;
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus' viewBox='0 0 16 16'%3E%3Cpath d='M8 4a.5.5 0 0 1 .5.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3A.5.5 0 0 1 8 4z'/%3E%3C/svg%3E");
    background-color: var(--primary-color) !important;
    border-radius: 100%;
    color: white !important;
    padding: 4px;
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-dash' viewBox='0 0 16 16'%3E%3Cpath d='M4 8a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7A.5.5 0 0 1 4 8z'/%3E%3C/svg%3E");
    color: var(--primary-color) !important;
}

.accordion-button:not(.collapsed)::after {
    background-color: var(--primary-color) !important;
    border-radius: 100%;
}


tr {
    border-color: inherit;
    border-style: none;
    background-color: white;
    border-width: 0;
}

table {
    border-collapse: separate;
    /* Usa "separate" per spaziatura */
    border-spacing: 0 10px;
    /* Spaziatura verticale e orizzontale tra le righe */
    width: 100%;
}

th {
    padding: 0.2rem 0.5rem !important;
    width: 30%;
}

td {
    background-color: #f4f4f4;
    /* Colore di sfondo per l'intestazione */

    padding: 0.2rem 0.5rem !important;
}

.table-bordevar(--primary-color)>:not(caption)>*>* {
    border-width: 0;
}

.due-accordion {
    gap: 0.5em;
}

.accordion-item.accordion-button {
    border-top-left-radius: 10px;
    border-top-right-radius: 0px;
}

.button:focus:not(:focus-visible) {
    outline: 0;
}

.accordion-item:first-of-type {
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
}

.accordion-item:last-of-type .accordion-button.collapsed {
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
}

.accordion-item:last-of-type {
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
}

.accordion-button:focus {
    z-index: 3;
    border-color: none;
    outline: 0;
    box-shadow: none;
}

.accordion-button {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0.2em 1em !important;
    font-size: 1rem !important;
    text-transform: uppercase;
    font-weight: 800;
    color: var(--bs-accordion-btn-color);
    text-align: left;
    background-color: var(--bs-accordion-btn-bg);
    border: 0;
    border-radius: 0px;
    overflow-anchor: none;
    transition: var(--bs-accordion-transition);
}



.accordion-item {
    border-radius: 0px;
    border: none;
    width: 100%;
}

/* accordion popup */

.accordion-collapse {
    background-color: #EFEFEF;
    border-radius: 0px;
}

tr {
    border-color: inherit;
    border-style: none;
    background-color: white;
    border-width: 0;
}

table {
    border-collapse: separate;
    /* Usa "separate" per spaziatura */
    border-spacing: 0 10px;
    /* Spaziatura verticale e orizzontale tra le righe */
    width: 100%;
    margin-bottom: 0 !important
}

th {
    background-color: #f4f4f4;
    /* Colore di sfondo per l'intestazione */
    font-weight: 200;
}

td {
    font-weight: 600;
}

.table-bordevar(--primary-color)>:not(caption)>*>* {
    border-width: 0;
}

.due-accordion {
    gap: 0.5em;
}

.accordion-item.accordion-button {
    border-top-left-radius: 10px;
    border-top-right-radius: 0px;
    border-top-left-radius: 0px;
}

.button:focus:not(:focus-visible) {
    outline: 0;
}

.accordion-item:first-of-type {
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
}

.accordion-item:last-of-type .accordion-button.collapsed {
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
}

.accordion-item:last-of-type {
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
}

.accordion-button:focus {
    z-index: 3;
    border-color: none;
    outline: 0;
    box-shadow: none;
}

.accordion-button {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    padding: var(--bs-accordion-btn-padding-y) var(--bs-accordion-btn-padding-x);
    font-size: 1.4rem;
    text-transform: uppercase;
    font-weight: 800;
    color: var(--bs-accordion-btn-color);
    text-align: left;
    background-color: var(--bs-accordion-btn-bg);
    border: 0;
    border-radius: 0px;
    overflow-anchor: none;
    transition: var(--bs-accordion-transition);
}

.accordion-button:not(.collapsed) {
    color: var(--primary-color);
    background-color: white;
    box-shadow: none;
}

.accordion-item {
    border-radius: 0px
}

.form-check {
    display: block;
    min-height: 1.5rem;
    padding-left: 0em !important;
    margin-bottom: .125rem;
}

.form-check-input {
    width: fit-content !important;
}

#form1 {
    max-width: 800px;

}

.form-check-label {
    font-size: 0.8em;

}