/* 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: 1em;
  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: 1.5em
  }

  .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: #49b2d0;}
.colorTabs, .colorTabs a {color:#fff; }
.colorTabs .tabContent {background:#017a9c; }
.colorTabs .tabNav a.active {background:#017a9c; }
.colorTabs .tabNav a {
	font-size: 13px;
	font-family: 'Open Sans', sans-serif; font-weight:800;
	background:#48b2d0;
	color: #fff;
	border:1px solid #017a9c;
	border-right:none;
	text-align:center;
	padding:1em 1em;}

.colorTabs .tabNav a:last-child {
	border-right:1px solid #017a9c;}

.colorTabs .tabHeader {
	color: #fff;
	border-bottom:1px solid #017a9c;
	font-size: 13px;
	font-family: 'Open Sans', sans-serif; font-weight:800;}

.colorTabs .tabHeader.active {background:#015c77;}
.colorTabs .tabHeader:hover, .colorTabs .tabHeader:focus {background: #015c77;}


@media (min-width: 48em) {

	.colorTabs .tabNav {
		display: table;
		width:100%;}
	.colorTabs .tabNav a {
		background:#49b2d0;
		color: #fff;
		display:table-cell;
		floaT:none;}
	.colorTabs .tabCol {width:48%; margin:0 1em 0 0; display:inline-block; vertical-align:top;}
	.colorTabs .tabCol:last-child {margin: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;}
