﻿

.index-banner-box{
    width: 100%;
    display: block;
    position: relative;
    overflow: hidden;

}
.index-banner-box,
.index-banner-list,
.index-video-box,
.index-video,
.index-video-bg{
     height: calc(100vh - 155px);
}
.index-banner-list-box{
    width: 100%;
    display: block;
    position: relative;
    
}
.index-banner-list{
    width: 100%;
    display: block;
    
}
.index-banner-list span{
    height: 100%;
    width: 100%;
    display: block;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
.index-banner{
    width: 100%;
    height: 100%;
    display: block;
    position: relative;
}
.index-video-slong{
    width: 100%;
    text-align: center;
    font-size: 30px;
    color: #FFF;
    display: block;
    position: absolute;
    z-index: 9;
    top: 48%;
    text-shadow: rgba(0,0,0,0.6) 2px 2px 2px;
    cursor: context-menu;
}
.index-banner-slong{
    width: 100%;
    text-align: center;
    font-size: 30px;
    color: #FFF;
    display: block;
    position: relative;
    z-index: 9;
    top: 48%;
    text-shadow: rgba(0,0,0,0.6) 2px 2px 2px;
    cursor: context-menu;
}
.index-video-mask{
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    background-color: #000;
    opacity: 0.4;
    z-index: 5;
}
.index-video-box{
    width: 100%;
    display: block;
    position: relative;
}
.index-video{
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 5;
    display: block;
}

.index-video-bg{
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.index-banner-slong-box{
    width: 100%;
    display: block;
    position: absolute;
    top: 48%;
    left: 0;
    z-index: 5;
    pointer-events: none;
    text-align: center;
}
.index-video-open{
    display: none;
}

/*過場動畫*/

.dt-loading-2 {
    width: 100%;
    height: 100vh;
    display: table;
    position: fixed;
    top: 0;
    z-index: 99999;
    transition: all .4s linear;
    background-color: #FFF;
}

.laying-2 {
   display: table-cell;
   vertical-align: middle;
}

.loading-logo-box{
    width: 300px;
    display: block;
    position: relative;
    margin: 0 auto;

    text-align: center;
}
.loading-log{
    width: 100%;
    display: block;
    position: relative;
 
}
.loading-mask{
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    top: 0;
    background: #FFF;
    right: 0%;
    animation:  right2 2s linear 0s 1 forwards;
}
.loading-logo-title-box{
    position: relative;
    display: block;
}
.loading-logo-title{
    opacity: 0;
    display: block;
    margin: 0 3px;
    position: absolute;
    top: 0;
    left: 0;
}
.loading-logo-title:first-child{
    position: relative;
}
.loading-logo-title:nth-child(1){
    animation: loading-word 1s ease 0s 1 forwards;
}
.loading-logo-title:nth-child(2){
    animation: loading-word 1s ease .3s 1 forwards;
}
.loading-logo-title:nth-child(3){
    animation: loading-word 1s ease .6s 1 forwards;
}
.loading-logo-title:nth-child(4){
    animation: loading-word 1s ease .9s 1 forwards;
}
.loading-logo-title:nth-child(5){
    animation: loading-word 1s ease 1.2s 1 forwards;
}
.loading-logo-img{
    animation: fade 2s ease 0s 1 forwards;
}

.index-banner-list-box .slick-prev{
    left: 10px;
    z-index: 5;
    background-image: url(../img/banner-left.png);
}
.index-banner-list-box .slick-next{
    right: 10px;
    z-index: 5;
    background-image: url(../img/banner-right.png);
}
.index-banner-list-box .slick-prev,
.index-banner-list-box .slick-next{
    width: 35px;
    height: 35px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    transition: all .3s linear;
    opacity: 0.5;
}
.index-banner-list-box .slick-prev:hover,
.index-banner-list-box .slick-next:hover{
    opacity: 1;
}
.slick-prev:before, .slick-next:before{
    display: none;
}