﻿.index-banner-box{
    width: 100%;
    display: block;
    position: relative;
    overflow: hidden;
    margin-top: 70px;
}
.index-banner-box,
.index-banner-list,
.index-video-box,
.index-video,
.index-video-bg{
     height: calc(100vh - 70px);
}
.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-scoll-box{
    width: 100%;
    display: block;
    position: absolute;
    bottom: 30px;
    text-align: center;
}
.index-scoll-slong,
.index-scoll-icon{
    display: inline-block;
    vertical-align: middle;
}
.index-scoll-slong{
    
    color: #FFF;
    letter-spacing: 2px;
    text-shadow: rgba(0,0,0,0.6)2px 2px 2px;
}
.index-scoll-slong span{
    padding-left: 20px;
}
.index-scoll-link i{
    color: #FFF;
    font-size: 32px;
    display: block;
}
.index-scoll-link{
    width: 20px;
    display: block;
    margin: 0 auto;
    animation: fadeUpout-banner-arrow 1s linear 0s infinite alternate;
}
#index-news{
    position: relative;
    top: -30px;
}
.index-news-box{
    width: 1200px;
    max-width: 100%;
    display: block;
    margin: 0 auto;
}

.index-news-title{
    text-align: center;
    padding: 50px 0;
    font-size: 24px;
    letter-spacing: 2px;
    font-weight: bold;
}
.index-news-title span{
    margin-left: 10px;
}
.index-news-list-box{
    font-size: 0;
}
.index-news-list{
    display: inline-block;
    vertical-align: top;
}
.index-news-list-box .index-news-list{
    margin-right: 26px;
}
.index-news-list-box .index-news-list:nth-child(4n+4){
    margin-right: 0;
}
.index-news-list,
.index-news-img-box{
    width: 280px;
    max-width: 100%;
}
.index-news-img-box{
 
    
    height: 200px;
    display: block;
    overflow: hidden;
    position: relative;
}
.index-news-img{
    width: 100%;
    height: 100%;
    display: block;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    transition: all .5s ease;
    position: relative;
    z-index: 3;
}
.index-news-loading-bg{
    width: 100%;
    height: 100%;
    display: block;
    background-repeat: no-repeat;
    background-size: 80px;
    background-position: center;
    background-image: url(../img/news-title-icon.png);
    position: absolute;
    top: 0;
    left: 0;
}
.index-news-date-box{
    width: 100%;
    margin-top: 10px;
}
.index-news-date-icon{
    width: 50px;
    height: 16px;
    max-width: 100%;
    background-color: #c41b1b;
    color: #FFF;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 2px;
    text-align: center;
    line-height: 16px;
    border-radius: 5px;
    float: left;
}
.index-news-date{
    font-size: 12px;
    color: #555;
    display: block;
    float: right;
}
.index-news-list-title{
   
    letter-spacing: 2px;
    display: block;
    margin-top: 10px;
    height: 40px;
    overflow: hidden;
}
.index-news-more{
    width: 160px;
    height: 40px;
    max-width: 100%;
    display: block;
    margin: 50px auto;
    border: 2px solid #c41b1b;
    box-sizing: border-box;
    line-height: 38px;

    color: #c41b1b;
    letter-spacing: 2px;
    text-align: center;
    border-radius: 30px;
    font-weight: bold;
}

/*---------------------------------*/
.index-study-box{
    width: 100%;
    display: block;
    position: relative;
    margin-top: 20px;
}
.index-study-top-bg{
    width: 100%;
    height: 70px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top;
    position: absolute;
    top: -25px;
    background-image: url(../img/index-study-top.png);

}
.index-study-bg{
    width: 100%;
    display: block;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top;
    background-image: url(../img/index-study-bg.jpg);
    padding: 30px 0;
    padding-bottom: 110px;
}
.index-study-title{
    font-size: 24px;
    color: #FFF;
    font-weight: bold;
    letter-spacing: 2px;
}
.index-study-title-box{
    text-align: center;
    padding: 20px 0;
}
.index-study-list-box{
    width: 100%;
    display: block;
    font-size: 0;
}
.index-study-list{
    width: 33%;
    overflow: hidden;
    display: block;
}
.index-study-list span{
    width: 100%;
    height: 600px;
    display: block;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.index-study-list-box .slick-prev,
.index-study-list-box .slick-next{
    top: initial;
    bottom: -90px;
    width: 20px;
    height: 35px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
.index-study-list-box .slick-prev:before,
.index-study-list-box .slick-next:before{
    display: none;
}
.index-study-list-box .slick-prev{
    left: calc(50% - 550px);
    background-image: url(../img/arrow-left.png);
}
.index-study-list-box .slick-next{
    right:calc(50% - 550px);
    background-image: url(../img/arrow-right.png);
}
/*---------------------------------------*/
.index-course-box{
    width: 904px;
    max-width: 100%;
    display: block;
    margin: 0 auto;
    padding: 50px 0;
}
.index-course{
    width: 100%;
    height: 1176px;
    display:         flex;
    display: -webkit-flex;
    align-items: center;
    -webkit-align-items: center;
    justify-content: center;
    -webkit-justify-content: center;
    flex-direction:column;
    -webkit-flex-direction:column;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    background-image: url(../img/index-video-bg.png);
}
.index-course-info-icon{
    display: inline-block;
}
.index-course-info-icon-title{
    display: inline-block;
    vertical-align: bottom;
    color: #FFF;
    letter-spacing: 2px;
    text-shadow: rgba(0,0,0,1)0px 0px 3px,
                rgba(0,0,0,1)0px 0px 3px,
                rgba(0,0,0,1)0px 0px 3px,
                rgba(0,0,0,1)0px 0px 3px,
                rgba(0,0,0,1)0px 0px 3px,
                rgba(0,0,0,1)0px 0px 3px;

}
.index-course-info-box,
.index-course-video-box{
    width: 565px;
    max-width: 100%;
}
.index-course-video-box{
    display: block;
    box-shadow: rgba(0,0,0,0.7)2px 2px 2px;
    height: 320px;
}
.index-course .slick-list{
    box-sizing: border-box;
    height: 100%;
    border: 2px solid #dd2226;
}
.index-course .slick-track{
    height: 100%;
}
.item-video{
    width: 100%;
    height: 100%;
    display: block;
    cursor: pointer;
}
.index-course-video-mask{
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.slick-prev:before, .slick-next:before{
    display: none;
}
.study-fancy .slick-prev{
    width: 11px;
    opacity: 1;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-image: url(../img/course-left2.png);
    z-index: 5;
    left: -15px;
}
.study-fancy .slick-next{
     width: 11px;
    opacity: 1;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-image: url(../img/course-right2.png);
    z-index: 5;
    right: -15px;
}

#index .slick-slide> div{
    height: 100%;
}

/*過場動畫*/

.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:400px;
    display: block;
    position: relative;
    margin: 0 auto;
}
.loading-log{
    width: 100%;
    display: block;
    position: relative;
}

.loading-logo-title{
    font-size: 0;
    
}
.loading-logo-title span{
    font-size: 36px;
    font-weight: bold;
    display: inline-block;
    letter-spacing: 2px;
    opacity: 0;
    transition: all 1.2s ease;
    -webkit-transform: rotateY(180deg);
    transform: rotateY(180deg);
}
.loading-logo-box.active .loading-logo-title span:nth-child(1){
    transform: rotateY(0deg);
    opacity: 1;
    transition-delay: 0;
}
.loading-logo-box.active .loading-logo-title span:nth-child(2){
    transform: rotateY(0deg);
    opacity: 1;
    transition-delay: .3s;
}
.loading-logo-box.active .loading-logo-title span:nth-child(3){
    transform: rotateY(0deg);
    opacity: 1;
    transition-delay: .6s;
}
.loading-logo-box.active .loading-logo-title span:nth-child(4){
    transform: rotateY(0deg);
    opacity: 1;
    transition-delay: .9s;
}
.loading-logo-box.active .loading-logo-title span:nth-child(5){
    transform: rotateY(0deg);
    opacity: 1;
    transition-delay: 1.2s;
}
.loading-logo-box.active .loading-logo-title span:nth-child(6){
    transform: rotateY(0deg);
    opacity: 1;
    transition-delay: 1.5s;
}
.loading-logo-box.active .loading-logo-title span:nth-child(7){
    transform: rotateY(0deg);
    opacity: 1;
    transition-delay: 1.8s;
}
.loading-logo-box.active .loading-logo-title span:nth-child(8){
    transform: rotateY(0deg);
    opacity: 1;
    transition-delay: 2.1s;
}
.loading-logo-box.active .loading-logo-title span:nth-child(9){
    transform: rotateY(0deg);
    opacity: 1;
    transition-delay: 2.4s;
}
.loading-logo-box.active .loading-mask-box{
    opacity: 1;
    transition-delay: 3s;
}
.loading-mask{
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    top: 0;
    background: #FFF;
    right: 0%;
}
.loading-mask-box{
    position: absolute;
    top: 0;
    background-color: #FFF;
    right: -20px;
    opacity: 0;
    transition: all 1.5s ease;   
}
.loading-mask-img{
    width: 70px;
}
.video-fancybox-box {
    width: 100%;
    height: 100vh;
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
}
.video-fancybox-box.active .study-out{
    font-size: 20px;
    width: 40px;
    height: 40px;
    line-height: 40px;
}
.video-fancybox-box.active{
    display: table;
}

.video-info-img-box{
    width: 1000px;
    max-height: 100%;
    display: block;
    height: 560px;
    margin: 0 auto;
    z-index: 1;
}
.video-fancybox-box .study-out{
    z-index: 1;
}