/*Form style*/
/*Modal general style*/
.bground {
  height: 100%;
  width: 100%;
  background-color: rgba(26, 39, 156, 0.6); /*according to mockup = white*/
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  display: none;
}

.content {
  position: relative;
  margin: 1rem auto;
  width: 100%;
  max-width: 500px;
  background: #232323;
  box-shadow: 0px 12px 12px 0px #00000040;
  border-radius: 8px;
  color: #fff;
  padding-bottom: 1rem;
  animation-name: modalopen;
  animation-duration: 0.9s;
}
@keyframes modalopen {
  from {
    opacity: 0;
    transform: translateY(-150px);
  }
  to {
    opacity: 1;
  }
}

form {
  padding: 60px 40px 10px 40px;
}

.formDate {
  margin-bottom: 8px;
  padding-bottom: 3px;
}

/*Close button */
.close {
  position: absolute;
  top: 0;
  right: 14px;
  font-size: 45px;
  transform: rotate(45deg);
  cursor: pointer;
}

/*Input label general style*/
.label-name {
  font-size: 14px;
  line-height: 14px;
  font-weight: normal;
  display: inline-block;
  margin-bottom: 12px;
}
.text-control {
  width: 100%;
  height: 60px;
  border: 2px solid #232323;
  border-radius: 8px;
  padding: 5px;
  margin-bottom: 3px;
  border: 3px solid white;
  outline: none;
  font-size: 20px;
  background: #ffffff;
}

small {
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  margin-left: 25px;
  visibility: hidden;
}

.icons {
  position: relative;
  top: 3px;
  visibility: hidden;
}

.fas {
  position: absolute;
}

.formData.success input {
  border-color: #009879;
}

.formData.error input {
  border-color: red;
}

.formData.success i.fa-check-circle {
  visibility: visible;
  color: #009879;
}

.formData.error i.fa-exclamation-circle {
  visibility: visible;
  color: red;
}

.formData.error small {
  visibility: visible;
  color: red;
}

/*Radio style*/
.radio,
.checkbox {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  margin-right: 14px;
  font-size: 12px;
}

.radio__input {
  display: none;
}

.radio-checkmark {
  width: 25px;
  height: 25px;
  border: 2px solid #009879;
  border-radius: 50%;
  margin-right: 8px;
  box-sizing: border-box;
  padding: 3px;
}

.radio-checkmark::after {
  content: "";
  width: 100%;
  height: 100%;
  display: block;
  background: #009879;
  border-radius: 50%;
  transform: scale(0);
  transition: transform 0.15s;
}

.radio__input:checked + .radio-checkmark::after {
  transform: scale(1);
}

/*Checkbox style*/
.checkbox {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  margin-bottom: 3px;
}

.checkbox__input {
  display: none;
}

.checkbox__box {
  width: 1.5em;
  height: 1.5em;
  border: 2px solid #cccccc;
  background: #cccccc;
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
  flex-shrink: 0;
  transition: 0.4s;
}

.checkbox__box::after {
  content: "\2714";
  color: #cccccc;
}

.checkbox__input:checked + .checkbox__box {
  background: #009879;
  border: 2px solid #009879;
}

/* Go button */
.btn-submit {
  background: #fe142f;

  display: block;
  margin: 0 auto;
  border-radius: 7px;
  font-size: 14px;
  padding: 10px 89px;
  color: #fff;
  cursor: pointer;
  border: 0;
}

/*Thanks message */
.thanks {
  display: none;
  padding: 20rem 5rem;
  font-size: 37px;
  text-align: center;
}
