/*------------------------------------------------------***Style for Dev 2***------------------------------------------------------*/

/**************************************Style : Header*********************************/
.section-header .coherence-core-nav-menu li.btn-contact { background: white!important; color: black; border-radius: 8px; max-width: 340px; margin: auto; }
.section-header .coherence-core-nav-menu li.btn-contact:hover { background: var( --e-global-color-primary )!important; color: white; }
.section-header .coherence-core-nav-menu li.btn-contact a { color:black!important; justify-content: center!important; }
.section-header .coherence-core-nav-menu li.btn-contact:hover a { color:white!important; justify-content: center!important; }

@media only screen and (max-width: 1024px){
  .section-header .coherence-core-nav-menu li.btn-contact { max-width: 240px; margin-left: 10px;}
}
/**************************************Style : H1*********************************/
.carousel-h1 .item-content section { display: flex ; justify-content: center; margin: auto; margin-top: -32px; padding: 0px 60px !important; width: fit-content; background: #000000; border-radius: 5px; z-index: 55; position: relative; }
.carousel-h1 .item-body img { border: 7px solid black; border-radius: 34px; }
/**************************************Style : Fb frame*********************************/

  @media only screen and (min-width: 1361px) and (max-width: 1640px) {
	.fb-image-absolute img{width: 620px;}
}




/*-------------------- Hover Galerie----------------------------------------*/
.img-gallery .gallery-icon * {transition: all 0.3s ease-in-out;}
.img-gallery .gallery-icon:hover img {transform: scale(1.05);filter:brightness(0.50)}
.img-gallery .gallery-icon {position: relative;}
.img-gallery .gallery-icon { overflow: hidden !important;border-radius: 25px;}

.img-gallery .coherence-image-gallery .gallery-item { display: none; }
.img-gallery .coherence-image-gallery .gallery-item:nth-child(-n+6){ display: inline-block; }


@media only screen and (max-width: 800px){
.img-gallery .gallery-icon{
    border-radius: 5px;
}
}

/*-------------------- section_contact ----------------------------------------*/
span.wpcf7-form-control.wpcf7-checkbox.choose-prestation {
    display: grid;
    grid-template-columns: repeat(6, 1fr););
    gap: 10px;
  }

  .choose-prestation span.wpcf7-list-item,
  .wpcf7-list-item label {
    width: 100%;
    margin: 0px;
    display: flex;
    width: 100%;
  }

  .choose-prestation input[type="checkbox"] {
    position: absolute;
    opacity: 0;
  }

  .choose-prestation span.wpcf7-list-item-label {
    margin: 0px !important;
    border: 1px solid var(--e-global-color-color_1);
    background: var(--e-global-color-color_white);
    text-align: center;
    padding: 25px 10px;
    border-radius: 8px;
    transition: all 0.4s;
    cursor: pointer;
    display: flex;
    align-items: center;
    flex-direction: column;
    width: 100%;
    font-size: 18px !important;
    line-height: 1.2 !important;
    font-weight: normal !important;
    color: var(--e-global-color-color_1);
    font-family: var(--e-global-typography-text-font-family);
  }

  /* icone contact prestation */
  .choose-prestation span.wpcf7-list-item span.wpcf7-list-item-label:before {
    content: "" !important;
    margin-bottom: 5px !important;
    width: 60px !important;
    height: 60px !important;
/*     filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(7500%)
      hue-rotate(63deg) brightness(101%) contrast(95%) !important; */
  }


	span.wpcf7-list-item:nth-child(1),
	span.wpcf7-list-item:nth-child(2),
	span.wpcf7-list-item:nth-child(3) {
		grid-column: span 2; /* Each takes 2 columns */
	}

	span.wpcf7-list-item:nth-child(4) {
		grid-column: 1 / span 3; /* Takes first 3 columns */
	}

	span.wpcf7-list-item:nth-child(5) {
		grid-column: 4 / span 3; /* Takes last 3 columns */
	}
@media screen and (max-width: 600px) {
    .choose-prestation {
        grid-template-columns: repeat(1, 1fr); /* 3 equal columns */
    }
    .wpcf7-list-item {
        grid-column: span 3!important; /* Each item spans 3 columns (full row) */
    }
	.choose-prestation span.wpcf7-list-item-label{    font-size: 15px !important;}
}


  /*icone prestation 1 */
  .choose-prestation
    span.wpcf7-list-item:nth-child(1)
    span.wpcf7-list-item-label:before {
    background: url(/wp-content/uploads/2025/01/fleury-auto-vente-de-vehicules-neufs-et-d-occasions-toutes-marques-a-fontenay-le-comte-Voitures-neuves-Nissan-1-1.svg) !important;
    background-repeat: no-repeat !important;
    background-size: contain !important;
  }
  /*icone prestation 2 */
  .choose-prestation
    span.wpcf7-list-item:nth-child(2)
    span.wpcf7-list-item-label:before {
    background: url(/wp-content/uploads/2025/01/fleury-auto-vente-de-vehicules-neufs-et-d-occasions-toutes-marques-a-fontenay-le-comte-Voitures-d-occasion-et-d-import-1-1.svg) !important;
    background-repeat: no-repeat !important;
    background-size: contain !important;
  }
  /*icone prestation 3*/
  .choose-prestation
    span.wpcf7-list-item:nth-child(3)
    span.wpcf7-list-item-label:before {
    background: url(/wp-content/uploads/2025/01/fleury-auto-vente-de-vehicules-neufs-et-d-occasions-toutes-marques-a-fontenay-le-comte-Mecanique-1-1.svg) !important;
    background-repeat: no-repeat !important;
    background-size: contain !important;
  }
  /*icone prestation 4*/
  .choose-prestation
    span.wpcf7-list-item:nth-child(4)
    span.wpcf7-list-item-label:before {
    background: url(/wp-content/uploads/2025/01/fleury-auto-vente-de-vehicules-neufs-et-d-occasions-toutes-marques-a-fontenay-le-comte-Carrosserie-1-1.svg) !important;
    background-repeat: no-repeat !important;
    background-size: contain !important;
  }
  /*icone prestation 5*/
  .choose-prestation
    span.wpcf7-list-item:nth-child(5)
    span.wpcf7-list-item-label:before {
    background: url(/wp-content/uploads/2025/01/fleury-auto-vente-de-vehicules-neufs-et-d-occasions-toutes-marques-a-fontenay-le-comte-Pare-brise-1-1.svg) !important;
    background-repeat: no-repeat !important;
    background-size: contain !important;
  }

  /*Hover*/
  .choose-prestation span.wpcf7-list-item-label:hover {
    background: var(--e-global-color-color_1);
    color: var(--e-global-color-color_white);
  }

  .choose-prestation span.wpcf7-list-item span.wpcf7-list-item-label:hover:before {filter: brightness(0) saturate(100%) invert(100%) sepia(100%) saturate(1%) hue-rotate(196deg) brightness(102%) contrast(101%)!important;!!important;!i!important;!im!important;!imp!important;!impo!important;!importa!important;!importan!important;!important;}

  .choose-prestation
    input[type="checkbox"]:checked
    + span.wpcf7-list-item-label {
    background: var(--e-global-color-color_1);
    color: var(--e-global-color-color_white);
  }

  .choose-prestation
    input[type="checkbox"]:checked + span.wpcf7-list-item-label:before{
		filter: brightness(0) saturate(100%) invert(100%) sepia(100%) saturate(1%) hue-rotate(196deg) brightness(102%) contrast(101%)!important;
}

@media screen and (max-width: 497px) {
	.wpcf7-list-item {
        grid-column: span 6!important; /* Each item spans 3 columns (full row) */
    }
}


/*--------------------------------------------------------------***End***----------------------------------------------------------------------*/