@charset "UTF-8";

@font-face {
    font-family: Digital;
    src: url(../font/ds-digib-ttf.ttf) format("truetype");
    font-style: normal;
    font-weight: normal;
    font-display: swap;
}

/* ======================================================
                    Critical CSS START
======================================================== */
/* Default Value */
html {
    --dr973-a: #78b578;
    --dr973-b: #0fa280;
    --oneqr-a: rgb(201, 97, 156);
    --oneqr-b: rgb(107, 143, 202);
    --oneqr-c: rgb(79, 181, 212);
    --oneqr-d: rgb(170, 200, 100);
    --dr973-bgA: #e4f0e4;
    --dr973-bgB: #cfece6;
    --dr973-bgC: #e8f3e8;
    --dr973-bgD: #def1ed;
    --dr973-bgA75: rgba(228, 240, 228, 0.75);
    --drNum: #c9619c;
}

html {
    --widgetMax_w: 100vw;
    --widget_offset: -100vw;
    --widget_offsetY: -100vh;
    --wHead_H: 33px;
    --wMenu_H: 40px;
    --wMenu_offset: 23px;
    --wMenu_sizeW: 22%;
    --wMenu_count: 4;
    --wMenu_LRset: calc((100% - (var(--wMenu_sizeW) * var(--wMenu_count))) / 2);
    --wMenu_pdB: calc(var(--wMenu_H) + var(--wMenu_offset));
    --wM_icon_W: calc(var(--wMenu_H) - 20px);
    --wM_UpdBubble: 18px;
}

/* ==========================
     RESET CSS
============================ */
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

body {
    line-height: normal;
}

ol,
ul {
    list-style: none;
}

blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* ==========================
     UI Default
============================ */
p {
    margin: 0 0 1em 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 12px 0;
    font-weight: normal;
}

ul,
ol {
    margin: 0 0 0 25px;
    padding: 0;
}

hr {
    border: 0;
    border-top: 1px solid #f3f3f3;
    margin: 18px 0;
}

body {
    margin: 0;
    position: relative;
}

body * {
    font-family: sans-serif;
    box-sizing: border-box;
}

a {
    color: #355335;
    text-decoration: none;
}

a:hover {
    color: #507d51;
    text-decoration: underline;
}

.jDebug,
.closed,
[v-cloak] *,
.one-WaitNum,
.one-TimeSlot,
.one-DoctorName,
input[type=radio] {
    display: none !important;
}

span.ciliniID,
.oneDrHeader .cis_logo_PWA,
.oneDrFooter {
    display: none;
}

[v-cloak]::before {
    content: " ";
    display: block;
    position: absolute;
    width: 80px;
    height: 80px;
    /* background-image: url(/images/svg/loader.svg); */
    background-size: cover;
    left: 50%;
    top: 50%;
}

/* QRCODE BUG */
/* .oneDrWrapper > div {flex: 0 0 100%;} */

/* UI-base Style */
.oneWidget .oneInfo .service .ba-field-content::-webkit-scrollbar-track,
.oneDrWrapper::-webkit-scrollbar-track,
.oneWidget .oneInfo h2::-webkit-scrollbar-track,
.oneWidget .oneInfo h3::-webkit-scrollbar-track {
    background-color: #cecece;
    border-radius: 10px;
}

.oneWidget .oneInfo .service .ba-field-content::-webkit-scrollbar,
.oneDrWrapper::-webkit-scrollbar,
.oneWidget .oneInfo h2::-webkit-scrollbar,
.oneWidget .oneInfo h3::-webkit-scrollbar {
    width: 5px;
    background-color: transparent;
}

.oneWidget .oneInfo .service .ba-field-content::-webkit-scrollbar-thumb,
.oneDrWrapper::-webkit-scrollbar-thumb,
.oneWidget .oneInfo h2::-webkit-scrollbar-thumb,
.oneWidget .oneInfo h3::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background-color: #FFF;
    background-image: -webkit-linear-gradient(top,
            #cecece 0%,
            #aac864 10%,
            #639b63 90%,
            #cecece 100%);
}

::-moz-selection {
    color: #4b724b;
    background: #d0ebd0;
}

::-webkit-selection {
    color: #4b724b;
    background: #d0ebd0;
}

::selection {
    color: #4b724b;
    background: #d0ebd0;
}

/***** Dark *****/
@media (prefers-color-scheme: _Dark) {

    .oneWidget .oneInfo .service .ba-field-content::-webkit-scrollbar-track,
    .oneDrWrapper::-webkit-scrollbar-track,
    .oneWidget .oneInfo h2::-webkit-scrollbar-track,
    .oneWidget .oneInfo h3::-webkit-scrollbar-track {
        background-color: #585858;
    }

    .oneWidget .oneInfo .service .ba-field-content::-webkit-scrollbar-thumb,
    .oneDrWrapper::-webkit-scrollbar-thumb,
    .oneWidget .oneInfo h2::-webkit-scrollbar-thumb,
    .oneWidget .oneInfo h3::-webkit-scrollbar-thumb {
        background-image: -webkit-linear-gradient(top,
                #585858 0%,
                #aac864 10%,
                #639b63 90%,
                #585858 100%);
    }
}

/* UI */
.oneDrWrapper,
.oneDrHeader {
    max-width: var(--widgetMax_w);
}

.oneDrWrapper {
    overflow-y: auto;
    display: flex;
    flex-flow: column;
    padding-bottom: 2px;
}

.oneDrContent {
    position: relative;
    z-index: 1;
    display: flex;
    flex-flow: wrap;
    justify-content: flex-start;
    order: 0;
}

.oneDrFooter {
    position: relative;
    text-align: center;
    z-index: 3;
    order: 5;
}

.oneCopyright {
    line-height: 12px;
    text-align: center;
}

.oneDrHeader {
    position: fixed;
    position: sticky;
    display: flex;
    top: 0;
    order: 0;
    z-index: 55;
    width: calc(var(--widgetMax_w) - 5%);
    height: var(--wHead_H);
    margin: 0 auto;
    padding: 5px 15px;
    border-radius: 0 0 15px 15px;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.3);
    background: linear-gradient(to Bottom, #78b578 0%, #619861 100%);
}

.oneDrHeader .drLogo {
    width: 100px;
    height: 22px;
}

.oneDrHeader .drInfo {
    text-align: right;
    width: calc(100% - 100px);
    letter-spacing: 1.5px;
}

.oneDrHeader img,
.oneDrWrapper img {
    max-width: 100%;
    height: auto;
    display: block;
}

.oneDrHeader a {
    line-height: 14px;
    text-decoration: none;
    padding: 4px 10px;
    border-radius: 15px;
    display: inline-block;
    font-weight: bold;
    letter-spacing: 1px;
    color: #f5faf5;
    background: #507d51;
    border: 1px solid #8ab48a;
}

/* TimeTable */
.oneTimeEX {
    margin: 10px 5% 0;
    padding: 0px 0% 0;
    display: flex;
    flex-flow: row;
    flex-wrap: wrap;
    align-items: center;
    border-radius: 10px;
    order: 2;
}

/* New UI */
.oneWidget {
    width: var(--widgetMax_w);
    min-height: calc(var(--widgetMain_H) + var(--widgetNews_H) + var(--widgetInfo_H) + var(--widgetQR_H));
    max-width: var(--widgetMax_w);
    position: relative;
}

.oneWidget:after {
    content: '';
    position: fixed;
    width: 100%;
    height: calc(var(--wMenu_H) + var(--wMenu_offset) + 5px);
    bottom: 0;
    z-index: 10;
}

.oneQR_Widget_Box {
    display: flex;
    flex-flow: row;
    justify-content: flex-start;
    order: 1;
    border-radius: 15px;
    margin: 5px 3% 0;
    border: 1px solid #daedda;
    background: #ffffffb5;
    box-shadow: 0 0 10px #f1faf1;
}

.widgetInfo .oneQR_Widget_Box {
    margin-bottom: 10px;
    order: 1;
}

.oneQR_Widget_Box img {
    object-fit: cover;
}

.oneWidget .oneInfo {
    z-index: 1;
    flex: 0 0 75%;
    max-width: 75%;
    padding: 6px;
    padding-left: 0;
    position: relative;
}

.widgetInfo .oneInfo {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 10px;
}

.oneWidget .oneInfo h1 {
    font-weight: 500;
    text-align: center;
    letter-spacing: 4px;
    padding: 0;
    margin: 0;
}

.widgetInfo .oneInfo h1 {
    flex: 0 0 100%;
    max-width: 100%;
    font-weight: 500;
    text-align: center;
    letter-spacing: 4px;
    padding: 0;
    margin: 0;
}

.oneWidget .oneInfo h2,
.oneWidget .oneInfo h3 {
    margin: 0;
    font-weight: 400;
    max-height: 80px;
    overflow-y: auto;
    line-height: 22px;
    letter-spacing: 1px;
    padding: 5px;
    display: block;
}

.oneWidget .oneInfo .service {
    margin: 0;
    font-weight: 400;
    max-height: 240px;
    overflow-y: auto;
    line-height: 22px;
    letter-spacing: 1px;
    padding: 5px;
    display: inline-block;
}

.oneWidget .oneInfo .service * {
    margin: 0;
    padding: 0;
    text-align: left !important;
}

.oneWidget .oneInfo .service hr {
    margin: 10px 0;
    border-color: #eaeaea;
}

.oneWidget .oneInfo .service ul {
    list-style: square;
    padding-inline-start: 25px;
}

.oneWidget .oneInfo .service li {
    margin-bottom: 5px;
}

.oneWidget .oneInfo .service .ba-field-label {
    font-weight: 600;
}

.oneWidget .oneInfo .service .ba-field-content {
    font-weight: 400;
    max-height: 180px;
    overflow-y: auto;
    line-height: 22px;
    letter-spacing: 1px;
    display: inline-flex;
}

.widgetInfo .oneInfo h2,
.widgetInfo .oneInfo h3 {
    max-height: 160px;
}

.oneLogo {
    flex: 0 0 25%;
    max-width: 25%;
    z-index: 1;
    margin: 10px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.oneLogo-box {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    border: 1px solid #f3f3f3;
    overflow: hidden;
    background: white;
}

.oneDiv {
    position: relative;
    display: flex;
    flex-flow: column;
    margin: 10px 0 0;
    order: 3;
}

.divTable,
.oneBoard {
    width: 100%;
    padding: 0 5% 10px;
}

.oneBoard-ct {
    background: #ffffff;
    border-radius: 20px;
    padding: 10px 20px;
    border: 1px solid #dbecdb;
    height: 200px;
    overflow-y: auto;
}

.oneBoard-title {
    background: var(--dr973-a);
    color: #fff;
    letter-spacing: 2px;
    text-align: center;
    border-radius: 15px;
    margin: 0 auto 10px;
    width: 150px;
}

/* ==========================
    Number Setting START
============================ */
span.ciliniID {
    position: absolute;
    right: 2px;
    top: 15px;
    line-height: 12px;
    padding: 2px 4px;
    color: #ffffff47;
    z-index: 10;
}

.debug span.ciliniID {
    display: block;
}

.debug-dev-mode {
    position: absolute;
    z-index: 999;
    top: -33px;
    left: 0;
    width: 100%;
    background: #673AB7;
    color: #FFEB3B;
    text-align: center;
    line-height: 33px;
    letter-spacing: 3px;
    font-family: 'Digital';
}

/* ==========================
    Number Setting END
============================ */
.closed .vRooms {
    filter: grayscale(1);
}

.divTableHeading {
    background-color: #EEE;
    display: table-header-group;
}

.divTableBody {
    display: block;
    background-color: transparent;
}

.divTableRow.oneT-head {
    display: none;
}

.divTableRow.oneT-body {
    position: relative;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0px 5px 8px #4a4a4a17;
}

.divTableCell {
    display: block;
    width: 100%;
    text-align: center;
    padding: 0;
}

.one-CurrentNum {
    order: 2;
    right: 0;
    text-align: center;
    font-family: monospace;
    font-weight: bold;
}

.one-DoctorName {
    order: 3;
    max-width: 100%;
    border-top: 1px solid #e8e8e8;
    line-height: 32px;
    letter-spacing: 3px !important;
}

.one-ClinicName {
    order: 1;
    position: relative;
    padding: 0;
    font-weight: 400;
    letter-spacing: 2px;
    line-height: 30px;
    font-family: monospace;
    padding-top: 2px;
}

.divTableCell:before {
    display: block;
    text-align: center;
    border-bottom: 1px solid #e8e8e8;
    margin-bottom: 0px;
    font-weight: normal;
    padding: 3px 0;
    line-height: 20px;
}

.one-TimeSlot {
    order: 5;
}

.one-WaitNum {
    order: 4;
}

.one-CurrentNum.animated:before {
    border: none;
}

.one-DoctorName:before {
    content: '醫師 ';
}

.one-TimeSlot:before {
    content: '時段 ';
}

.one-WaitNum:before {
    content: '等待人數 ';
}

.divTableCell:last-child {
    border-bottom: 0px solid var(--oneqr-a);
}

.divTableRow.oneT-body.vRooms .one-ClinicName:before {
    content: '';
    display: block;
    background: transparent;
    color: white;
    display: none;
}

.oneT-body .divTableCell.one-CurrentNum {
    font-family: 'Digital', sans-serif;
    font-family: Digital;
    font-weight: normal;
    line-height: 60px;
    position: relative;
    border-radius: 0 0 20px 20px;
    overflow: hidden;
}

.closed .oneT-body .divTableCell.one-CurrentNum {
    line-height: 60px;
}

.divTableRow.oneT-body:nth-child(n+3) {
    margin-top: 15px;
}

.one-UpdateTime {
    text-align: center;
    letter-spacing: 1px;
    order: 1;
}

.rest {
    color: var(--black-a);
    text-align: center;
    letter-spacing: 2px;
    font-family: Digital;
}

/* Multi Num Update */
.oneDrContent>.loading-wrapper {
    order: 0;
}

.oneDrContent>.divTable {
    order: 3;
}

.oneDrContent>.divTableM {
    order: 2;
}

.oneDrContent>.jNumCustom {
    order: 1;
}

.oneDrContent.Model-M>.divTable:not(.divTableM):not(.jNumCustom) {
    flex-basis: calc(100% / 2);
    max-width: calc(100% / 2);
}

.oneDrContent.Model-M>.divTable:not(.divTableM):not(.jNumCustom):nth-child(odd) {
    padding-left: 2.5%;
    padding-right: 5%;
}

.oneDrContent.Model-M>.divTable:not(.divTableM):not(.jNumCustom):nth-child(even) {
    padding-left: 5%;
    padding-right: 2.5%;
}

.oneDrContent.Model-M.m-MultiLine>.divTable:not(.divTableM):not(.jNumCustom):nth-child(even) {
    padding-left: 2.5%;
    padding-right: 5%;
}

.oneDrContent.Model-M.m-MultiLine>.divTable:not(.divTableM):not(.jNumCustom):nth-child(odd) {
    padding-left: 5%;
    padding-right: 2.5%;
}

.divTableM .one-ClinicName,

.jNumCustom .one-ClinicName {
    color: #eaf1fb;
}

/* ==========================
     Widget Menu
============================ */
label.oneWidgetMenu {
    position: fixed;
    height: var(--wMenu_H);
    width: var(--wMenu_sizeW);
    max-width: var(--wMenu_sizeW);
    text-align: center;
    display: flex;
    flex-flow: column;
    justify-content: center;
    align-items: center;
    bottom: var(--wMenu_offset);
    z-index: 55;
    cursor: pointer;
    transition: transform 550ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
    background: #f5f5f5eb;
    color: #555555;
    box-shadow: 0px 3px 10px 2px #a9a9a961;
}

label.oneWidgetMenu>span {
    position: relative;
}

label.oneWidgetMenu img {
    max-width: var(--wM_icon_W);
    margin: 0 2px;
}

.widgetMenu+.menuNum img {
    max-width: 30px;
    width: 30px;
    object-fit: cover;
}

.widgetMenu+.oneWidgetMenu img {
    opacity: .5;
}

.widgetMenu.active+.oneWidgetMenu img {
    opacity: 1;
    filter: invert(1);
}

label.oneWidgetMenu[for=tabMain] {
    left: calc((var(--wMenu_sizeW) * 0) + var(--wMenu_LRset));
    border-radius: 15px 0 0 15px;
}

label.oneWidgetMenu[for=tabNews] {
    left: calc((var(--wMenu_sizeW) * 1) + var(--wMenu_LRset));
    border-radius: 0;
}

label.oneWidgetMenu[for=tabInfo] {
    left: calc((var(--wMenu_sizeW) * 2) + var(--wMenu_LRset));
    border-radius: 0;
}

label.oneWidgetMenu[for=tabQR] {
    left: calc((var(--wMenu_sizeW) * 3) + var(--wMenu_LRset));
    border-radius: 0 15px 15px 0;
}

.widgetMenu:not(:checked)+label {}

.widgetMenu:checked+label {
    z-index: 56;
    transform: scale(1.1);
    background: linear-gradient(to bottom, #78b578 0%, #619861 100%);
    color: whitesmoke;
}

/* num Update */
.numUpdate #tabMain:not(:checked)+.menuNum:before {
    content: '!';
    position: absolute;
    width: var(--wM_UpdBubble);
    height: var(--wM_UpdBubble);
    line-height: var(--wM_UpdBubble);
    background: var(--oneqr-a);
    border-radius: 100%;
    color: white;
    font-family: monospace;
    top: -5px;
    right: 0;
    left: 25px;
    margin: auto;
    z-index: 5;
    animation: bubble 4s cubic-bezier(0.39, 0.58, 0.57, 1) infinite;
}

.one-ClinicName {
    color: white;
    background: linear-gradient(to right, var(--dr973-a) 0%, var(--dr973-b) 100%);
}

.divTableCell:before,
.divTableRow.oneT-body,
.oneT-body .divTableCell.one-CurrentNum,
.oneT-body .divTableCell.one-CurrentNumMulti,
.jNumCustom .oneT-body .divTableCell.one-CurrentNum {
    background: white;
}

.oneT-body .divTableCell.one-CurrentNum {
    color: #c9619c;
}

.divTableCell:before {
    color: #777777;
}

.one-CurrentNum.animated:before {
    content: 'Updating...';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    width: 10em;
    height: 20px;
    letter-spacing: 2px;
    border-radius: 5px;
    background: rgba(255, 255, 255, .95);
}

/* ==========================
     Widget Tab Content
============================ */
.widgetMenu~.oneDrWrapper {
    width: 100%;
    margin: 0;
    padding: 0;
    position: absolute;
    transition: left 350ms cubic-bezier(0.39, 0.58, 0.57, 1),
        right 350ms cubic-bezier(0.39, 0.58, 0.57, 1),
        top 350ms cubic-bezier(0.39, 0.58, 0.57, 1);
}

/* Status : No Checked */
.widgetMenu:not(:checked)~.oneDrWrapper {}

.widgetMenu#tabMain:not(:checked)~.oneDrWrapper.widgetMain,
.widgetMenu#tabInfo:not(:checked)~.oneDrWrapper.widgetInfo,
.widgetMenu#tabNews:not(:checked)~.oneDrWrapper.widgetNews,
.widgetMenu#tabQR:not(:checked)~.oneDrWrapper.widgetQR {
    visibility: hidden;
    min-height: 0;
    max-height: 0;
}

/* Status : Is Checked */
.widgetMenu#tabMain:checked~.oneDrWrapper.widgetMain,
.widgetMenu#tabNews:checked~.oneDrWrapper.widgetNews,
.widgetMenu#tabInfo:checked~.oneDrWrapper.widgetInfo,
.widgetMenu#tabQR:checked~.oneDrWrapper.widgetQR {
    visibility: visible;
    padding-top: 5px;
    padding-bottom: calc(var(--wMenu_pdB) + 15px);
}

.widgetMenu#tabNews:checked~.oneDrWrapper.widgetNews {
    overflow: hidden;
}

.widgetMenu#tabNews:checked~.oneDrWrapper.widgetNews,
.widgetMenu#tabNews:checked~.oneDrWrapper.widgetNews .iframeBox {
    border: 0;
    min-height: calc(var(--deviceH) - var(--wHead_H) - var(--wMenu_pdB));
    max-height: calc(var(--deviceH) - var(--wHead_H) - var(--wMenu_pdB));
}

.iframeBox {
    width: 100%;
}

/* Status : Normal */
.oneDrWrapper.widgetMain {
    left: calc(var(--widget_offset) * 1.25);
}

.oneDrWrapper.widgetNews {
    right: calc(var(--widget_offset) * 1.25);
}

.oneDrWrapper.widgetInfo {
    right: calc(var(--widget_offset) * 1.25);
}

.oneDrWrapper.widgetQR {
    top: calc(var(--widget_offsetY) * 1.25);
    align-items: center;
    justify-content: center;
    min-height: 0;
    max-height: 0;
}


.widgetMenu:checked~.oneDrWrapper {
    order: 1;
}

.widgetMenu#tabMain:checked~.widgetMain {
    left: 0;
}

.widgetMenu#tabNews:checked~.widgetNews {
    right: 0;
}

.widgetMenu#tabInfo:checked~.widgetInfo {
    right: 0;
}

.widgetMenu#tabQR:checked~.widgetQR {
    top: 0;
    min-height: calc(var(--deviceH));
    max-height: calc(var(--deviceH));
}

/* 門診時間表 */
ul[data-ot=ot1],
ul[data-ot=ot2],
ul[data-ot=ot3],
ul[data-ot=ot4],
ul[data-ot=ot5],
ul[data-ot=ot6],
ul[data-ot=ot7] {
    display: none;
}

#ot1:checked~*[data-ot=ot1],
#ot2:checked~*[data-ot=ot2],
#ot3:checked~*[data-ot=ot3],
#ot4:checked~*[data-ot=ot4],
#ot5:checked~*[data-ot=ot5],
#ot6:checked~*[data-ot=ot6],
#ot7:checked~*[data-ot=ot7],
.oneTCkd:checked~ul[data-ot=otA] {
    display: flex;
    flex-flow: row;
    flex-wrap: wrap;
    border-radius: 0 0 10px 10px;
    padding: 0 10px;
    border: 1px solid #76b276;
    background: #f8fcf8;
}

span.otTitle {
    flex: 0 0 100%;
    max-width: 100%;
    text-align: center;
    letter-spacing: 2px;
    border-radius: 3px 3px 0 0;
    border-bottom: 0;
    padding: 0;
}

.oneTCkd:checked+.oneTmenu {
    z-index: 2;
}

.oneTimeEX ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.oneTimeEX ul li {
    flex: 0 0 100%;
    max-width: 100%;
    display: flex;
    flex-flow: row;
    flex-wrap: nowrap;
    align-items: center;
    padding: 2px 0;
    position: relative;
}

.oneTimeEX ul li:not(:last-child) {
    border-bottom: 1px solid #daedd9;
}

.oneTmenu {
    flex: 0 0 calc(100% / 7);
    max-width: calc(100% / 7);
    text-align: center;
    padding: 0px 2px;
    cursor: pointer;
    height: 30px;
}

.oneTmenu,
.oneTCkd:checked+.oneTmenu {
    transform: none;
    color: initial;
    border-radius: 15px;
}

.oneTCkd:checked+.oneTmenu {
    padding: 0;
}

.oneTmenu>span {
    display: block;
    border-radius: 10px;
    padding: 3px 0;
    background: #d0ebd0;
}

.oneTCkd:checked+.oneTmenu>span {
    margin-top: 3px;
    border-radius: 15px 15px 0 0;
    padding-bottom: 8px;
    transition: all 300ms ease;
}

span.clinicDrBox {
    color: #555555;
    padding: 0 5px;
    border-radius: 10px 3px 3px 10px;
}

span.otTrg-name:before {
    content: '';
    display: block;
    width: 20px;
    height: 20px;
    margin: auto;
    opacity: .7;
    background-repeat: no-repeat;
    background-size: contain;
}

li.morn span.otTrg-name:before {
    background-image: url(https://s1.data.oneqr.app/02-DR973/icon/morning.png);
}

li.noon span.otTrg-name:before {
    background-image: url(https://s1.data.oneqr.app/02-DR973/icon/sun--v1.png);
}

li.night span.otTrg-name:before {
    background-image: url(https://s1.data.oneqr.app/02-DR973/icon/bright-moon.png);
}

.otContent {
    flex: 0 0 100%;
    max-width: 100%;
}

.otCt_left {
    flex: 0 0 30%;
    max-width: 30%;
    text-align: center;
}

.otCt_right {
    flex: 0 0 70%;
    max-width: 70%;
    text-align: center;
}

span.otRestT {
    color: #64b179;
}

span.otTitle,
.oneTCkd:checked+.oneTmenu>span {
    color: #f5faf5;
}

.oneTCkd:checked+.oneTmenu>span {
    background: linear-gradient(to bottom, #59af7a 0%, var(--dr973-b) 70%);
}

span.otTitle {
    background: linear-gradient(to top, #59af7a 0%, var(--dr973-b) 60%);
}

.loading-wrapper,
.vLoadWrapper {
    position: absolute;
    display: flex;
    left: 0;
    right: 0;
    height: 100%;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.loading,
#scMod-oneTime .loading {
    display: inline-block;
    border: 2px solid #e8f3e8;
    padding: 5px 20px;
    color: whitesmoke;
    border-radius: 50px;
    letter-spacing: 5px;
    background: linear-gradient(to left, #78b578e0 0%, #619861e0 100%);
}

#scMod-oneTime .loading * {
    color: whitesmoke;
}

/* ==========================
    Font Setting
============================ */
.oneT-body.oneVroom .divTableCell.one-CurrentNum {
    font-size: 120px;
}

.oneT-body .divTableCell.one-CurrentNum {
    font-size: 60px;
}

.rest {
    font-size: 50px;
}

.one-CurrentNum {
    font-size: 35px;
}

.closed .oneT-body .divTableCell.one-CurrentNum {
    font-size: 24px;
}

h1 {
    font-size: 22px;
}

.debug-dev-mode,
.one-ClinicName {
    font-size: 20px;
}

.widgetInfo .oneInfo h1 {
    font-size: 18px;
}

h2,
.oneTimeEX .otContent,
.numUpdate #tabMain:not(:checked)+.menuNum:before,
.divTableCell:before,
.oneWidget .oneInfo h1,
.oneWidget .oneInfo .service .ba-field-label {
    font-size: 16px;
}

p,
h3,
h4,
h5,
h6,
.oneDrHeader a,
span.otTitle,
span.clinicDrBox,
.oneTmenu>span,
.one-UpdateTime,
.oneWidget .oneInfo h2,
.oneWidget .oneInfo h3,
.oneWidget .oneInfo .service {
    font-size: 14px;
}

.oneDrFooter,
.oneCopyright,
span.ciliniID,
label.oneWidgetMenu>span {
    font-size: 12px;
}

span.otTrg-name {
    font-size: 0px;
}

/* ==========================
    Color Setting
============================ */
input[type=radio]:checked+label,
.oneTimeEX input[type=radio]:checked+label {
    color: whitesmoke;
}

body,
.oneDrWrapper,
.oneWidget {
    background: whitesmoke;
    background: #f0f5f3;
    background: #f5faf5;
    background: var(--dr973-bgC);
}

.oneWidget:after {
    background: #f5faf5;
    box-shadow: 0px -3px 6px 4px #f5faf5f0;
}

.oneWidget:after {
    background: #f5f5f5eb;
    box-shadow: 0px -3px 6px 4px #f5f5f5eb;
    background: #e8f3e8eb;
    box-shadow: 0px -3px 6px 4px #e8f3e8eb;
}

/* ======================================================
                    Critical CSS END
======================================================== */





/* ==========================
     Animated Style
============================ */
@keyframes bubble {

    0%,
    50% {
        transform: scale(1);
    }

    20% {
        transform: scale(1.3);
    }

    25%,
    35%,
    45% {
        transform: scale(0.8);
    }

    30%,
    40% {
        transform: scale(1.2);
    }
}

@-webkit-keyframes flash {

    10%,
    50%,
    to {
        opacity: 1;
    }

    25%,
    75% {
        opacity: 0.85;
    }
}

@keyframes flash {

    10%,
    50%,
    to {
        opacity: 1;
    }

    25%,
    75% {
        opacity: 0.85;
    }
}

@keyframes logoIn {
    0% {
        opacity: 0;
    }

    30% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes pageIn {
    0% {
        opacity: 0;
    }

    30% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes wgMenuShow {
    0% {
        bottom: -80px;
    }

    100% {
        bottom: var(--wMenu_offset);
    }
}

@keyframes wgHeaderShow {
    0% {
        top: -50px;
        border-radius: 0 0 0px 0px;
    }

    60% {
        top: 0px;
        border-radius: 0 0 5px 5px;
    }

    100% {
        top: 0;
        border-radius: 0 0 30px 30px;
    }
}

@keyframes logoX {

    0%,
    100% {
        background-position: 50% 50%;
    }

    30% {
        background-position: 100% 50%;
    }

    80% {
        background-position: 0% 50%;
    }
}

/* ==========================
     Color Setting Start
============================ */
.divTableM .one-ClinicName,
.jNumCustom .one-ClinicName {
    background: linear-gradient(to right, #3e8ddc 0%, #5b9ed3 100%);
}

.widgetInfo .oneInfo h1 {
    color: #22966d;
}

.oneWidget .oneInfo h1,
.oneWidget .oneInfo h2,
.oneWidget .oneInfo h3,
.oneWidget .oneInfo .service,
.oneTimeEX,
.oneTimeEX *,
.oneTmenu span {
    color: #3c3c3c;
}

.oneDrFooter,
.one-UpdateTime {
    color: #373e3c;
}

.oneCopyright {
    color: #76b478;
}

.oneWidget .oneInfo .service .ba-field-label {
    color: #be709e;
}

.oneWidget .oneInfo .service li {
    color: #666666;
}

.getsite *,
.oneWidget .oneInfo .service .ba-field-content {
    color: #757575;
}

.getsite .column-wrapper>.ba-grid-column-wrapper:nth-child(2) .ba-item-text:nth-child(3) .content-text h6 {
    color: #649b24;
}

.getsite .column-wrapper>.ba-grid-column-wrapper:nth-child(2) .ba-item-text:nth-child(2) .content-text h5 {
    color: #649b24;
}

/***** Light *****/
@media (prefers-color-scheme: Light) {}

/***** Dark *****/
@media (prefers-color-scheme: _Dark) {

    body,
    .oneDrWrapper,
    .oneWidget {
        background: #2d2d2d;
    }

    .oneWidget:after {
        background: #2d2d2df7;
        box-shadow: 0px -3px 6px 4px #2d2d2deb;
    }

    .oneDrHeader {
        background: linear-gradient(to Bottom, #78b578 0%, #0fa280 100%);
        background: linear-gradient(to Bottom, #78b578 0%, #619861 100%);

    }

    .one-ClinicName {
        color: #d2f6bf;
        background: linear-gradient(to right, #6aa76a 0%, #0b896c 70%);
    }

    .divTableM .one-ClinicName,
    .jNumCustom .one-ClinicName {
        color: #bfeff4;
    }

    .divTableM .one-ClinicName,
    .jNumCustom .one-ClinicName {
        background: linear-gradient(75deg, #4aa5ae 0%, #1d767c 70%);
    }

    .drBox a {
        color: #f5faf5;
        background: #78b578;
        border: 1px solid #8ac58a;
    }

    .divTableRow.oneT-body,
    .divTableCell:before,
    .oneT-body .divTableCell.one-CurrentNum,
    .oneT-body .divTableCell.one-CurrentNumMulti,
    .jNumCustom .oneT-body .divTableCell.one-CurrentNum {
        background: #434343;
    }

    .oneT-body .divTableCell.one-CurrentNum {
        color: #f978c2;
    }

    .oneT-body .divTableCell.one-CurrentNumMulti,
    .jNumCustom .oneT-body .divTableCell.one-CurrentNum {
        color: #ff9800;
    }

    .divTableRow.oneT-body {
        box-shadow: 0px 5px 8px #38383870;
    }

    .divTableCell:before {
        color: #777777;
    }

    .one-CurrentNum.animated:before {
        background: #585858d6;
    }

    label.oneWidgetMenu {
        background: #f5f5f5eb;
        color: #858585;
        box-shadow: 0px 3px 10px 2px #61616161;
    }

    #ot1:checked~*[data-ot=ot1],
    #ot2:checked~*[data-ot=ot2],
    #ot3:checked~*[data-ot=ot3],
    #ot4:checked~*[data-ot=ot4],
    #ot5:checked~*[data-ot=ot5],
    #ot6:checked~*[data-ot=ot6],
    #ot7:checked~*[data-ot=ot7],
    .oneTCkd:checked~ul[data-ot=otA],
    .oneQR_Widget_Box {
        background: #303030;
        border: 1px solid #545454;
        box-shadow: 0 0 10px #414141;
    }

    .oneWidget .oneInfo h1 {
        color: #efefef;
    }

    .widgetInfo .oneInfo h1 {
        color: #83d397;
    }

    .oneWidget .oneInfo h2,
    .oneWidget .oneInfo h3,
    .oneWidget .oneInfo .service,
    .oneTimeEX,
    .oneTimeEX * {
        color: #dcdcdc;
    }

    .oneDrFooter,
    .one-UpdateTime {
        color: #b5b5b5;
    }

    .oneCopyright {
        color: #565656;
    }

    .oneWidget .oneInfo .service .ba-field-label {
        color: #be709e;
    }

    .getsite *,
    .oneWidget .oneInfo .service li,
    .oneWidget .oneInfo .service .ba-field-content {
        color: #dadada;
    }

    .getsite .column-wrapper>.ba-grid-column-wrapper:nth-child(2) .ba-item-text:nth-child(3) .content-text h6 {
        color: #8fb477;
    }

    .getsite .column-wrapper>.ba-grid-column-wrapper:nth-child(2) .ba-item-text:nth-child(2) .content-text h5 {
        color: #8fb477;
    }
}

/* ==========================
     Color Setting End
============================ */
@media (max-width:360px) {
    .oneDrWrapper .drBox {
        flex-flow: column;
        padding: 5px;
    }

    .oneDrWrapper .drLogo {
        align-self: center;
    }

    .oneDrWrapper .drInfo {
        width: 100%;
        text-align: center;
        letter-spacing: 0.5px;
        margin-top: 2px;
    }

    .drBox a {
        padding: 2px 10px;
    }

    .divTableCell:before {
        padding: 2px;
    }

    .one-DoctorName {
        font-size: 16px;
        line-height: 26px;
    }

    .one-DoctorName:before {
        font-size: 14px;
        line-height: 18px;
    }
}

@media (max-width:280px) {
    .one-UpdateTime {
        font-size: 12px;
    }
}

/* Animate Effect */
.animated {
    -webkit-animation-duration: .88s;
    animation-duration: .88s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}

.animated.infinite {
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
}

.flash {
    -webkit-animation-name: flash;
    animation-name: flash;
}

/* Get Site */
.getsite {
    display: flex;
    flex-flow: column;
    padding: 0 30px;
    box-sizing: border-box;
    order: 2;
}

.getsite * {
    font-size: 14px;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.getsite .ba-row-wrapper {
    margin-bottom: 10px;
}

.getsite .ba-image-wrapper {
    display: flex;
    flex-flow: column;
    align-items: center;
}

.getsite .ba-image-wrapper img {
    max-width: 300px;
    border-radius: 15px;
}

.content-text * {
    font-weight: 400;
    font-size: 14px;
    line-height: 26px;
}

.getsite .column-wrapper>.ba-grid-column-wrapper:nth-child(1) {
    flex: 0 0 100%;
    max-width: 100%;
}

.getsite .column-wrapper>.ba-grid-column-wrapper:nth-child(2) {
    flex: 0 0 100%;
    max-width: 100%;
}

.getsite .column-wrapper>.ba-grid-column-wrapper:nth-child(2) .ba-item-text:nth-child(2) .content-text {}

.getsite .column-wrapper>.ba-grid-column-wrapper:nth-child(2) .ba-item-text:nth-child(2) .content-text h5 {
    text-align: center;
    font-size: 18px;
    font-weight: 500;
    margin-top: 5px;
}

.getsite .column-wrapper>.ba-grid-column-wrapper:nth-child(2) .ba-item-text:nth-child(2) .content-text h6 {
    text-align: center;
    font-size: 14px;
    font-weight: 400;
    font-style: italic;
    font-family: fantasy;
}

.getsite .column-wrapper>.ba-grid-column-wrapper:nth-child(2) .ba-item-text:nth-child(3) .content-text {}

.getsite .column-wrapper>.ba-grid-column-wrapper:nth-child(2) .ba-item-text:nth-child(3) .content-text h6 {
    font-size: 18px;
    font-weight: 500;
}

.getsite .column-wrapper {
    display: flex;
    flex-flow: row;
    flex-wrap: wrap;
}

@media (min-width: 768px) {

    .getsite .column-wrapper>.ba-grid-column-wrapper:nth-child(2) .ba-item-text:nth-child(2) .content-text h5,
    .getsite .column-wrapper>.ba-grid-column-wrapper:nth-child(2) .ba-item-text:nth-child(2) .content-text h6 {
        text-align: left;
    }

    .getsite .column-wrapper>.ba-grid-column-wrapper:nth-child(2) .ba-item-text:nth-child(2) .content-text h6 {
        margin-bottom: 20px;
    }

    .getsite .ba-grid-column>.ba-container {
        padding: 20px 0;
    }

    .getsite .ba-grid-column>.ba-container:not(:last-child) {
        border-bottom: 1px solid #bcd4b1;
    }

    .getsite .column-wrapper .ba-grid-column .ba-grid-column-wrapper:nth-child(1) {
        flex: 0 0 40%;
        max-width: 40%;
    }

    .getsite .column-wrapper .ba-grid-column .ba-grid-column-wrapper:nth-child(2) {
        flex: 0 0 60%;
        max-width: 60%;
        padding: 0 20px;
    }
}

/* oneQR imgBorder */
.oneQR-img,
.oneQR-wrapper {
    border-radius: 20px 20px 10px 10px;
}

.oneQR-wrapper {
    position: relative;
    width: 250px;
    height: 308px;
    overflow: hidden;
    display: inline-block;
}

.oneQR-img {
    padding: 3px 3px 60px;
    width: 100%;
    height: 100%;
    position: relative;
}

.oneQR-img:after {
    content: "立即掃描";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    color: white;
    font-size: 22px;
    line-height: 60px;
    letter-spacing: 2px;
    text-align: center;
}

.oneQR-img:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    display: block;
    top: 0;
    left: 0;
    z-index: 0;
}

.oneQR-img .ba-image-wrapper,
.oneQR-img .qrcode {
    padding: 15px;
    border-radius: 15px 15px 5px 5px;
    overflow: hidden;
    background: white;
    width: 244px;
    height: 244px;
    position: absolute;
    z-index: 2;
}

.oneQR-img:before {
    background-image: linear-gradient(90deg, var(--dr973-a) 0%, var(--dr973-b) 100%);
}

.oneQR-img.style1:before {
    background-image: linear-gradient(90deg, rgb(201, 97, 156) 0%, rgb(107, 143, 202) 100%);
}

.oneQR-img.style2:before {
    background-image: linear-gradient(135deg, rgb(79, 181, 212) 0%, rgb(170, 200, 100) 100%);
}

.oneQR-img .ba-image-wrapper a,
.oneQR-img .qrcode a {}

.oneQR-img .ba-image-wrapper a img,
.oneQR-img .qrcode a img {}

/* ==========================
     appList
============================ */
.oneQR_appList_section {
    display: flex;
    flex-flow: row;
    align-items: center;
    padding: 0 2%;
}

a.appList_wrapper {
    flex: 0 0 calc(100% / 4);
    max-width: calc(100% / 4);
    text-align: center;
    display: block;
    padding: 5px;
    box-sizing: border-box;
    text-decoration: none;
}

.appList_box {
    background: #ffffffa6;
    text-align: center;
    border-radius: 10px;
    overflow: hidden;
}

img.appList_icon {
    width: 50px;
    height: 50px;
    display: block;
    margin: 5px auto;
}

.appList_box span {
    display: block;
    margin: 10px 0;
    font-size: 12px;
    color: #555555;
}


/* ==========================
     DEVing ...
============================ */


/* ==========================
     PWA Style
============================ */
@media (display-mode: standalone) {
    * {
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        -khtml-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }

    body {
        overflow: hidden;
        position: fixed;
        top: 0;
        left: 0;
        background: #78b578;
    }

    body.widgetMode {
        background: transparent;
    }

    body,
    .oneWidget {
        min-height: 100vh;
        max-height: 100vh;
        overflow: hidden;
    }

    .oneDrHeader {
        position: fixed;
        width: calc(var(--widgetMax_w) - 0%);
        border-radius: 0 0 30px 30px;
        padding: 0 30px;
        align-items: center;
        justify-content: center;
    }

    .oneDrHeader:before,
    .oneDrHeader:after {
        content: '';
        position: absolute;
        color: #ade4ac;
        top: 8px;
        font-size: 12px;
        letter-spacing: 1px;
        font-family: 'Digital';
        transform: scale(.8);
    }

    .oneDrHeader:before {
        content: 'SEECODE Studio 2020';
        right: 2%;
    }

    .oneDrHeader:after {
        content: 'ONEQR DR.973';
        left: 2%;
    }

    .drBox a {
        font-weight: 400;
        display: inline-block;
    }

    .oneDrHeader .drLogo {
        width: 30px;
        height: 30px;
    }

    .oneDrHeader .drLogo:before {
        content: '';
        width: 30px;
        height: 30px;
        background: linear-gradient(to Bottom, #76b27685 0%, #70ab71 70%);
        position: absolute;
        z-index: -1;
        bottom: 2px;
        border-radius: 100%;
        box-shadow: 0px 2px 1px 0px rgb(66 88 66 / 30%);
        transform: scale(1.25);
    }

    html {
        --lightBar_w: 90%;
    }

    .oneDrHeader .drLogo:after {
        content: '';
        width: var(--lightBar_w);
        height: 5px;
        background: linear-gradient(to Left, #ffffff00 10%, #b4ebb3 50%, #ffffff00 90%);
        position: absolute;
        background-size: 120%;
        background-position: 50% 0%;
        z-index: -2;
        bottom: -1px;
        left: calc((100% - var(--lightBar_w)) / 2);
        border-radius: 100%;
        box-shadow: 0px 1px 1px 0px rgb(61 69 61 / 4%);
    }

    .oneDrHeader .drInfo {
        display: none;
        position: absolute;
        width: fit-content;
        right: 20px;
    }

    .oneDrHeader .cis_logo {
        display: none;
    }

    .oneDrHeader .cis_logo_PWA {
        display: block;
        height: 100%;
        width: auto;
    }

    .widgetMenu#tabMain:checked~.oneDrWrapper.widgetMain,
    .widgetMenu#tabNews:checked~.oneDrWrapper.widgetNews,
    .widgetMenu#tabInfo:checked~.oneDrWrapper.widgetInfo,
    .widgetMenu#tabQR:checked~.oneDrWrapper.widgetQR {
        visibility: visible;
        min-height: calc(var(--deviceH) - var(--wHead_H));
        max-height: calc(var(--deviceH) - var(--wHead_H));
        padding-top: 5px;
        padding-bottom: calc(var(--wMenu_pdB) + 15px);
        padding-bottom: 0;
        margin-top: var(--wHead_H);
        min-height: 0;
        max-height: calc(100vh - var(--wHead_H) - var(--wMenu_pdB) - 15px);
        -webkit-overflow-scrolling: auto;
    }

    /* Animate For PWA */
    .oneDrWrapper {
        animation: pageIn 1.5s ease-out 1;
    }

    .oneDrHeader {
        animation: wgHeaderShow 1.5s cubic-bezier(0.39, 0.58, 0.57, 1) 1;
    }

    label.oneWidgetMenu {
        animation: wgMenuShow 1s cubic-bezier(0.39, 0.58, 0.57, 1) 1;
    }

    .oneDrHeader .drLogo:after {
        animation: logoX 8s cubic-bezier(0.37, 0.1, 0.23, 0.51) infinite;
    }

    .widgetMenu~.oneDrWrapper {
        transition: all 350ms cubic-bezier(0.39, 0.58, 0.57, 1);
    }

    .oneDrHeader .drLogo img {
        animation: logoIn 1.5s ease-out 1;
    }

}

@media (display-mode: standalone) and (prefers-color-scheme: _Dark) {
    body {
        background: #78b578;
    }
}

/* NewVersion */
.oneCover-content {
    border-radius: 0 0 20px 20px;
    border-radius: 20px;
    overflow: hidden;
    height: auto;
    max-height: 250px;
}

.oneCover-wrapper {
    padding: 0 3%;
}

@media (min-width: 768px) {
    .oneCover-content {
        height: 300px;
        display: flex;
        justify-content: center;
        position: relative;
    }

    .oneCover-content img {
        width: auto;
        height: auto;
        max-height: 300px;
        object-fit: contain;
        margin: auto;
        position: absolute;
        z-index: 2;
    }

    .oneCover-content:before {
        content: '';
        background-image: var(--data_cover);
        background-size: cover;
        width: 100%;
        height: 100%;
        top: 0;
        position: absolute;
        z-index: 1;
        filter: blur(5px);
    }
}

/* update */
.oneDrContent {
    order: 1;
}
.oneBoard {
    order: 0;
}