/* JQuery ui tabs - still used in hosts, monitoring popup */

.ui-tabs .ui-tabs-nav{
  -webkit-border-radius: 0 !important;
  -moz-border-radius: 0 !important;
  border-radius: 0 !important;
  border-width:0 !important;
  padding-left:30px !important;
}

.ui-tabs.ui-widget.ui-widget-content{
  padding:0 !important;
  border: none !important;
}

.ui-tabs-nav li a {
   font-weight:bold;     
   font-size:16px;
   color:@linkColor !important;
}

.ui-tabs-nav li.ui-state-active {
  > a {
      color:@textColor !important;
  }
  > a:hover {
    text-decoration:none;
  }
}

.ui-tabs-nav li:hover {
  background:none !important;
  border-bottom-width:1px !important;

  &.ui-state-active {
    border-bottom-width:0 !important;
  }
  
  > a {
    text-decoration:underline;
  }
}


/* Tab view layout */
/*******************/
.tab-content {
  padding-top: 30px;
  position: relative;
  border-top: 1px solid #d3d3d3;
  margin-top: -1px;
}

// tabbable is a bootstrap class
.tabbable {
    background-color: #fff;
    position: relative;
}

.tabbable.tab-view {
    ul.nav-tabs {
      overflow: hidden;
      margin-bottom: 0;
      z-index: 2;
      position: relative;
      border-bottom: none;
    }

    .nav-tabs>li {
      margin-bottom: 0;
      >a {
        border: none;
        border-radius: 2px 2px 0 0;
        margin: 0;
      }

      >a:hover {
        border-bottom: 4px solid #e8e8e8;
        background-color: transparent;
      }
    }

    .nav-tabs>li.active>a,
    .nav-tabs>li.active>a:hover {
      border-bottom: 4px solid @linkColor;
      background-color: transparent;
    }

    .tab-content {
      overflow:visible;
      padding-left:0 !important;
    }
}

#custom-tabs, .custom-tabs {
  .ui-tabs-panel {
    .tab-content;
  }
}

.pageTitleWithTabs {
	background:@tabGray;
  padding-bottom: 70px;
}

#tabs-layout {
  width: 100%;
}

#tabs-layout .tabWrapper {
  overflow-y:visible;
	margin:-70px 0 0 0;

  > .ui-tabs-nav:after {
   clear:both;
  }
}
  
#tabs-layout .ui-widget-content {
  background:none;
}

.ui-widget-content a {
  color: @linkColor;
}

#tabs-layout .tab_section {
    padding:30px;
}

.ui-widget-header {
  background: none;
}

.ui-tabs .ui-tabs-nav li {
  text-decoration: none;
  list-style: none;
  float: left;
  position: relative;
  top: 1px;
  padding: 0px 0px 1px 0px;
  white-space: nowrap;
  background: none;
  border: 0px;
}

.ui-tabs .ui-tabs-nav li.ui-tabs-selected a, .ui-tabs .ui-tabs-nav li.ui-state-disabled a, .ui-tabs .ui-tabs-nav li.ui-state-processing a {
  background-color: #fff;
  border: 1px solid #ddd;
  border-bottom-color: #fff;
  cursor: default;
  color: #222;
  outline: none;
}

.tabs-selected a, .ui-tabs .ui-tabs-nav li.ui-state-disabled a, .ui-tabs .ui-tabs-nav li.ui-state-processing a {
  background-color: #fff;
  border: 1px solid #ddd;
  border-bottom-color: #fff;
  cursor: default;
  color: #222;
  outline: none;
}

.ui-tabs .ui-tabs-nav li a, .ui-tabs.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-selected a {
  cursor: pointer;
  color: #222;
  background: none;
  font-weight: normal;
  margin-bottom: -1px;
}
.ui-tabs .ui-tabs-nav li a {
  float: left;
  text-decoration: none;
  cursor: pointer;
  padding: 0 15px;
  margin-right: 2px;
  line-height: 34px;
  border: 1px solid transparent;
  -webkit-border-radius: 4px 4px 0 0;
  -moz-border-radius: 4px 4px 0 0;
  border-radius: 4px 4px 0 0;
}