﻿.index-banner-box{
    width: 100%;
    display: block;
    position: relative;
    overflow: hidden;
}
.index-banner-box{
    height: 100vh;
    padding: 50px;
    box-sizing: border-box;
}
.index-banner,
.index-banner-list-box,
.slick-list,
.slick-track{
    height: 100%;
}
.index-banner-list,
.index-video-box,
.index-video,
.index-video-bg{
     height: 100%;
}

.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-banner-slong,
.index-video-slong{
    width: 100%;
    text-align: center;
    font-size: 36px;
    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-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;
}
.index-fancybox-box{
    width: 500px;
    height: 300px;
    max-width: 100%;
    display: none;
    position: absolute;
    top: calc(50% - 150px);
    left: calc(50% - 250px);
    z-index: 9;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 40px 20px;
    box-sizing: border-box;
}
.index-fancybox-box.active{
    display: block;
}
.index-news-title{
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 2px;
}
.index-news-date{
    font-size: 12px;
    letter-spacing: 2px;
    padding: 10px 0;
    color: #000;
}

.index-fancybox{
    width: 100%;
    height: 100%;
    display: block;
    overflow:hidden;
    overflow-y:auto;
    -webkit-overflow-scrolling: touch;
}
.index-fancybox::-webkit-scrollbar{
    display:none;
}
.index-news-edit{
    font-size: 12px;
    color: #555;
    letter-spacing: 2px;
    display: block;
    line-height: 2.5;
}
.index-fancybox-out{
    width: 40px;
    height: 40px;
    display: block;
    background-color: #000;
    color: #FFF;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 5;
    text-align: center;
    line-height: 40px;
}
.prompt-block{
    width: 100%;
    height: 100vh;
    display:         flex;
    display: -webkit-flex;
    align-items: center;
    -webkit-align-items: center;
    justify-content: center;
    -webkit-justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99998;
}
.prompt-block.active{
    display: none;
}
.prompt-mask{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(0,0,0,0.9);
}
.prompt-box{
    width: 500px;
    max-width: 100%;
    position: relative;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 40px 20px;
    box-sizing: border-box;
}
.prompt-title{
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 2px;
    width: 100%;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-bottom: 10px;
}
.prompt-edit-box{
    max-height: 50vh;
  
    overflow:hidden;
    overflow-y:auto;
    -webkit-overflow-scrolling: touch;
}
/*過場動畫*/

.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: 280px;
    display: block;
    position: relative;
    margin: 0 auto;
    overflow: hidden;
    text-align: center;
}
.loading-log{
    width: 100%;
    display: block;
    position: relative;
    font-size: 42px;
    font-family: 'cwTeXFangSong';
}
.loading-mask{
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    top: 0;
    background: #FFF;
    right: 0%;
    animation:  right2 1.5s linear 0s 1 forwards;
}

