@charset "utf-8";
@import url("reset.css");

html, body {
	margin:0;
	padding:0;
}
body{
	background-image:url(../images/index_bg.jpg);
	background-repeat:repeat-x;
    /* -webkit-background-size:1920px 1500px; 此行可以強迫ipad照你指定的背景尺寸 */
    background-color: #DEFCFC;
}
.menu-top{
	width: 100%;
	background: url(../images/index_r1.png) no-repeat center top;
	height: 180px;
}
.menu img a{
	margin-top: 5px;
	height: 65px;
	margin-right: 3px;
	margin-bottom: -5px;
}
.menu img a:hover{
	cursor: pointer;
}
.footer{
	position: fixed;
	background-color: #FFFFFF;
	width: 100%;
	bottom: 0;
	padding-bottom:10px;
	padding-top: 20px;
}
.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{
	display: inline;
}
.footer .copy{
	font-family:Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif,"微軟正黑體";
	font-size:12px;
	color: #333333;
	display: inline-block;
	margin-left: 13px;
}
.main-content{
   max-width: 1200px;	
   margin: 0 auto;
}
.main-wrapper{
	background: url(../images/main_r1.png) no-repeat center bottom;
	width: 100%;
	bottom: 0;
	top: 0;
	display: block;
	height: 650px;
	margin: auto;
	z-index: -9999;
	margin-top: -50px;
}
.maintext{
	width: 380px;
	bottom: 0;
	padding-top: 430px;
	padding-left: 30px;
}
.maintext p{
	font-family:Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif,"微軟正黑體";
	font-size:15px;
	color: #333333;
	line-height: 28px;
	text-align: left;
}
.main-btn{
  display: block;
  width: 246px;
  height: 50px;
  background-image: url(../images/main_btn.png);
  border: 0;
  text-indent: -9999px;
  outline: none;
  margin: 0 auto;
  cursor: pointer;
  margin-top: 5px;
}

.main-btn:hover, .main-btn:focus {
    text-decoration: none;
    background-position: 0 -50px;
}
/*Media Queries------------------*/
@media only screen 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: 1280px) and (max-width: 1600px) {
	.main-content{
	   max-width: 1200px;	
	   margin: 0 auto;
	   margin-top:-110px;
	}
}

@media screen and (min-width: 1024px) and (max-width: 1280px) {
	.main-wrapper{
	background: url(../images/main_r2.png) no-repeat center bottom;
	text-align: center;
	width: 100%;
	bottom: 0;
	top: 0;
	display: block;
	height: 550px;
	margin: auto;
    }
	.main-content{
	   max-width: 1020px;	
	   margin: 0 auto;
	   margin-top:-90px;
	}
	.maintext{
	width: 380px;
	bottom: 0;
	padding-top: 360px;
	padding-left: 50px;
    }
}

/*Media Queries------------------*/
@media screen and (min-width: 990px) and (max-width: 1024px) {
    .main-wrapper{
	background: url(../images/main_r3.png) no-repeat center bottom;
	text-align: center;
	width: 100%;
	bottom: 0;
	top: 0;
	display: block;
	height: 512px;
	margin: auto;
    }
    .main-content{
	max-width: 950px;	
	margin: 0 auto;
	margin-top:-100px;
	}
	.maintext{
	width: 380px;
	bottom: 0;
	padding-top: 310px;
	padding-left: 50px;
    }
    .main-btn{
	display: block;
	width: 220px;
	height: 45px;
	background-image: url(../images/main_btn_r4.png);
	border: 0;
	text-indent: -9999px;
	outline: none;
	margin: 0 auto;
	cursor: pointer;
	margin-top: 5px;
	}

	.main-btn:hover, .main-btn:focus {
	text-decoration: none;
	background-position: 0 -45px;
	}
}

@media screen and (min-width: 786px) and (max-width: 950px) {
	.main-wrapper{
	background: url(../images/main_r4.png) no-repeat center bottom;
	text-align: center;
	width: 100%;
	bottom: 0;
	top: 0;
	display: block;
	height: 414px;
	margin: auto;
    }
    .main-content{
	max-width: 768px;	
	margin: 0 auto;
	margin-top:-100px;
	}
	.maintext{
	width: 380px;
	bottom: 0;
	padding-top: 270px;
	padding-left: 5px;
    }
	.main-btn{
	display: block;
	width: 220px;
	height: 45px;
	background-image: url(../images/main_btn_r4.png);
	border: 0;
	text-indent: -9999px;
	outline: none;
	margin: 0 auto;
	cursor: pointer;
	margin-top: 5px;
	}

	.main-btn:hover, .main-btn:focus {
	text-decoration: none;
	background-position: 0 -45px;
	}
}

@media screen and (min-width: 600px) and (max-width: 786px) {
	.main-content{
	margin: 0 auto;
	height:850px;
	max-width: 600px;
    }
	.menu-top{
	width: 100%;
	background: url(../images/index_r2.png) no-repeat center top;
	height: 146px;
    }
	.main-wrapper{
	background: url(../images/main_r5.png) no-repeat center bottom;
	text-align: center;
	width: 100%;
	bottom: 0;
	top: 0;
	display: block;
	height: 876px;
	margin: auto;
	margin-top:-90px;
	z-index: -9999;
    }
    .maintext{
	width: 380px;
	margin: 0 auto;
    padding-top:315px;
	}
	.main-btn{
	display: block;
	width: 220px;
	height: 45px;
	background-image: url(../images/main_btn_r4.png);
	border: 0;
	text-indent: -9999px;
	outline: none;
	margin: 0 auto;
	cursor: pointer;
	margin-top: 5px;
	z-index: -9999;
	}

	.main-btn:hover, .main-btn:focus {
	text-decoration: none;
	background-position: 0 -45px;
	}
	#cssmenu .home-btn {
	display:none;
	}
    
	#cssmenu img {
	  display: none;
	}
	#cssmenu .rwd-btn{
    display: inherit;
    }
	.footer{
	width: 100%;
	margin: 0 auto;
	position: relative;
	background-color: #FFFFFF;
	bottom: 0;
	padding-top: 20px;
	padding-bottom:10px;
    }
}

@media screen and (min-width: 480px) and (max-width: 600px) {
	.main-content{
	margin: 0 auto;
	height:700px;
	max-width: 600px;
    }
	.menu-top{
	width: 100%;
	background: url(../images/index_r2.png) no-repeat center top;
	height: 146px;
    }
	.main-wrapper{
	background: url(../images/main_r6.png) no-repeat center bottom;
	text-align: center;
	width: 100%;
	bottom: 0;
	top: 0;
	display: block;
	height: 763px;
	margin: auto;
	margin-top:-90px;
	z-index: -9999;
    }
    .maintext{
	width: 330px;
	margin: 0 auto;
    padding-top:270px;
	}
	.main-btn{
	display: block;
	width: 220px;
	height: 45px;
	background-image: url(../images/main_btn_r4.png);
	border: 0;
	text-indent: -9999px;
	outline: none;
	margin: 0 auto;
	cursor: pointer;
	margin-top: 5px;
	}

	.main-btn:hover, .main-btn:focus {
	text-decoration: none;
	background-position: 0 -45px;
	}
	#cssmenu .home-btn {
	  display:none;
	}
    
	#cssmenu img {
	  display: none;
	}
	#cssmenu .rwd-btn{
    display: inherit;
    }
	.footer{
	width: 100%;
	margin: 0 auto;
	position: relative;
	background-color: #FFFFFF;
	bottom: 0;
	padding-top: 20px;
	padding-bottom:10px;
    }
}
@media screen and (min-width: 370px) and (max-width: 480px) {
	.main-content{
	margin: 0 auto;
	height:650px;
	max-width: 370px;
    }
	.menu-top{
	width: 100%;
	background: url(../images/index_r2.png) no-repeat center top;
	height: 146px;
    }
    .main-wrapper{
	background: url(../images/main_r7.png) no-repeat center bottom;
	text-align: center;
	width: 100%;
	bottom: 0;
	top: 0;
	display: block;
	height: 650px;
	margin: auto;
	margin-top:-85px;
	z-index: -9999;
    }
    .maintext{
	width: 310px;
	margin: auto;
    padding-top:200px;
    padding-right:15px;
	}
	.main-btn{
	display: block;
	width: 220px;
	height: 45px;
	background-image: url(../images/main_btn_r4.png);
	border: 0;
	text-indent: -9999px;
	outline: none;
	margin: 0 auto;
	cursor: pointer;
	margin-top: 5px;
	}

	.main-btn:hover, .main-btn:focus {
	text-decoration: none;
	background-position: 0 -45px;
	}
	.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;
	}
	#cssmenu .home-btn {
	  display:none;
	}
    
	#cssmenu img {
	  display: none;
	}
	#cssmenu .rwd-btn{
    display: inherit;
    }
	.footer{
	width: 100%;
	margin: 0 auto;
	position: relative;
	background-color: #FFFFFF;
	bottom: 0;
	padding-top: 20px;
	padding-bottom:10px;
    }
}
@media only screen and (min-width: 300px) and (max-width: 370px)  {
	.main-content{
	margin: 0 auto;
	height:590px;
	max-width: 320px;
    }
	.menu-top{
	width: 100%;
	background: url(../images/index_r2.png) no-repeat center top;
	height: 146px;
    }
    .main-wrapper{
	background: url(../images/main_r8.png) no-repeat center bottom;
	text-align: center;
	width: 100%;
	bottom: 0;
	top: 0;
	display: block;
	height: 590px;
	margin: 0 auto;
	margin-top:-90px;
	z-index: -9999;
    }
    .maintext{
	width: 260px;
	margin: 0 auto;
    padding-top:180px;
    padding-right:17px;
	}
	.main-btn{
	display: block;
	width: 220px;
	height: 45px;
	background-image: url(../images/main_btn_r4.png);
	border: 0;
	text-indent: -9999px;
	outline: none;
	margin: 0 auto;
	cursor: pointer;
	margin-top: 5px;
	}

	.main-btn:hover, .main-btn:focus {
	text-decoration: none;
	background-position: 0 -45px;
	}

	.footer{
	width: 100%;
	margin: 0 auto;
	position: relative;
	background-color: #FFFFFF;
	bottom: 0;
	padding-top: 20px;
	padding-bottom:10px;
    }

	.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;
	}
	#cssmenu .home-btn {
	  display:none;
	}
    
	#cssmenu img {
	  display: none;
	}
	#cssmenu .rwd-btn{
    display: inherit;
    }
}