.tabs {
  max-width: 100%;
  margin: auto;
  margin-bottom: 20px;
  overflow: hidden;
}
.tabs * {
  box-sizing: border-box;
}

.tabs__bar-wrap {
  position: relative;
}
.tabs__bar-wrap.has-left-overflow::before {
  content: "";
  position: absolute;
  z-index: 10;
  top: 0;
  bottom: 0;
  width: 30px;
  pointer-events: none;
}
.tabs__bar-wrap.has-right-overflow::after {
  content: "";
  position: absolute;
  z-index: 10;
  top: 0;
  bottom: 0;
  width: 30px;
  pointer-events: none;
}
.tabs__bar-wrap.has-left-overflow::before {
  left: 0;
}
.tabs__bar-wrap.has-right-overflow::after {
  right: 0;
}

.tabs__bar {
  position: relative;
  display: flex;
  width: 100%;
  border-radius: 3px 3px 0 0;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}
@media (min-width: 480px) {
  .tabs__bar {
    min-width: auto;
    overflow: hidden;
  }
}

.tabs__line {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 6px;
  background-color: #ffa400;
  will-change: transform;
  transform-origin: left;
}

.tabs__controls {
  flex: 1 0 auto;
  min-width: 150px;
  display: block;
  padding: 20px 10px;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  cursor: pointer;
  letter-spacing: 1px;
  font-size: 12px;
  font-weight: 800;
}
.tabs__controls.is-active {
  color: #ffa400;
}
@media (min-width: 520px) {
  .tabs__controls {
    min-width: auto;
    font-size: 10px;
  }
}

@media only screen and (max-width: 900px) {
	.br {
		display: block;
	}
}

.tabs__controls:hover {
  background-color: rgba(0, 0, 0, 0.03);
}

.tabs__controls:active {
  -webkit-user-select: none;
          user-select: none;
}

.tabs__content {
  position: relative;
  display: flex;
  align-items: flex-start;
  width: calc(600px * 3);
  overflow-y: hidden;
  background-color: #fff;
  will-change: transform, height;
}

.tabs__content.has-grab {
  cursor: grabbing;
}

.tabs__section {
  width: 600px;
}