/*  classes CSS pour types de carburants */
.carburant-autre {
    color: mediumblue; /* Couleur pour l'autre */
}
.carburant-diesel {
    color: blue; /* Couleur pour le diesel */
}
.carburant-electrique {
    color: green; /* Couleur pour l'électrique */
}
.carburant-essence {
    color: red; /* Couleur pour l'essence */
}
.carburant-ethanol {
    color: pink; /* Couleur pour l'ethanol */
}
.carburant-gpl {
    color: skyblue; /* Couleur pour le gpl */
}
.carburant-hybride {
    color: orange; /* Couleur pour l'hybride */
}

.badge {
    margin-left: 10px;
    display: inline-block;
    padding: .25em .4em;
    font-size: 75%;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: .25rem;
}

/*. badge-danger {
    color: #fff;
border: solid;
    border-width:thin;
   border-color: var(--ast-global-color-3);
     border-color: #dc3545;
   background-color: #dc3545; 
}*/
.badge img {
    height: 30px;
	vertical-align: middle;
	background-color:none;
}

.border-promote {
    border: solid;
    border-width:thin;
    border-color: var(--ast-global-color-3);
}

hr {
    margin: 20px 0;
    border: none;
    border-top: 1px solid var(--ast-global-color-3);
}

.input:placeholder-shown {
    border: 1px solid #095484;
	font-size: 14px;
}

.input::placeholder {
    color: #1c87c9;
    opacity: 0.3;
}

.input#wpforms-4857-field_1 {
    padding: 5px;
    width: 400px;
}

.input#wpforms-4857-field_2 {
    padding: 5px;
    width: 400px;
}

.item {
    box-shadow: 5px 10px 12px 0px rgb(21 14 41 / 82%);
    background-color: #f9f9f9;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s;
    max-width: 350px;
    flex: 1 0 calc(33.33% - 15px);
}

.item-content {
    padding: 15px;
}

.item-content h2 {
    font-size: 1rem;
    margin-bottom: 10px;
    color: #333;
}

.item-content h3 {
    color: var(--ast-global-color-3);
    margin-bottom: 15px;
}

.item-date {
    font-size: 0.8em;
    color: #777;
}

.item-date .clock {
    position: relative;
    cursor: pointer;
}

item-date .clock svg {
    height: 20px;
}

item-date .clock::before {
    content: attr(data-tooltip);
    display: none;
    position: absolute;
    background: #333;
    color: white;
    padding: 5px;
    border-radius: 5px;
    white-space: nowrap;
    z-index: 1;
    bottom: 120%;
    left: 50%;
    transform: translateX(-50%);
}

.item-date .clock:hover::before {
    display: block;
}

.item-description {
    display: flex;
	background-color: gainsboro;
	align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    border-radius: 5px;
    padding: 10px;
    max-width: 350px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

item-description-item .clock p {
    margin-bottom: 0.1em;
}

item-description-item .clock svg {
    height: 20px;
}

item-description-item {
    display: flex;
    align-items: center;
    font-weight: bold;
    color: #555;
    margin-right: 5px;
	margin-bottom: 1em;
}

.item-description-item div {
    margin-bottom: 1em;
}

.item-description-item p {
    margin-bottom: 1em;
}

item-photo img {
    max-width: 100%;
    max-height: 200px;
    object-fit: cover;
    border-bottom: 1px solid #e0e0e0;
	border-radius: 10px 10px 0px 0px !important;
}

.list-vehicules {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 5rem;
}

.mt-5 {
    margin-top: 1.3rem !important;
    font-size: 14px;
}

.price-parc {
    display: flex;
    align-items: center;
    font-size: 22px;
    font-weight: 700;
    color: var(--ast-global-color-3);
    margin-bottom: 15px;
}
/* single vehicule form */
.product-wrapper {
    display: flex;
    flex-wrap: wrap;
}
.product-left {
    width: 70%;
}

.product-right {
	width: max(30%, 250px);
	max-width : 250px;
	padding: 5px;
    background-color: #F2C3D8;
    border-radius: 8px;
}


input#wpforms_4857 {
	max-width:100%;
}
/*.vehicule_nom {
    max-width: 100%;
}
.vehicule_mail {
    max-width: 100%;
}
button#wpforms-submit-4857 {
    border-width: 2px;
    border-color: #584d66;
}
 */
@media (max-width: 768px) {
    /* Si la largeur de l'écran est inférieure ou égale à 768px (taille mobile) */
    .product-wrapper {
        flex-direction: column; /* Les éléments s'affichent en colonne sur mobile */
        align-items: center;
        font-size: 0.75rem;
    }
    .product-right {
        width: 100%; /* .product-right occupe 100% de la largeur sur mobile */
    }
}

/* Titre de la product right */
.title_ask {
    font-weight: 600;
    font-size: 17px;
    width: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #584D66;
}
div.wpforms-submit-container {
    display: flex;
    padding: 5px 0 0 0;
    position: relative;
    width: 250px;
    justify-content: center;
}
.prod-shadow {
    box-shadow: 5px 10px 12px 0px rgb(247 114 167 / 82%); 
    overflow: hidden;
    margin: 10px;
    padding: 20px;
}