.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;
}
* {
  box-sizing: border-box;
}
.dn {
  display: none;
}
.brand-logo {
  display: inline-block;
  color: #00275b;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.05;
  text-transform: uppercase;
}
.brand-logo--dark {
  color: #00275b;
}
.brand-logo--footer {
  color: #fff;
  font-size: 16px;
}
.consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #fff;
  font-size: 13px;
  line-height: 1.3;
  margin-top: 12px;
}
.consent input {
  width: auto;
  margin-top: 2px;
}
.phone-row {
  display: grid;
  grid-template-columns: minmax(118px, 38%) 1fr;
  gap: 8px;
  align-items: center;
  width: 100%;
}
.country-code-picker {
  position: relative;
  width: 100%;
}
.country-code-button {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 43px;
  width: 100%;
  border: 1px solid #767676;
  border-radius: 5px;
  background: #fff;
  color: #333;
  font-size: 14px;
  font-weight: 600;
  padding: 0 6px;
  cursor: pointer;
  text-align: left;
}
.country-code-button::after {
  content: "";
  margin-left: auto;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid #333;
}
.country-code-list {
  position: absolute;
  z-index: 20;
  top: 47px;
  left: 0;
  width: min(320px, 92vw);
  max-height: 240px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid #767676;
  border-radius: 5px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}
.country-code-option {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  min-height: 34px;
  padding: 7px 9px;
  border: 0;
  background: #fff;
  color: #222;
  font-size: 13px;
  text-align: left;
  cursor: pointer;
}
.country-code-option:hover,
.country-code-option.is-selected {
  background: #eef4ff;
}
.country-flag-img {
  width: 24px;
  height: 18px;
  object-fit: contain;
  flex: 0 0 24px;
  background: #e7e7e7;
  box-shadow: 0 0 1px rgba(0, 0, 0, 0.35);
}
.country-code-label {
  white-space: nowrap;
}
.phone-row .input {
  margin-top: 0;
}
.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;
  }
}
