﻿#student .index-video-mask{
    display: none;
}
.index-banner-box{
    width: 100%;
    display: block;
    position: relative;
    overflow: hidden;
    margin-top: 90px;
}
.index-banner-box,
.index-banner-list,
.index-video-box,
.index-video,
.index-video-bg{
     height: calc(100vh - 90px);
}
.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-video-slong{
    width: 100%;
    padding: 0 10px;
    box-sizing: border-box;
    text-align: left;
    font-size: 36px;
    color: #FFF;
    display: block;
    position: absolute;
    z-index: 9;
    letter-spacing: 1px;
    cursor: context-menu;
}
.index-banner-slong{
    width: 100%;
    height: 90px;
    display: block;
    cursor: context-menu;
    font-size: 0;
    background-color: rgba(0,0,0,0.35);
    box-sizing: border-box;
    padding: 10px 40px;
}
.index-banner-slong.noText{
    opacity: 0 !important;
}
.index-banner-slong p{
    font-size: 24px;
    color: #fff;
    letter-spacing: 1px;
    line-height: 36px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
}
.index-banner-slong span{
    font-size: 18px;
    color: #fff;
    letter-spacing: 1px;
    line-height: 36px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
}
.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;
    bottom: 0;
    left: 0;
    z-index: 5;
    pointer-events: none;
    text-align: left;

}
.index-video-open{
    display: none;
}

.index-banner-list-box .slick-prev,
.index-banner-list-box .slick-next{
    width: 40px;
    height: inherit;
    text-align: center;
    top: 50%;
    z-index: 9;
    transition: all .3s linear;
}
.index-banner-list-box .slick-prev{
    left: 20px;
}
.index-banner-list-box .slick-next{
    right: 20px;
    box-sizing: border-box;
    padding-right: 5px;
}
.index-banner-list-box .slick-prev:hover{
    background-color: rgba(255, 255, 255, 0.5);
}
.index-banner-list-box .slick-next:hover{
    background-color: rgba(255, 255, 255, 0.5);
}
.index-banner-list-box .slick-prev::before{
    content: "〈";
    font-family: "Noto Sans TC";
    font-size: 36px;
    line-height: 60px;
    color: #000;
    opacity: 1;
    display: inline-block;
    transform: translateX(-10px);
    pointer-events: none;
    transition: all .3s linear;
}
.index-banner-list-box .slick-next::before{
    content: "〉";
    width: 10px;
    font-family: "Noto Sans TC";
    font-size: 36px;
    line-height: 60px;
    color: #000;
    opacity: 1;
    display: inline-block;
    pointer-events: none;
    transition: all .3s linear;
}




/*-------------------------------*/
.banner-box{
    width: 100%;
    height: 600px;
    display: block;
    margin-top: 90px;
}
.banner-bg{
    width: 100%;
    height: 100%;
    display: block;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
.banner-arrow{
    position: absolute;
    transition: all .5s ease;
    bottom: 20px;
    z-index: 6;
    color: #FFF;
    left: calc(50% - 35px);
    text-align: center;
    width: 70px;
    height: 70px;
}
.banner-arrow-p{
    font-size: 12px;
    display: inline-block;
}
.banner-arrow i{
    font-size: 60px;
    color: #FFF;
    position: absolute;
    bottom: 0;
    left: calc(50% - 18.5px);

}
.noBannerTop{
    margin-top: 90px !important;
}

/*過場動畫*/

.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;
}

.loading-mask{
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    top: 0;
    background: #FFF;
    right: 0%;
    animation:  right2 2s linear 0s 1 forwards;

}

.loading-img1,
.loading-img3,
.loading-img4{
    width: 100%;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
}
.loading-img1{
    animation: flan .5s linear 0s 1 both;
}
.loading-img2{
    animation: fade .5s linear .2s 1 both;
}
.loading-img3{
    animation: fade .5s linear .4s 1 both;
}
.loading-img4{
    transform-origin: left;
    overflow: hidden;

}
.loading-img4 img{
    animation: loading-img4 .8s ease .5s 1 both;
}

@keyframes flan{
  from {

    -webkit-transform: translate3d(-75px, 30px, 0);
    transform: translate3d(-75px, 30px, 0);
  }

  to {

    -webkit-transform: translate3d(0px,0px, 0);
    transform: translate3d(0px,0px, 0);
  }
}

@keyframes loading-img4{
  from {
    -webkit-transform: translate3d(-100%, 0px, 0);
    transform: translate3d(-100%, 0px, 0);
  }

  to {
    -webkit-transform: translate3d(0px,0px, 0);
    transform: translate3d(0px,0px, 0);
  }
}
.spinner {
  margin: 0 auto ;
  margin-top: 50px;
  width: 70px;
  text-align: center;
}

.spinner > div {
  width: 18px;
  height: 18px;

  border-radius: 100%;
  display: inline-block;
  -webkit-animation: sk-bouncedelay 1.4s infinite ease-in-out both;
  animation: sk-bouncedelay 1.4s infinite ease-in-out both;
}
.spinner > div:nth-child(1){ 
  background-color: #f39800;
}
.spinner > div:nth-child(2){ 
  background-color: #1d96d5;
}
.spinner > div:nth-child(3){ 
  background-color: #89ba29;
}
.spinner .bounce1 {
  -webkit-animation-delay: -0.32s;
  animation-delay: -0.32s;
}

.spinner .bounce2 {
  -webkit-animation-delay: -0.16s;
  animation-delay: -0.16s;
}

@-webkit-keyframes sk-bouncedelay {
  0%, 80%, 100% { -webkit-transform: scale(0) }
  40% { -webkit-transform: scale(1.0) }
}

@keyframes sk-bouncedelay {
  0%, 80%, 100% { 
    -webkit-transform: scale(0);
    transform: scale(0);
  } 40% { 
    -webkit-transform: scale(1.0);
    transform: scale(1.0);
  }
}
/*fancy-box*/

.fancybox-table{
    width: 100%;
    height: 100vh;
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
}
.fancybox-table.active{
    display: table;
}
.fancybox-table-mid{
    display: table-cell;
    vertical-align: middle;
}
.fancybox-block{
    width: 100%;
    display: block;
    margin: 0 auto;
    position: relative;
}
.fancybox-box{
    width: 1000px;
    max-width: 100%;
    display: block;
    margin: 0 auto;
    position: relative;
    z-index: 3;
    font-size: 0;
}
.fancybox-img-box{
    width: 400px;
    height: 480px;
    display: inline-block;
    vertical-align: middle;
    border: 1px solid rgba(255,255,255,0.2);
    font-size: 0;
    box-sizing: border-box;
    background-color: #FFF;
}
.fancybox-info-box{
    width: calc(100% - 420px);
    margin-left: 20px;
    box-sizing: border-box;
    display: inline-block;
    vertical-align: middle;
    padding: 20px;
    box-sizing: border-box;
    border: 5px solid #448aca;
    background-color: #FFF;
}
.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: #000;
}

.fancybox-mask-box{
    width: 100%;
    height: 100%;
    display: block;
    background-color: rgba(0,0,0,0.95);
    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-table .fancybox-info-box{
    max-height: 720px;
    overflow: auto;
}

.fancybox-table .fancybox-info-box::-webkit-scrollbar{
    display:none;
}
.fancybox-table .team-list-info-position,
.fancybox-table .team-list-info-position span{
    font-weight: bold;
}
.fancybox-link {
    font-size: 50px;
    color: #FFF;
    position: fixed;
    top: calc(50% - 40px);
    transition: all .5s ease;
}
.news-prev{
    left: 20px;
}
.news-next{
    right: 20px;
}