.youtube-video-container.video-activated .preview-box {
 display:none
}
.youtube-video-container .preview-box {
 position:relative
}
.youtube-video-container .preview-box .image,.youtube-video-container iframe {
 width:266px;
 background-position:center center;
 background-size:cover;
 background-repeat:no-repeat;
 max-width:100%;
 height:150px;
}
.youtube-video-container .preview-box .image,.youtube-video-container.wordpress iframe {
 width:100%;
 max-width:100%;
 height:100vh !important;
}
.youtube-video-container.location iframe {
 width:100%;
 height:100%;
}
.youtube-video-container .preview-box .overlay {
 background-color:rgba(256,256,256,.9);
 position:absolute;
 top:0;
 left:0;
 height:auto;
 width:100%;
 opacity:0;
 transition:.1s linear
}
.youtube-video-container.location .preview-box .overlay {
 height:100%;
}

.youtube-video-container .preview-box .overlay p {
 color:#000;
 font-family:Arial;
 font-size:12px;
}
.youtube-video-container .preview-box .overlay a {
 color:#14ac32 !important;
 font-family:Arial;
 font-size:18px;
}
.youtube-video-container .preview-box .overlay small a {
 color:#000 !important;
 font-size:12px;
 text-decoration: underline !important;
}
.youtube-video-container .preview-box .overlay:hover, .youtube-video-container.wordpress .preview-box .overlay {
 opacity:1
}
.youtube-video-container .display-table {
 display:table;
 width:100%;
 height:100%
}
.youtube-video-container .display-table .display-table-cell {
 display:table-cell;
 width:100%;
 height:100%;
 vertical-align:middle;
 text-align:center!important;
 padding:10px;
 margin-right:0!important
}
#text .display-table-cell p {
 margin-right:0!important;
 text-align:center
}
#text .display-table-cell small a {
 font-size:1.2em;
 color:#666
}
.youtube-video-container .display-table .display-table-cell.left {
 text-align:left
}
.youtube-video-container .display-table .display-table-cell.right {
 text-align:right
}
.youtube-video-container .display-table .display-table-cell.top {
 vertical-align:top
}
.youtube-video-container .display-table .display-table-cell.bottom {
 vertical-align:bottom
}
@media screen and (max-width:400px) {
 .youtube-video-container .display-table .display-table-cell {
  padding:0px
 }
}
