/*
#@plugins/cefim/css/diaporama.less
*/
/* Diaporama WEB & Cie */
/* Développement : Arthur Verneret */
/* Nécessite LESS et jQuery */
.diaporama ul {
  position: relative;
  z-index: 2;
  overflow: hidden;
}
.diaporama ul li {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.diaporama ul li img {
  width: 100%;
  height: auto;
}
.diaporama ul li.on {
  opacity: 1;
  z-index: 2;
}
.diaporama ul li.on:after {
  content: '';
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.7), transparent);
}
.diaporama ul li:first-child.on:after {
  right: 0;
  left: auto;
  top: 0;
  background: linear-gradient(to left, rgba(0, 0, 0, 0.7), transparent);
}
.diaporama ul li:nth-child(3) .titre_programme,
.diaporama ul li:nth-child(4) .titre_programme {
  right: auto;
  left: 0;
}
.diaporama ul .wrapper {
  max-width: 1200px;
  width: 98%;
  padding: 0 1%;
  position: absolute;
  height: 100%;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
}
.diaporama ul .titre_programme {
  top: 60%;
  left: auto;
  transform: none;
  width: fit-content;
  right: 0;
  max-width: 410px;
  position: absolute;
  top: 20%;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 30px;
  padding: 30px;
}
@media screen and (max-width: 700px) {
  .diaporama ul .titre_programme {
    display: none;
  }
}
.diaporama ul .titre_programme #bandeau {
  background-color: red;
  color: white;
  padding: 5px;
  text-transform: uppercase;
  font-weight: bold;
  width: fit-content;
}
@media screen and (min-width: 700px) and (max-width: 1024px) {
  .diaporama ul .titre_programme {
    bottom: 100px;
  }
}
.diaporama ul .titre_programme h1,
.diaporama ul .titre_programme p {
  margin-bottom: 5px;
}
.diaporama ul .titre_programme h1 {
  font-size: 15px;
  line-height: 20px;
  background: none;
  padding: 0;
}
.diaporama ul .titre_programme h1 strong {
  display: block;
  font-size: 26px;
  line-height: 28px;
  margin-bottom: 5px;
}
.diaporama ul .titre_programme h1 br {
  display: none;
}
.diaporama ul .titre_programme .bouton_v2 {
  display: block;
  padding: 11px 35px;
  margin: 20px auto;
  width: max-content;
  font-size: 13px;
  letter-spacing: 0.1rem;
  text-transform: uppercase;
  color: #fff;
  border-radius: 50px !important;
  background-size: 200%;
  background-position: left;
  transition: all .3s ease;
}
.diaporama ul .titre_programme .bouton_v2 span {
  font-size: 13px !important;
}
.diaporama ul .titre_programme .bouton_v2:hover,
.diaporama ul .titre_programme .bouton_v2:focus {
  color: #fff;
  background-position: right;
}
.diaporama ul .titre_programme .bouton_v2:active {
  transform: scale(0.95);
}
.diaporama ul .titre_programme .bouton_v2.vert {
  background-image: linear-gradient(to right, #79b400, #95c72e, #79b400);
}
.diaporama ul .titre_programme .bouton_v2.bleu {
  background-image: linear-gradient(to right, #211c4e, #463f88, #211c4e);
}
.diaporama ul .titre_programme h3 + p,
.diaporama ul .titre_programme p {
  color: #97704c;
  font-weight: bold;
}
.diaporama ul .titre_programme h3 {
  color: #97704c;
  text-transform: uppercase;
  line-height: 40px;
  font-size: 30px;
  font-family: 'Open Sans';
  font-weight: bold;
}
.diaporama ul .titre_programme h3 span {
  text-transform: none;
}
.diaporama ul .titre_programme h3 + p {
  font-family: 'Open Sans';
  font-weight: 600;
}
.diaporama ul .titre_programme h3 + p + p {
  margin: 2rem 0 2rem;
  font-size: 1.2rem;
  line-height: 1.7rem;
}
.diaporama ul .titre_programme p + p {
  background: linear-gradient(to right, #917261, #97704c);
  color: white;
  font-weight: normal;
  padding: 10px;
  text-align: center;
}
.diaporama ul .titre_programme a {
  margin: 10px auto;
  background: black !important;
}
.diaporama ul .titre_programme .avancement {
  background-color: red;
  color: white;
  padding: 4px 10px;
  display: block;
  width: fit-content;
  border: 0;
  font-size: 14px;
  margin: -10px 0 20px;
}
.diaporama .controles {
  position: relative;
  z-index: 1;
  text-align: right;
}
.diaporama .controles .suivant,
.diaporama .controles .precedent {
  cursor: pointer;
}
