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

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

#video_full {
    padding-left: 0;
    padding-right: 0;
    background: #F5F5F5;
    padding-top: 30px;
    margin-bottom: 40px;
}

#video_full .swiper {
    width: 100%;
    height: 100%;
    margin-bottom: -144px;
    padding-bottom: 90px;
}

#video_full .swiper-slide {
    text-align: center;
    font-size: 18px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
}

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

#video_full .swiper-pagination {
    bottom: 80px;
}

#video_full .swiper-pagination-bullet {
    background: #ffba00;
    opacity: 1;
}

#video_full .swiper-pagination-bullet-active {
  background: #097dc0;
}

#video_full a.show-all {
    background: linear-gradient(#f5f5f5 0 0) padding-box, linear-gradient(49deg, #097DC0 1.03%, #FFBA00 100%) border-box;
}

#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;
}

#video_full .swiper-content {
  padding-bottom: 30px;
}

.section-video #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;
    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: 340px;
    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;
}

.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: 374px) {
  #video_full .col-12 {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  #video_full .col-12 h2.hr {
    margin-bottom: 20px;
    margin-left: 20px;
  }
  .section-video #video_full a.show-all {
    margin-left: 20px;
  }
  .section-video h3 {
    width: 270px;
  }
  .play-block {
    width: 310px;
  }
  #rutube, #youtube, #in_struct, #vkontakte {
    width: 80vw;
    height: 50vh;
  }
}

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

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

@media (min-width: 425px) and (max-width: 1439px) {
  #video_full {
    margin-bottom: 10px
  }
}

@media (min-width: 425px) and (max-width: 767px) {
  #video_full .swiper {
    margin-bottom: 0;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  #video_full .swiper {
    margin-bottom: -122px;
  }
}

@media (min-width: 1024px) and (max-width: 1439px) {
  #video_full .swiper {
    margin-bottom: -114px;
  }
}


@media (min-width: 375px) and (max-width: 1023px) {
  .section-video h3 {
    width: 300px;
  }
  .play-block {
    width: 340px;
  }
  #rutube, #youtube, #in_struct, #vkontakte {
    width: 80vw;
    height: 50vh;
  }
}

@media (min-width: 1024px) and (max-width: 1199px) {
  .section-video h3 {
    width: 260px;
  }
  .play-block {
    width: 300px;
  }
  #rutube, #youtube, #in_struct, #vkontakte {
    width: 60vw;
    height: 70vh;
  }
}

@media (min-width: 1200px) {
  .section-video h3 {
    width: 300px;
  }
  .play-block {
    width: 340px;
  }
}