/* ==========================================================================
 Author's custom styles
 ========================================================================== */


@import "https://cdnjs.cloudflare.com/ajax/libs/intl-tel-input/17.0.13/css/intlTelInput.css";




.iti__flag {
  background-image: url("https://cdnjs.cloudflare.com/ajax/libs/intl-tel-input/17.0.13/img/flags.png");
}




@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {
  .iti__flag {
    background-image: url("https://cdnjs.cloudflare.com/ajax/libs/intl-tel-input/17.0.13/img/flags@2x.png");
  }
}




.iti {
  width: 100% !important;
}


/* Project adaptation: keep the tel input inside its .iti / .input-box bounds
   (intl-tel-input leaves the input at its intrinsic width, which overflowed
   the form column after the mask was applied). */
.iti input,
.iti input[type="tel"],
.iti input[type="text"] {
  width: 100% !important;
}


/* Submit button keeps its normal size in every state — disabled (consent
   unticked) and while a submit is in flight. min-height stops it collapsing
   if the label is ever cleared; height:auto cancels loader.css's fixed
   height:50px clip on the disabled button. */
button.custom_btn {
  min-height: 51px;
}
button.custom_btn:disabled {
  height: auto;
}




.iti__country-list {
  max-width: 320px;
  overflow-x: hidden;
  font-size: 14px;
}

.iti__flag-box, .iti__country-name {
  color: #000000!important;
}



.iti--allow-dropdown .iti__flag-container, .iti--separate-dial-code .iti__flag-container {
  z-index: 1;
}




.iti--separate-dial-code .iti__selected-dial-code {
  font-size: 14px;
}




input {
  outline: none;
  box-shadow: none;
}




.is-error {
  border: 1px solid #ff0000 !important;
}




.error-message {
  position: absolute;
  bottom: -3px;
  left: 0;
  z-index: 2;
  width: 100%;
  font-size: 12px;
  line-height: 1;
  color: #ff0000;
  padding-bottom: 3px;
  -moz-transform: translateY(100%);
  -webkit-transform: translateY(100%);
  -o-transform: translateY(100%);
  -ms-transform: translateY(100%);
  transform: translateY(100%);
  -webkit-transition: all 400ms ease;
  -moz-transition: all 400ms ease;
  -ms-transition: all 400ms ease;
  -o-transition: all 400ms ease;
  transition: all 400ms ease;
}




.error-code {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  width: 100%;
  font-size: 18px;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  color: #ff0000;
  padding: 12px 16px;
  background: #ffffff;
  -moz-transform: translateY(-105%);
  -webkit-transform: translateY(-105%);
  -o-transform: translateY(-105%);
  -ms-transform: translateY(-105%);
  transform: translateY(-105%);
  -webkit-transition: all 400ms ease;
  -moz-transition: all 400ms ease;
  -ms-transition: all 400ms ease;
  -o-transition: all 400ms ease;
  transition: all 400ms ease;
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
  -khtml-border-radius: 10px;
  border-radius: 10px;
}


.error-message {
  position: relative;
  bottom: -3px;
  transform: translateY(0%);
}
