/* =========================================
   SHERPA - FORMULARIO SOLICITUD DIVI 5
   Shortcode: [sherpa_solicitud_form]
   ========================================= */

/* =========================================
   CONTENEDOR GENERAL
   ========================================= */

.sherpa-solicitud,
.sherpa-solicitud #main {
  max-width: 1080px;
  margin: 0 auto;
  padding: 48px 24px 80px;
  font-family: 'Poppins', Arial, sans-serif;
  color: #111111;
  background: #ffffff;
}

.sherpa-solicitud *,
.sherpa-solicitud *::before,
.sherpa-solicitud *::after,
.sherpa-solicitud #main *,
.sherpa-solicitud #main *::before,
.sherpa-solicitud #main *::after {
  box-sizing: border-box;
}

/* =========================================
   TÍTULOS
   ========================================= */

.sherpa-solicitud h1 {
  margin: 0 0 34px !important;
  padding: 0 !important;
  color: #0067b9 !important;
  font-family: 'Poppins', Arial, sans-serif !important;
  font-size: 34px !important;
  line-height: 1.12 !important;
  font-weight: 800 !important;
  letter-spacing: -0.5px;
}

.sherpa-solicitud .form_bloque_formulario h2 {
  margin: 0 0 20px !important;
  padding: 0 !important;
  color: #0067b9 !important;
  font-family: 'Poppins', Arial, sans-serif !important;
  font-size: 21px !important;
  line-height: 1.18 !important;
  font-weight: 800 !important;
  text-transform: uppercase;
  letter-spacing: -0.2px;
}

.sherpa-solicitud h3 {
  margin: 0 0 16px !important;
  padding: 0 !important;
  color: #0067b9 !important;
  font-family: 'Poppins', Arial, sans-serif !important;
  font-size: 18px !important;
  line-height: 1.25 !important;
  font-weight: 800 !important;
}

.sherpa-solicitud h4 {
  margin: 0 0 14px !important;
  padding: 0 !important;
  font-family: 'Poppins', Arial, sans-serif !important;
  font-size: 17px !important;
  line-height: 1.25 !important;
  font-weight: 800 !important;
}

.sherpa-solicitud .form_bloque_formulario h2 .textoarial,
.sherpa-solicitud .form_bloque_formulario h2 span {
  font-size: 0.82em !important;
  line-height: 1.2 !important;
  font-weight: 700 !important;
}

/* =========================================
   ERRORES Y MENSAJES
   ========================================= */

.sherpa-solicitud .sherpa-form-errors,
.sherpa-solicitud .sherpa-form-message {
  max-width: 1080px;
  margin: 0 auto 32px;
  padding: 24px 28px;
  font-family: 'Poppins', Arial, sans-serif;
}

.sherpa-solicitud .sherpa-form-errors {
  background: #fff3f3;
  border-left: 6px solid #d93025;
}

.sherpa-solicitud .sherpa-form-message {
  background: #eef7ff;
  border-left: 6px solid #0067b9;
}

.sherpa-solicitud .sherpa-form-errors h4 {
  margin: 0 0 18px !important;
  padding: 0 !important;
  color: #d93025 !important;
  font-family: 'Poppins', Arial, sans-serif !important;
  font-size: 17px !important;
  line-height: 1.25 !important;
  font-weight: 800 !important;
}

.sherpa-solicitud .sherpa-form-errors ol {
  margin: 0;
  padding-left: 24px;
  list-style-position: outside;
}

.sherpa-solicitud .sherpa-form-errors li {
  margin-bottom: 8px;
  color: #d93025;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
}

.sherpa-solicitud .sherpa-form-errors li label.error,
.sherpa-solicitud .sherpa-form-errors label.error {
  display: inline !important;
  margin: 0 !important;
  color: #d93025;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
}

.sherpa-solicitud form#form2 label.error {
  display: block;
  margin-top: 6px;
  color: #d93025;
  font-size: 13px;
  line-height: 1.25;
  font-weight: 600;
}

.sherpa-solicitud .sherpa-field-error {
  border-color: #d93025 !important;
  box-shadow: 0 0 0 2px rgba(217, 48, 37, 0.12) !important;
}

/* =========================================
   FORMULARIO
   ========================================= */

.sherpa-solicitud form#form2,
.sherpa-solicitud .cmxform {
  width: 100%;
  margin: 0;
  padding: 0;
}

/* =========================================
   BLOQUES DEL FORMULARIO
   ========================================= */

.sherpa-solicitud .form_bloque_formulario {
  position: relative;
  margin: 0 0 34px;
  padding: 30px 34px 34px;
  background: #f2f2f2;
  clip-path: polygon(1.5% 0%, 98.5% 2%, 100% 96%, 0% 100%);
}

.sherpa-solicitud .form_bloque_formulario:nth-of-type(even) {
  background: #ffffff;
  border: 1px solid #e5e5e5;
}

.sherpa-solicitud .textoarial {
  color: #0067b9;
  font-family: 'Poppins', Arial, sans-serif;
  font-weight: 800;
}

/* =========================================
   FILAS Y COLUMNAS INTERNAS
   ========================================= */

.sherpa-solicitud .salto_linea {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 24px;
  width: 100%;
  margin: 0 0 20px;
  clear: both;
}

.sherpa-solicitud .linea_responsive {
  flex: 1 1 260px;
  min-width: 220px;
  margin: 0;
  padding: 0;
}

/* =========================================
   LABELS
   ========================================= */

.sherpa-solicitud label {
  display: inline-block;
  margin: 0 0 7px;
  color: #111111;
  font-family: 'Poppins', Arial, sans-serif;
  font-size: 15px;
  line-height: 1.25;
  font-weight: 600;
}

/* =========================================
   CAMPOS
   ========================================= */

.sherpa-solicitud input[type="text"],
.sherpa-solicitud input[type="email"],
.sherpa-solicitud input[type="tel"],
.sherpa-solicitud input[type="number"],
.sherpa-solicitud input[type="date"],
.sherpa-solicitud input[type="file"],
.sherpa-solicitud select,
.sherpa-solicitud textarea {
  width: 100%;
  min-height: 38px;
  margin: 0;
  padding: 7px 9px;
  border: 1px solid #1596e8;
  border-radius: 0;
  background: #ffffff;
  color: #111111;
  font-family: 'Poppins', Arial, sans-serif;
  font-size: 15px;
  line-height: 1.25;
  font-weight: 400;
  outline: none;
  box-shadow: none;
}

.sherpa-solicitud textarea {
  min-height: 145px;
  resize: vertical;
}

.sherpa-solicitud select {
  appearance: auto;
  cursor: pointer;
}

.sherpa-solicitud input[type="file"] {
  padding: 8px;
  background: #ffffff;
  cursor: pointer;
}

.sherpa-solicitud input[type="text"]:focus,
.sherpa-solicitud input[type="email"]:focus,
.sherpa-solicitud input[type="tel"]:focus,
.sherpa-solicitud input[type="number"]:focus,
.sherpa-solicitud input[type="date"]:focus,
.sherpa-solicitud select:focus,
.sherpa-solicitud textarea:focus {
  border-color: #0067b9;
  box-shadow: 0 0 0 2px rgba(0, 103, 185, 0.12);
}

/* =========================================
   RADIOS Y CHECKBOXES
   ========================================= */

.sherpa-solicitud input[type="radio"],
.sherpa-solicitud input[type="checkbox"] {
  width: 16px !important;
  height: 16px !important;
  margin: 0 7px 0 0;
  accent-color: #0067b9;
  vertical-align: middle;
}

.sherpa-solicitud .salto_linea > input[type="radio"],
.sherpa-solicitud .linea_responsive > input[type="radio"] {
  margin-left: 0;
}

.sherpa-solicitud input[type="radio"] + label,
.sherpa-solicitud input[type="checkbox"] + label {
  display: inline;
  margin: 0 22px 0 0;
  font-weight: 500;
  line-height: 1.4;
}

/* =========================================
   ENLACES Y TEXTOS
   ========================================= */

.sherpa-solicitud a {
  color: #0067b9;
  font-weight: 800;
  text-decoration: underline;
}

.sherpa-solicitud a:hover {
  color: #005ba4;
}

.sherpa-solicitud p {
  color: #111111;
  font-family: 'Poppins', Arial, sans-serif;
  font-size: 15px;
  line-height: 1.45;
}

/* =========================================
   BOTONES SECUNDARIOS
   ========================================= */

.sherpa-solicitud .boton {
  margin-top: 10px;
}

.sherpa-solicitud input[type="button"].anadir_nuevo,
.sherpa-solicitud .anadir_nuevo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 22px;
  border: none;
  border-radius: 0;
  background: #ffc247;
  color: #ffffff;
  font-family: 'Poppins', Arial, sans-serif;
  font-size: 15px;
  line-height: 1;
  font-weight: 800;
  cursor: pointer;
  text-transform: none;
  box-shadow: none;
}

.sherpa-solicitud input[type="button"].anadir_nuevo:hover,
.sherpa-solicitud .anadir_nuevo:hover {
  background: #f2b53e;
}

/* =========================================
   BLOQUE DE ACEPTACIÓN
   ========================================= */

.sherpa-solicitud #aceptoaviso {
  background: #0067b9;
  color: #ffffff;
  clip-path: polygon(0% 2%, 100% 0%, 98% 100%, 2% 97%);
}

.sherpa-solicitud #aceptoaviso label,
.sherpa-solicitud #aceptoaviso p,
.sherpa-solicitud #aceptoaviso .linea_responsive,
.sherpa-solicitud #aceptoaviso .salto_linea {
  color: #ffffff;
}

.sherpa-solicitud #aceptoaviso a {
  color: #ffc247;
}

.sherpa-solicitud #aceptoaviso div[style*="float"] {
  float: none !important;
  max-width: none !important;
}

.sherpa-solicitud #aceptoaviso .salto_linea[style*="margin-top"] {
  margin-top: 24px !important;
}

.sherpa-solicitud #aceptoaviso .salto_linea:last-child {
  margin-top: 18px;
  font-size: 14px;
  line-height: 1.45;
}

/* =========================================
   RECAPTCHA
   ========================================= */

.sherpa-solicitud #html_element {
  margin: 16px 0 20px;
}

/* =========================================
   BOTÓN PRINCIPAL
   ========================================= */

.sherpa-solicitud .boton_solicitar,
.sherpa-solicitud input[type="submit"],
.sherpa-solicitud #boton_enviar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 230px;
  min-height: 58px;
  padding: 0 34px;
  border: none !important;
  border-radius: 0;
  background: #0067b9 !important;
  color: #ffffff !important;
  font-family: 'Poppins', Arial, sans-serif;
  font-size: 23px;
  line-height: 1;
  font-weight: 800;
  cursor: pointer;
  text-align: center;
  box-shadow: none !important;
  transition: background .2s ease, transform .2s ease;
}

.sherpa-solicitud .boton_solicitar:hover,
.sherpa-solicitud input[type="submit"]:hover,
.sherpa-solicitud #boton_enviar:hover {
  background: #005ba4 !important;
  transform: translateY(-1px);
}

/* =========================================
   LIMPIEZA DE ESTILOS INLINE ANTIGUOS
   ========================================= */

.sherpa-solicitud [style*="float: right"] {
  float: none !important;
  text-align: right;
}

.sherpa-solicitud [style*="width: 90%"] {
  width: auto !important;
}

.sherpa-solicitud [style*="line-height"] {
  line-height: inherit;
}

.sherpa-solicitud input[type="hidden"] {
  display: none;
}

/* =========================================
   LIMPIEZA DIVI
   ========================================= */

.sherpa-solicitud .et_pb_code_inner {
  width: 100%;
}

.sherpa-solicitud .et_pb_section,
.sherpa-solicitud .et_pb_row,
.sherpa-solicitud .et_pb_column {
  overflow: visible;
}

/* =========================================
   RESPONSIVE TABLET
   ========================================= */

@media (max-width: 980px) {
  .sherpa-solicitud,
  .sherpa-solicitud #main {
    padding: 42px 20px 60px;
  }

  .sherpa-solicitud h1 {
    font-size: 30px !important;
    margin-bottom: 28px !important;
  }

  .sherpa-solicitud .form_bloque_formulario {
    padding: 28px 24px;
    clip-path: polygon(0% 1%, 100% 0%, 99% 100%, 1% 99%);
  }

  .sherpa-solicitud .form_bloque_formulario h2 {
    font-size: 19px !important;
  }

  .sherpa-solicitud h3 {
    font-size: 17px !important;
  }

  .sherpa-solicitud .salto_linea {
    gap: 16px;
  }

  .sherpa-solicitud .linea_responsive {
    flex: 1 1 100%;
    min-width: 100%;
  }

  .sherpa-solicitud input[type="radio"] + label,
  .sherpa-solicitud input[type="checkbox"] + label {
    margin-right: 14px;
  }
}

/* =========================================
   RESPONSIVE MÓVIL
   ========================================= */

@media (max-width: 600px) {
  .sherpa-solicitud,
  .sherpa-solicitud #main {
    padding-left: 16px;
    padding-right: 16px;
  }

  .sherpa-solicitud h1 {
    font-size: 27px !important;
  }

  .sherpa-solicitud .form_bloque_formulario {
    padding: 24px 18px;
    clip-path: none;
  }

  .sherpa-solicitud .form_bloque_formulario h2 {
    font-size: 18px !important;
  }

  .sherpa-solicitud #aceptoaviso {
    clip-path: none;
  }

  .sherpa-solicitud .boton_solicitar,
  .sherpa-solicitud input[type="submit"],
  .sherpa-solicitud #boton_enviar,
  .sherpa-solicitud input[type="button"].anadir_nuevo {
    width: 100%;
  }

  .sherpa-solicitud [style*="float: right"] {
    text-align: left;
  }

  .sherpa-solicitud .sherpa-form-errors {
    padding: 20px;
  }

  .sherpa-solicitud .sherpa-form-errors ol {
    padding-left: 20px;
  }
}

/* =========================================
   BOTONES ELIMINAR CAMPOS DINÁMICOS
   ========================================= */

.sherpa-solicitud .sherpa-item-adicional {
  position: relative;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(0, 103, 185, 0.18);
}

.sherpa-solicitud .sherpa-remove-wrap {
  display: flex;
  justify-content: flex-end;
  margin-top: -6px;
  margin-bottom: 8px;
}

.sherpa-solicitud .sherpa-eliminar-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 16px;
  border: 1px solid #d93025;
  border-radius: 0;
  background: #ffffff;
  color: #d93025;
  font-family: 'Poppins', Arial, sans-serif;
  font-size: 13px;
  line-height: 1;
  font-weight: 700;
  cursor: pointer;
  box-shadow: none;
}

.sherpa-solicitud .sherpa-eliminar-item:hover {
  background: #d93025;
  color: #ffffff;
}

@media (max-width: 600px) {
  .sherpa-solicitud .sherpa-remove-wrap {
    justify-content: stretch;
  }

  .sherpa-solicitud .sherpa-eliminar-item {
    width: 100%;
  }
}
