@import url("reset.css");

body{
	margin:0px;
	background-image:url(img/bg.jpg);
	background-repeat:no-repeat;
	background-position:center top;
	background-color:#e6e4e5;
}

#WRAPPER{
	position:relative;
	margin:0 auto;
	max-width:960px;
}

#WRAPPER .logo{
	position:relative;
	text-align:right;
	max-width:935px;
	margin-right:50px;
	padding-top:30px;
}

#WRAPPER .slogan{
	position:relative;
	background-image:url(img/slogan.gif);
	background-repeat:no-repeat;
	background-size:100%;
	width:57.8%;
	height:334px;
	margin-top:-90px;
	margin-left:25px;
}

#WRAPPER .form{
	position:relative;
	padding-left:4%;
	margin-top:0%;
	z-index:1;
}

#WRAPPER .form .table_title{
	margin-left:10px;
	width:40%;
}

#WRAPPER .form .stamp{
	margin-left:43%;
	margin-top:-90px;
}

img#stamp_now{
	width:160px;
	height:160px;
}

#WRAPPER .form .table_form{
	width:50%;
	background: rgba(255,255,255,0.8);
	border-width:1px;
	border-style:dashed;
	border-color:#289a9c;
	height:225px;
	padding:10px;
	margin-top:-75px;
}

.table_form p{
	font-family: "微軟正黑體","新細明體", Arial, Helvetica, sans-serif;
	font-size: 16px;
	line-height:28px;
}

.table_form span{
	font-family: "微軟正黑體","新細明體", Arial, Helvetica, sans-serif;
	font-size: 20px;
	font-weight:bold;
	line-height:28px;
	color:#e61673;
}

#WRAPPER .box_titile{
	position:relative;
	background-image:url(img/box_main.png);
	background-repeat:no-repeat;
	width:58.3%;
	height:75px;
	margin-left:-20px;
	margin-top:-5px;
	z-index:5;
}

#content_box{
	position:relative;
	margin:0 auto;
	padding:20px;
	max-width:960px;
}

#content_box .BOX_text{
	float:left;
	width:23%;
	margin-right:2%;
	padding-bottom:30px;
}

.BOX_text p{
	padding:0px 0px 0px 20px;
	font-family: "微軟正黑體","新細明體", Arial, Helvetica, sans-serif;
	font-size: 16px;
	line-height:22px;
}


/*===FOOTER區===*/
#footer{
	position:relative;
	margin:0 auto;
	text-align:center;
	background-color:#e61673;
	bottom: 0;
	height: 70px;/*脚部的高度*/
	clear:both;
}

img#footer_1{
	max-width:610px;
	margin-top:-10px;
	/*width:63%;*/
}
	
img#footer_2{
	max-width:350px;
	margin-top:-10px;
	/*width:37%;*/
}
/*===FOOTER區END===*/

/* Tablet Portrait size to standard 960 (devices and browsers) */
/* 平板 */
@media only screen and (min-width: 768px) and (max-width: 959px) {
#WRAPPER .slogan{
	position: absolute;
	width:62%;
	margin-left:0px;
}

#WRAPPER .form{
	padding-left:2%;
	margin-top:27%;
}

#WRAPPER .form .table_form{
	height:225px;
}

#WRAPPER .form .stamp{
	margin-left:47%;
}

#WRAPPER .box_titile{
	width:100%;
}

#content_box .BOX_text{
	width:48%;
}

#content_box .BOX_text h1{
	width:65%;
}

/*===FOOTER區===*/
#footer{
	height:60px;
}

img#footer_1{
	margin-top:-2.5%;
	max-width:60%;
	/*width:63%;*/
}
	
img#footer_2{
	margin-top:-2.5%;
	max-width:40%;
	/*width:37%;*/
}
/*===FOOTER區END===*/
}

/* All Mobile Sizes (devices and browser) */
/* 所有手機、平板直式 */
@media only screen and (max-width: 767px) {
body{
	background-image:url(img/bg_s.jpg);
	background-repeat:no-repeat;
	background-position:center top;
	background-size:100%;
}

#WRAPPER .logo{
	margin-right:5px;
	padding-top:5px;
}

#WRAPPER .slogan{
	position: absolute;
	width:70%;
	margin-left:0px;
	margin-top:-75px;
}

#WRAPPER .form{
	padding-left:2%;
	margin-top:32%;
}

#WRAPPER .form .table_title{
	width:50%;
}

#WRAPPER .form .stamp{
	margin-left:60%;
	margin-top:-70px;
}

img#stamp_now{
	width:130px;
	height:130px;
}

#WRAPPER .form .table_form{
	width:95%;
	margin-top:-65px;
}

#WRAPPER .box_titile{
	width:100%;
}

#content_box .BOX_text{
	width:48%;
}

#content_box .BOX_text h1{
	width:75%;
}

/*===FOOTER區===*/
#footer{
	height:100px;
}

img#footer_1{
	/*max-width:450px;*/
	margin-top:-2%;
	width:90%;
}
	
img#footer_2{
	/*max-width:280px;*/
	margin-top:-5%;
	width:100%;
}
/*===FOOTER區END===*/


}

/* Mobile Landscape Size to Tablet Portrait (devices and browsers) */
/* 手機(橫式) 和 平板(直式) */
@media only screen and (min-width: 450px) and (max-width: 600px) {
#WRAPPER .logo{
	text-align:center;
	max-width:479px;
	margin-right:0px;
	padding-top:0px;
	background: rgba(240,164,200,0.5);
	z-index:10;
}

#WRAPPER .slogan{
	margin-top:-10px;
}

#WRAPPER .form{
	padding-left:2%;
	margin-top:40%;
}

#WRAPPER .form .table_title{
	width:65%;
}

#WRAPPER .form .stamp{
	visibility:hidden;
}

img#stamp_now{
	width:100px;
	height:100px;
}

#WRAPPER .form .table_form{
	width:93%;
	margin-top:-35px;
}

#content_box{
	padding:5px;
}

#WRAPPER .box_titile{
	position:relative;
	background-image:url(img/box_main1.png);
	background-repeat:no-repeat;
	background-position:center top;
	width:100%;
	height:80px;
	margin-left:0px;
	margin-top:15px;
	z-index:5;
}

#content_box .BOX_text h1{
	width:100%;
}
}

/* Mobile Portrait Size to Mobile Landscape Size (devices and browsers) */
/* 手機(直式) */
@media only screen and (max-width: 449px) {
#WRAPPER .logo{
	text-align:center;
	max-width:479px;
	margin-right:0px;
	padding-top:0px;
	background: rgba(240,164,200,1);
	z-index:10;
}

#WRAPPER .slogan{
	width:100%;
	margin-top:-10px;
}

#WRAPPER .form{
	padding-left:1%;
	margin-top:57%;
}

#WRAPPER .form .table_title{
	width:90%;
}

#WRAPPER .form .table_form{
	height:300px;
	margin-top:-65px;
}

#WRAPPER .form .stamp{
	visibility:hidden;
}

#content_box{
	padding:5px;
}

#WRAPPER .box_titile{
	position:relative;
	background-image:url(img/box_main1.png);
	background-repeat:no-repeat;
	background-position:center top;
	background-size:100%;
	width:100%;
	height:80px;
	margin-left:0px;
	margin-top:15px;
	z-index:5;
}

#content_box .BOX_text h1{
	width:95%;
}

#content_box .BOX_text{
	width:95%;
	margin-right:0%;
}

.BOX_text{
	width:90%;
	margin-left:5%;
	margin-right:5%;
}

/*===FOOTER區===*/
#footer{
	height:80px;/*脚部的高度*/
}

img#footer_1{
	margin-top:-3%;
	width:100%;
}
	
img#footer_2{
	margin-top:-8%;
	width:100%;
}
/*===FOOTER區END===*/

}

@media only screen and (max-width: 360px) {
	#WRAPPER .form .table_form{
	height:400px;
}
}