@import url("reset.css");

body{
	margin:0px;
	height:auto;
	background-color:#fafcfc;
}

#content_main{
	position:relative;
	margin:0;
	width:100%;
}

#content_text{
	position:relative;
	margin:0;
	width:100%;
}

.clear{clear:both;}

.WRAPPER{
	position:relative;
	margin:0 auto;
	max-width:960px;
	height:auto;
}

.header_image{
	width:100%;
	height:760px;
	background-image:url(img/bg.png);
	background-size:cover contain;
	background-position:top center;
	background-repeat:no-repeat;
	margin:0 auto;
}

.header_moive{
	float:left;
	margin-left:40%;
	width:60%;
}
	
.control_btn{
	float:right;
	position:relative;
	width:300px;
	height:40px; 
	z-index:5;
	margin-top:-285px;
	margin-right:30px;
}	
	
#play, #pause, #unMuteBtn, #muteBtn{width:70px; float:left;}
.form{
	position:relative;
	float:right;
	width:51%;
	border-radius: 10px;
	border:rgba(214, 0, 80, 1) 2px solid; 
	background-color:rgba(255, 255, 255, 1);
	background-image: url(img/form_title2.gif);
	background-repeat:no-repeat;
	background-position:center top;
	background-size:100%;
	margin:-240px 2% 0% 2%;
	padding-top:50px;
	height:180px;
}

.TEXT1{
	position:relative;
	width:100%;
	background-color:#ee7743;
	font-size:0;
}

img#student{margin-top:-140px; padding-right:2%; bottom:0; background-image:url(img/student1.png); background-repeat:no-repeat; background-size:100%;}
.student{float:left; width:380px;}
.item{width:23%; float:left; padding-left:4%; padding-top:10px;}

.item p{
	margin-top:10px;
	font-family: "儷黑 Pro","微軟正黑體","新細明體", Arial, Helvetica, sans-serif;
	line-height:22px;
	font-size:14px;
	color:#FFF;
}

.TEXT2{
	position:relative;
	width:100%;
	background-color:#fafcfc;
	font-size:0;
}

.TEXT2 p{
	font-family: "儷黑 Pro","微軟正黑體","新細明體", Arial, Helvetica, sans-serif;
	line-height:28px;
	font-size:16px;
	color:#000;
	padding:5px 40px;
}


/*===FOOTER區===*/
#footer{
	position:relative;
	margin:0 auto;
	text-align:center;
	background-color:#601986;
	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===*/

@media only screen and (min-width: 960px) and (max-width: 1500px) {
.header_moive{
	margin-left:35%;
	width:65%;
	margin-top:-100px;
}
}
/* Tablet Portrait size to standard 960 (devices and browsers) */
/* 平板 */
@media only screen and (min-width: 768px) and (max-width: 959px) {
.header_image{
	height:650px;
	background-image:url(img/bg1.png);
	background-size:100%;
	background-position:top center;
}

.header_moive{
	margin-top:-100px;
	margin-left:0%;
	width:100%;
}
.control_btn{margin-top:-185px;}	
.form{margin:-140px 2% 0% 2%;}

img#student{margin-top:-50px; padding-right:5%; bottom:0;}
.student{width:340px;}
.item{width:48%; padding-left:5%; padding-top:5px;}
.item p{margin-top:5px;}

/*===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) {
.header_image{
	height:500px;
	background-image:url(img/bg2.png);
}

.header_moive{
	margin-top:-100px;
	margin-left:0%;
	width:100%;
}
.control_btn{margin-top:-145px;}	

img#student{margin-top:0px; padding-right:5%; bottom:0;}
.student{width:40%;}
.item{width:50%; padding-left:5%; padding-top:5px;}
.item p{margin-top:5px;}

.form{
	width:90%;
	background-image: url(img/form_title2.gif);
	padding-top:60px;
	margin:-100px 5% 0% 5%;
	height:200px;
	margin-bottom:20px;
}

img#student{margin-top:50px;}

/*===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) {
img#student{background-image:url(img/student2.png);}
.student{width:90%;}
.item{width:90%;}

}

/* Mobile Portrait Size to Mobile Landscape Size (devices and browsers) */
/* 手機(直式) */
@media only screen and (max-width: 449px) {
.TEXT1{
	width:100%;
}
.TEXT2 p{padding:5px 0px;}
.item{width:94%;}
.student{width:90%;}
img#student{background-image:url(img/student2.png); margin-top:15px;}
.form{
	background-image: url(img/form_title1.gif);
	padding-top:100px;
	margin-right:5%;
	height:300px;
}

.control_btn{
	margin-right:5px;
}	

.TEXT2{
	width:90%;
	margin:0 5%;
}

/*===FOOTER區===*/
#footer{
	height:80px;/*脚部的高度*/
}

img#footer_1{
	margin-top:-3%;
	width:100%;
}
	
img#footer_2{
	margin-top:-8%;
	width:100%;
}
/*===FOOTER區END===*/


}
