.tabs{
  line-height:1.5;
  margin-bottom: 0;
  padding:0
}
.tabs::before,.tabs::after{
  display:table;
  content:'';
  clear:both
}
@media(max-width:40em){
  .tabs{
    border:1px solid #dcdcdc;
    border-radius:3px
  }
}
.tabs .tab{
  list-style:none
}
@media(min-width:40em){
  .tabs .tab{
    display:inline
  }
}
.tabs .tab:first-child .tab-button{
  border-top-left-radius:3px;
  border-top-right-radius:3px
}
@media(max-width:40em){
  .tabs .tab:first-child .tab-button{
    border-top:0
  }
}
@media(max-width:40em){
  .tabs .tab:last-child .tab-button{
    border-bottom-left-radius:3px;
    border-bottom-right-radius:3px
  }
}
.tabs .tab.active .tab-button{
  background-color:#f7f7f7;
}
@media(min-width:40em){
  .tabs .tab.active .tab-button{
    background-color:#f8f8f8;
    border:1px solid #dcdcdc;
    border-bottom-color:#f8f8f8;
    margin-bottom:-1px;
  }
}
.tabs .tab.active .tab-content{
  display: block;
}
.tabs .tab-button {
  font-family: 'Open Sans','Helvetica Neue',Helvetica,Arial,sans-serif;
  font-size: 13px;
  color: #477dca;
  font-weight: bold;
  background-color: transparent;
  border-top: 1px solid #dcdcdc;
  display: block;
  padding: 5px 20px;
  text-decoration: none;
}
@media(min-width:40em){
  .tabs .tab-button{
    border-top-left-radius:3px;
    border-top-right-radius:3px;
    border-top:0;
    display:inline-block
  }
}
.tabs .tab-button:hover{
  color:#477dca
}
.tabs .tab-button:focus{
  outline:none
}
.tabs .tab-content{
  background:#f8f8f8;
  display:none;
  padding:1.5em 10px;
  width:100%
}
@media(min-width:40em){
  .tabs .tab-content{
    border:1px solid #dcdcdc;
    border-bottom-left-radius:3px;
    border-bottom-right-radius:3px;
    border-top-right-radius:3px;
    float:left
  }
}
