@charset "utf-8";
/* css reset */
button {
    -webkit-appearance: none;
    border-radius: 0;
    text-align: inherit;
    background: none;
    box-shadow: none;
    padding: 0;
    cursor: pointer;
    border: none;
    color: inherit;
    font: inherit;
 }

/* default */
 table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
}
* {
    margin: 0px;
    padding: 0px;
    border-top-style: none;
    border-right-style: none;
    border-bottom-style: none;
    border-left-style: none;
    box-sizing: border-box;
}
body {
    font-family: Arial, "微軟正黑體", "Microsoft JhengHei", "文泉驛正黑", "WenQuanYi Zen Hei", "儷黑 Pro", "LiHei Pro", "標楷體", DFKai-SB, sans-serif;
    font-size: 100%;
    background-color: #C0E3FA;
    background-image: url(../resource/bg.png);
    background-repeat: repeat;
}
#loading{
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}
.wrapper {
    width: 1280px;
    margin-right: auto;
    margin-left: auto;
    font-size: 24px;
}

.wrapper .head {
    background-image: url(../resource/head.jpg);
    background-size: 1280px 170px;
    background-repeat: no-repeat;
    width: 100%;
    height: 170px;
    position: relative;
    top: 0;
}

.wrapper .head .head-shadow{
    position: relative;
    bottom: -110px;
    width: 100%;
    height: 45px;
    background-image: linear-gradient(to top, rgba(48, 48, 48, 0.755) 30%, transparent);
}

.wrapper .head .school {
    position: absolute;
    right: 10px;
    top: 0;
    text-align: center;
}
.wrapper .head .school a{
    display: inline-block;
    background-image: url(../image/auth_banner.svg);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    width: 238px;
    height: 50px;
    padding: 15px 15px 15px 15px;
    font-size: 18px;
}
.wrapper .head .school a:link,
.wrapper .head .school a:visited{
    color: blue;
}

/* 課別按鈕 */
.wrapper .button {
    display: block;
    width: 100%;
    position: relative;
    padding: 0 20px;
    top: -89px;
    text-align: left;
    margin-left: 20px;
}

.wrapper .button .lesson-list {
    list-style-type: none;
    position: relative;
}
.wrapper .button .lesson-list li {
    display: inline-block;
    border-radius: 15px 15px 0 0px;
    margin: 0 5px;
    box-shadow: 2px 0 2px 0 rgba(0, 0, 0, 0.7);
    line-height: 1.2em;
    background: #4baa4b;
    /* background: #3399FF; */
}

.wrapper .button .lesson-list li a{
    display: inline-block;
    text-decoration: none;
    color: white;
    border-radius: 15px 15px 0 0px;
    font-weight: bold;
    padding: 10px 20px 5px 20px;
}

.wrapper .button .lesson-list li:hover{
    background: #FF6600;
}
.wrapper .button .lesson-list li.active{
    background: #FF6600;
}

/* 本書QA資訊.. 等額外按鈕 */
.wrapper .button .button-plus{
    display: flex;
    flex-direction: row;
    gap: 5px;
    position: absolute;
    top: 8px;
    right: 50px;
    line-height: 1.2em;
}
.wrapper .button .button-plus a{
    font-size: 16px;
    text-decoration: none;
    color: white;
    padding: 5px 10px 10px 10px;
    border-radius: 15px 15px 0 0px;
    background: #5d81cb;
    box-shadow: 2px 0 2px 0 rgba(0, 0, 0, 0.7);
}
.wrapper .button .button-plus a:hover{
    background: #FF6600;
}

.wrapper .content {
    width: 100%;
    background: #EAF4EC;
    display: block;
    padding: 15px 0 50px 0;
    border-radius: 30px;
    z-index: 0;
    position: relative;
    top: -90px;
}

.wrapper .content .content-banner {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
}

.wrapper .content .content-banner .banner-content{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 0 30px;
    gap: 10px;
}

.wrapper .content .content-banner .banner-content>div{
    background-color: #f6faf6;
    padding: 5px 10px;
    border-radius: 15px;
}
.wrapper .content .content-banner .banner-content .banner-content-flex{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}
.wrapper .content .content-banner .banner-content .banner-content-flex.flex-glow-1{
    flex-grow: 1;
}
/* 按鈕 */
.wrapper .content .content-banner .banner-content .banner-content-buttons {
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    text-align: center;
}
.wrapper .content .content-banner .banner-content .banner-content-buttons a:hover{
    background: #FF6600;
}
.wrapper .content .content-banner .banner-content .banner-content-buttons a{
    background: #3fba7f;
    border-radius: 8px;
    padding: 5px 10px;
    font-size: 20px;
    white-space: nowrap;
    text-align: center;
    text-decoration: none;
    color:#fff;
    display: flex;
    align-items: center;
}
img.ico{
    margin-right: 5px;
}

.wrapper .content .content-banner .banner-content .sample {
    /*展示圖片的父元素*/
    position: relative;
}
.wrapper .content .content-banner .banner-content .sample-main-img{
    /* 本課展示圖片 */
    padding: 0;
    margin: 0 auto;
    vertical-align: middle;
    background-color: #f6faf6;
    height: 130px;
    /* width: 174px; */
    object-fit: contain;
}
/* .wrapper .content .content-banner .banner-content .sample-img {
    一張播放圖，位於展示圖片之上層、縮小居中
    display: block;
    position: absolute;
    width: 70px;
    height: 56px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
} */

.wrapper .content .content-banner .banner-content ul.box-word {
    /* 學習目標內文 */
    line-height: 1.5;
    color: #006666;
    font-size: 20px;
    list-style-type: "◆ ";
    margin-left: 20px;
}
/* 教學資源 */
.banner-content ul.banner-right-bottom{
    display: flex;
    gap: 20px;
}
.banner-content ul.banner-right-bottom li.btn-res{
    list-style-type: none;
    text-align: center;
    position: relative;
}
.banner-content ul.banner-right-bottom li.btn-res button:hover img,
.banner-content ul.banner-right-bottom li.btn-res a:hover img{
    filter: drop-shadow(0px 0px 3px #666666);
}
.banner-content ul.banner-right-bottom li.btn-res *{
    display: block;
    color: black;
    text-decoration: none;
    font-size: 20px;
}
.banner-content ul.banner-right-bottom li.btn-res.active::after{
    content:'';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-bottom: solid 20px #ffffff;
    border-left: solid 15px transparent;
    border-right: solid 15px transparent;
    animation-name: fade-in;
    animation-duration: 0.8s;
}
@keyframes fade-in {
    from {opacity: 0;}
    to {opacity: 1;}
}
.plus-icon-link{
    width: 105px;
    position: relative;
    margin: 0 auto;
}
.plus-icon-link-under{
    position: relative;
}
.plus-icon-link-above{
    position: absolute;
    right: 0;
    bottom: 0;
}
.wrapper .multimedia {
    display: flex;
    justify-content: space-between;
    flex-direction: row-reverse;
    margin: 0 0 10px 0;
}
.wrapper .multimedia > *{
    text-decoration: none;
    border-radius: 8px;
    padding: 5px 15px;
    font-size: 20px;
    white-space: nowrap;
    color:#fff;
}
#all-video-button{
    background: #BD7CFF;
}
#all-video-button:hover{
    background: #FF6600;
}

.wrapper .content .content-table {
    width: 100%;
    padding: 10px 40px 10px 40px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.wrapper .content .content-table table{
    margin: 0 0 10px 0;
    align-self: center;
}

.wrapper .content .content-table table tr th,
.wrapper .content .content-table table tr td {
    border: 1px solid #CCC;
}
.wrapper .content .content-table table thead tr td {
    background: #e3ede7;
    font-weight: bold;
    font-size: 18px;
    text-align: center;
}
.wrapper .content .content-table td:empty{
    color: rgb(156, 156, 156);
}
.wrapper .content .content-table td:empty::after{
    content: '-';
}

.wrapper .content .content-table table tbody tr td{
    padding:5px;
}
.wrapper .content .content-table table tbody tr td.row-head {
    /* 單元 */
    white-space: nowrap;
    max-width: 130px;
    font-weight: bold;
    font-size: 20px;
}
.wrapper .content .content-table table tbody tr td.row-page-number{
    /* 頁次 */
    text-align: center;
    font-size: 20px;
}

.wrapper .content .content-table table tbody tr td.row-unit-title{
    /* 教學與學習活動 */
    text-align: left;
    text-indent: 0.5em;
}
.wrapper .content .content-table table tbody tr td.row-unit-title a{    
    display: initial;
}

.wrapper .content .content-table table tbody tr td.row-class-content {
    /* 課程資源 */
    text-align: left;
}
.wrapper .content .content-table table tbody tr td.row-class-content a{  
    display: initial;
    text-decoration-thickness: from-font;
}
.wrapper .content .content-table table tbody tr td.row-class-content p{
    /* 課程資源 */
    text-indent: -1.3em;
    padding-left: 1.5em;
    padding-top: 0.1em;
    padding-bottom: 0.1em;
}
.wrapper .content .content-table table a{
    color: #000;
}

.popup-button:hover,
.wrapper .content .content-table table tbody tr td.row-unit-title a:hover,
.wrapper .content .content-table table tbody tr td.row-class-content a:hover {
    background-color: yellow;
}

.wrapper .content .content-table table tbody tr td.row-video-play a{
    display: inline-block;
}
.wrapper .content .content-table table tbody tr td.row-video-play,
.wrapper .content .content-table table tbody tr td.row-timing /* 時間 */ {
    vertical-align: middle;
    text-align: center;
    width: 85px;
    font-size: 20px;
}

/* 播放欄位的圖示 */
.ico-play,
.ico-book {    
    display: inline-block;
    background-repeat: no-repeat;
    background-size: 27px 27px;
    background-position: center;
    border-radius: 7px;
    height: 40px;
    width: 40px;
    vertical-align: middle;
}
.ico-play:hover,
.ico-book:hover{
    background-color: #FF6600;
}
.ico-play{
    /* 影片播放檔圖示 */
    background-image: url(../image/ico_play.svg);
    background-color: #BD7CFF;
}
.ico-book {
    /* 電子書圖示 */
    background-image: url(../image/ico_book.svg);
    background-color: #ffcc00;
}
.ico-blank{
    /* 另開頁面圖示 */
    margin-left: 7px;
}

/* 資源圖示 */
.icon {
    background-image: url(../image/cross.svg);
    display: inline-block;
    background-repeat: no-repeat;
    background-size: 20px 20px;
    height: 20px;
    width: 20px;
    vertical-align: middle;
    line-height: 1em;
    margin-right: 10px;
}
.icon[data-name='link']{
    background-image: url(../image/ico1_link.svg);
}
.icon[data-name='file']{
    background-image: url(../image/ico2_file.svg);
}
.icon[data-name='play']{
    background-image: url(../image/ico3_play.svg);
}
.icon[data-name='game']{
    background-image: url(../image/ico4_teaching.svg);
}
.icon[data-name='preview']{
    background-image: url(../image/ico5_preview.svg);
}
.icon[data-name='test']{
    background-image: url(../image/btn6_etest.svg);
}
.icon[data-name='rich']{
    background-image: url(../image/btn5_erich.svg);
}
.icon[data-name='book']{
    background-image: url(../image/ico_book.svg);
}
.popup-button{
    text-decoration-line: underline;
}

.wrapper .footnote {
    display: flex;
    align-content: center;
    position: relative;
    top: -90px;
    margin-bottom: 40px;
    margin-top: 20px;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.drawer-wrapper{
    display: flex;
    justify-content: center;
    padding: 10px 40px;
    margin: 10px 5px auto;
}
.drawer-wrapper .drawer-container {
    /* 抽屜容器 */
    width: 100%;
    margin: 0 auto;
    padding: 20px 30px;
    background-color: #ffffff;
    border-radius: 5px;
    /* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.33); */
    position: relative;
}
.drawer-wrapper .drawer-header{
    color: #006666;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
}
.drawer-wrapper .btn-close-drawer{
    background-image: url(../image/cross.svg);
    background-repeat: no-repeat;
    background-size: 12px 12px;
    background-position: center;
    display: block;
    position: absolute;
    right: 10px;
    top: 10px;
    background-color: #dedede;
    padding: 18px;
    border-radius: 50%;
    cursor: pointer;
}
.drawer-wrapper .btn-close-drawer:hover{
    background-color: #FF6600;
}

#expired-wrapper {
    position: fixed;
    background: rgba(0, 0, 0, 0.5);
    text-align: center;
    display: table;
    width: 100%;
    height: 100%;
}

#expired-div {
    font-size: 50px;
    color: #FFF;
    vertical-align: middle;
    display: table-cell;
}

#expired-div a {
    color: #ffd891;
}

#expired-close {
    width: 50px;
    height: 50px;
    line-height: 50px;
    border-radius: 25px;
    background: #FFF;
    color: #F00;
    display: inline-block;
    font-size: 30px;
    cursor: pointer;
    margin-top: 15px;
    font-weight: bold;
    user-select: none;
}

#expired-close:hover {
    background: #DDD;
    color: #000;
}

.text-red-small {
    color: red;
    font-size: 18px;
}
.text-red{
    color:red;
}
.text-gray-small{
    color:dimgrey;
    font-size: 16px;
}
.disable {
    pointer-events: none;
    cursor: default;
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%) opacity(50%);
}

/* vue 編譯完成前不顯示 */
[v-cloak] {
    display: none;
}


/* ============ vue 動畫 ============ */
/* .list: .lesson-list>li 各課按鈕 */
.list-move,
.list-leave-active,
.list-enter-active{
    transition: all .5s ease;
}
.list-leave-active{
    position: absolute;
}
.list-enter-from {
    transform: translateY(100%);
}
.list-leave-to {
    transform: translateY(-100%);
}
/* .collapse{
    animation: collapse 0.8s ease;
    transition: width 0.8s ease;
    transform: scaleX(1);
}
@keyframes collapse {
    0% {
      transform: scaleX(.75);
    }
    90% {
      transform: scaleX(1);
    }
} */
/* .fade: 淡入與位移動畫 (表格用) */
.fade-move,
.fade-leave-active,
.fade-enter-active{
    transition: all .7s ease;
}
.fade-enter-from,
.fade-leave-to {
    transform: translateY(-15px);
    opacity: 0;
}
/* .fade-in: 淡入動畫 */
.fade-in-enter-active,
.fade-in-leave-active {
  transition: opacity 0.5s ease;
}

.fade-in-enter-from,
.fade-in-leave-to {
  opacity: 0;
}
.fade-in-leave-active{
    position: absolute;
}


@media (hover: hover) and (pointer: fine) {
    .wrapper .content .content-table table tbody tr td{
        filter: brightness(100%);
        transition: filter 0.2s;
    }
    .wrapper .content .content-table table tbody tr:hover td {
        background: #EAF4EC;
        filter: brightness(95%);
    }
}