﻿/* ---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, li{
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}

	
/* ---reset.css--- */

@font-face {
  font-family: Butterfly;
  src: url(fonts/DKButterflyBall.ttf);
}

a { text-decoration:none;}

html {	
	-webkit-text-size-adjust:none;

}

body{
    font-family: "Verdana";
	margin-bottom:0;
	padding-bottom:0px;
	background:#336699;
}

 	@media screen and ( max-width: 768px ){
		*{
			box-sizing:border-box; /* 讓 padding 與 width 解除關係 */
		}
		html{
			-webkit-text-size-adjust:none; /* iPhone 旋轉後 文字不要放大 */
		}
				body{
				min-height: 92vh;
			-webkit-text-size-adjust:none; /* iPhone 旋轉後 文字不要放大 */
		}
	}
/* --電腦版型------------------------------------- */

#WRAPPER{ position:relative; width:100%; margin:0 auto; overflow:hidden; background:url(images/star.png) no-repeat;
	 background-position:50% 0%;  
}
 	@media screen and ( max-width: 768px ){
		#WRAPPER{ min-width:100%;}
	}
	 	@media screen and (min-width:768px) and (max-width:1024px){
		#WRAPPER{ min-width:100%;}
	}
	
header{
	width:100%;
	height:auto;
	overflow:hidden;
	margin:0 auto;
	background:#eccda2;
}

header div{
	width:1000px;
	height:auto;
	overflow:hidden;
	margin:0 auto;
	background:url(images/cat.png) no-repeat;
}	

#logo{
	width:auto;
	height:auto;
	float:left;
	text-align:center;
}
#logo img {
	position: relative;
	z-index:9;
	top: 10px; 
}


/*MENUTOP選單*/
MENU{
	width:600px;
	height: auto;
	overflow: hidden;
	margin:0 auto;
	margin-top:80px;
  }
  
MENU ul {
 	width:600px;
  position: absolute;
}

MENU ul li {
  position: relative;
	z-index:999;
  white-space: nowrap;
	width:auto;
	float:left;
	margin:3px;
}

MENU ul a {
  display: block;
  text-decoration: none;
}

MENU ul ul {
	width:150px;
  position: absolute;
	z-index:999;
	top:100%;
  left: -30px;
}

MENU ul ul li {
        font-family: Butterfly ;
        font-size:22px;
        background:#efe8c6;
        float:none;
        margin:5px 0;
        text-align:center;
        line-height:1.3;
}
MENU ul ul li a{
        color:#336699;
    }
MENU ul ul li a:hover{
        background:#cc3366;
        color:#FFF;
    }


MENU ul ul {
  /*隱藏次選單*/
  display: none;
}

MENU ul li:hover>ul {
  /* 滑鼠滑入展開次選單*/
  display: block;
}

#TOP-MENU, #SUBMENU{
	display:none;
}

#blue{
	width:980px;
	height:60px;
	background:#336699;
	border-radius: 15px;
	position: relative;
	top:-40px;
	margin:0 auto;
}

article{
	width:100%;
	margin:0 auto;
 	height:auto;
	overflow:hidden;
}

section{
	width:980px;
	height:auto;
	margin:0 auto;
	overflow:hidden;
	text-align:center;
	padding:0;
	}
	
section div{
	width:850px;
	height:auto;
	margin:20px auto; 
	}	
section div img {
	width:160px;
	height:auto;
	margin:0px 25px 20px 25px ; 
	float:left;
	border:1px #666 solid;
	box-shadow: 3px 3px 7px rgba(0, 0, 0, 0.5);
}	

h1{
	height:40px;
  font-family: Butterfly ;
	color:#ffd70d;
	font-size:27px;
	font-weight:bold;
}	
.icon{
	width:50px;
	height:20px;
	margin:0 15px; 
	float:none;
	border:none;
	box-shadow:none;
}
.page_font{
	width:800px;
	height:auto;
	overflow:hidden;
	font-size:16px;
	color:#FFF;
	line-height:1.8;
	text-align:justify;
	padding:5px 0;
	margin:5px auto 35px auto;
}
.page_img{
	width:100%;
	text-align:center;
	margin:0 auto; 
}
.page_img img{
	width:800px;
	height:auto;
	border:none;
	box-shadow:none;
	margin:15px auto ; 
}
h2 .icon{
	width:50px;
	height:auto;
margin:0 10px;
}

.page_font h2 {
  font-family: Butterfly ;
	color:#ffd70d;
	font-size:27px;
}
.page_font h2 p{
	color:#f8c4da;
	font-size:16px;
	font-weight:normal;
	
}

.page_font h3 {
	color:#ffff00;
	font-size:18px;
	font-weight:bold;
	line-height:1.5;
	
}

.page_font h3 p{
	color:#FFF;
	font-size:16px;
	font-weight:normal;
	
}
.page_font p a{
	color:#FFF;
	font-size:16px;
	font-weight:normal;
	text-decoration: underline;
}
#ebook{
	width:850px;
	height:auto;
	overflow:hidden;
	margin:0 auto;
	text-align:center;
	}
	
#ebook ul{
	width:100%;
	}
#ebook li{
	width:50%;
	height:280px;
	overflow:hidden;
	float:left;
	}
#ebook li img {
	width:95%;
	margin:0 auto;
	text-align:center;
	}


.page_font p {
	padding-bottom:20px;
}
.BSP{
	font-style:italic;
	font-weight:bold;
}
.BSP_bold{
	font-weight:bold;
}
.BSP_title{
	color:#FFF;
}
	
#index{
	width:850px;
	height:560px;
	overflow:hidden;
	text-align:center;
}	
	
#index img {
	width:160px;
	height:210px;
	margin:0 20x 40px 20px ; 
}	
#index h1{
	color:#FFF;
	font-size:52px;
	text-shadow: 2px 5px 6px rgba(0,0,0,0.2),
	0px -5px 35px rgba(255,255,255,0.1);
	font-weight:normal;
	line-height:90px;
}	
	

	
#service{
	width:500px;
	height:auto;
	overflow:hidden;
	text-align:center;
	margin:30px auto;
}		
#service h3{
	margin:0 auto 10px auto;
}	

#service p{
	width:350px;
	text-align:left;
	margin:10px auto;
}	

iframe{
width:500px;
height:400px;
} 		
	

#menu{
	width:850px;
	margin: 0 auto;
}
#menu ul{
	width:100%;
	height:auto;
	overflow:hidden;
	margin: auto auto 20px auto;
}

#menu li{
  font-family: Butterfly ;
	width:160px;
	height:auto;
	float:left;
	margin:8px;
	background: #fee8a9; 
  border-radius: 50px;
	padding:0 0 0 8px;
	color:#336699;
	font-size:18px;
	text-align:left;
}


#menu li:last-child {
	width:300px;
}

#menu li.readers_li{
	width:170px;
	}


#menu li span{
	width:20px;
	/*background:url(images/star.png) no-repeat 0 4px;*/
	display:block;
	margin:0;
	padding:5px ;
	float:left;
}


#menu li span img{
	width:20px;
	margin:1px 0;padding:0;
}


#menu li .icon{
	width:45px;
	height:auto;
	margin:0;
	margin-top:6px;
}

#BOX{
	width:600px;
	height:auto;
	overflow:hidden;
	text-align:center;
	margin:10px auto;
}

#BOX_left{
	width:200px;
	text-align:center;
	margin:0 auto;
	padding:0;
	float:left;
}

#BOX_left img{
	width:160px;
	height:auto;
	padding:0;
	margin:15px 20px ; 
}

#BOX_right{
	width:400px;
	height:auto;
	overflow:hidden;
	float:right;
}
#BOX_right ul{
	width:95%;
	margin:0 auto;
}
#BOX_right li{
  font-family: Butterfly ;
	width:150px;
	height:auto;
	float:left;
	margin:8px;
	background: #fee8a9; 
  border-radius: 50px;
	padding:0;
}

#BOX_right li:nth-child(5) {
	width:300px;
}

#BOX_right li:last-child {
	width:180px;
	font-size:15px;
	color:#FFF;
	margin:10px 0;
	background:none; 
}



#BOX_right li span{
	width:20px;
	/*background:url(images/star.png) no-repeat 0 4px;*/
	display:block;
	margin:0;
	padding:5px ;
	float:left;
}


#BOX_right li span img{
	width:20px;
	margin:1px 0;padding:0;
}

#BOX_right li h5{
	color:#336699;
	font-size:18px;
	text-align:left;
	margin:0;
	padding:0;
	float:left;
}


#BOX_right li .icon{
	width:35px;
	height:auto;
	margin:8px 20px 0 5px;
	padding:0 ;
}

#BOX_right li a:hover{
	text-decoration: underline
}
#BOX_r{
	width:500px;
	height:auto;
	overflow:hidden;
	text-align:center;
	margin:10px auto;
}

#BOX_r #BOX_right{
	width:300px;
	height:auto;
	overflow:hidden;
	float:right;
	padding-top:25px;
}
#BOX_r #BOX_right ul{
	width:95%;
}

#BOX_r #BOX_right li{
  font-family: Butterfly ;
	width:150px;
	height:auto;
	float:left;
	margin:8px;
	background: #fee8a9; 
  border-radius: 50px;
	padding:0;
}


#BOX_right li a, #BOX_r #BOX_right li a{
	color:#336699;
}

#BOX_r #BOX_right li h5{
	color:#336699;
	font-size:18px;
	text-align:left;
	margin:0;
	padding:0;
	float:left;
}
#BOX_m{
display:none;
}

 	
#TOP{
	width:50px;
	height:50px;
	border-radius:10px;
	padding:0px;	
	position:fixed; /*固定位置定位*/
  bottom:50px; 
  margin-left:900px;
  z-index:1; /*重疊時會在其他元素之上*/
}	
#TOP img{
	width:50px;
	height:50px;
	margin:0;
	padding:0;
	border:none;
	box-shadow:none;
}

 	
#BUY{
  font-family: Butterfly ;
	width:70px;
	height:auto;
	border-radius:10px;
	padding:0px;	
	position:fixed; /*固定位置定位*/
  top:150px; 
  margin-left:900px;
  z-index:1; /*重疊時會在其他元素之上*/
  font-size:28px;
  border:#FFF 1px solid;
  padding:5px 0;
  font-weight:bold;
}	
#BUY a{
  color:#FFF;
}

 	

footer{
	clear:both;
	width:100%;
	margin:0 auto;
	height:auto;
	overflow:hidden;
	background:#eccda2;
	padding:5px 0;
}

footer p{
	font-size:13px;
	text-align:center;
	line-height:1.8;
	color:#663300;
}	

footer BR {
	display:none;
}
 

footer p a{
color:#663300;
	}	
footer p a:hover{
text-decoration:underline;
	}	
#animal{
display:none;
}

@media screen and ( max-width: 768px ){

header{
	width:100%;
}	


header div{
	width:100%;
	height:170px;
	overflow:hidden;
	margin:0 auto;
	background:none;
}	

#logo{	
	width:320px;
	float:none;
	text-align:center;
	background:none;
	margin:0 auto;
	
}
#logo img {
	width:60%;
  position: absolute;
	z-index:999;
	right:20%;
}

#animal{
display:block;
}

/*MENUTOP選單*/
MENU{
	display:none;
  }
		#TOP-MENU{
			display:block;
			width:100%;
		}
		
		#TOP-MENU img{
			width:20px;
			height:20px;
		}
		
		#TOP-MENU #BTN{ /* 製作手機版 左上角的按鈕 */
			position: absolute;
			top:20px;
			left:20px;
		}
		
		#SUBMENU{
			background:none;
			margin-top:20px;
			position:fixed; /* position 可以讓 div 跳脫原本在 HTML 內的位置 */
			top:45px;
			z-index:999;
			width:65%; /* 寬高 100% 整個蓋住 */
			height:768px;
			background-color:#efe8c6;
			display:none; /* 把主選單先關掉 */
			padding-top:30px;
			border-right:#999 solid 1px;
			box-shadow: 2px 2px 2px 1px rgba(0, 0, 0, 0.2);
			padding-left:15px;
			padding-right:15px;
			left:0;
		}
		#SUBMENU li{
			width:100%;
			margin:0;
			padding:15px;
			text-align:left;
			font-size:16px;
			border-bottom:#BBB solid 1px;
		}
		
		#SUBMENU li a {
			font-size: 20px;
			color:#336699;	
			text-decoration:none;
		}
		
		#SUBMENU li ul {
			margin:15px 0 5px 10px;
		}
		
		#SUBMENU li ul li{
			border:none;
			padding:5px 0;
			margin:5px 0;
		}
		
		#SUBMENU li ul li a{
			font-size: 17px;
			text-align:left;
			line-height:1.5;
			padding:5px 0;
		}

		#SUBMENU li ul li a:hover{
        background:#cc3366;
        color:#FFF;
			text-align:left;
    }		
		
		
#blue{
	width:95%;
	height:40px;
	border-radius: 8px;
	top:-20px;
}

article{
	width:100%;
	margin:0 auto;
 	height:auto;
	overflow:hidden;
}

section{
	width:100%;
	}
	
section div{
	width:100%;
	height:auto;
	margin:0 auto; 
	}
	
section div img {
	width:19%;
	margin:30px 3% 20px 3% ; 
}	
	
h1{
	font-size:20px;
	height:30px;
}	

.icon{
	width:40px;
	height:auto;
	margin:0 5px; 
}


#index{
	width:100%;
	height:320px;
	overflow:hidden;
	margin:0 auto; /*上右下左*/
	text-align:center;
}	
	
#index img {
	width:19%;
	height:auto;
	margin:0 3% 40px 3% ; 
}	
#index h1{
	font-size:30px;
	line-height:30px;
}	

.page_font{
	width:90%;
	font-size:15px;
	padding:5px 0;
}

.page_img img{
	width:100%;
}


h2 .icon{
	width:50px;
}


.page_font h2 p{
	font-size:14px;
	
}
.page_font h3 {
	font-size:15px;
	line-height:1.8;
	
}

.page_font h3 p{
	font-size:14px;
	
}
#ebook{
	width:100%;
	margin-bottom:15px;
	}
	
#ebook li{
	height:130px;
	}

.page_font p {
	padding-bottom:20px;
}

	
#service{
	width:100%;
	margin:10px auto;
	padding:10px;
}		

#service p{
	width:95%;
}	

 	iframe{
width:100%;
} 	

#menu{
	width:100%;
}

#menu li{
	width:40%;
	height:auto;
	float:left;
	margin:5px;
	font-size:16px;
	padding:0;
}

#menu li:nth-child(5) {
	width:45%;
}

#menu li .icon{
	width:40px;
}

#menu li:last-child {
	width:85%;
}

#menu li.readers_li{
	width:50%;
	}

#menu li span{
	width:25px;
	/*background:url(images/star.png) no-repeat 0 4px;*/
	display:block;
	margin:0 8px 0 0;
	float:left;
	text-indent:-9999px;
}
#BOX{
	width:100%;
	margin: 25px auto;
}

#BOX_left{
	width:30%;
}

#BOX_left img{
	width:120px;
	margin: 10px auto 0 auto ; 
}

#BOX_right{
	width:60%;
}
#BOX_right ul{
	width:100%;
}
#BOX_right li{
  font-family: Butterfly ;
	width:auto;
	height:auto;
	overflow:hidden;
		float:none;
	margin:8px 0;
	padding:0;
}

#BOX_right li:nth-child(5) {
	display:none;
}


#BOX_right li:nth-child(7) {
	padding:0;margin:0;
	margin-top:-3px;
}


#BOX_right li span{
	width:30px;
	/*background:url(images/star.png) no-repeat 0 4px;*/
	display:block;
	margin:0;
	padding:5px ;
	float:left;
}

#BOX_right li span img{
	width:100%;
	margin:1px 0;padding:0;
}

#BOX_right li h5{
	color:#336699;
	font-size:18px;
	text-align:left;
	margin:0;
	padding:0;
	float:left;
}


#BOX_right li .icon{
	width:35px;
	height:auto;
	margin:8px 0 0 -80px;
	padding:0 ;
}

#BOX_right li a:hover{
	color:#000;
	text-decoration: underline
}

#BOX_r{
	width:100%;
	margin: 25px auto;
}

#BOX_r #BOX_right{
	width:60%;
	padding-top:25px;
}
#BOX_r #BOX_right ul{
	width:100%;
}
#BOX_r #BOX_right li{
	width:auto;
	font-size:14px;
	width:auto;
	overflow:hidden;
		float:none;
}

#BOX_m{
display:block;
	width:100%;
	margin-top:-20px;
	margin-bottom:30px;
}

#BOX_m li{
  font-family: Butterfly ;
	width:100%;
	height:auto;
	overflow:hidden;
	margin:0;
	padding:0;
	background: #fee8a9;   
	border-radius: 50px;
}

#BOX_m li span{
	width:30px;
	/*background:url(images/star.png) no-repeat 0 4px;*/
	display:block;
	margin:0;
	padding:5px ;
	float:left;
}

#BOX_m li span img{
	width:100%;
	margin:1px 0;padding:0;
}

#BOX_m li h5{
	color:#336699;
	font-size:18px;
	text-align:left;
	margin:0;
	padding:0;
	float:left;
}




footer{
	padding:0 10px;
	margin:10px auto;
}

footer p{
	font-size:12px;
}	

footer span {
	display:none;
}
footer BR {
	display:block;
}
 
 
#TOP{
	width:50px;
	height:50px;
  bottom:60px; 
  right:0;
}	
#TOP img{
	width:40px;
	height:40px;
}

 	
#BUY{
	width:55px;
	height:auto;
  top:150px; 
  margin-left:0;
  right:10px;
  font-size:17px;
  padding:3px 5px;
  border:#111 1px solid;
  background:#111;
}	
 	
	#BUY a{
	color:#FFF;
  line-height:1.2;
	}	

}


/* form */

form{
	width:465px;
	height:auto;
	overflow:hidden;
	margin:30px auto;
	background:#f3e7c1;
	border:1px solid #999;
			text-align:left;
	color:#111;
	padding:30px 40px 30px 40px; 	/* 上 右 下 左 */
    }

label{
	width:20%;
	padding-top:15px;
	text-align:left;
	float:left;
	font-weight:bold;
}


input[type=text], input[type=password] {
  width:80%;
  padding: 12px 20px;
  margin: 8px 0;
  display: inline-block;
  border: 1px solid #999;
  border-radius: 4px;
  box-sizing: border-box;
}

input[type=submit] {
  width: 80px;
  height:35px;
font-size:1rem;
  margin:0 auto;
  background-color: #fee100;
  color: #111;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  margin-top:10px;
  display:block;
}

#flag_div{
	width:100%;
	margin-top:8px;
}
#flag_div div{
	width:auto;
	float:left;
	margin-top:8px;
}

input[type=radio] {
  height: 15px;
  width: 15px;
  margin-right:5px;
}

form .col_other{
  width:100px;
  height:30px;
	margin-top:-8px;
  }
form .col_code{
  width:100px;
  }
form .code_img{
  width:65px;
  border:none;
  margin:-3px 10px -3px 10px;	/* 上 右 下 左 */
  position: static;float:none;
    }  
 	@media screen and ( max-width: 768px ){
 			
	
form{
			width:100%;
		margin:20px 0; 	/* 上 右 下 左 */
		padding:3px 0; 	/* 上 右 下 左 */
			border:none;
			text-align:center;
		  font-size:14px;
		    }
		label{display:none;}

#label_look{	
			width:80%;
			margin:0 auto;
		  display:block;
			font-size:0.9rem;
			background:#FFFFB9;
			padding:5px;
			margin-left:10%;
			margin-top:10px;
			padding-left:10px;
		 }		
#flag_div{
	width:80%;
	background:#FFFFB9;
	margin-left:10%;
	padding-top:10px;
	text-align:left;
			padding:5px;
}		 
#flag_div div{
	width:auto;
	float:none;
	margin-top:8px;
}

#flag_div input[type=radio] {
  height: 15px;
  width: 15px;
  margin-right:5px;
}		 
		 
input[type=submit] {
		display:block;
		  width: 60px;
		  height:30px;
		  margin:10px auto;
		  font-size:14px;
		}


form .col_other{
  height:20px;
  }
  
form .col_code{  
	width:40%;
	margin-left:-17%;
	margin-top:15px;
  }
  
  
form .code_img{
  width:50px;
    }
    
 	}
 	
 	