#tab-container {
  font-family: 'Open Sans', Arial, sans-serif;
  color: #444;
}

#tabs {
  margin: 0;
  padding: 0;
  list-style-type: none;
}

#tabs li {
  display: inline-block;
  position: relative;
  padding: 0;
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 1px;
  border: 1px solid #D0D0D0;
  border-bottom: none;
  background: #F2F2F2;
  color: #828282;
  margin-right: 3px;
}

#tabs li a, #tabs li a:hover, #tabs li a:visited {
  text-decoration: none;
  display: block;
  width: 100%;
  height: 100%;
  color: #222222;
  padding: 5px 16px;
}

#tabs li.active a, #tabs li.active a:hover, #tabs li.active a:visited {
  text-decoration: none;
  color: #222222;
}

#tabs li:hover {
  cursor: pointer;
}

#tabs li:not(.active):hover {
  background-color: #ECECEC;
}

#tabs li.active {
  background-color: #fff;
  color: #444;
}

#tabs .overlay {
  display: none;
  position: absolute;
  left: 0px;
  bottom: -3px;
  width: 100%;
  border-bottom: 4px solid #fff;
}

#tabs li.active>.overlay {
  display: block;
}

#tab-content {
  margin-top: 0;
  padding: 15px 10px;
  border: 1px solid #D0D0D0;
}

#tab-content .tab-section {
  display: none;
  padding: 20px;
}

#tab-content .tab-section.active {
  display: block;
}

/*  //tablet */

@media only screen and (max-width: 940px) and (min-width: 826px) {
  #tabs li {
    font-size: 11px;
  }
  #tabs li a, #tabs li a:hover, #tabs li a:visited {
    padding: 5px 10px;
  }
}

@media only screen and (max-width: 825px) and (min-width: 756px) {
  #tabs li {
    font-size: 10px;
  }
  #tabs li a, #tabs li a:hover, #tabs li a:visited {
    padding: 4px 8px;
  }
}

/*  //phone */

@media only screen and (max-width: 755px) {
  #tabs li {
    font-size: 12px;
    display: block;
    /* float: left; */
  }
  #tabs li a, #tabs li a:hover, #tabs li a:visited {
    padding: 4px 8px;
  }
  #tabs .overlay {
    border-bottom: 1px solid #D0D0D0;
    bottom: -1px;
  }
}