*, *::before, *::after {
    box-sizing: border-box;
}

* {
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
    overflow: hidden;
    /* overflow-x: hidden; */
    position: relative ;
    left: 0px;
    top: 0px;
    font-family: sans-serif, serif, "Noto Sans CJK TC", "Microsoft JhengHei", PingFang, STHeiti;
    letter-spacing: .05rem;
    line-height: 1.5;
}

#container {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* header {
    flex: 0 0 auto;
    box-shadow: #aaaaaa 1px 0px 3px;
} */

.main {
    flex: 0 1 auto;
    margin-bottom: 0%;
}
.page-main {
    margin: 0 auto;
    flex: 0 1 auto;
    margin-top: 2rem;
    margin-bottom: 10rem;
    width: 90%;
    max-width: 1920px;
}
.footer{
    display: flex;
    justify-content: center;
    color: rgba(0, 0, 0, .3);
    font-size: .75rem;
    font-weight: bold;
}

footer p {
    margin-bottom: 0%;
}
.bg-gray{
    background-color: #888888;
}
/* hide scrollbar but allow scrolling start */
div {
    -ms-overflow-style: none;
    /* for Internet Explorer, Edge */
    scrollbar-width: none;
    /* for Firefox */
    overflow-y: scroll;
}

div::-webkit-scrollbar {
    display: none;
    /* for Chrome, Safari, and Opera */
}
/* hide scrollbar but allow scrolling start */
/* 初始設定 end */

/* basic-style start */
.material-icons, .material-icons-outlined, .material-icons-round, .material-icons-sharp, .material-icons-two-tone {
    display: inline-block;
    font-size: inherit;
    line-height: inherit;
    vertical-align: middle;
    /* transform: translateY(-.1em); */
}

.content {
    margin: 0 auto;
}

a {
    text-decoration: none;
    display: inline-block;
}

.fs-14 {
    font-size: 14px;
}

.fs-12 {
    font-size: 0.75rem;
}

.fs-20 {
    font-size: 1.25rem;
}

h1 {
    font-size: 2.5rem;
    font-weight: bold;
    line-height: 1.5;
}

h2 {
    font-size: 2rem;
    font-weight: bold;
    line-height: 1.5;
}

h3 {
    font-size: 1.75rem;
    font-weight: bold;
    line-height: 1.5;
}

h4 {
    font-size: 1.5rem;
    font-weight: bold;
    line-height: 1.5;
}

h5 {
    font-size: 1.25rem;
    font-weight: bold;
    line-height: 1.5;
}

h6 {
    font-size: 1rem;
    font-weight: bold;
    line-height: 1.5;
}
.fc-fff{
    color: #fff;
}
.fc-pink{
    color: #ED93AF;
}
.fc-pink{
    color: #E03E70;
}
.fc-green{
    color: #35C2BA;
}
/* basic-style start */
.dashed-line {
    border-bottom: 1px dashed lightgray;
    margin-bottom: 1rem;
}

/* sidebar-toggle-btn start */
#sidebar-toggle {
    background-color: #4D4D4D;
    border-radius: .25rem 0 0 .25rem;
    padding: .5rem .25rem;
    color: darkgray;
    position: absolute;
    right: 0;
    top: 55px;
    border: none;
    font-size: 1.5rem;
    color: #00cbbf;
}
/* sidebar-toggle-btn end */

/* button start */
.btn-normal {
    padding: .75rem 1rem;
    border-radius: .25rem;
}

.btn-sm {
    padding: .5rem 1rem;
    border-radius: .25rem;
    font-size: small;
}

.btn-lg {
    padding: .75rem 1.5rem;
    border-radius: .5rem;
    font-size: 1.25rem;
}

.btn-w100 {
    width: 100%;
    padding: .5rem 1.5rem;
    border-radius: .25rem;
}

.btn-cancel {
    background-color: #ffffff;
    color: #424242;
    border: 1px solid lightgray;
}

.btn-cancel:hover {
    background-color: lightgray;
    color: #fff;
    border: 1px solid lightgray;
}

.btn-green, .btn-green-outlined.active {
    background-color: #35C2BA;
    color: #fff;
    border: 1px solid #35C2BA;
}

.btn-green:hover,
.btn-green-outlined:hover {
    background-color: #44dbd4;
    color: #fff;
    border: 1px solid #44dbd4;
}

.btn-green:active,
.btn-green-outlined:active {
    background-color: #0eaca4;
    color: #fff;
    border: 1px solid #0eaca4;
}

.btn-green-outlined {
    background-color: #fff;
    color: #35C2BA;
    border: 1px solid lightgray
}

.btn-red {
    background-color: #ac0101;
    color: #fff;
    border: 1px solid #ac0101;
}

.btn-red:hover,
.btn-red-outlined:hover {
    background-color: #cc0101;
    color: #fff;
    border: 1px solid #cc0101;
}

.btn-red:active,
.btn-red-outlined:active {
    background-color: #800808;
    color: #fff;
    border: 1px solid #800808;
}

.btn-red-outlined {
    background-color: #fff;
    color: #ac0101;
    border: 1px solid lightgray
}
/* button end */

/* component-delete-btn start */
.btn-delete {
    color: #C4C4C4;
    position: absolute;
    z-index: 3;
}

.btn-delete:hover {
    color: #ED93AF;
}

.dis-connect {
    font-size: 14px;
    color: red;
    font-weight: bold;
}
/* component-delete-btn end */

/* sidebar-toggle-btn start */
#sidebar-toggle{
    background-color: #4D4D4D; 
    border-radius: .25rem 0 0 .25rem; 
    padding: .5rem .25rem; 
    color:darkgray; 
    position:absolute; 
    right:0; 
    top: 55px; 
    border: none; 
    font-size:1.5rem;
    color: #00cbbf;
}
/* sidebar-toggle-btn end */

/* modal start */
.modal-header {
    padding: 1rem;
}

.modal-header-green {
    color: #fff;
    background-color: #0eaca4;
}

.modal-header-red {
    color: #fff;
    background-color: #A00000;
}

.modal-body {
    padding: 1.5rem;
}
/* modal end */

/* 左側-功能選單 start */
.fonctional-icons-area {
    padding-bottom: .5rem;
    margin-bottom: 1rem;
}

.fonctional-icons-area button {
    margin: 0 .75rem;
    font-size: 1.75rem;
    color: rgba(0, 0, 0, .5);
    background-color: #88888800;
    border: none;
}
.fonctional-icons-btn:hover {
    color: #00cbbf;
}

.fonctional-icons-btn.active {
    color: #00cbbf;
}
/* 左側-功能選單 end */

/* 左側-畫面區塊 start */
.left-img-area {
    height: 100vh;
    position: relative; 
    z-index:1;
    /* background-color: antiquewhite; */
}
/* 左側-畫面區塊 end */

/* JoinEZ-main-area start */
.main-box{
    max-width: 1000px;
}
.join-ez .main-area-img img {
    object-fit: cover;
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
}

.join-ez .main-area-name {
    color: #fff;
    text-align: center;
    padding: .5rem;
    background-color: #0eaca4;
    border-bottom-left-radius: 1rem;
    border-bottom-right-radius: 1rem;
}
/* JoinEZ-main-area end */

/* 右側-功能區塊 start */
.right-function-area {
    background-color: #4D4D4D;
    height: 100vh;
    max-width: 20rem;
}

.nav-tabs {
    border-bottom: none;
}

.nav-tabs .nav-link {
    border-radius: 0;
    border: none;
    color: #BBBBBB;
    background-color: #313131;
}

.nav-tabs .nav-link:hover {
    color: #35C2BA;
    background-color: #3E3E3E;
}

.nav-tabs .nav-link.active {
    color: #00cbbf;
    background-color: #4D4D4D;
}
/* 右側-功能區塊 end */

/* 左/右側-與會者視窗-LiveEZ start */
.live-ez .attendee-box {
    background-color: #313131;
    border-radius: .25rem;
    position: relative;
    margin-bottom: 1rem;
}

.live-ez .attendee-img {
    object-fit: cover;
    border-radius: .25rem;
    position: absolute;
    z-index: 1;
}

.live-ez .attendee-no-img {
    background-color: #c0c0c0;
    width: 5rem;
    height: 5rem;
    border-radius: 100%;
    margin-bottom: 1rem;
}

.live-ez .attendee-name {
    position: absolute;
    z-index: 2;
    color: #fff;
    text-shadow: 1px 1px 1px #000;
    background-color: rgba(82, 82, 82, .8);
    padding: .25rem .75rem;
    border-top-left-radius: .25rem;
    border-bottom-left-radius: .25rem;
    bottom: .5rem;
    right: 0;
}
.live-ez .attendee-mic{
    position: absolute;
    z-index: 2;
    display: flex;
    font-size: 1.25rem;
    padding: 0 .3rem;
    border-radius: 50px;
    left: .5rem;
    top: .5rem;
    
}
.mic-on{
    color: #fff;
    background-color: #00cbbf;
    text-shadow: .75px .75px .5px rgb(139, 139, 139);
    box-shadow: .75px .75px .5px rgb(139, 139, 139);
}
.mic-off{
    color: rgb(186, 186, 186);
    background-color: #474747cd;
}
/* 左/右側-與會者視窗-LiveEZ end */

/* 左側-與會者視窗-JoinEZ start */
.join-ez .attendee-box {
    display: flex;
    align-items: center;
    margin: 1rem 0;
}

.join-ez .attendee-name {
    font-weight: bold;
    color: #fff;
}

.join-ez .attendee-photo img {
    background-color: #c0c0c0;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 100%;
    margin-right: 1.5rem;
    object-fit: cover;
}
/* 左側-與會者視窗-JoinEZ end */

/* 右側-討論區-chat area start */
.chat-box {
    border-top: 1px dashed #BBBBBB;
    padding: 1rem 0;
}

.chat-box:first-child {
    border-top: none;
    padding-top: 0;
}

.user-name {
    color: #00cbbf;
    font-weight: bold;
    margin-bottom: .5rem;
}

.chat-text {
    color: #fff;
    line-height: 1.5;
}

.self .user-name {
    text-align: end;
    color: #FFAED8;
}

.self .chat-text {
    text-align: right;

}

.send-icon {
    color: #35C2BA;
    font-size: 1.5rem;
    margin-left: .75rem;
}

.send-icon:hover {
    color: #47ede4;
}
/* 右側-討論區-chat area end */

/* 右側-其他-other start */
.other-item {
    display: flex;
    margin-bottom: 2rem;
    color: #fff;
}

.other-item:hover {
    color: #35C2BA;
}

.other-item .material-icons {
    font-size: 1.25rem;
}
/* 右側-其他-other end */  

/* 右側-教材下載-download start */
.download-box {
    color: #fff;
    border: #0eaca4 1px solid;
    padding: 1rem;
    border-radius: .5rem;
    margin-bottom: 1rem;
}

.download-box:hover {
    color: #fff;
    border: #0eaca4 1px solid;
    background-color: #0eaca4;
}
/* 右側-教材下載-download end */

/* 右側-學生名單-area start */
.student-box {
    margin-bottom: .75rem;
}

.student-functional-area {
    width: 3.5rem;
}

.raise-hand,
.raise-hand:active {
    color: #fff;
    background-color: #ED93AF;
    border: #ED93AF 1px solid;
    border-radius: .25rem;
    padding: .25rem .5rem;
    font-size: 14px;
}

.raise-hand:hover {
    color: #fff;
    background-color: #ED93AF;
    border: #ED93AF 1px solid;
    box-shadow: 2px 2px 2px darkgray;
}

.student-online {
    color: #00cbbf;
}

.student-box span {
    font-size: 1.5rem;
    margin-right: .5rem;
}

.student-offline {
    color: #BBBBBB;
}
.student-alert{
    color: #ED93AF; 
    border-bottom:#BBBBBB 1px dashed; 
    margin-bottom:1rem; 
    padding-bottom:1rem;
}
.number-on {
    border: 1px solid #0eaca4;
    background-color: #0eaca4;
    color: #4D4D4D;
    border-radius: .25rem;
    padding: .25rem;
    font-size: 14px;
    display: block;
    width: 2rem;
    text-align: center;
    font-weight: bold;
    margin-right: .5rem;
}

.number-standby {
    border: 1px solid #0eaca4;
    color: #0eaca4;
    border-radius: .25rem;
    padding: .25rem;
    font-size: 14px;
    display: block;
    width: 2rem;
    text-align: center;
    font-weight: bold;
    margin-right: .5rem;
}

.number-off {
    border: 1px solid lightgray;
    color: lightgray;
    border-radius: .25rem;
    padding: .25rem;
    font-size: 14px;
    display: block;
    width: 2rem;
    text-align: center;
    margin-right: .5rem;
}

.join-check {
    display: flex;
}

.join-check span {
    font-size: 1.25rem;
    color: lightgray;
}

.check:hover {
    color: #0eaca4;
}

.cancel:hover {
    color: #ED93AF;
}

/* 右側-學生名單-area end */

/* 左側-字幕 caption start */
.caption-area {
    position: absolute;
    z-index: 3;
    left: 1rem;
    right: 1rem;
    bottom: .5rem;
}

.caption-box {
    text-align: center;
    display: block;
    padding: .5rem 1rem;
    color: #fff;
    background-color: rgba(0, 0, 0, .5);
    border-radius: .25rem;
    margin-bottom: .5rem;
}

.translation-icon {
    font-size: 14px;
    font-weight: bold;
    background-color: #00cbbf;
    color: rgba(0, 0, 0, .5);
    border-radius: .25rem;
}
.share_screen-icon {
    font-size: 14px;
    font-weight: bold;
    background-color: #00cbbf;
    color: rgba(0, 0, 0, .65);
    border-radius: .25rem;
    text-shadow: none;
}
/* 左側-字幕 caption end */

/* quiz start */
.question-head {
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
    background-color: #0eaca4;
    color: #fff;
    text-align: center;
    padding: 1rem 0;
}

.question-body {
    padding: 1.5rem;
    background-color: #fff;
    border-bottom-left-radius: 1rem;
    border-bottom-right-radius: 1rem;
}

.slection {
    margin-bottom: .25rem;
    font-weight: bold;
    margin-right: .5rem;
}
/* quiz end */

/* slection start */
.slectionbtn {
    text-align: center;
    padding: 1.5rem 0;
    margin: 0 .5rem 1.5rem .5rem;
    max-width: 7rem;
    border-radius: 1rem;
    font-size: 3rem;
    font-weight: bold;
    border: 3px solid #BBBBBB;
    color: #4D4D4D;
    background-color: #F3F3F3;
}

.slectionbtn:hover {
    border: 3px solid #35C2BA;
    color: #35C2BA;
    background-color: #fff;
}

.slectionbtn[data-active="active"] {
    border: 3px solid #0eaca4;
    color: #0eaca4;
    background-color: #fff;
    box-shadow: 3px 3px 3px #BBBBBB;
}
/* slection end */

/* wickedcss background-circle背景浮動球 start */
.circle2-1 {
    background-color: #35C2BA8e;
    position: absolute;
    display: block;
    left: -10rem;
    top: -4rem;
    border-radius: 50%;
    height: 23rem;
    width: 23rem;
    z-index: -1;
    overflow: hidden;
}

.circle2-2 {
    background-color: #ff77778e;
    position: absolute;
    display: block;
    left: 6rem;
    top: 13rem;
    border-radius: 50%;
    height: 6rem;
    width: 6rem;
    z-index: -1;
    overflow: hidden;
}

.circle2-3 {
    background-color: #ffae288e;
    position: absolute;
    display: block;
    right: -6rem;
    bottom: 2rem;
    border-radius: 50%;
    height: 25rem;
    width: 25rem;
    z-index: -1;
    overflow: hidden;
}

/* wickedcss background-circle背景浮動球 end */
/* login-box start */
.login-box {
    max-width: 400px;
    border: 1px solid lightgray;
    border-radius: 1rem;
    background-color: rgba(255, 255, 255, 0.75);
}
/* login-box end */

/* login-page start */
.login-page{
    padding-top: 5vh;
    padding-bottom: 5vh;
}
/* login-page end */

/* spinkit sk-circle start*/
:root {
    --sk-size: 5rem;
    --sk-color: #35C2BA;
}

.sk-circle {
    width: var(--sk-size);
    height: var(--sk-size);
    position: relative;
    overflow: hidden;
}

.sk-circle-dot {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
}

.sk-circle-dot:before {
    content: '';
    display: block;
    width: 25%;
    height: 25%;
    background-color: var(--sk-color);
    border-radius: 100%;
    animation: sk-circle 1.2s infinite ease-in-out both;
}

.sk-circle-dot:nth-child(1) {
    transform: rotate(45deg);
}

.sk-circle-dot:nth-child(2) {
    transform: rotate(90deg);
}

.sk-circle-dot:nth-child(3) {
    transform: rotate(135deg);
}

.sk-circle-dot:nth-child(4) {
    transform: rotate(180deg);
}

.sk-circle-dot:nth-child(5) {
    transform: rotate(225deg);
}

.sk-circle-dot:nth-child(6) {
    transform: rotate(270deg);
}

.sk-circle-dot:nth-child(7) {
    transform: rotate(315deg);
}

.sk-circle-dot:nth-child(8) {
    transform: rotate(360deg);
}

.sk-circle-dot:nth-child(1):before {
    animation-delay: -.8s;
}

.sk-circle-dot:nth-child(2):before {
    animation-delay: -.7s;
}

.sk-circle-dot:nth-child(3):before {
    animation-delay: -0.6s;
}

.sk-circle-dot:nth-child(4):before {
    animation-delay: -0.5s;
}

.sk-circle-dot:nth-child(5):before {
    animation-delay: -0.4s;
}

.sk-circle-dot:nth-child(6):before {
    animation-delay: -0.3s;
}

.sk-circle-dot:nth-child(7):before {
    animation-delay: -0.2s;
}

.sk-circle-dot:nth-child(8):before {
    animation-delay: -0.1s;
}

@keyframes sk-circle {

    0%,
    80%,
    100% {
        transform: scale(0);
    }

    40% {
        transform: scale(1);
    }
}

/* spinkit sk-circle end*/
.spinner-text{
    animation: fade 2500ms infinite;
    color: #4D4D4D;
}
@keyframes fade {
    from {
        opacity: 1.0;
    }
    25% {
        opacity: 0;
    }
    50% {
        opacity: 1.0;
    }
    75% {
        opacity: 0;
    }
    to {
        opacity: 1.0;
    }
}