/*------------------------------------------------------------------------------
 youtube-playlist-thumbs
------------------------------------------------------------------------------*/
#ypt_wrapper {
  width: 100%;
 
  color: #fff;
  overflow: hidden;
  max-width: 100%;
  position: relative;
  display: none;
}
div#ypt_wrapper:before {
    content: '';
    background-color: #fff;
    position: absolute;
    top: 0;
    left: 0;
    width: 90%;
    height: 100%;
}
#ypt_thumbs {
    overflow-y: scroll;
    overflow-x: hidden;
    width: 20%;
    background: #fff;
    border: 1px solid #eee;
    margin: 0;
    position: absolute;
    right: 0;
    box-shadow: 0 0 15px #eee;
    top: 18px;
    padding: 5px;
    height: 440px !important;
}
#ypt_thumbs li {
  list-style: none;
  margin: 0;
  position: relative;
  font-size: 0;
}
#ypt_thumbs li img{
  width: 100%;
}
#ypt_thumbs li p {
  font-size: 10px;
  background: rgba(0, 0, 0, 0.7);
  display: none;
  position: absolute;
  width: 100%;
  height: 100%;
  color: #fff;
  padding: 5%;
  margin: 0;
}
#ypt_thumbs li:hover p {
  display: block;
  cursor: pointer;
}
#ypt_thumbs .ypt-now-playing p {
  display: block;
}
#ypt_thumbs .ypt-now-playing > span::after {
  content: "\25b6  Lecture en cours"; /* A traingle pointing right */
  margin-top: -1em;
  display: block;
  width: 100%;
  padding: 5%;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  position: absolute;
  bottom: 0;
  font-size: 10px;
}
#ypt_wrapper .video {
  position: relative;
  width: 80%;
  /*height: 0;*/
  padding-bottom:64%;
  float: left;
}
#ypt_wrapper .video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 95%;
  height: 90%;
  float:left;
      padding: 5%;
}
@media only screen and (max-width : 400px) {
  #ypt_thumbs {
    /*display: none;*/
  }
  #ypt_wrapper .video {
    width: 100%;
    padding-bottom: 56.25%;
  }
}