@charset "utf-8";
/*-----------------------for both-----------------------*/
.galleryIndex li {
	float: left;
	width: 32%;
	margin: 0 2% 2% 0;
}
.galleryIndex li:nth-child(3n) {
	margin-right: 0;
}
.galleryIndex li:nth-child(n+7):nth-child(-n+9) {
	margin-bottom: 0;
}
/*show 30 pics 但是10-30張隱藏*/
.galleryIndex li:nth-child(n+10):nth-child(-n+30) {
	display: none;
}
/*------News type---------*/
#indexNews li em {
	color: #333;
	font-size: 13px;
	background: #999;
	padding: 0px 4px;
	text-align: center;
	color: #fff;
	position: absolute;
	left: 0;
	top: 0;
}
#indexNews li em.news {
	background: #E9332F;
}
#indexNews li em.press {
	background: #FF9800;
}
/*-----------------------for PC-----------------------*/
@media screen and (min-width:801px) {
/*-------------banner--------------------*/
#bannerWrapper {
	width: 100%;
	background: #000;
}
#banner {
	position: relative;
}
.bannerslide li {
	width: 65%;
}
.bannerslide .swiper-slide {
	opacity: 0.5;
}
.bannerslide .swiper-slide.swiper-slide-active {
	opacity: 1;
}
/*----------------- indexNews -----------------------*/
#indexNews li {
	float: left;
	position: relative;
}
#indexNews li a {
	width: 100%;
	display: block;
	-webkit-box-sizing: border-box;
	text-decoration: none;
}
#indexNews li div.hoverDesc {
	width: 100%;
	height: 0;
	padding:16% 20px 50% 20px;
	color: rgba(255,255,255,0);
	background: rgba(0, 0, 0,0);
	position: absolute;
	overflow: hidden;
	left: 0;
	top: 0;
	transition: all 0.3s ease-out;/*ie*/
}
#indexNews li:hover div.hoverDesc {
	color: rgba(255,255,255,1);
	background: rgba(0, 0, 0, 0.7);
}
#indexNews li a span {
	display: inline-block;
	background: #f1f1f1;
	padding: 0 10px;
	font-style: italic;
	color: #666;
	margin-top: 10px;
	font-size: 13px;
}
#indexNews li div.indexNewsRight p {
	line-height:130%;
	margin-top:5px;
}
/*for index 新聞稿*/
#indexExPress li {
	width: 32%;
	float: left;
	margin: 1% 2% 1% 0;
}
#indexExPress li:nth-child(3n) {
	margin-right: 0;
}
#indexExPress li div.indexNewsLeft {
	width: 100px;
	height: 100px;
	float: left;
}
#indexExPress li div.indexNewsRight {
	margin-left: 110px;
	width: auto;
	height: 100px; 
	/*垂直致中*/
	display: flex;
	justify-content: center;
	flex-direction: column;
}
#indexExPress li div.indexNewsRight p {
	text-overflow: ellipsis;
	overflow: hidden;
	max-height: 45px;
	width: auto;
	line-height:130%;
}
#indexExPress li div.indexNewsRight span {
	display: block;
}
/*----------------factsheet----------------*/
#factLeft {
	float: left;
	width: 65%;
}
#factLeftLeft {
	width: 48%;
	float: left;
}
#factLeftRight {
	float: right;
	width: 48%;
}
.googleMapIndex {
	width: 100%;
	vertical-align: bottom;
}
#factLeftLeft h3 {
	border-bottom: 1px solid #ddd;
	padding-bottom: 10px;
	margin-bottom:10px;
}
/*----------------factsheet right----------------*/ 	
#factRight {
	width: auto;
	margin-left: 67%
}
/*----------------- 首頁partner---------------*/
#partner li {
	float: left;
	width: 10.75%;
	margin: 0 2% 2% 0;
}
#partner li:nth-child(6n) {
	margin-right: 2%;
}
#partner li:nth-child(8n) {
	margin-right: 0;
}
}

/*------------------for mobile------------------------*/
@media screen and (max-width:800px) {
/*-------------banner--------------------*/
#bannerWrapper {
	width: 100%;
}
.contentIndex {
	padding: 0 15px;
}
/*----------------- indexNews -----------------------*/
#indexNews ul.swiper-wrapper {
	position: static;
	width: 100%;
	overflow: auto;
	float: none;
	display: block
}
#indexNews ul li, #indexExPress li {
	border-bottom: 1px solid #e0e0e0;
	padding: 10px 0;
}
#indexNews li:first-child {
	padding-top: 0;
}
#indexNews li em {
	top:10px;
}
#indexNews li:first-child em {
	top:0;
}
/*5-8則隱藏*/
#indexNews ul li:nth-child(n+5):nth-child(-n+9), #indexExPress li:nth-child(n+5):nth-child(-n+9) {
/*display: none;*/
}
#indexNews ul li a {
	width: 100%;
	display: block;
	text-decoration: none;
	color: #333;
	overflow: auto;
}
#indexNews li a span {
	display: inline-block;
	background: #f1f1f1;
	padding: 0 10px;
	font-style: italic;
	color: #666;
	margin-bottom: 5px;
	font-size: 13px;
}
.indexNewsLeft {
	float: left;
	width: 80px;
}
.indexNewsRight {
	width: auto;
	margin-left: 90px;
}
#indexExPress li div.indexNewsRight span {
	display: block;
}
/*----------------factsheet----------------*/
#factLeftRight {
	margin-top: 20px;
}
#factLeftLeft h3 {
	margin-bottom:10px;
}
#factRight {
	text-align: center;
	margin-top: 20px;
}
}