/* ==========================================================================
Base
========================================================================== */
html { width: 100%; height: 100%; }
body { margin: 0; padding: 0; font-family: 'Microsoft JhengHei', 'Lato', Calibri, Arial, sans-serif; font-size: 100%; background-color: #fff; }
a { text-decoration: none; -webkit-transition: all 0.5s; -moz-transition: all 0.5s; -o-transition: all 0.5s; transition: all 0.5s; }


.clearfix { clear: both; overflow: auto: zoom: 1; }

/* Reset */
*,
*:after,
*:before {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

.content970 { width: 100%; max-width: 970px; margin: 0 auto; vertical-align: top; }
.right { float: right; padding-left: 15px; }
.left { float: left; padding-right: 15px; padding-bottom: 4em; }
.half { display: inline-block; width: 478px; margin: 0 auto; padding-top: 120px; text-align: left; vertical-align: top; }

#gotop { display: none; position: fixed; right: 0px; bottom: 120px; }

a.pageup { display: block; right: 0; top: 200px; font-size: 0.7em; line-height: 0.8m; color: #fff; background: rgba(229,1,90,1); text-align: center; width: 60px; height: 50px; border-top-left-radius: 8px; border-top-right-radius: 8px; text-decoration: none; z-index: 99999; }
a.pageup:hover{ background: #000; text-decoration: none; }
a.pageup i{ padding: 0.2em 0 0 0; }

a.top { display: block; right: 0; top: 270px; color: #fff; background: rgba(149,149,149,1); text-align: center; width: 60px; height: 50px; border-bottom-left-radius: 8px; border-bottom-right-radius: 8px; text-decoration: none; z-index: 99999; }
a.top:hover{ background: #000; text-decoration: none; }
a.top i{ padding-top: 1em; }

.anchor { display: hidden; }
#classroom,#classroom iframe { width: 100%; height: 720px; }

/* ==========================================================================
Mainpic
========================================================================== */
.mainpic { margin: 0; margin-top:100px; height:44.8vw; }
ul.slides li { margin-bottom: 0; }


.mpg-content1{ position: relative; display: block; vertical-align: bottom; width: 100%; height: 44.8vw; margin: auto;  }
.mpg-content2{ position: relative; display: block; vertical-align: bottom; width: 100%; height: 860px; margin: auto; background: url('../images/mainpic.jpg') no-repeat top left; -webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; background-size: cover; }
.mpg-content3{ position: relative; display: block; vertical-align: bottom; width: 100%; height: 860px; margin: auto; background: url('../images/mainpic.jpg') no-repeat top left; -webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; background-size: cover; }
.mpg-content4{ position: relative; display: block; vertical-align: bottom; width: 100%; height: 860px; margin: auto; background: url('../images/mainpic.jpg') no-repeat top left; -webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; background-size: cover; }

.slides h2{
	color: #e5015a;
	font-size: 2em;
	font-weight: bold;
	margin: 0 0 0 0;
	padding: 200px 0 0 0;
}

.slides h1{
	color: #000000;
	font-size: 3em;
	font-weight: normal;
	white-space: pre-line;
	margin: 0 0 0 0;
}

.slides p {
	color: #8b8a8a;
	font-size: 0.9em;
	line-height: 0.9em;
	font-weight: normal;
	white-space: pre-line;
	margin: 0 0 0 0;
}


/* ==========================================================================
Icon
========================================================================== */
.downloadoutline { position: absolute; width: 100%; max-width: 960px; z-index: 9; left:50%; margin-left:-480px; display:none; }
.download { position: relative; margin: 680px 0 0 0; }
.download-icon { display: inline-block; font-size: 1em; text-align: center; width: 90px; padding-right: 10px; }
.download-icon img{ padding-bottom: 5px; }
.download-icon a{ color: #314c50; padding: 0.5em 0; }
.download-icon a:hover{ color: #b5003a; text-decoration: none; }


.semi-circle {  
    border-radius: 80px 80px 0 0;  
	width:80px;
   	height: 40px;  
	color:#FFF;
	background-color:#ccc;
	margin:-40px auto 0 -25px;
	z-index:99;
	text-align:center;
	padding-top:10px;
	font-size:1.8em;
	position:absolute;
	cursor:pointer;
	
	left:50%;
}  
.semi-circle:hover { 
    background-color:#666;
}
/* ==========================================================================
About
========================================================================== */
#about { height: 860px; padding: 160px 0 0 0; text-align: right; background: url('../images/mainpic_about.jpg') no-repeat top left; -webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; background-size: cover;  }
h3{ color: #e5015a; font-size: 2em; margin-bottom: -0.5em; font-weight: bold; }
h4{ color: #000; font-size: 1em; line-height: 1.5em; font-weight: normal; }

.feature { display: inline-block; width: 230px; height: 410px; vertical-align: top; background: rgba(255,255,255,0.8); border-radius: 8px; border: solid 1px rgba(0,0,0,0.1); padding: 30px 26px; margin: 6em 4px 0 4px; font-size: 1em; line-height: 1.5em; color: #5a5a5a; text-align: left; }
.feature img{ display: block; margin: 1em auto; }
.featuretitle { width: 100%; text-align: center; font-size: 120%; font-weight: 700; color: #e5015a; white-space: pre-line; }

/* ==========================================================================
Products
========================================================================== */
#products { height: 860px; padding: 120px 0 0 0; text-align: left; background: url('../images/mainpic_products.jpg') no-repeat top right; -webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; background-size: cover;  }
h5{ color: #000; font-size: 1em; line-height: 1.5em; font-weight: normal; width: 360px; }

.prd-xl1 { display: inline-block; width: 470px; height: 220px; vertical-align: top; background: opacity:0.8; background: url('../images/products01.png') no-repeat top center; -webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; background-size: cover; border-radius: 8px; border: solid 1px rgba(0,0,0,0.1); padding: 40px 30px; margin: 3em 6px 0 0; font-size: 1em; line-height: 1.6em; color: #5a5a5a; text-align: left; }
.prd-xl2 { display: inline-block; width: 470px; height: 220px; vertical-align: top; background: opacity:0.8; background: url('../images/products02.png') no-repeat top center; -webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; background-size: cover; border-radius: 8px; border: solid 1px rgba(0,0,0,0.1); padding: 40px 30px; margin: 3em 0 0 0; font-size: 1em; line-height: 1.6em; color: #5a5a5a; text-align: left; }
.prdtitle { font-size: 120%; font-weight: 700; color: #000; margin-bottom: 0.2em; }
.prdtxt { display: inline-block; font-size: 120%; font-weight: 400; color: #e5015a; }
.prdtxt a{ color: #e5015a; }
.prdtxt a:hover{ color: #e5015a; }
.prdtxt a:link{ color: #e5015a; }
.prdtxt a:visited{ color: #e5015a; }

.prd-x12-content{
	padding:0;
	margin:0;
	max-width:330px;

	}

.prd-s { 
display: inline-block; 
width: 230px; 
height: 110px; 
vertical-align: top;
background: -moz-linear-gradient(top,  rgba(255,255,255,0.8) 50%, rgba(233,237,242,0.8) 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(top,  rgba(255,255,255,0.8) 50%, rgba(233,237,242,0.8) 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to bottom,  rgba(255,255,255,0.8) 50%, rgba(233,237,242,0.8) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#00e9edf2',GradientType=0 ); /* IE6-9 */
border-radius: 8px; border: solid 1px rgba(0,0,0,0.1); padding: 15px 20px; margin: 12px 6px 0 0; font-size: 1em; line-height: 1.8em; color: #5a5a5a; text-align: left; }

.prd-s-end { 
display: inline-block; 
width: 230px; 
height: 110px; 
vertical-align: top;
background: -moz-linear-gradient(top,  rgba(255,255,255,0.8) 50%, rgba(233,237,242,0.8) 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(top,  rgba(255,255,255,0.8) 50%, rgba(233,237,242,0.8) 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to bottom,  rgba(255,255,255,0.8) 50%, rgba(233,237,242,0.8) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#00e9edf2',GradientType=0 ); /* IE6-9 */
border-radius: 8px; border: solid 1px rgba(0,0,0,0.1); padding: 15px 20px; margin: 12px 0 0 0; font-size: 1em; line-height: 1.8em; color: #5a5a5a; text-align: left; }
.prd-s img{ display: block; }
.prd-s-end img{ display: block; }


/* ==========================================================================
Slidebanner
.features { background: url('../images/index_bg01.jpg') no-repeat bottom center; -webkit-background-size: contain; -moz-background-size: contain; -o-background-size: contain; background-size: contain; padding-top: 8em; }
.indextitle { font-size: 2.2em; line-height: 1em; color: #252525; font-weight: 700; }
.indextitle span{ font-size: 42%; color: #959595; }
.features-wrapper, .team-wrapper { margin: 70px 0 0; }
.features-wrapper span{ font-size: 1.2em; color: #2ab1e2; font-weight: 700; width: auto; padding: 3px 8px; border: solid 1px #2ab1e2; }
.features-wrapper p{ font-size: 0.9em; color: #252525; word-spacing: 1px; line-height: 1.6em; padding-top: 10px; }
.featuresimg { width:50%; }

========================================================================== */

/* ==========================================================================
News
========================================================================== */
#news { height: 860px; padding: 120px 0 0 0; text-align: right; background: url('../images/mainpic_news.jpg') no-repeat top left; -webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; background-size: cover;  }

a.news-s1 { display: inline-block; width: 230px; height: 110px; vertical-align: top; background: url('../images/news1.jpg') no-repeat top right; -webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; background-size: cover; border-radius: 8px; border: solid 1px rgba(0,0,0,0.1); padding: 15px 0 0 20px; margin: 0 8px 0 0; font-size: 1.2em; line-height: 1.8em; font-weight: 700; color: #000; text-align: left; }
a.news-s2 { display: inline-block; width: 230px; height: 110px; vertical-align: top; background: url('../images/news2.jpg') no-repeat top right; -webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; background-size: cover; border-radius: 8px; border: solid 1px rgba(0,0,0,0.1); padding: 15px 0 0 20px; margin: 0 0 0 0; font-size: 1.2em; line-height: 1.8em; font-weight: 700; color: #000; text-align: left; }
.news-xl { display: block; width: 470px; height: 300px; vertical-align: top; background: rgba(255,255,255,0.8); border-radius: 8px; border: solid 1px rgba(0,0,0,0.1); padding: 30px 20px 10px 20px; margin: 10px 0 0 0; font-size: 1em; line-height: 1.4em; color: #5a5a5a; text-align: left; }
.newstitle { font-size: 1.2em; font-weight: 700; color: #000; margin-bottom: 0.2em; }
.newssubtitle { font-size: 110%; font-weight: 700; padding-bottom: 0.5em; color: #e5015a; }
.news-m { display: block; width: 470px; height: 190px; vertical-align: top; background: rgba(255,255,255,0.8); border-radius: 8px; border: solid 1px rgba(0,0,0,0.1); padding: 30px 20px 10px 20px; margin: 0 0 0 5px; font-size: 1em; line-height: 1.4em; color: #5a5a5a; text-align: left; }
.news-l { display: block; width: 470px; height: 220px; vertical-align: top; background: rgba(255,255,255,0.8); border-radius: 8px; border: solid 1px rgba(0,0,0,0.1); padding: 30px 20px 10px 20px; margin: 10px 0 0 5px; font-size: 1em; line-height: 1.4em; color: #5a5a5a; text-align: left; }
.news-hr { border-top: 1px dashed #bababa; height: 1px; margin: 1em 0; overflow: hidden; }
.newsimg{ float: left; padding: 0 1em 1em 0; }
.youtube{ width: 14em; height: 10em; float: right; padding: 0; margin-top: -4.5em; }
.more_xl{ display: block; }
.more_s{ display: none; }

/* ==========================================================================
Contact
========================================================================== */
#contact { height: 860px; padding: 0; background: url('../images/mainpic_contact.jpg') no-repeat bottom left; -webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; background-size: cover;  }
.contactct { width: 49%; float: right; padding-top: 130px; text-align: left; vertical-align: top; }

.onepagetxt { font-size: 0.9em; padding-top: 1em; color: #959595; text-align: left; }

.onepagefillform { display: inline-block; font-family: 'Microsoft JhengHei', 'Lato', Calibri, Arial, sans-serif; border: solid 1px rgba(0,0,0,0.1); border-radius: 4px; font-size: 1em; color: #959595; background: #fff; padding: 10px; margin-top: 0.5em; }
.fform100 { width: 100%; }
.fform20 { width: 18%; }
.fform30 { width: 30%; }

.onepagebutton {
	display: inline-block;
	padding: 10px;
	margin: 0.5em 10px 0 10px;
	text-align: center;
	text-decoration: none;
	font-size: 1em;
	border-radius: 4px;
	cursor: pointer;
	color: #ffffff;
	background: #e5015a;
}
.onepagebutton:hover  {
	color: #ffffff;
	background: #b5003a;
	border: 0;
	text-decoration: none;
}
#about ,#products ,#classroom,#news  ,#classroom iframe,#contact {
	border-bottom: 1px #ccc solid;
}

/* ==========================================================================
Waypoints
========================================================================== */
.wp1, .wp2, .wp3, .wp4, .wp5, .wp6 { visibility: hidden; }
.bounceInLeft, .bounceInRight, .fadeInUp, .fadeInUpDelay, .fadeInDown, .fadeInUpD, .fadeInLeft, .fadeInRight { visibility: visible; }
.delay-05s { animation-delay: 0.5s; -webkit-animation-delay: 0.5s; }
.delay-1s  { animation-delay:   1s; -webkit-animation-delay:   1s; }
.delay-15s { animation-delay: 1.5s; -webkit-animation-delay: 1.5s; }
.delay-2s  { animation-delay:   2s; -webkit-animation-delay:   2s; }
.delay-25s { animation-delay: 2.5s; -webkit-animation-delay: 2.5s; }
.delay-3s  { animation-delay:   3s; -webkit-animation-delay:   3s; }


/*@media screen and (max-width: 1366px){
  .mainpic{ height: 610px; }
  .mpg-content1{  height: 610px; }
}

@media screen and (max-width: 1280px){
  .mainpic{ height: 610px; }
  .mpg-content1{  height: 610px; }
}

@media screen and (max-width: 1024px){
  .mainpic{ height: 455px; }
  .mpg-content1{  height: 455px; }
}*/

@media screen and (max-width: 1000px) {
.content970 { width: 90%; }
.half { width: 49%; }
.contactct { width: 90%; clear: right; margin: auto; padding-top: 130px; }

#about { padding: 130px 0 30px 0; height: auto; background: url('../images/mainpic_about.jpg') no-repeat top left; -webkit-background-size: contain; -moz-background-size: contain; -o-background-size: contain; background-size: contain; background-color: #f2efe9; }
#products { padding: 130px 0 30px 0; height: auto; background: url('../images/mainpic_products.jpg') no-repeat top right; -webkit-background-size: contain; -moz-background-size: contain; -o-background-size: contain; background-size: contain; background-color: #e8f8ff; }
#classroom,#classroom iframe { width: 100%; height: 757px; }
#news { padding: 130px 0 30px 0; height: auto; background: url('../images/mainpic_news.jpg') no-repeat top left; -webkit-background-size: contain; -moz-background-size: contain; -o-background-size: contain; background-size: contain; background-color: #f2f3f6; }
#contact { padding: 0; background: url('../images/mainpic_contact.jpg') no-repeat bottom left; -webkit-background-size: contain; -moz-background-size: contain; -o-background-size: contain; background-size: contain; background-color: #efefef; }

.feature { display: inline-block; width: 48%; height: 360px; margin: 0.5em 0.5%; }
.featuretitle { white-space: nowrap; }


.slides h2{ margin: 0 0 0 10%; }
.slides h1{ margin: 0 0 0 10%; }
.slides p { margin: 0 0 0 10%; }

.downloadoutline { width: auto; left: 0; margin: 0 0 0 14%;  }

.prd-xl1 { display: inline-block; width: 48%; margin: 0.5em 0.5%; }
.prd-xl2 { display: inline-block; width: 48%; margin: 0.5em 0.5%; }
.prd-s { display: inline-block; width: 23.2%; height: 130px; margin: 0.5em 0.5%; }
.prd-s-end { display: inline-block; width: 23.2%; height: 130px; margin: 0.5em 0.5%; }

a.news-s1 { display: inline-block; width: 48%; height: 120px; margin: 5px 0.5%; }
a.news-s2 { display: inline-block; width: 48%; height: 120px; margin: 5px 0.5%; }
.news-xl { display: block; width: 98%; height: auto; margin: 5px 0.5%; padding-bottom: 1.5em; }
.news-m { display: block; width: 98%; height: auto; margin: 5px 0.5%; }
.news-l { display: block; width: 98%; height: auto; margin: 5px 0.5%; padding-bottom: 1.5em; }
.newsimg{ clear: left; width: 100%; padding: 0 0 1em 0; }
.news-hr { clear: both; }
.youtube{ display: block; width: 18em; height: 11em; float: none; padding: 0 0 1em 0; margin: 0 auto; }

h5{ width: 90%; }

}


/*@media screen and (max-width: 768px){
  .mainpic{ height: 350px; }
  .mpg-content1{  height: 350px; }
}*/

@media screen and (max-width: 700px) {
#about { padding: 70px 0 30px 0; }
#products { padding: 70px 0 30px 0; }
#classroom,#classroom iframe { width: 100%; height: 500px; }
#news { padding: 70px 0 30px 0; }
#contact { padding: 0; height: 750px;  background: url('../images/mainpic_contact.jpg') no-repeat top right}
.content970 { width: 100%; }
.contactct { float: none; padding-top: 50px; width: 80%; margin: auto; }
.anchor { display: block; width: 100%; height: 70px; }
.f2efe9 { background-color: #f2efe9; }
.e8f8ff { background-color: #e8f8ff; }
.f9f9f9 { background-color: #f9f9f9; }

.mainpic { height: 600px; margin-top: -22px; }
.slides h1{ font-size: 1.8em; line-height: 1.4em; margin: 0 0 0 0; text-align: center; padding: 0 0 0 0; }
.slides h2{ font-size: 1.5em; width: 100%; text-align: center; margin: 72px 0 0 0; padding: 230px 0 0 0; }
.slides p { display: none; }

.mpg-content1{ width: 100%; height: 200px; margin-bottom: 100px; background-size: 100% !important;}
.mpg-content2{ width: 100%; height: 200px; margin-bottom: 100px; }
.mpg-content3{ width: 100%; height: 200px; margin-bottom: 100px; }
.mpg-content4{ width: 100%; height: 200px; margin-bottom: 100px; }

.downloadoutline { width: 100%; margin: 0; display:block; z-index: 999; top:290px;}

.download { text-align: center;   z-index: 999}
.download-icon { padding-right: 0; }
.download-icon img{ display: block; width: 70%; margin: auto; padding-top: 1em; }
.download-icon a{ padding: 0.2em 0; }

.prd-s img{ display: inline-block; float: right; }
.prd-s-end img{ display: inline-block; float: right; }

#gotop { display: none; position: absolute; right: 0px; top: 4300px; }
}

@media screen and (max-width: 640px) {
.half { width: 100%; padding-top: 0; }
.right { padding-right: 1.5em; }
.left { padding-left: 1.5em; padding-bottom: 4em; }


h3{ font-size: 1.5em; }
h4{ font-size: 0.9em; line-height: 1.5em; white-space: pre-line; }
h5{ font-size: 0.9em; line-height: 1.5em; }


.feature { display: block; width: 80%; height: auto; margin: 0.5em auto; }

.prd-xl1 { display: block; width: 80%; height: auto; margin: 0.5em auto; }
.prd-xl2 { display: block; width: 80%; height: auto; margin: 0.5em auto; }
.prd-s { display: block; width: 80%; height: auto; margin: 0.5em auto; }
.prd-s-end { display: block; width: 80%; height: auto; margin: 0.5em auto; }

a.news-s1 { display: block; width: 80%; height: auto; margin: 5px auto; padding: 37px 30px; }
a.news-s2 { display: block; width: 80%; height: auto; margin: 5px auto; padding: 37px 30px; }
.news-xl { display: block; width: 80%; height: auto; margin: 5px auto; padding: 30px; }
.news-m { display: block; width: 80%; height: auto; margin: 5px auto; padding: 30px; }
.news-l { display: block; width: 80%; height: auto; margin: 5px auto; padding: 30px; }
.news img{ clear: both; width: 100%; }
.more_xl{ display: none; }
.more_s{ display: inline-block; float: right; margin: -1.4em 1.2em 0 0; }

.onepagefillform { font-size: 0.8em; }
.onepagebutton { font-size: 0.8em; margin: 0.5em 5px 0 5px; padding: 10px 10px; }
.fform100 { width: 100%; }
.fform30 { width: 30%; }
.fform20 { width: auto; float: right; margin-right: 2px;}

#gotop { display: none; position: absolute; right: 0px; top: 6000px; }

}

@media screen and (max-width: 470px) {
.download { max-width: 350px; margin: auto; }
#gotop { display: none; position: absolute; right: 0px; top: 6300px; z-index: -1;}
}

@media screen and (max-width: 26em) {
.youtube{ display: block; width: 15em; height: 9em; float: none; padding: 0 0 1em 0; margin: 0 auto; }
}

@media screen and (max-width: 22em) {
.youtube{ display: block; width: 12em; height: 7em; float: none; padding: 0 0 1em 0; margin: 0 auto; }
}