/* Mobile First */

@media (min-width:1024px){
	.tabs-hold { background: #cecece;}
}

.tabs {margin-top:-70px;}

.tabSection {
}

.tabSection + .tabSection {
}

.tabContent {
	padding:40px 0;
	text-align: center;
}
.tabContent h3.tabs-title {
	font-size:22px;
}
.tabContent h5.tabs-title {
	font-weight:bold;
	line-height: 1em;
}
.item .tabs-title {
	margin:0;
}
.tabContent p:last-child {
	margin:0;
}

.js .tabContent {
  display: none;
}

.tabContent.active {
  display: block;
  padding: 26px;
}

.tabNav {
  display: none;
}

a.tabHeader, a.tabHeaderAlt {
  cursor: pointer;
  position:relative;
  display: block;
  	font-family: 'Kanit', sans-serif;
	padding: 13px  54px  13px 44px;
    background: #fff;
	color: #bc0c30;
	font-size: 24px;
	text-decoration: none;
    text-decoration: none;
	border-bottom: 1px solid #cccccc;
}

.tabHeader:hover, .tabHeader:focus {
  text-decoration: none;
}

.js .tabHeader:before {
	content: "i";
    position: absolute;
    top: 15px;
    left: 0;
}
.js .tabSection:nth-child(1) .tabHeader:before {
  font-family: 'Basic-Icons';
  content:"\e904";
}
.js .tabSection:nth-child(2) .tabHeader:before {
  font-family: 'Basic-Icons';
  content:"\e915";
}
.js .tabSection:nth-child(3) .tabHeader:before {
  font-family: 'Basic-Icons';
  content:"\e916";
}
.js .tabSection:nth-child(4) .tabHeader:before {
  font-family: 'Basic-Icons';
  content:"\e902";
}

.js .tabHeader:after {
  content: '\2b';
  font-family: 'Basic-Icons';
  position:absolute;
  right:20px;
  top:14px;
  font-size: 14px;
}

.js .tabHeader.active:after {
  content: '-';
}

/* Large View - for most sites, min-width should be 60em or 40em, for this demo it's 30em */
@media (min-width: 48em) {
  .tabNav {
    display: table;
	width:100%;
  }

  .tabNav a {
    display: table-cell;
	padding-right:20px;
    background: #fff;
    color: #bc0c30;
	font-size:24px;
	font-weight:300;
	font-family: 'Kanit', sans-serif;
    text-decoration: none;
	  -webkit-transition: all 0s ease;
		 -moz-transition: all 0s ease;
		   -o-transition: all 0s ease;
			  transition: all 0s ease;
	  -webkit-transition: background 0.5s ease;
		 -moz-transition: background 0.5s ease;
		   -o-transition: background 0.5s ease;
			  transition: background 0.5s ease;
  }

  .tabNav .active {
    text-decoration: none;
	color:#002854;
  }

  .tabNav a > span {
	position:relative;
	display:inline-block;
	padding: 19px 0 19px 44px;
	border-bottom: 5px solid transparent;
  }
  .tabNav a.active > span {
	border-bottom: 5px solid #002854;
  }
  .tabNav a:hover span, .tabNav a:focus span {
    text-decoration: none;
	color: #002854;
	border-bottom: 5px solid #002854;
  }
  .tabNav a > span:before {
	content:"i";
	position:absolute;
	top:15px;
	left:0;
  }
  .tabNav a:nth-child(1) > span:before {
	  font-family: 'Basic-Icons';
	  content:"\e904";
  }
  .tabNav a:nth-child(2) > span:before {
	  font-family: 'Basic-Icons';
	  content:"\e915";
  }
  .tabNav a:nth-child(3) > span:before {
	  font-family: 'Basic-Icons';
	  content:"\e916";
  }
  .tabNav a:nth-child(4) > span:before {
	  font-family: 'Basic-Icons';
	  content:"\e902";
  }

  a.tabHeader {
    display: none;
  }

  .tabPanel {
  }

  .tabContent {
  }

  .tabSection {
    display: none;
  }

  .tabSection  + .tabSection {
  }

  .tabSection.active {
    display: block;
  }

  .tabSection.active .tabContent {
    display: block;
  }

  .no-js .tabSection {
    display: block;
  }
}

.tabSection.specialTab.active {
  display: none !important;
}

/* 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 {
	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;
}

.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; 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; 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;}

.is-accordion .tabNav{
    display:none;
}

.is-accordion .tabHeader, .is-accordion .tabSection{
    display: block;
}

.page-tabs .tabNav a {
    font: 10.2px 'Lato', sans-serif;
    padding: 10px 8px;
    margin-right: 0;
}

.page-tabs .tabNav .active{
    color: #a18240;
}