.topiframe, .footer {
	line-height: 0px;
	width: 100%;
}
.topiframe, .footer {
	z-index: 99;
	position: relative;
}



/* ---reset.css--- */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	/*vertical-align: baseline;*/
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
/* ---reset.css--- */

*{
	margin: 0;
	padding: 0;
	-webkit-box-sizing:border-box;
	-moz-box-sizing:border-box;
	-o-box-sizing:border-box;
	box-sizing:border-box;
	}

html{-webkit-text-size-adjust:none;
     /*font-family: Meiryo, "Meiryo UI", "Microsoft JhengHei UI", "Microsoft JhengHei", sans-serif;*/
	 font-family: Arial, Helvetica,"微軟正黑體", "Microsoft JhengHsans", sans-serif;
}

h1, h2, h3, h4, h5, h6 {
	font-family: Arial, Helvetica,"source-han-sans-traditional","微軟正黑體", "Microsoft JhengHsans",
	 sans-serif;
}

body{
	font-size:17px;
}

a{
	text-decoration: underline;
}

.ANT {
	-webkit-transition:all .4s;
	-moz-transition:all .4s;
	-ms-transition:all .4s;
	-o-transition:all .4s;
	transition:all .4s
}

/* ----------電腦版型--------------------------- */
#GOTOP{
	position:absolute;
	right:5px;
	bottom:5px;
	width:50px;
	height:50px;
	background-image:url(../images/gotop.png);
	cursor:pointer;
	z-index:9999;
	position: fixed;
	opacity: 0.8;
    filter: alpha(opacity=80);
	}
	
#GOTOP:hover{
	opacity: 1;
    filter: alpha(opacity=1);
	}

/*BANNER 進場delay時間、浮動*/
.banner{ position:relative; overflow:hidden;}
img.banner001, img.banner002{position:absolute;}
img.banner_big{-webkit-animation-delay:0.4s; /* Chrome, Safari, Opera */ animation-delay:0.4s; -webkit-animation-duration:0.5s; /* Chrome, Safari, Opera */ animation-duration:0.5s;}
img.banner_min{-webkit-animation-delay:0.4s; /* Chrome, Safari, Opera */ animation-delay:0.4s; -webkit-animation-duration:0.5s; /* Chrome, Safari, Opera */ animation-duration:0.5s;}
img.banner001{-webkit-animation-delay:0.4s; /* Chrome, Safari, Opera */ animation-delay:0.4s;}
img.banner002{-webkit-animation-delay:0.8s; /* Chrome, Safari, Opera */ animation-delay:0.6s;}

/*------------- TOP -------------*/	


.tada{
	animation: tada 5s infinite;
	animation-delay: 3s;
}

.pulse{ 
	animation: pulse 2.5s infinite;
	animation-delay: 3s;
	}

@-webkit-keyframes pulse {
  from {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }

  50% {
    -webkit-transform: scale3d(1.05, 1.05, 1.05);
    transform: scale3d(1.05, 1.05, 1.05);
  }

  to {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }
}

@keyframes pulse {
  from {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }

  50% {
    -webkit-transform: scale3d(1.05, 1.05, 1.05);
    transform: scale3d(1.05, 1.05, 1.05);
  }

  to {
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }
}












	
	
/*------------- CONTENT1 -------------*/

.CONTENT1, .CONTENT2, .CONTENT3, .CONTENT4{
    width:100%;
	height:auto;
	position:relative;
	overflow:hidden;
	background:url(../images/bg01.png) center center fixed;
	background-color: #2c6dd8;
	padding-top:50px;
	padding-bottom:50px;
    z-index:2;
}

.CONTENT2, .CONTENT4{
	background:url(../images/bg02.png) center center fixed;
	background-color: #eaedf2;
}

.BOX1{
	margin-top: 70px;
	padding: 2% 10%;
	color: #fff;
	border: 3px solid #99b92a;
	height: auto;
	min-height: 250px;
	margin-bottom: 15px;
}

.BOX1 img{
	margin-top: -80px;
	max-width: 150px;
	margin-bottom: 20px;
}

h6{
	text-align: center;
	font-size: 23px;
	margin-bottom: 10px;
}

.BOX1 p{
	font-size: 16px;
	line-height: 1.5;
}

.CTA{
	display: none;
	clear: both;
	margin: 0 auto;
	max-width: 250px;
	width: 70%;
	margin-top: 30px;
}















/*------------- CONTENT2 -------------*/
h4 {
    text-align: center;
    font-size: 35px;
    line-height: 1.3;
    color: #11161e;
    font-weight: 700;
    margin-bottom: 5px;

}

h4 span{
	color: #357fb3;
}

.h4{
	text-align: center;
    font-size: 21px;
    line-height: 1.3;
    color: #ed4714;
    font-weight: 600;
}

.CONTENT2 .line{
	margin-bottom: 50px;
}

/*.table1 樣式*/
.table1-inverse td, .table1-inverse th, .table1-inverse thead th {
    border-color: #fff;
}

thead tr.gray{
	background-color: #2c6dd8;	
}

tr.gray>th{
	text-align: center;
	color: #fff;
}

.table1>tbody>tr:nth-of-type(odd){
	background-color: #fff;	
}

.table1>tbody>tr:nth-of-type(even){
	background-color: #e2edff;	
}

.table1>tbody>tr:hover{
	background-color: #c6dafc;
}

.table1>tbody>tr>td:nth-of-type(odd){
	width: 35%;
	color: #2c6dd8;
	font-weight: bold;
}

.table1>tbody>tr>td:nth-of-type(even){
	width: 65%;
}

.table1>tbody>tr>td{
	font-size: 16px;
	padding-left: 30px;
}

.table1>tbody>tr>td p{
	margin-bottom: 6px;
}

p.ps{
	clear: both;
	text-align: center;
	font-size: 15px;
	color: #333;
	line-height: 1.3;
}









/*------------- CONTENT3 -------------*/
.BOX2{
	margin-top: 70px;
	padding: 2% 0%;
	background-color: #fff;
	height: auto;
	min-height: 350px;
	margin-bottom: 15px;
}

.BOX2 img{
	margin-top: -80px;
	max-width: 150px;
	margin-bottom: 20px;
}

.CONTENT3 h6{
	color: #8a8a8a;
}

.h6{
	color: #fff;
	text-indent: 7%;
	font-size: 20px;
	background-color: #8a8a8a;
	line-height: 1.5;
}

.BOX2 ul{
	margin: 0 auto;
	width: 85%;
	padding-left: 3%;
}

.BOX2 ul li, tbody>tr>td ul li{
	color: #333;
	font-size: 16px;
	line-height: 1.3;
	margin-bottom: 5px;
	list-style-type: square;
}











/*------------- CONTENT4 -------------*/
.CONTENT4{
	z-index: 1;
}

.step{
	margin-top: 20px;
	margin-bottom: 15px;
}

.step img{
	max-width: 230px;
	padding-left: 45px;
}

.reached img{
	max-width: 65px;
}

.table_b thead tr{
	background-color: #2c6dd8;
}

.table_g thead tr{
	background-color: #3c6d03;	
}

.table_r thead tr{
	background-color: #dc3535;	
}

.table_b tr>th, .table_g tr>th, .table_r tr>th{
	font-size: 21px;
	color: #ffe400;
	text-indent: 20px;
}

.table_b>tbody>tr>td, .table_g>tbody>tr>td, .table_r>tbody>tr>td{
	background-color: #e2edff;
	padding: 3% 0;
	height: 200px;	
}

.table_g>tbody>tr>td{
	background-color: #eef7ce;
}

.table_r>tbody>tr>td{
	background-color: #f6c5c5;
}

tbody>tr>td ul{
	margin: 0 auto;
	width: 90%;
	padding-left: 3%;
}

.straight_line{
	position: absolute;
	top: 15%;
	left: 49.8%;
	z-index: -1;
	margin: 0 auto;
	width: 5px;
	height: 75%;
	background-color: #ccc;
}



/*------------- FORM_BLOCK -------------*/
#FORM_BLOCK{
	background-image:url(../images/form_bg.jpg);
	background-position: center top;
	background-repeat: no-repeat;
	background-color: #3473d9;
	padding-top:60px;
	padding-bottom:60px;
}

.h3{
	text-align:center;
	font-size: 28px;
	color:#ffc61b;
	margin-bottom: 5px;
}
	
h3{
	color:#ffc61b;
	text-align:center;
	font-size:36px;
	margin-bottom: 25px;
}

h5{
	color: #fff;
	font-size: 21px;
	font-weight: 300;
	line-height: 1.7;
}

.ID{
	color: #fff;
	margin-bottom: 10px;
}

.radio_size{
	min-width:20px;
	min-height:20px;
    border: 1px solid #171717;
	vertical-align: text-bottom;
	display: inline-block;
}

.ID>div{
	line-height: 1.7;
}


/*@keyframes discolor{
	0%, 50% {
	    color: #ffe400;
	}
	51%, 100% {
	    color: #fff600;
	}
}*/


	
/*------------表單內容------------*/	

#FORM {
	margin:0 auto;
	z-index:99999;
	width: 85%;
	max-width: 480px;
	margin-bottom: 50px;
}
	
#FORM #NAME{
	width:49%;
	height:auto;
	float:left;
	margin-right:2%;
	}
	
#FORM #PHONE{
	width:49%;
	height:auto;
	float:left;
}
	
#FORM #EMAIL{
	width:100%;
	height:auto;
	float:left;
}	

#FORM #Dept{
     margin:0px 0px 20px 0px;
     width:100%;
     height:40px;
	 
 }
#FORM #CITY{
     float:left;
     width:49%;
     height:auto;
     margin-right:2%;
 }

#ddl_city_no{
     width:100%;
     font-size:16px;
     text-align:center; 
 }

#FORM #SCHOOL{
     float:left;
     width:49%;
 }

 #ddl_area_no{
     width:100%;
     font-size:16px;
     text-align:center;   
 }        	
	
#READ{
	clear: both;
	font-size:15px;
	width:100%;
	display:block;
	margin-bottom:10px;}
	
#READ .searchtext2{
	min-width:20px;
	min-height:20px;
    border:solid 1px gray;
	vertical-align: text-bottom;
	}

#READ span{
	color:#fff;
	line-height:20px;
	text-indent:5px;
	line-height:1.3;
	}
	

#FORM #BUT {
	float:left;
	width:100%;
	height:auto;}

.A{
	font-family:Arial, Helvetica,"微軟正黑體", sans-serif,Microsoft JhengHei;
	color:#292e71;
	background-color: #fff;
	border: 0;
	border-left: 6px #ffc61b solid;
	width:100%;
	height:35px;
	line-height:35px;
	margin-top:8px;
	font-size:18px;
	text-align:left;
	padding-left:10px;
	overflow:hidden;
	}
	
.B{
	clear:both;
	width:100%;
	height:50px;
	display:block;
	margin:0 auto;
    *zoom: 1;
    font-size: 28px;
	line-height: 45px;
    text-align: center;
    color: #000;
	text-decoration:none;
    background-color: #ffc61b;
    border-bottom: 10px solid #ffa61b;
    cursor: pointer;
	border-radius:3px;
}

.B:hover{
	color: #007caf;
}

		
/* --電腦版型2-------------------------------------*/
@media screen and (max-width:1279px) {
.APCS_logo{ margin-top: 15%; }

}


/* --平板版型1-------------------------------------*/
@media screen and (max-width:1023px) {
.straight_line{ left: 49.7%;}

.CTA{ display: block;}
}


/*  ↓↓↓↓  螢幕尺寸大於960時頁面顯示效果↓↓↓↓  */
@media (min-width: 960px)  {
/*BANNER*/
.banner_big{width: 100%;height:auto; display:block;}
.banner_min{ display:none;}
img.banner001{display: block;top: 4%;left: 34%;z-index: 1;max-width: 640px;height: auto;width: 32vw;}
img.banner002{display: block;top: 1%;left: 3%;z-index: 1;max-width: 600px;height: auto;width: 29vw;}
}

/* ↓↓↓↓ pad 豎屏時, 頁面顯示尺寸 769 < x <959 時,顯示效果 ↓↓↓↓  */

@media (min-width: 769px) and (max-width:959px) {
/*BANNER*/		
.banner_big{ display:none;}	
.banner_min{width: 100%;max-width: 960px;min-width: 280px;height: auto;}	
img.banner001{display: block;top: 19%;left: 3%;z-index: 1;max-width: 640px;height: auto;width: 66vw;}
img.banner002{display: none;}

}

/* ↓↓↓↓ pad 豎屏時, 頁面顯示尺寸 300 < x <768 時,顯示效果 ↓↓↓↓  */

@media (min-width: 300px) and (max-width:768px) {
/*BANNER*/		
.banner_big{ display:none;}	
.banner_min{width: 100%;max-width: 960px;min-width: 280px;height: auto;}	
img.banner001{display: block;top: 34%;left: 3%;z-index: 1;max-width: 640px;height: auto;width: 66vw;}
img.banner002{display: none;}

}

/*769~960*/
@media (max-width: 960px) {
	/*手機板的FOOTER------別刪除-------------------------------*/
	.FOOTER_frame {
		height: 450px;
	}
}









/* --平板版型2-------------------------------------*/
@media screen and (max-width:768px) {
.TOP{
	display:block;
	position:relative;
	background:url(../images/top_bg_768.jpg) no-repeat;
	width:100%;
	height:0;
	padding-bottom: 104.1666666666667%;
	background-size:100% auto;
}
.APCS_logo, h1, .TOP>.line{ margin-bottom: 5px; }
.straight_line{ display: none; }
}
	
/* --手機版型1-------------------------------------*/
@media screen and (max-width:639px) {
#GOTOP{ display: none;}
h4{ font-size: 28px;}
.h4{ font-size: 22px;}
.CONTENT2 .col-sm-12{ padding-left: 0; padding-right: 0; }
.table1>tbody>tr>td{ padding-left: 15px;}
.h1_img{
	display:block;
	background:url(../images/h1_1.svg) no-repeat;
	width:100%;
	height:0;
	padding-bottom: 12.6984126984127%;
	background-size:100% auto;
}
}

/* --手機版型2-------------------------------------*/
@media screen and (max-width:479px) {
.TOP, #FORM_BLOCK, .CONTENT1, .CONTENT2, .CONTENT3, .CONTENT4{ min-width:320px;}
#FORM .GIFT, #FORM #NAME, #FORM #PHONE, #FORM #EMAIL{ width:100%; margin-right:0;}
.TOP>.line{ margin-bottom: 0;}
.CONTENT2 .line{ margin-bottom: 30px; }
h4{ font-size: 25px;}
.h4{ font-size: 19px;}
h3{ font-size: 28px;}
h6{ font-size: 21px; }
.BOX2 ul li, tbody>tr>td ul li{ font-size: 15px;}
}

/* --手機版型3-------------------------------------*/
@media screen and (max-width:359px) {

}

/* --電腦版型w320以下-------------------------------------*/
@media screen and (max-width:319px) {

}