﻿@charset "utf-8";
@import url("reset.css");
@import url(http://fonts.googleapis.com/earlyaccess/notosanstc.css);
@import url("header.css");
@import url("swiper.min.css");
html,body{
    width: 1024px;
    margin:0 auto;
    position:relative;
    font-family:  'Microsoft JhengHei',Helvetica, serif;
    -webkit-text-size-adjust:none;/*解決IOS字體被放大的問題*/
    background-image: url(../images/index_bg_repeat.jpg);
    background-size:auto;
    background-repeat: repeat;
    overflow-x: hidden;
}
* {
    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;/*解除padding*/
    font-family:"Microsoft JhengHei",Arial,Helvetica,sans-serif;
    font-size: 0px;
}
a {
    text-decoration:none;
    color: inherit; /* a 顏色為上層級的預設值*/
    font-family:"Microsoft JhengHei",Arial,Helvetica,sans-serif;
}

h1 {font-size: 24px; line-height: 150%; margin: 0; font-weight: normal;}
h2 {font-size: 20px; line-height: 150%; margin: 0; font-weight: normal;}
h3 {font-size: 16px; line-height: 150%; margin: 0; font-weight: normal;}
h4 {font-size: 15px; line-height: 150%; margin: 0; font-weight: normal;}
h5 {font-size: 14px; line-height: 150%; margin: 0; font-weight: normal;}
h6 {font-size: 13px; line-height: 150%; margin: 0; font-weight: normal;}
p {font-size: 12px; line-height: 100%; margin: 0; font-weight: normal;}

/*LOADING*/
.loading {
    width: 100%;
    height: 100%;
    background-color:rgba(255, 255, 255, 0.9);
    z-index:999;
    position:fixed;
}
.loading > .box {
    width:90%;
    max-width: 500px ;
    height: 342px;
    margin: auto;
    padding-top: 400px;
    position:absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    text-align: center;
    background-image: url(../images/fb_share_pic.png);
    background-position: 50% 0%;
}
.loading > .box > div {
    width: 35px;
    height: 35px;
    border-radius: 100%;
    display: inline-block;
    margin: 0px 15px;
    -webkit-animation: sk-bouncedelay 1.4s infinite ease-in-out both;
    animation: sk-bouncedelay 1.4s infinite ease-in-out both;
}
.loading > .box > div:nth-child(1){
    background-color: #ff9054;
}
.loading > .box > div:nth-child(2){
    background-color: #356dd6;
}
.loading > .box > div:nth-child(3){
    background-color: #78b933;
}
.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);
  }
}


/*fixed_btn*/
.fixed_btn {
    position:fixed;
    right: 15px;
    bottom: 100px;
    cursor:pointer;
    transition: all 0.2s ease-out;
    opacity:0;
    z-index: 100;
}
.fixed_btn.show {
    opacity:1;
}
.fixed_btn .top_btn {
    width: 118px;
    height: 118px;
    background-size: contain;
    background-image: url(../images/top_m_pic.png);
    background-position: center;
}

