body{
    background-color: #fff;
    font-family: "Helvetica", "Noto Sans TC", "sans-serif";
}
body > .page_wrapper{
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
.logo_trans{
    width: 70vw;
    transition: .2s;
}
.modal_shadow{
    position: relative;
    overflow: hidden;
}
.modal_shadow::after{
    content: "";
    z-index: -1;
    position: absolute;
    -webkit-box-shadow: 0 0 3vw rgba(0, 0, 0, 0.7);
    -moz-box-shadow: 0 0 3vw rgba(0, 0, 0, 0.7);
    box-shadow: 0 0 3vw rgba(0, 0, 0, 0.7);
    height: 80%;
    left: 50%;
    transform: translateX(-50%);
    width: 130%;
    top: 0vw;
    -webkit-border-radius: 0 0 100% 100%;
    -moz-border-radius: 0 0 100% 100%;
    border-radius: 22% 22% 0 0;
}

/* pagination */
.pagination{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 8vw;
}
.pagination li a{
    display: block;
    position: relative;
    font-weight: 500;
    margin: 2vw;
    font-size: 3vw;
    padding: 3vw;
}

.pagination li a.current{
    display: block;
    background-color: #004386;
    color: #fff;
    font-weight: 500;
    border-radius: 50%;
    padding: .5vw 1.9vw;
}

.pagination img{
    width: 1.25vw;
}

table.dataTable tbody td.dataTables_empty{
    padding: 3vw;
    background: white;
}

.filter_title,.filter_item label, .filter_area{
    display: block;position: relative;
    border-top: 0.5px solid rgb(0, 0, 0);
    padding: 4.5vw 7.5vw 4.2vw;
    font-size: 3.8vw;
    letter-spacing: .05vw;
}
.filter_title{
    font-weight: 700;
    background: #e6e6e6;
    font-size: 4.05vw;
}
.filter_item label img{
    position: absolute;
    right: 7.5vw;
    top: 50%;
    transform: translateY(-50%);
    width: 6vw;

}
.filter_item input{
    display: none;
}

/* modal */
#course_detail .modal_style {
    background-color: rgba(102, 102, 102, .95);
    overflow-y: auto;
    overflow-x: hidden;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 50;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100vh;
}

#course_detail .modal_container {
    position: relative;
    width: 100%;
    max-width: 90vw;
    max-height: 100%;

}

/* course_detail */
#watermark {
    text-shadow: 1px 1px 1px #000;
    z-index: 5;
    left: .5vw;
    top: .5vw;
    animation: moving-watermark 7000s linear infinite;
    transform: translate(0, 0);
}


@keyframes moving-watermark {
    0% {
        left: .5vw;
        top: .5vw;
        transform: translate(0, 0);
    }
    25% {
        left: calc(100% - .5vw);
        top: .5vw;
        transform: translate(-100%, 0);
    }
    50% {
        left: calc(100% - .5vw);
        top: calc(100% - 2vw);
        transform: translate(-100%, -100%);
    }
    75% {
        left: .5vw;
        top: calc(100% - 2vw);
        transform: translate(0, -100%);
    }
    100% {
        left: .5vw;
        top: .5vw;
        transform: translate(0, 0);
    }
}

/* #course_detail AT_move_from_bottom {
    position: relative;
    background-color: #ffffff;
    box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    width: 95%;
    margin: 0px auto;
} */


.AT_expand{
    animation: AT_expand .3s forwards;
    transform: scaleY(.8);
}

.AT_fadein{
    animation: AT_fadein .5s forwards;
    opacity: 0;
}
.modal_content{
    
    transition: margin 1s;
    margin: 90vh 0px;
}
/* .modal_content.AT_move_from_bottom{
    margin: 90vh 0px;
} */
/* .AT_move_from_bottom{
    animation: AT_move_from_bottom .5s forwards;
    margin-top: 50vw;
} */
.AT_move_from_top{
    animation: AT_move_from_top .5s forwards;
    margin-top: -50vw;
}
@keyframes AT_fadein{
    0%{
        opacity: 0;
    }
    100%{
        opacity: 1;
    }
}
@keyframes AT_move_from_bottom{
    0%{
        margin-top: 50vw;
    }
    100%{
        margin-top: 0;
    }
}
@keyframes AT_move_from_top{
    0%{
        margin-top: -50vw;
    }
    100%{
        margin-top: 0;
    }
}
@keyframes AT_expand{
    0%{
        transform: scale(.9);
    }
    100%{
        transform: scale(1);
    }
}
/* #news .content span{
    display: inline-block;
} */


@media(min-width: 768px){
    .logo_trans{
        width: 56vw
    }
    .pagination{
        margin-top: 6.4vw;
    }
    .pagination li a{
        margin: 1.6vw;
        font-size: 2.4vw;
        padding: 2.4vw;
    }
    
    .pagination li a.current{
        padding: .4vw 1.62vw;
        
    }
    .pagination img{
        width: 1vw;
    }
    table.dataTable tbody td.dataTables_empty{
        padding: 2.4vw;
    }
    .filter_title,.filter_item label, .filter_area{
        padding: 3.6vw 6vw 3.36vw;
        font-size: 3.04vw;
        letter-spacing: .04vw;
    }
    .filter_title{
        font-size: 3.24vw;
    }
    .filter_item label img{
        right: 6vw;
        width: 4.8vw;
    }
    #course_detail .modal_container {
        max-width: 66.4vw
    }

}


@media(orientation: landscape){
    .logo_trans{
        width: 35vw
    }
    .pagination{
        margin-top: 4vw;
    }
    .pagination li a{
        margin: 1vw;
        font-size: 1.5vw;
        padding: 1.5vw;
    }
    
    .pagination li a.current{
        padding: .25vw 1.0125vw;
        
    }
    .pagination img{
        width: .625vw;
    }
    table.dataTable tbody td.dataTables_empty{
        padding: 1.5vw;
    }
    
    .filter_title,.filter_item label, .filter_area{
        padding: 2.25vw 3.75vw 2.1vw;
        font-size: 1.9vw;
        letter-spacing: .025vw;
    }
    .filter_title{
        font-size: 2vw;
    }
    
    .filter_item label img{
        right: 3.75vw;
        width: 3vw;
    
    }
    #course_detail .modal_container {
        max-width: 60vw;
        margin-top: 40vw
    }

}

@media screen and (min-width:1024px) and (orientation: landscape){
    #course_detail .modal_container {
        margin-top: 10vw
    }

}