/* --------------------------------

Primary style

-------------------------------- */
@import url(https://fonts.googleapis.com/css?family=Source+Sans+Pro);
*, *::after, *::before {
  box-sizing: border-box;
}

@font-face {
    font-family: ComicHelvetic;
    font-weight: normal;
    src: url("../fonts/ComicHelvetic_Light.07d5c7e87d4d.otf") format("opentype");
}

@font-face {
    font-family: Aptly;
    font-weight: bold;
    src: url("../fonts/Fontspring-DEMO-aptly_bold.ae56befa3752.otf") format("opentype");
}

ol {
  padding-left: 0;
}

ol, ul {
  list-style: none;
}

.white_background {
  background: #fff;
}
/* --------------------------------

Main Components

-------------------------------- */
.cd-horizontal-timeline {
  opacity: 0;
  margin: 2em auto;
  -webkit-transition: opacity 0.2s;
  -moz-transition: opacity 0.2s;
  transition: opacity 0.2s;
}
.cd-horizontal-timeline::before {
  /* never visible - this is used in jQuery to check the current MQ */
  content: 'mobile';
  display: none;
}
.cd-horizontal-timeline.loaded {
  /* show the timeline after events position has been set (using JavaScript) */
  opacity: 1;
}
.cd-horizontal-timeline .timeline {
  position: relative;
  height: 100px;
  width: 90%;
  max-width: 800px;
  margin: 0 auto;
}
.cd-horizontal-timeline .events-wrapper {
  position: relative;
  height: 100%;
  margin: 0 40px;
  overflow: hidden;
}
/*.cd-horizontal-timeline .events-wrapper::after, .cd-horizontal-timeline .events-wrapper::before {*/
/*  !* these are used to create a shadow effect at the sides of the timeline *!*/
/*  content: '';*/
/*  position: absolute;*/
/*  z-index: 2;*/
/*  top: 0;*/
/*  height: 100%;*/
/*  width: 20px;*/
/*}*/
/*.cd-horizontal-timeline .events-wrapper::before {*/
/*  left: 0;*/
/*  background-image: -webkit-linear-gradient( left , #f8f8f8, rgba(248, 248, 248, 0));*/
/*  background-image: linear-gradient(to right, #f8f8f8, rgba(248, 248, 248, 0));*/
/*}*/
/*.cd-horizontal-timeline .events-wrapper::after {*/
/*  right: 0;*/
/*  background-image: -webkit-linear-gradient( right , #f8f8f8, rgba(248, 248, 248, 0));*/
/*  background-image: linear-gradient(to left, #f8f8f8, rgba(248, 248, 248, 0));*/
/*}*/
.cd-horizontal-timeline .events {
  /* this is the grey line/timeline */
  position: absolute;
  z-index: 1;
  left: 0;
  top: 49px;
  height: 2px;
  /* width will be set using JavaScript */
  background: #dfdfdf;
  -webkit-transition: -webkit-transform 0.4s;
  -moz-transition: -moz-transform 0.4s;
  transition: transform 0.4s;
}
.cd-horizontal-timeline .filling-line {
  /* this is used to create the green line filling the timeline */
  position: absolute;
  z-index: 1;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  background-color: rgb(225, 118, 40);
  -webkit-transform: scaleX(0);
  -moz-transform: scaleX(0);
  -ms-transform: scaleX(0);
  -o-transform: scaleX(0);
  transform: scaleX(0);
  -webkit-transform-origin: left center;
  -moz-transform-origin: left center;
  -ms-transform-origin: left center;
  -o-transform-origin: left center;
  transform-origin: left center;
  -webkit-transition: -webkit-transform 0.3s;
  -moz-transition: -moz-transform 0.3s;
  transition: transform 0.3s;
}
.cd-horizontal-timeline .events a {
  position: absolute;
  bottom: 0;
  z-index: 2;
  text-align: center;
  font-size: 0.8rem;
  color: #383838;
  /* fix bug on Safari - text flickering while timeline translates */
  -webkit-transform: rotate(-75deg) translateZ(0);
  -moz-transform: rotate(-75deg) translateZ(0);
  -ms-transform: rotate(-75deg) translateZ(0);
  -o-transform: rotate(-75deg) translateZ(0);
  transform: rotate(-75deg) translateZ(0);
}
.cd-horizontal-timeline .events a[data-distance]::before {
  content: '';
  margin-left: 20px;
}

.cd-horizontal-timeline .events a[data-distance]::after {
  /* this is used to create the event spot */
  content: '';
  white-space: pre;
  position: absolute;
  left: 46%;
  right: auto;
  -webkit-transform: translateX(-108%);
  -moz-transform: translateX(-108%);
  -ms-transform: translateX(-108%);
  -o-transform: translateX(-108%);
  transform: translateX(-108%);
  bottom: 0px;
  height: 12px;
  width: 12px;
  border-radius: 50%;
  border: 2px solid #dfdfdf;
  background-color: #f8f8f8;
  -webkit-transition: background-color 0.3s, border-color 0.3s;
  -moz-transition: background-color 0.3s, border-color 0.3s;
  transition: background-color 0.3s, border-color 0.3s;
}
.no-touch .cd-horizontal-timeline .events a:hover::after {
  background-color: rgb(225, 118, 40);
  border-color: rgb(225, 118, 40);
}
.cd-horizontal-timeline .events a.selected {
  pointer-events: none;
}
.cd-horizontal-timeline .events a.selected::after {
  background-color: rgb(225, 118, 40);
  border-color: rgb(225, 118, 40);
}
.cd-horizontal-timeline .events a.older-event::after {
  border-color: rgb(225, 118, 40);
}
@media only screen and (min-width: 1100px) {
  /*.cd-horizontal-timeline {*/
  /*  margin: 6em auto;*/
  /*}*/
  .cd-horizontal-timeline::before {
    /* never visible - this is used in jQuery to check the current MQ */
    content: 'desktop';
  }
}

.cd-timeline-navigation a {
  /* these are the left/right arrows to navigate the timeline */
  position: absolute;
  z-index: 1;
  top: 50%;
  bottom: auto;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
  height: 34px;
  width: 34px;
  border-radius: 50%;
  border: 2px solid rgb(225, 118, 40);
  /* replace text with an icon */
  overflow: hidden;
  color: transparent;  /*background-color: #1d4596;*/

  text-indent: 100%;
  white-space: nowrap;
  -webkit-transition: border-color 0.3s;
  -moz-transition: border-color 0.3s;
  transition: border-color 0.3s;
}
.cd-timeline-navigation a::after {
  /* arrow icon */
  content: '';
  position: absolute;
  height: 16px;
  width: 16px;
  left: 50%;
  top: 50%;
  bottom: auto;
  right: auto;
  -webkit-transform: translateX(-50%) translateY(-50%);
  -moz-transform: translateX(-50%) translateY(-50%);
  -ms-transform: translateX(-50%) translateY(-50%);
  -o-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="%23ffffff" class="bi bi-arrow-right" viewBox="0 0 16 16"> <path fill-rule="evenodd" d="M1 8a.5.5 0 0 1 .5-.5h11.793l-3.147-3.146a.5.5 0 0 1 .708-.708l4 4a.5.5 0 0 1 0 .708l-4 4a.5.5 0 0 1-.708-.708L13.293 8.5H1.5A.5.5 0 0 1 1 8z"/> </svg>');
}
.cd-timeline-navigation a.prev {
  left: 0;
  -webkit-transform: translateY(-50%) rotate(180deg);
  -moz-transform: translateY(-50%) rotate(180deg);
  -ms-transform: translateY(-50%) rotate(180deg);
  -o-transform: translateY(-50%) rotate(180deg);
  transform: translateY(-50%) rotate(180deg);
}
.cd-timeline-navigation a.next {
  right: 0;
}
.no-touch .cd-timeline-navigation a:hover {
  border-color: #1d4596;
}
.cd-timeline-navigation a.inactive {
  cursor: not-allowed;
}
.cd-timeline-navigation a.inactive::after {
  background-position: 0 -16px;
}
.no-touch .cd-timeline-navigation a.inactive:hover {
  border-color: #dfdfdf;
}

.cd-horizontal-timeline .events-content {
  position: relative;
  width: 100%;
  overflow: hidden;
  -webkit-transition: height 0.4s;
  -moz-transition: height 0.4s;
  transition: height 0.4s;
}

.scroll-left,
.scroll-right {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  font-size: 26px;
  padding: 5px;
  cursor: pointer;
  border-radius: 50%;
  border: 2px solid rgb(225, 118, 40);
  /*couleur précèdente #7b9d6f*/
  background-color: rgb(225, 118, 40);
  color: #FFF;
}
/* Pour Firefox */
@-moz-document url-prefix() {
  .scroll-left,
  .scroll-right {
    padding: 4px; /* Padding pour Firefox */
  }
}

.scroll-left {
  left: 0;
  z-index: 10;
  width: 51px;
  height: 51px;
  text-align: center;
}

.scroll-right {
  right: 0;
  z-index: 10;
  width: 51px;
  height: 51px;
  text-align: center;
}
.cd-horizontal-timeline .events-content li {
  position: absolute;
  z-index: 1;
  width: 100%;
  left: 0;
  top: 0;
  -webkit-transform: translateX(-100%);
  -moz-transform: translateX(-100%);
  -ms-transform: translateX(-100%);
  -o-transform: translateX(-100%);
  transform: translateX(-100%);
  /*padding: 0 5%;*/
  opacity: 0;
  -webkit-animation-duration: 0.4s;
  -moz-animation-duration: 0.4s;
  animation-duration: 0.4s;
  -webkit-animation-timing-function: ease-in-out;
  -moz-animation-timing-function: ease-in-out;
  animation-timing-function: ease-in-out;
}
.cd-horizontal-timeline .events-content li.selected {
  /* visible event content */
  position: relative;
  z-index: 2;
  opacity: 1;
  -webkit-transform: translateX(0);
  -moz-transform: translateX(0);
  -ms-transform: translateX(0);
  -o-transform: translateX(0);
  transform: translateX(0);
}
.cd-horizontal-timeline .events-content li.enter-right, .cd-horizontal-timeline .events-content li.leave-right {
  -webkit-animation-name: cd-enter-right;
  -moz-animation-name: cd-enter-right;
  animation-name: cd-enter-right;
}
.cd-horizontal-timeline .events-content li.enter-left, .cd-horizontal-timeline .events-content li.leave-left {
  -webkit-animation-name: cd-enter-left;
  -moz-animation-name: cd-enter-left;
  animation-name: cd-enter-left;
}
.cd-horizontal-timeline .events-content li.leave-right, .cd-horizontal-timeline .events-content li.leave-left {
  -webkit-animation-direction: reverse;
  -moz-animation-direction: reverse;
  animation-direction: reverse;
}
.cd-horizontal-timeline .events-content li > * {
  margin: 0 auto;
}
.cd-horizontal-timeline .events-content h2 {
  font-weight: bold;
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}
.cd-horizontal-timeline .events-content .event_years {
  display: block;
  font-style: italic;
  margin: 10px auto;
  text-align: center;
  color: rgb(225, 118, 40);
}

.cd-horizontal-timeline .events-content h3 {
  margin-top: 10px;
  margin-bottom: 10px;
}

.cd-horizontal-timeline .events-content h3 {
  margin-top: 10px;
  margin-bottom: 10px;
}
.cd-horizontal-timeline .events-content img {
  max-width: 100%;
  align-self: center;
}

@-webkit-keyframes cd-enter-right {
  0% {
    opacity: 0;
    -webkit-transform: translateX(100%);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateX(0%);
  }
}
@-moz-keyframes cd-enter-right {
  0% {
    opacity: 0;
    -moz-transform: translateX(100%);
  }
  100% {
    opacity: 1;
    -moz-transform: translateX(0%);
  }
}
@keyframes cd-enter-right {
  0% {
    opacity: 0;
    -webkit-transform: translateX(100%);
    -moz-transform: translateX(100%);
    -ms-transform: translateX(100%);
    -o-transform: translateX(100%);
    transform: translateX(100%);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateX(0%);
    -moz-transform: translateX(0%);
    -ms-transform: translateX(0%);
    -o-transform: translateX(0%);
    transform: translateX(0%);
  }
}
@-webkit-keyframes cd-enter-left {
  0% {
    opacity: 0;
    -webkit-transform: translateX(-100%);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateX(0%);
  }
}
@-moz-keyframes cd-enter-left {
  0% {
    opacity: 0;
    -moz-transform: translateX(-100%);
  }
  100% {
    opacity: 1;
    -moz-transform: translateX(0%);
  }
}
@keyframes cd-enter-left {
  0% {
    opacity: 0;
    -webkit-transform: translateX(-100%);
    -moz-transform: translateX(-100%);
    -ms-transform: translateX(-100%);
    -o-transform: translateX(-100%);
    transform: translateX(-100%);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateX(0%);
    -moz-transform: translateX(0%);
    -ms-transform: translateX(0%);
    -o-transform: translateX(0%);
    transform: translateX(0%);
  }
}

li.event_background {
  background: #2b3541;
  box-sizing: border-box;
}

h2.event-title {
  color: rgb(172, 201, 220);
  font-family: ComicHelvetic;
}

.events-info {
  padding: 15px 5%;
  color: #000;
  position: relative;
}

.events-info h3 {
  color: rgb(172, 201, 220);
  font-family: ComicHelvetic;
}

.events-info .head_sam{
  width: 100px;
  position: absolute;
  top:-10px;
  left: 0;
}

.events-info .text {
  padding: 0px 5% 30px 5%;
  color: #fff;
  font-size: 1.2rem;
}

.events-info .image .picture_desc,
.events-info .image .id_card{
  width: 100%;
  color: #fff;
}

.accordion-button::after {
  background-color: rgb(225, 118, 40);
  border-radius: 50%;
}

.accordion-body h4, .id_card h4 {
  font-size: 1rem;
}

.accordion-body p, .id_card p {
  font-size: 0.8rem;
}

.accordion-body h6, .id_card h6 {
  font-size: 0.6rem;
}

/*.picture_desc #filter_desc {*/
/*  position: absolute;*/
/*  display: flex;*/
/*  width: 250px;*/
/*  !* v2.1 : borders effect with SVG : try to play with scale to change them *!*/
/*  !* filter: url("#wavy2"); *!*/
/*}*/

@media (min-width: 1025px) {
  .events-info {
    padding: 15px 5%;
  }
}

@media (max-width: 1024px) {
  .events-info {
    flex-direction: column;
    padding-left: 31px !important;
    padding-right: 31px !important;
  }

  .events-info .image {
    margin-left: 0; /* Réinitialise la marge sur les appareils en format portrait */
    margin-top: 20px; /* Ajoute une marge au-dessus de l'image */
  }
}

@media only screen and (min-width: 768px) {
  .cd-horizontal-timeline .events-content h2 {
    font-size: 3.5rem;
  }
  .cd-horizontal-timeline .events-content .event_years {
    font-size: 1.5rem;
  }
  .picture_desc #contain p, .id_card p {
    font-size: 0.8rem;
  }
}

@media (max-width: 768px) {
  .scroll-left,
  .scroll-right {
    font-size: 18px;
    padding: 0;
    width: 30px;
    height: 30px;
  }
  @-moz-document url-prefix() {
    .scroll-left,
    .scroll-right {
      font-size: 16px;
      padding: 0;
      width: 30px;
      height: 30px;
    }
  }
  .sam_and_title {
    width: 80%;
    margin: 0 auto;
  }
}

.carousel-control-next, .carousel-control-prev {
  width: auto;
  opacity: 1;
  top: inherit;
  bottom: 55px;
}

.carousel-control-prev-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='rgb(225, 118, 40)'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e");
}

.carousel-control-next-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='rgb(225, 118, 40)'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.carousel-indicators {
  position: inherit;
}
/********* Comment fait-on ? post-it ******/

.events-info .post-it {
  margin: 15px auto;
  width: 50%;
  padding: 10px;
  background: rgb(172, 201, 220);
}

.events-info .post-it div p{
  text-decoration: none;
  color: #000;
}

.events-info .post-it div h4 {
  margin: 0;
  text-align: center;
}

.events-info .fun-fact {
  width: 100%;
  margin-left: 20px;
  padding: 15px;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.events-info .fun-fact img {
  width: 60px;
  height: auto;
}

.events-info .fun-fact p {
  color: #fff;
  font-size: 1.5rem;
}

@media (max-width: 576px) {
  .events-info .post-it {
    width: 100%;
  }
  .events-info .fun-fact {
    width: 100%;
    margin-left: 0;
    margin-top: 20px;
  }
}

.sam-picture {
  height: 200px;
}
/******* DEFINITION CSS ********/

abbr {
  color: rgb(225, 118, 40);
  cursor: pointer;
  text-decoration: underline;
}

/******* APPROFONDISSEMENT CSS ********/

.deepening_text p {
  color: #fff;
}