﻿/* 此檔案為供index.html呼叫的css檔，主要為首頁的動畫設定
   更新時間：2015.07.25
*/
@charset "utf-8";

html, body {
    height: 100%;
}

header {
    position: absolute;
    width: 1000px;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100; /*base body*/
}

section.mobile {
    position: relative;
    width: 1000px;
    margin: 0 auto;
    height: 100%;
    background: #333;
    z-index: 1;
}

    section.mobile .slideLayer {
        position: absolute;
        width: 1000px;
        height: 100%;
        overflow: hidden;
    }

        section.mobile .slideLayer #brandLogo {
            position: absolute;
            top: 0;
            bottom: 0;
            right: 0;
            margin: auto;
            z-index: 2;
        }

section.pc {
    position: relative;
    width: 1000px;
    height: 600px;
    margin: 0 auto;
}

    section.pc .slideLayer {
        position: absolute;
        width: 100%;
    }


#navLayer {
    z-index: 10;
}


nav {
    position: absolute;
    z-index: 10;
    width: 1000px;
    height: 50px;
    margin: 0 auto;
    padding: 10px 0;
    bottom: 40px;
    left: 0;
    right: 0;
    text-align: center;
    font-size: 1em;
    color: #FFF;
    background: url(images/index_mobile_bg_nav.png);
}

    nav .item {
        box-sizing: border-box;
        width: 80px;
        display: inline-block;
        *display: inline;
        border-right: 1px #FFF solid;
    }

        nav .item:last-child {
            border: none;
        }



.videobox {
    position: absolute;
    width: 100%;
    overflow: hidden;
    z-index: 11;
}

    .videobox video {
        width: 107%;
        margin-left: -3%;
    }

#logo_30th {
    position: absolute;
    width: 100px;
    z-index: 12;
    top: 20px;
    left: 25px;
}

.videobox #stop_btn {
    position: absolute;
    padding: 2px 4px;
    background: rgba(0,0,0,.5);
    color: #fff;
    bottom: 20px;
    right: 20px;
    z-index: 10;
    cursor: pointer;
}



@media screen and (max-width: 800px) {
    section.mobile {
        width: 100%;
        overflow: hidden;
    }

        section.mobile .slideLayer {
            width: 100%;
        }

    nav {
        width: 100%;
    }

    .videobox {
        height: 100vh;
        /*background:#fff;*/
        background: url(global/global/index/30th_mobile.jpg);
        background-size: 100vw;
    }


        .videobox video {
            margin-top: 25%;
        }

    #logo_30th {
        width: 80px;
        z-index: 11;
        top: 10%;
        left: 8%;
    }

    .videobox #stop_btn {
        font-size: 12px;
        background: none;
        color: #727272;
        border: 1px solid #727272;
        bottom: 20em;
        right: 15px;
    }
}

@media screen and (max-width: 400px) {
    nav .item {
        width: 25%;
    }
}
