/* @import "sass-sandal/function"; */
.im-tab-hd::before, .im-tab-hd::after {
  content: "";
  display: table;
}

.im-tab-hd::after {
  clear: both;
}

.im-tab-hd {
  font-size: 16px;
  background: #fff;
}

.im-tab-hd a {
  float: left;
  text-align: center;
  position: relative;
  cursor: pointer;
}

.im-tab-hd a.active:hover {
  cursor: default;
}

.im-tab-hd--border {
  border-bottom: 1px solid #dedede;
  height: 40px;
}

.im-tab-hd--border a {
  width: 150px;
  max-width: 165px;
  border-left: 1px solid transparent;
  border-right: 1px solid transparent;
  box-sizing: border-box;
  padding-top: 5px;
  line-height: 35px;
  color: #333;
  background: #fff;
}

.im-tab-hd--border a.active {
  color: #188eee;
  border-color: #dedede;
  line-height: 36px;
}

.im-tab-hd--border a.active:after {
  content: "";
  height: 3px;
  background: #188eee;
  position: absolute;
  left: -1px;
  right: -1px;
  top: 0;
}

.im-tab-hd--border a:hover {
  color: #188eee;
}

.im-tab-hd--bottom {
  border-bottom: 1px solid #dedede;
  line-height: 40px;
}

.im-tab-hd--bottom a {
  position: relative;
  color: #333;
  width: 150px;
}

.im-tab-hd--bottom a:hover {
  color: #188eee;
}

.im-tab-hd--bottom a.active {
  color: #188eee;
}

.im-tab-hd--bottom a.active:after {
  content: "";
  width: 100%;
  height: 3px;
  background: #188eee;
  position: absolute;
  bottom: -1px;
  left: 0;
}

.im-tab-hd--top {
  line-height: 38px;
}

.im-tab-hd--top a {
  position: relative;
  color: #333;
  width: 150px;
  border-top: 3px solid transparent;
}

.im-tab-hd--top a:hover {
  color: #188eee;
}

.im-tab-hd--top a.active {
  color: #188eee;
  border-top-color: #188eee;
}

.im-tab-hd--fit {
  border-bottom: 1px solid #dedede;
  line-height: 50px;
}

.im-tab-hd--fit a {
  position: relative;
  color: #333;
  padding: 0 15px;
  margin-right: 30px;
}

.im-tab-hd--fit a:last-child {
  margin-right: 0;
}

.im-tab-hd--fit a:hover {
  color: #188eee;
}

.im-tab-hd--fit a.active {
  color: #188eee;
}

.im-tab-hd--fit a.active:after {
  content: "";
  width: 100%;
  height: 3px;
  background: #188eee;
  position: absolute;
  bottom: -1px;
  left: 0;
}

.im-tab-hd--banner {
  border-top: 1px solid #dedede;
  line-height: 58px;
}

.im-tab-hd--bookmark {
  background-color: #dedede;
}

.im-tab-hd--bookmark a {
  width: 140px;
  background-color: #dedede;
}

.im-tab-hd--bookmark a.active {
  background: #fff;
  border-color: #fff;
}

.im-tab-hd .split-1 {
  width: 0%;
}

.im-tab-hd .split-1:first-child {
  margin-left: 50%;
}

.im-tab-hd .split-2 {
  width: 25%;
}

.im-tab-hd .split-2:first-child {
  margin-left: 25%;
}

.im-tab-hd .split-3 {
  width: 22.22222%;
}

.im-tab-hd .split-3:first-child {
  margin-left: 16.66667%;
}

.im-tab-hd .split-4 {
  width: 18.75%;
}

.im-tab-hd .split-4:first-child {
  margin-left: 12.5%;
}

.im-tab-hd .split-5 {
  width: 20%;
}

.im-tab-hd .split-6 {
  width: 16.66667%;
}

.im-tab-hd .split-7 {
  width: 14.28571%;
}

.im-tab-hd--center .im-tab-hd--wrap {
  display: inline-block;
  text-align: center;
  float: left;
}

.im-tab-hd--center .im-tab-hd--wrap a {
  float: none;
  display: inline-block;
}

.im-tab-bd {
  background: #fff;
}

.im-tab-panel-hidden {
  display: none;
}
