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

.timeline{
  display: grid;
  grid-template-rows: repeat(16, 300px);
  grid-template-columns: 50% 50%;
  gap: 0px;
  height: 100%;
  position: relative;
  padding-top: 55px;
  margin-top: 100px;
}

.timeline:after {
    content: '';
    display: flex;
    position: absolute;
    width: 1px;
    height: 96%;
    top: 0;
    left: calc(50% - 5px);
    background-color: #fff;
    border: 1px dashed #d4d4d4;
}

/*Colonne de gauche*/

.contain-time{
  display:flex;
  flex-direction: column;
  align-items: flex-end;
  padding-right: 130px;
  position:relative;
}

.contain-time:after {
  content: '';
  display: flex;
  position: absolute;
  width: 69px;
  height: 1px;
  top: 102px;
  right: 57px;
  background-color: #fff;
  border: 1px dashed #d4d4d4;
}

.contain-time .contain-image {
    width: 70%;
    position: relative;
}

.contain-time .contain-image img {
    box-shadow: 0 0 10px #ddd;
}

.paragraphe .contain-time .contain-image h3 {
    display: inline-block;
    text-align: right;
    justify-content: flex-end;
    margin-bottom: 0;
    padding-bottom: 0;
    font-size: 30px;
    position: absolute;
    right: -185px;
    top: 48px;
    bottom: auto;
    left: auto;
    /* background-color: var(--corp-gray); */
    /* color: #fff; */
    /* opacity: 0.80; */
    display: flex;
    width: 115px;
    height: 115px;
    background-color: #ed0101;
    border: 7px solid #1a1a1d;
    justify-content: center;
    align-items: center;
    border-radius: 65px;
    margin-bottom: 0!important;
    color: #fff;
    z-index: 1;
    text-align: center;
    align-content: center;
    border-color: #fff;
}
.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;
}

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

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

.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*/

.contain-time:nth-child(2n){
  display:flex;
  flex-direction: column;
  align-items: flex-start;
  padding-right: 0;
  padding-left: 130px;
  position:relative;
}

.contain-time:nth-child(2n):after {
  content: '';
  display: flex;
  position: absolute;
  /* width: 99px; */
  /* height: 9px; */
  /* top: -25px; */
  right: auto;
  left: 61px;
  /* background-color: var(--corp-gray); */
}

.contain-time:nth-child(2n) .contain-image {
    position: relative;
}

.paragraphe .contain-time:nth-child(2n) .contain-image h3 {
    /* display: flex; */
    justify-content: center;
    margin-bottom: 0;
    padding-bottom: 0;
    /* font-size: 9rem; */
    position: absolute;
    left: -188px;
    /* top: -76px; */
    right: 0;
    text-align: left;
}


.paragraphe .contain-time:nth-child(2n) .contain-image h3 span{
  position:relative;
  z-index:2;
}

.paragraphe .contain-time:nth-child(2n) .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:nth-child(2n) .contain-image h3 {
    position: absolute;
    /* transform: rotate(270deg); */
    left: 0;
    bottom: 0;
}

.contain-time:nth-child(2n) .containt-txt{
  position:relative;
}

.contain-time:nth-child(2n) .containt-txt h4 {
    text-align: left;
    font-size: 22px;
    line-height: 25px;
    padding-top: 13px;
}

.contain-time:nth-child(2n) .containt-txt p {
    text-align: left;
    padding-top: 12px;
    line-height: 21px;
}

.paragraphe .contain-time:nth-child(2n) .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:nth-child(2n) .containt-txt h3 span{
  position:relative;
  z-index:2;
}

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

/*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;
}

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

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

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

/*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;
  }

  .paragraphe .contain-time .contain-image h3, .paragraphe .contain-time:nth-child(2n) .contain-image h3{
    right: auto;
    top: -95px;
    left: auto;
  }

.contain-time .contain-image {
    display: flex;
    justify-content: center;
}
}

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

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