.tabs_accordion {
  display: block;
}
.tabs_accordion > input {
  position: relative;
  left: -50000px;
  height: 0px;
  line-height: 0;
}
.tabs_accordion > input:nth-child(1):checked ~ ul.tabs > li:nth-of-type(1) {
  font-weight: bold;
}
.tabs_accordion > input:nth-child(1):checked ~ div.content > label:nth-of-type(1) {
  font-weight: bold;
  border-radius: 5px 5px 0 0;
  margin-bottom: 0;
}
.tabs_accordion > input:nth-child(1):checked ~ div.content > div:nth-of-type(1) {
  display: block;
  border-top: none;
}
.tabs_accordion > input:nth-child(2):checked ~ ul.tabs > li:nth-of-type(2) {
  font-weight: bold;
}
.tabs_accordion > input:nth-child(2):checked ~ div.content > label:nth-of-type(2) {
  font-weight: bold;
  border-radius: 5px 5px 0 0;
  margin-bottom: 0;
}
.tabs_accordion > input:nth-child(2):checked ~ div.content > div:nth-of-type(2) {
  display: block;
  border-top: none;
}
.tabs_accordion > input:nth-child(3):checked ~ ul.tabs > li:nth-of-type(3) {
  font-weight: bold;
}
.tabs_accordion > input:nth-child(3):checked ~ div.content > label:nth-of-type(3) {
  font-weight: bold;
  border-radius: 5px 5px 0 0;
  margin-bottom: 0;
}
.tabs_accordion > input:nth-child(3):checked ~ div.content > div:nth-of-type(3) {
  display: block;
  border-top: none;
}
.tabs_accordion > input:nth-child(4):checked ~ ul.tabs > li:nth-of-type(4) {
  font-weight: bold;
}
.tabs_accordion > input:nth-child(4):checked ~ div.content > label:nth-of-type(4) {
  font-weight: bold;
  border-radius: 5px 5px 0 0;
  margin-bottom: 0;
}
.tabs_accordion > input:nth-child(4):checked ~ div.content > div:nth-of-type(4) {
  display: block;
  border-top: none;
}
.tabs_accordion > input:nth-child(5):checked ~ ul.tabs > li:nth-of-type(5) {
  font-weight: bold;
}
.tabs_accordion > input:nth-child(5):checked ~ div.content > label:nth-of-type(5) {
  font-weight: bold;
  border-radius: 5px 5px 0 0;
  margin-bottom: 0;
}
.tabs_accordion > input:nth-child(5):checked ~ div.content > div:nth-of-type(5) {
  display: block;
  border-top: none;
}
.tabs_accordion ul.tabs {
  display: table;
  width: 100%;
  display: none;
  background-color: #ccc;
  border-radius: 5px 5px 0 0;
  padding: 0;
  margin: 0;
  overflow: hidden;
  box-sizing: border-box;
  -moz-user-select: -moz-none;
  -ms-user-select: none;
  -webkit-user-select: none;
  user-select: none;
}
.tabs_accordion ul.tabs li {
  display: table-cell;
  cursor: pointer;
}
.tabs_accordion ul.tabs li label {
  display: block;
  width: 100%;
  height: 100%;
  padding: 5px;
  text-align: center;
  border-left: 1px solid #eee;
  margin: 2px 0;
  box-sizing: border-box;
  cursor: pointer;
}
.tabs_accordion ul.tabs li label:focus {
  font-weight: bold;
}
.tabs_accordion ul.tabs li:hover {
  background-color: #999;
}
.tabs_accordion ul.tabs li:hover label {
  border-left-color: transparent;
}
.tabs_accordion ul.tabs li:hover + li > label {
  border-left-color: transparent;
}
.tabs_accordion ul.tabs li:first-child label {
  border-left-color: transparent;
}
.tabs_accordion div.content > label {
  display: block;
  background-color: #ccc;
  border-radius: 5px;
  padding: 10px;
  margin-bottom: 1em;
  cursor: pointer;
  -moz-user-select: -moz-none;
  -ms-user-select: none;
  -webkit-user-select: none;
  user-select: none;
}
.tabs_accordion div.content > div {
  display: none;
  border: 1px solid #ccc;
  padding: 10px;
  border-radius: 0 0 5px 5px;
  background-color: #fff;
  margin-bottom: 1em;
}

@media screen and (min-width: 500px) {
  .tabs_accordion ul.tabs {
    display: table;
  }
  .tabs_accordion div.content > label {
    display: none;
  }
  .tabs_accordion div.content > div {
    margin-bottom: 0;
  }
}
/****
* General styles
****/

/*
body {
  padding: 20px;
  background-color: #eee;
  font-family: 'Arial', sans-serif;
}

p, h1, h2, h3, ul, ol {
  margin-bottom: 1em;
  display: block;
}

h1 {
  font-size: 1.4em;
  font-weight: bold;
}

h2 {
  font-size: 1.1em;
  font-weight: bold;
}

ul {
  list-style-type: disc;
  padding-left: 1.5em;
}

ol {
  list-style-type: decimal;
  padding-left: 1.5em;
}

li {
  margin-bottom: .4em;
}
*/