.cy-template .video-img-wrapper{
	position: relative;
	width: 100%;
    height: 100%;
}
.cy-template .video-img-wrapper .video-thumb {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: auto;
    transform: translate(-50%,-50%);
    opacity: .7;
}
.cy-template .video-img-wrapper .play_video_modal ,
.cy-template .video-img-wrapper .play_video_icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    height: 80px;
    width: 80px;
    display: inline-block;
}
.cy-template .video-img-wrapper a.play_video_modal:before, 
.cy-template .video-img-wrapper a.play_video_icon:before {
    width: 80px;
    height: 80px;
    animation: scaleIn 1s infinite ease-out;
    content: '';
    border: 15px solid #1563dc;
    position: absolute;
    background: transparent;
    border-radius: 100%;
    top: 0;
    left: 0;
    animation-fill-mode: forwards;
}
.cy-template .video-img-wrapper .play_video_modal img ,
.cy-template .video-img-wrapper .play_video_icon img {
    width: 80px;
    height: 80px;
}
.video-popup .modal-content .modal-header{
    padding: 0;
}
.video-popup .modal-content{
    background: transparent;
    border: none;
}
.video-popup .modal-content button.close {
    color: #fff;
    font-size: 2rem;
    font-weight: 400;
    margin: 0 -50px 0 auto;
    padding: 10px;
        background: transparent;
    box-shadow: none;
    border: none;
}
.video-popup .modal-content button.close:focus{
    outline: none;
        background: transparent;
    box-shadow: none;
    border: none;
}
.video-popup .modal-content .modal-header{
    border: none;
}
.video-popup .modal-body{
    min-height: calc(100vh - 180px);
    padding: 0;
    width: 100%;
}
.video-popup .modal-body iframe{
    height: calc(100vh - 180px);
    width: calc((100vh - 180px) * 1.78);
}
@media (min-width: 768px){
    .video-popup .modal-dialog {
        min-height: calc(100vh - 180px);
        min-width: calc((100vh - 180px) * 1.78);
    }
}
@media(max-width: 767px){
     .cy-template .video-img-wrapper {
        min-height: calc(100vw / 1.6);
    }
}
@media(max-width: 575px){
    .cy-template .video-img-wrapper .play_video_modal, .cy-template .video-img-wrapper .play_video_icon,
    .cy-template .video-img-wrapper a.play_video_modal:before, .cy-template .video-img-wrapper a.play_video_icon:before,
    .cy-template .video-img-wrapper .play_video_modal img, .cy-template .video-img-wrapper .play_video_icon img {
        width: 50px;
        height: 50px;
    }
    .cy-template .video-img-wrapper a.play_video_modal:before, .cy-template .video-img-wrapper a.play_video_icon:before{
        border: 8px solid #1563dc;
    }
}
@keyframes scaleIn {
    from {
        transform: scale(.5, .5);
        opacity: .5;
    }
    to {
        transform: scale(1.5, 1.5);
        opacity: 0;
    }
}