/*
    Colorbox Core Style:
    The following CSS is consistent between example themes and should not be altered.
*/
body {
	width:95%;
	margin:0.2rem auto;
}
.card-body {
  flex: 1 1 auto;
  padding:0.1rem 0.1rem;
}
.text-center {
  background-color: #0091FE; 
  color: white;

}
.card-footer {
  background-image:  url("../img/chevrons.jpg");
  background-size: contain;
  background-repeat: no-repeat;

}

/*-------------------------------------------------------------->taille 760 px*/
@media screen and (max-width: 760px) {
  .col-sm-1 {
    width: 15%;
  }
  .col-sm-10 {
    width: 70%;
  }
}

/*-------------------------------------------------------------->taille 576px*/
@media screen and (max-width: 576px) {
	.card-body {
  flex: 1 1 auto;
  padding:0;
  margin: 0 auto;
}
  .col-sm-1 {
    width: 100%;
  }
  .col-sm-10 {
    width: 100%;
  }
}
}
/*fin------------------------------------------------------------>taille 576px*/

/*-------------------------------------------------------------->Diaporama*/

@keyframes slideshow__fade {
  0% {
    opacity: 0;
    z-index: 2;
  }
  6.6666666667% {
    opacity: 1;
  }
  26.6666666667% {
    opacity: 1;
  }
  27.6666666667% {
    opacity: 0;
    z-index: 1;
  }
  100% {
    opacity: 0;
  }
}

.diaporama {
  position: relative;
}
.diaporama img:not(:first-child) {
  position: absolute;
  left: 0;
  top: 0;
  margin: 0 auto;
  animation-duration: 4s; /*On retrouve nos 30 secondes ici */
  animation-fill-mode: both;
  animation-iteration-count: infinite;
  animation-name: slideshow__fade;
  animation-timing-function: ease-in;
  transition: opacity 2s ease-in;
}

.diaporama img:nth-child(1) {
  animation-delay: 0s;
}
.diaporama img:nth-child(2) {
  animation-delay: 2s;
}
