.tabs {
	position: relative;
	width: 100%;
	overflow: hidden;
	margin: 1em 0 0 0;
	font-weight: 300;
}

/* Nav */
.tabs nav {
	text-align: left;
}

.tabs nav ul {
	padding: 0;
	margin: 0;
	list-style: none;
	display: inline-block;
}

.tabs nav ul li {
	border-bottom: none;
	margin: .15em 0;
	display:inline-block;
	position: relative;
}

.tabs nav li.tab-current {
}
.tabs nav a {
    display: block;
    font-size: 1.25em;
    padding: .25em 1em;
    border-radius: .5em;
}
#news .tabs nav ul {
	width: 100%;
}
#news .tabs nav a {
    font-size: 1em;
    background:none;
    color: #333;
	padding:0;
	border-radius:0;
}
#news .tabs {
    margin: 0;
}
#news .tabs nav ul li {
	margin: 0;
}
#news .tabs nav li.tab-current::after{
	content: ' ';
    display: block;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    margin: auto;
}
@media (max-width: 480px) {
	#news .tabs nav li.tab-current::after{
		display:none;
	}
	#news .tabs nav li.tab-current::before{
		content: ' ';
		display: inline-block;
		width: 0;
		height: 0;
		border-top: 5px solid transparent;
		border-bottom: 5px solid transparent;
		margin-right: .5em;
	}
	#news .tabs .teamList a {
        display: inline-block;
		width: auto;
	}
	#news .indexTitle::after {
		display:none;
	}
	#news .tabs nav ul li {
		margin: 0;
		display: inline-block;
		width: 45%;
	}
}

/* Content */
.content section {
	font-size: 1em;
	padding: 1em;
	display: none;
	margin: .25em auto 0 auto;
}
#news .content section {
    padding: 0;
	margin: 0 auto;
}

#subsidyContent.content section {
	padding:0;
	margin: 1em auto 0 auto;
	background: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;
}

.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;
	}

	.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 nav ul,
	.tabs nav ul li a {
		width: 100%;
		padding: 0;
	}

	.tabs nav ul li {
		width: 100%;
		/* width: calc(20% + 1px); */
		margin: 0 0 0 -1px;
		text-align: center;
		padding-bottom: 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;
	}
}
.teamList-sub{
	list-style:none;
	text-align:left;	
}
.teamList-sub li{
	display:inline-block;
	margin: .25em;
}
.teamList-sub li a{
	width:100%;
	text-align:center;
	display:block;
	padding:.25em 1em;
	border-radius:1em;
	box-sizing:border-box;
}
@media screen and (max-width: 480px) {
.tabs nav ul li a {
    padding: .25em 0;
    border-radius: .5em;
}
.tabs .content section{
	margin:.5em 0;	
}
}

/*****************************/
/* Triangle and line */
/*****************************/
.tabs-style-linetriangle{
	position: relative;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: flex;
    margin: 0 0 1em 0;
    padding: 0;
    width: 100%;
    list-style: none;
    -ms-box-orient: horizontal;
    -ms-box-pack: center;
    -webkit-flex-flow: row wrap;
    -moz-flex-flow: row wrap;
    -ms-flex-flow: row wrap;
    flex-flow: row wrap;
    -webkit-justify-content: center;
    -moz-justify-content: center;
    -ms-justify-content: center;
    justify-content: center;
}
.tabs-style-linetriangle li{
	position: relative;
    z-index: 1;
    display: block;
    margin: 0;
    text-align: center;
    -webkit-flex: 1;
    -moz-flex: 1;
    -ms-flex: 1;
    flex: 1;
}
.tabs-style-linetriangle a {
    position: relative;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
	padding:.5em 0;
	font-size: 1.25em;
    font-weight: bold;
	overflow: visible;
	border-bottom: 1px solid rgba(0,0,0,0.2);
	-webkit-transition: color 0.2s;
	transition: color 0.2s;
}

.tabs-style-linetriangle a span {
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-size: 1em;
}

.tabs-style-linetriangle li.keep a{
	background:#2196f3;
	color:#fff;
}
.tabs-style-linetriangle li.keep a:after, 
.tabs-style-linetriangle li.keep a:before {
	position: absolute;
	top: 100%;
	left: 50%;
	width: 0;
	height: 0;
	border: solid transparent;
	content: '';
	pointer-events: none;
}

.tabs-style-linetriangle li.keep a:after {
	margin-left: -10px;
	border-width: 10px;
	border-top-color: #2196f3;
}

.tabs-style-linetriangle li.keep a:before {
	margin-left: -11px;
	border-width: 11px;
	border-top-color: rgba(0,0,0,0.2);
}

@media screen and (max-width: 58em) {
	.tabs-style-linetriangle {
		font-size: 0.8em;
	}
}

