/* Mobile First */
.tabSection {
  background: #e8e8e8;
}

.tabSection + .tabSection {
  border-top-width: 0;
}

.tabContent {
  padding: 1em;
  background: #fff;
}

.js .tabContent {
  display: none;
}

.tabContent.active {
  display: block;
}

.tabNav {
  display: none;
}

.tabHeader {
  display: block;
  padding: 15px;
  color: #5a5a5a;
  cursor: pointer;
  text-decoration: none;
  position:relative;
}

.tabHeader:hover, .tabHeader:focus {
  background: #dcdcdc;
  text-decoration: none;
}
/*
.js .tabHeader:after {
  content: '\2b';
  font-family: 'Basic-Icons';
  transform:rotate(270deg);
  -ms-transform:rotate(270deg);
  -webkit-transform:rotate(270deg);
  position:absolute;
  right:10px;
  top:15px;
}

.js .tabHeader.active:after {
  content: '\2b';
  font-family: 'Basic-Icons';
  transform:rotate(90deg);
  -ms-transform:rotate(90deg);
  -webkit-transform:rotate(90deg);
}
*/
/* Large View - for most sites, min-width should be 60em or 40em, for this demo it's 30em */
@media (min-width: 48em) {
  .tabNav {
    display: block;
  }

  .tabNav a {
    display: block;
    padding: 0.5em 1.5em;
    float: left;
    background: #e8e8e8;
    color: #5a5a5a;
    text-decoration: none;
  }

  .tabNav a:hover, .tabNav a:focus {
    text-decoration: none;
    background: #fff;
  }

  .tabNav a.active {
    background: #fff;
  }

  .tabHeader {
    display: none;
  }

  .tabPanel {
  }

  .tabContent {
    padding: 15px;
  }

  .tabSection {
    display: none;
  }

  .tabSection  + .tabSection {
    border-top-width: 1px;
  }

  .tabSection.active {
    display: block;
  }

  .tabSection.active .tabContent {
    display: block;
  }

  .no-js .tabSection {
    display: block;
  }
}

/* COLOR TABS */

.colorTabs {margin:0 0 2em 0;}
.colorTabs .tabSection {background: #f2f2f2;}
/* .colorTabs .tabSection:first-child .tabHeader {margin-top:0;} */
.colorTabs .tabSection>active {background: #fff;}
.colorTabs, .colorTabs a {color:#000; }
.colorTabs .tabContent {background:#fff; }
.colorTabs .tabNav a.active {background:#348934; color:#fff; position:relative;}
.colorTabs .tabNav a.active:after {
	position:absolute;
	content:"";
	left:0;
	bottom:-17px;
	width:100%;
	height:10px;
	background:#021702;
}
.colorTabs .tabNav a {
	/*font-size: 13px;
	font-family: 'Open Sans', sans-serif;*/ font-weight:bold;
	background:#48b2d0;
	color: #fff;
	border:0px solid #017a9c;
	border-right:none;
	text-align:center;
	padding:10px 1em;}
.colorTabs .tabNav a:hover,
.colorTabs .tabNav a:focus {background:#348934;   }

.colorTabs .tabNav a:last-child {
	/*border-right:1px solid #017a9c;*/}

.colorTabs .tabHeader {
	color: #fff;
	border-bottom:1px solid #fff;
	background:#000;
	margin:10px;
	text-align: center;
	font-size: 24px;
	text-transform:uppercase;
	/*font-family: 'Open Sans', sans-serif;*/ 
	font-weight:600;}

.colorTabs .tabHeader.active {background:#348934; color:#fff; position:relative;}
.colorTabs .tabHeader.active:after {
	position:absolute;
	content:"";
	left:0;
	bottom:-13px;
	width:100%;
	height:10px;
	background:#021702;	
}

.colorTabs .tabHeader:hover, .colorTabs .tabHeader:focus {background:#348934; color:#fff;}






@media (min-width: 48em) {
	.colorTabs .tabNav.clearfix:before, 
	.colorTabs .tabNav.clearfix:after {display:none;}
	
	.colorTabs .tabNav {
		display: table;
		width:100%;
		margin:0 0 50px;
		padding:0 4%;
		border-spacing: 15px;
		border-collapse: separate;
		}
	.colorTabs .tabNav a {
		display:table-cell;
		width: 33.33%;
		background:#0d0d0d;
		color: #fff;
		font-size:24px;
		font-weight:600;
		text-transform:uppercase;
		float:none;
		}
		
	.colorTabs .tabCol {width:48%; margin:0 1em 0 0; display:inline-block; vertical-align:top;}
	.colorTabs .tabCol:last-child {margin:0;}
	.colorTabs .tabContent {background:#f5f4f4;}
}

@media (min-width:60em) {
	.colorTabs .tabNav {
		padding:0 8%;
	}
	.colorTabs .tabNav a {font-size:27px;}	
}
@media (min-width:1200px) {
	.colorTabs .tabNav {
		padding:0 12.5%;
	}
	.colorTabs .tabNav a {font-size:30px;}
}
@media (min-width:1440px) {
	
}


/* 16px baseline (180px - 767px) */
@media only screen and (min-width:11.250em) and (max-width:47.938em) {
	.colorTabs  {margin:0;}
	.colorTabs .tabContent {background:#f2f2f2; }
	.colorTabs .tabPanel{background:#f2f2f2; padding:1px 0;}
}

/* SIMPLE TABS */

.simpleTabs {margin:0 0 1em 0;}
.simpleTabs .tabNav {padding-right:80px;}
.simpleTabs .tabNav a {font-size:18px; font-family: 'Open Sans', sans-serif; font-weight:800; color:#aaa8a8; background:#fff; border-right:1px solid #aaa8a8; padding:0 1em;}
.simpleTabs .tabNav a:last-child {border-right:none;}

.simpleTabs .tabNav a.active {color:#231F20;}

.simpleTabs .tabSection {background:#fff; border-bottom:1px solid #aaa8a8;}

.simpleTabs .tabHeader {font-size:18px; font-family: 'Open Sans', sans-serif; font-weight:800; color:#aaa8a8; background:#fff; padding:0.6em 1em;}
.simpleTabs .tabHeader.active {color:#231F20; background:#fff; }
.simpleTabs .tabContent {padding:1.5em 0 0 0; position:relative;}
.simpleTabs .tabContent .tabMoreLink {margin:0 0 1em 0em ;}

@media (min-width: 48em) {
	.simpleTabs .tabContent .tabMoreLink {position:absolute; top:-20px; right:0; margin:0;}
}

.narrowTabs .tabNav a:first-child {padding-left:0;}
.narrowTabs .tabSection {border-bottom:none;}
