@charset "utf-8";
/* CSS Document */
a{
	text-decoration: none;
}

a img{
	border: 0;
}

ul{
	list-style:none;
	margin: 0;
	padding: 0;
}

body{
	font-size: 100%;
	margin: 0;
	padding: 0;
	font-family: Arial, Helvetica, sans-serif, "微軟正黑體";
	background: #e6e6e6;
}

header{
	
}

#logo{
	text-align: left;
	padding: 25px 0 0 30px;
}

article{
	width: 100%;
	padding:0;
	margin: 20px auto;
}

#templates{
	width:95%;
	margin:10px auto;
	background:#d9d9d9;
}

.temList{
	width:45%;
	margin:30px 10px 0 30px;
	float:left;
	font-size:14px;
	line-height:18px;
	color:#828282;
	text-align: center;
}
.tem_img{
	width: 100%;
	height: 220px;
	padding-right: 17px;
	float: left;
	overflow: hidden;
}

.tem_img img{
	width: 100%;
	box-shadow: 0px 3px 10px rgba(0,0,0,0.4); 
		-webkit-box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4); 
		-moz-box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4);
}
.tem_content{
	width:247px;
	float:left;
}
.temTitle{
	font-size: 24px;
	font-weight: bold;
	line-height: 40px;
	color: #000;
	margin: 0 0 10px 0;
	position: relative;
}
.temTitle p{
	margin: 0;
}
.temlinks{
	margin:20px 0 0 0;
}
.temlinks{
	padding:10px;
	background:#9e9e9e;
	width:150px;
	font-size:16px;
	line-height: 20px;
	color:#fff;
	display:block;
}
.temlinks:hover{
	background:#C00;
}
footer{
	float: left;
	width: 100%;
	height: 150px;
	background: #ffffff;
}

.footer{
	margin: 20px auto;
	padding-top: 20px;
	font-size: 12px;
	color: #787878;
	line-height: 18px;	
	background: url(../images/footer_logo.jpg) no-repeat #ffffff 97% 20%;
	position: relative;
}

.footer .polalogo{
	position: absolute;
	top: 10%;
	right: 3%;
	width: 90px;
	height: 84px;
}

.footer a{
	text-decoration: underline;
	color: #787878;
}

.footer a img{
	padding-top: 10px;
}

#seo{
	display: none;
}

.main_content{
	width:980px;
	margin:0 auto;
}

.bg_white{
	background: #FFFFFF;
}
.pad_20{
	padding: 20px 0;
}
.main_img img{
	width: 100%;
	max-width: 980px;
}

.clean{
	clear: both;
}

/* photo用 */
.temLay{
	padding: 0 0 20px 0;
}

.tab_content{
	display: none;
	margin-bottom: 20px;
}

.litem{
	float: left;
	width: 33.1%;
	width: calc(100%/3 - 1.5px);
	text-align: center;
	border: solid 1px #CCC;
	background: #dfdfdf;
}

.litem, .sub_litem{
	cursor: pointer;
}

.litem a, .sub_litem a{
	color: #666;
	font-weight: bold;
}
.litem a{	
	font-size: 20px;
}

.active{
	border: solid 0px #CCC;	
	background: #d9d9d9;
}

.active a{
	color: #000;
}

#sub_btn_c, #sub_btn_t, #sub_btn_p{
	text-align: center;
	/*margin: 20px 0;*/
	padding: 12px 0 14px 0;
	background: #d0d0d0;
}

#sub_btn_c span, #sub_btn_t span, #sub_btn_p span{
	margin: 0 10px;
	padding:10px;
}

#sub_btn_c .active, #sub_btn_t .active, #sub_btn_p .active{
	background:#C00;
}

#sub_btn_c .active a, #sub_btn_t .active a, #sub_btn_p .active a{
	color:#fff;
}

.cont{
	margin:30px 10px 20px 30px;
	text-align: center;
}

.spec{
	width: 94%;
}

@media (max-width: 1000px) {
	.main_content{		
		width: 100%;
	}
	
	#templates, .footer{
		width:95%;
		margin:10px auto;
		padding: 0 0 20px 0;
	}
	
	.temLay{
		margin: 0 20px;
	}
	
	.temList{
		width: 100%;		
		margin:0; 
		padding-bottom: 30px;
		float: none;
		clear: both;
	}	
	
	.tem_img, .tem_content{
		width:100%;
		float:none;
	}
	.tem_img{		
		padding-right: 0;
		height: 100%;
		max-height: 1300px;
		overflow: hidden;
	}
	
	.tem_img img{
		width:100%;
	}
	
	.tem_content{
		padding: 0 0 30px 0;
	}
	
	.temlinks{
		position: absolute;
		top: 0;
		right: 0;
	}
	
	/* photo用 */
	.cont{
		margin: 30px 0;
	}
	
	.spec{
		width: 100%;
	}
	
	#sub_btn_c span, #sub_btn_t span, #sub_btn_p span{
		margin: 0;
	}
}