/* Default tab style */




/*----------------- tabs ----------------------*/
.tabs {
	position: relative;
	overflow: hidden;
	margin: 0 auto;
	width: 100%;
	font-weight: 300;
	font-size: 1.25em;
	z-index: 0;
}

/* Nav */
.tabs nav {
    text-align: center;
}

.tabs nav ul {
	position: relative;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: -moz-flex;
	display: -ms-flex;
	display: flex;
	margin: 45px auto 0;
	padding: 0;
	max-width: 100%;
	list-style: none;
	-ms-box-orient: horizontal;
	-ms-box-pack: center;
	-webkit-flex-flow: row wrap;
	-moz-flex-flow: row wrap;
	-ms-flex-flow: row wrap;
	flex-flow: row wrap;
	-webkit-justify-content: center;
	-moz-justify-content: center;
	-ms-justify-content: center;
	justify-content: center;
}

.tabs nav ul li {
	position: relative;
	z-index: 1;
	display: block;
	margin: 0;
	text-align: center;
	-webkit-flex: 1;
	-moz-flex: 1;
	-ms-flex: 1;
	flex: 1;
}

.tabs nav a {
	position: relative;
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	line-height: 2.5;
	color: #58595b;
}

.tabs nav a span {
	vertical-align: middle;
	font-size: 20px;
	font-family: 'Roboto Regular';
	display: block;
}

.tabs nav li.tab-current a {
	color: #58595b;
}

.tabs nav a:focus {
	outline: none;
}

/* Icons */
.icon::before {
	speak: none;
	-webkit-backface-visibility: hidden;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.icon.grocery{ background: url(../images/grocery-icon.png) no-repeat scroll center top;}
.icon.furniture{ background: url(../images/furniture-icon.png) no-repeat scroll center top;}
.icon.fashion{ background: url(../images/fashion-icon.png) no-repeat scroll center top;}
.icon.crackers{ background: url(../images/crackers-icon.png) no-repeat scroll center top;}
.icon.electronics{ background: url(../images/electronics-icon.png) no-repeat scroll center top;}

li.tab-current .icon.grocery{ background: url(../images/grocery-icon1.png) no-repeat scroll center top;}
li.tab-current .icon.furniture{ background: url(../images/furniture-icon1.png) no-repeat scroll center top;}
li.tab-current .icon.fashion{ background: url(../images/fashion-icon1.png) no-repeat scroll center top;}
li.tab-current .icon.crackers{ background: url(../images/crackers-icon1.png) no-repeat scroll center top;}
li.tab-current .icon.electronics{ background: url(../images/electronics-icon1.png) no-repeat scroll center top;}


li.tab-current a span:after {
    border-color: transparent transparent #3194d0;
    border-style: solid;
    border-width: 10px;
    content: "";
    display: block;
    left: 46%;
    margin: 0 auto;
    position: absolute;
    text-align: center;
    width: 10px;
    z-index: 1;
}

ul.texthide {
    display: none!important;
}

/* Content */
.content-wrap {
	position: relative;
	background: url(../images/grocery-img-bg.jpg) repeat-y scroll 0 0;
	background-size: 100% auto;
	padding: 40px 0;
}

.content-wrap section {
	display: none;
	margin: 0 auto;
	padding: 1em;
	text-align: center;
}

.content-wrap section.content-current {
	display: block;
}


/* Fallback */
.no-js .content-wrap section {
	display: block;
	padding-bottom: 2em;
	border-bottom: 1px solid rgba(255,255,255,0.6);
}

.no-flexbox nav ul {
	display: block;
}

.no-flexbox nav ul li {
	min-width: 15%;
	display: inline-block;
}

@media screen and (max-width: 58em) {
	.tabs nav a.icon span {
		display: none;
	}
	.tabs nav a:before {
		margin-right: 0;
	}
}



/*****************************/
/* Moving Line */
/*****************************/

.tabs-style-linemove nav {
}

.tabs-style-linemove nav li:last-child::before {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 3px;
	background: #3399D6;
	content: '';
	-webkit-transition: -webkit-transform 0.3s;
	transition: transform 0.3s;
}

/* Move the line */
.tabs-style-linemove nav li:first-child.tab-current ~ li:last-child::before {
	-webkit-transform: translate3d(-400%,0,0);
	transform: translate3d(-400%,0,0);
}

.tabs-style-linemove nav li:nth-child(2).tab-current ~ li:last-child::before {
	-webkit-transform: translate3d(-300%,0,0);
	transform: translate3d(-300%,0,0);
}

.tabs-style-linemove nav li:nth-child(3).tab-current ~ li:last-child::before {
	-webkit-transform: translate3d(-200%,0,0);
	transform: translate3d(-200%,0,0);
}

.tabs-style-linemove nav li:nth-child(4).tab-current ~ li:last-child::before {
	-webkit-transform: translate3d(-100%,0,0);
	transform: translate3d(-100%,0,0);
}

.tabs-style-linemove nav a {
	padding: 30px 0 20px;
	-webkit-transition: color 0.3s, -webkit-transform 0.3s; 
	transition: color 0.3s, transform 0.3s;
}

.tabs-style-linemove nav li.tab-current a {
	/*-webkit-transform: translate3d(0,8px,0);
	transform: translate3d(0,8px,0);*/
}

.tabs-style-linemove nav a span {
}
