/*
 CSS for the main interaction
*/
.tabset > input[type="radio"] {
  position: absolute;
  left: -200vw;
}

.tabset .tab-panel {
  display: none;
}

.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;
}

/*
 Styling
*/

.tabset > label {
  position: relative;
  display: inline-block;
  padding: 15px 0 15px;
  border: 1px solid transparent;
  border-bottom: 0;
  cursor: pointer;
  font-weight: 600;
  margin-right: 15px;
  color: #00529b;
}
@media( min-width: 768px){
  .tabset > label {
    margin-right: 150px;
  }
}
.tabset > label:first-child{
	padding-left: 0;
}

.tabset > label::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 10px;
  width: 100%;
  height: 2px;
  background: transparent;
}

.tabset > label:hover,
.tabset > input:focus + label {
  color: #00529b;
}

.tabset > label:hover::after,
.tabset > input:focus + label::after,
.tabset > input:checked + label::after {
  background: #00529b;
}

.tabset > input:checked + label {
/*  border-color: #ccc;
  border-bottom: 1px solid #fff;
  margin-bottom: -1px;*/
}
.tab-panel {
  padding: 30px 0;
  border-top: 1px solid;
  border-color: #00529b;
  color: #00529b;
}

/*
 Demo purposes only
*/
*,
*:before,
*:after {
  box-sizing: border-box;
}

@media( min-width: 768px ){
  .pws-related-product-wrap .pws-related-product {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      align-items: baseline;
  }
  .pws-related-product-wrap .pws-related-product-content {
      margin-right: 30px;
      width: calc( 33% - 30px);
  }
  .pws-related-product-wrap .pws-related-product-content:last-child{
    margin-right: 0 !important;
  }
}

