.fancybox-active .fancybox-content {
  padding: 0;
}

.fancybox-active .fancybox-button svg {
    color: white;
    background: black;
    width: 35px;
    height: 35px;
    right: 25px;
}

#video_full img {
    display: block;
    width: 100%;
    height: 210px;
    object-fit: cover;;
    filter: brightness(60%);
}

#video_full a.show-all {
    border: solid 1px transparent;
    background: linear-gradient(#f5f5f5 0 0) padding-box, linear-gradient(49deg, #097DC0 1.03%, #FFBA00 100%) border-box;
    font-family: 'Raleway';
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    color: #455158;
    margin-left: 20px;
    padding: 10px 15px;
    border-radius: 5px 0px 5px 5px;
    transition: all 0.4s;
}

#video_full a.show-all:hover {
    background: linear-gradient(90deg, #097DC0 70%, #FFBA00 100%) padding-box, linear-gradient(49deg, #097DC0 1.03%, #FFBA00 100%) border-box;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.4s;
}

#video_full h3 {
    margin-top: -80px;
    font-family: 'Spectral';
    font-style: normal;
    font-weight: 600;
    font-size: 20px;
    line-height: 20px;
    letter-spacing: -0.025em;
    color: #fff;
    z-index: 2;
    position: absolute;
    text-align: initial;
    padding-left: 20px;
    overflow-wrap: break-word;
    hyphens: auto;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    width: 20%;
	text-transform: none;
}

.clock_icon {
    background: url(/local/templates/kemgik/images/video/clock.svg) no-repeat;
    height: 15px;
    width: 15px;
    display: block;
}

.play-block {
    position: absolute;
    z-index: 2;
    height: 180px;
    width: 22%;
    display: flex;
    align-content: center;
    justify-content: center;
    align-items: center;
}

.play_icon {
    background: url(/local/templates/kemgik/images/video/play.svg) no-repeat;
    height: 55px;
    width: 49px;
    display: block;
    -webkit-transition: all 0.4s;
    transition: all 0.4s;
}

.play_icon:hover {
    background: url(/local/templates/kemgik/images/video/play_hover.svg) no-repeat;
    height: 55px;
    width: 49px;
    display: block;
    -webkit-transition: all 0.4s;
    transition: all 0.4s;
}


.about-video {
    background: #FFFFFF;
    border: 1px solid #E3E3E3;
    padding: 25px 21px;
	margin-bottom: 30px;
}

.about-video_data {
    display: flex;
    flex-direction: row;
    align-items: center;
    align-content: center;
}

#video_full .about-video_data p {
    margin: 0;
    margin-left: 5px;
    font-family: 'Raleway';
    font-style: normal;
    font-weight: 500;
    font-size: 13px;
    letter-spacing: -0.06em;
    color: #455158;
}

.about_button .glow-on-hover {
    width: 120px;
    height: 22px;
    border: 0;
    outline: 0;
    background: none;
    cursor: pointer;
    position: relative;
    z-index: 0;
    border-bottom: 2px solid transparent;
    border-image: linear-gradient(90deg,#097dc0 0,#ffba00 100%);
    border-image-slice: 1;
}

.about_button .glow-on-hover:before {
    content: '';
    border: 1px solid transparent;
    border-image: linear-gradient(90deg,#097dc0 0,#ffba00 100%);
    border-image-slice: 1;
    position: absolute;
    top: -1px;
    left: -1px;
    background-size: 100%;
    z-index: -1;
    width: 120px;
    height: 22px;
    animation: glowing 20s linear infinite;
    opacity: 0;
    transition: opacity .3s ease-in-out;
}

.about_button .glow-on-hover:hover:before {
    content: '';
    border: 1px solid transparent;
    border-image: linear-gradient(90deg,#097dc0 0,#ffba00 100%);
    border-image-slice: 1;
    position: absolute;
    top: -1px;
    left: -1px;
    background-size: 100%;
    z-index: -1;
    width: 120px;
    height: 22px;
    animation: glowing 20s linear infinite;
    opacity: 1;
    transition: opacity .3s ease-in-out;
}

.about_button .glow-on-hover a {
    text-decoration: none;
    font-family: 'Raleway';
    font-style: normal;
    font-weight: 400;
    font-size: 13px;
    color: #000000;
}

.about_button .glow-on-hover:after {
    z-index: -1;
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background: transparent;
}

#rutube, #youtube, #in_struct, #vkontakte {
    width: 50vw;
    height: 70vh;
}

@media screen and (max-width: 575px) {
	.play-block {
		width: 96%;
	}
	#video_full h3 {
		width: 89%;
	}
}

@media (min-width: 576px) and (max-width: 991px) {
	.play-block {
		width: 45%;
	}
	#video_full h3 {
		width: 39%;
	}
}

@media (min-width: 992px) and (max-width: 1599px) {
	.play-block {
		width: 30%;
	}
	#video_full h3 {
		width: 26%;
	}
}


@media screen and (max-width: 374px) {
  #video_full .about-video .col-12 {
    display: flex;
    flex-direction: column;
    padding-left: 20px;
    align-items: flex-start;
  }
  #video_full .about-video .col-12 h2.hr {
    margin-bottom: 20px;
  }
  #video_full a.show-all {
    margin-left: 0px;
  }
  #rutube, #youtube, #in_struct, #vkontakte {
    width: 80vw;
    height: 50vh;
  }
}

@media (min-width: 375px) and (max-width: 424px) {
  #video_full .about-video .col-12 {
    display: flex;
    flex-direction: column;
    padding-left: 20px;
    align-items: flex-start;
  }
  #video_full .about-video .col-12 h2.hr {
    margin-bottom: 20px;
  }
  #video_full a.show-all {
    margin-left: 0px;
  }
}

@media (min-width: 425px) and (max-width: 1439px) {
  #video_full .about-video .col-12 {
    margin-left: 4%;
    width: 96%;
  }
}


@media (min-width: 375px) and (max-width: 1023px) {
  #rutube, #youtube, #in_struct, #vkontakte {
    width: 80vw;
    height: 50vh;
  }
}

@media (min-width: 1024px) and (max-width: 1199px) {
  #rutube, #youtube, #in_struct, #vkontakte {
    width: 60vw;
    height: 70vh;
  }
}