@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;
}

#content_text{
	position:relative;
	margin:0;
	width:100%;
	background-color:#df0e52;
}

.clear{clear:both;}

.WRAPPER{
	position:relative;
	margin:0 auto;
	max-width:960px;
	height:auto;
}

.slogan{position:relative; width:400px; margin-left:190px;}

.demo{
	position: absolute;
	right:-70px;
	width:53%;
	overflow:hidden;
}

.demo2{
	position: relative;
	visibility:hidden;
}

img#play_bt{width:500px;}
	
.form{
	position:relative;
	float:right;
	width:67%;
	border-radius: 10px;
	border:rgba(3, 110, 184, 1) 2px solid; 
	background-color:rgba(255, 255, 255, 1);
	background-image: url(img/form_title2.png);
	background-repeat:no-repeat;
	background-position:center top;
	background-size:68%;
	margin-bottom:5px;
	margin-right:25px;
	padding-top:50px;
	padding-left:2%;
	height:180px;
}

.TEXT1{
	position:relative;
	float:left;
	width:280px;
	margin:15px 0px 30px 250px;
}

.item{float:left; margin-right:20px;}

.item p{
	font-family: "儷黑 Pro","微軟正黑體","新細明體", Arial, Helvetica, sans-serif;
	font-size:14px;
	line-height:22px;
	color:#000;
	margin:5px 0px 20px 0px;
	background-color:rgba(245, 245, 237, 0.8);
}

.TEXT2{
	position:relative;
	float:right;
	width:67%;
	margin:0 1%;
}

.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: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) {
#content_main{
	background-image:url(img/960bg.jpg);
	background-position:left top;
}

.demo{
	position: absolute;
	right:0px;
	left:55%;
	width:45%;
	overflow:hidden;
}

.slogan{margin-left:22%; width:350px;}

.TEXT1{
	margin:15px 0px 30px 26%;
	width:260px;
}

/*===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/960bg.jpg);
	background-size:120%;
	background-position:left top;
}

.demo{
	visibility:hidden;
}

.demo2{visibility:visible; margin-left:28%;}

img#play_bt{width:0px;}

.slogan{margin-left:24%; width:350px;}

.TEXT1{
	margin:15px 0px 0px 28%;
	width:70%;
}

.form{
	width:95%;
	background-image: url(img/form_title2.png);
	padding-top:60px;
	margin-right:1%;
	height:200px;
	margin-bottom:0px;
}

.TEXT2{
	width:100%;
	margin:0%;
	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) {
.slogan{margin-left:24%; width:300px;}
.item{margin-right:0px;}
/*===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) {
.slogan{margin-left:5%; width:90%;}
.item{margin-right:0px;}
#content_main{
	background-image:url(img/sbg.jpg);
	background-size:130%;
}

.form{
	background-image: url(img/form_title1.png);
	padding-top:100px;
	margin-left:4%;
	height:300px;
}

img#student{margin-top:0px;}

.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===*/


}
