* {
  scroll-behavior: auto !important;
}
h1 {
  color: #243d3a;
  font-size: 50px;
  font-size: calc(30px + 20 * ((100vw - 370px) / (1920 - 370)));
  font-style: normal;
  font-weight: 700;
  line-height: 120%;
  width: 100%;
  margin-bottom: 25px;
}
.block_faq .container {
  padding-bottom: 120px;
}
h2 {
  font-weight: 600;
  font-size: calc(20px + 16 * ((100vw - 370px) / (1920 - 370)));
  line-height: 140%;
  color: #243d3a;
  text-align: center;
}
/* exit_ban_check */
.exit_ban_check {
  width: 100%;
  padding: 0 15px;
  position: relative;
}
.exit_ban_check .container {
  padding: 60px 0;
  display: flex;
  flex-direction: column;
}
.exit_ban_check_description {
  color: #967340;
  font-size: 24px;
  font-size: calc(16px + 8 * ((100vw - 370px) / (1920 - 370)));
  font-style: normal;
  font-weight: 500;
  line-height: 140%;
  margin-bottom: 40px;
}

.exit_ban_check_wrap {
  display: grid;
  grid-template-columns: repeat(3, auto);
  grid-template-rows: repeat(2, auto);
  grid-column-gap: 40px;
  grid-row-gap: 40px;
}

form {
  grid-area: 1 / 1 / 2 / 3;
}
.ban_info {
  grid-area: 2 / 1 / 3 / 3;
}
.statistic {
  grid-area: 1 / 3 / 3 / 4;
}
form {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 20px 40px;
}
.form_item_wrap {
  width: calc(50% - 20px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
}
.form_item_wrap label {
  margin-bottom: 15px;
  color: #39464a;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 120%;
}
.form_item_wrap input,
.form_item_wrap select {
  background: #fff;
  padding: 15px;
  width: 100%;
  outline: none;
}
.form_item_wrap select option {
  max-width: 100%;
  color: #000;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 120%;
  transition: all linear 0.2s;
}

.form_item_wrap select option:checked {
  background: #967340 linear-gradient(#967340, #967340);
  color: white;
}
.form_item_wrap select option:hover {
  background: #967340 linear-gradient(#967340, #967340);
  color: white;
}
.form_item_wrap input[type="text"],
.form_item_wrap select {
  color: #cec0ab;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 120%;
  border: 1px solid #967340;
}
.form_item_wrap input[type="submit"] {
  background: #967340;
  color: #fff;
  text-align: center;
  font-size: 15px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  border: none;
  cursor: pointer;
  transition: all linear 0.2s;
}
.form_item_wrap input[type="submit"]:hover {
  background-color: #7e6546;
}
.statistic {
  background: #f5f5f5;
}
.statistic_wrap {
  padding: 40px 40px 0 40px;
  display: flex;
  flex-direction: column;
  gap: 30px;
  width: 100%;
  max-width: 340px;
}
.statistic_title {
  color: #243d3a;
  font-size: 24px;
  font-style: normal;
  font-weight: 800;
  line-height: 130%;
}
.statistic_wrap ul {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.statistic_wrap li {
  color: #39464a;
  font-size: 16px;
  font-weight: 600;
  line-height: 140%;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.statistic_wrap li strong {
  font-size: 24px;
  font-weight: 700;
}
.statistic_item_red {
  color: #f05151;
}
.ban_info {
  width: 100%;
  padding: 40px 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  border: 1px solid #e1e1e1;
}
.ban_info_title {
  color: #243d3a;
  text-align: center;
  font-size: 24px;
  font-style: normal;
  font-weight: 800;
  line-height: 130%;
}
.ban_info ol {
  display: flex;
  gap: 40px;
  list-style: none;
}
.ban_info ol li {
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: #39464a;
  text-align: center;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  width: calc(100% / 3 - 80px / 3);
}
.ban_info ol span {
  color: #3e635f;
  text-align: center;
  font-size: 46px;
  font-weight: 700;
  line-height: normal;
}
.ban_info ol strong {
  color: #967340;
  text-align: center;
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}
.block_faq p {
  font-weight: 400;
  font-size: calc(15px + 1 * ((100vw - 370px) / (1920 - 370)));
  line-height: 140%;
  color: #39464a;
  margin-bottom: 20px;
  width: 100%;
  max-width: 780px;
  margin: 10px auto 20px;
}
.block_faq ul,
.block_faq ol {
  width: 100%;
  max-width: 780px;
  margin: 20px auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.block_faq ul li {
  list-style: none;
  font-weight: 500;
  font-size: calc(15px + 1 * ((100vw - 370px) / (1920 - 370)));
  line-height: 140%;
  color: #39464a;
  position: relative;
  margin-left: 20px;
}
.block_faq ul li::before {
  content: "";
  background-image: url(/wp-content/themes/Emigras/images/ul_list.svg);
  display: block;
  width: 10px;
  height: 10px;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  position: absolute;
  left: -15px;
  top: 10px;
  transform: translate(-50%, -50%);
}
.block_faq ol li {
  font-size: calc(15px + 1 * ((100vw - 370px) / (1920 - 370)));
  line-height: 140%;
  color: #39464a;
  position: relative;
  margin-left: 20px;
}
.block_faq ol li::marker {
  color: #967340;
  font-weight: 700;
}
.statistic_img {
  width: 100%;
  aspect-ratio: 1.5/1;
  margin-top: 10px;
  object-position: center;
  object-fit: cover;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}
.error_check {
  font-size: 12px;
  color: red;
  top: 100%;
  position: absolute;
  right: 0;
}
.input_error_check {
  border-color: red;
}
.exit_ban_check.active {
  display: none;
}
.block_faq.active {
  display: none;
}
/* exit_ban_check */
/* result */
.result {
  width: 100%;
  padding: 0 15px;
}

.result .container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 30px;
  padding: 60px 0 120px 0;
  position: absolute;
  opacity: 0;
  visibility: hidden;
}
.result .container.active {
  position: static;
  visibility: visible;
  opacity: 1;
}
.result_body {
  background: #fff;
  box-shadow: 0px 17px 40px 0px rgba(161, 189, 225, 0.21);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
  padding: 80px 30px;
  width: 100%;
  max-width: 800px;
}
.result_answer {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  color: #243d3a;
  text-align: center;
  font-size: calc(20px + 4 * ((100vw - 370px) / (1920 - 370)));
  font-style: normal;
  font-weight: 800;
  line-height: 130%;
}
.result_answer span {
  font-size: calc(14px + 2 * ((100vw - 370px) / (1920 - 370)));
  font-weight: 600;
}
.result_title {
  display: flex;
  flex-direction: column;
  color: #243d3a;
  text-align: center;
  font-size: calc(20px + 4 * ((100vw - 370px) / (1920 - 370)));
  font-weight: 500;
  line-height: 140%;
}
.result_answer svg {
  display: none;
}
/* result */
.spiner {
  width: 100%;
  padding: 0 15px;
  display: none;
}
.spiner.active {
  display: block;
}
.spiner .container {
  min-height: 90vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lds-ring {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}
.lds-ring div {
  box-sizing: border-box;
  display: block;
  position: absolute;
  width: 64px;
  height: 64px;
  margin: 8px;
  border: 8px solid #3e635f;
  border-radius: 50%;
  animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  border-color: #3e635f transparent transparent transparent;
}
.lds-ring div:nth-child(1) {
  animation-delay: -0.45s;
}
.lds-ring div:nth-child(2) {
  animation-delay: -0.3s;
}
.lds-ring div:nth-child(3) {
  animation-delay: -0.15s;
}
@keyframes lds-ring {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.result_ok,
.result_not {
  display: none;
}
.result_ok.active,
.result_not.active {
  display: block;
}

@media screen and (max-width: 1200px) {
  .ban_info {
    padding: 30px 20px;
  }
  .ban_info ol {
    gap: 20px;
  }
  .form_item_wrap label {
    margin-bottom: 5px;
  }
  form {
    gap: 20px;
  }
  .form_item_wrap {
    width: calc(50% - 10px);
  }
  .ban_info ol li {
    width: calc(100% / 3 - 40px / 3);
  }
  .exit_ban_check_wrap {
    grid-column-gap: 20px;
  }
}
@media screen and (max-width: 1000px) {
  .exit_ban_check_wrap {
    display: flex;
    flex-direction: column;
    gap: 60px;
  }
  .exit_ban_check_description {
    margin-bottom: 30px;
  }
  .h1 {
    margin-bottom: 15px;
  }
  .statistic_wrap {
    max-width: 100%;
  }
  .statistic_wrap ul {
    flex-direction: row;
  }
  .statistic_title {
    text-align: center;
  }
  .statistic_img {
    aspect-ratio: 2/1;
  }
  .statistic_wrap ul {
    gap: 20px;
  }
  .statistic_wrap li {
    width: calc(100% / 4 - 60px / 4);
    text-align: center;
  }
  .statistic_wrap {
    padding: 40px 20px 0 20px;
  }
  .statistic {
    width: calc(100% + 30px);
    margin-left: -15px;
    margin-right: -15px;
  }
  .result_body {
    padding: 40px 10px;
  }
}
@media screen and (max-width: 800px) {
  .block_faq p {
    margin: 15px 0;
  }
  .block_faq ul,
  .block_faq ol {
    margin: 15px 0;
  }
  .result_body {
    gap: 20px;
  }
}
@media screen and (max-width: 700px) {
  .statistic_img {
    aspect-ratio: 1.5/1;
  }
  .statistic_wrap ul {
    flex-direction: column;
  }
  .statistic_wrap li {
    width: 100%;
    text-align: start;
  }
  .statistic_title {
    text-align: start;
  }
  .ban_info ol {
    flex-direction: column;
  }
  .ban_info ol li {
    width: 100%;
  }
}
@media screen and (max-width: 600px) {
  .form_item_wrap {
    width: 100%;
  }
  .exit_ban_check .container {
    padding: 30px 0;
  }
  .block_faq .container {
    padding-bottom: 60px;
  }
}
