@charset "utf-8";
@import url("reset.css");

html, body {
	margin:0;
	padding:0;
}
body{
	background-image:url(../images/bg.jpg);
	background-repeat:repeat-x;
     /* -webkit-background-size:1920px 1500px;此行可以強迫ipad照你指定的背景尺寸 */
    background-color: #FFF;
}
.header{
	background-image: url(../images/header_r1.png);
	max-width:1000px;
	min-height: 395px;
	margin: 0 auto; 
	background-repeat: no-repeat;
}
#cssmenu .home-btn{
  height: 30px;
  background-image: url(../images/home.png);
  border: 0;
  text-indent: -9999px;
  outline: none;
  cursor: pointer;
  float: right;
  margin-top: 45px;
  width: 35px;
  margin-right: 10px;
}
#cssmenu .rwd-btn{
    display: none;
}

#cssmenu .home-btn:hover, #cssmenu .home-btn:focus {
    text-decoration: none;
    background-position: 0 -30px;
}
.menu img a{
	margin-top: 5px;
	height: 65px;
	margin-right: 3px;
	margin-bottom: -5px;
}
.menu img a:hover{
	cursor: pointer;
}
.footer{
	width: 100%;
	margin: 0 auto;
	position: relative;
	background-color: #FFFFFF;
	bottom: 0;
	padding-top: 20px;
	padding-bottom:10px;
}
.clearfooter{
	clear:both;
	height:60px; 
}

.footer .entryfooter{
	margin: 0 auto;
	max-width: 1024px;
}
.footer .logowrapper{
	display: inline;
}
.footer .logotitle{
    font-family:Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif,"微軟正黑體";
	font-size:13px;
	color: #333333;
	font-weight: bolder;
	display: inline;
	padding-left: 10px;
}
.footer .logotitle img a{
	display: inline;
	cursor: pointer;
}
.footer .logotitle img a:hover{
	cursor: pointer;
}
.footer .copy{
	font-family:Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif,"微軟正黑體";
	font-size:12px;
	color: #333333;
	margin-top: 25px;
	display: inline-block;
	margin-left: 13px;
	line-height: 20px;
}

h2{
	font-family:Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif,"微軟正黑體";
	font-size:15px;
	color: #333333;
	line-height: 30px;
}
/*Media Queries------------------*/
@media screen and (min-width: 989px) and (max-width: 1024px) {

	.footer .entryfooter{
		margin: 0 auto;
		max-width: 535px;
		text-align: center;
     }
	.footer .logowrapper{
		margin: 0 auto;
		display: inline-block;
		padding-bottom: 10px;
	}
	.footer .copy{
		font-family:Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif,"微軟正黑體";
		font-size:12px;
		color: #333333;
		text-align: center;
	}
}

@media screen and (min-width: 786px) and (max-width: 989px) {
	.header{
		background-image: url(../images/header_r2.png);
		max-width:768px;
		min-height: 400px;
		margin: 0 auto; 
		background-repeat: no-repeat;
	}
	#view_box {
	  margin:10 auto;
	  position:relative;
	  width:679px;
	  z-index:10;
	}
}

@media screen and (min-width: 600px) and (max-width: 786px) {
	.header{
		background-image: url(../images/header_r3.png);
		max-width:600px;
		min-height: 350px;
		margin: 0 auto; 
		background-repeat: no-repeat;
	}
	#cssmenu .home-btn {
	  display:none;
	}
    
	#cssmenu img {
	  display: none;
	}
	#cssmenu .rwd-btn{
    display: inherit;
     }
}

@media screen and (min-width: 480px) and (max-width: 600px) {
	.header{
		background-image: url(../images/header_r4.png);
		max-width:480px;
		min-height: 270px;
		margin: 0 auto; 
		background-repeat: no-repeat;
	}
	#cssmenu .home-btn {
	  display:none;
	}
    
	#cssmenu img {
	  display: none;
	}
	#cssmenu .rwd-btn{
    display: inherit;
     }
}
@media screen and (min-width: 370px) and (max-width: 480px) {
	.footer .entryfooter{
		margin: 0 auto;
		max-width: 535px;
		text-align: left;
     }
	.footer .logowrapper{
		margin: 0 auto;
		display: inline-block;
		padding-bottom: 10px;
		padding-left: 75px;
	}
	.header{
		background-image: url(../images/header_r5.png);
		max-width:400px;
		min-height: 260px;
		margin: 0 auto; 
		background-repeat: no-repeat;
	}
	#cssmenu .home-btn {
	  display:none;
	}
    
	#cssmenu img {
	  display: none;
	}
	#cssmenu .rwd-btn{
    display: inherit;
     }
}
@media screen and (min-width: 300px) and (max-width: 370px)  {
	.footer .entryfooter{
		margin: 0 auto;
		max-width: 535px;
		text-align: left;
     }
	.footer .logowrapper{
		margin: 0 auto;
		display: inline-block;
		padding-bottom: 10px;
		padding-left: 40px;
	}
	.header{
		background-image: url(../images/header_r6.png);
		max-width:320px;
		min-height: 225px;
		margin: 0 auto; 
		background-repeat: no-repeat;
	}
	#cssmenu .home-btn {
	  display:none;
	}
    
	#cssmenu img {
	  display: none;
	}
	#cssmenu .rwd-btn{
    display: inherit;
     }
}