.ohke-tab .tab-header {
  width: 100%;
  height: 32px;
  overflow: hidden;
  border-bottom: 4px solid var(--main-color);
}

.ohke-tab .tab-header-center {
  float: left;
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.ohke-tab .tab-scroll > .tab-header-center {
  width: calc(100% - 46px);
  margin-left: 2px;
}

.ohke-tab .tab-scroll > .tab-header-center > .tab-header-inner {
  left: 0;
}

.ohke-tab .tab-scroll > .tab-header-left, .ohke-tab .tab-scroll > .tab-header-right {
  display: block;
}

.ohke-tab .tab-header-left {
  float: left;
  border-top-left-radius: 6px;
}

.ohke-tab .tab-header-right {
  float: right;
  border-top-right-radius: 6px;
}

.ohke-tab .tab-header-left.disabled, .ohke-tab .tab-header-right.disabled {
  opacity: 0.5;
}

.ohke-tab .tab-header-left, .ohke-tab .tab-header-right {
  display: none;
  width: 20px;
  height: 31px;
  background: var(--light-color);
  color: var(--white);
  cursor: pointer;
  padding: 8px 6px;
}

.ohke-tab .tab-header .tab-header-inner {
  position: absolute;
  white-space: nowrap;
}

.ohke-tab .tab-content {
  border-color: var(--main-color);
  border-width: 0 thin thin thin;
  border-style: solid;
  border-bottom-left-radius: 6px;
  border-bottom-right-radius: 6px;
  background: var(--white);
  color: black;
  overflow: hidden;
}

.ohke-tab .ohke-tab-btn .w3-badge {
  background-color: white;
  color: black;
  margin-left: 6px;
}

.ohke-tab .ohke-tab-btn .ohke-badge {
  margin-left: 3px;
}

.ohke-tab .ohke-tab-btn {
  display: inline-block;
  background: var(--light-inactive);
  color: var(--main-color);
  padding: 8px;
  margin-right: 3px;
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
  height: 28px;
  user-select: none;
  vertical-align: middle;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  white-space: nowrap;
}

.ohke-tab .ohke-tab-btn:last-child {
  margin-right: 0;
}

.ohke-tab .ohke-tab-btn:hover {
  background: var(--hover-color);
}

.ohke-tab .ohke-tab-btn.active {
  height: 29px;
  background: var(--main-color);
  color: var(--white);
  font-size: 11px !important;
}

.ohke-tab .ohke-tab-btn.active .ohke-help {
  color: var(--white);
}
.ohke-tab .tab-mobile {
  display: none;
}
@media (min-width:601px) {
  .ohke-tab.nav-side {
    display: flex;
  }

  .ohke-tab.nav-right {
    flex-direction: row-reverse;
  }

  .ohke-tab.nav-side > .tab-header .tab-header-scroll {
    display: none;
  }

  .ohke-tab.nav-side > .tab-header .tab-header-center {
    margin-left: 0 !important;
    width: 100% !important;
  }

  .ohke-tab.nav-side > .tab-header {
    width: 17%;
    min-width: 150px;
    height: unset;
    border-bottom: none;
  }

  .ohke-tab.nav-left > .tab-header {
    border-right: 4px solid var(--main-color);
  }

  .ohke-tab.nav-right > .tab-header {
    border-left: 4px solid var(--main-color);
  }

  .ohke-tab.nav-side > .tab-content {
    flex: 1;
    padding: 0;
    border-radius: 0;
    border: none;
  }

  .ohke-tab.nav-side > .tab-content .tab-item {
    overflow: hidden;
    border: thin solid var(--main-color);
  }

  .ohke-tab.nav-left > .tab-content .tab-item {
    border-radius: 0 6px 6px 0;
  }

  .ohke-tab.nav-right > .tab-content .tab-item {
    border-radius: 6px 0 0 6px;
  }

  .ohke-tab.nav-side > .tab-header .tab-header-inner {
    position: unset;
    white-space: unset;
    margin-right: 12px;
  }

  .ohke-tab.nav-side > .tab-header .tab-header-center {
    float: none;
    position: unset;
  }

  .ohke-tab.nav-side > .tab-header .ohke-tab-btn {
    display: block;
    margin-right: 0;
    margin-bottom: 3px;
    height: unset;
    white-space: unset;
  }

  .ohke-tab.nav-left > .tab-header .ohke-tab-btn {
    text-align: left;
    border-radius: 6px 0 0 6px;
  }

  .ohke-tab.nav-right > .tab-header .ohke-tab-btn {
    text-align: left;
    border-radius: 0 6px 6px 0;
  }

  .ohke-tab.nav-side > .tab-content > .tab-item {
    min-height: 100%;
  }

  .ohke-tab.nav-bottom {
    display: flex;
    flex-direction: column-reverse;
  }

  .ohke-tab.nav-bottom > .tab-header {
    border-top: 4px solid var(--main-color);
    border-bottom: none;
  }

  .ohke-tab.nav-bottom > .tab-header .tab-header-left {
    border-radius: 0 0 0 6px;
    height: 28px;
  }

  .ohke-tab.nav-bottom > .tab-header .tab-header-right {
    height: 28px;
    border-radius: 0 0 6px 0;
  }

  .ohke-tab.nav-bottom > .tab-header .ohke-tab-btn {
    border-radius: 0 0 6px 6px;
  }

  .ohke-tab.nav-bottom > .tab-content {
    border-radius: 6px 6px 0 0;
    border-width: 1px 1px 0 1px;
  }
}
@media (max-width:600px) {
  .ohke-tab > .tab-header .tab-header-scroll, .ohke-tab > .tab-header .tab-header-center {
    display: none;
  }

  .ohke-tab > .tab-header .tab-mobile {
    width: calc(100% - 24px);
    margin: 0 auto;
    display: block;
    position: relative;
  }
	.ohke-tab .tab-mobile .select-holder{
    text-align: center;
    padding: 7px 11px;
    background: var(--light-inactive);
    color: var(--dark-color);
    width: 100%;
    height: 28px;
    border-radius: 6px 6px 0 0;
  }
  .ohke-tab .tab-mobile .select-holder div{display:none}
  .ohke-tab .tab-mobile .select-holder div.active{display:block !important}
  .ohke-tab .tab-mobile.tab-count-1 > .tab-dropdown-btn{display:none}
  .ohke-tab .tab-mobile select.version-2 {
    position: absolute;
    opacity: 0;
    top: 0;
    left: 0;
  }
  .ohke-tab .tab-mobile select {
    border: none;
    border-radius: 6px 6px 0 0;
    text-align: center;
    padding: 7px 11px;
    background: var(--light-inactive);
    color: var(--dark-color);
    width: 100%;
    height: 28px;
    -webkit-appearance: none;
    -moz-appearance: none;
  }
  
  .ohke-tab .tab-mobile i{
    position: absolute;
    right: 12px;
    top: 8px;
    color: var(--dark-color);
  }

  .ohke-tab .tab-mobile select:focus-visible {
    outline: none;
  }
}
