.am-steps {
  font-size: 0;
  width: 100%;
  line-height: 1.5;
}
.am-steps-item {
  position: relative;
  display: inline-block;
  vertical-align: top;
}
.am-steps-item.am-steps-status-wait .am-steps-head-inner {
  border-color: #bbb;
  background-color: #fff;
}
.am-steps-item.am-steps-status-wait .am-steps-head-inner > .am-steps-icon {
  color: #bbb;
}
.am-steps-item.am-steps-status-wait .am-steps-title {
  color: #000;
}
.am-steps-item.am-steps-status-wait .am-steps-description {
  color: #bbb;
}
.am-steps-item.am-steps-status-wait .am-steps-tail > i {
  background-color: #bbb;
}
.am-steps-item.am-steps-status-process .am-steps-head-inner {
  border-color: #108ee9;
  background-color: #108ee9;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 0;
}
.am-steps-item.am-steps-status-process .am-steps-head-inner > .am-steps-icon {
  color: #fff;
}
.am-steps-item.am-steps-status-process .am-steps-title {
  color: #000;
}
.am-steps-item.am-steps-status-process .am-steps-description {
  color: #bbb;
}
.am-steps-item.am-steps-status-process .am-steps-tail > i {
  background-color: #108ee9;
  width: 50%;
}
.am-steps-item.am-steps-status-finish .am-steps-head-inner {
  border-color: #108ee9;
  background-color: #fff;
}
.am-steps-item.am-steps-status-finish .am-steps-head-inner > .am-steps-icon {
  color: #108ee9;
}
.am-steps-item.am-steps-status-finish .am-steps-tail > i {
  background-color: #108ee9;
}
.am-steps-item.am-steps-status-finish .am-steps-title {
  color: #000;
}
.am-steps-item.am-steps-status-finish .am-steps-description {
  color: #bbb;
}
.am-steps-item.am-steps-status-error .am-steps-head-inner {
  border-color: #f4333c;
  background-color: #fff;
}
.am-steps-item.am-steps-status-error .am-steps-head-inner > .am-steps-icon {
  color: #f4333c;
}
.am-steps-item.am-steps-status-error .am-steps-title {
  color: #000;
}
.am-steps-item.am-steps-status-error .am-steps-description {
  color: #bbb;
}
.am-steps-item.am-steps-status-error .am-steps-tail > i {
  background-color: #ddd;
}
.am-steps-item.am-steps-next-error .am-steps-tail > i,
.am-steps-item.am-steps-next-error .am-steps-tail > i:after {
  background-color: #f4333c;
}
.am-steps-item.am-steps-custom .am-steps-head-inner {
  background: none;
  border: 0;
  width: auto;
  height: auto;
}
.am-steps-item.am-steps-custom .am-steps-head-inner > .am-steps-icon {
  display: block;
  font-size: 22px;
  width: 22px;
  height: 22px;
  background-color: #fff;
  border-radius: 50%;
}
.am-steps-item.am-steps-custom.am-steps-status-process .am-steps-head-inner > .am-steps-icon {
  color: #108ee9;
}
.ellipsis-item.am-steps-status-wait.am-steps-item.am-steps-custom .am-steps-head-inner > .am-steps-icon {
  font-size: 15px;
  line-height: 20px;
  width: 20px;
  height: 20px;
  border: 2px solid #bbb;
  border-radius: 50%;
}
.ellipsis-item.am-steps-status-wait.am-steps-item.am-steps-custom .am-steps-head-inner > .am-steps-icon .am-icon {
  width: 18px;
  height: 18px;
}
.am-steps-item.error-tail .am-steps-tail {
  background-color: #f4333c;
}
.am-steps-head,
.am-steps-main {
  position: relative;
  display: inline-block;
  vertical-align: top;
}
.am-steps-head-inner {
  display: block;
  box-sizing: border-box;
  border: 2px solid #bbb;
  width: 24px;
  height: 24px;
  line-height: 24px;
  text-align: center;
  border-radius: 24px;
  font-size: 14px;
  margin-right: 8px;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}
.am-steps-head-inner > .am-steps-icon {
  line-height: 1;
  top: -1.2 0.5px;
  color: #108ee9;
  position: relative;
}
.am-steps-title {
  font-size: 16px;
  margin-bottom: 2px;
  font-weight: bold;
  display: inline-block;
  padding-right: 5px;
}
.am-steps-item:last-child .am-steps-title {
  padding-right: 0;
}
.am-steps-item:last-child .am-steps-tail {
  display: none;
}
.am-steps-description {
  font-size: 15px;
}
.am-steps-tail {
  position: absolute;
  left: 0;
  width: 100%;
  top: 10px;
}
.am-steps-tail > i {
  display: inline-block;
  vertical-align: top;
  background: #ddd;
  height: 2px;
  width: 100%;
  position: relative;
}
.am-steps-tail > i:after {
  position: absolute;
  content: '';
  top: 0;
  width: 0;
  background: #ddd;
  height: 100%;
  opacity: 0;
}
.am-steps.am-steps-small .am-steps-main {
  margin-top: 0;
}
.am-steps.am-steps-small .am-steps-title {
  font-size: 16px;
  color: #000;
}
.am-steps.am-steps-small .am-steps-description {
  font-size: 12px;
  color: #bbb;
}
.am-steps.am-steps-small .am-steps-tail {
  padding: 0 4px;
}
.am-steps.am-steps-small .am-steps-tail > i {
  height: 1PX;
  border-radius: 1PX;
  width: 100%;
}
.am-steps.am-steps-small .am-steps-item.am-steps-custom .am-steps-head-inner,
.am-steps-item.am-steps-status-error .am-steps-head-inner,
.am-steps-item.am-steps-custom .am-steps-head-inner {
  width: inherit;
  height: inherit;
  line-height: inherit;
  border-radius: 0;
  border: 0;
  background: none;
}
.am-steps.am-steps-small .am-steps-item.am-steps-custom .am-steps-head-inner > .am-steps-icon {
  font-size: 18px;
  width: 18px;
  height: 18px;
  background-color: #fff;
}
.am-steps.am-steps-small .am-steps-item.am-steps-custom .am-steps-head-inner > .am-steps-icon .am-icon {
  width: 18px;
  height: 18px;
}
.am-steps.am-steps-small .ellipsis-item.am-steps-item.am-steps-status-wait.am-steps-custom .am-steps-head-inner > .am-steps-icon .am-icon {
  width: 12px;
  height: 12px;
}
.am-steps.am-steps-small .am-steps-item.am-steps-status-wait.am-steps-custom .am-steps-head-inner > .am-steps-icon {
  font-size: 10px;
  width: 14px;
  height: 14px;
  line-height: 14px;
}
.am-steps.am-steps-small .am-steps-item.am-steps-status-process .am-steps-head-inner {
  box-sizing: border-box;
  width: 18px;
  height: 18px;
  line-height: 18px;
  border-radius: 50%;
}
.am-steps-vertical .am-steps-item {
  display: block;
}
.am-steps-vertical .am-steps-tail {
  position: absolute;
  left: 11px;
  height: 100%;
  width: 2px;
  padding: 0;
  background-color: #ddd;
}
.am-steps-vertical .am-steps-tail > i {
  height: 100%;
  width: 2px;
}
.am-steps-vertical .am-steps-tail > i:after {
  height: 0;
  width: 100%;
}
.am-steps-vertical .am-steps-status-finish .am-steps-tail > i:after {
  height: 100%;
}
.am-steps-vertical .am-steps-head {
  float: left;
}
.am-steps-vertical .am-steps-head-inner {
  margin-right: 15px;
}
.am-steps-vertical .am-steps-main {
  min-height: 70px;
  overflow: hidden;
  display: block;
}
.am-steps-vertical .am-steps-main .am-steps-description {
  padding-bottom: 9px;
}
.am-steps-vertical .am-steps-item.am-steps-status-process .am-steps-tail > i {
  width: 2px;
  height: 55%;
}
.am-steps-vertical.am-steps-small .am-steps-tail {
  position: absolute;
  left: 8px;
  padding: 0;
  width: 1PX;
}
.am-steps-vertical.am-steps-small .am-steps-tail > i {
  height: 100%;
}
.am-steps-vertical.am-steps-small .am-steps-item.am-steps-status-process .am-steps-tail > i {
  height: 50%;
  width: 1PX;
}
.am-steps-vertical.am-steps-small .am-steps-item .am-steps-head-inner {
  margin-right: 8px;
}
.am-steps-horizontal.am-steps-hidden {
  visibility: hidden;
}
.am-steps-horizontal .am-steps-description {
  max-width: 75px;
}
.am-steps-horizontal.am-steps-small .am-steps-tail {
  top: 8px;
}
.am-steps-label-vertical .am-steps-tail {
  left: 30px;
  right: 0;
  width: auto;
  background-color: #ddd;
}
.am-steps-label-vertical .am-steps-item .am-steps-step {
  display: inline-block;
  text-align: center;
}
.am-steps-label-vertical .am-steps-item:not(:first-child) .am-steps-head {
  margin-left: 0;
  padding-left: 0;
}
.am-steps-label-vertical .am-steps-head {
  display: inline-block;
}
.am-steps-label-vertical .am-steps-head-inner {
  margin: 0 auto;
}
.am-steps-label-vertical .am-steps-main {
  display: block;
  margin-top: 6px;
}
.am-steps-label-vertical .am-steps-main .am-steps-title {
  padding-right: 0;
}
.am-steps-label-vertical .am-steps-main .am-steps-description {
  text-align: left;
}
