/* Gabarit « Réalisations - Single » — templates/realisation.php. Chargé après site.css. */

body .realisation-autres-realisations.c-owl-l {
  background-color: #022033;
}

.realisation-section > .rv-section__inner {
  padding-bottom: 0;
}

.realisation__img-principale {
  height: 530px;
  background-repeat: no-repeat;
  background-position: 50% 50%;
}

.carte-realisation__thumb {
  height: 305px;
  background-repeat: no-repeat;
  width: 100%;
  background-position: 50% 50%;
}

@media (max-width:1600px) {
  .carte-realisation__thumb {
    height: 275px;
  }
}

@media (max-width:1280px) {
  .carte-realisation__thumb {
    height: 350px;
  }
}

@media (max-width:767px) {
  .realisation__img-principale {
    height: 375px;
  }
}

@media (max-width:767px) {
  .carte-realisation__thumb {
    width: 100%;
  }
}

@media (max-width:479px) {
  body .realisation__info.c-owl-l {
    padding-top: 25px;
    padding-right: 25px;
    padding-bottom: 25px;
    padding-left: 25px;
  }
}

.realisation__text {
  color: #d0df00;
}

.realisation__text-2 {
  color: #d0df00;
}

.realisation__text-3 {
  color: #d0df00;
}

.realisation__text-4 {
  color: #d0df00;
}

.realisation-autres-realisations__text {
  display: none;
}

.realisation__gallery {
  align-items: stretch;
  grid-template-columns: repeat(3,minmax(200px,1fr));
  grid-column-gap: 20px;
  grid-row-gap: 20px;
  display: grid;
}

@media (max-width:1280px) {
  .realisation__gallery {
    align-items: stretch;
    grid-template-columns: repeat(2,minmax(200px,1fr));
    grid-column-gap: 20px;
    grid-row-gap: 20px;
    display: grid;
  }
}

@media (max-width:767px) {
  .realisation__gallery {
    align-items: stretch;
    grid-template-columns: repeat(1,minmax(200px,1fr));
    grid-column-gap: 20px;
    grid-row-gap: 20px;
    display: grid;
  }
}

body .realisation-autres-realisations__list.c-columns-gap-l .rv-pagination__inner {
  font-size: 12px;
}

body .realisation-autres-realisations__list.c-columns-gap-l:not(:focus-visible) {
  outline: none;
}

.realisation__gallery.rv-gallery--captions .rv-gallery__item .rv-gallery__figure figcaption:not(:empty) {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0,0,0,0.75);
  /* caption background color */ padding: 1em;
  color: #ffffff;
  /* caption text color */ font-weight: bold;
  -webkit-font-smoothing: antialiased;
  font-size: 1em;
  text-align: center;
  line-height: inherit;
  /*pointer-events: none;
  */ transition: 0.3s ease-in-out opacity;
  display: block;
}

.realisation__gallery.rv-gallery--captions .rv-gallery__item .rv-gallery__figure figcaption:not(:empty) {
  opacity: 0;
}

.realisation__gallery.rv-gallery--captions .rv-gallery__item:hover .rv-gallery__figure figcaption {
  opacity: 1;
}

/* hover effects */

.realisation__gallery.rv-gallery .rv-gallery__item {
  opacity: ;
  transition: 0.3s ease-in-out opacity;
}

.realisation__gallery.rv-gallery .rv-gallery__item:hover {
  opacity: ;
}

.realisation__gallery .rv-gallery__item .rv-gallery__figure {
  height: 100%;
}

.realisation__gallery .rv-gallery__item .rv-gallery__figure img {
  height: 100%;
  object-fit: cover;
}
