@import url("reset.css");

body{
	margin:0px;
	height:auto;
}

#content_main{
	position:relative;
	margin:0;
	width:100%;
	background-image:url(img/bg.jpg);
	background-position:center top;
	background-repeat:no-repeat;
}

.clear{clear:both;}

.WRAPPER{
	position:relative;
	margin:0 auto;
	max-width:960px;
	height:auto;
}

.logo{ position:relative; margin-top:45px; width:100%; text-align:right; z-index:10;}
img#AMCOnline_logo{width:180px; height:70px;}
.slogan{position:relative; float:right; width:59%; margin:-70px 40px 50px 10%;}
	
.form{
	position:relative;
	float:right;
	width:55%;
	border-radius: 10px;
	margin-bottom:40px;
	margin-right:25px;
	padding-left:2%;
	height:230px;
}
.form_title{ position:relative; float:right; margin:-15px 40px 0 0; width:500px;}

.demo{
	position:absolute;
	left:60px;
	top:580px;
}

.TEXT1{
	position:relative;
	width:100%;
	float:right;
}

.item1{float:right; margin-right:20px; width:25%;}
.item2{float:right; margin-right:20px; width:21%;}

.item1 p, .item2 p{
	font-family: "儷黑 Pro","微軟正黑體","新細明體", Arial, Helvetica, sans-serif;
	font-size:14px;
	line-height:22px;
	color:#000;
	margin:5px 0px 20px 0px;
}

.TEXT2{
	position:relative;
	float:right;
	width:90%;
	margin:0 2%;
}

.TEXT2 p{
	font-family: "儷黑 Pro","微軟正黑體","新細明體", Arial, Helvetica, sans-serif;
	font-size: 16px;
	line-height:24px;
	color:#000;
	padding:5px 5px;
	background-color:rgba(255, 255, 255, 0.6);
}


/*===FOOTER區===*/
#footer{
	position:relative;
	margin:0 auto;
	text-align:center;
	background-color:#000;
	bottom: 0;
	height: 70px;/*脚部的高度*/
	clear:both;
}

img#footer_1{
	max-width:600px;
	margin-top:-10px;
	/*width:63%;*/
}
	
img#footer_2{
	max-width:340px;
	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) {
.slogan{ width:60%; margin:-70px 80px 50px 10%;}
.item1, .item2{float:right; margin-right:20px; width:31%; background-color:rgba(255, 255, 255, 0.6);}

.form{
	position:absolute;
	width:65%;
	top:405px;
	left:33%;
}
.form_title{margin:-15px 25px 0 0;}
.demo{left:-5px;}
.TEXT2{
	margin:300px 2% 10px 2%;
	width:96%;
}

/*===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) {
#content_main{
	background-image:url(img/sbg.jpg);
	background-size:100%;
	background-position:left top;
}

img#AMCOnline_logo{width:144px; height:56px;}
.logo{margin-top:25px;}
.slogan{margin:-40px 7% 60px 0%; width:58%;}

.TEXT1{width:45%; margin-left:20%;}
.item1, .item2{float:right; margin-right:20px; width:95%;}

.demo{
	position:relative;
	top:0;
	left:0;
}

.form_title{margin:-15px 0px 0 0; width:80%;}
.form{
	position:relative;
	width:90%;
	top:0;
	left:0;
	background-color:rgba(104, 40, 114, 0.8);
	height:250px;
	margin-bottom:10px;
}

.TEXT2{
	width:98%;
	margin:1%;
	background-color:#FFF;
}

/*===FOOTER區===*/
#footer{
	height:50px;
}

img#footer_1{
	/*max-width:450px;*/
	margin-top:-2%;
	width:60%;
}
	
img#footer_2{
	/*max-width:280px;*/
	margin-top:-5%;
	width:40%;
}
/*===FOOTER區END===*/
}

/* Mobile Landscape Size to Tablet Portrait (devices and browsers) */
/* 手機(橫式) 和 平板(直式) */
@media only screen and (min-width: 450px) and (max-width: 600px) {
.logo{margin-top:10px; width:100%; text-align:center;}
#content_main{background-position:0px 40px;}
.slogan{margin:30px 7% 20px 0%;}
.TEXT1{width:100%; margin-left:0%; background-color:rgba(255, 255, 255, 0.8);}
.item1, .item2{margin-right:5%; width:90%;}
.form{
	position:relative;
	width:90%;
	top:0;
	left:0;
}
/*===FOOTER區===*/
#footer{
	height:80px;/*脚部的高度*/
}

img#footer_1{
	margin-top:-3%;
	width:100%;
}
	
img#footer_2{
	margin-top:-8%;
	width:100%;
}
/*===FOOTER區END===*/
}

/* Mobile Portrait Size to Mobile Landscape Size (devices and browsers) */
/* 手機(直式) */
@media only screen and (max-width: 449px) {
.logo{margin-top:10px; width:100%; text-align:center;}
#content_main{background-position:0px 40px;}
.slogan{margin:15px 7% 20px 0%;}
.TEXT1{width:100%; margin-left:0%; background-color:rgba(255, 255, 255, 0.8);}
.item1, .item2{margin-right:5%; width:90%;}
.form_title{margin:-15px 0px 0px 0px; width:100%;}
.form{
	margin-right:0px;
	width:95%;
	height:340px;
}
/*===FOOTER區===*/
#footer{
	height:80px;/*脚部的高度*/
}

img#footer_1{
	margin-top:-3%;
	width:100%;
}
	
img#footer_2{
	margin-top:-8%;
	width:100%;
}
/*===FOOTER區END===*/


}
