/*
 * phgrt - RWD system type-12
 * https://www.phgrt.com.tw/
 *
 * Copyright 2016, evelyn wang
 * 
 * 
 * January 2016
 */
#h1{
	position: fixed;
    top: 0;
    opacity: 0;
    z-index: -999999;

}

/* +news
*----------------------------------------------------------------------------*/
#news {
	border-bottom: 1px #f1f1f1 solid;
	overflow: hidden;
}

#news .container {
	padding: 10px;
	width: 1140px;
	overflow: hidden;
	transition: all 0.4s ease;
}

/**
*
* =news title
*
**/
#news .container > h3 {
	margin-right: 15px;
	float: left;
	font-size: 16px;
}

#news .container h3 a {
	color: #0069a5;
}

/**
*
* =news list
*
**/
#news .container .txtScroll-top {
	float: left;
}

#news .container .txtScroll-top .hd {
	display: none;
}

#news .container .txtScroll-top .bd ul li h3 a {
	color: #6a6a6a;
}


/* +product
*----------------------------------------------------------------------------*/
#product {
	padding: 40px 0 45px;
}

/**
*
* =product title
*
**/
#product h3 ,
#event h3 ,
#album h3 {
	text-align: center;
	font-size: 13px;
	color: #222;
	font-weight: normal;
	text-transform:uppercase;
}

#product h3 i ,
#event h3 i ,
#album h3 i {
	font-size: 30px;
}

#product h3 strong ,
#event h3 strong ,
#album h3 strong {
	margin: 10px 0;
	display: inline-block;
	font-size: 22px;
	font-weight: normal;
	letter-spacing: 3px;
}

/**
*
* =product list
*
**/
#product ul ,
#event ul ,
#album ul {
	margin: 55px 10% 0;
	overflow: hidden;
}

#product ul li {
	margin: 0 3% 25px 0;
	width: 48.5%;
	background: #f0f0f0;
	float: left;
	overflow: hidden;
}

#product ul li .photo {
	margin-right: 25px;
	width: 35%;
	background-position: 50% 50%;
	background-repeat: no-repeat;
	background-size: auto 100%;
	display: block;
	float: left;
	transition: all 0.4s ease-in-out 0s;
	transform:scale(1,1);
}

#product ul li:hover .photo {
	transform:scale(1.1,1.1);
}

#product ul li .photo img {
	width: 100%;
}

#product ul li .info {
	padding: 25px 0;
	width: 60%;
	float: left;
}

#product ul li .info h3 {
	margin-bottom: 20px;
	transition: all 0.4s ease;
	font-size: 17px;
	text-align: left;
}

#product ul li .info h3 a {
	color: #0069a5;
}

#product ul li .info h3 a:hover {
	color: #004973;
}

#product ul li .info article {
	margin-bottom: 40px;
	height: 70px;
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	transition: all 0.4s ease;
	line-height: 170%;
	color: #898989;
}

#product ul li .info .more {
	font-size: 12px;
}

#product ul li .info .more a {
	padding: 10px;
	border: 1px #0069a5 solid;
	display: inline-block;
	color: #0069a5;
}

#product ul li .info .more a:hover {
	background: #0069a5;
	color: #fff;
}

#product ul li:nth-child(2n) {
	margin-right: 0;
}

/**
*
* =more product
*
**/
#product .more-product ,
#event .more-product {
	text-align: center;
}

#product .more-product a ,
#event .more-product a {
	padding: 10px 15px;
	border: 1px #464646 solid;
	display: inline-block;
	font-size: 12px;
	color: #464646;
}


/* +event
*----------------------------------------------------------------------------*/
#event {
	padding: 40px 0 45px;
	background: #f8f8f8;
}

/**
*
* =event list
*
**/
#event ul {
	margin-bottom: 35px;
}

#event ul li {
	margin-right: 2%;
	width: 23.5%;
	float: left;
}

#event ul li .item {
	margin: 5px;
	padding-bottom: 50px;
	background: #fff;
	box-shadow: 2px 2px 2px #e1e1e1;
}

#event ul li .item h3 {
	margin: -30px 10px 10px;
	padding-bottom: 20px;
	background: url(../../images/12/index/bg-eventItem.jpg) no-repeat 50% bottom;
	position: relative;
	z-index: 100;
	text-align: center;
	font-size: 16px;
}

#event ul li .item h3 i {
	padding: 5px;
	width: 30px;
	background: #fff;
	display: inline-block;
	-webkit-border-radius: 40px;
	-moz-border-radius: 40px;
	border-radius: 40px;
}

#event ul li .item article {
	margin: 10px 15px;
	height: 60px;
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	line-height: 170%;
	font-size: 12px;
	color: #7d7f80;
}

#event ul li .item .photo {
	background-position: 50% 50%;
	background-repeat: no-repeat;
	background-size: cover;
	display: block;
}

#event ul li .item .photo img {
	width: 100%;
}

#event ul li:nth-child(4) {
	margin-right: 0;
}


/* +album
*----------------------------------------------------------------------------*/
#album {
	padding: 40px 0 45px;
	background-image: url(../../images/12/index/bg-album.jpg);
	background-repeat: no-repeat;
	background-color: #074598;
	background-position: 50% bottom;
	background-size: 100% auto;
}

#album h3 {
	color: #fff;
}

#album ul li {
	margin-right: 1%;
	width: 24%;
	float: left;
	position: relative;
}

#album ul li .media-content {
	width: 100%;
	background-position: 50% 50%;
	background-repeat: no-repeat;
	background-size: cover;
}

#album ul li .media-content img {
	width: 100%;
}

#album ul li .item-content {
	width: 100%;
    height: 0;
    background: rgba(0,0,0,0.5);
    overflow: hidden;
    position: absolute;
	top: 0;
    bottom: 0;
    transition: all 0.3s;
}

#album ul li:hover .item-content {
	height: 100%;
}

#album ul li .item-content article ,
#album ul li .item-content article h3 {
	height: 100%;
	line-height: 100%;
}

#album ul li .item-content article h3 {
	height: 100%;
	line-height: 3500%;
}

#album ul li .item-content article h3 a {
	padding: 10px;
	border: 1px #fff solid;
	display: inline-block;
	line-height: 100%;
	color: #fff;
}

/* +about
*----------------------------------------------------------------------------*/
#about-wrap {
	background-position: 50% 0;
	background-repeat: no-repeat;
	background-size: cover;
	overflow: hidden;
}

#about-wrap .about-site {
	margin-left: 10%;
	padding: 85px 40px;
	width: 17%;
	background: rgba(28,53,115,0.8);
	float: left;
}

#about-wrap .about-site article {
	line-height: 170%;
	font-size: 16px;
	color: #fff;
}

#about-wrap .about-site article img {
	margin: 0 auto;
	width: 195px;
	display: block;
}

#about-wrap .about-site p {
	margin-top: 50px;
	text-align: center;
}

#about-wrap .about-site p .more {
	padding: 10px;
	border: 1px #fff solid;
	display: inline-block;
	font-size: 12px;
	color: #fff;
}


/* +width:1366 ↓
*----------------------------------------------------------------------------*/
@media screen and (max-width: 1366px) {
	#news .container {
		width: 1050px;
	}
	
	#product ul li .info {
		padding: 10px 0;
	}
	
	#product ul li .info h3 {
		margin-bottom: 10px;
	}
	
	#product ul li .info article {
		margin-bottom: 20px;
	}
	
	#album ul li .item-content article h3 {
		line-height: 2500%;
	}
}


/* +width:1280 ↓
*----------------------------------------------------------------------------*/
@media screen and (max-width: 1280px) {
	#news .container {
		width: 980px;
	}
	
	#product ul li .photo {
		width: 38%;
	}
	
	#product ul li .info {
		width: 55%;
	}
}


/* +width:1024 ↓
*----------------------------------------------------------------------------*/
@media screen and (max-width: 1024px) {
	#news .container {
		width: 900px;
	}
	
	#event ul ,
	#product ul {
		margin: 55px 52px 35px;
	}
	
	#product ul li .photo {
		width: 41%;
	}
	
	#product ul li .info {
		width: 51.5%;
	}
	
	#album ul li .item-content article h3 {
		line-height: 2000%;
	}
	
	#about-wrap .about-site {
		width: 25%;
	}
}


/* +width:768 ↓
*----------------------------------------------------------------------------*/
@media screen and (max-width: 768px) {
	#news .container {
		margin: 0 15px;
		padding: 10px 0;
		width: auto;
	}
	
	#event ul, 
	#product ul ,
	#album ul {
		margin: 55px 15px 35px;
	}
	
	#event ul li {
		margin-bottom: 20px;
		width: 49%;
	}
	
	#event ul li:nth-child(even) {
		margin-right: 0;
	}
	
	#product ul li {
		margin-right: 0;
		width: 100%;
	}
	
	#product ul li .photo {
		width: 25%;
	}
	
	#album ul li .item-content article h3 {
		line-height: 1700%;
	}
	
	#about-wrap .about-site {
		margin-left: 15px;
		padding: 25px 40px;
		width: 55%;
	}
}


/* +width:640 ↓
*----------------------------------------------------------------------------*/
@media screen and (max-width: 640px) {
	#product ul li .photo {
		width: 30%;
	}
	
	#album ul li .item-content article h3 {
		line-height: 1500%;
	}
}

/* +width:480 ↓
*----------------------------------------------------------------------------*/
@media screen and (max-width: 480px) {
	#event ul li {
		width: 100%;
	}
	
	#product ul li .photo {
		margin: 20px 15%;
		width: 70%;
	}
	
	#product ul li .info {
		margin: 0 15%;
		width: 70%;
	}
	
	#album ul li {
		margin: 0 0 15px;
		width: 100%;
	}
	
	#album ul li .item-content article h3 {
		line-height: 3500%;
	}
}