/*--------------------------------------------------------------------------------------------------------------------------------------------------------------------------*/
/*------------------------------------------------------------------DEBUT DU CSS TIMELINE-------------------------------------------------------------------------------------*/
/*--------------------------------------------------------------------------------------------------------------------------------------------------------------------------*/

.timeline{
  display: flex;
  grid-template-rows: repeat(13, 300px);
  grid-template-columns: 50% 50%;
  gap: 0px;
  height: 100%;
  position: relative;
  /* padding-top: 55px; */
  margin-top: 100px;
  flex-direction: column;
  align-items: flex-start;
  gap: 40px;
}

.timeline:after {
    content: '';
    display: flex;
    position: absolute;
    width: 10px;
    height: 100%;
    top: 0;
    left: 40px;
    background-color: var(--main-color);
    z-index: 1;
}

/*Colonne de gauche*/

.contain-time{
  display:flex;
  flex-direction: row;
  align-items: stretch;
  /* padding-right: 100px; */
  position:relative;
  z-index: 2;
  flex-wrap: wrap;
  gap: 10px;
}

.contain-time .contain-image {
    width: 115px;
    /* height: 100%; */
    position: relative;
    /* min-height: 50px; */
    display: flex;
    align-items: flex-start;
    /* padding-top: 20px; */
}

.contain-time .contain-image.noimg {
      min-height: 30px;
}

.paragraphe .contain-time .contain-image h3 {
    display: flex;
    /* text-align: right; */
    justify-content: flex-end;
    margin-bottom: 0;
    padding-bottom: 0;
    font-size: 9rem;
    position: relative;
    /* right: auto; */
    /* top: 0; */
    /* bottom: auto; */
    /* left: auto; */
    /* background-color: var(--main-color); */
    /* color: #fff; */
    opacity: 0.80;
}
.paragraphe .contain-time .contain-image h3 span{
  position:relative;
  z-index:2;
  line-height: 8rem;
}

.paragraphe .contain-time .contain-image h3 span.chiffrex3 {
    width: 100%;
    display: flex;
}

.paragraphe .contain-time .contain-image h3:after {
    position:absolute;
    background-color:#fff;
    top: 21px;
    left:0;
    height: 59%;
    width: 97%;
    z-index:1;
    opacity: 0.75;
  display:none;
}


.contain-time .contain-image h3 {
    position: absolute;
    /* transform: rotate(270deg); */
    /* left: 0; */
    /* bottom: 0; */
}

.contain-time .containt-txt{
  position:relative;
  /* padding-left: 20px; */
  width: calc(100% - 125px);
  /* display: flex; */
  /* flex-direction: row-reverse; */
  /* align-items: center; */
}

.contain-time .containt-txt .img-txt {
    float: right;
}

.contain-time .containt-txt .img-txt img {
    max-width: 350px;
    padding-left: 20px;
}

.contain-time .containt-txt h4 {
    text-align: right;
    font-size: 22px;
    line-height: 25px;
    padding-top: 13px;
}

.contain-time .containt-txt p {
    text-align: justify;
    padding-top: 12px;
    line-height: 21px;
}

.contain-time .containt-txt ul li {
    display: flex;
    text-align: left;
    padding-right: 16px;
    width: 100%;
    justify-content: flex-end;
    line-height: 16px!important;
    flex-direction: column;
    align-items: flex-start;
    align-content: flex-start;
    margin-bottom: 5px!important;
}

.contain-time .containt-txt ul {
    padding-left: 15px!important;
}

.contain-time .containt-txt ul li:after {
    content: '';
    display: flex;
    position: absolute;
    width: 5px;
    height: 5px;
    background-color: var(--main-color);
    border-radius: 50%;
    /* margin-top: 10px; */
    left: -11px;
    top: 5px;
}

.paragraphe .contain-time .containt-txt h3 {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 0;
    padding-bottom: 0;
    font-size: 9rem;
    position: absolute;
    right: 0;
    top: -64px;
}


.paragraphe .contain-time .containt-txt h3 span{
  position:relative;
  z-index:2;
}

.paragraphe .contain-time .containt-txt h3:after {
    position:absolute;
    background-color:#fff;
    top: 21px;
    left:0;
    height: 59%;
    width: 97%;
    z-index:1;
    opacity: 0.75;
}

/*Colonne de droite*/







/*PLACEMENT DATE*/

.contain-time:nth-child(1){
  grid-area: 1 / 1 / 3 / 2;

}

.contain-time:nth-child(2){
  grid-area: 2 / 2 / 4 / 3;
}

.contain-time:nth-child(3){
  grid-area: 3 / 1 / 5 / 2;
}

.contain-time:nth-child(4){
  grid-area: 4 / 2 / 6 / 3;
}

.contain-time:nth-child(5){
  grid-area: 5 / 1 / 7 / 2;
}

.contain-time:nth-child(6){
  grid-area: 6 / 2 / 8 / 3;
}

.contain-time:nth-child(7){
  grid-area: 7 / 1 / 9 / 2;
}

.contain-time:nth-child(8){
  grid-area: 8 / 2 / 10 / 3;
}

.contain-time:nth-child(9){
  grid-area: 9 / 1 / 11 / 2;
}

.contain-time:nth-child(10){
  grid-area: 10 / 2 / 12 / 3;
}

.contain-time:nth-child(11){
  grid-area: 11 / 1 / 13 / 2;
}

.contain-time:nth-child(12){
  grid-area: 12 / 2 / 14 / 3;
}

/*RESPONSIVE TIMELINE*/
@media only screen and (max-width: 800px){
  .contain-time{
    padding-right:50px;
  }

  .contain-time:nth-child(2n){
    padding-left:50px;
    padding-right:0;
  }

  .contain-time:after{
    width:30px;
  }

  .contain-time .contain-image{
    width:100%;
  }

  .timeline {

  grid-template-rows: repeat(13, 400px);
  }

  .timeline:after, .contain-time:after,.contain-time:nth-child(2n):after{
    display:none;
  }

}


@media only screen and (max-width: 600px){
  .timeline{
    display:flex;
    flex-direction: column;
    align-items: center;
  }

  .contain-time, .contain-time:nth-child(2n){
    padding:20px;
    margin-bottom:100px;
  }
}

/*------------------------------------------------------------------FIN DU RESPONSIVE DE TIMELINE---------------------------------------------------------------------------*/

/*--------------------------------------------------------------------------------------------------------------------------------------------------------------------------*/
/*------------------------------------------------------------------FIN DU CSS TIMELINE-------------------------------------------------------------------------------------*/
/*--------------------------------------------------------------------------------------------------------------------------------------------------------------------------*/
