.tabs {
	position: relative;
	overflow: hidden;
	margin: 0 0.5em;
}

/* Nav */
.tabs nav {
	text-align: center;
}

.tabs nav ul {
	padding: 0;
	margin: 0;
	list-style: none;
	display: inline-block;
}

.tabs nav ul li {
	border: 1px solid #e4e4e4;
	display: block;
	float: left;
	position: relative;
}

.tabs nav li.tab-current {
	background-color: #1e64bc;
	z-index: 100;
	color: #fff;
}

.tabs nav li.tab-current:before,
.tabs nav li.tab-current:after {
	position: absolute;
	height: 1px;
	right: 100%;
	bottom: 0;
	width: 1000px;
	background: #47a3da;
}

.tabs nav li.tab-current:after {
	right: auto;
	left: 100%;
	width: 4000px;
}

.tabs nav a {
	color: #000;
	font-size: 0.85em;
	height: 60px;
	text-align: center;
	display: block;
	padding-top: 10px;
}

.tabs nav li.tab-current a {
	color: #fff;
}
.icon-food {
	background: url('../images/nav5.png') no-repeat;
	background-size: 20px 20px;
	padding-top:25px;
	position: relative;
	left: 28px;
}
.tabs nav li.tab-current .icon-food {
	background: url('../images/nav6.png') no-repeat;
	background-size: 20px 20px;
	padding-top:25px;
}
.icon-lab {
	background: url('../images/nav7.png') no-repeat;
	background-size: 20px 20px;
	padding-top:25px;
	position: relative;
	left: 28px;
}
.tabs nav li.tab-current .icon-lab {
	background: url('../images/nav8.png') no-repeat;
	background-size: 20px 20px;
	padding-top:25px;
}
.icon-cup {
	background: url('../images/nav3.png') no-repeat;
	background-size: 20px 20px;
	padding-top:25px;
	position: relative;
	left: 28px;
}
.tabs nav li.tab-current .icon-cup {
	background: url('../images/nav4.png') no-repeat;
	background-size: 20px 20px;
	padding-top:25px;
}
.icon-truck {
	background: url('../images/nav9.png') no-repeat;
	background-size: 20px 20px;
	padding-top:25px;
	position: relative;
	left: 28px;
}
.tabs nav li.tab-current .icon-truck {
	background: url('../images/nav10.png') no-repeat;
	background-size: 20px 20px;
	padding-top:25px;
}
.icon-shop {
	background: url('../images/nav1.png') no-repeat;
	background-size: 20px 20px;
	padding-top:25px;
	position: relative;
	left: 28px;
}
.tabs nav li.tab-current .icon-shop {
	background: url('../images/nav2.png') no-repeat;
	background-size: 20px 20px;
	padding-top:25px;
}
/* Content */
.content section {
	padding-top: 1em;
	display: none;
}

.content section:after {
	clear: both;
}

/* Fallback example */
.no-js .content section {
	display: block;
}

.content section.content-current {
	display: block;
}
.section-img {
	text-align: center;
}
.section-img img {
	width: 90%;
}
.section-text {
	font-size: 14px;
}
.section-text-title {
	font-size: 16px;
}
/* Example media queries */

@media screen and (max-width: 52.375em) {
	.tabs nav a span {
		display: none;
	}

	.tabs nav a:before {
		margin-right: 0;
	}

	.mediabox {
		float: none;
		width: auto;
		padding: 0 0 35px 0;
		font-size: 90%;
	}

	.mediabox img {
		float: left;
		margin: 0 25px 10px 0;
		max-width: 40%;
	}

	.mediabox h3 {
		margin-top: 0;
	}

	.mediabox p {
		margin-left: 40%;
		margin-left: calc(40% + 25px);
	}

	.mediabox:before,
	.mediabox:after {
		content: '';
		display: table;
	}

	.mediabox:after {
		clear: both;
	}
}

@media screen and (max-width: 32em) {
	.tabs nav ul,
	.tabs nav ul li a {
		width: 100%;
	}

	.tabs nav ul li {
		width: 20%;
	}

	.mediabox {
		text-align: center;
	}

	.mediabox img {
		float: none;
		margin: 0 auto;
		max-width: 100%;
	}

	.mediabox h3 {
		margin: 1.25em 0 1em;
	}

	.mediabox p {
		margin: 0;
	}
}