#myform {
  position: relative;
}

div:has(input) {
  position: relative;
}

.preloader {
  display: none;
  background: white;
  position: absolute;
  top: 0%;
  bottom: 0;
  left: 0%;
  right: 0;
  z-index: 9995;
  background-image: url(../images/preloader.gif);
  background-repeat: no-repeat;
  background-position: 50% 50%;
  opacity: 0.5;
  border-radius: 2px;
}

label.error {
  position: absolute;
  top: 50px;
  right: 0;
  z-index: 2;
  width: 90%;
  background: #ff003c url(../images/form-attention.svg) no-repeat;
  color: #fafaff;
  font-size: 10px;
  line-height: 12px;
  padding: 5px 5px 5px 35px;
  background-position: 10px 50%;
  background-size: 16px;
  border-radius: 0 0 3px 3px;
}
.intl-tel-input.separate-dial-code .selected-dial-code{
  font-size: 18px;
  font-weight: 700;
  color: #989898;
}
.checkbox-svg p {
  font-size: 10px;
  color: #000;
}
input.error {
  background: rgba(255, 0, 60, 0.3) url(../images/form-invalid.svg) no-repeat 95% !important;
  border: 1px solid #ff003c !important;
  padding-right: 50px !important;
  text-overflow: ellipsis;
  -webkit-background-size: 13px 10px !important;
  background-size: 13px 10px !important;
}

input.valid {
  background: transparent url(../images/form-valid.svg) no-repeat 95% !important;
  border: 1px solid #39b54a !important;
  padding-right: 50px !important;
  text-overflow: ellipsis;
}

/* double input in row, password and laber  */
.form--controlWrapper-half {
  width: calc(50% - 5px);
}
.form--controlWrapper-half label.error {
  width: 100%;
}
.form--row {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
.form--floatingLabel {
  position: absolute;
  z-index: 1;
  transition: 0.3s ease all;
  font-size: 10px;
  line-height: 10px;
  font-style: italic;
  pointer-events: none;
  left: 10px;
  top: -7px;
  padding: 1px 3px;
  background-color: var(--grey);
  outline-style: none;
}
.form--input:placeholder-shown:not(:focus) ~ .form--floatingLabel {
  top: 0.9em;
  font-weight: bold;
  font-size: 12px;
  line-height: 14px;
  color: rgba(250, 250, 255, 0.5);
  background-color: transparent;
}
.form--row-pass {
  justify-content: center;
}
.form--row-pass label.error {
  display: none !important;
}
.password {
  width: 66.6%;
  border-radius: 3px 0 0 3px;
}
.form--btnPasword {
  width: 33.4%;
  border-radius: 0 3px 3px 0;
  box-sizing: border-box;
  height: 37.7px;
  border: none;
  outline-style: none;
  cursor: pointer;
  font-weight: bold;
  font-size: 9px;
  line-height: 11px;
  text-align: center;
  color: var(--gery);
  font-family: inherit;
  border: 2px solid var(--wh-grey);
  background-color: var(--wh-grey);
  transition: color 0.5s ease, background 0.5s ease;
  color: #001132;
  text-transform: uppercase;
}
.form--btnPasword:hover {
  color: var(--wh-grey);
  background-color: transparent;
}
.valid-block {
  position: absolute;
  background: #fafaff;
  border: 1px solid #ff003c;
  box-sizing: border-box;
  z-index: 9996;
  top: 36px;
  width: 100%;
  border-radius: 2px;
}
.valid-check {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.valid-check label {
  color: #f90201;
  padding: 5px 25px;
  position: relative;
  text-align: left;
  font-family: inherit;
  font-size: 10px;
  line-height: 1;
  margin: 0;
}
.valid-check.check label {
  color: #39b54a !important;
}
.valid-check label::before {
  content: '';
  display: block;
  position: absolute;
  top: 5px;
  left: 8px;
  width: 12px;
  height: 11px;
  background-image: url(../images/form-invalid.svg);
  background-size: 80%;
  background-position: 50%;
  background-repeat: no-repeat;
}
.valid-check.check label::before {
  content: '';
  display: block;
  position: absolute;
  top: 5px;
  left: 8px;
  width: 12px;
  height: 11px;
  background-image: url(../images/form-valid.svg);
  background-size: 80%;
  background-position: 50%;
  background-repeat: no-repeat;
}

@media (max-width: 767px) {
  .form--input:placeholder-shown:not(:focus) ~ .form--floatingLabel {
    top: 1em;
  }
  .valid-block {
    top: 58px;
  }
  .form--input:placeholder-shown:not(:focus) ~ .form--floatingLabel {
    font-size: 20px;
    line-height: 18px;
  }
  input.error {
    background-position-x: 97.5% !important;
  }
  .valid-check label {
    font-size: 15px;
  }
  .form--input:placeholder-shown:not(:focus) ~ .form--floatingLabel {
    font-size: 14px;
    line-height: 18px;
    top: 20px;
  }
}

.advertorialWrp{
  display: block;
  position: absolute;
  top: 3px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 9px;
  z-index: 9999999999;
  color: #fff;
  opacity: 0.5;
  font-family: inherit;
  text-decoration: none;
  white-space: nowrap;
}
.advertorialWrp a{
  color: #000;
}

.footer_innerWrp {
  display: flex;
  justify-content: center;
  align-items: center;
}
.footer_linkWrp {
  padding: 0;
  display: flex;
  justify-content: center;
  font-size: 12px;
  line-height: 12px;
  text-align: right;
  column-gap: 20px;
  margin-bottom: 20px;
}
.footer_link {
  text-decoration: none;
  cursor:  pointer;
  font-size: 12px;
  line-height: 12px;
  color: #000;
}
.footer_disclaimer {
  font-size: 10px;
  line-height: 12px;
}
.intl-tel-input .country-list {
  max-width: 320px;
}
input.phone {
  padding-left: 115px !important;
}

/* CUSTOM FIX FOR LAND */
