.section-autoformbuilder {
  padding: 120px 0px;
  margin-bottom: 40px;
}

#autoformbuilder {
  display: flex;
  flex-wrap: wrap;
}

/* TITULO */
#autoformbuilder h3 {
  font-size: 60px;
  line-height: 70px;
  width: 36%;
}

@media only screen and (min-width: 1200px) and (max-width: 1600px) {
  #autoformbuilder h3 {
    font-size: 60px;
    line-height: 70px;
  }
}

@media only screen and (min-width: 992px) and (max-width: 1200px) {
  #autoformbuilder h3 {
    font-size: 60px;
    line-height: 70px;
  }
}

@media (max-width: 991px) {
  #autoformbuilder h3 {
    font-size: 40px;
    line-height: 40px;
  }
}

/* DESCRIPCION */
#autoformbuilder .description-form {
  width: 50%;
  margin-bottom: 100px;
}

#autoformbuilder .description-form p {
  font-size: 30px;
  margin-bottom: 30px;
  font-weight: 300;
  line-height: 35px;
}

/* SECTION */
#autoformbuilder h4.title-section {
  font-family: "Luckiest Guy", cursive;
  line-height: 28px;
  color: #0f3448;
  margin-bottom: 60px;
  margin-top: 60px;
  width: 100%;
}

#autoformbuilder hr {
  height: 0px;
  border-bottom: unset;
}

#autoformbuilder input {
  width: 100%;
  font-size: 18px;
  font-weight: 300;
  color: #1d1d1b;
  border: 0;
  border-bottom: 1px solid #1d1d1b;
  padding: 12px 0;
  background-color: #e0df00;
}

#autoformbuilder textarea {
  width: 100%;
  font-size: 18px;
  font-weight: 300;
  color: #1d1d1b;
  border: 0;
  border-bottom: 1px solid #1d1d1b;
  padding: 12px 0;
  background-color: #e0df00;
}

#autoformbuilder span.input-space.type-textarea,
#autoformbuilder
  span.input-space.type-checkbox {
  width: 59%;
  margin-left: 36%;
  align-items: center;
  flex-direction: row;
  justify-content: flex-start;
}

#autoformbuilder
  span.input-space.type-checkbox
  input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* Show the checkmark when checked */
#autoformbuilder
  span.input-space.type-checkbox
  input[type="checkbox"]:checked
  ~ .checkmark:after {
  display: block;
}

/* Style the checkmark/indicator */
#autoformbuilder
  span.input-space.type-checkbox
  .checkmark:after {
  left: 7px;
  top: 3px;
  width: 5px;
  height: 10px;
  border: solid #1d1d1b;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
  content: "";
  position: absolute;
}

#autoformbuilder
  span.input-space.type-checkbox
  label {
  display: block;
  position: relative;
  padding-left: 40px;
  margin-bottom: 12px;
  cursor: pointer;
  font-size: 14px;
  color: #1d1d1b;
  z-index: 20;
}
#autoformbuilder
  span.input-space.type-checkbox
  span.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 20px;
  width: 20px;
  background-color: #e0df00;
  border: 1px solid #1d1d1b;
  border-radius: 2px;
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  -ms-border-radius: 2px;
  -o-border-radius: 2px;
}
#autoformbuilder span.input-space {
  margin: 0px 15px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  margin-bottom: 34px;
  width: 28%;
}

#autoformbuilder input::placeholder,
#autoformbuilder span.input-space h4 {
  font-size: 18px;
  font-weight: 300;
  color: #1d1d1b;
}

#autoformbuilder
  span.input-space.type-text
  input,
#autoformbuilder
  span.input-space.type-email
  input,
#autoformbuilder
  span.input-space.type-tel
  input {
  background-color: transparent;
  position: relative;
}

#autoformbuilder
  span.input-space.type-date
  h4 {
  position: absolute;
  bottom: 32px;
}

#autoformbuilder
  span.input-space.type-text
  h4,
#autoformbuilder
  span.input-space.type-email
  h4,
#autoformbuilder
  span.input-space.type-tel
  h4 {
  position: absolute;
  bottom: 8px;
  transition: bottom 0.3s;
}

#autoformbuilder
  span.input-space:not(:has(.title-section)):has(input[type="text"]:focus)
  h4,
#autoformbuilder
  span.input-space:not(:has(.title-section)):has(input[type="text"].active)
  h4,
#autoformbuilder
  span.input-space:not(:has(.title-section)):has(input[type="tel"]:focus)
  h4,
#autoformbuilder
  span.input-space:not(:has(.title-section)):has(input[type="tel"].active)
  h4,
#autoformbuilder
  span.input-space:not(:has(.title-section)):has(input[type="email"]:focus)
  h4,
#autoformbuilder
  span.input-space:not(:has(.title-section)):has(input[type="email"].active)
  h4 {
  position: absolute;
  bottom: 40px;
}

#autoformbuilder span.input-space-section {
  display: block;
  width: 100%;
}

#autoformbuilder
  span.input-space.type-radio {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
}

#autoformbuilder
  span.input-space.type-radio
  input {
  position: absolute;
  top: 0;
  left: -9999px;
  visibility: hidden;
}

#autoformbuilder
  span.input-space.type-radio
  h4,
#autoformbuilder
  span.input-space.type-radio
  label {
  margin-right: 18px;
  margin-bottom: 10px;
}

#autoformbuilder
  span.input-space.type-radio
  label {
  cursor: pointer;
  font-size: 18px;
  font-weight: 400;
  font-family: "Poppins", sans-serif;
  color: #0f3448;
  padding-left: 45px;
  position: relative;
  height: fit-content;
}

#autoformbuilder
  span.input-space.type-radio
  label::before {
  left: 0;
  width: 23px;
  height: 23px;
  margin: -12px 0 0;
  background: #fff;
  border: 4px solid #98c1db;
}

#autoformbuilder
  span.input-space.type-radio
  label::after {
  left: 4px;
  width: 15px;
  height: 15px;
  margin: -8px 0 0;
  opacity: 0;
  background: #f3bc3a;
  transform: translate3d(-40px, 0, 0) scale(0.5);
  transition: opacity 0.25s ease-in-out, transform 0.25s ease-in-out;
}
#autoformbuilder
  .input-space:nth-of-type(2n):not(.type-textarea,.type-checkbox) {
  margin-left: 36%;
  width: 27%;
}
@media (max-width: 991px) {
  #autoformbuilder .input-space:not(.type-textarea,.type-checkbox) {
    margin-left: unset;
  }
  #autoformbuilder span.input-space:not(.type-textarea,.type-checkbox) {
    width: 100%;
  }
  #autoformbuilder
    .input-space:nth-of-type(2n) {
    margin-left: unset;
    width: 100%;
  }
  section #autoformbuilder input[type="submit"] {
    width: 100%;
  }
  #autoformbuilder span.input-space.type-textarea,
  #autoformbuilder
    span.input-space.type-checkbox {
    width: 100%;
    margin-left: unset;
  }
  #autoformbuilder .description-form {
    width: 100%;
    margin-top: 26px;
    margin-bottom: 100px;
  }
}
#autoformbuilder
  span.input-space.type-radio
  label::before,
#autoformbuilder
  span.input-space.type-radio
  label::after {
  content: "";
  position: absolute;
  top: 50%;
  border-radius: 50%;
}

#autoformbuilder
  span.input-space.type-radio
  input[type="radio"]:checked
  + label:after {
  transform: translate3d(0, 0, 0);
  opacity: 1;
}

#autoformbuilder
  span.input-space.type-file
  input {
  display: none;
}

#autoformbuilder
  span.input-space.type-file
  button {
  font-size: 18px;
  font-weight: 400;
  color: #0f3448;
  line-height: 27px;
  border: 4px solid #98c1db;
  display: flex;
  height: 74px;
  width: 317px;
  align-items: center;
  justify-content: center;
  background-color: #f5f2ee;
  transition: 0.3s;
}

#autoformbuilder
  span.input-space.type-file
  .custom-file-upload {
  display: flex;
  align-items: center;
  gap: 24px;
  justify-content: center;
}

#autoformbuilder
  span.input-space.type-file
  .custom-file-upload
  .archive {
  font-size: 16px;
}

#autoformbuilder
  span.input-space.type-file
  button:hover {
  background-color: #98c1db;
  color: #ffffff;
}

#autoformbuilder .nice-select {
  width: 100%;
  border-radius: 0;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  -ms-border-radius: 0;
  -o-border-radius: 0;
  border: 0;
  border-bottom: 4px solid #98c1db;
  padding: 12px 0;
  height: 65px;
  font-size: 18px;
  color: #0f3448;
  font-family: "Poppins", sans-serif;
  background-color: #f5f2ee;
}

#autoformbuilder input[type="submit"] {
  font-size: 14px;
  text-transform: uppercase;
  font-weight: 600;
  color: #1d1d1b;
  font-family: "Overpass", sans-serif;
  border: 1px solid #1d1d1b;
  padding: 15px 30px;
  display: inline-block;
  padding: 15px 70px;
  background-color: #e0df00;
  width: 200px;
  margin-left: auto;
}

#autoformbuilder input[type="submit"]:hover {
  background-color: #1d1d1b;
  color: #e0df00;
}

.body-loading {
  position: fixed;
  width: 100%;
  height: 100%;
  background: #f5f2ee;
  top: 0;
  left: 0;
  z-index: 100;
  opacity: 0.6;
  display: flex;
  align-items: center;
  justify-content: center;
}

.body-loading i {
  animation: spinner 0.9s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite;
  font-size: 35px;
  border: 8px solid #f3f3f3;
  border-top: 8px solid #e0df00;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: block;
  border-left: 8px solid #e0df00;
}

.autoForm-e,
.autoForm-c {
  display: block;
  width: 100%;
  font-size: 20px;
}

.autoForm-c {
  color: #319d73;
}

@media (max-width: 991px) {
  #autoformbuilder
    span.input-space.type-radio{
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    flex-wrap: wrap;
    justify-content: center;
  }

  #autoformbuilder
    span.input-space.type-radio
    h4 {
    width: 100%;
  }
}

@keyframes spinner {
  to {
    transform: rotate(360deg);
  }
}

/* IPHONE CSS */
@supports (-webkit-touch-callout: none) {
  #autoformbuilder
    span.input-space.type-date {
    margin-top: 38px;
  }
}

/* CSS ESPECIFICO */
#autoformbuilder span.input-space:nth-of-type(18) h4,
#autoformbuilder span.input-space:nth-of-type(19) h4,
#autoformbuilder span.input-space:nth-of-type(20) h4 {
  width: 100%;
}

/*#autoformbuilder span.input-space:nth-of-type(18),
#autoformbuilder span.input-space:nth-of-type(19),
#autoformbuilder span.input-space:nth-of-type(20) {
  flex-wrap: wrap;
  width: 29%;
  justify-content: flex-start;
  gap: 13px 70px;
}
#autoformbuilder span.input-space:nth-of-type(23) {
  width: 50%;
  margin-right: 50%;
}
#autoformbuilder span.input-space:nth-of-type(24){
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 13px 70px;
}*/
#autoformbuilder span.input-space:nth-of-type(24) h4 {
  font-family: "Luckiest Guy", cursive;
  line-height: 28px;
  color: #0f3448;
  margin-bottom: 60px;
  margin-top: 60px;
  width: 100%;
}
