@charset "UTF-8";
.modal * {
  box-sizing: border-box;
}
.modal {
  position: fixed;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: auto;
}
@media (max-width: 640px) {
  .modal {
    padding: 15px 0;
  }
}
.modal .shirma {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: #101010;
  opacity: 0.3;
  z-index: 8;
}
.modal .container {
  position: relative;
  z-index: 9;
  margin: auto;
  padding: 60px 40px 60px 40px;
  width: auto;
  max-width: 100%;
  border-radius: 8px;
  background: #fff;
  max-width: 600px;
  min-width: 500px;
}
@media (max-width: 640px) {
  .modal .container {
    min-width: calc(100% - 30px);
  }
}
@media (max-width: 639px) {
  .modal .container {
    padding: 24px;
    margin: auto 15px;
  }
}
.modal .container.imgContainer_parent {
  height: 100%;
}
.modal .close_button {
  position: absolute;
  width: 24px;
  height: 24px;
  top: 16px;
  right: 16px;
  color: #5a5656ad;
  text-align: center;
  font-size: 16px;
  cursor: pointer;
  z-index: 99;
}
.modal .content.imgContainer {
  position: relative;
  padding: 0;
  width: max-content;
  height: max-content;
  max-width: 100%;
  max-height: 100%;
  overflow: auto;
  overflow: hidden;
  margin: auto;
}
.modal .content.imgContainer img {
  user-select: none;
  max-width: 100%;
  max-height: 100%;
  min-width: 200px;
  min-height: 200px;
  margin: auto;
  background: #13303c0f;
}
.modal .content.imgContainer .prev {
  position: absolute;
  width: 50%;
  height: 100%;
  left: 0;
  top: 0;
  z-index: 9;
  cursor: pointer;
}
.modal .content.imgContainer .prev:before {
  content: '';
  position: absolute;
  top: calc(50% - 23px);
  width: 46px;
  height: 46px;
  left: 10px;
  display: block;
  border: 1px solid #dcdee0;
  box-sizing: border-box;
  border-radius: 50%;
  background: url(/images/icons/slide_array_left.svg) no-repeat center center;
  background-color: #fff;
  cursor: pointer;
}
.modal .content.imgContainer .next {
  left: 50%;
  top: 0;
  position: absolute;
  width: 50%;
  height: 100%;
  z-index: 9;
  cursor: pointer;
}
.modal .content.imgContainer .next:before {
  content: '';
  position: absolute;
  top: calc(50% - 20px);
  right: 10px;
  width: 46px;
  height: 46px;
  display: block;
  border: 1px solid #dcdee0;
  box-sizing: border-box;
  border-radius: 50%;
  background: url(/images/icons/slide_array_right.svg) no-repeat center center;
  background-color: #fff;
  cursor: pointer;
}
.modal .content.imgContainer:hover .prev {
  opacity: 1;
}
.modal .content.imgContainer:hover .next {
  opacity: 1;
}
.modal .content {
  max-height: calc(100% - 0px);
  overflow: hidden;
}
.modal .youtubeContainer {
  width: 800px;
}
@media (max-width: 1024px) {
  .modal .youtubeContainer {
    width: 700px;
  }
}
@media (max-width: 768px) {
  .modal .youtubeContainer {
    width: 500px;
  }
}
.modal .youtubeContainer iframe {
  width: 100%;
  height: auto;
  min-height: 500px;
}
@media (max-width: 1024px) {
  .modal .youtubeContainer iframe {
    min-height: 450px;
  }
}
@media (max-width: 768px) {
  .modal .youtubeContainer iframe {
    min-height: 300px;
  }
}
.modal .mejs__container {
  max-width: 100%;
}
.modal .mejs__overlay-play {
  max-width: 100%;
}
