.tabset {
  max-width: 100%;

}

.tabset input[type="radio"] {
  position: absolute;
  left: -200vw;
}

.tabset .tab-panel {
  display: none;
  padding: 10px 110px;
  border-top: 1px solid #ccc;
  box-sizing: border-box;  
  text-align: justify;
}

.tabset input {
	width: 100px;
}

.tabset input:first-child:checked ~ .tab-panels .tab-panel:first-child,
.tabset input:nth-child(3):checked ~ .tab-panels .tab-panel:nth-child(2),
.tabset input:nth-child(5):checked ~ .tab-panels .tab-panel:nth-child(3),
.tabset input:nth-child(7):checked ~ .tab-panels .tab-panel:nth-child(4),
.tabset input:nth-child(9):checked ~ .tab-panels .tab-panel:nth-child(5),
.tabset input:nth-child(11):checked ~ .tab-panels .tab-panel:nth-child(6) {
  display: block;
}


.tabset label {
  position: relative;
  display: inline-block;
  padding: 10px 15px;
  border: 1px solid transparent;
  border-bottom: 0;
  cursor: pointer;
  font-weight: 600;
  width:auto;
}

.tabset label::after {
  content: "";
  position: absolute;
  left: 15px;
  bottom: 3px;
  width: 35px;
  height: 3px;
  background: #8d8d8d;
}

.tabset label:hover,
.tabset input:focus + label {
  color: #9b2c98;
}

.tabset label:hover::after,
.tabset input:focus + label::after,
.tabset input:checked + label::after {
  background: #9b2c98;
}

.tabset input:checked + label {
  border-color: #ccc;
  border-bottom: 1px solid #fff;
  margin-bottom: -1px;
}

.tab-panels h2 {
	padding:10px 0px;
}

@media(max-width:768px) {
    .tabset .tab-panel {
      padding: 10px 15px;
    }
}
