
/*****************************/
/* Moving Line */
/*****************************/

.tabs-style-mls nav {
	background: #f7f7f7;
}

.tabs-style-mls nav li:last-child::before {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 4px;
	background: #B5DC10;
	content: '';
	-webkit-transition: -webkit-transform 0.3s;
	transition: transform 0.3s;
}

@-moz-document url-prefix() {
  .tabs-style-mls nav li:last-child::before {
     background: none;
  }
}

/* Move the line */

.tabs-style-mls nav li:nth-child(1).tab-current ~ li:last-child::before {
	-webkit-transform: translate3d(-300%,0,0);
	transform: translate3d(-300%,0,0);
}

.tabs-style-mls nav li:nth-child(2).tab-current ~ li:last-child::before {
	-webkit-transform: translate3d(-200%,0,0);
	transform: translate3d(-200%,0,0);
}

.tabs-style-mls nav li:nth-child(3).tab-current ~ li:last-child::before {
	-webkit-transform: translate3d(-100%,0,0);
	transform: translate3d(-100%,0,0);
}

.tabs-style-mls nav li:nth-child(4).tab-current ~ li:last-child::before {
	-webkit-transform: translate3d(0,0,0);
	transform: translate3d(0,0,0);
}

.tabs-style-mls nav a {
	padding: 1em 0;
	color: #74777b;
	line-height: 2;
	-webkit-transition: color 0.3s, -webkit-transform 0.3s; 
	transition: color 0.3s, transform 0.3s;
}

.tabs-style-mls nav li.tab-current a {
	color: #B5DC10;
	-webkit-transform: translate3d(0,0);
	transform: translate3d(0,0);
}

.tabs-style-mls nav a span {
	font-weight: 700;
}
