/**
 * Theme Name: Blocksy Child
 * Description: Blocksy Child theme
 * Author: Creative Themes
 * Template: blocksy
 * Text Domain: blocksy
 */

/* Slider accueil */
.header_html_carousel {
  width: 100%;
  min-height: 300px;
  overflow: hidden;
  position: relative;
  margin-top: 15px;
  padding: 0 8px;
}

.header_html_carousel div.header_slide {
  position: relative;
  text-align: center;
  min-height: 300px;
}

.header_html_carousel div.header_slide img {
  display: none;
}

.header_html_carousel div.header_slide div {
  display: inline-block;
  vertical-align: middle;
  padding: 5px 0 0 15px;
}

.header_html_carousel div.header_slide h2 {
  font-family: "Space Grotesk", serif;
  font-weight: 400;
  font-size: 28px;
  line-height: 1;
  color: #707070;
  padding: 0;
  margin: 0;
}

.header_html_carousel div.header_slide h3 {
  font-family: "Space Grotesk", serif;
  font-weight: 400;
  font-size: 28px;
  line-height: 1.2;
  color: #000;
  padding: 0;
  margin: 10px 0;
}

.header_html_carousel div.header_slide h3 span {
  color: #e20613;
}

.header_html_carousel div.header_slide p {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.2;
  color: #707070;
  text-align: center;
  margin: 0 0 0 3px;
}

a.prev,
a.next {
  background: url(../../images/slider-accueil-next-prev.png) no-repeat transparent;
  width: 64px;
  height: 64px;
  display: block;
  position: absolute;
  bottom: 8px;
  outline: none;
}

a.prev {
  left: 25%;
  background-position: 0 0;
}

a.prev:hover {
  background-position: 0 -64px;
}

a.next {
  right: 25%;
  background-position: -64px 0;
}

a.next:hover {
  background-position: -64px -64px;
}

a.prev span,
a.next span {
  display: none;
}

.pagination {
  text-align: center;
}

.pagination a {
  background: url(../../images/miscellaneous_sprite.png) 0 -300px no-repeat transparent;
  width: 15px;
  height: 15px;
  margin: 0 5px 0 0;
  display: inline-block;
}

.pagination a.selected {
  background-position: -25px -300px;
  cursor: default;
}

.pagination .pagination a span {
  display: none;
}

.clearfix {
  float: none;
  clear: both;
}


/************ single vehicules ************/

.cadre-single-item-title {
  margin: 0 0 20px 0;
}

.flex-container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  align-content: stretch;
  margin: 20px 0 40px 0;
  background-color: #fff;
  padding: 0 10px;
  min-height: 200px;
  box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 10px 0px;
  background: url(images/cadre-info-sb-bg.jpg) 0 0 no-repeat transparent;
}

.flex-items {
  margin: 40px 18px 30px 18px;
  text-align: center;
  font: 300 16px "Space Grotesk", serif; 
  color: #FFF;
  text-align: center;
  line-height: 1.3em;
  /*background-color: $light-gray;*/
}

.flex-items a {
    color:#FFF;
}

.flex-items a:hover {
    color:#FFF;
}

.flex-items p {
  align-content: flex-end;
}

.flex-items span {
  font-weight: 700;
}

.flex-items img {
  margin-bottom:20px;
}

.icone-motorisation {
  height: 56px;
  width: 56px;
}

.icone-boite {
  height: 56px;
  width: 56px;
}

.icone-transmission {
  height: 56px;
  width: 56px;
}

.icone-demarre {
  height: 56px;
  width: 56px;
}

.icone-annee {
  height: 56px;
  width: 56px;
}

.icone-kilometrage {
  height: 56px;
  width: 56px;
}

.icone-climatisation {
  height: 56px;
  width: 56px;
}

.icone-cles {
  height: 56px;
  width: 56px;
}

.icone-papiers {
  height: 56px;
  width: 56px;
}

.icone-procedure {
  height: 56px;
  width: 56px;
}

.icone-categorie {
  height: 56px;
  width: 56px;
}

.icone-norme {
  height: 56px;
  width: 56px;
}

.flex-items:nth-child(1) {
  display: block;
  flex-grow: 0;
  flex-shrink: 1;
  flex-basis: auto;
  align-self: auto;
  order: 0;
}

.flex-items:nth-child(2) {
  display: block;
  flex-grow: 0;
  flex-shrink: 1;
  flex-basis: auto;
  align-self: auto;
  order: 0;
}

.flex-items:nth-child(3) {
  display: block;
  flex-grow: 0;
  flex-shrink: 1;
  flex-basis: auto;
  align-self: auto;
  order: 0;
}

.flex-items:nth-child(4) {
  display: block;
  flex-grow: 0;
  flex-shrink: 1;
  flex-basis: auto;
  align-self: auto;
  order: 0;
}

.flex-items:nth-child(5) {
  display: block;
  flex-grow: 0;
  flex-shrink: 1;
  flex-basis: auto;
  align-self: auto;
  order: 0;
}

.flex-items:nth-child(6) {
  display: block;
  flex-grow: 0;
  flex-shrink: 1;
  flex-basis: auto;
  align-self: auto;
  order: 0;
}

.flex-items:nth-child(7) {
  display: block;
  flex-grow: 0;
  flex-shrink: 1;
  flex-basis: auto;
  align-self: auto;
  order: 0;
}

.flex-items:nth-child(8) {
  display: block;
  flex-grow: 0;
  flex-shrink: 1;
  flex-basis: auto;
  align-self: auto;
  order: 0;
}

.flex-items:nth-child(9) {
  display: block;
  flex-grow: 0;
  flex-shrink: 1;
  flex-basis: auto;
  align-self: auto;
  order: 0;
}

.flex-items:nth-child(10) {
  display: block;
  flex-grow: 0;
  flex-shrink: 1;
  flex-basis: auto;
  align-self: auto;
  order: 0;
}

.flex-items:nth-child(11) {
  display: block;
  flex-grow: 0;
  flex-shrink: 1;
  flex-basis: auto;
  align-self: auto;
  order: 0;
}

.flex-items:nth-child(12) {
  display: block;
  flex-grow: 0;
  flex-shrink: 1;
  flex-basis: auto;
  align-self: auto;
  order: 0;
}

  /*----------------------- page-items.php ---------------------- */
  #items-liste ul li {
    max-width: 300px;
    margin: 0 0 20px 0;
  }

  .page-vehicules-title {
    margin-top:50px;
    text-align: center;
  }

  .page-vehicules-intro {
    font: 300 30px "Space Grotesk", serif;
    text-align: center;
    color: #707070;
  }

  .page-vehicules-intro a,
  .page-vehicules-intro a:hover {
    color: #00E52C;
  }

  .page-vehicules-intro img.whatsapp-icon {
    display: inline;
    vertical-align: middle;
    margin-left: 7px;
  }

@media only screen and (max-width:700px) {
    
  .page-vehicules-title {
    font-size: 32px;
  }
    
  .page-vehicules-intro {
    font-size: 24px;
  }
    
  .page-vehicules-intro img.whatsapp-icon {
    max-width:24px;
    margin-top: -5px;
  }

}

/******************************************************************/
/******************* Start SB 05/2023 *****************************/
/******************************************************************/

/* page-vehicule.php + taxonomy-etat.php */

.grid-cards-auto-sb {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  margin: 0 auto;
  margin-top: 2rem;
  margin-bottom: 3rem;
}

.card-auto-sb {
  width: 350px;
  min-height: 560px;    
  background-color: #000;
  box-shadow: 0px 0px 50px #00000026;
  margin: 1rem 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-auto-sb h3 {
  font-size: 1.5rem;
  text-align: center;
  margin: 0;
  padding: 22px 10px;
}

.card-auto-sb h3 a {
  color: #707070;
}

.card-auto-sb .card-img-sb img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  object-position: center;
  margin-bottom: 1rem;
}

.card-auto-sb h4 {
  margin: 0;
  padding-left: 17px;
  padding-right: 17px;
  font-size: 1.1rem;
  font-weight: 200;
  /* display: flex;
  justify-content: space-between; */
  line-height: 1.3;
}

.card-infos-sb {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.card-infos-sb .card-infos-sb-left {
  text-align: left;
}

.card-infos-sb .card-infos-sb-right {
  text-align: right;
}

.card-auto-sb .card-prix-sb {
  font-size: 3.75rem;
  color: #707070;
  letter-spacing: -0.6px;
  text-align: center;
  padding-left: 17px;
  padding-right: 17px;
  min-height: 100px;
  font-family: "Space Grotesk", serif;
  font-weight: 500;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: end;
  /* border: 1px solid red; */
}

.card-auto-sb .card-prix-sb p {
  margin: 0;
  padding: 0;
  line-height: 1;
}

.card-auto-sb .card-prix-remise-sb {
  font-size: 1.75rem;
  color: #bababa;
  letter-spacing: -0.28px;
  text-decoration: line-through;
  text-decoration-thickness: 1.2px;
}

.card-etat-item-sb {
  border-top: 1px dashed #707070;  
  margin-top: 1rem;
}

.card-auto-sb .card-etat-item-sb p {
  text-align: center;
  font-size: 1.375rem;
  font-weight: 600;
  letter-spacing: 8.8px;
  text-transform: uppercase;
  margin: 0;
}

.card-auto-sb .card-etat-item-sb p a {
  text-decoration: none;
}

/* Disponible */
.cadre-item-location-sb #categorie_id-10,
.card-auto-sb .card-etat-item-sb #categorie_id-10 {
  color: #000;
}

.cadre-item-location-sb #categorie_id-10,
.card-auto-sb .card-etat-item-sb #categorie_id-10 {
  display:block;
  padding:12px 5px 12px 12px;
  background-color: #00E52C;
}

/* Réservé */
.cadre-item-location-sb #categorie_id-11,
.card-auto-sb .card-etat-item-sb #categorie_id-11 {
  display:block;
  padding:12px 5px 12px 12px;
  background-color: #BABABA;
  color: #000;
}

/* Vendu */
.cadre-item-location-sb #categorie_id-12,
.card-auto-sb .card-etat-item-sb #categorie_id-12 {
  display:block;
  padding:12px 5px 12px 12px;
  background-color: #FF011A;
  color: #000;
}


@media only screen and (max-width:1029px) {
  .card-auto-sb {
    width: 320px;
    margin: 1rem .5rem;
  }

  .card-auto-sb .card-img-sb img {
    height: 230px;
  }
}

@media only screen and (max-width:700px) {
  .card-auto-sb {
    width: 100%;
  }

  .card-auto-sb .card-img-sb img {
    height: 320px;
  }
}

/* single-vehicule */

.vehicules-template-default h1 {
  margin-top: 50px;
}

.splide__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wrap_carousel {
  max-width: 1500px;
  margin: 3.5rem auto 0 auto;

}

.wrap_carousel-thumbnail {
  max-width: 70%;
  margin: 0 auto;
}

#thumbnail-carousel {
  margin-top: 3rem;
  margin-bottom: 3rem;
}

#thumbnail-carousel .splide__arrow {
  background-color: transparent;
}

#thumbnail-carousel .splide__arrow svg {
    fill: #FFF;
}

#thumbnail-carousel .splide__arrow--prev {
  left: -5em;
}

#thumbnail-carousel .splide__arrow--next {
  right: -5em;
}

#thumbnail-carousel .splide__arrow svg {
  height: 4em;
  width: 25em;
}

@media only screen and (max-width:600px) {
  #thumbnail-carousel .splide__arrow--prev {
    left: -3em;
  }

  #thumbnail-carousel .splide__arrow--next {
    right: -3em;
  }

  #thumbnail-carousel .splide__arrow svg {
    height: 3em;
    width: 15em;
  }
}

@media only screen and (max-width:390px) {
  #thumbnail-carousel .splide__arrow--prev {
    left: -2em;
  }

  #thumbnail-carousel .splide__arrow--next {
    right: -2em;
  }

  #thumbnail-carousel .splide__arrow svg {
    height: 2em;
    width: 10em;
  }
}

#main-carousel .splide__slide img {
  width: 100%;
  height: 100%;
  max-height: 800px;
  object-fit: cover;
  object-position: center;
}

#main-carousel .splide__arrow {
  background-color: transparent;
}

#main-carousel .splide__arrow svg {
  fill: #FFF;
  width: 25em;
  height: 4em;
}

.splide__slide {
  opacity: 0.6;
  text-align: center;
}

.splide__slide.is-active {
  opacity: 1;
}

.splide__track--nav>.splide__list>.splide__slide.is-active {
  border: 2px solid #FFF;
}

#info-bouton-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-left: 2rem;
  padding-right: 2rem;
  margin-bottom: 3rem;
}

@media only screen and (max-width:500px) {
  #info-bouton-item {
    flex-direction: column;
    margin-top: 0rem;
  }
}

.cadre-item-location-sb a {
  text-transform: uppercase;
  letter-spacing: 8.8px;
  font-size: 1.6rem;
  text-decoration: none;
  font-weight: 500;
}

.cadre-item-prix-sb {
  text-align: center;
}

.cadre-item-prix-sb .prix-avant-remise-sb {
  font-size: 1.75rem;
  margin: 0;
  padding: 0;
  color: #bababa;
  letter-spacing: -0.28px;
  text-decoration: line-through;
  text-decoration-thickness: 1.2px;
  line-height: 1;

}

.cadre-item-prix-sb .prix-de-vente-sb {
  font-size: 3.75rem;
  margin: 0;
  padding: 0;
  color: rgb(112, 112, 112);
  line-height: 1;
}

#cadre-info-sb {
  margin-bottom: 4rem;
}

/******************************************************************/
/************************ End SB *********************************/
/******************************************************************/

#main{
    
}

.content-page-vehicule {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  align-content: flex-start;  
  margin-bottom:50px;
}

.text-page-vehicule:nth-child(1) {
  display: block;
  flex-grow: 0;
  flex-shrink: 0;
  flex-basis: auto;
  align-self: auto;
  order: 0;
}


/******** header : bouton leboncoin ********/

.wp-image-1657 a {
   margin: 21px 0 0 0;
}

.wp-image-1657 a:hover {
   color:#FF011A;
}