﻿@charset "utf-8";
@import url("normalize.css");
@import url("header.css");

/*載入字體*/
@import url(http://fonts.googleapis.com/earlyaccess/cwtexming.css);
/*載入字體*/
@font-face {
	font-family: 'TrajanProRegular';
	src: url('../font/TrajanProRegular.eot');
	src: local('TrajanProRegular'),
         url('../font/TrajanProRegular.woff') format('woff'),
         url('../font/TrajanProRegular.ttf') format('truetype');

}

html,body{
	width: 100%;
    height:100%;
    position:relative;
    background-color: #000;
    font-family:  'Microsoft JhengHei',Helvetica, serif;
}

* {
    margin: 0;
    padding: 0;
    border: none;
    list-style:none;
    background-repeat:no-repeat;
    text-decoration:none;/*去底線*/
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;

}

a {
    color: inherit;
}

h1, h2, h3, h4, h5, h6, p {
    line-height: 100%;
    font-weight: normal;
}
/*字體*/
.ming {
    font-family: 'cwTeXMing';
    letter-spacing: 3px;
}
.trajan {
    font-family:'TrajanProRegular';
}

h1 {font-size: 46px;
}
h2 {font-size: 36px; 
}
h3 {font-size: 30px;
}
h4 {font-size: 30px;
}
h5 {font-size: 24px;
}
h6 {font-size: 25px;
}
p {font-size: 20px;
}

@media screen and (max-width: 1440px) {
h1 {font-size: 38px;
}
h2 {font-size: 30px;
}
h3 {font-size: 26px;
}
h4 {font-size: 24px;
}
h5 {font-size: 20px;
}
h6 {font-size: 18px;
}
p {font-size: 16px;
}
}


/*fixed_btn*/
.fixed_btn {
    position:fixed;
    right: 10px;
    bottom: 48px;
    z-index:100;
    cursor:pointer;
    opacity:0;
    transition: all 0.2s ease-out;
}
.fixed_btn.show {
    opacity:1;
}
.fixed_btn.foot {
    position:absolute;
}
.fixed_btn .top_btn {
    width: 46px;
    height: 59px;
    background-image: url(../images/btn_top.png);
}

@media screen and (max-width: 768px) {
.fixed_btn {
    bottom: 42px;
}

}

@media screen and (max-width: 480px) {
.fixed_btn {
    bottom: 34px;
}
}


/*LOADING*/
.loading {
    width: 100%;
    height: 100%;
    background-color:rgba(0, 0, 0, 0.95);
    z-index:999;
    position:fixed;
        /*完全置中 
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
            */
}
.loading > .box {
    width:90%;
    max-width: 250px ;
    height: 200px;
    margin: auto;
    padding-top: 90px;
    position:absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    text-align: center;
    background-image: url(../images/header_logo.png);
    background-position: 50% 0%;
}
.loading > .box > div {
    width: 15px;
    height: 15px;
    background-color: #ede5d1;
    border-radius: 100%;
    display: inline-block;
    -webkit-animation: sk-bouncedelay 1.4s infinite ease-in-out both;
    animation: sk-bouncedelay 1.4s infinite ease-in-out both;
}
.loading > .box .bounce1 {
  -webkit-animation-delay: -0.32s;
  animation-delay: -0.32s;
}
.loading > .box .bounce2 {
  -webkit-animation-delay: -0.16s;
  animation-delay: -0.16s;
}
@-webkit-keyframes sk-bouncedelay {
  0%, 80%, 100% { -webkit-transform: scale(0) }
  40% { -webkit-transform: scale(1.0) }
}
@keyframes sk-bouncedelay {
  0%, 80%, 100% { 
    -webkit-transform: scale(0);
    transform: scale(0);
  } 40% { 
    -webkit-transform: scale(1.0);
    transform: scale(1.0);
  }
}