﻿:root{
    --mainColor: #013b76;
    --deputyColor: #f8b61c;
    --mainMargin_Top: 80px;
    --rwd1000Margin_Top: 88px;
    --rwd550Margin_Top: 78px;
}
/*過場動畫*/

.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;
    overflow: hidden;
}
.loading-log{
    width: 100%;
    display: block;
    position: relative;
 
}
.loading-logo-title{
    margin-top: 40px;
    text-align: center;
    font-size: 30px;
    color: var(--mainColor);
}
.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 span{
    display: inline-block;
    position: relative;
    animation:  loading_anima 1s linear 0s infinite;
}
.loading-logo-title span::before{
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    display: block;
    position: absolute;
    background-color: var(--mainColor);
    top: 13px;
    left: 2px;
}
.loading-logo-title span:after{
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: block;
    position: absolute;
    background-color: var(--mainColor);
    top: 8px;
    left: 10px;
}
@keyframes loading_anima {
    0%{
        transform: rotateZ(0deg);
    }
    to {
        transform: rotateZ(360deg);
    }
}
.mce-fullscreen .header-style1{
    z-index: 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-box{
    width: 800px;
    max-width: 100%;
    display: block;
    margin: 0 auto;
    position: relative;
    z-index: 3;
}
.fancybox-img-box{
    width: 100%;
    height: 600px;
    display: block;
    margin-bottom: 10px;
    border: 1px solid rgba(255,255,255,0.2);
}
.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.2);
    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;
}
.body-close{
    overflow: hidden;

}
.body-close::-webkit-scrollbar{
    display:none;
}

.fancybox-link{
    position: fixed;
    text-align: center;
    top: calc(50% - 31px);
}
.news-prev{
    right: calc(50% + 427px);
}
.news-next{
    left: calc(50% + 427px);
}
.fancybox-link i{
    font-size: 24px;
    color: #FFF;
    display: block;
    margin-bottom: 10px;
}
.fancybox-link p{
    font-size: 18px;
    color: #FFF;
}
.fancybox-block{
    width: 100%;
    max-height: 100vh;
    overflow: auto;

}
.fancybox-block::-webkit-scrollbar{
    display:none;
}


/*----------------------------*/
.pages-banner-box{
    width: 100%;
    display: block;
    position: relative;
    overflow: hidden;
}
.pages-banner-img-box{
    width: 100%;
    position: relative;
    height: calc(100vw * (360 / 1920));
}
.pages-main-cube{
    position: absolute;
    width: 500px;
    height: 500px;
    background-color: var(--mainColor);
    opacity: 0.5;
    z-index: 2;
    top: -67px;
    left: -90px;
    transform: rotateZ(-15deg);
}
.pages-main-bg{
    width: 100%;
    height: 100%;
    display: block;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: relative;
}
.pages-banner-img-mask{
    width: 100%;
    height: 100%;
    display: block;
    background-color: #000;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}
.pages-banner-title-box{
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 3;
    box-sizing: border-box;
    padding-left: 50px;
    padding-bottom: 30px;
}
.pages-banner-title{
    font-size: 28px;
    color: #eee;
    letter-spacing: 0.06em;
    margin-bottom: 0px;
}
/*----------------------------*/

.menu-path{
    font-size: 14px;
    line-height: 50px;
    color: #888;
    letter-spacing: 0.06em;
    position: relative;
    display: inline-block;
    margin-right: 20px;
    transition: all .3s linear;
}
.menu-path:last-child{
    margin-right: 0;
}
.menu-path:after{
    content: '〉';
    position: absolute;
    right: -20px;
    color: #888;
}
.menu-path:last-child:after{
    display: none;
}
/* ------------------------------ */

.rwd-menu-class-list{
    width: 100%;
    height: 46px;
    border: 1px solid #888;
    font-size: 16px;
    letter-spacing: 1px;
    text-align: center;
    display: none;
    line-height: 46px;
    position: relative;
    box-sizing: border-box;
}
.rwd-menu-class-list:after {
    content: '';
    width: 0px;
    height: 0px;
    margin: 0 auto;
    border-right: 10px solid transparent;
    border-top: 10px solid #888;
    border-left: 10px solid transparent;
    display: block;
    position: absolute;
    bottom: calc(50% - 5px);
    right: 5%;
    box-sizing: border-box;
}

/*--------------confirm-block--------------*/
.confirm-block{    
    width: 100%;
    height: 100vh;
    position: fixed;
    z-index: 99999;
    top: 0;
    left: 0;
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: center;
    justify-content: center;
    display: -webkit-flex;
    display: flex;
}
.confirm-box{
    max-width: 500px;
    min-width: 200px;
    width: 400px;
    padding: 40px 30px;
    box-sizing: border-box;
    background-color: #fff;
    position: relative;
    z-index: 1;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.4);
}
.confirm-info-box{
    position: relative;
}
.confirm-out{
    width: 20px;
    height: 20px;
    max-width: 100%;
    display: block;
    position: absolute;
    border-radius: 50%;
    border: 1px solid #FFF;
    top: 4%;
    right: 4%;
    cursor: pointer;
}
.confirm-out span{
    width: 15px;
    height: 1px;
    background-color: #FFF;
    display: block;
    margin: 0 auto;
    position: relative;
}
.confirm-out{
    z-index: 6;
}
.confirm-out span:nth-child(1){
    top: 9px;
    left: 0.5px;
    transform: rotate(45deg);
}
.confirm-out span:nth-child(2){
    top: 8px;
    left: 0.5px;
    transform: rotate(-45deg);
}
.confirm-info-title{
    font-size: 20px;
    margin-bottom: 10px;
    letter-spacing: 1px;
    transform: scaleY(1.05);
}
.confirm-info-p {
    font-size: 16px;
    color: #555;
    margin-bottom: 10px;
    letter-spacing: 1px;
    transform: scaleY(1.05);
}
.confirm-info-p:last-child {
    margin-bottom: 0;
}
.confirm-status {
    text-align: center;
    width: 100%;
    display: block;
    margin-top: 20px;
}
.confirm-status-save, .confirm-status-no {
    width: 100px;
    max-width: 100%;
    display: inline-block;
    margin: 0 auto;
    transition: all .5s ease;
    cursor: pointer;
    background-color: inherit;
    color: #000;
    font-size: 14px;
    padding: 8px 0;
    letter-spacing: 1px;
    border: 1px solid #999;
    margin: 15px;
    outline: none;
}
.confirm-status-save:hover, 
.confirm-status-no:hover{
    background-color: var(--mainColor);
    color: #fff;
}
@media only screen and (max-width: 520px){

    .confirm-box{
        width: 95%;
        box-sizing: border-box;
        margin: 0 auto;
        padding: 30px 20px;
    }
    .confirm-info-p{
        font-size: 14px;
    }
}
/*--------------noInformation--------------*/
.noInformation{
    display: block;
    font-size: 12px;
}




@media only screen and (max-width: 1000px){
    .pages-main-cube{
        left: -290px;
    }
    .pages-banner-title{
        font-size: 20px;
    }
    .menu-path{
        line-height: 40px;
    }
    .pages-banner-title-box{
        padding-bottom: 15px;
        padding-left: 25px;
    }
}
@media only screen and (max-width: 550px){
    .pages-banner-img-box{
        height: 105px;
    }
    .pages-banner-title{
        font-size: 16px;
    }
    .menu-path {
        font-size: 12px;
        line-height: 30px;
    }
    .pages-main-cube{
        left: -330px;
    }
    .loading-logo-box{
        width: 300px;
    }
    .loading-logo-title{
        margin-top: 20px;
    }
}


a.menu-path:hover{
    color: var(--mainColor);
}


/*<-------------動畫------------->*/
@-webkit-keyframes mashIn {
    from {
        opacity: 1;
        width: 100vw;
        height: 300%;
        top: -250px;
    }
    to {
    }
}
  
@keyframes mashIn {
    from {
        opacity: 1;
        width: 100vw;
        height: 300%;
        top: -250px;
    }
    to {
    }
}
@media only screen and (min-width: 1001px){
    .pages-banner-box.anima .pages-main-cube{
        animation: mashIn 1s ease 0s 1 both; 
    }
    .menu-path-box,
    .pages-banner-title{
        opacity: 0;
    }
    .pages-banner-box.anima .pages-banner-title{
        animation: fadeInDown 1s ease .4s 1 both; 
    }
    .pages-banner-box.anima .menu-path-box{
        animation: fade 1s ease .6s 1 both; 
    }
}