.tabs {
	position: relative;
	width: 100%;
	/*overflow: hidden;*/
	margin: 1em 0 2em;
	font-weight: 300;
	width: 100% !important;
}

/* Nav */
.tabs nav {
	text-align: center;
}
.innerBlock .tabs nav {
    text-align:left;
}
.tabs nav ul {
	padding: 0;
	margin: 0;
	list-style: none;
	display: inline-block;
    border-bottom:1px solid #ff6a00;
}

.tabs nav ul li {
	border: 1px solid #e6d0b6;
	border-bottom: none;
	margin: 0 0.25em;
	display: block;
	float: left;
	position: relative;
}

.tabs nav li.tab-current {
	border: 1px solid #f98700;
	box-shadow: inset 0 5px #f98700;
	border-bottom: none;
	z-index: 100;
}
.tabs nav li.tab-current:after {
	content: '';
    position:relative;
	height: 1px;
	left: 0;
	bottom: 0;
	width: 100%;
	background: #006;
}
/*.tabs nav li.tab-current:before,
.tabs nav li.tab-current:after {
	content: '';
	position: absolute;
	height: 1px;
	right: 100%;
	bottom: 0;
	width: 1000px;
	background: #f98700;
}*/

.tabs nav li.tab-current:after {
	right: auto;
	left: 100%;
	width: 4000px;
}

.tabs nav a {
	color: #d4a267;
	display: block;
	line-height: 1.25;
	padding: .5em;
	/*white-space: nowrap;*/
    letter-spacing:0;
}

.tabs nav a:hover {
	color: #f98f12;
}

.tabs nav li.tab-current a {
	color: #f98700;
}

/* Content */
.content section {
	display: none;
}

.content section:before,
.content section:after {
	content: '';
	display: table;
}

.content section:after {
	clear: both;
}

/* Fallback example */
.no-js .content section {
	display: block;
	padding-bottom: 2em;
	border-bottom: 1px solid #47a3da;
}

.content section.content-current {
	display: block;
}

.mediabox {
	float: left;
	width: 33%;
	padding: 0 25px;
}

.mediabox img {
	max-width: 100%;
	display: block;
	margin: 0 auto;
}

.mediabox h3 {
	margin: 0.75em 0 0.5em;
}

.mediabox p {
	padding: 0 0 1em 0;
	margin: 0;
	line-height: 1.3;
}

/* Example media queries */

@media screen and (max-width: 52.375em) {
	.tabs nav a span {
		/*display: none;*/
        font-size:.8em;
	}

	.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 {
    		margin:1em 0 0 0;
	}
	.tabs nav ul,
	.tabs nav ul li a {
		width: 100%;
		padding: 0;
	}
    /*
	.tabs nav ul li {
		width: 20%;
		width: calc(20% + 1px);
		margin: 0 0 0 -1px;
	}

	.tabs nav ul li:last-child {
		border-right: none;
	}
    */
	.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;
	}
}
@media screen and (max-width:480px){
.tabs nav ul {
	font-size:1.25em;
	border-bottom: 0;
	padding:0;
}
.tabs nav ul li {    
    margin: 0;
    float: none;
}
.tabs nav ul li {
    border-bottom: 1px solid #e6d0b6;
}
.tabs nav ul li a {
    padding: .25em.5em .5em.5em;
    letter-spacing: 1px;
    text-align: left;
    line-height: 1;
}
.tabs nav li.tab-current {
    box-shadow: inset 5px 0 #f98700;
	border-bottom: 1px solid #f98700;
}
}