.warpper-B{
  display:flex;
  flex-direction: column;
  align-items: center;
}
/*.tab{
  cursor: pointer;
  padding:10px 20px;
  margin:0px 2px;
  background:#000;
  display:inline-block;
  color:#fff;
  border-radius:3px 3px 0px 0px;
  box-shadow: 0 0.5rem 0.8rem #00000080;
}*/
.panels-B{
  background:#fffffff6;
  /*width:100%;*/
  /*max-width:500px;*/
  border-radius:3px;
  overflow:hidden;
}
.panel-B{
  display:none;
  animation: fadein .5s;
}
@keyframes fadein {
    from {
        opacity:0;
    }
    to {
        opacity:1;
    }
}
.panel-title-B{
  font-size:1.5em;
  font-weight:bold
}
.radio-B{
  display:none;
}
#one-B:checked ~ .panels-B #one-panel-B,
#two-B:checked ~ .panels-B #two-panel-B,
#three-B:checked ~ .panels-B #three-panel-B{
  display:block
}

.tab-selected {
    background-color: white;
    /*color: white;*/
}
.tab-selected.active {
    background-color: grey;
    color: white;
}
