#videosList {
    max-width: 600px;
    overflow: hidden;
}

.video {

    height: 100%;
    width: 100%;
    margin-bottom: 50px;
}

.video video {
    width: 100%;
    height: 100%;
}



.video-spinner{
    position: absolute;
    width: 100px;
    height: 100px;
    left: 50%;
    top: 50%;
    z-index: 57;
    transform: translate(-50%, -50%);
    background-size: 50px 50px;
    background-repeat: no-repeat;
    background-position: center center;
    background-image: url('/static/front_office/assets/responsive_grid_gallery/img/icon/loading-video.gif');
}
.text_on_video{
    position: absolute;
    color: white;
    left: 47px;
    top: 13px;
    font-size: 12px;
    z-index: 25;
}
#lightboxVideo {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: none;
  background-color: rgb(0 0 0 / 82%);
}

#close-btn {
    cursor: pointer;
    color: white;
    font-size: 25px;
    position: fixed;
    top: 11%;
    right: 3%;
    z-index: 2;
    -webkit-transform: scale(1, 1);
    -moz-transform: scale(1, 1);
    -ms-transform: scale(1, 1);
    -o-transform: scale(1, 1);
    transform: scale(1, 1);
    -webkit-transition: transform .5s ease, color .5s ease;
    -moz-transition: transform .5s ease, color .5s ease;
    -ms-transition: transform .5s ease, color .5s ease;
    -o-transition: transform .5s ease, color .5s ease;
    transition: transform .5s ease, color .5s ease;
}
.video_block{
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: max-content;
    height: 300px;
}
.video_block video{
    width: 800px;
    height: auto;
    max-width: 80vw;
}

.gallery-grid-item .gallery-video-icon {
	border-radius: 5px;
    display: block;
    content: '';
    position: absolute;
    background: #4240406b;
    top: 3%;
    left: 3%;
    height: 30px;
    width: 30px;
    /* border: 4px double #fff; */
    opacity: 1;
    border-radius: 50%;
    -webkit-transition: all 0.6s;
    transition: all 0.6s;
    z-index: 5;
}

.gallery-video-icon::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
	left: 0%;
    background: url('/static/front_office/assets/responsive_grid_gallery/img/icon/video.png') no-repeat center center;
	background-size: 15px 15px;
}