﻿
body { 
    background: rgb(255, 255, 255);/*底色*/
    padding: 0px;
    /* set margin to 0 and overflow to hidden, to go fullscreen */
    margin:0px;
    overflow: hidden;
}
/*应用背景全屏*/
.fillfull{ 
    position: absolute;
    width: 100%; 
    height: 100%; 
}
.visible{
    visibility: visible;
}
.invisible{
    visibility: hidden;
}

/*不可複製用*/
.unselect {
    -webkit-user-select: none; 
    -moz-user-select: none;    
    -khtml-user-select: none;  
    -ms-user-select: none;    
    -o-user-select: none;
    user-select: none;  
}
/* 不響應鼠標事件 */
.no-events{
    pointer-events: none;
    cursor: default;
}
/* 手型光標 */
.cursor {
    cursor:pointer;
}

/** 定义滚动条样式 https://css-tricks.com/custom-scrollbars-in-webkit/ **/
/* 滚动条整体部分 */
::-webkit-scrollbar {
    width: 28px;
    /* height: 20px; */
    background-color: #93E8FF;
    border-radius: 8px;
}
/* 滚动条的轨道，整体除去button部分 */
::-webkit-scrollbar-track {
    box-shadow: inset 0 0 0px rgba(240, 240, 240, .5);
    border-radius: 5px;
    background-color: rgba(240, 240, 240, .5);
}
::-webkit-scrollbar-track:hover {
    background-color: rgba(255, 255, 255, 0.15);
}
/* 内层轨道，track除去thumb部分 */
::-webkit-scrollbar-track-piece{
    display: block;
}
/*  滚动条里面的滑动块 */
::-webkit-scrollbar-thumb {
    border-radius: 5px;
    -webkit-border-radius: 5px;
    /* box-shadow: inset 0 0 0px rgba(240, 240, 240, .5); */
    background-color: #21A7DA;

    /* vertical-align: middle;
    width: 28px;    
    background: url(../images/scrollbar-thumb.png) transparent no-repeat 0 0;
    background-repeat: space; */
}
::-webkit-scrollbar-thumb:hover {
    cursor: pointer;
    /* background-color: rgba(255, 255, 255, 0.5); */
}
/*  滚动条两端微调按钮 */
::-webkit-scrollbar-button{
    background-color: #eee;
    cursor: pointer;
    width: 28px;
    height: 32px;
    border-radius: 5px;
}
/* vertical: start/end 或 horizontal: decrement/increment */
::-webkit-scrollbar-button:start{
    background: url(../images/scrollbar-start0001.png) transparent no-repeat 0 0;
    -webkit-appearance:initial;
    appearance:initial;
}
::-webkit-scrollbar-button:start:hover{
    cursor: pointer;
    background: url(../images/scrollbar-start0002.png) transparent no-repeat 0 0;
}
::-webkit-scrollbar-button:end{
    background: url(../images/scrollbar-end0001.png) transparent no-repeat 0 0;
    -webkit-appearance:initial;
    appearance:initial;
}
::-webkit-scrollbar-button:end:hover{
    cursor: pointer;
    background: url(../images/scrollbar-end0002.png) transparent no-repeat 0 0;
}
/* 边角，即两个滚动条的交汇处 */
::-webkit-scrollbar-corner{
    background-color: #eee;
    /* display: block; */
}
/* 两个滚动条的交汇处上用于通过拖动调整元素大小的小控件 */
::-webkit-resizer{
    background-color: #eee;
    /* display: block; */
}


button{
    width: 100%; 
    height: 100%;
    cursor: pointer;
}
button:hover{
    background-color: coral;	

}
.selected button{
    pointer-events: none;
    cursor: default;
    background-color: crimson;
}

#AppBG { 
    position: absolute;
    width: 100%; 
    height: 100%;	
}
/* 内容容器 */
#AppDiv { 
    position: absolute;
    margin: 0;
    padding: 0;
    width: 100%; 
    height: 100vh;
    transform-origin : 0% 0%;
    
}
.logo{
    position: absolute;
    left: 20px;
    bottom: 15px;
    width: 80px;
    height: 80px;

}
/* 首頁界面 */
/* 考驗開始按鈕 */
.btn-start{
    position: absolute;
    width: 340px;
    height: 89px;
    top: 666px;
    right: 10px;
    /* background-color: aqua; */
    /* cursor: pointer; */
}
/* 使用說明按鈕 */
.btn-help{
    position: absolute;
    width: 340px;
    height: 89px;
    top: 784px;
    right: 10px;
    /* background-color: aqua; */
    /* cursor: pointer; */
}
/* 使用說明 */
#btn-intro-next{
    position: absolute;
    top: 400px;
    left: 1420px;
}
#btn-intro-prev{
    position: absolute;
    top: 400px;
    left: 150px;
}
.intro-content{
    width: 100%;
    height: 100%;
    background-color: rgba(245, 245, 245, 0.5);
    position: absolute;
    top: 0px;
    left: 0px;
}
.border {
    margin-top: 50px;
    margin-left: 100px;
    
    border-radius: 20px;
    box-sizing: border-box;
    position: relative;
    background: black;
    background-image: -webkit-linear-gradient(top right, #e5e5e5, #e9e9e9);
    background-image: linear-gradient(top right, #e5e5e5, #e9e9e9);
    /* padding: 7px; */
    width: 1400px;
    height: 788px;
    --blur: 4px;
    box-shadow: 1px 1px var(--blur) 1px rgba(0, 0, 0, 0.1), 2px 2px var(--blur) 1px rgba(0, 0, 0, 0.09), 3px 3px var(--blur) 1px rgba(0, 0, 0, 0.08), 4px 4px var(--blur) 1px rgba(0, 0, 0, 0.07), 5px 5px var(--blur) 1px rgba(0, 0, 0, 0.06), 6px 6px var(--blur) 1px rgba(0, 0, 0, 0.05), 7px 7px var(--blur) 1px rgba(0, 0, 0, 0.04), 8px 8px var(--blur) 1px rgba(0, 0, 0, 0.03), 9px 9px var(--blur) 1px rgba(0, 0, 0, 0.03), 10px 10px var(--blur) 1px rgba(0, 0, 0, 0.03), 11px 11px var(--blur) 1px rgba(0, 0, 0, 0.03), 12px 12px var(--blur) 1px rgba(0, 0, 0, 0.02), 13px 13px var(--blur) 1px rgba(0, 0, 0, 0.02), 14px 14px var(--blur) 1px rgba(0, 0, 0, 0.01), 15px 15px var(--blur) 1px rgba(0, 0, 0, 0.01), 16px 16px var(--blur) 1px rgba(0, 0, 0, 0.01);
    /* box-shadow: -1px 1px var(--blur) 1px rgba(0, 0, 0, 0.1), -2px 2px var(--blur) 1px rgba(0, 0, 0, 0.09), -3px 3px var(--blur) 1px rgba(0, 0, 0, 0.08), -4px 4px var(--blur) 1px rgba(0, 0, 0, 0.07), -5px 5px var(--blur) 1px rgba(0, 0, 0, 0.06), -6px 6px var(--blur) 1px rgba(0, 0, 0, 0.05), -7px 7px var(--blur) 1px rgba(0, 0, 0, 0.04), -8px 8px var(--blur) 1px rgba(0, 0, 0, 0.03), -9px 9px var(--blur) 1px rgba(0, 0, 0, 0.03), -10px 10px var(--blur) 1px rgba(0, 0, 0, 0.03), -11px 11px var(--blur) 1px rgba(0, 0, 0, 0.03), -12px 12px var(--blur) 1px rgba(0, 0, 0, 0.02), -13px 13px var(--blur) 1px rgba(0, 0, 0, 0.02), -14px 14px var(--blur) 1px rgba(0, 0, 0, 0.01), -15px 15px var(--blur) 1px rgba(0, 0, 0, 0.01), -16px 16px var(--blur) 1px rgba(0, 0, 0, 0.01); */
}
.border:before {
    content: ' ';
    display: block;
    padding-bottom: 140%;
}
.frame {
    left: 3%;
    top: 2.5%;
    box-shadow: inset -1px 1px 6px 1px rgba(0, 0, 0, 0.24);
    width: 94%;
    height: 95%;
    background: rgb(255, 255, 255);
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    padding: 18px;
    box-sizing: border-box;
    position: absolute;
}
.image {
    box-shadow: inset 0 0 1px 0 rgba(0, 0, 0, 0.2);
    height: 100%;
    width: 100%;
    background-size: cover;
    background-position: center center;
    /* margin-top: -34px;
    margin-left: -18px; */
}


/* 設定界面 */
/* 返回按鈕 */
.btn-back{
    position: absolute;
    width: 91px;
    height: 61px;
    bottom: 10px;
    right: 5px;
    cursor: pointer;
}
/* 進入游戲按鈕 */
.btn-game{
    position: absolute;
    bottom: 30px;
    left: 268px;
    width: 344px;
    height: 97px;
}
/* 編輯題目按鈕 */
.btn-editor{
    position: absolute;
    bottom: 30px;
    left: 636px;
    width: 344px;
    height: 97px;
}
/* 單字閃卡按鈕 */
.btn-flashcard{
    position: absolute;
    bottom: 30px;
    left: 1005px;
    width: 344px;
    height: 97px;
}
/* 讀取檔案 */
.set-record{
    position: absolute;
    top: 95px;
    left: 0px;
    width: 100%;
    height: 80px;

}
.select-record-cont{
    font-family: fontCH;
    position: relative;
    left: 480px;
    width: 600px;
    border-color: #B8B8B8;
    border-style: solid;
    border-width: 3px;
    border-radius: 5px;
    box-shadow: 3 4px 8px rgba(0, 0, 0, 0.5);
}
/* .select-record-cont:before {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border: 10px solid transparent;
    border-top-color: #ccc;
    top: 14px;
    right: 10px;
    cursor: pointer;
    z-index: -2;
} */
select{
    vertical-align: middle;
    padding: 0;
    overflow: hidden;
    background-color: #fff;
    color: #555;
    border: 1px solid #aaa;
    text-shadow: none;
    border-radius: 4px;	
    transition: box-shadow 0.25s ease;
    /* z-index: 2; */
}
.select-record-cont select{
    position: relative;
    top: 0px;
    left: 0px;
    width: 600px;
    height: 80px;    
    cursor: pointer;
    font-size: 55px;
    text-align: center;
    padding: 0 1%;
    margin: 0;
    /* padding: 10px; */
    /* width: 100%; */
    border: none;
    background: transparent;
    background-image: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}
/* .select-record-cont:hover {
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
} */
.select-record-cont select:focus {
    outline: none;
}
.select-record-cont option{
    font-size: 35px;
}



/* 速度設定 */
.set-speed{    
    position: absolute;
    top: 364px;
    left: 0px;
    width: 100%;
    height: 80px;
}
.speed-radio{
    position: relative;
    top: 0px;
    left: 473px;

}
/* 顯示設定 */
.set-shape{    
    position: absolute;
    top: 490px;
    left: 0px;
    width: 100%;
    height: 80px;
}
.shape-radio{
    position: relative;
    top: 0px;
    left: 473px;

}
/* 分組設定 */
.set-groups{    
    position: absolute;
    top: 618px;
    left: 0px;
    width: 100%;
    height: 80px;
}
.groups-radio{
    position: relative;
    top: 0px;
    left: 473px;

}


/* 编辑题目 */
/* 列表容器 */
.list-container{
    position: absolute;
    top: 170px;
    left: 105px;
    width: 1400px;
    height: 600px;
    overflow-y: auto;
    overflow-x:hidden;
    background-color: rgba(240, 240, 240, .5);
}
.list-item{
    appearance: none;
    display: block;
    height: 120px;
    width: 1360px;
    position: relative;
}
.list-item input{
    border: solid #F0B94D 3px;
    border-radius: 15px;
    width: 100%;
    height: 100%;
    background-color: transparent;
}
.list-item input:focus{
    outline: none;
    /* border: none; */
    /* border-radius: 15px; */
    /* box-shadow:  0 0 0 1px #42A7FF,0 0 0 3px #BDE7FF; */
}
/* 檔案名稱 */
.btn-newfile{
    position: absolute;
    top: 60px;
    left: 830px;
    cursor: pointer;
}
/* 檔名 */
.file-name{
    position: relative;
    width: 615px;
    height: 70px;
    top: 10px;
    left: 22px;
}
.file-name input{
    font-size: 40px;
    text-align: center;
}
.file-buttons{
    display: inline-block;
    position: relative;
    width: 615px;
    height: 80px;
    top: -70px;
    left: 660px;

}
.file-buttons .disable{                
    -webkit-filter: grayscale(100%); /* Chrome, Safari, Opera */
    filter: grayscale(100%);
    cursor: auto;
}
/* 修改檔名 */
.btn-edit-name{
    display: inline-block;
    position: relative;
    width: 201px;
    height: 77px;
    top: 10px;
    /* left: 690px; */
    cursor: pointer;
}
.btn-edit-item{
    display: inline-block;
    position: relative;
    width: 201px;
    height: 77px;
    top: 10px;
    /* left: 900px; */
    cursor: pointer;
}
.btn-delete-item{
    display: inline-block;
    position: absolute;
    width: 201px;
    height: 77px;
    top: 10px;
    margin-left: 4px;
    /* left: 1110px; */
    cursor: pointer;
}
/* 題目編輯畫面 */
.quest-num-all{
    position: absolute;
    top: 60px;
    left: 560px;
    width: 200px;
    height: 80px;
    text-align: left;
    font-family: fontNum;
    font-size: 60px;
}
/* 新增題目按鈕 */
.btn-edit-new{
    position: absolute;
    bottom: 30px;
    left: 328px;
    width: 344px;
    height: 97px;
}
/* 儲存按鈕 */
.btn-edit-save{
    position: absolute;
    bottom: 30px;
    left: 865px;
    width: 344px;
    height: 97px;
}
/* 返回按鈕 */
.btn-edit-back{
    position: absolute;
    bottom: 30px;
    left: 1115px;
    width: 344px;
    height: 97px;
}
/* 題目序號 */
.quest-index{
    position: absolute;
    width: 60px;
    height: 70px;
    top: 15px;
    left: 15px;
    text-align: center;
    font-size: 45px;
    cursor: unset;
}
/* 中文 */
.quest-cn{
    position: absolute;
    width: 420px;
    height: 70px;
    top: 10px;
    left: 80px;
    font-family: fontCH;
}
.quest-cn input{
    text-align: center;
    font-size: 45px;
}
/* 英文 */
.quest-en{
    position: absolute;
    width: 800px;
    height: 70px;
    top: 10px;
    left: 80px;
    cursor: pointer;
    /* width: 380px;
    height: 70px;
    top: 10px;
    left: 518px; */
    background-color: white;
    border-radius: 15px;
    border: solid #F0B94D 3px;
}
.quest-en input{
    border: 0px;
    text-align: center;
    font-size: 45px;
    font-family: fontWord;
    width: 99%;
}
.quest-en div{
    position: absolute;
    top: 4px;
    left: 7px;
    width: 785px;
    height: 64px;

    display:flex;
	align-items:center; 
	justify-content:center;
}
.quest-en img.pic{
    width:auto;
	height:100%;
}
.quest-en img.kung{
    position: absolute;
    top: 0px;
    left: 0px;
}
/*  */
.quest-pic{
    position: absolute;
    width: 172px;
    height: 97px;
    top: 0px;
    left: 910px;
    cursor: pointer;
    background-color: white;
}
.quest-pic div{
    position: absolute;
    top: 4px;
    left: 7px;
    width: 157px;
    height: 88px;

    display:flex;
	align-items:center; 
	justify-content:center;
}
.quest-pic img.pic{
    width:auto;
	height:100%;
}
.quest-pic img.kung{
    position: absolute;
    top: 0px;
    left: 0px;
}
.quest-sound{
    position: absolute;
    width: 102px;
    height: 97px;
    top: 0px;
    left: 1080px;
}
.quest-audition{
    position: absolute;
    width: 102px;
    height: 97px;
    top: 0px;
    left: 1184px;
}
.quest-delete{
    position: absolute;
    width: 50px;
    height: 50px;
    top: 0px;
    left: 1300px;
}

/* 档案列表 */
/* .record-table{
    position: relative;
    top: 0px;
    left: 0px;
    width: 1360px;
    border-collapse: unset;
    border-spacing: 0px;
    font-family: verdana,arial,sans-serif;
    font-size:18px;
    color:black;
    font-size: 18px;
    
}

table.record-table td.flag{
    width: 120px;
    height: 68px;
    cursor: pointer;
    background-color: rgba(240, 240, 240, .8);
}
table.record-table td.name{
    width: 740px;
    height: inherit;
}
table.record-table td.name input{
    width: 688px;
    height: 68px;
    margin-left: 12px;
    font-size: 40px;
    text-align: center;
    border:none
}
table.record-table td.button{
    width: 220px;
    height: 68px;
    cursor: pointer;
} */


/* 閃卡部分 */
.btn5-cont{
    position: absolute;
    height: 100px;
    width: 1300px;
    left: 150px;
    bottom: 10px;
    user-select: none;
}
.btn-card-prev{
    display: inline;
    position: relative;
    top: 0px;
    left: 140px;
}
.btn-card-next{
    display: inline;
    position: relative;
    top: 0px;
    left: 540px;
}
.btn-card-auto{
    display: inline;
    position: relative;
    top: 0px;
    left: 58px;
    display: inline-block;
}
.btn-card-auto-slider{
    position: absolute;
    top: 15px;
    left: 210px;
}
.btn-card-rand{
    display: inline;
    position: relative;
    top: 0px;
    left: 150px;
}
.btn-card-os{
    display: inline;
    position: relative;
    top: 0px;
    left: 190px;
}
.flashcard-cards{
    position: absolute;
    width: 1340px;
    height: 750px;
    left: 130px;
    top: 30px;
    display: table;
    background-color: #999;
}
.flashcard-card{
    position: absolute;
    width: 100%;
    height: 100%;
    /* display: table-cell; */
    background-color: white;
}
.flashcard-card-dividing{
    height: 0px;
    width: 90%;
    margin: 10px auto;
    border: solid #555 2px ;
}
.flashcard-card-pic{
    margin-top: 10px;
    height: 560px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.flashcard-card-pic img{
    width:auto;
	height:100%;
}
.flashcard-card-text{
    margin-top: 5px;
    height: 150px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
span.fontEN{
    font-family: fontWord;
    font-size: 120px;
}
.flashcard-card-text img{
    width:auto;
	height:100%;
}


/* 游戲部分 */
.game-pic{
    position: absolute;
    top: 0px;
    left: 0px;
    width: calc(1600px - 128px);
    height: 900px;
    /* display: table; */
}
.game-pic .card{
    position: absolute;
    width: 100%;
    height: 100%;
    display: table;
}
.game-pic img{
    /* position: absolute;
    width: 100%; */
    margin:auto;
    height: 100%;
    /* display: table-cell; */
    
    display: flex;
    align-items: center;
    justify-content: center;
}
.game-pic .card-text{
    position: absolute;
    width: 100%;
    height: 100%;
    /* display: table-cell; */
    background-color: rgba(255, 255, 255, 0.75);
    text-align: center;
    font-size: 55px;
}

.game-mask{
    position: absolute;
    top: 0px;
    left: 0px;
    width: calc(1600px - 128px);
    height: 900px;
    background-color:rgba(255, 255, 255, 0.01);
}

.shape-polygon6{
    position: absolute;
    left: 0px;
    top: 0px;
}
.polygon6-d1{
    width: 200px;
    height: 250px;
    overflow: hidden;
    transform: rotate(120deg);
    margin: 200px;
}
.polygon6-d2{
    width: 100%;
    height: 100%;
    overflow: hidden;
    transform: rotate(-60deg);
}
.polygon6-d3{
    width: 100%;
    height: 100%;
    overflow: hidden;
    transform: rotate(-60deg);
    background-color: red;
}
/*  */
.game-bar{
    position: absolute;
    top: 0px;
    right: 0px;
    width: 190px;
    height: 100%;
}
.game-tool{
    position: absolute;
    right: 0px;
    width: 128px;
    height: 100%;
}
.game-groups{
    position:relative;
    left: 0px;
    /* top: 92px; */
    top: 0px;
    width: 124px;
}
.game-group{
    position: relative;
    left: 0px;
    width: 124px;
    height: 82px;
}
.game-group div.btn-plus{
    position: absolute;
    left: 10px;
    top: 30px;
    width: 32px;
    height: 25px;
}
.game-group div.btn-minus{
    position: absolute;
    left: 10px;
    top: 56px;
    width: 32px;
    height: 25px;
}
.game-group div.group-score{
    position: absolute;
    left: 45px;
    top: 30px;
    width: 78px;
    height: 60px;
    font-family: fontNum;
    font-size: 35px;
    color: white;
    text-shadow: rgb(48, 47, 47) 2px 3px;
    text-align: center;
}
/* .btn-game-over{
    position: absolute;
    right: 0px;
    bottom: 205px;
}
.btn-game-all{
    position: absolute;
    right: 0px;
    bottom: 230px;

}
.btn-game-all{
    position: absolute;
    right: 0px;
    bottom: 167px;

}
.btn-game-step{
    position: absolute;
    right: 0px;
    bottom: 102px;

}
.btn-game-pn{
    position: absolute;
    right: 0px;
    bottom: 37px;
} */
.btn-game-step.disable{                
    -webkit-filter: grayscale(100%); /* Chrome, Safari, Opera */
    filter: grayscale(100%);
    cursor: auto;
}
.btn-game-prev{
    display: inline-block;
    position: relative;
    top: 10px;
    left: 20px;
}
.btn-game-next{
    display: inline-block;
    position: relative;
    top: 10px;
    left: 45px;
}
/* gameover */
.winners{
    position: absolute;
    left: 520px;
    top: 80px;
}
.btn-game-again{
    position: absolute;
    left: 580px;
    top: 745px;
}
.game-winners-cont{
    position: absolute;
    left: 100px;
    top: 250px;
    width: 1400px;
    height: 350px;
}
.game-winners{
    position: relative;
    margin-left: 50%;
    top: 0px;
}
.game-winner{
    position: relative;
    display: inline-block;
    width: 200px;
    height: 350px;
}