.vmodal.open .modal-overlay,
.vmodal.open .modal-window {
  opacity: 1;
  z-index: 998;
}

.vmodal.hide .modal-overlay,
.vmodal.hide .modal-window {
  opacity: 1;
  z-index: 998;
}

.vmodal.open .modal-window {
  transform: translateY(15vh);
}

.vmodal.open .modal-overlay {
  background-color: rgba(0, 0, 0, 0.5);
}

.vmodal.hide .modal-window {
  transform: translateY(-200px);
}

.vmodal.hide .modal-overlay {
  background-color: rgba(0, 0, 0, 0);
}

.modal-overlay,
.modal-window {
  opacity: 0;
  z-index: -1;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0);
  transition: backgroundColor 0.2s ease-in;
}

.modal-window {
  width: 400px;
  border-radius: 5px;
  background-color: #fff;
  margin: 0 auto;
  transform: translateY(-200px);
  transition: transform 0.2s ease-in;
}

.modal-header {
  padding: 20px 15px;
  display: flex;
  justify-content: space-between;
  color: #343434;
}

.modal-title {
  font-size: 1.5rem;
  font-family: Roboto;
  font-style: normal;
  font-weight: 400;
}

.modal-close {
  cursor: pointer;
  font-size: 2.3rem;
  fill: rgba(0, 0, 0, 0.26);
}

.modal-close:hover {
  fill: rgba(0, 0, 0, 0.69);
}

.path-close {
  pointer-events: none;
}

.modal-body {
  padding: 0px;
}

.modal-footer {
  padding: 5px 10px;
}

@media screen and (max-width: 567px) {
  .modal-window {
    width: 100vw;
    border-radius: 0;
  }

  .vmodal.open .modal-window.new-positions-modiles {
    transform: translateY(10vh);
  }

  .modal-images {
    max-height: 512px;
    min-height: 483px;
    /* overflow: hidden; */
    border-radius: 0;
  }

  .article__sign-in,
  .article__social-networks {
    width: 93.75vw !important;
  }
}
