﻿@import url("reset.css");

body{
	margin:0px;
	height:100%;
	background-image:url(img/bg_2015.jpg);
	background-repeat:repeat;
}

#content_main{
	position:relative;
	margin:0;
	width:100%;
	height:auto;
}

#content_text{
	position:relative;
	margin:0;
	width:100%;
}

.WRAPPER{
	position:relative;
	margin:0 auto;
	max-width:960px;
	height:auto;
}

.logo{
	position:relative;
	float:right;
	margin:50px 20px 0 0;
	z-index:5;
}

img#AMCOnline{
	width:140px;
	height:60px;
}

.KV{
	position:absolute;
}

.slogan{
	position:relative;
}

.slogan p{
	width:48%;
	padding-left:50px;
	font-family: "微軟正黑體","新細明體", Arial, Helvetica, sans-serif;
	color: #3e3a39;
	margin-top: -16px;
	font-size: 18px;
	line-height: 26px;
}

.form{
	position:relative;
	margin-left:50px;
	margin-top:20px;
}

.form_title{
	position:relative;
	width:30%;
	background-color:#d70051;
	padding:5px;
	margin-left:10px;
	z-index:5;
}

.form_title h1{
	font-size: 24px;
	color:#FFF;
}

.table_form{
	position:relative;
	width: 49%;
	margin-top:-15px;
	padding:20px 10px;
	background-color:#FFF;
	border-width:5px;
	border-style:solid;
	border-color:#d70051;
	height:170px;
}

.text_box{
	position: relative;
	margin:25px 10px 0px 10px;
}

.text_box .text{
	position:relative;
	float:left;
	margin:12px 1.5% 30px 1.5%;
	width:30%;
}

.text p{
	margin-top:-30px;
	padding:5px;
	font-family: "微軟正黑體","新細明體", Arial, Helvetica, sans-serif;
	font-size:15px;
	line-height:22px;
	background-color:rgba(255, 255, 255, 0.6);
	border-width:1px;
	border-style:dashed;
	border-color:#036eb8;
}

/*===FOOTER區===*/
footer{
	position:relative;
	margin:0 auto;
	text-align:center;
	background-color:#000;
	height: auto;/*脚部的高度*/
	clear:both;
}

#footer{
	position:relative;
	margin:0 auto;
	text-align:center;
	background-color:#000;
	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) {
.form_title{
	width:40%;
}

.table_form{
	width: 55%;
}
	
.text_box .text{
	width: 95%;
	text-align: left;
}

/*===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) {
.form{
	margin-left:20px;
}

.form_title{
	width:60%;
}

.table_form{
	width: 80%;
}

.text_box .text{
	width:95%;
}

/*===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: 767px) {
.logo{
	margin:30px 20px 0 0;
}

img#AMCOnline{
	width:119px;
	height:51px;
}

.table_form{
	width: 90%;
	margin-left:10px;
}

.slogan p{
	width:50%;
	padding-left:20px;
	background-color:rgba(255, 255, 255, 0.6);
}
}

/* Mobile Portrait Size to Mobile Landscape Size (devices and browsers) */
/* 手機(直式) */
@media only screen and (max-width: 449px) {
.KV{
	margin-top:55px;
}

.logo{
	margin:0px;
	background-color:#F06;
	width:100%;
}

img#AMCOnline{
	padding-left:80px;
	width:119px;
	height:51px;
}

.slogan p{
	width:90%;
	padding-left:10px;
	color: #3e3a39;
	margin-top: 0px;
	font-size: 14px;
	line-height: 22px;
	background-color:rgba(255, 255, 255, 0.6);
}

.form{
	margin-left:0px;
}

.form_title{
	width:90%;
}

.table_form{
	width:90%;
	margin-left:0px;
	height:300px;
}

/*===FOOTER區===*/
#footer{
	height:80px;/*脚部的高度*/
}

img#footer_1{
	margin-top:-3%;
	width:100%;
}
	
img#footer_2{
	margin-top:-8%;
	width:100%;
}
/*===FOOTER區END===*/

}
