@font-face {
  font-family: "Segoe UI";
  src: url("../fonts/SegoeUI.ttf");
}
@font-face {
  font-family: "SegoeUI";
  src: url("../fonts/segoeuib.ttf");
  font-weight: bold;
}
@media (max-width: 980px) {
  .clients__slider {
    max-width: 580px;
    margin: 0 auto 40px;
  }
}

#ModalCalc {
  padding-right: 0;
}
@media screen and (max-width: 1023px) {
  #ModalCalc .modal-content .form__title {
    font-size: 20px;
  }
}
@media (max-width: 767px) {
  #ModalCalc .modal-content .btn_arrow-25 {
    padding-left: 12px;
    padding-right: 36px;
  }
}
@media (max-width: 767px) {
  #ModalCalc .modal-content .btn_arrow-25::after {
    right: 5px;
  }
}

.message {
  position: fixed;
  background-color: #fff;
  padding: 5px 0;
  top: 0;
  left: 0;
  display: none;
  width: 100%;
  z-index: 999;
  text-align: center;
}
@media (max-width: 767px) {
  .message .container {
    padding: 0px;
  }
}
.message span {
  display: block;
  text-align: center;
}
.message span:first-of-type {
  font-weight: bold;
  font-size: 17px;
}
@media (max-width: 767px) {
  .message span:first-of-type {
    font-size: 13px;
  }
}
.message span:last-of-type {
  font-family: "Segoe UI";
  font-size: 14px;
  font-weight: 900;
}
@media (max-width: 767px) {
  .message span:last-of-type {
    font-size: 12px;
    line-height: 14px;
  }
}

#myModal .modal-dialog, #ModalMessage .modal-dialog {
  max-width: 400px;
  margin: 60px auto;
}
@media (max-width: 767px) {
  #myModal .modal-dialog, #ModalMessage .modal-dialog {
    margin: 100px auto;
  }
}
#myModal .modal-dialog .modal-content, #ModalMessage .modal-dialog .modal-content {
  background-color: #fff;
  padding: 20px 10px 24px;
  max-width: 400px;
  border-radius: 16px;
}

#myModal .btn-wrap {
  margin-top: 16px;
  display: flex;
  align-items: center;
}
#myModal .btn-wrap button {
  width: 124px;
  height: 36px;
  outline: none;
  margin: 0 8px;
  transition: 0.3s;
  font-weight: bold;
  -webkit-appearance: none;
  box-sizing: border-box;
  border: none;
  border-radius: 8px;
  font-size: 17px;
  border-radius: 40px;
  box-shadow: 0 5px 10px -8px #2B2A29;
  border-right: 2px;
  border-left: 2px;
}
#myModal .btn-wrap .no {
  background: linear-gradient(0deg, #FF6B01 0%, #FF8801 25%, #f18306 75%, #EC694B 100%);
  color: #fff;
}
#myModal .btn-wrap .no:hover {
  box-shadow: 0 7px 10px -8px #2B2A29;
}
#myModal .btn-wrap .no:focus {
  outline: none;
  box-shadow: 0 0 0 0 rgba(0, 123, 255, 0.25);
}
#myModal .btn-wrap .yes {
  background: linear-gradient(0deg, #0186FF 0%, #138bfc 25%, #1f8aee 75%, #389dfc 100%);
  color: #fff;
}
#myModal .btn-wrap .yes:hover {
  box-shadow: 0 7px 10px -8px #2B2A29;
}
#myModal .btn-wrap .yes:focus {
  outline: none;
  box-shadow: 0 0 0 0 rgba(0, 123, 255, 0.25);
}
#myModal span {
  display: block;
  text-align: center;
  font-weight: bold;
  font-size: 21px;
}

#ModalMessage .modal-content {
  border: 2px solid #e26a55;
}
#ModalMessage .modal-content .btn-close {
  position: absolute;
  top: -45px;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background-color: #fff;
}
#ModalMessage span {
  display: block;
  text-align: center;
}
#ModalMessage span:first-of-type {
  max-width: 360px;
  font-weight: bold;
  font-size: 18px;
}
#ModalMessage span:last-of-type {
  font-family: "Segoe UI";
  font-size: 14px;
  font-weight: 900;
  margin-top: 8px;
}

header.active, nav.active {
  margin-top: 46px;
}