/* The Modal (background) */
.modal {
    /* display: none; */
    visibility: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1030;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(17, 17, 17, 0.66);
    /*background: url("../../img/fondlightbox.png");  */
  }
  
  /* Modal Content */
  .modal-content {
    /* position: relative; */

    display: flex;
    justify-content: center;
    align-items: center;

    background-color: rgba(17, 17, 17, 0);
    /* background-color: #000000; */
    margin: auto;
    padding: 0;
    /*width: 90%;
     max-width: 600px; */
    border: 0;  

  }
  
  /* The Close Button */
.close {
    display: block;
    color: white;
    padding: 0;
    position: relative;
    left: 18px;
    top: 18px;
    /*  right: 18px;    
    text-align: right; */
    font-size: 35px;
    font-weight: bold;
    /* width: 900px; */
  }
  
  .close:hover,
  .close:focus {
    color: #999;
    text-decoration: none;
    cursor: pointer;
  }


/* Taille vidéo*/
  #myVideo {
    width: 300px;
    height: 168px;
  }

  #modalcontent {
    margin-top: -60px;
  }

  @media (min-height: 550px){
    #modalcontent {
      margin-top: 45px;
    }
  }

  @media (min-height: 735px){
    #modalcontent {
      margin-top: 96px;
    }
  }

  @media (min-width: 250px) and (max-width: 300px ) {
    #myVideo {
      width: 230px;
      height: 129px;
    }
  }

  @media (min-width: 400px) {
    #myVideo {
      width: 380px;
      height: 214px;
    }
  }

@media (min-width: 576px) and (min-height: 590px){
  #myVideo {
    width: 500px;
    height: 281px;
  }
}

@media (min-width: 767px) and (min-height: 800px) {
  #myVideo {
    width: 700px;
    height: 394px;
  }
}

@media (min-width: 992px) {
  #myVideo {
    width: 800px;
    height: 450px;
  }
}

@media (min-width: 1200px) {
  #myVideo {
    width: 830px;
    height: 467px;
  }
}

/* Fin Taille vidéo*/


  .numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 0;
    margin: 0;
    /*padding: 8px 12px;
    position: absolute;
    top: 0;*/
    /* background-color: black;    */
  }

  .btnchoixvideo{
    border: none; 
    /* -webkit-border-radius: 10px 10px 10px 10px; -moz-border-radius: 10px 10px 10px 10px; -ms-border-radius: 10px 10px 10px 10px; border-radius: 10px 10px 10px 10px;  */
  }
  
  
  
  