﻿html,
body {
    height: 100%;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Microsoft JhengHei';
    background-size: cover;
}


.kv {
    position: relative;
}

.kv_img {
    width: 100%;
}

.kvBtn {
    position: absolute;
    bottom: 10%;
    right: calc(50% - 130px);
    cursor: pointer;
    -webkit-animation: sloganAnimation 0.8s infinite;
    /* Safari 4.0 - 8.0 */
    animation: sloganAnimation 0.8s infinite;
}

.logoBtn {
    position: absolute;
    right: 0;
    top: 25px;
    cursor: pointer;
}

.fbBtn {
    position: absolute;
    right: 0;
    top: 75px;
    cursor: pointer;
}

.menuBar {
    position: relative;
    background: #000000;
    width: 100%;
    height: 75px;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.menu {
    font-size: 28px;
    color: #fff;
    display: inline-block;
    line-height: 70px;
    padding: 0 20px;
    cursor: pointer;
}

.menu:hover {
    color: #9f7a5d;
}

.link1 {
    width: 252px;
    height: 70px;
    display: inline-block;
    position: relative;
    padding: 0 20px;
}

.link1 img {
    position: absolute;
    left: 0;
    top: -9px;
}

.link2 {
    width: 153px;
    height: 70px;
    display: inline-block;
    position: relative;
    padding: 0 20px;
}

.link2 img {
    position: absolute;
    left: 0;
    top: 16px;
}

.kolBlock {
    width: 1200px;
    margin: 50px auto;
    text-align: center;
}

.kolBlock a {
    display: inline-block;
    margin: 0 10px;
    position: relative;
    width: 337px;
    height: 255px;
}

.kolBlock img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    transition: all .3s;
}

.kolBlock img:hover {
    width: 104%;
}

.titlePic {
    display: block;
    margin: 0 auto 40px;
}

.articleLink {
    width: 1114px;
    display: block;
    margin: 40px auto;
}

.articleLink img {
    border: 5px solid #fff;
    border-radius: 48px;
    transition: all .3s;
}

.articleLink img:hover {
    border: 5px solid #c89972;
}

.EX_Block {
    text-align: left;
    margin: 20px auto;
    width: 1180px;
}

.exBox {
    display: inline-block;
    margin: 10px;
    position: relative;
}

.usrName {
    color: white;
    text-align: center;
    width: 270px;
    height: 70px;
    background: url(../images/userName.png);
    position: absolute;
    bottom: 0;
    line-height: 70px;
}

.ex_link {
    display: block;
    position: absolute;
    width: 270px;
    height: 270px;
    background: url(../images/exHover.png);
    top: 0;
    left: 0;
    z-index: 1;
    opacity: 0;
    transition: all .2s;
}

.ex_link:hover {
    opacity: 1;
}

.linkName {
    position: absolute;
    top: 18px;
    text-align: center;
    width: 100%;
    color: white;
    left: 0;
}

.linkCont {
    position: absolute;
    bottom: 15px;
    text-align: center;
    width: 76%;
    color: white;
    left: 0;
    padding: 0 12%;
}

.topBtn {
    display: block;
    margin: 20px auto;
    cursor: pointer;
}

@keyframes sloganAnimation {
    0% {
        bottom: 10%;
    }

    40% {
        bottom: 8%;
    }

    100% {
        bottom: 10%;
    }
}





/* swiper 設定 ........................................................ */


.swiper-slide {
    text-align: center;
    font-size: 18px;

    /* Center slide text vertically */
    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;
}





/* jquery tab ......................................................... */


ul.tabs {
    padding: 7px 10px 0 10px;
    background: #9f7a5d;
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
}

.tabs li {
    list-style: none;
    display: inline;
}

.tabs a {
    margin-bottom: -4px;
    padding: 0;
    display: inline-block;
    width: 574px;
    height: 63px;
    text-decoration: none;
}

.tabs li:nth-child(1) {
    margin-right: 6px;
}

.tabs li:nth-child(1) a {
    background: url(../images/tab-1-blur.png) no-repeat;
}

.tabs li:nth-child(1) a.active {
    background: url(../images/tab-1-focus.png) no-repeat;
}

.tabs li:nth-child(2) a,
.tabs li:nth-last-child(1) a {
    background: url(../images/tab-2-blur.png) no-repeat;
}

.tabs li:nth-child(2) a.active,
.tabs li:nth-last-child(1) a.active {
    background: url(../images/tab-2-focus.png) no-repeat;

}






/* 載入動畫 */

.pace {
    -webkit-pointer-events: none;
    pointer-events: none;

    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;

    position: fixed;
    top: 0;
    left: 0;
    width: 100%;

    -webkit-transform: translate3d(0, -50px, 0);
    -ms-transform: translate3d(0, -50px, 0);
    transform: translate3d(0, -50px, 0);

    -webkit-transition: -webkit-transform .5s ease-out;
    -ms-transition: -webkit-transform .5s ease-out;
    transition: transform .5s ease-out;
}

.pace.pace-active {
    -webkit-transform: translate3d(0, 0, 0);
    -ms-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}

.pace .pace-progress {
    display: block;
    position: fixed;
    z-index: 2000;
    top: 0;
    right: 100%;
    width: 100%;
    height: 10px;
    background: #29d;

    pointer-events: none;
}