/* MODALES VIDEOS */


.modalVid, .modalText {
  position: relative;
  margin: 2% auto;
  display: none;
  max-width: 1000px;
  width: 80%;
}

.modalText {
  max-width: 1300px;
}

.video, .modal-contenu {
  width: 100%;
}

.modal-replay {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}


.title-modal {
  width: 100%;
  background-color: #0944BF;
  display: flex;
  padding: 30px 30px 25px 30px;
  border-bottom: 5px solid;
  border-image: linear-gradient(to right, #F59735 25%, #F5D15A 25%, #98C74D 50%,#7DC7A6 50%, #59B5F8 75%, #6794F8 75%) 5;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.title-modal h2 {
  font-family: 'Avenir LT Std Heavy', sans-serif !important;
  font-weight: 800 !important;
  background-color: #fff;
  color: #0944BF;
  font-size: 19px;
  line-height: 35px;
  text-transform: uppercase;
  margin: 0;
  margin-bottom: 2px;
  padding-left: 10px;
  padding-right: 10px;
  display: inline-block;
  border-radius: 3px;
}

.title-modal h3, .title-modal h4 {
  font-family: 'Avenir LT Std Roman', sans-serif !important;
  font-weight: 400 !important;
  color: #fff;
  font-size: 20px;
  line-height: 27px;
  margin: 0;
}

.title-modal h4 {
  font-size: 18px;
}

.title-modal .titles {
  margin-left: 20px;
}

.chiffres-modale {
  display: flex;
  justify-content: space-between;
  font-size: 28px;
}

.bold-modale {
  font-size: 40px;
  font-weight: bold;
}

.boutonFerme  {
  position: absolute;
  right: 2px;
  top: 0px;
  transition: all 200ms;
  font-size: 30px;
  text-decoration: none;
  color: #fff; 
  background-color: transparent;
  z-index: 10;
}

.modal-contenu {
  background-color: #fff;
  color: #0944BF;
  padding: 30px;
}

.modal-contenu h2 {
  font-family: 'Avenir LT Std Heavy', sans-serif !important;
  font-weight: 800 !important;
  font-size: 29px;
  line-height: 35px;
  margin-top: 0;
  margin-bottom: 20px;
}

.modal-contenu h3 {
  font-family: 'Avenir LT Std Heavy', sans-serif !important;
  font-weight: 800 !important;
  font-size: 25px;
  line-height: 25px;
}

.modal-contenu > div {
  font-family: 'Avenir LT Std Roman', sans-serif !important;
  font-weight: 400 !important;
  display: -webkit-box;
  display: -moz-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -moz-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  font-size: 17px;
  line-height: 25px;
}

.modal-contenu div div {
  width: 48%;
}

.modal-contenu ul {
  margin-bottom: 20px;
  padding-left: 20px;
}

.modal-contenu li {
  margin-bottom: 10px;
}

.modal-sous-texte {
  font-size: 15px;
  line-height: 25px;
  font-style: italic;
}

.video-replay-cdn, .modal-contenu, .video-replay-cdn-mp4 {
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  width: 100%;
}


@media screen and (max-width: 991px) {
  .title-modal {
    flex-direction: column;
    text-align: center;
  }
  .title-modal h2 {
    margin-top: 20px;
  }
  .modal-contenu > div {
    -webkit-box-direction: reverse;
    -webkit-box-orient: vertical;
    -moz-box-direction: reverse;
    -moz-box-orient: vertical;
    flex-direction: column;
  }
  .modal-contenu div div {
    width: 100%;
    text-align: center;
  }
  .modal-contenu div div:last-child {
    margin-top: 20px;
  }
  .modal-contenu h2 {
    text-align: center;
  }
  .modal-contenu h3 {
    margin-top: 30px;
  }

}

@media screen and (max-width: 775px) {
  .title-modal h2, .title-modal h3, .title-modal h4 {
    font-size: 14px;
    line-height: 17px;
  }
}

@media screen and (max-width: 605px) {
  .title-modal h2, .title-modal h3, .title-modal h4 {
    font-size: 11px;
  }
}

@media screen and (max-width: 500px) {
  .title-modal h2, .title-modal h3, .title-modal h4 {
    font-size: 10px;
  }
}