#history-root {
  position: relative;
  float: left;
  width: 100%;
  height: 56px;
}

.history-slider-wrapper {
  width: 100%;
  max-width: 100%;
  height: 50px;
  float: left;
  overflow: hidden;
  box-sizing: border-box;
  padding: 28px 0;
  position: relative;
}

#history-container {
  min-width: 100%;
  height: 2px;
  border-radius: 3px;
  margin: 0;
  margin: 0 5%;
  position: absolute;
  background: rgba(255, 255, 255, 0.5);
}

#history-slider {
  height: 0;
  position: relative;
}

#history-slider, #history-slider li, #history-content, #history-content li {
  margin: 0;
  padding: 0;
  list-style: none;
}

#history-indicator {
  height: 2px;
  border-radius: 3px;
  background-color: white;
  width: 0%;
  padding-left: 3px;
  transition: width 0.5s ease;
}

#history-slider li {
  display: inline-block;
  position: absolute;
  color: white;
  width: 40px;
  border-radius: 20px;
  text-align: center;
  font-weight: bold;
  font-size: 16px;
  top: -40px;
  cursor: pointer;
}

#history-slider li:after {
  content: '';
  width: 12px;
  height: 12px;
  border: 2px solid #e88c8c;
  border-radius: 12px;
  position: absolute;
  background: #dc0814;
  bottom: -9px;
  left: calc(50% - 8px);
  display: block;
  text-align: center;
  cursor: pointer;
}

#history-slider li.passed:after {
  border: 2px solid #fff;
}

#history-slider li.active:after {
  background: #fff;
  border: 2px solid #fff;
}

#history-content {
  position: relative;
  float: left;
  width: 100%;
}

#history-content li {
  display: none;
}

#history-content li.active {
  display: block;
}

button {
  position: absolute;
  bottom: 10px;
  height: 34px;
  width: 34px;
  border-radius: 50%;
  border: 2px solid #e88c8c;
  background: none;
  outline: none;
  cursor: pointer;
  font-size: 0;
}

button:hover {
  background: #d0161d;
}

button:focus, button:active {
  background: #d0161d;
}

button.scrollleft {
  left: 0;
  z-index: 50;
  background: #d0161d url(../gfx/arrow-back-disabled.png) no-repeat center;
  background-size: 18px;
  cursor: not-allowed;
}

button.scrollleft.active {
  border: 2px solid #e88c8c;
  background: #d0161d url(../gfx/arrow-back.png) no-repeat center;
  background-size: 18px;
  cursor: pointer;
}

button.scrollleft.active:hover {
  background: #de2f36 url(../gfx/arrow-back.png) no-repeat center;
  background-size: 18px;
}

button.scrollright {
  right: 0;
  z-index: 50;
  background: #d0161d url(../gfx/arrow-right-disabled.png) no-repeat center;
  background-size: 18px;
  cursor: not-allowed;
}

button.scrollright.active {
  border: 2px solid #e88c8c;
  background: #d0161d url(../gfx/arrow-right.png) no-repeat center;
  background-size: 18px;
  cursor: pointer;
}

button.scrollright.active:hover {
  background: #de2f36 url(../gfx/arrow-right.png) no-repeat center;
  background-size: 18px;
}
