/* stylelint-disable max-line-length */
:root {
  --breakpoint-xxl: 1920px;
  --breakpoint-sxl: 1600px;
  --breakpoint-xl: 1440px;
  --breakpoint-lg: 1280px;
  --breakpoint-md: 1024px;
  --breakpoint-md-s: 992px;
  --breakpoint-sm: 768px;
  --breakpoint-xs: 512px;
  --breakpoint-xxs: 390px;
  --breakpoint-xxxs: 375px;
}

/* stylelint-disable */
.custom-video {
  overflow: hidden;
  position: relative;
}
.custom-video__block {
  max-width: 620px;
  margin: 0 auto;
  padding: 25px 15px;
  background: var(--sk-color-white);
}
@media (min-width: 1024px) {
  .custom-video__block {
    max-width: 790px;
    padding: 50px 100px;
  }
}
.custom-video__video {
  position: relative;
  height: auto;
  overflow: hidden;
  margin: 0 auto;
}
@media (min-width: 1024px) {
  .custom-video__video {
    width: 100%;
  }
}
.custom-video__video:focus {
  outline: 2px solid var(--sk-color-brown);
}
.custom-video__video video {
  display: block;
  width: 100%;
  height: auto;
  -o-object-fit: contain;
     object-fit: contain;
}
.custom-video__preview {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  z-index: 2;
  cursor: pointer;
}
.custom-video__preview::before {
  content: "";
  position: absolute;
  width: 75px;
  height: 75px;
  border-radius: 50%;
  background-color: var(--sk-color-salmon);
  top: 50%;
  left: 50%;
  transform: translate3d(-50%, -50%, 0);
  transition: 0.4s;
  transition-timing-function: ease-in-out;
}
.custom-video__preview::after {
  content: "";
  position: absolute;
  width: 50px;
  height: 50px;
  background-image: url("../../../resources/img/play.svg");
  top: 50%;
  left: 50%;
  transform: translate3d(-50%, -50%, 0);
  transition: 0.4s;
  transition-timing-function: ease-in-out;
}
.custom-video__preview:hover::before {
  background-color: var(--sk-color-turquoise);
}
.custom-video__caption {
  color: var(--sk-color-brown);
  font-size: 12px;
  font-weight: 600;
  padding: 7px 0 0;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  text-transform: uppercase;
  margin-bottom: 0;
  line-height: 1.3;
}
.custom-video__caption::before, .custom-video__caption::after {
  content: "";
  display: block;
  height: 0;
  width: 0;
}
.custom-video__caption::before {
  margin-bottom: calc(-0.1666666667em + 0px);
}
.custom-video__caption::after {
  margin-top: calc(-0.1666666667em + 0px);
}
