﻿.index-banner-box{
    width: 100%;
    display: block;
    position: relative;
    overflow: hidden;
    margin-top: 82px;
}
.index-banner-box,
.index-banner-list,
.index-video-box,
.index-video,
.index-video-bg{
     height: calc(100vh - 82px);
}
.index-banner-list-box{
    width: 100%;
    display: block;
    position: relative;
    
}
.index-banner-list{
    width: 100%;
    display: block;
     position: relative;
}
.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-banner-list{
    width: 100%;
    position: relative;
    background-color: #000;
}
.index-video-mask{
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    background-image: url('../img/front/banner-mask.png');
    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: calc(50% - 59px);
    left: 0;
    z-index: 5;
    text-align: center;
}
.index-video-slong-box{
    width: 100%;
    display: block;
    position: absolute;
    top: calc(50% - 59px);
    left: 0;
    z-index: 6;
}
.index-banner-slong-list-info{
    width: 1800px;
    max-width: 100%;
    display: block;
    margin: 0 auto;
    text-align: left;
}
.index-banner-slong2{
    font-size: 30px;
    letter-spacing: 1px;
    font-family: 'Noto Sans TC';
    color: #FFF;
    font-weight: 100;
    margin-top: 5px;
}
.index-banner-slong2 b{
    font-family: 'Anton';
    font-size: 50px;
    letter-spacing: 5px;
}
.index-video-open{
    display: none;
}
.index-banner-slong{
    font-size: 18px;
    letter-spacing: 10px;
    font-family: 'Noto Sans TC';
    color: #FFF;
}
.index-banner-scroll-box {
    width: 100px;
    display: block;
    max-width: 100%;
    position: absolute;
    bottom: 40px;
    left: calc(50% - 50px);
    transform: rotate(90deg);
    z-index: 7;
}
.index-banner-scroll-box p {
    font-size: 12px;
    padding-bottom: 2px;
    color: #FFF;
    letter-spacing: 2px;
    transition: all .5s ease;
}
.index-banner-scroll-box span {
    width: 100%;
    height: 1px;
    display: block;
    background-color: #FFF;
    transform-origin: right;
    position: relative;
}
.index-banner-scroll-box span:after{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    background-color: #ee1b2d;
    transform: scale(0,1);
    transform-origin: left;
    transition: all .5s ease;
}
.banner-bg{
    width: 100%;
    height: 100%;
    display: block;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.banner-box{
    width: 100%;
    height: 600px;
    margin-top: 82px;
    background-color: #000;
}
.banner-list-box{
    width: 100%;
    height: 100%;
    display: block;
}

.banner-slong-box{
    position: absolute;
    bottom: 10%;
    width: 100%;
    z-index: 5;
}
.index-video-mask-span{
    width: 100%;
    height: 100%;
    display: block;
   
    background-color: #000;
}

.index-banner-mask{
    width: 100%;
    height: 100%;
    display: block;
    background-color: #000;
}
/*過場動畫*/

.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: 154px;
    display: block;
    position: relative;
    margin: 0 auto;
    overflow: hidden;
}
.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;

}

/*fancy-box*/

.fancybox-table{
    width: 100%;
    height: 100vh;
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
}
.fancybox-table.active{
    display: table;
}
.table-mid{
    display: table-cell;
    vertical-align: middle;
}
.fancybox-box{
    width: 800px;
    max-width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 3;
    height: 100vh;
      display:         flex;
        display: -webkit-flex;
              align-items: center;
      -webkit-align-items: center;
              justify-content: center;
      -webkit-justify-content: center;
}
.fancybox-block{
    width: 100%;
}
.fancybox-img-box{
    width: 100%;
    display: block;
    height: 95%;
     display:         flex;
        display: -webkit-flex;
              align-items: center;
      -webkit-align-items: center;
              justify-content: center;
      -webkit-justify-content: center;
    cursor: pointer;
}
.fancybox-img{
    width: 100%;
    height: 100%;
      display:         flex;
        display: -webkit-flex;
              align-items: center;
      -webkit-align-items: center;
              justify-content: center;
      -webkit-justify-content: center;
}
.fancybox-img-box img{
    max-height: 100%;
}
.fancybox-article{
    max-height: calc(100vh - 700px);
    overflow: auto;
}
.fancybox-article-title{
    font-size: 20px;
    color: #FFF;
    letter-spacing: 2px;
}
.fancybox-article-p{
    font-size: 16px;
    display: block;
    color: #FFF;
}

.fancybox-mask-box{
    width: 100%;
    height: 100%;
    display: block;
    background-color: rgba(0,0,0,0.8);
    position: fixed;
    top: 0;
    left: 0;
}
.fancybox-close{
    width: 40px;
    height: 40px;
    line-height: 40px;
    font-size: 20px;
    color: #000;
    text-align: center;
    position: absolute;
    top: 0;
    right: 0;
    background-color: #ddd;
    cursor: pointer;
    z-index: 3;
    transition: all .5s ease;
}

.fancybox-link{
    position: fixed;
    font-size: 35px;
    color: #FFF;
    top: calc(50% - 28px);
    transition: all .5s ease;
}
.news-prev{
    left: 10%;
}
.news-next{
    right: 10%;
}