@charset "UTF-8";

.overlay {
  opacity: 0;
  visibility: hidden;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(2.5px);
  z-index: 900;
  transition: 0.5s all;
}

.modal {
  opacity: 0;
  visibility: hidden;
  width: 100%;
  max-width: 600px;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 930;
  /* Должен быть выше чем у подложки*/
  padding: 20px;
  transition: 0.6s all;
  box-sizing: border-box;
  border-radius: 15px;
  border: 1px solid #f0ebf6;
  background: #f8f6fb;
  box-shadow: 0px 4px 30px 0px rgba(0, 0, 0, 0.15);
}

.modal .title__modal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.modal .title__modal h3 {
  color: #111;
}

.modal .title__modal .js-modal-close {
  width: 21px;
  height: 20px;
  cursor: pointer;
}

.modal .modal__content {
  display: flex;
}

.modal .modal__btn {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.modal .modal__btn .btn {
  flex: 1;
}

.modal .modal__btn .btn.green {
  border-radius: 10px;
}

.modal.specializations {
  max-width: 500px;
  margin: 0 10px;
  background-color: #fff;
  padding: 20px;
  border-radius: 20px;
}

.modal.specializations .title__modal {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal.specializations .title__modal h2 {
  font-size: 18px;
}

.modal.specializations .title__modal img {
  width: 24px;
  height: 24px;
}

.modal.specializations .content__modal {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  gap: 20px;
}

.modal.specializations .content__modal p {
  color: #000;
  line-height: 150%;
}

.modal.specializations .content__modal form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.modal.specializations .content__modal form input {
  border: 1px solid #0c1c67;
  border-radius: 40px;
  padding: 15px 20px;
  font-size: 16px;
  color: #0c1c67;
}

.modal.specializations .content__modal form input[type=submit] {
  background-color: #0c1c67;
  color: #fff;
  cursor: pointer;
}

.modal.specializations .content__modal form input::placeholder {
  color: #0c1c67;
}

.modal.profile__modal {
  max-width: 380px;
  width: 100vw;
  background-color: #fff;
  height: 100%;
  padding: 10px;
}

.modal.profile__modal .title__modal {
  padding: 10px;
  display: flex;
  gap: 10px;
  border-radius: 10px;
  background-color: #e7e9f0;
  justify-content: flex-start;
  margin-bottom: 10px;
  justify-content: space-between;
}

.modal.profile__modal .title__modal h2 {
  font-size: 30px;
}

.modal.profile__modal .title__modal img {
  height: 40px;
  width: 40px;
}

.modal.profile__modal a {
  background: none;
  height: auto;
  padding: 0;
  width: 100%;
  justify-content: normal;
}

.modal.profile__modal .content__modal {
  margin-bottom: 10px;
}

.modal.profile__modal .content__modal .btn {
  margin-bottom: 30px;
}

.modal.profile__modal .content__modal .links {
  display: flex;
  flex-direction: column;
  gap: 20px 0;
  margin-bottom: 70px;
}

.modal.profile__modal .content__modal .links .link {
  font-size: 18px;
  font-weight: 600;
  color: #111;
  text-decoration: none;
}

.modal.profile__modal .footer__modal {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.modal.profile__modal .footer__modal .tel {
  font-size: 18px;
  text-decoration: none;
  display: flex;
  align-items: flex-end;
  gap: 5px;
}

.modal.profile__modal .footer__modal .tel img {
  width: 16px;
  height: 16px;
}

.modal.profile__modal .footer__modal .btn {
  background-color: #fff;
  border: 1px solid #0c1c67;
  color: #0c1c67;
  border-radius: 40px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal.profile__modal .footer__modal .wrap-soc {
  display: flex;
  gap: 15px;
}

.modal.profile__modal .footer__modal .wrap-soc .btn {
  background-color: #0c1c67;
  color: #fff;
  gap: 10px;
}

.modal.profile__modal .footer__modal .wrap-soc .soc {
  display: flex;
  gap: 10px;
}

.modal.profile__modal .footer__modal .wrap-soc .soc .btn {
  height: 50px;
  width: 50px;
}

.modal.specializations.video__modal {
  max-width: 1160px;
  max-height: 674px;
  height: 100svh;
  padding: 0;
}
.modal.specializations.video__modal .content__modal,
.modal.specializations.video__modal .content__modal .video-block,
.modal.specializations.video__modal .content__modal .video-block iframe {
  height: 100%;
  width: 100%;
  border-radius: 10px;
}

.modal.all {
  width: fit-content;
  min-width: 350px;
  display: flex;
  flex-direction: column;
}

.modal.all .footer__modal {
  display: flex;
  gap: 15px;
}

.modal.all .footer__modal .btn {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  box-shadow: 0px 0px 0px var(--btn-shadow-1), 0px 2px 10px var(--btn-shadow-2);
}

.modal.active,
.overlay.active {
  opacity: 1;
  visibility: visible;
}

/*# sourceMappingURL=modal.css.map */