.widget-form .stacks {
  position: relative;
  padding-bottom: 0;
  border-radius: 0;
  background: #e7e7e7;
  border-color: #ccc;
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.15);
}

.draggable .widget-form .stacks {
  background: #f7f7f7;
  box-shadow: none;
}

.widget-form .stacks .form-wrapper {
  margin-bottom: 1em;
}

.widget-form .stacks div[data-drupal-selector*='edit-wrapper-'] {
  margin-bottom: 0; 
}


.widget_type_list {
  top: .85rem;
  right: 9.5rem;
  font-size: .75rem;
  line-height: 1;
}

.widget-title {
  font-size: inherit;
  color: inherit;
  padding: 0.85em 1.25em;
  text-shadow: 0 1px 0 white;
  font-weight: bold;
  text-transform: uppercase;
  line-height: 1.295em;
  border-top: none;
  background: #f7f7f7;
  margin-bottom: 0 !important;
  box-shadow: none;
}

.draggable .widget-title {
  text-overflow: ellipsis;
  max-width: calc(100% - 220px);
  white-space: nowrap;
  overflow: hidden;
}

.widget-collapsed__buttons {
  position: absolute;
  right: 0;
  top: .4rem;
}

.widget-collapsed__buttons a {
  font-size: .75rem;
}

/* .stack .js-form-item input {
  width: 100%;
} */

.stacks input.form-autocomplete,
.stacks input.form-text,
.stacks input.form-tel,
.stacks input.form-email,
.stacks input.form-url,
.stacks input.form-search,
.stacks input.form-number,
.stacks input.form-color,
.stacks input.form-file,
.stacks input.form-date,
.stacks input.form-time,
.stacks textarea.form-textarea {
  font-size: 1em !important;
  max-width: 100% !important;
  width: 100% !important;
}

form.stacks .form-text {
  box-sizing: border-box !important;
  padding: .3em .4em .3em .5em !important;
  border: 1px solid #b8b8b8v;
  border-top-color: #999 !important;
  border-radius: 2px !important;
  background: white !important;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, .125) !important;
  color: #595959 !important;
  -webkit-transition: border linear 0.2s, box-shadow linear 0.2sv;
  transition: border linear 0.2s, box-shadow linear 0.2sv;
}

.js-form-item-widget-name {
  position: relative;
}

.widget-name-message {
  position: absolute;
  top: 1.45rem;
  right: 0;
}

.field--type-stacks-type tbody td {
  padding: 0.75em 0;
}

.field--type-stacks-type .form-actions {
  padding: 1rem 1.5rem 1rem 1.5rem;
  border-top: 1px solid #ccc;
  background: white;
}

.field--type-stacks-type tbody .tabledrag-hide {
  width: 1em;
  padding-left: 1em;
}

.field--type-stacks-type tr > .form-item {
  margin: 0 !important;
}

.delta-order,
.delta-order .form-item {
  margin: 0;
}

form.stacks .widget_type_list {
  right: 1rem;
}

form.stacks .widget_title {
  border-bottom: 1px solid #bfbfbf;
}

.step_2_wrapper_widget_name {
  padding: .75em 2rem 0;
  background-color: transparent;
  background-image: -webkit-linear-gradient(top, rgba(0, 0, 0, 0.125), transparent 4px);
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.125), transparent 4px);
  border-top-width: 0;
}

.step_2_wrapper {
  padding: .75em 2rem;
}

.filter-wrapper {
  background: white;
}

.field--type-stacks-type tr .details-wrapper .form-item {
  margin: 0.75em 0 !important;
}
