.feedback_btn {
  max-width: 285px;
  width: 100%;
  height: 55px;
  margin: auto;
}
.feedback_btn a,
.feedback_btn input {
  background: #58cf74;
  border: 1px solid #58cf74;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-style: normal;
  font-weight: 700;
  font-size: 16px;
  line-height: 22px;
  color: #ffffff;
  text-decoration: none;
  outline: none;
  cursor: pointer;
  transition: background 0.4s ease, border 0.4s ease, color 0.4s ease;
}
.feedback_btn a:hover,
.feedback_btn input:hover {
  background: #009122;
  border: 1px solid #009122;
}
.feedback_btn a:active,
.feedback_btn input:active {
  background: transparent;
  border: 1px solid #009122;
  color: #009122;
}

.overlayR {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.76);
  display: -ms-flexbox;
  display: -webkit-box;
  display: flex;
  -ms-flex-direction: row;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  flex-direction: row;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -ms-flex-line-pack: stretch;
  align-content: stretch;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  z-index: 99999;
  opacity: 1;
  visibility: visible;
  -webkit-transition: opacity 1s 0s, visibility 0s 0s;
  transition: opacity 1s 0s, visibility 0s 0s;
}

.overlayR.hide {
  opacity: 0;
  visibility: hidden;
  -webkit-transition: opacity 1s 0s, visibility 0s 0.5s;
  transition: opacity 1s 0s, visibility 0s 0.5s;
}

.modal-w {
  width: 100%;
  max-width: 650px;
  position: fixed;
  z-index: 100;
}

.animate {
  left: 50%;
  top: 50%;
  z-index: 999999;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  opacity: 1;
  visibility: visible;
  -webkit-transition: opacity 01s 0s, visibility 0.5s 0s, -webkit-transform 1s;
  transition: opacity 01s 0s, visibility 0.5s 0s, -webkit-transform 1s;
  transition: opacity 01s 0s, visibility 0.5s 0s, transform 1s;
  transition: opacity 01s 0s, visibility 0.5s 0s, transform 1s,
    -webkit-transform 1s;
}

.animate.hiden {
  opacity: 0;
  visibility: hidden;
  -webkit-box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
  -webkit-transform: translate(-50%, -70%);
  transform: translate(-50%, -70%);
  -webkit-backface-visibility: hidden;
  -webkit-transition-property: -webkit-transform;
  transition-property: -webkit-transform;
  transition-property: transform;
  transition-property: transform, -webkit-transform;
  -webkit-transition-duration: 1s;
  transition-duration: 1s;
}

.modal-close {
  color: #000;
  font-size: 50px;
  position: absolute;
  top: -20px;
  right: -45px;
  cursor: pointer;
  width: 30px;
  height: 30px;
  padding: 5px;
}

.modal-close span {
  width: 2px;
  height: 25px;
  background: #fff;
  display: block;
  position: absolute;
}

.modal-close span:nth-child(1) {
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  top: 4px;
  left: 14px;
}

.modal-close span:nth-child(2) {
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
  top: 4px;
  left: 14px;
}

.ex_modal {
  max-width: 957px;
  width: 100%;
  padding: 65px 20px;
  border-radius: 4px;
  background-color: #ffffff;
  position: fixed;
  /*top: 0; left: 0; right: 0; bottom: 0;*/
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  text-align: center;
  background-image: url('../img/feedback_popup_back.webp');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  overflow: auto;
}
.ex_modal#ex4 {
  height: 820px;
}
.ex_modal#ex3 {
  height: 675px;
}
.ex_modal#ex6 {
  height: 675px;
}
.ex_modal strong {
  font-weight: 800;
  font-size: 30px;
  line-height: 37px;
  color: #181c25;
  text-align: center;
  margin-bottom: 20px;
  display: inline-block;
}
.ex_modal form {
  max-width: 615px;
  width: 100%;
  margin: auto;
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
}
.ex_modal form .form-block {
  position: relative;
  display: block;
  margin-bottom: 60px;
}
.ex_modal form .form-block input {
  height: 35px;
  display: block;
  line-height: 51px;
  border: 0;
  border-bottom: 2px solid #e4cd6e;
  font-size: 16px;
  font-weight: 400;
  color: #181c25;
  width: 100%;
  background-color: transparent;
  outline: none;
}
.ex_modal form .form-block .label {
  position: absolute;
  top: 8px;
  left: 0;
  font-weight: 600;
  font-size: 18px;
  line-height: 22px;
  color: #181c25;
  cursor: text;
  transition: 0.2s ease;
}
.ex_modal form .form-block input:focus + .label,
.ex_modal form .form-block input:not(:placeholder-shown) + .label {
  top: -22px;
}
.ex_modal form .textarea_label {
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-start;
  margin-bottom: 60px;
}
.ex_modal form .textarea_label textarea {
  width: 100%;
  border: 2px solid #e4cd6e;
  outline: none;
  resize: none;
  font-size: 1rem;
}
.ex_modal form .textarea_label span {
  font-weight: 600;
  font-size: 18px;
  line-height: 28px;
  color: #181c25;
  margin-bottom: 10px;
}
.ex_modal form .feedback_btn {
  margin: 20px auto 0;
}
@media screen and (max-width: 992px) {
  .ex_modal {
    max-width: 768px;
  }
}

.ex_modal .modal-close {
  background: transparent;
  display: block;
}
.ex_modal .modal-close span {
  background: #000000;
}

.modal-close {
  color: #000;
  font-size: 50px;
  position: absolute;
  top: 13px;
  right: 21px;
}
.modalMy .modal-close {
  top: -20px;
  right: -45px;
}
@media screen and (max-width: 568px) {
  .ex_modal#ex4,
  .ex_modal#ex6,
  .ex_modal#ex2,
  .ex_modal#ex3,
  .ex_modal#ex22 {
    height: max-content;
  }
  .ex_modal {
    padding: 60px 30px;
  }
  .ex_modal strong {
    font-size: 26px;
    line-height: 28px;
  }
}
@media screen and (max-height: 840px) {
  .ex_modal {
    height: 100%;
    box-sizing: border-box;
    padding: 40px 20px;
  }
  .ex_modal form {
    margin: auto;
  }
  .ex_modal form .textarea_label textarea {
    max-height: 150px;
  }
  .ex_modal form .form-block {
    margin-bottom: 40px;
  }
  .ex_modal form .feedback_btn {
    margin: 40px auto 0;
  }
}

@media screen and (max-height: 580px) {
  .ex_modal form .form-block {
    margin-bottom: 30px;
  }
  .ex_modal form .feedback_btn {
    margin: 30px auto 0;
  }
  .ex_modal form .textarea_label textarea {
    max-height: 90px;
  }
}
