.form input,
body {
}
body,
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
}
.form,
.iti,
.line_box,
.phone-eror-mess,
.pot_wraper img,
.select,
img {
  width: 100%;
}

.iti {
  margin-top: 10px;
}
.form label,
.iti__selected-dial-code {
  font-size: 16px;
  color: #767676;
}
* {
  box-sizing: border-box;
}
.dn {
  display: none;
}
.container {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 20px;
  /* display: grid; */
}
a {
  text-decoration: none;
  color: inherit;
}
.box_quiz__title {
  margin-top: 30px;
}
.select {
  color: #767676;
  border: 1px solid #767676;
  height: 43px;
  padding: 0 30px 0 10px;
  font-weight: 600;
  background: #fff;
  border-radius: 5px;
  margin-top: 15px;
  display: flex;
  font-size: 14px;
}
.form,
.form__title {
  padding-bottom: 1.25rem;
}

.phone-eror-mess {
  color: #fff;
  font-size: 16px;
}
.custom_select {
  position: relative;
  margin-top: 15px;
  margin-bottom: 30px;

  margin: 0 auto;
  background: transparent !important;
}
.custom_select:after {
  content: "▼";
  padding: 0 8px;
  font-size: 13px;
  position: absolute;
  right: 8px;
  top: 13px;
  z-index: 1;
  text-align: center;
  width: 10%;
  height: 100%;
  pointer-events: none;
  box-sizing: border-box;
}
select {
  padding-right: 25px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
.select.error {
  background: #ff00005e !important;
  border-color: red;
}
.select.valid {
  background: #0080004d !important;
  border-color: green;
}
.form__title {
  font-weight: 500;
  line-height: 1.2;
  border-bottom: 0.115rem solid rgba(164, 164, 164, 0.64);
}
.form__title span {
  color: #8c0202;
  line-height: 1.08;
}
.form {
  display: -ms-grid;
  display: grid;

  -ms-grid-row-align: center;
  align-self: center;
  font-weight: 400;
  line-height: 1.08;
}
.input {
  margin-top: 15px;
  border-radius: 5px;
}

.form__title h3 {
  color: #002647;
}
.phone-eror-mess {
  background-color: red;
  text-align: center;
  display: block;
}

@media screen and (max-width: 400px) {
  .custom_select,
  .slide_content__title {
    margin-bottom: 10px;
  }
}
@media (min-width: 39.375em) {
  .thanks__container {
    padding-top: 10.625rem;
  }
  .form__title,
  .thanks__text {
    font-size: 1.5rem;
  }
  .form {
    font-size: 2.3125rem;
  }
  .input {
    padding: 0.9375rem;
  }
}
@media (max-width: 20em) {
  .thanks__container {
    padding-top: 6.25rem;
  }
  .form,
  .form__title,
  .thanks__text {
    font-size: 1.25rem;
  }
  .input {
    padding: 0.625rem;
  }
}
@media (min-width: 20em) and (max-width: 39.375em) {
  @supports (
    font-size: clamp(1.25rem, 0.9919354839rem + 1.2903225806vw, 1.5rem)
  ) {
    .form__title {
      font-size: clamp(1.25rem, 0.9919354839rem + 1.2903225806vw, 1.5rem);
    }
  }
  @supports not (
    font-size: clamp(1.25rem, 0.9919354839rem + 1.2903225806vw, 1.5rem)
  ) {
    .form__title {
      font-size: calc(1.25rem + 0.25 * (100vw - 20rem) / 19.375);
    }
  }
  @supports (
    font-size: clamp(1.25rem, 0.1532258065rem + 5.4838709677vw, 2.3125rem)
  ) {
    .form {
      font-size: clamp(1.25rem, 0.1532258065rem + 5.4838709677vw, 2.3125rem);
    }
  }
  @supports not (
    font-size: clamp(1.25rem, 0.1532258065rem + 5.4838709677vw, 2.3125rem)
  ) {
    .form {
      font-size: calc(1.25rem + 1.0625 * (100vw - 20rem) / 19.375);
    }
  }
  @supports (
    padding: clamp(0.325rem, 0.3024193548rem + 1.6129032258vw, 0.6375rem)
  ) {
    .input {
      padding: clamp(0.325rem, 0.3024193548rem + 1.6129032258vw, 0.6375rem);
    }
  }
  @supports not (
    padding: clamp(0.325rem, 0.3024193548rem + 1.6129032258vw, 0.6375rem)
  ) {
    .input {
      padding: calc(0.325rem + 0.3125 * (100vw - 17rem) / 17.375);
    }
  }
}
@media (max-width: 420px) {
  .input {
    width: 92%;
  }
  .select {
    font-size: 13px !important;
  }
}
