.ed_videoBlock {
  position: relative;
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-bottom: 4rem;
}

@media (max-width: 992px) {
  .ed_videoBlock {
    margin-bottom: 4rem;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
}

.ed_videoBlock video {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  max-height: 600px;
  border-radius: 0.5rem;
  border: 10px solid var(--bs-secondary);
  border-width: clamp(5px, calc(3.239px + 0.469vw), 10px);
  object-fit: cover;
  object-position: center;
  box-shadow: 2px 2px 6px rgba(51,51,51,0.8);
}

.ed_videoBlock .ed_videoPlay {
  cursor: pointer;
  display: flex;
  z-index: 9;
  position: absolute;
  background: rgba(51,51,51,0.48);
  width: 100px;
  height: 80px;
  border-radius: 5px;
  align-items: center;
  justify-content: center;
  transition: all 0.5s linear;
}

.ed_videoBlock .ed_videoPlay img {
  transform: rotate(270deg);
  background: white;
  border-radius: 100%;
  width: 50px;
  padding: 12px;
}

section.extraBP {
  padding-bottom: 22vw;
}

.ed_videoBlock:hover .ed_videoPlay img {
  background: rgba(255,255,255,0.83);
  transform: rotate(262deg);
  transition: all 0.2s linear;
}

.ed_videoBlock:hover .ed_videoPlay {
  background: rgba(255,188,2,0.71);
}

.ed_videoBlock .ed_videoControls {
  opacity: 0;
  transition: all 0.3s linear;
  position: absolute;
  height: 100%;
  z-index: 2;
  max-height: 600px;
  width: 100%;
}

.ed_videoBlock .ed_videoControls .ed_videoFS {
  position: absolute;
  bottom: 25px;
  right: 45px;
  background: url("../../assets/img/TablerArrowsMaximize.svg") center / contain no-repeat;
  filter: invert(100%);
  height: 25px;
  width: 25px;
  z-index: 3;
}

.ed_videoBlock.playing:hover .ed_videoControls {
  opacity: 1;
}

.ed_videoBlock .ed_videoControls .ed_videoTimeScale {
  -webkit-appearance: none;
  position: absolute;
  bottom: 33px;
  left: 40px;
  width: calc(90% - 100px);
  height: 2px;
  color: white;
  --ed-track-height: 3px;
  --ed-thumb-size: 16px;
}

/* Track (Chrome, Safari, Opera) */

.ed_videoBlock .ed_videoControls .ed_videoTimeScale::-webkit-slider-runnable-track {
  width: 100%;
  height: var(--ed-track-height);
  background: #ddd;
  border-radius: 5px;
  cursor: pointer;
}

.ed_videoBlock .ed_videoControls .ed_videoTimeScale:hover::-webkit-slider-runnable-track {
  background: rgba(242,174,40,0.83);
  transition: background 0.5s linear;
}

/* Track (Firefox) */

.ed_videoBlock .ed_videoControls .ed_videoTimeScale::-moz-range-track {
  width: 100%;
  height: var(--ed-track-height);
  background: #ddd;
  border-radius: 5px;
  cursor: pointer;
}

.ed_videoBlock .ed_videoControls .ed_videoTimeScale:hover::-moz-range-track {
  background: rgba(242,174,40,0.83);
  transition: background 0.5s linear;
}

/* Track (IE) */

.ed_videoBlock .ed_videoControls .ed_videoTimeScale::-ms-track {
  width: 100%;
  height: var(--ed-track-height);
  background: transparent;
  border-color: transparent;
  color: transparent;
}

.ed_videoBlock .ed_videoControls .ed_videoTimeScale:hover::-ms-track {
  background: rgba(242,174,40,0.83);
  transition: background 0.5s linear;
}

/* Thumb (Chrome, Safari, Opera) */

.ed_videoBlock .ed_videoControls .ed_videoTimeScale::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: var(--ed-thumb-size);
  height: var(--ed-thumb-size);
  background: white;
  border-radius: 50%;
  cursor: pointer;
  margin-top: -6px;
}

.ed_videoBlock .ed_videoControls .ed_videoTimeScale:hover::-webkit-slider-thumb {
  background: var(--bs-primary);
  transition: background 0.5s linear;
}

/* Thumb (Firefox) */

.ed_videoBlock .ed_videoControls .ed_videoTimeScale::-moz-range-thumb {
  width: var(--ed-thumb-size);
  height: var(--ed-thumb-size);
  background: white;
  border-radius: 50%;
  cursor: pointer;
}

.ed_videoBlock .ed_videoControls .ed_videoTimeScale:hover::-moz-range-thumb {
  background: rgba(242,174,40,0.83);
  transition: background 0.5s linear;
}

/* Thumb (IE) */

.ed_videoBlock .ed_videoControls .ed_videoTimeScale::-ms-thumb {
  width: var(--ed-thumb-size);
  height: var(--ed-thumb-size);
  background: white;
  border-radius: 50%;
  cursor: pointer;
}

.ed_videoBlock .ed_videoControls .ed_videoTimeScale:hover::-ms-thumb {
  background: rgba(242,174,40,0.83);
  transition: background 0.5s linear;
}

/* Active (when dragging) */

.ed_videoBlock .ed_videoControls .ed_videoTimeScale:active::-webkit-slider-thumb {
  background: #0056b3;
}

.ed_videoBlock .ed_videoControls .ed_videoFS:hover {
  transform: scale(120%);
  transition: transform 0.2s linear;
}

.ed_videoBlock.ed_FS {
  position: fixed;
  left: 0px;
  right: 0px;
  top: 0px;
  bottom: 0px;
  z-index: 9999;
  background: rgba(77,77,77,0.73);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

.ed_videoBlock.ed_FS video {
  width: 90%;
  height: auto;
  object-fit: contain;
  max-height: none;
  border-color: white;
  animation: ed_videoFS 1s cubic-bezier(0.15, 0.89, 0.41, 0.95);
}

.ed_videoBlock.ed_FS .ed_videoControls {
  height: 90%;
  max-height: none;
  width: 90%;
  animation: ed_videoFS 1s cubic-bezier(0.15, 0.89, 0.41, 0.95);
}

.ed_videoBlock.ed_FS.playing:hover .ed_videoControls {
  opacity: 0;
}

.ed_videoBlock.ed_FS.playing .ed_videoControls:hover {
  opacity: 1;
}

@keyframes ed_videoFS {
  0% {
    width: 50%;
  }
  80% {
    width: 95%;
  }
  100% {
    width: 90%;
  }
}

