@charset "utf-8";
/* CSS Document */

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;}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, img{display:block;}
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;}
body{-webkit-text-size-adjust:100%;}
:focus{outline:none;}
/*set*/
body{
	font-family:"STHeiti Light ", "Heiti TC", "微軟正黑體", "Microsoft JhengHei", Arial, Helvetica, sans-serif;
	line-height:2;
	letter-spacing:0.5px;
	color:#666;
	font-size:16px;
}
a{text-decoration:none;}

.en{font-family:Arial, Helvetica, sans-serif;}

/*loading*/
#jpreOverlay{
  background: #444;
}
#jpreLoader{
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%,-50%);
  transform: translate(-50%,-50%);
  width: 170px;
  background: url(../images/loading1.jpg) no-repeat 0 0;
  text-align: center;
}
#jpreBar{  
  height: 40px;
  background: url(../images/loading2.jpg) no-repeat 0 0;
}
#jprePercentage{
  font-size: 0.75em;
  color: #999;
}

/*header*/
header{
  position:fixed;
  padding:20px 0 20px 30px;
  background: #444;
  right: 70%;
  top: 0;
  width: 230px;
  z-index: 10;
  font-size: 0.75em;
  line-height: 25px;
}

.index header{
  right: auto;
  top: 50%;
  left: 70%;
  -webkit-transform: translate(0,-50%);
  transform: translate(0,-50%);
}

.mainMenu{  
  overflow: hidden;
  height: 0;
  -webkit-transition: height 0.6s cubic-bezier(.07,.37,.43,.93), margin 0.3s linear;
  transition: height 0.6s cubic-bezier(.07,.37,.43,.93), margin 0.3s linear;
  background: #444;
}
.mainMenu a{
  color: #CCC;
  display: block;
}
.mainMenu a:hover, .active a{
  color: #FFF;
}
.mainMenu .tw{
  margin-left:5px;
  opacity: 0;
  -webkit-transition: opacity 0.3s linear;
  transition: opacity 0.3s linear;
}
.mainMenu a:hover .tw, .active .tw{
  opacity: 1;
}
.menuBtn{
  position: absolute;
  top: 85px;
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  z-index: -1;
  height: 30px;
  overflow: hidden;
}
.menuBtn img{
  margin: 0 auto;
}

.openMenu .mainMenu, .index .mainMenu,.index .openMenu .mainMenu{
  margin-top: 20px;
  height: 200px;
}

/*main*/
.main{
  position:fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 100%;
}
.title{
  padding:0px 10px;
  line-height:40px;
}



.letter{
  color: #70A8C3;
  font-weight: bold;
  font-size: 1.5em;
}
.line{
  height: 2px;
  background: #70A8C3;
}
h2{
  font-size: 0.75em;
  color: #000;
}
p{
  font-size: 0.75em;
}

/*footer*/
footer{
  position: fixed;
  bottom: 0;
  width: 100%;
  box-sizing: border-box;
  padding: 5px 30px;
  text-align: right;
  color: #999;
  font-size: 0.75em;
  line-height: 15px;
}
footer a{color:#999;}

.copyright{
  overflow: hidden;
  display: inline-block;
  vertical-align: middle;
  max-width: 85%;
}

/*FB link button*/
.bFB{
  position: fixed;
  top: 35px;
  left: 35px;
  z-index: 8;
  border-radius: 50%;
  height:30px;
  overflow: hidden;
}


/*page animation*/
.pageMask1, .pageMask2{
  position: fixed;  
  background: #FFF;
  z-index: 9;
  -webkit-transition: all 0.6s linear 0.2s;
  transition: all 0.6s linear 0.2s;
}
.pageMask1{
  top: 0;
  left: 0;
  right: 50%;
  bottom: 0;
}
.pageMask2{
  top: 0;
  left: 50%;
  right: 0;
  bottom: 0;
}

.enterPage .pageMask1{
  left: 50%;
}
.enterPage .pageMask2{
  right: 50%;
}

.title{
  opacity: 0;
  -webkit-transition: opacity 0.6s linear 1s;
  transition: opacity 0.6s linear 1s;
}
.showPage{
  opacity: 0;
  -webkit-transition: opacity 0.6s linear 1.5s;
  transition: opacity 0.6s linear 1.5s;
}
.enterPage .title, .enterPage .showPage{
  opacity: 1;
}