/* Android 2.3 :checked fix */
@keyframes fake {
  from {
    opacity: 1;
  }
  to {
    opacity: 1;
  }
}
body {
  animation: fake 1s infinite;
}
.worko-tabs {
  width: 100%;
  float: left;
}
.worko-tabs .state {
  position: absolute;
  left: -10000px;
}
.worko-tabs .flex-tabs {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.worko-tabs .flex-tabs .tab {
  flex-grow: 1;
  max-height: 60px;
}
.worko-tabs .flex-tabs .panel {
  background-color: #fff;
  padding: 20px;
  display: none;
  width: 100%;
  flex-basis: auto;
  border-left: 1px solid #e4e1df ;
  border-right: 1px solid #e4e1df ;
  border-bottom: 1px solid #e4e1df ;
}
.worko-tabs .tab {
  display: inline-block;
  padding: 10px;
  vertical-align: top;
  background: #dbd5d2;
  cursor: hand;
  cursor: pointer;
  border-left: 1px solid #492515 ;
}
.worko-tabs .tab:hover {
  background-color: #fff;
}
#tab-one:checked ~ .tabs #tab-one-label,
#tab-two:checked ~ .tabs #tab-two-label,
#tab-three:checked ~ .tabs #tab-three-label,
#tab-four:checked ~ .tabs #tab-four-label,
#tab-five:checked ~ .tabs #tab-five-label,
#tab-six:checked ~ .tabs #tab-six-label {
  background-color: #492515;
  cursor: default;
  color: #FFF !important;
}
#tab-one:checked ~ .tabs #tab-one-panel,
#tab-two:checked ~ .tabs #tab-two-panel,
#tab-three:checked ~ .tabs #tab-three-panel,
#tab-four:checked ~ .tabs #tab-four-panel,
#tab-five:checked ~ .tabs #tab-five-panel,
#tab-six:checked ~ .tabs #tab-six-panel {
  display: block;
}
@media (max-width: 600px) {
  .flex-tabs {
    flex-direction: column;
    margin-top: 4em;
  }
  .flex-tabs float:left .tab {
    background: #fff;
    border-bottom: 1px solid #ccc;
  }
  .flex-tabs float:left .tab:last-of-type {
    border-bottom: none;
  }
  .flex-tabs #tab-one-label {
    order: 1;
  }
  .flex-tabs #tab-two-label {
    order: 3;
  }
  .flex-tabs #tab-three-label {
    order: 5;
  }
  .flex-tabs #tab-four-label {
    order: 7;
  }
  .flex-tabs #tab-five-label {
    order: 9;
  }
  .flex-tabs #tab-six-label {
    order: 11;
  }
  .flex-tabs #tab-one-panel {
    order: 2;
  }
  .flex-tabs #tab-two-panel {
    order: 4;
  }
  .flex-tabs #tab-three-panel {
    order: 6;
  }
  .flex-tabs #tab-four-panel {
    order: 8;
  }
  .flex-tabs #tab-five-panel {
    order: 10;
  }
  .flex-tabs #tab-six-panel {
    order: 12;
  }
  #tab-one:checked ~ .tabs #tab-one-label,
  #tab-two:checked ~ .tabs #tab-two-label,
  #tab-three:checked ~ .tabs #tab-three-label,
  #tab-four:checked ~ .tabs #tab-four-label,
  #tab-five:checked ~ .tabs #tab-five-label,
  #tab-six:checked ~ .tabs #tab-six-label {
    border-bottom: none;
  }
  #tab-one:checked ~ .tabs #tab-one-panel,
  #tab-two:checked ~ .tabs #tab-two-panel,
  #tab-three:checked ~ .tabs #tab-three-panel,
  #tab-four:checked ~ .tabs #tab-four-panel,
  #tab-five:checked ~ .tabs #tab-five-panel,
  #tab-six:checked ~ .tabs #tab-six-panel {
    border-bottom: 1px solid #ccc;
  }
}
@media (max-width: 600px) and (max-width: 999px) {
  .worko-tabs {
    /* margin: 20px; */
    width: 100%;
    float: left;
  }
}
