﻿/* ---reset.css--- */
/* HTML5 display-role reset for older browsers */

ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
/* ---reset.css--- */



/* --電腦版型------------------------------------- */

#WRAPPER{}

#TOP-MENU{
	display:none;
}

#TOP-MENU #BTN{}

#NAV{
	width:1000px;
	height:60px;
	margin:0 auto;
	position:relative;
	top:0;
	left:0;	
	z-index:888;
	box-shadow:none;
}

.UPUP{
	-webkit-transition:all 0s ease; /* 0s 代表取消動畫時間 */
	-webkit-transform:none; /* 取消所有的動作 */
	transition:all 0s ease;
	transform:none;
}

.DOWN{
	-webkit-transition:all 0s ease; /* 0s 代表取消動畫時間 */
	-webkit-transform:none; /* 取消所有的動作 */
	transition:all 0s ease;
	transform:none;
}

#NAV #XX{
	display:none;
}

#NAV ul{
	width:1020px;
	height:60px;
}

#NAV li{
	float:left;
}

#NAV li a{
	display:block;
	width:204px;
	line-height:60px;
	text-align:center;
	text-decoration:none;
	color:#FFF;	
}

#NAV li a:hover{
	color:#0CF;
}






#DOWN{
	clear:both;
	width:1020px;
	margin:20px auto;
	background-color:#369;
	padding:20px 0px;
}

#DOWN p{
	font-size:13px;
	text-align:center;
	line-height:1.8;
	color:#FFF;
}


/* --手機版型------------------------------------- */

@media screen and (max-width: 767px) {
	
	*{
		box-sizing:border-box;
	}
	
	html,body{
		-webkit-text-size-adjust:none;
	}
	
	#WRAPPER{
		min-width:320px;
	}
		
	#TOP-MENU{
		display:block;
		width:100%;
		position:relative;
		background-color:#FFF;
	}
	
	#TOP-MENU #BTN{
		display:block;
		width:60px;
		background-image:url(images/btn.jpg);
		position:absolute;
		right:5px;
		top:-5px;
		text-indent:-9999px;
	}
	
	#NAV{
		width:100%;
		height:700px;
		background-color:#787878;	
		position:fixed;
		top:0;
		bottom:0;
		left:0;
		right:0;
		margin:auto;
		opacity:0.9;
			
	}
	
	.UPUP{
		-webkit-transition:all 0s ease; /* 0s 代表取消動畫時間 */
		-webkit-transform:translate3d(0px,-1000px,0px);
		transition:all 0s ease;
		transform:translate3d(0px,-1000px,0px);
	}
	
	.DOWN{
		-webkit-transition:all 0s ease; /* 0s 代表取消動畫時間 */
		-webkit-transform:translate3d(0px,0px,0px);
		transition:all 0s ease;
		transform:translate3d(0px,0px,0px);
	}
	
	#NAV #XX{
		display:block;
		width:40px;
		height:40px;
		background-color:#F00;
		color:#FFF;
		box-shadow:1px 1px 15px #000;
		border-radius:50%;
		text-align:center;
		line-height:40px;
		position:absolute;
		right:10px;
		top:155px;
		bottom:0;
	}	
	#NAV ul{
		width:100%;
		height:100%;
		margin:190px 0 0 -15px;
	}	
	#NAV li{
		width:100%;
		float:none;
	}	
	#NAV li a{
		display:block;
		width:100%;
		line-height:48px;
		text-align:center;
		text-decoration:none;
		background-color:#000;
		border:1px solid #333;
		color:#FFF;	
	}	
	#NAV li a:hover{
		border:1px solid #CCC;
		color:#aa8d50;	
	}
	
	#BANNER{
		width:100%;
		height:350px;
		border:10px solid #FFF;
	}
	
	#BANNER h1{
		display:block;
		width:100%;
		height:350px;
		background-image:url(images/banner-small.jpg);
		
		background-size:cover; /* 背景圖自動伸縮 */
		background-position:center center;	/* 以中心為縮放點 */
		text-indent:-9999px;
	}
	
	
	
	#DOWN{
		clear:both;
		width:100%;
		margin:20px auto;
		background-color:#369;
		padding:20px 0px;
	}	
	#DOWN p{
		font-size:13px;
		text-align:center;
		line-height:1.8;
		color:#FFF;
	}
}