.images-slider {
  cursor: pointer;
}
.images-slider__cross {
  width: 15px;
  opacity: 0.3;
  transition: 0.2s;
  cursor: pointer;
  position: absolute;
  top: 20px;
  right: 20px;
}
.images-slider__cross:hover {
  opacity: 1;
}
.images-slider__modal {
  position: fixed;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.75);
  top: 0;
  left: 0;
  padding: 60px;
  box-sizing: border-box;
}
.images-slider__modal_content {
  position: relative;
  width: 100%;
  height: 100%;
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  display: flex;
  box-sizing: border-box;
}
.images-slider__main {
  width: 60%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  padding: 0 20px;
}
.images-slider__main > img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 15px;
  display: none;
}
.images-slider__main > img.active {
  display: block;
  position: relative;
}
.images-slider__arrow {
  transition: 0.2s;
  width: 25px;
  height: 25px;
  position: absolute;
  cursor: pointer;
  top: 50%;
  margin-top: -10px;

  opacity: 0.3;
}
.images-slider__arrow > img {
  width: 100%;
}
.images-slider__arrow:hover {
  opacity: 1;
}
.images-slider__arrow_left {
  left: -10px;
}
.images-slider__arrow_right {
  right: -10px;
}
.images-slider__list {
  width: 24%;
  margin-left: 8%;
  padding: 5px;
  overflow-y: auto;
}
.images-slider__list img {
  max-width: 100%;
  max-height: 240px;
  border-radius: 15px;
  cursor: pointer;
  transition: 0.2s;
}
.images-slider__list img:not(.active):hover {
  box-shadow: 0 0 0 1px #666;
}
.images-slider__list img:not(:first-child) {
  margin-top: 15px;
}
.images-slider__list img.active {
  box-shadow: 0 0 0 3px #666;
}
