.step-wrapper {
  padding: 20px 0;
  display: none;
}

.step-wrapper.active {
  display: block;
}

.step-indicator {
  border-collapse: separate;
  display: table;
  margin-left: 0px;
  position: relative;
  table-layout: fixed;
  text-align: center;
  vertical-align: middle;
  padding-left: 0;
}

.step-indicator li {
  display: table-cell;
  position: relative;
  float: none;
  padding: 0;
  width: 1%;
}

.step-indicator li:after {
  background-color: #6c757d;
  content: "";
  display: block;
  height: 2px;
  position: absolute;
  width: 100%;
  top: 16px;
}

.step-indicator li:after {
  left: 50%;
}

.step-indicator li:last-child:after {
  display: none;
}

.step-indicator li.active .step {
  border-color: #2196f3;
  color: #2196f3;
}

.step-indicator li.active .step-caption {
  color: #2196f3;
}

.step-indicator li.complete:after {
  background-color: #4caf50;
}

.step-indicator li.complete .step {
  border-color: #4caf50;
  color: #4caf50;
}

.step-indicator li.complete .step-caption {
  color: #4caf50;
}

.step-indicator .step {
  background-color: #fff;
  border-radius: 50%;
  border: 2px solid #6c757d;
  color: #6c757d;
  font-size: 16px;
  height: 32px;
  line-height: 32px;
  margin: 0 auto;
  position: relative;
  width: 32px;
  z-index: 1;
}

.step-indicator .step:hover {
  cursor: pointer;
}

.step-indicator .step-caption {
  color: #6c757d;
}

.step-indicator .step-caption a {
  color: #6c757d;
}

.step-indicator .complete .step-caption a {
  color: #4caf50;
}

.step-indicator .active .step-caption a {
  color: #2196f3;
}

form .entity-moderation-form {
  display: block;
  margin: 20px;
}

form .entity-moderation-form > .entity-moderation-form__item,
form .entity-moderation-form > .form-item {
  display: inline-block;
  vertical-align: top;
  margin-right: 20px;
}

form .entity-moderation-form .form-item.form-item-new-state {
  width: 120px;
}

form .entity-moderation-form .form-item.form-item-revision-log input {
  display: block;
}

form .entity-moderation-form .btn-primary {
  background-color: #5e72e4;
}

form .entity-moderation-form > details {
  display: block;
}

.view ul.timeline-list:after {
  background-color: #dedede;
}

.view ul.timeline-list li.timeline-item .timeline-item-wrapper span.timeline-marker {
  padding-top: 4px;
  width: 150px;
  height: 45px;
  text-align: center;
  background: #5e72e4;
  color: #fff;
  border: 3px solid #fff;
  font-size: 18px;
}

.view ul.timeline-list li.timeline-item .field,
.view ul.timeline-list li.timeline-item .body-text,
.view ul.timeline-list li.timeline-item .container-inline-block,
.view ul.timeline-list li.timeline-item details {
  text-align: left;
  border-bottom: none;
}

.view ul.timeline-list li.timeline-item .timeline-date {
  font-size: 24px;
}

.view ul.timeline-list li.timeline-item .timeline-item-wrapper .timeline-marker {
  border-radius: 15px;
}

.view ul.timeline-list li.timeline-item .timeline-item-wrapper .date {
  text-align: center;
  background: #5e72e4;
  color: #fff;
  width: 130px;
  margin-left: auto;
  margin-right: auto;
}

.view ul.timeline-list li.timeline-item .timeline-item-wrapper .field {
  margnin-bottom: 0;
  padding-bottom: 0;
}

.view ul.timeline-list li.timeline-item.odd .timeline-item-wrapper .timeline-marker {
  right: -75px;
}

.view ul.timeline-list li.timeline-item.odd .timeline-date .field {
  text-align: right;
}

.view ul.timeline-list li.timeline-item.odd .node {
  margin-right: 100px;
  margin-left: 70px;
  border: 1px solid #5e72e4;
}

.view ul.timeline-list li.timeline-item.odd .arrow {
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  position: absolute;
  right: 80px;
  font-size: 26px;
  color: #5e72e4;
}

.view ul.timeline-list li.timeline-item.odd .timeline-item-wrapper .node {
  text-align: left;
}

.view ul.timeline-list li.timeline-item.even .timeline-item-wrapper .timeline-marker {
  left: -75px;
}

.view ul.timeline-list li.timeline-item.even .timeline-item-wrapper {
  padding-left: 5rem;
}

.view ul.timeline-list li.timeline-item.even .node {
  margin-right: 50px;
  margin-left: 50px;
  border: 1px solid #5e72e4;
}

.view ul.timeline-list li.timeline-item.even .arrow {
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  position: absolute;
  left: 80px;
  font-size: 18px;
  color: #5e72e4;
}

.content-moderation-entity-moderation-form .button,
.content-moderation-entity-moderation-form .view-full-workflow,
.content-moderation-entity-moderation-form .ajax-progress.ajax-progress-throbber {
  margin-top: 12px;
}

.ui-widget-content .content-moderation-entity-moderation-form a.btn {
  color: inherit;
}

.state-color-legend {
  margin-bottom: 10px;
  margin-top: 10px;
}

.state-color-legend label {
  margin-right: 5px;
}

.e-schedule-form > *,
.e-schedule-form > .e-dialog-parent > * {
  margin-bottom: 15px;
}

.e-quick-popup-wrapper .e-description-details {
  max-height: 200px;
  overflow-y: auto;
  width: 100%;
}

@media only screen and (min-width: 993px) {
  ul.stepper.horizontal::before {
    content: none !important;
  }
  ul.stepper {
    padding-left: 0;
    min-height: 76px !important;
  }
  ul.stepper .step {
    height: 32px !important;
  }
  ul.stepper .step .step-content {
    top: 28px !important;
    padding: 20px !important;
    height: 60px !important;
  }
  ul.stepper .step .step-content .step-actions a {
    margin-right: 20px;
  }
  ul.stepper .step-title {
    height: 32px !important;
    line-height: 32px !important;
  }
  ul.stepper .step-title::before {
    top: 2px !important;
    left: 19px !important;
  }
}
