/* Hint >>> https://scotch.io/tutorials/build-chrome-like-tabs-with-bootstrap-and-angularjs */

/* ----- NAVIGATION TABS ----- */

.tab-container {  
	margin: 0;
  	padding: 0;
  	border: 0;
  	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	border-top: 1px solid #D6D6D6;
}

.tab-container .tab-title-text span {
	font-family: 'Raleway', sans-serif;
	color: #2e2e2e;
}

.tab-container ul.nav-tabs {
	background: #FFF;	
	margin: 0;
	list-style-type: none;
	line-height: 40px;
	max-height: 40px;
	overflow: hidden;
	display: inline-block;
	display: -webkit-flex; /*  This is the magic that will dynamically expand/shrink the width tabs */
	display: flex;
	padding-right: 51px;
}
.tab-container ul.nav-tabs > li {
    border-right: 1px solid #f1f1f1;
    margin: 0;
    padding: 0 25px 0 10px;
    height: 40px;
    background: #FFFFFF;
    width: 200px;
    max-width: 200px;
    min-width: 20px;
    /* box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5); */
}

.tab-container ul.nav-tabs > li:hover > a span  {
	color: #BF3542;
}

.tab-container ul.nav-tabs > li.writable-tab .edit-icon {  
	float: left;
    margin: 4px 5px 0 0;
}

.tab-container ul.nav-tabs > li.dragging {
  opacity: 0.5;
}
.tab-container ul.nav-tabs > li.dragHovering {
  border-left: 2.5px solid #bf3542;
}
.tab-container ul.nav-tabs > li:first-child {
  margin-left: 0;
}
.tab-container ul.nav-tabs > li:last-of-type {
  margin-right: 0;
}
.tab-container ul.nav-tabs > li > a {
  display: block;
  max-width: 100%;
  text-decoration: none;
  color: #222;
  font-family: 'Raleway', sans-serif;
  padding: 9px;
}
.tab-container ul.nav-tabs > li > a span {
    color: #555555;
    transition: color ease .2s;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    font-size: 14px;
}
.tab-container ul.nav-tabs > li > a:focus, 
.tab-container ul.nav-tabs > li > a:hover {
  background-color: transparent;
  border-color: transparent;
}

/*  The remove button styles */
.tab-container ul.nav-tabs > li > a .glyphicon-remove {
  color: #777;
  display: inline-block;
  padding: 3px;
  font-size: 10px;
  position: absolute;
  z-index: 10;
  top: 11px;
  right: -20px;
  -moz-border-radius: 50%;
  -webkit-border-radius: 50%;
  border-radius: 50%;
  transition: all ease .3s;
}
.tab-container ul.nav-tabs > li > a .glyphicon-remove:hover {
  background: rgba(191, 53, 66, 0.5);
  color: white;
}

/*  Active tab style */
.tab-container ul.nav-tabs > li.active {
  z-index: 2;
  background: #f1f1f1;
}
.tab-container ul.nav-tabs > li.active > a {
  background-color: transparent;
  border-color: transparent;
  border-bottom-color: transparent;
}
.tab-container ul.nav-tabs > li.active > a:focus, 
.tab-container ul.nav-tabs > li.active > a:hover {
  background-color: transparent;
  border-color: transparent;
  border-bottom-color: transparent;
}

/*  The open new tab button */

.tab-container ul.nav-tabs .btn {
  float: left;
  height: 40px;
  width: 35px;
  margin: 0;
  border: none;
  outline: none; 
  border-radius: 0;
  background: #FFFFFF;
  color: #555;
  transition: all ease .3s;
  z-index: 10;
}

.tab-container ul.nav-tabs .btn:hover {
	color: #35BF79;
}

/*  Styling the tab container */
.tab-container .tab-pane {  
  	border: 0;
	margin: 0;
	padding: 0;
	position: absolute;
	top: 0px;
	bottom: 0px;
	left: 0px;
	right: 0px;	
}

.tab-container .tab-content {	
	border: 0;
	margin: 0;
	padding: 0;
	position: absolute;
	top: 40px;
	bottom: 0px;
	left: 0px;
	right: 0px;
}

.tab-container .tab-content .tab-pane.active {
  
}

.nav-tabs {
	border: 0;
}

/* ----- END NAVIGATION TABS ----- */
