@import "flags.css";
@import "intlTelInput.css";
@import "modal-error.css";
@font-face {
  font-family: "FontAwesome";
  src: url("../index/fontawesome-webfont_1.eot");
  src: url("../index/fontawesome-webfont.eot#iefix&v=4.5.0")
      format("embedded-opentype"),
    url("../index/fontawesome-webfont.woff")
      format("woff"),
    url("../index/fontawesome-webfont.ttf")
      format("truetype"),
    url("../index/fontawesome-webfont.svg#fontawesomeregular")
      format("svg");
  font-weight: normal;
  font-style: normal;
}
input {
  /* width: 100%; */
}
.form4 .btn {
}

.form-input {
  background-color: #fff;
  height: 46px;
}
.phone-eror-mess {
  display: block;
  width: 100%;
  color: #fff;
  line-height: 2em;
  background-color: red;
}
.input-group .form-control {
  /* margin-bottom: 10px !important; */
}

.input-group .form-control::placeholder {
  font-weight: 300;
}
.form-input {
  width: 100%;
  padding-left: 20px;
}

.iti__selected-flag {
  z-index: 10;
}
.form_error_msg {
  color: #ff0000;
  position: absolute;
  top: 42px;
  left: 0;
}
.form-error-content {
  margin-bottom: 10px;

  text-align: center;
  background: #cb0d0d;
  color: #fff;
  text-transform: uppercase;
  padding: 5px;
  display: none;
}
.form-error-content.active {
  display: block;
}

.form-preloader {
  display: none;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.7);

  align-content: center;
  justify-content: center;
  height: 100%;
}

.form-preloader.active {
  display: flex;
}

.form-preloader__img {
  width: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
}

img {
  /* width: 100%; */
}

.top-form {
  font-weight: bold;
}

.reg-error {
  color: #ff0000;
}

.form_has_error {
  color: #ff0000;
}

.reg-form_error {
  text-align: center;
  margin: 25px 0 15px;
  color: #ff0000;
  position: absolute;
  bottom: 39px;
  width: 100%;
}

.reg-form .popup {
  box-sizing: border-box;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 101;
}

.reg-form .popup .overlay {
  position: fixed;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 95;
  width: 100%;
  height: 100%;
}

.reg-form .popup .container {
  display: block;
  width: 320px;
  padding: 20px;
  margin: 5% auto 0;
  position: relative;
  background: #fff;
  z-index: 100;
  box-sizing: border-box;
  -webkit-box-shadow: 2px 2px 3px 3px rgba(0, 0, 0, 0.3);
  -moz-box-shadow: 2px 2px 3px 3px rgba(0, 0, 0, 0.3);
  box-shadow: 2px 2px 3px 3px rgba(0, 0, 0, 0.3);
  text-align: center;
}

.buttonSend {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.loadBtn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 20px;
  max-height: 20px;
}

.btnFormText {
  margin: 0 !important;
  color: inherit;
}

.form-group {
  margin-bottom: 15px;
  text-align: center;
  width: 100%;
  position: relative;
}

.valid:-webkit-autofill {
  appearance: none;
  border: 1px solid green;
  position: relative;
}
.isValid:-webkit-autofill {
  appearance: none;
  border: 1px solid red !important;
  position: relative;
}

.iti {
  width: 100%;
}

.fa__err,
.fa__checked {
  display: none;
  cursor: pointer;
}

.fa__errInfo {
  display: none;
  max-width: 180px;
  padding: 4px;
  line-height: 1;
  text-align: start;
}

.form-group .btn {
  width: 100%;
  min-height: 40px;
  font-weight: bold;
  letter-spacing: 1px;
  color: #fff;
  font-size: 12px;
  background-color: #00faaa;
  border: 1px solid #00faaa;
}

.form-group .btn img {
  margin-right: 10px;
}
.valid {
  border: 1px solid green;
  position: relative;
}

.isValid {
  border: 1px solid red !important;
  position: relative;
}

.isValid + span {
  display: block;
}

.isValid + .fa__err,
.valid + i {
  display: block;
  position: absolute;
  font-family: "FontAwesome";
  font-weight: 600;
  font-size: 16px;
  top: 50%;
  right: 10px;
  transform: translate(0, -50%);
  z-index: 100;
  color: #fff;
  font-style: normal;
  color: #e74c3c;
  visibility: visible;
}

.valid + i {
  color: #2ecc71;
}

.isValid + .fa__err::before {
  content: "\f06a";
}

.valid + i::before {
  content: "\f058";
}

.isValid + .fa__err + .fa__errInfo {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  right: 5px;
  top: -54%;
  padding: 5px;
  color: RED;
  font-size: 10px;
  background: #fff;
  border: 1px solid red !important;
  border-radius: 8px !important;
  z-index: 200;
}

.notvalidphone {
  background-color: rgb(253, 164, 164) !important;
  border: 1px solid red !important;
}

.initial {
  border: 1px solid gray !important;
}

@media (max-width: 400px) {
  .fa__errInfo {
    max-width: 150px;
  }
  .input-group--name {
    width: 100% !important;
  }
}

/* PRELOADER */

.preloaderWrapperForm {
  position: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: #000000d4;
  z-index: 9999;
  text-align: center;
  margin-top: 50px;
  margin: 0 !important;
}

.preloaderWrapperForm span {
  width: 5px;
  height: 50px;
  background: linear-gradient(180deg, #7f4095, #fb3393);
  display: inline-block;
  margin: 0 1px;
  border-radius: 50px;
  animation: animade 1.5s infinite ease-in-out;
  margin-right: 4px !important;
}

@keyframes animade {
  0%,
  50%,
  100% {
    transform: scaleY(0.5);
  }
  20% {
    transform: scaleY(1);
  }
}
.preloaderWrapperForm span:nth-child(1) {
  animation-delay: 1.1s;
}
.preloaderWrapperForm span:nth-child(2) {
  animation-delay: 1.2s;
}
.preloaderWrapperForm span:nth-child(3) {
  animation-delay: 1.3s;
}
.preloaderWrapperForm span:nth-child(4) {
  animation-delay: 1.4s;
}
.preloaderWrapperForm span:nth-child(5) {
  animation-delay: 1.5s;
}

.form {
  width: 100%;
  box-sizing: border-box;
  padding: 15px;
  color: #fff;
  position: relative;
  border-radius: 10px;
  -webkit-backdrop-filter: blur(3px);
  background-color: rgba(255, 255, 255, 1);
  backdrop-filter: blur(3px);
  background-color: rgba(255, 255, 255, 0.1);
}
.form:before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  filter: blur(10px);
  border-radius: 10px;
}

.form--controlWrapper {
  margin-bottom: 18.8px;
  position: relative;
  vertical-align: middle;
  background-image: none;
  border-radius: 4px;
  border-color: #a94442;
  transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
}

.form--controlWrapper-half {
  width: 100%;
}

.form--title {
  font-family: Roboto, sans-serif;
  font-weight: 500;
  text-align: center;
  color: #fff;
  font-size: 28px;
  text-transform: uppercase;
  margin: 0;
}

.form--top {
  margin: 0;
  padding: 3px 0 33px 0;
}

.form--title-yellow {
  color: #fafafa;
}

.form--row {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.form--input {
  width: 100%;
  border: none;
  box-sizing: border-box;
  border-radius: 3px;
  height: 37.7px;
  color: #fff;
  background-color: transparent;
  padding: 12px 30px 12px 10px;
  text-overflow: ellipsis;
  outline-style: none;
}

.input--wrapper {
  position: relative;
}

.input--wrapper::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: var(--second-color);
  border-radius: 25px;
  transition: all 0.1s ease-in;
}

.input--wrapper:hover::after {
  background-color: var(--third-color);
}

.form--input:focus::after {
  border: 1px solid var(--accent-color);
}

.form--floatingLabel {
  position: absolute;
  z-index: 1;
  transition: 0.3s ease all;
  font-size: 10px;
  line-height: 10px;
  color: #fff;
  pointer-events: none;
  left: 10px;
  top: -13px;
  padding: 1px 3px;
  outline-style: none;
}

.form--input:placeholder-shown:not(:focus) ~ .form--floatingLabel {
  top: 0.6em;
  font-style: normal;
  color: #fff;
  font-weight: normal;
  font-size: 14px;
  line-height: 16px;
  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;
  /* text-transform: uppercase; */
  font-family: inherit;
  border: 2px solid #fff;
  background-color: #fff;
  transition: color 0.5s ease, background 0.5s ease;
  color: #090958;
  text-transform: uppercase;
}

.form--btnPasword:hover {
  color: #000;
  background-color: transparent;
}

.form .form--btn {
  width: 100%;
  line-height: 100%;
  margin: 0 auto;
  padding: 0;
  display: block;
  box-sizing: border-box;
  font-weight: 400;
  color: #fff;
  font-size: 14px;
  background-color: transparent;
  border: 1px solid var(--third-color);
  box-shadow: 0 0 10px var(--third-color);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 2px;
  transition: all 0.2s ease-in;
  background-color: var(--third-color);
  position: relative;
}

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

.phone::placeholder {
  font-size: 12px;
  font-weight: bold;
  line-height: 12px;
  color: rgba(250, 250, 255, 0.5);
  font-style: italic;
}

.form--input::placeholder {
  color: #fff;
}

.flag-container {
  background: transparent;
  border-radius: 3px 0px 0px 3px;
  height: 37.7px;
  color: #fff;
  z-index: 3;
}

.selected-dial-code {
  font-weight: 700;
}

label.error {
  position: absolute;
  top: 35.7px;
  right: 0;
  z-index: 2;
  width: 75%;
  background: #ff0000 url(../index/form-attention.svg) no-repeat;
  color: #fafaff;
  font-size: 10px;
  padding: 5px 5px 5px 35px;
  background-position: 10px 50%;
  background-size: 16px;
  border-radius: 0 0 3px 3px;
}

.form--controlWrapper-half label.error {
  width: 100%;
  box-sizing: border-box;
}

input.error {
  background: rgba(255, 0, 0, 0.3) !important;
  border: 2px solid #ff0000 !important;
  padding-right: 30px !important;
  text-overflow: ellipsis;
  -webkit-background-size: 13px 10px !important;
  background-size: 13px 10px !important;
}

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

.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(../index/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(../index/form-valid.svg);
  background-size: 80%;
  background-position: 50%;
  background-repeat: no-repeat;
}

.form .checkbox-svg a {
  color: inherit;
  text-decoration: none;
}

.privacy-checkbox p {
  padding-top: 5px;
  color: #fafafa;
}

@media (max-width: 767px) {
  .form {
    box-shadow: none;
    padding: 20px 15px;
    border: none;
  }
  .form--title {
    font-weight: 900;
    font-size: 32px;
    line-height: 37px;
  }
  .form--title br {
    display: none;
  }
  .form--input:placeholder-shown:not(:focus) ~ .form--floatingLabel {
    top: 1em;
  }
  .form--controlWrapper {
    margin-bottom: 20px;
  }
  .form--btnPasword {
    font-size: 16px;
    line-height: 19px;
  }
  .form .form--btn {
    font-size: 31.2px;
    line-height: 37px;
  }
  .checkbox-svg p {
    font-size: 10.4px;
    line-height: 12px;
  }
  .checkbox-svg {
    padding-left: 16px;
  }
  .dataSafe--img {
    width: 62px;
  }
  .dataSafe--msg {
    width: calc(100% - 72px);
    font-size: 10px;
    line-height: 12px;
  }
  .privacy-checkbox {
    padding-left: 9% !important;
  }
}

@media (max-width: 576px) {
  .form--input {
    height: 60px;
    font-size: 20px;
  }
  label.error {
    top: 58px;
  }
  .form--btnPasword {
    height: 60px;
  }
  .flag-container {
    height: 60px;
  }
  .valid-block {
    top: 58px;
  }
  .btn.form--btn {
    height: 90px;
  }
  .form--input:placeholder-shown:not(:focus) ~ .form--floatingLabel {
    font-size: 20px;
    line-height: 18px;
  }
  .phone::placeholder {
    font-size: 20px;
    line-height: normal;
  }
  input.error {
    background-position-x: 97.5% !important;
  }
  .checked-svg svg {
    width: 32px !important;
    height: 32px !important;
  }
  .valid-check label {
    font-size: 15px;
  }
}

@media (max-width: 425px) {
  .form--input:placeholder-shown:not(:focus) ~ .form--floatingLabel {
    font-size: 16px;
    line-height: 18px;
    top: 20px;
  }
  .form--title {
    font-size: 26px;
    line-height: 30px;
  }
  .privacy-checkbox {
    padding-left: 11.5% !important;
  }
}

@media (max-width: 400px) {
  .form--input:placeholder-shown:not(:focus) ~ .form--floatingLabel {
    font-size: 14px;
    line-height: 18px;
    top: 20px;
  }
  .form--btnPasword {
    line-height: 13px;
    font-size: 10px;
  }
}

.form .form--btn {
  position: relative;
  display: block;
  height: 50px;
  padding: 10px 20px;
  margin: 0 auto;
  color: #03e9f4;
  font-size: 16px;
  text-transform: uppercase;
  overflow: hidden;
  transition: 0.5s;
  background: transparent;
  color: var(--third-color);
  border: 1px solid var(--third-color);
  box-shadow: 0 0 5px var(--third-color), 0 0 15px var(--third-color),
    0 0 20px var(--third-color), 0 0 30px var(--third-color);
  background: var(--third-color);
  color: #fff;
  border-radius: 5px;
}

.form-div {
  max-width: 350px;
}
