.gallery_tab > ul, .gallery_tab > ul > li {list-style:none;}
.gallery_tab a { text-decoration:none; color:#000; }
.tab {
	display:-webkit-flex;
	display:-moz-flex;
	display:-o-flex;
	display:-ms-flex;
	display:flex;
	flex-direction:row;
	justify-content:center;
	flex-wrap:wrap;
	align-items:center;
	border-left:none; background:#fff; overflow:hidden;
}
.tab li {
	box-sizing:border-box; width:14.3%; margin:0 2px; padding:20px 20px 10px 20px; list-style:none;
	background:url(../images/tab_arrow_off.png) center 10px no-repeat; border:1px solid #ea3a3a; text-align:center; cursor:pointer;
	font-size:18px; color:#ea3a3a;
}
	@media all and (min-width: 320px) and (max-width: 1259px) {
		.tab li {width:30%; padding:10px; background-image:none;}
	}
.tab li.on {
	background:url(../images/tab_arrow_on.png) center 10px no-repeat; background-color:#ea3a3a;
	color:#fff;
}
	@media all and (min-width: 320px) and (max-width: 1259px) {
		.tab li.on {background-image:none;}
	}
.tab_con {clear:both;}
.tab_con > div {display:none; height:auto; position:relative;}
.tab_con2 { clear:both; margin-top:5px; border:1px solid #ddd; }
.tab_con2 div { display:none; height:100px; background:#fff; line-height:100px; text-align:center; }

.gallery_tab > section > div > h3 {
	text-align:left; position:relative;
	font-size:36px; font-weight:900;
}
.gallery_tab > section > div > h3 > span {color:#0db1c0;}
.gallery_tab > section > div > h3 > a {
	display:inline; padding:7px 20px; border:1px solid #0db1c0;
	position:absolute; right:0; top:0;
	font-size:13px; color:#0db1c0; font-weight:350;
}
.gallery_tab > section > div > h3 > a:hover {
	background-color:#0db1c0; border:1px solid #0db1c0;
	color:#fff;
}
.gallery_tab > section > div > p {
	text-align:left;
	font-size:18px;
}