/*Maquetando multistep en admin theme*/

.gin--edit-form .form-item--steps-label + .step-description {
  font-size: 1.5rem;
  font-weight: 700;
}
/*Modificando formulario de edicion y creacion solo cuando es multistep*/
.gin--edit-form form.form-multistep {
  background: unset;
  box-shadow: unset;
  border: unset;
}

.gin--edit-form .node-form .step-description {
  background: var(--gin-bg-layer);
  padding: var(--gin-spacing-l);
  border-radius: 15px 15px 0 0;
  position: relative;
  border: 1px solid var(--gin-border-color-layer);
  box-shadow: var(--gin-shadow-l1);
  margin-bottom: -1px;
  padding-bottom: 0;
}

.gin--edit-form .node-form .field-group-form-step {
  background: var(--gin-bg-layer);
  border: 1px solid var(--gin-border-color-layer);
  box-shadow: var(--gin-shadow-l1);
  padding: var(--gin-spacing-l);
  border-radius: 0 0 15px 15px;
  border-top: 0;
  position: relative;
  z-index: 1;
}

.gin--edit-form .form-item--steps-label .multi-steps-label {
  display: flex;
  justify-content: center;
}
.gin--edit-form .form-item--steps-label .multi-steps-label .step-label {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 0;
  margin-right: 36px;
  padding: 0 !important;
  color: black;
  font-weight: 700;
  text-align: center;
}
.gin--edit-form .form-item--steps-label .multi-steps-label .step-label:before {
  background-color: #fff;
  height: 50px;
  width: 50px;
  border-radius: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  color: black;
}

.gin--edit-form .form-item--steps-label .multi-steps-label .step-label.active {
  background-color: var(--gin-color-primary);
  color: white !important;
}
.gin--edit-form .form-item--steps-label .multi-steps-label .step-label:after {
  content: "";
  width: 20px;
  display: block;
  position: absolute;
  z-index: 1;
  left: calc(100% + 8px);
  top: 50%;
  background: black;
  height: 1px;
}
.gin--edit-form .form-item--steps-label .multi-steps-label .step-label:last-child {
  margin: 0;
}
.gin--edit-form .form-item--steps-label .multi-steps-label .step-label:last-child:after {
  display: none;
}

.gin--edit-form .field-group-form-step {
  display: flex;
  flex-wrap: wrap;
}

.gin--edit-form .field-group-form-step > .field-group-tab {
  width: 100%;
}

.gin--edit-form .field-group-form-step > .field-group-tab>.details-wrapper {
  display: flex;
  flex-wrap: wrap;
}

/*Este selector se utiliza para diferenciar otros form-wrapper y poder maquetar de forma genérica sin indentar mucho*/
.gin--edit-form .field-group-form-step div[class|="field--type"], .gin--edit-form .field-group-form-step div.form-type--date  {
  width: 100%;
}
.field--type-text-long, .field--widget-file-generic, .field--name-field-informativo , .field--type-string-long {
  min-width: 100%;
}
.file-widget-multiple .file-widget-multiple__table-wrapper .form-type-managed-file>small.description.text-muted {
  display: none;
}
.field--type-text-long .filter-tips , .field--type-string-long .filter-tips, .field--type-text-long .filter-help , .field--type-string-long .filter-help {
  display: none;
}

.gin--edit-form .field-group-form-step .field--type-text-long, .gin--edit-form .field-group-form-step .field--name-field-proteccion-datos,
.gin--edit-form .field-group-form-step .field--name-field-autorizacion-uso {
  min-width: 100%;
}

.gin--edit-form .field-group-form-step div[class|="field--type"] input:not(.form-submit):not(.form-boolean), .gin--edit-form .field-group-form-step div[class|="field--type"] select {
  width: 100%;
}
.gin--edit-form .field-group-form-step .field--type-list-string.field--widget-options-buttons {
  width: 100%;
}
.gin--edit-form .field-group-form-step .field--type-list-string.field--widget-options-buttons input {
  width: 21px;
}
.gin--edit-form .field-group-form-step .file-widget-multiple .form-item .form-managed-file.is-multiple+.form-item__description {
  display: none;
}
.gin--edit-form .field-group-form-step small.description.text-muted {
  display: block;
  max-width: var(--gin-max-line-length);
  color: var(--gin-color-text-light);
}
@media only screen and (min-width: 768px) {
  .gin--edit-form .node-form .field-group-form-step {
    background: var(--gin-bg-layer);
    border: 1px solid var(--gin-border-color-layer);
    box-shadow: var(--gin-shadow-l1);
    padding: var(--gin-spacing-l);
    padding-left: calc(var(--gin-spacing-l) / 2);
    padding-right: calc(var(--gin-spacing-l) / 2);
    border-radius: 0 0 15px 15px;
    border-top: 0;
  }
  .gin--edit-form .node-form #edit-group-documentos-step fieldset {
    width: 100%;
  }
  .gin--edit-form .node-form #edit-group-documentos-step>fieldset>legend .fieldset__label {
    display: none;
  }

  .gin--edit-form .form-item--steps-label .multi-steps-label {
    display: flex;
    justify-content: center;
  }
  .gin--edit-form .form-item--steps-label .multi-steps-label .step-label {
    font-size: var(--gin-font-size-s);
    margin-right: 52px;
    padding: 0 10px !important;
    color: var(--gin-color-primary) !important;
    border: 1px solid var(--gin-color-primary);
    border-radius: 10px;
    font-weight: bold;
  }

  .gin--edit-form .form-item--steps-label .multi-steps-label .step-label:after {
    width: 0;
  }
  /*Este selector se utiliza para diferenciar otros form-wrapper y poder maquetar de forma genérica sin indentar mucho*/
  .gin--edit-form .field-group-form-step div[class|="field--type"] {
    width: 50%;
    display: flex;
    align-items: flex-end;
  }
  .gin--edit-form .field-group-form-step div[class|="field--type"]>div, .gin--edit-form .field-group-form-step div[class|="field--type"]>fieldset {
    padding-left: calc(var(--gin-spacing-l) / 2);
    padding-right: calc(var(--gin-spacing-l) / 2);
    width: 100%;
  }
}

.gin--edit-form .claro-details__summary {
  background: #e0f1ec;
}

@media only screen and (min-width: 1200px) {
  /*Este selector se utiliza para diferenciar otros form-wrapper y poder maquetar de forma genérica sin indentar mucho*/
  .gin--edit-form .field-group-form-step div[class|="field--type"] {
    width: 100%;
  }

  .gin--edit-form .field-group-form-step div[class|="field--type"] .claro-details{
    width: 100%;
  }

  .gin--edit-form .field-group-form-step div[class|="field--type"] .details-wrapper{
    text-align: center;

  }
}


