
/**
 * Tabs
 */


.b-xtabs._manual{
  margin-bottom: 15px;
}

.b-xtabs__tabs{
  /* margin: 0 1px 0 0; */
  /* border-top: #eee solid 1px; */
  /* background: #fafafa; */
  border-bottom: var(--global-gray-lighter) solid 2px;
  /* margin-bottom: 2em; */
  /* margin-top: -15px;
  margin: -15px -15px 2em -15px; */
  /* padding: 0 15px;   */
}

.b-xtabs__tabs:after{
  content: ' ';
  display: block;
  visibility: hidden;
  clear: both;
}

.b-xtabs__tabs ul.tabs{
  margin-bottom: 0;
  padding-left: 0;
}

.b-xtabs__tabs-tab{
  background: none;
  border: 0;
  color: var(--global-text-muted);
  font-size: 14px;
  padding: 12px 0 12px;
  line-height: normal;
  text-align: center;
  text-decoration: none;
  text-transform: none;
  vertical-align: top;
  white-space: nowrap;
  display: inline-block;
  bottom: -2px;
  position: relative;
  margin-right: 30px;
}

.b-xtabs__tabs-tab._active, 
.b-xtabs__tabs-tab._active:hover{
  background: none;
  border: 0;
  color: var(--global-brand-accent);
  border-bottom: var(--global-brand-accent) solid 2px;
  text-decoration: none;
  z-index: 1;
  position: relative;
  margin-right: 2em;
}

.b-xtabs__tabs-tab:hover, 
._hover .b-xtabs-dropdown-menu-link{
  background: none;
  border: 0;
  border-bottom: var(--global-text-color) solid 2px;
  color: var(--global-text-color);
  text-decoration: none;
  z-index: 1;
  position: relative;
}

.b-xtabs__tabs-tab-inner{
  position: relative;
  display: inline-block;
}

.b-xtabs__tabs-tab-inner strong, 
.b-xtabs__tabs-tab-inner .counter{
  font-weight: normal;
  position: absolute;
  top: -6px;
  right: -8px;
  font-size: 10px;
  margin: 0;
}
.b-xtabs__tabs-tab-inner .counter{
  font-weight: normal;
  position: absolute;
  top: -6px;
  right: -8px;
  font-size: 10px;
  margin: 0;
}

.b-xtabs__content-item .body{
  padding: 0;
}

._skin_panel .b-xtabs__content-item-loading{
  height: 150px;
}

.b-xtabs__content{
  padding: 30px 0;
}


/* СТИЛИЗАЦИЯ ВКЛАДОК 2 УРОВНЯ */
/*
.b-xtabs__subtabs-item{
  float: left;
  border: 0;
  color: #0881f6;
  display: block;
  font-size: 12px;
  line-height: normal;
  margin-left: 7px;
  margin-right: 15px;
  padding: 4px 8px;
  text-decoration: none;
  text-transform: lowercase;
  z-index: 9;
  position: relative;
}

.b-xtabs__subtabs-sep{
  display: none;
}

.b-xtabs__subtabs-item:last-of-type{
  margin-right: 0;
}

.b-xtabs__subtabs-item:hover{
  background: #e5f3fa;
  padding: 4px 8px;
  border-radius: 2px; 
  border-bottom: 0;
  color: #0062a0;
  text-decoration: none;
}

.b-xtabs__subtabs-item._active{
  background: #0881f6;
  padding: 4px 8px;
  margin: 0 25px 0 0;
  border-bottom: 0;
  cursor: default;
  color: #fff;
  border-radius: 2px; 
}

.b-xtabs__subtabs-loading{
  background-image: url(images/ahah-loader.gif);
}

.b-xpopup__content .b-xtabs__tabs{
  border-top: 0;
  margin-top: -15px;
}
*/ 
/* Подсветим табы, которые содержат элементы с ошибками */
.b-xtabs__tabs-tab_has-errors {
  background: #ff000009 !important; 
}
.b-xtabs__tabs-tab_has-errors .b-xtabs__tabs-tab-inner{
  /* color: red; */
  text-decoration-color: var(--global-brand-danger, red);
  text-decoration-line: underline;
}

