/* Android 2.3 :checked fix */
@-webkit-keyframes fake {
  from {
    opacity: 1;
  }
  to {
    opacity: 1;
  }
}
@keyframes fake {
  from {
    opacity: 1;
  }
  to {
    opacity: 1;
  }
}
/*
body {
  -webkit-animation: fake 1s infinite;
          animation: fake 1s infinite;
}
*/

.worko-tabs {
  /* margin: 20px; */
  /* width: 80%; */
}
.worko-tabs .state {
  position: absolute;
  left: -10000px;
}
.worko-tabs .flex-tabs {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}
.worko-tabs .flex-tabs .tab {
  -webkit-box-flex: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
  max-height: 50px;
}
#tab-one:checked ~ .tabs #tab-one-label .fi::before,
#tab-two:checked ~ .tabs #tab-two-label .fi::before,
#tab-three:checked ~ .tabs #tab-three-label .fi::before,
#tab-four:checked ~ .tabs #tab-four-label .fi::before ,
#tab-five:checked ~ .tabs #tab-five-label .fi::before ,
#tab-six:checked ~ .tabs #tab-six-label .fi::before {
  color:#fff;
}
.worko-tabs .flex-tabs .panel {
  background-color: #fff;
  padding:0 20px 20px;
  min-height: 300px;
  display: none;
  width: 100%;
  -ms-flex-preferred-size: auto;
      flex-basis: auto;
}
.worko-tabs .tab {
  display: inline-block;
  padding: 10px;
  vertical-align: top;
  background-color: #eaedef;
  cursor: hand;
  cursor: pointer;
  border-bottom: 4px solid #c6cacc;
  border-radius: 8px;
  text-align: center;
  margin-right: 3px;
}
.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: #195e95;
  cursor: default;
  border-left-color: #63bfef;
  color: #fff;
  /* border-bottom: 4px solid #ffce3a; */
}

#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: 767px) {
	.worko-tabs .flex-tabs .panel{
		padding: 0 0px 20px;
	}
}

@media (max-width: 600px) {
  .flex-tabs {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
  .flex-tabs .tab {
    background: #dce0e2;
    border-bottom: 4px solid #abafb1;
    margin-bottom: 3px;
    margin-right: inherit;
  }
  .flex-tabs .tab:last-of-type {
    border-bottom: none;
  }
  .flex-tabs #tab-one-label {
/*     -webkit-box-ordinal-group: 2; */
/*     -ms-flex-order: 1; */
/*     order: 1; */
    /* border-bottom: 4px solid #ffce3a!important; */
  }
  .flex-tabs #tab-two-label {
/*     -webkit-box-ordinal-group: 4; */
/*         -ms-flex-order: 3; */
/*             order: 3; */
  }
  .flex-tabs #tab-three-label {
/*     -webkit-box-ordinal-group: 6; */
/*         -ms-flex-order: 5; */
/*             order: 5; */
  }
  .flex-tabs #tab-four-label {
/*     -webkit-box-ordinal-group: 7; */
/*         -ms-flex-order: 6; */
/*             order: 6; */
  }
	 .flex-tabs #tab-five-label {
/*     -webkit-box-ordinal-group: 8; */
/*         -ms-flex-order: 7; */
/*             order: 7; */
  }
	 .flex-tabs #tab-six-label {
/*     -webkit-box-ordinal-group: 9; */
/*         -ms-flex-order: 6; */
/*             order: 6; */
  }
  .flex-tabs #tab-one-panel {
/*     -webkit-box-ordinal-group: 3; */
/*         -ms-flex-order: 2; */
/*             order: 2; */
  }
  .flex-tabs #tab-two-panel {
/*     -webkit-box-ordinal-group: 5; */
/*         -ms-flex-order: 4; */
/*             order: 4; */
  }
  .flex-tabs #tab-three-panel {
/*     -webkit-box-ordinal-group: 7; */
/*         -ms-flex-order: 6; */
/*             order: 6; */
  }
  .flex-tabs #tab-four-panel {
/*     -webkit-box-ordinal-group: 9; */
/*         -ms-flex-order: 8; */
/*             order: 8; */
  }
	.flex-tabs #tab-five-panel {
/*     -webkit-box-ordinal-group: 10; */
/*         -ms-flex-order: 9; */
/*             order: 9; */
  }
	.flex-tabs #tab-six-panel {
/*     -webkit-box-ordinal-group: 11; */
/*         -ms-flex-order: 10; */
/*             order: 10; */
  }

  #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; */
  }
}
