/*addition.css*/
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  z-index: 9999;
  transition: opacity 0.5s, visibility 0.5s;
}
.modal.active {
  opacity: 1;
  visibility: visible;
}
.modal__body {
  background-color: #fff;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 900px;
  max-width: calc(100vw - 30px);
  max-height: 100vh;
  overflow: auto;
}
.modal__closer {
  position: fixed;
  top: 0;
  right: 0;
  background: rgba(70, 74, 83, 0.2);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  cursor: pointer;
  font-size: 1.3333333333rem;
}

.telegram-modal .modal__body {
  display: flex;
  flex-direction: column;
}
.telegram-modal__header {
  padding-top: 20px;
  padding-bottom: 20px;
  background: rgba(70, 74, 83, 0.05);
  text-align: center;
}
.telegram-modal__header img {
  height: 100px;
  max-width: 100%;
}
.telegram-modal__body {
  display: flex;
  flex-direction: column;
  padding: 110px 50px 50px;
  align-items: center;
  text-align: center;
}
@media (max-width: 767px) {
  .telegram-modal__body {
    padding: 30px 10px;
  }
}
.telegram-modal__body h2 {
  font-weight: 700;
  font-size: 2.2222222222rem;
  line-height: 1.2;
}
@media (max-width: 767px) {
  .telegram-modal__body h2 {
    font-size: 24px;
    line-height: 36px;
  }
}
.telegram-modal__body h3 {
  font-weight: 500;
  font-size: 1.3333333333rem;
  line-height: 2;
}
@media (max-width: 767px) {
  .telegram-modal__body h3 {
    font-size: 18px;
    line-height: 36px;
  }
}
.telegram-modal__body .button {
  width: 315px;
  max-width: 100%;
  margin-top: 65px;
  cursor: pointer;
}
@media (max-width: 767px) {
  .telegram-modal__body .button {
    margin-top: 30px;
  }
}

.cookie-modal {
  background: #fff;
  border: 1px solid #464a53;
  position: fixed;
  top: unset;
  left: unset;
  width: 380px;
  max-width: 100%;
  height: auto;
  bottom: 0;
  right: 0;
  display: flex;
  flex-direction: column;
}
.cookie-modal a {
  color: #0053af;
}
.cookie-modal__header {
  background: rgba(70, 74, 83, 0.05);
  display: flex;
  justify-content: flex-end;
  padding: 10px 12px;
}
.cookie-modal__closer {
  font-size: 10px;
  border: 1px solid rgba(33, 39, 50, 0.2);
  border-radius: 50%;
  padding: 7px;
  display: flex;
  cursor: pointer;
}
.cookie-modal__body {
  display: flex;
  flex-direction: column;
  font-size: 0.8888888889rem;
  line-height: 1.3125;
  padding: 8px 12px 23px;
}
.cookie-modal h2 {
  font-weight: 700;
  font-size: 1.3333333333rem;
  line-height: 1.2916666667;
  margin-bottom: 16px;
}
@media (max-width: 767px) {
  .cookie-modal h2 {
    font-size: 20px;
    line-height: 130%;
  }
}
.cookie-modal .button {
  margin-top: 16px;
  padding-left: 15px;
  padding-right: 15px;
  align-self: flex-start;
  cursor: pointer;
}
@media (max-width: 767px) {
  .cookie-modal .button {
    width: 100%;
  }
}
