/* Adapted from 
   Light YouTube Embeds by @labnol 
   http://labnol.org/?p=27941 */

.light-video-embed, .light-video-embed-item {
  position: relative;
  padding-bottom: 56.23%;
  /* Use 75% for 4:3 videos */
  height: 0;
  
  overflow: hidden;
  max-width: 100%;
  background: #fff;
  margin: 5px;
  cursor: pointer;
  background-size:cover;
  background-position: center;
}

.light-video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
    max-height: 85vh;

  z-index: 100;
  background: transparent;
}

.light-video-embed img {
  bottom: 0;
  display: block;
  left: 0;
  margin: auto;
  max-width: 100%;
  
  width: 100%;
  position: absolute;
  right: 0;
  top: 0;
  border: none;
  height: auto;
  cursor: pointer;
  -webkit-transition: .4s all;
  -moz-transition: .4s all;
  transition: .4s all;
}

.light-video-embed-item:hover {
  -webkit-filter: brightness(85%);
}

.light-video-embed-caption {
  width: 100%;
  text-align: center; 
  padding-top: 20%;
  color: white;
  font-size: 250%;
}

.light-video-embed .play {
  height: 72px;
  width: 72px;
  left: 50%;
  top: 50%;
  margin-left: -36px;
  margin-top: -36px;
  position: absolute;
  background: url("/wp-content/plugins/cs-plugin/shortcodes/play.png") no-repeat;
  cursor: pointer;
  background-size: cover;
}

@media screen and (max-width: 768px) { 

.light-video-embed .play {
  height: 50px;
  width: 50px;
  margin-left: -25px;
  margin-top: -25px;
  position: absolute;
  }
.light-video-embed-caption {
  padding-top: 15%;
}  
} 

@media screen and (max-width: 425px) { 

.light-video-embed-caption {
  padding-top: 10%;
  font-size: 130%;
}  
} 

@media screen and (max-width: 320px) { 

.light-video-embed-caption {
  padding-top: 8%;
  font-size: 100%;
}  
} 


