/* Default tab style */

.tabs {
	position: relative;
	overflow: hidden;
	margin:40px 0 0 0;
	width: 100%;
	font-weight: 300;
	font-size: 1.25em;
}

/* Nav */
.tabs nav {
	text-align: center;
	border-bottom:#f7f7f7 solid 1px;
}

.tabs nav ul {
	position: relative;
	display:inline-block;
	margin:0 0 9px 0;
	padding: 0;
	list-style: none;
	-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:inline-block;
	margin: 0 45px 0 0;
	text-align: center;
}
.tabs nav ul li:last-child{
	margin:0;
}

.tabs nav a {
	position: relative;
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	text-transform:uppercase;
	text-decoration:none;
	padding:0 10px;
	color:#262829;
	border:transparent solid 2px;
}

.tabs nav a span {
	vertical-align: middle;
	font-size:20px;
	/*font-family: 'Avenir LT Std 35 Light';*/
	font-family: 'AvenirLTStdLight';
}

.tabs nav li.tab-current a {
	color: #ab9970;
	border:#ab9970 solid 2px;
}

.tabs nav a:focus {
	outline: none;
}

/* Content */
.content-wrap {
	position: relative;
	padding:25px 0 0 0;
}

.content-wrap section {
	display: none;
	margin: 0 auto;
}

.content-wrap section.content-current {
	display: block;
}

.content-wrap section p {
	margin: 0;
}

/* 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;
	}
}