#form_2300 form input,
#form_2300 form select {
  max-height: 35px;
  border-radius: 22px;
  border: 1px solid #4547ef;
  margin: 0;
  color: #000;
  padding: 0px 12px 0px 12px;
}

#edit-content-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 40px;

  label {
    font-weight: 400;
    font-size: 16px;
  }
}

#edit-publicitarios-o-comerciales--wrapper-legend,
#edit-cobranza--wrapper-legend {
  display: none;
}

#edit-content-legales-all {
  display: flex;
  #edit-content-legales,
  #edit-content-legales2 {
    width: 50%;
  }
}

#edit-publicitarios-o-comerciales,
#edit-cobranza {
  margin-bottom: 20px;
}

#edit-publicitarios-o-comerciales > div,
#edit-cobranza > div {
  display: flex;
  flex-direction: row;
  align-items: center;

  input {
    width: 20px;
  }
}

/* CONTENEDOR DEL FORMULARIO (MODAL) */
#form_2300 form {
  position: fixed;
  inset: 0;
  margin: auto;
  width: min(1200px, 95vw);
  max-height: 92vh;
  overflow-y: auto;
  background: #fff;
  border-radius: 12px;
  padding: 30px 60px 0;
  z-index: 1001;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

/* FONDO OSCURO USANDO SOLO EL MISMO ELEMENTO */
#block-adl-subtheme-webform-4 > .content.block-content,
#form_2300 {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: 9999;
  display: none;
}

/* MEJORA DE SCROLL INTERNO */
#form_2300 form::-webkit-scrollbar {
  width: 6px;
}

#form_2300 form::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 4px;
}

#edit-content-header-form > div:nth-child(2) {
  flex: 0.03;
}

#edit-processed-text > div {
  img {
    width: 38px;
  }

  text-align: right;
  cursor: pointer;
  position: absolute;
  top: -35px;
  right: -35px;
}

#edit-form-titulo {
  font-size: 18px;
  line-height: 120%;
  color: #000;
  font-weight: 300;
}

#edit-text-two,
#edit-texto-3 {
  font-size: 17px;
  color: #000;
  line-height: 140%;
  padding: 0 20px 0 0;
  font-weight: 300;
}

#edit-content-legales2 {
  margin-left: 3rem;
}

#edit-publicitarios-o-comerciales--wrapper > div label,
#edit-cobranza--wrapper > div label {
  font-size: 16px;
  color: #000;
  line-height: inherit;
  font-weight: 300;
}

#edit-publicitarios-o-comerciales--wrapper > div input,
#edit-cobranza--wrapper > div input {
  accent-color: #4547ef;
}

#edit-text-final {
  color: #000;
  line-height: 140%;
  font-size: 16px;
}

#edit-actions-submit--2 {
  padding: 0 6rem !important;
  color: #fff !important;
  align-items: center;
  height: 35px;
}

.webform-submission-form .form-actions {
  text-align: right;
}

#edit-cancelar-boton {
  text-align: right;
  font-size: 20px;
  color: #000;
  text-decoration: underline;
  padding-top: 5px;
  a {
    cursor: pointer;
  }
}

#edit-cancelar-boton a:hover {
  color: #000 !important;
}

#edit-content-botons > div:nth-child(2) {
  flex: 0.4;
}

@media (max-width: 768px) {
  #form_2300 form {
    padding: 10px 15px 0;
    border-radius: 10px;
    scrollbar-width: none;
  }

  #edit-content-header-form {
    display: flex;
  }

  #edit-form-titulo {
    font-size: 12px;
    padding-right: 20px;
  }

  #edit-processed-text > div {
    top: -12px;
    right: -11px;
    left: -8px;
  }

  #edit-content-inputs {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0px;
  }

  #edit-content-inputs {
    label {
      font-weight: 400;
      font-size: 12px;
      margin: 0;
    }
  }

  #form_2300 form input,
  #form_2300 form select {
    max-height: 28px;
    padding: 0px 12px 0px 12px;
    font-size: 10px;
  }

  #edit-content-legales-all {
    display: flex;
    flex-direction: column;
  }

  #edit-content-legales2 {
    margin-left: 0;
  }

  #edit-content-legales {
    margin-top: 20px;
  }

  #edit-text-final {
    font-size: 10px;
  }

  #edit-cancelar-boton {
    text-align: center;
    font-size: 15px;
  }

  .webform-submission-form .form-actions {
    text-align: center;
  }

  #edit-content-botons {
    display: flex;
    flex-direction: column-reverse;
  }

  #edit-text-two,
  #edit-texto-3 {
    font-size: 12px;
  }

  #edit-publicitarios-o-comerciales--wrapper > div label,
  #edit-cobranza--wrapper > div label {
    font-size: 12px;
  }

  #edit-publicitarios-o-comerciales--wrapper > div label,
  #edit-cobranza--wrapper > div label {
    font-size: 12px;
    color: #000;
    line-height: inherit;
    font-weight: 300;
    line-height: 100%;
  }

  #edit-content-legales-all {
    #edit-content-legales, #edit-content-legales2 {
        width: 100%;
    }
}
}
