/**
 * Formularios del front (Webform y el resto).
 */
form.webform-submission-form .form-item {
margin-bottom: 1.5rem;
}

form.webform-submission-form,
.webform-si {
  max-width: 100%;
}

.webform-si .form-control {
  padding: 0.5rem 1rem;
}

.webform-si .form-label,
.webform-si legend {
  font-weight: 600;
  color: #253A30;
  margin-bottom: 0.5rem;
	font-size: 1rem;
}

.webform-si .form-required:after {
  content: " *";
  color: #b42318;
}

.webform-si .form-control,
.webform-si .form-select {
  border-radius: 8px;
  border-color: #ced4da;
  min-height: 2.75rem;
	padding: 0.5rem 1rem;
}

/* Opción vacía del select = mismo color que ::placeholder de los inputs. */
.webform-si .form-select:has(> option[value=""]:checked),
.webform-si .form-select:has(> option[value="_none"]:checked) {
  color: var(--bs-secondary-color);
}

.webform-si .form-select option {
  color: var(--bs-body-color);
}

.webform-si .form-select option[value=""],
.webform-si .form-select option[value="_none"],
.webform-si .form-select option.form-select__placeholder {
  color: var(--bs-secondary-color);
}

.webform-si .form-control:focus,
.webform-si .form-select:focus {
  border-color: var(--green_03);
  box-shadow: 0 0 0 0.25rem rgba(54, 157, 109, 0.25);
}

.webform-si .form-text,
.webform-si .description {
  color: #000;
  font-size: 1rem;
  margin-top: 0;
}

.webform-si .description {
	color: #7B847F;
}

.webform-si .form-item--error .form-control,
.webform-si .form-item--error .form-select {
  border-color: #CE3836;
}

.webform-si .form-item--error-message {
  color: #CE3836;
  font-size: 0.875rem;
  margin-top: 0.35rem;
}

.webform-si .form-actions {
  margin-top: 0.5rem;
}

.webform-si .form-actions .btn {
  min-width: 10rem;
  padding: 0.65rem 1.5rem;
  border-radius: 8px;
}

.webform-si-section-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #253A30;
  margin-bottom: 0.5rem;
}

.webform-si-section-title:not(:first-child) {
  margin-top: 1.5rem;
}

.webform-si-section-description {
	font-size: 0.875rem;
	color: #65736B;
	margin-bottom: 0.75rem;
}

.webform-si .text-muted,
.webform-si label .text-muted {
	font-size: 0.875rem;
	color: #65736B !important;
	font-weight: 400;
}

.webform-si-section-rule {  
  border-color: #ECECEC;
}

/* Los errores de Webform se muestran en cada input, no en el resumen. */
.webform-ajax-form-wrapper [data-drupal-messages],
.webform-si-form [data-drupal-messages] {
  display: none;
}
