/*
使用範例
.hint {
    .style-hint();
}
*/
input.uppercase {
  text-transform: uppercase;
}
/* --- input radio and checkbox --- */
.check-wrapper {
  display: inline-flex;
  align-items: center;
  position: relative;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  cursor: pointer;
  margin-right: 15px;
  white-space: nowrap;
}
.check-wrapper input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
  padding: 0;
}
.radio .checkmark {
  width: 20px;
  height: 20px;
  order: -1;
  position: relative;
  margin-right: 6px;
  background-color: #fff;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
}
.radio .checkmark:after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  margin: -4px 0 0 -4px;
  background-color: #fff;
  border-radius: 50%;
  display: none;
}
.checkbox .checkmark {
  width: 20px;
  height: 20px;
  order: -1;
  position: relative;
  margin-right: 6px;
  top: 1px;
  background-color: #fff;
  border-radius: 2px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
}
.checkbox .checkmark:after {
  content: "";
  position: absolute;
  top: 3px;
  left: 7px;
  width: 5px;
  height: 9px;
  border-style: solid;
  border-width: 0 3px 3px 0;
  border-color: #fff;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
  display: none;
}
.check-wrapper:hover input ~ .checkmark {
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.5);
}
.check-wrapper input:checked ~ .checkmark {
  background-color: #333;
  box-shadow: none;
}
.check-wrapper input:checked ~ .checkmark:after {
  display: block;
}
.check-wrapper input:checked ~ .checkmark.white {
  background-color: #fff;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.5);
}
.check-wrapper input:checked ~ .checkmark.white:after {
  border-color: #333;
}
.disabled .check-wrapper {
  opacity: 0.6;
  color: #aaa;
  pointer-events: none;
}
.disabled p {
  color: #aaa;
}
.check-wrapper.delete input:checked ~ .checkmark {
  background-color: #c74335;
}
.check-wrapper .hint {
  position: absolute;
  left: -20px;
  top: 25px;
  display: none;
  padding: 4px 8px;
  z-index: 9999;
  width: 190px;
  white-space: normal;
  line-height: 1.2;
  background-color: #fee4b7;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  border-radius: 2px;
  pointer-events: none;
}
.check-wrapper:hover .hint {
  display: block;
}
.sorting-table ._selector {
  width: 30px;
}
.sorting-table ._selector .check-wrapper {
  margin-right: 0;
}
.sorting-table ._selector .checkmark {
  margin-right: 0;
}
.range-slider-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  font-size: 14px;
}
.range-slider-wrapper h3 {
  margin: 0;
  font-weight: normal;
  font-size: 15px;
}
.range-slider-wrapper .inputwpr {
  position: relative;
  width: 300px;
  height: 10px;
  margin: 0 10px;
  background-color: #085a84;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05), inset 0 0 3px rgba(0, 0, 0, 0.3);
  border-radius: 6px;
}
.range-slider-wrapper .range-slider {
  -webkit-appearance: none;
  appearance: none;
  position: absolute;
  left: 0;
  top: 0;
  z-index: 10;
  width: 100%;
  height: 100%;
  padding: 0;
  line-height: 1;
  font-size: 14px;
  box-shadow: none;
  outline: none;
}
.range-slider-wrapper .range-slider::-moz-range-thumb {
  appearance: none;
  width: 14px;
  height: 26px;
  border-radius: 3px;
  background: #fa9900;
  border: 1px solid #054d6d;
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.3);
  cursor: pointer;
}
.range-slider-wrapper .range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 26px;
  border-radius: 3px;
  background: #fa9900;
  border: 1px solid #054d6d;
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.3);
  cursor: pointer;
}
.range-slider-wrapper .range-progress {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  background-color: #d95630;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2), inset 0 0 4px rgba(0, 0, 0, 0.4);
  border-radius: 6px;
  pointer-events: none;
}
.range-slider-wrapper .current {
  width: 32px;
  height: 22px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #222;
  background: #fba500;
  border: 1px solid #05638c;
  border-radius: 4px;
}
.slidebox .switch-toggle {
  min-width: 0;
  height: 32px;
  padding: 0;
  float: none;
  display: flex;
  margin: 0;
}
.slidebox .switch-toggle.medium {
  height: 26px;
}
.switch-toggle {
  display: flex;
  align-items: center;
  width: 54px;
  height: 32px;
}
.switch-toggle input {
  display: none;
}
.switch-toggle .trigger,
.switch-toggle i {
  transition: all 150ms ease;
  cursor: pointer;
}
.switch-toggle .trigger {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 100px;
  background-color: rgba(0, 0, 0, 0.05);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}
.switch-toggle i {
  display: block;
  width: 28px;
  height: 28px;
  position: absolute;
  left: 2px;
  top: 2px;
  background-color: #fff;
  border-radius: 100px;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.2);
  pointer-events: none;
}
.switch-toggle .trigger:hover i {
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.3);
  transform: scale(1.01);
}
.switch-toggle input:checked + .trigger i {
  left: 24px;
}
.switch-toggle .trigger:active {
  background-color: #a6b9cb;
}
.switch-toggle .trigger:active i {
  width: 34px;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.3);
}
.switch-toggle input:checked + .trigger:active i {
  left: 18px;
}
.switch-toggle input:checked + .trigger {
  background-color: #249eab;
}
.switch-toggle.medium {
  width: 44px;
  height: 26px;
}
.switch-toggle.medium i {
  width: 22px;
  height: 22px;
}
.switch-toggle.medium input:checked + .trigger i {
  left: 20px;
}
.switch-toggle.medium .trigger:active i {
  width: 26px;
}
.switch-toggle.medium input:checked + .trigger:active i {
  left: 16px;
}
/* --- table --- */
.table-wrapper {
  position: relative;
}
table {
  min-width: 100%;
  font-size: 13px;
  line-height: 1.2;
  border-collapse: collapse;
  border-spacing: 0;
  background-color: #fff;
}
thead th {
  position: sticky;
  top: 0;
  font-weight: 400;
  color: #fff;
  font-size: 14px;
  white-space: nowrap;
  background-color: #027694;
  height: 38px;
  padding: 2px 8px;
  z-index: 9;
}
thead th:hover {
  background-color: #0b6b86;
}
thead th.current {
  background-color: #0b6b86;
}
thead div {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
thead th.current:after {
  content: "";
  display: block;
  width: 100%;
  height: 5px;
  position: absolute;
  left: 0;
  bottom: 0;
  background-color: #fb7061;
}
thead th:before {
  content: "";
  display: block;
  width: 1px;
  height: 100%;
  position: absolute;
  right: -1px;
  top: 0;
  background-color: #027694;
  pointer-events: none;
}
thead th:last-child:before {
  display: none;
}
tbody tr:nth-child(even) {
  background-color: #f4f4f4;
}
tbody td {
  padding: 8px;
  height: 40px;
  border-bottom: 1px solid #e5e5e5;
}
tbody td small {
  font-size: 11px;
}
tbody tr:hover {
  background-color: #fff4d2;
}
td p.date {
  text-align: center;
}
.dialogBox td p.date {
  display: block;
}
td.created_at,
td.updated_at,
td.installed_at,
td.licensed_at,
td.tested_at,
td.earliest_time,
td.latest_time,
td.checkin_time,
td.last_updated {
  text-align: center;
}
td span.date {
  white-space: nowrap;
  display: block;
}
td span.date.d2 {
  margin-top: 2px;
  font-size: 11px;
}
/* ----- Edge page 樣式設定 ----- */
.panel-edges td {
  word-break: break-all;
}
.panel-edges td.installed_at,
.panel-edges td.licensed_at {
  word-break: normal;
}
/* ----- sorting button ----- */
.btn-sorting {
  cursor: pointer;
}
.btn-sorting svg {
  width: 15px;
  height: 15px;
  fill: #fff;
  position: relative;
  top: 1px;
  margin-left: 4px;
  opacity: 0.45;
}
.current .btn-sorting svg {
  opacity: 1;
}
.current .btn-sorting.asc svg {
  transform: rotate(180deg);
}
td .label {
  display: none;
}
td .btn-sorting {
  display: none;
}
/* ----- 表格中的按鈕 ----- */
td .btn {
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  max-width: 34px;
  margin: 0 auto;
  position: relative;
  padding: 5px 10px;
  font-size: 13px;
  white-space: nowrap;
  color: #333;
  background-color: #fff;
  border: 1px solid #d5d5d5;
  border-radius: 6px;
  z-index: 8;
}
td .btn:hover,
td .btn.current {
  color: #fff;
  background-color: #333;
  border: 1px solid #333;
}
td .btn.current {
  pointer-events: none;
}
td .btn.disabled {
  color: #aaa;
  opacity: 0.7;
  pointer-events: none;
}
/* ----- sorting table ----- */
.sorting-table {
  overflow: auto;
  border-left: 1px solid #e5e5e5;
  border-right: 1px solid #e5e5e5;
}
.sorting-table .fail {
  position: relative;
}
.sorting-table .fail .more {
  cursor: pointer;
}
.sorting-table .fail .detail {
  display: none;
}
.sorting-table .fail:hover .detail {
  display: block;
  position: absolute;
  left: 0;
  bottom: 20px;
  z-index: 999;
  padding: 4px 8px;
  text-align: left;
  white-space: nowrap;
  color: #333;
  line-height: 1.3;
  background-color: #ffe2ac;
  border-radius: 2px;
}
.sorting-table td.active .strong {
  white-space: nowrap;
}
.tm-1 .employee_number {
  display: none;
}
.tm-1 .id_card_number {
  display: none;
}
.tm-2 .id_card_number {
  display: none;
}
.tm-2 .mobile {
  display: none;
}
.tm-3 .employee_number {
  display: none;
}
.tm-3 .mobile {
  display: none;
}
/* ----- API 說明頁 ----- */
body.document thead th {
  position: relative;
  top: auto;
  padding: 10px 12px;
  height: auto;
}
body.document tr,
body.document td {
  border: 1px solid #d1d1d1;
}
body.document tbody td {
  height: auto;
  padding: 10px 12px;
}
body.document hr {
  margin: 40px 0;
  border: none;
  border-bottom: 1px solid #999;
}
/* 顯示緊密的表格 */
table.compact tbody td {
  height: auto;
  padding: 4px 12px;
}
main.account {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-left: 0;
  transition-duration: 0s;
}
.accountModal {
  padding: 10px;
}
.accountModal {
  /* ----- header ----- */
  /* ----- content ----- */
  /* ----- footer ----- */
  /* ----- Email 登入 ----- */
  /* ----- 社群帳號 ----- */
  /* ----- 帶分隔線的小標題 ----- */
}
.accountModal .innerwpr {
  width: 350px;
  position: relative;
  box-sizing: border-box;
  background-color: #fff;
  box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  overflow: hidden;
}
.accountModal .header {
  width: auto;
  padding: 30px 30px 0 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background-color: transparent;
}
.accountModal .header h2 {
  font-size: 24px;
  text-align: center;
}
.accountModal .header h2 + .slogan {
  margin-top: 14px;
}
.accountModal .header p {
  font-size: 15px;
  text-align: center;
  color: #666;
}
.accountModal .header .logo {
  display: block;
  position: relative;
  width: 210px;
  height: 54px;
  margin-bottom: 20px;
  background-size: auto 100%;
  background-repeat: no-repeat;
  background-position: center center;
}
.accountModal .header .rules-link {
  opacity: 1;
  margin-top: 5px;
  font-size: 14px;
  color: #666;
}
.accountModal .header .rules-link a {
  color: #666;
  padding-left: 1px;
  margin: 0 1px;
  border-bottom: 1px dotted #444;
}
.accountModal .header .rules-link a:hover {
  color: #000;
  border-bottom: 1px dotted #000;
}
.accountModal .content {
  padding: 20px 30px;
}
.accountModal .signup .content {
  padding-top: 14px;
}
.accountModal .forgetpw .content {
  padding: 10px 30px;
}
.accountModal .txtlink {
  color: #616161;
  margin: 0 4px;
  border-bottom: 2px dotted #888;
}
.accountModal .txtlink:hover {
  color: #333;
  border-bottom: 2px dotted #444;
}
.accountModal .sign-btn {
  height: 44px;
  padding: 0 15px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 15px;
  background-color: #027694;
  border-radius: 5px;
  cursor: pointer;
}
.accountModal .sign-btn + .sign-btn {
  margin-top: 10px;
}
.accountModal .sign-btn:hover {
  background-color: #0088a6;
}
.accountModal .sign-btn.black {
  background-color: #2f333d;
}
.accountModal .sign-btn.black:hover {
  background-color: #0088a6;
}
.accountModal .sign-btn svg {
  width: 18px;
  height: 18px;
  margin-right: 8px;
  fill: #fff;
}
.accountModal .inputwpr .flexbox {
  display: flex;
  align-items: center;
  height: 26px;
  margin-bottom: 2px;
}
.accountModal .inputwpr .input-hint {
  font-size: 14px;
}
.accountModal .inputwpr .error p {
  margin-left: 5px;
  font-size: 14px;
  color: #c74335;
}
.accountModal .inputwpr + .inputwpr {
  margin-top: 4px;
}
.accountModal .inputwpr.hide {
  display: none;
}
.accountModal .sign-btn .hint {
  display: none;
  cursor: pointer;
  position: absolute;
  left: 0;
  top: -56px;
  padding: 4px 10px;
  font-size: 14px;
  color: #333;
  background-color: #ffcf80;
  border-radius: 4px;
}
.accountModal .sign-btn .hint strong {
  display: inline-block;
  padding: 2px 12px;
  margin-left: 3px;
  font-weight: normal;
  background-color: #ff9859;
  border-radius: 10px;
  pointer-events: none;
}
.accountModal .sign-btn .hint:before {
  content: "";
  display: block;
  width: 100%;
  height: 6px;
  position: absolute;
  left: 0;
  bottom: -6px;
}
.accountModal .sign-btn .hint:after {
  content: "";
  display: block;
  width: 0;
  height: 0;
  position: absolute;
  left: 10px;
  bottom: -10px;
  border-style: solid;
  border-width: 10px 10px 0 10px;
  border-color: #ffcf80 transparent transparent transparent;
}
.accountModal .footer {
  width: auto;
  padding: 10px 20px 25px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  color: #777;
  background-color: transparent;
}
.accountModal .footer.center {
  justify-content: center;
}
.accountModal .footer-btn {
  padding: 7px 15px;
  min-width: 60px;
  color: #333;
  white-space: nowrap;
  text-align: center;
  font-size: 13px;
  background-color: #f1f1f1;
  border-radius: 20px;
}
.accountModal .footer-btn:hover {
  background-color: #e6e6e6;
}
.accountModal .footer-btn + .footer-btn {
  margin-left: 10px;
}
.accountModal .linkgroup {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
}
.accountModal .auth-note {
  position: relative;
  margin-right: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.accountModal .auth-note .overlay {
  display: none;
  z-index: 10000;
}
.accountModal .auth-note .note-content {
  position: absolute;
  left: -10px;
  bottom: 40px;
  width: 310px;
  z-index: 10001;
  background-color: #f1f1f1;
  border-radius: 6px;
  display: none;
}
.accountModal .auth-note p {
  padding: 20px 18px 22px 18px;
  color: #444;
}
.accountModal .auth-note.active .overlay {
  display: block;
}
.accountModal .auth-note.active .note-content {
  display: block;
}
.accountModal .auth-note.active #authNoteTrigger {
  color: #333;
}
.accountModal .auth-note.active #authNoteTrigger .icon {
  background-color: #333;
}
.accountModal .auth-note.active #authNoteTrigger .icon:after {
  display: block;
}
.accountModal #authNoteTrigger {
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  color: #555;
  white-space: nowrap;
}
.accountModal #authNoteTrigger:hover {
  color: #333;
}
.accountModal #authNoteTrigger:hover .icon {
  background-color: #333;
}
.accountModal #authNoteTrigger .icon {
  width: 22px;
  height: 22px;
  pointer-events: none;
  position: relative;
  margin-right: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #555;
  border-radius: 50%;
}
.accountModal #authNoteTrigger .icon:after {
  content: "";
  display: none;
  width: 0;
  height: 0;
  position: absolute;
  left: 50%;
  top: -18px;
  margin-left: -12px;
  border-style: solid;
  border-width: 12px 12px 0 12px;
  border-color: #f1f1f1 transparent transparent transparent;
}
.accountModal #authNoteTrigger svg {
  width: 12px;
  height: 12px;
  fill: #fff;
}
.accountModal #authNoteTrigger .text {
  pointer-events: none;
}
.accountModal .email-block {
  margin-top: 22px;
}
.accountModal .signup .email-block,
.accountModal .forgetpw .email-block,
.accountModal .resetpw .email-block {
  margin-top: 0;
}
.accountModal .email-block input {
  width: 290px;
  height: 40px;
  margin: 0 auto;
  background-color: #ebebeb;
}
.accountModal .email-block .sign-btn {
  margin-top: 10px;
}
.accountModal .social-block {
  margin-top: 22px;
}
.accountModal .hr-title {
  display: flex;
  align-items: center;
  color: #666;
  margin-bottom: 10px;
}
.accountModal .hr-title:before,
.accountModal .hr-title:after {
  content: "";
  display: block;
  height: 1px;
  flex: 1;
  margin-top: 1px;
  background-color: #dadada;
}
.accountModal .hr-title .text {
  margin: 0 10px;
  font-size: 14px;
}
.accountModal .forgetpw .hr-title .text {
  font-size: 15px;
}
.accountModal #feedbackMessage,
.accountModal .login-msg {
  margin-top: 10px;
  font-size: 14px;
}
.accountModal #feedbackMessage p {
  text-align: center;
}
.accountModal #feedbackMessage p.error {
  color: #c74335;
}
.accountModal .login-msg p {
  text-align: center;
}
.accountModal .login-msg p.error {
  color: #c74335;
}
.accountModal .forgetpw #feedbackMessage {
  display: flex;
  align-items: center;
  min-height: 40px;
  margin-top: 20px;
}
.accountModal .forgetpw #feedbackMessage .icon {
  width: 24px;
  height: 24px;
  margin-right: 7px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  background-color: #058ea7;
  border-radius: 50%;
}
.accountModal .forgetpw #feedbackMessage .icon.fail {
  background-color: #e24c3d;
}
.accountModal .forgetpw #feedbackMessage svg {
  width: 14px;
  height: 14px;
  fill: #fff;
}
.accountModal .forgetpw #feedbackMessage p {
  text-align: left;
}
.accountModal .forgetpw #feedbackMessage strong {
  padding: 1px 4px;
  margin: 0 3px;
  font-weight: 400;
  background-color: #fee7bc;
  border-radius: 3px;
}
body.en .accountModal .header h2 + .slogan {
  margin-top: 8px;
}
body.en .accountModal .header p {
  font-size: 14px;
}
body.landing {
  min-width: 300px;
}
body.landing header.header {
  min-width: 0;
  position: fixed;
}
body.landing header.header .spacer {
  display: block;
}
body.landing main {
  padding-left: 0;
  padding-top: 46px;
}
body.landing footer.footer {
  display: none;
}
/* --- reset --- */
body,
dl,
dt,
dd,
ul,
ol,
li,
th,
td,
form,
input,
textarea,
p {
  margin: 0;
  padding: 0;
}
img {
  display: block;
  border: 0;
}
li {
  list-style: none;
}
sup {
  vertical-align: text-top;
}
sub {
  vertical-align: text-bottom;
}
article,
aside,
canvas,
figure,
figure img,
figcaption,
footer,
header,
hgroup,
menu,
nav,
section,
audio,
video {
  display: block;
  margin: 0;
  padding: 0;
}
/* --- global style --- */
html {
  height: 100%;
  background-color: #f6f5f2;
}
body {
  text-align: left;
  font-size: 16px;
  line-height: 1.5;
  color: #333;
  font-family: "Noto Sans TC", "微軟正黑體", "Microsoft JhengHei", sans-serif;
  font-weight: 400;
  /* font-weight 可用的值：400, 500 */
}
body.sc {
  font-family: "Noto Sans SC", "微软雅黑", "Microsoft Yahei", sans-serif;
}
body.jp {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Meiryo", sans-serif;
}
body.en {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", "Noto Sans TC", sans-serif;
}
body.en p {
  text-align: left;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-weight: 500;
}
p {
  text-align: justify;
  text-justify: distribute;
}
a {
  outline: none;
  text-decoration: none;
}
.clear {
  clear: both;
}
svg {
  pointer-events: none;
  flex-shrink: 0;
}
/* --- for sitemap --- */
.sitemap {
  width: 0;
  height: 0;
  overflow: hidden;
  font-size: 0;
  line-height: 0;
  pointer-events: none;
}
/* --- layout --- */
body {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
}
.error {
  color: #c74335;
  font-size: 14px;
}
/*

/* --- header --- */
header.header {
  width: 100%;
}
header.header {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 9999;
  background-color: #fff;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.15), inset 0 0 10px rgba(0, 0, 0, 0.05);
}
/* --- sidebar --- */
.sidebar {
  width: 154px;
  position: fixed;
  left: 0;
  height: calc(100% - 46px);
  top: 46px;
  display: flex;
  flex-direction: column;
  background-color: #e6e4e0;
}
.sidebar .sidebar-nav {
  flex: 1;
}
.sidebar .sidebar-footer {
  position: relative;
  color: #666;
  font-size: 12px;
  line-height: 1;
  text-align: center;
}
.sidebar .sidebar-footer a {
  display: block;
  padding: 8px 0;
  margin: 0 7%;
  color: #888;
}
.sidebar .sidebar-footer a:hover {
  color: #333;
  background-color: rgba(0, 0, 0, 0.05);
}
.sidebar .sidebar-footer a + a {
  border-top: 2px dotted #bbb;
}
/* --- container --- */
.centerwpr,
.main-container {
  margin: 0 auto;
  position: relative;
}
.centerwpr {
  padding: 0 20px;
  flex: 1;
}
main {
  flex: 1;
  position: relative;
  padding-top: 46px;
  padding-left: 154px;
}
article.main {
  min-height: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
}
.article-content {
  position: relative;
  flex: 1;
  padding-top: 67px;
  padding-left: 25px;
  padding-right: 25px;
  padding-bottom: 30px;
}
.unavailable.article-content {
  pointer-events: none;
  opacity: 0.3;
}
/* --- 關閉主選單時 --- */
body.side-collapse .sidebar {
  width: 76px;
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.15);
}
body.side-collapse main {
  padding-left: 76px;
}
body.side-collapse .page-header {
  width: calc(100% - 76px);
}
/* ----- 小畫面一律顯示選單收合樣式 ----- */
@media screen and (max-width: 1200px) {
  .sidebar {
    width: 76px;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.1);
  }
  .sidebar:before {
    display: block;
  }
  main {
    padding-left: 76px;
  }
}
.page-header {
  width: calc(100% - 154px);
  height: 42px;
  position: fixed;
  padding-top: 3px;
  display: flex;
  align-items: center;
  line-height: 1;
  font-size: 15px;
  background-color: #eae9e7;
  box-shadow: 1px 0 4px rgba(0, 0, 0, 0.25);
  z-index: 10;
}
.page-header .breadcrumb {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  height: 30px;
  padding: 0 10px;
  color: #666;
  font-size: 13px;
  border-right: 1px solid #e6e5e1;
}
.page-header .breadcrumb a {
  color: #666;
  cursor: pointer;
}
.page-header .breadcrumb a:hover {
  color: #333;
}
.page-header .breadcrumb .home {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 30px;
  height: 20px;
  margin-right: -3px;
  border-radius: 4px;
}
.page-header .breadcrumb .home .icon {
  position: relative;
}
.page-header .breadcrumb .home .icon,
.page-header .breadcrumb .home .icon:before,
.page-header .breadcrumb .home .icon:after {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: #999;
}
.page-header .breadcrumb .home .icon:before,
.page-header .breadcrumb .home .icon:after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
}
.page-header .breadcrumb .home .icon:before {
  left: -6px;
}
.page-header .breadcrumb .home .icon:after {
  right: -6px;
}
.page-header .breadcrumb .home:hover {
  background-color: rgba(0, 0, 0, 0.04);
}
.page-header .breadcrumb .home:hover .icon,
.page-header .breadcrumb .home:hover .icon:before,
.page-header .breadcrumb .home:hover .icon:after {
  background-color: #333;
}
.page-header .breadcrumb .spacer {
  width: 13px;
  height: 13px;
  margin: 0 2px;
  fill: #999;
}
.page-header .current-page {
  font-size: 15px;
  color: #222;
}
.page-header .count {
  margin-left: 12px;
  font-size: 14px;
  color: #aaa;
  letter-spacing: 0;
}
.page-header .page-control {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 15px;
}
.page-header .page-control .btn-addon {
  min-width: 70px;
}
.btn-addon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  padding: 0 16px;
  margin-left: 19px;
  position: relative;
  color: #333;
  font-size: 15px;
  white-space: nowrap;
  border-radius: 20px;
  cursor: pointer;
}
.btn-addon:hover {
  background-color: rgba(0, 0, 0, 0.06);
}
.btn-addon:before {
  content: "";
  display: block;
  width: 1px;
  height: 100%;
  position: absolute;
  left: -10px;
  top: 0;
  background-color: #d3d3d3;
}
.btn-addon svg {
  width: 16px;
  height: 16px;
  fill: #333;
  margin-right: 6px;
}
.btn-addon-hint {
  position: absolute;
  left: 6px;
  bottom: -22px;
  padding: 0 6px;
  height: 22px;
  display: none;
  justify-content: center;
  align-items: center;
  font-size: 13px;
  color: #fff;
  background-color: #f0504a;
  border-radius: 3px;
  pointer-events: none;
}
.btn-addon-hint:before {
  content: "";
  display: block;
  width: 0;
  height: 0;
  position: absolute;
  left: 12px;
  top: -5px;
  border-style: solid;
  border-width: 0 5px 5px 5px;
  border-color: transparent transparent #f0504a transparent;
}
.page-control.unavailable .btn-addon,
.btn-addon.disabled {
  cursor: default;
  color: #bbb;
}
.page-control.unavailable .btn-addon svg,
.btn-addon.disabled svg {
  fill: #bbb;
}
.page-control.unavailable .btn-addon:hover,
.btn-addon.disabled:hover {
  background-color: transparent;
}
.page-control.unavailable .btn-addon:hover .btn-addon-hint,
.btn-addon.disabled:hover .btn-addon-hint {
  display: flex;
}
/* ----- (basic) 沒有左側選單的基本版型，用在 terms, rules 等純文字頁面 ----- */
body.basic {
  height: auto;
  min-height: 100vh;
  background-color: #f2f0eb;
}
body.basic main {
  padding-left: 0;
  transition-duration: 0;
  transition-property: none;
  max-width: 800px;
  margin: 0 auto;
}
body.basic article {
  padding: 50px 25px;
  font-size: 15px;
}
body.basic article section {
  padding: 20px 0;
}
body.basic article section + section {
  margin-top: 10px;
}
body.basic article h1 {
  font-size: 35px;
  margin-bottom: 20px;
}
body.basic article h2 {
  font-size: 25px;
  margin-bottom: 10px;
}
body.basic article h3 {
  margin-bottom: 10px;
  padding-bottom: 6px;
  font-size: 22px;
  border-bottom: 1px solid #e3e3e3;
}
body.basic article strong {
  font-weight: normal;
  padding: 0 6px;
  background-color: #ffeec0;
}
body.basic article .update {
  font-size: 14px;
  margin-bottom: 10px;
}
body.basic article p + p {
  margin-top: 10px;
}
body.basic article ol,
body.basic article ul {
  margin: 10px 0;
}
body.basic article li {
  margin-left: 17px;
  padding-left: 6px;
}
body.basic article ol li {
  list-style: decimal;
}
body.basic article ul li {
  list-style-type: disc;
}
body.basic article ol ol {
  margin-top: 10px;
  margin-left: 20px;
}
body.basic article ol ol li {
  list-style: upper-alpha;
}
body.basic article a {
  color: #005cb7;
  border-bottom: 2px dotted #005cb7;
}
body.basic article a:hover {
  color: #333;
  border-bottom: 2px dotted #333;
}
/* --- form, input, select, etc... --- */
form {
  margin: 0 auto;
}
.inputwpr {
  position: relative;
}
input,
select,
textarea {
  color: #444;
  font-size: 14px;
  line-height: normal;
  font-family: "Noto Sans TC", "微軟正黑體", "Microsoft JhengHei", sans-serif;
  font-weight: 400;
}
input,
select {
  padding: 5px 10px;
  border: none;
  -webkit-appearance: none;
  outline: none;
}
input {
  vertical-align: middle;
  box-sizing: border-box;
  background-color: rgba(0, 0, 0, 0.05);
  border-radius: 4px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1);
}
input[type="text"],
input[type="email"] {
  height: 32px;
}
input.uppercase {
  text-transform: uppercase;
}
select {
  padding-right: 25px;
  background-color: transparent;
}
.selectwpr {
  position: relative;
  min-width: 110px;
  background-color: rgba(0, 0, 0, 0.05);
  border-radius: 4px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1);
}
.selectwpr:after {
  content: "";
  display: block;
  width: 0;
  height: 0;
  position: absolute;
  right: 10px;
  top: 50%;
  margin-top: -1px;
  border-style: solid;
  border-width: 5px 5px 0 5px;
  border-color: #666 transparent transparent transparent;
  pointer-events: none;
}
.selectwpr select {
  width: 100%;
}
.selectwpr.disabled {
  background-color: transparent;
}
.selectwpr.disabled:after {
  opacity: 0.4;
}
.selectwpr.disabled select {
  pointer-events: none;
}
/* --- input (date) --- */
.date-picker {
  height: 34px;
  display: inline-flex;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.05);
  border-radius: 4px;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
}
/* Removes the clear button from date inputs (清除按鈕) */
input[type="date"]::clear-button {
  display: none;
}
input[type="date"]::-webkit-clear-button {
  display: none;
}
/* Removes the spin button (上下箭頭) */
input[type="date"]::-webkit-inner-spin-button {
  display: none;
}
/* 向下的小三角形，可以改用 icon 代替 */
input[type="date"]::-webkit-calendar-picker-indicator {
  opacity: 0;
  width: 100%;
  height: 28px;
  position: absolute;
  left: 0;
  top: 0;
}
/* A few custom styles for date inputs */
input[type="date"] {
  position: relative;
  cursor: pointer;
  padding: 8px 12px;
  box-sizing: border-box;
  display: inline-block !important;
  visibility: visible !important;
  font-size: 15px;
  line-height: 1;
  font-family: arial, sans-serif;
  background-color: transparent;
  border-radius: 0;
  box-shadow: none;
}
input:disabled {
  background-color: rgba(0, 0, 0, 0.04);
  box-shadow: none;
  pointer-events: none;
}
/* --- common overlay --- */
.overlay {
  width: 100%;
  height: 100%;
  position: fixed;
  left: 0;
  top: 0;
  cursor: default;
}
/* --- btn more --- */
.btn-more {
  width: 32px;
  height: 32px;
  position: relative;
  margin-left: 10px;
  border-radius: 50%;
  background-color: #e8e7e3;
  cursor: pointer;
  padding: 0;
}
.btn-more:hover {
  background-color: #e8e7e3;
}
.btn-more .icon {
  width: 4px;
  height: 4px;
  position: absolute;
  left: 50%;
  top: 50%;
  margin: -2px 0 0 -2px;
  border-radius: 50%;
  background-color: #aaa;
  pointer-events: none;
}
.btn-more .icon:before,
.btn-more .icon:after {
  content: "";
  display: block;
  width: 4px;
  height: 4px;
  position: absolute;
  top: 0;
  border-radius: 50%;
  background-color: #aaa;
}
.btn-more .icon:before {
  left: -6px;
}
.btn-more .icon:after {
  right: -6px;
}
.btn-more .overlay-more {
  width: 100%;
  height: 100%;
  z-index: 10000;
  position: fixed;
  left: 0;
  top: 0;
  display: none;
  cursor: default;
}
.btn-more:hover .icon,
.btn-more:hover .icon:before,
.btn-more:hover .icon:after {
  background-color: #555;
}
.btn-more.expand .overlay-more {
  display: block;
}
/* --- page-control 中的操作按鈕 --- */
.btn-control {
  position: relative;
  margin-left: 25px;
  height: 34px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  white-space: nowrap;
  color: #fff;
  background-color: #008398;
  border-radius: 20px;
  cursor: pointer;
}
.btn-control + .btn-control {
  margin-left: 25px;
}
.btn-control + .btn-control:after {
  content: "";
  display: block;
  width: 1px;
  height: 100%;
  position: absolute;
  left: -13px;
  top: 0;
  background-color: #e6e5e1;
}
.btn-control:hover {
  background-color: #11758d;
}
.btn-control svg {
  width: 16px;
  height: 16px;
  fill: #fff;
  margin-right: 8px;
}
.unavailable .btn-control {
  display: none;
  pointer-events: none;
}
/* --- loading --- */
body.loading #loading {
  display: flex;
}
#loading {
  width: 100%;
  height: 100%;
  z-index: 20000;
  position: fixed;
  left: 0;
  top: 0;
  display: none;
  justify-content: center;
  align-items: center;
}
.loading-box {
  padding: 10px 20px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  background-color: rgba(255, 255, 255, 0.6);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  border-radius: 6px;
  box-sizing: border-box;
}
.loading-box img {
  width: 64px;
  height: 64px;
  display: block;
}
body.loading-custom .loading-box:after {
  content: attr(data-msg);
  display: block;
  position: absolute;
  top: 100px;
  min-width: 180px;
  padding: 6px 12px;
  white-space: nowrap;
  text-align: center;
  line-height: 1.2;
  background-color: #fdd98d;
  border-radius: 4px;
}
/* --- feedback --- */
#feedbackMsg {
  position: fixed;
  z-index: 99999;
  bottom: 50px;
  right: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-end;
  font-size: 14px;
  line-height: 1.4;
}
#feedbackMsg p {
  max-width: 500px;
  padding: 15px 20px;
  min-height: 30px;
  display: flex;
  align-items: center;
  position: relative;
  top: 10px;
  border-left: 6px solid #0093ad;
  background-color: #fff;
  border-radius: 0 3px 3px 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition-duration: 300ms;
  transition-property: opacity,top;
  opacity: 0;
}
#feedbackMsg p + p {
  margin-top: 6px;
}
#feedbackMsg .icon {
  width: 22px;
  height: 22px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  margin-right: 8px;
  background-color: #0093ad;
  border-radius: 20px;
}
#feedbackMsg svg {
  width: 12px;
  height: 12px;
  fill: #fff;
}
#feedbackMsg .fail {
  border-left-color: #ea5047;
}
#feedbackMsg .fail .icon {
  background-color: #ea5047;
}
#feedbackMsg .fail .icon svg {
  width: 14px;
  height: 14px;
}
#feedbackMsg p.show {
  top: 0;
  opacity: 1;
}
/* ---------- fastdial layout ---------- */
.fastdial main {
  height: 100vh;
  box-sizing: border-box;
  overflow: hidden;
}
.fastdial article.main {
  height: 100%;
  overflow: hidden;
}
.fastdial .article-content {
  padding: 42px 0 0 0;
  display: flex;
  height: 100%;
  box-sizing: border-box;
  overflow: hidden;
}
.fastdial #fdContainer {
  min-width: 280px;
  flex-basis: 20%;
  position: relative;
  margin-right: 30px;
  display: flex;
  flex-direction: column;
}
.fastdial .scrollwpr {
  flex: 1;
  overflow-x: hidden;
  overflow-y: auto;
}
.fastdial #listContainer {
  flex: 1;
  position: relative;
  padding-right: 35px;
  overflow-x: hidden;
  overflow-y: auto;
}
body.siteSorting main {
  height: auto;
  box-sizing: border-box;
  overflow: visible;
}
body.siteSorting article.main {
  height: auto;
  overflow: visible;
}
body.siteSorting .article-content {
  position: relative;
  flex: 1;
  padding-top: 67px;
  padding-left: 40px;
  padding-right: 40px;
  padding-bottom: 30px;
  display: block;
  height: auto;
  box-sizing: content-box;
  overflow: visible;
}
body.siteSorting #listContainer {
  position: static;
  padding-right: 0;
  overflow-x: visible;
  overflow-y: visible;
}
#fdContainer {
  /* ----- 子選單收起 ----- */
  /* ----- 子項目 ----- */
  /* ----- 搜尋輸入框 ----- */
}
#fdContainer .fd-menu {
  padding: 0 10px;
  font-size: 14px;
}
#fdContainer .fd-menu-solt {
  overflow: hidden;
  padding: 10px 0;
}
#fdContainer .fd-menu-solt.hide {
  display: none;
}
#fdContainer .fd-menu-solt + .fd-menu-solt {
  margin-top: 10px;
}
#fdContainer h4 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 36px;
  margin-bottom: 10px;
  padding: 0 10px;
  font-size: 19px;
  font-weight: normal;
  white-space: nowrap;
  background-color: #fff;
  border-bottom: 2px solid #dadada;
  cursor: pointer;
  overflow: hidden;
}
#fdContainer .sites h4 {
  font-size: 18px;
}
#fdContainer h4 .icon {
  width: 16px;
  height: 16px;
  order: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #444;
  border-radius: 3px;
  box-shadow: inset 0 0 2px #aaa;
  pointer-events: none;
}
#fdContainer h4:hover .icon {
  background-color: #333;
}
#fdContainer h4 .icon svg {
  width: 10px;
  height: 10px;
  fill: #fff;
}
#fdContainer svg.plus {
  display: none;
}
#fdContainer .length {
  display: inline-block;
  margin-bottom: 6px;
  margin-top: 2px;
  padding: 2px 12px;
  font-size: 13px;
  background-color: rgba(0, 0, 0, 0.1);
  border-radius: 16px;
}
#fdContainer li {
  cursor: pointer;
}
#fdContainer .fd-menu-item {
  white-space: nowrap;
  position: relative;
  display: flex;
  align-items: center;
  height: 38px;
  padding: 0 10px;
  color: #444;
  border-radius: 2px;
  border-bottom: 1px solid #ddd;
}
#fdContainer .fd-menu-item:before {
  content: "";
  display: block;
  width: 6px;
  height: 6px;
  margin-right: 7px;
  flex-shrink: 0;
  background-color: #444;
  border-radius: 50%;
  pointer-events: none;
}
#fdContainer .fd-menu-item:hover {
  background-color: #008398;
  color: #fff;
}
#fdContainer .fd-menu-item:hover:before {
  background-color: #fff;
}
#fdContainer .fd-menu-item.disabled {
  opacity: 0.3;
}
#fdContainer .type4 .fd-menu-item {
  padding-left: 21px;
}
#fdContainer .type4 .fd-menu-item:before {
  width: 5px;
  height: 5px;
  border-top: 2px solid #333;
  border-right: 2px solid #333;
  background-color: transparent;
  border-radius: 0;
  transform: rotate(45deg);
}
#fdContainer .type4 .fd-menu-item:hover:before {
  border-top-color: #fff;
  border-right-color: #fff;
}
#fdContainer .fd-menu-solt.collapse {
  padding-bottom: 0;
}
#fdContainer .fd-menu-solt.collapse h4 .icon {
  background-color: #333;
}
#fdContainer .fd-menu-solt.collapse svg.minus {
  display: none;
}
#fdContainer .fd-menu-solt.collapse svg.plus {
  display: block;
}
#fdContainer .fd-menu-solt.collapse ul {
  display: none;
}
#fdContainer .fd-menu-item.hide {
  display: none;
}
#fdContainer .fd-search {
  padding: 10px 0 10px 10px;
  position: relative;
}
#fdContainer .fd-search svg.search {
  width: 16px;
  height: 16px;
  fill: #333;
  position: absolute;
  left: 20px;
  top: 50%;
  margin-top: -8px;
  pointer-events: none;
}
#fdContainer .fd-search #fdMenuKeyword {
  width: 100%;
  padding-left: 32px;
  height: 36px;
  font-size: 15px;
  border-radius: 2px;
}
#fdContainer .fd-search #fdSearchMsg {
  position: absolute;
  left: 0;
  top: 52px;
  padding-left: 10px;
  box-sizing: border-box;
  width: 100%;
  font-size: 14px;
  color: #888;
  text-align: center;
}
/* ----- input filter reset btn ----- */
.resetInput {
  width: 24px;
  height: 24px;
  position: absolute;
  top: 50%;
  margin-top: -12px;
  right: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #e3e3e3;
  border-radius: 50%;
  cursor: pointer;
}
.resetInput svg {
  width: 14px;
  height: 14px;
  margin-right: 0;
  fill: #333;
}
.resetInput.hide {
  display: none;
}
.resetInput:hover {
  background-color: #333;
}
.resetInput:hover svg {
  fill: #fff;
}
.fd-search .resetInput {
  right: 10px;
  background-color: #d3d3d3;
}
.fd-search .resetInput:hover {
  background-color: #333;
}
/* ----- 顯示系統公告 ----- */
#sysAnnowpr {
  height: 100%;
  padding: 6px 12px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  font-size: 13px;
  line-height: 1.2;
}
#sysAnnowpr .icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-right: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ffb649;
  border-radius: 50%;
}
#sysAnnowpr svg {
  width: 12px;
  height: 12px;
  fill: #fff;
}
/* ----- page-header 目前作用中權限及所屬站點 (只在 nav 收起時顯示) ----- */
#headRoleStatus {
  position: relative;
  padding: 0 10px;
  height: 100%;
  line-height: 1.2;
  font-size: 14px;
  text-align: left;
}
.side-collapse #headRoleStatus {
  display: block;
}
#headRoleStatus .innerbox {
  height: 100%;
  display: flex;
  align-items: center;
  overflow: hidden;
}
#headRoleStatus .role {
  padding: 6px 12px;
  margin-left: 5px;
  color: #fff;
  white-space: nowrap;
  font-size: 13px;
  background-color: #2f333d;
  border-radius: 20px;
  cursor: pointer;
}
#headRoleStatus .site {
  padding-left: 10px;
  white-space: nowrap;
  text-align: center;
  border-left: 1px solid #ddd;
}
#headRoleStatus .note {
  max-width: 120px;
  margin-right: 10px;
  height: 34px;
  overflow: hidden;
  display: flex;
  align-items: center;
  text-align: right;
}
/* ----- api 錯誤提示對話框 ----- */
#apiErrBox {
  z-index: 99998;
}
#apiErrBox .dialog-overlay {
  display: none !important;
}
/* ----- message box，只有關閉按鈕，單純顯示訊息 ----- */
#msgBox {
  z-index: 99997;
}
#msgBox .dialog-container {
  max-width: 360px;
}
#msgBox p + p {
  margin-top: 10px;
}
#msgBox ul {
  margin-left: 15px;
}
#msgBox li {
  list-style: disc;
}
#msgBox .status {
  padding: 2px 6px;
  margin-right: 6px;
  font-size: 15px;
  background-color: #ffe2ac;
  border-radius: 2px;
}
#msgBox .status.fulfilled {
  background-color: #7eebd1;
}
#msgBox .status.rejected {
  background-color: #ff9a9a;
}
#msgBox hr {
  margin: 15px 0;
  height: 1px;
  background-color: #ccc;
  border-top: none;
  border-left: none;
  border-right: none;
  border-bottom: 1px solid #fff;
}
/* ---------- page control 中選擇模式的按鈕 ---------- */
.page-tabwpr {
  display: flex;
  margin: 0 20px;
}
.page-tabwpr .btn-tab {
  height: 32px;
  padding: 0 20px;
  min-width: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #555;
  background-color: rgba(255, 255, 255, 0.7);
  border: 1px solid #d9d8d5;
  cursor: pointer;
}
.page-tabwpr .btn-tab + .btn-tab {
  border-left: none;
}
.page-tabwpr .btn-tab:first-child {
  border-radius: 4px 0 0 4px;
}
.page-tabwpr .btn-tab:last-child {
  border-radius: 0 4px 4px 0;
}
.page-tabwpr .btn-tab.selected {
  color: #fff;
  background-color: #027694;
  border-color: #027694;
  pointer-events: none;
}
.page-tabwpr .btn-tab:hover {
  background-color: #fff;
}
.page-tabwpr .icon-checked {
  pointer-events: none;
  width: 6px;
  height: 6px;
  margin-right: 8px;
  position: relative;
  top: 1px;
  border-radius: 50%;
  display: block;
  border: 3px solid #ccc;
}
.page-tabwpr .btn-tab.selected .icon-checked {
  border-color: #fa6e6e;
}
#cancelFetchData {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 104px;
  box-sizing: border-box;
  padding: 6px 16px;
  margin-top: 15px;
  font-size: 14px;
  border-radius: 20px;
  background-color: #ffdfbe;
  cursor: pointer;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
#cancelFetchData svg {
  width: 14px;
  height: 14px;
  margin-right: 4px;
  fill: #333;
}
#cancelFetchData:hover {
  background-color: #b94e42;
  color: #fff;
}
#cancelFetchData:hover svg {
  fill: #fff;
}
.hover-hint {
  position: relative;
  margin: 0 4px;
  padding: 0px 7px;
  height: 22px;
  display: flex;
  align-items: center;
  font-size: 13px;
  line-height: 1.2;
  color: #6a5b54;
  background-color: #fff0e5;
  border-radius: 2px;
  border-bottom: 2px solid #ffd09f;
  cursor: pointer;
}
.hover-hint:after {
  display: none;
  content: attr(data-hint);
  position: absolute;
  left: -10px;
  bottom: 24px;
  min-width: 200px;
  padding: 7px 8px;
  font-size: 14px;
  background-color: #fffbf9;
  border-radius: 6px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}
.hover-hint:hover:after {
  display: block;
}
@media screen and (max-width: 1300px) {
  body,
  header.header {
    min-width: 1260px;
  }
  header.header,
  .page-header {
    position: absolute;
  }
  .page-header,
  body.side-collapse .page-header {
    width: 100%;
  }
  body.login,
  body.signup,
  body.forgotpw,
  body.resetpw,
  body.user-match,
  body.basic,
  body.unauth {
    min-width: fit-content;
  }
  body.login header.header,
  body.signup header.header,
  body.forgotpw header.header,
  body.resetpw header.header,
  body.user-match header.header,
  body.basic header.header,
  body.unauth header.header {
    min-width: fit-content;
  }
  body.login .main-header .logo,
  body.signup .main-header .logo,
  body.forgotpw .main-header .logo,
  body.resetpw .main-header .logo,
  body.user-match .main-header .logo,
  body.basic .main-header .logo,
  body.unauth .main-header .logo {
    margin-left: 0;
  }
  body.user-match .header #extraBtnWpr {
    display: none;
  }
  .page-header .breadcrumb a,
  .page-header .breadcrumb .spacer {
    display: none;
  }
  .page-header .breadcrumb .current-page {
    font-size: 14px;
  }
}
@media screen and (max-width: 580px) {
  body.login #btnSA .icon,
  body.signup #btnSA .icon,
  body.forgotpw #btnSA .icon,
  body.resetpw #btnSA .icon,
  body.user-match #btnSA .icon,
  body.basic #btnSA .icon,
  body.unauth #btnSA .icon {
    display: none;
  }
}
@media screen and (max-height: 860px) {
  body {
    min-height: 860px;
  }
  .sidebar {
    position: absolute;
  }
}

/*
使用範例
.hint {
    .style-hint();
}
*/
/* ---------- 公司跟站點選單 (select option) ---------- */
.panel-selectwpr {
  position: relative;
  display: flex;
  height: 34px;
  overflow: hidden;
  min-width: 150px;
  background-color: #08728c;
  border-radius: 3px;
}
.panel-selectwpr + .panel-selectwpr {
  margin-left: 10px;
}
.panel-selectwpr.disabled {
  background-color: #e1e1e1;
  pointer-events: none;
}
.panel-selectwpr {
  /* Remove IE arrow */
}
.panel-selectwpr select {
  padding: 0 28px 0 10px;
  -webkit-appearance: none;
  -moz-appearance: none;
  -ms-appearance: none;
  appearance: none;
  outline: 0;
  box-shadow: none;
  border: 0 !important;
  background-image: none;
}
.panel-selectwpr select::-ms-expand {
  display: none;
}
.panel-selectwpr select {
  flex: 1;
  color: #fff;
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
}
.panel-selectwpr option {
  color: #333;
}
.panel-selectwpr option:disabled {
  color: #aaa;
}
.panel-selectwpr .icon {
  width: 14px;
  height: 14px;
  position: absolute;
  right: 7px;
  top: 50%;
  margin-top: -7px;
  fill: #fff;
}
.panel-selectwpr .single-item {
  display: flex;
  align-items: center;
  padding: 0 20px 0 10px;
}
.panel-selectwpr.single {
  min-width: 0;
  background-color: transparent;
}
.panel-selectwpr.single .icon {
  right: 0;
  fill: #333;
}
/* ---------- 站點選單 ---------- */
.sitesMenu select.sites:disabled {
  display: none;
}
.sitesMenu .single-item {
  padding-left: 0;
}
.sitesMenu p.hint {
  height: 100%;
  padding-left: 10px;
  margin: 0;
  display: none;
  align-items: center;
  line-height: 1;
  color: #fff;
}
.sitesMenu.disabled p.hint {
  display: flex;
}
/* ----- 尚未選擇時的提示 ----- */
.empty-hint {
  position: absolute;
  left: 0;
  top: 40%;
  width: 100%;
  text-align: center;
}
.empty-hint .innerwpr {
  display: inline-block;
  padding: 25px;
  line-height: 1;
  font-size: 15px;
  background-color: #fff;
  border-radius: 4px;
  box-shadow: 0 0 0 1px #e8e8e5;
}
.empty-hint h4 {
  font-size: 17px;
  margin-bottom: 12px;
}
.empty-hint p {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 20px;
  line-height: normal;
}
.empty-hint svg.hint {
  width: 16px;
  height: 16px;
  fill: #333;
  margin-right: 6px;
}
.empty-hint.illustration {
  width: 340px;
  position: absolute;
  left: 50%;
  top: 40%;
  margin-left: -170px;
  margin-top: -100px;
}
.empty-hint.illustration p {
  margin: 10px auto 0 auto;
  padding: 6px 30px;
  height: auto;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fafaf8;
  line-height: 1.2;
  text-align: center;
  font-size: 15px;
  border-radius: 40px;
  background-color: #3f7c98;
  box-sizing: border-box;
}
.empty-hint.illustration p.error {
  color: #2f333d;
  background-color: #dedddb;
}
.empty-hint.illustration:before {
  content: "";
  display: block;
  width: 340px;
  height: 165px;
  background-image: url("/assets/images/illustration/cloud-no-data.png");
  background-size: 100% auto;
  background-repeat: no-repeat;
}
/* ---------- Search box 特定項目的搜尋 ---------- */
#searchBtn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 30px;
  height: 30px;
  padding: 0 10px;
  margin-right: 10px;
  background-color: #fafafa;
  border: 1px solid #d1d1d1;
  border-radius: 3px;
  cursor: pointer;
}
#searchBtn.active {
  background-color: #29313d;
  border: 1px solid #222;
}
#searchBtn svg {
  width: 16px;
  height: 16px;
  fill: #333;
}
#searchBtn:hover {
  background-color: #fff;
  border-color: #ccc;
}
#searchBtn.active svg {
  fill: #fff;
}
.search-box {
  position: absolute;
  left: 10px;
  z-index: 9999;
  transition: 200ms;
  transition-property: top,opacity,visibility;
  top: 36px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.search-box.show {
  top: 56px;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.searchbox-content {
  min-width: 480px;
  min-height: 100px;
  position: relative;
  background-color: #efefef;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.35);
  border-radius: 5px;
  overflow: hidden;
}
.searchbox-overlay {
  width: 100%;
  height: 100%;
  position: fixed;
  left: 0;
  top: 0;
  background-color: rgba(0, 0, 0, 0.1);
}
.search-box .inputwpr {
  padding: 6px 60px 6px 40px;
  position: relative;
  background-color: #fff;
  border-bottom: 1px solid #e3e2e0;
}
.search-box .inputwpr .icon {
  width: 20px;
  height: 20px;
  position: absolute;
  left: 20px;
  top: 50%;
  margin-top: -10px;
  fill: #333;
}
.search-box .keyword {
  width: 100%;
  font-size: 16px;
  background-color: transparent;
  border: none;
  box-shadow: none;
}
.search-box .remark {
  padding: 16px 20px 16px 50px;
  position: relative;
  font-size: 14px;
  line-height: normal;
}
.search-box .remark .icon {
  width: 15px;
  height: 1px;
  position: absolute;
  left: 23px;
  top: 50%;
  background-color: #555;
}
.search-box .remark .icon:before,
.search-box .remark .icon:after {
  content: "";
  display: block;
  width: 15px;
  height: 1px;
  position: absolute;
  left: 0;
  background-color: #555;
}
.search-box .remark .icon:before {
  top: -5px;
}
.search-box .remark .icon:after {
  bottom: -5px;
}
.search-box .submitBtn {
  width: 60px;
  height: 100%;
  position: absolute;
  right: 0;
  top: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}
.search-box .submitBtn svg {
  width: 16px;
  height: 16px;
  fill: #333;
}
.search-box .submitBtn:hover {
  background-color: #08728c;
}
.search-box .submitBtn:hover svg {
  fill: #fff;
}
.search-box .message {
  padding: 8px 0 10px 0;
  margin: 0 20px;
  font-size: 14px;
  border-top: 1px solid #dcdcdc;
}
.search-box .message.hide {
  display: none;
}
/* ---------- Table ---------- */
.table-wrapper th,
.table-wrapper td {
  text-align: center;
}
.table-wrapper .fail,
.table-wrapper .alert {
  color: #c74335;
}
.table-wrapper .withdraw {
  color: #a8a8a8;
}
.table-wrapper .warning {
  color: #f3ad31;
}
.table-wrapper .user-name {
  display: inline-block;
  margin-top: 4px;
  font-size: 12px;
  color: #888;
}
.table-wrapper ._control {
  width: 32px;
  padding: 0 12px;
}
.table-wrapper .btn-more {
  margin-left: 0;
  background-color: transparent;
}
.table-wrapper .btn-more:hover {
  background-color: #e8e7e3;
}
.table-wrapper .control-menu {
  display: none;
  align-items: center;
  height: 38px;
  padding: 0 5px;
  z-index: 10001;
  position: absolute;
  right: 40px;
  top: 50%;
  margin-top: -17px;
  background-color: #3b4149;
  border-radius: 3px;
}
.table-wrapper .control-menu:after {
  content: "";
  display: block;
  width: 0;
  height: 0;
  position: absolute;
  right: -8px;
  top: 50%;
  margin-top: -8px;
  border-style: solid;
  border-width: 8px 0 8px 9px;
  border-color: transparent transparent transparent #3b4149;
}
.table-wrapper .control-menu:before {
  content: "";
  display: block;
  position: absolute;
  right: -40px;
  top: 0;
  width: 40px;
  height: 100%;
}
.table-wrapper .control-menu .btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  height: 28px;
  padding: 0 6px;
  color: #fff;
  font-size: 14px;
  white-space: nowrap;
  border-radius: 1px;
  background-color: transparent;
  border: none;
  max-width: none;
  flex-shrink: 0;
}
.table-wrapper .control-menu .btn:hover {
  background-color: #fb7061;
}
.table-wrapper .control-menu .btn svg {
  width: 14px;
  height: 14px;
  fill: #fff;
  margin-right: 6px;
}
.table-wrapper .control-menu .edit svg {
  width: 12px;
  height: 12px;
}
.table-wrapper .btn-more:hover .control-menu {
  display: flex;
}
.extra-wrapper {
  position: relative;
  margin-top: -10px;
  margin-bottom: 10px;
  font-size: 15px;
  line-height: 1.3;
}
.extra-wrapper p + p {
  margin-top: 5px;
}
.extra-wrapper .sum {
  display: flex;
  align-items: center;
  position: relative;
}
.extra-wrapper .sum svg {
  width: 9px;
  height: 9px;
  fill: #fb7061;
  margin-right: 8px;
  position: relative;
  top: 1px;
}
.extra-wrapper .sum svg.search {
  width: 12px;
  height: 12px;
  top: 0;
  fill: #107189;
}
.extra-wrapper .sum strong {
  padding: 0 6px;
  font-weight: normal;
  background-color: #ddd;
  border-radius: 2px;
}
.extra-wrapper .sum .prefix {
  display: inline-block;
  margin-right: 8px;
  padding: 4px 12px;
  font-size: 14px;
  background-color: #fee3c0;
  border-radius: 16px;
}
/* ---------- Pagination ---------- */
#tablePagination {
  width: 100%;
  height: 0;
  position: fixed;
  bottom: 50px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
}
#tablePagination .pag-wrapper {
  padding: 0 10px;
  height: 42px;
  background-color: #fff;
  border-radius: 30px;
  box-shadow: 0 0 1px rgba(11, 6, 6, 0.1), 0 1px 6px rgba(0, 0, 0, 0.12);
}
#tablePagination .btn {
  width: 28px;
  height: 28px;
  margin: 0 2px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 13px;
}
#tablePagination .btn.current {
  background-color: #0281b3;
  border-radius: 20px;
}
#tablePagination .btn-addon {
  height: 42px;
  background-color: #e9e9e9;
  box-shadow: 0 0 1px rgba(11, 6, 6, 0.2), 0 1px 6px rgba(0, 0, 0, 0.12);
  border-radius: 22px;
}
#tablePagination .btn-addon:hover {
  color: #fff;
  background-color: #0088a6;
}
#tablePagination .btn-addon:hover svg {
  fill: #fff;
}
#tablePagination .btn-addon:before {
  display: none;
}
#tablePagination .btn-addon.hidden {
  display: none;
}
#tablePagination .pag-wrapper + .btn-addon {
  margin-left: 16px;
}
#tablePagination.hide .pag-wrapper {
  display: none;
}
#tablePagination.hide .pag-wrapper + .btn-addon {
  margin-left: 0;
}

body.default .main-header .logo {
  width: 110px;
  height: 34px;
  top: 3px;
  background-image: url("/assets/images/logo/alcolog.svg");
}
body.default .main-header .logo:after {
  content: attr(data-country);
  display: block;
  position: absolute;
  left: 92px;
  top: 0;
  font-size: 12px;
  color: #806b62;
  font-weight: 500;
  line-height: 1;
}
body.default .accountModal .header .logo,
body.default main .match-container .header .logo {
  margin-bottom: 10px;
  background-image: url("/assets/images/logo/alcolog.svg");
}
body.default .accountModal .header .logo:after,
body.default main .match-container .header .logo:after {
  content: attr(data-country);
  display: block;
  position: absolute;
  left: 178px;
  top: 0;
  font-size: 16px;
  color: #806b62;
  font-weight: 500;
  line-height: 1;
}
body.default.dev .main-header .logo {
  width: 125px;
}
body.default.dev .main-header .logo:before {
  content: "DEV";
  display: block;
  padding: 2px 6px;
  position: absolute;
  left: 92px;
  bottom: 5px;
  font-size: 11px;
  color: #fff;
  font-weight: 500;
  line-height: 1;
  background-color: #333;
  border-radius: 2px;
}
body.document header.header {
  display: none;
}
body.document main {
  padding: 30px;
}
body.acerits .rules-link,
body.tripodworks .rules-link {
  display: none;
}
body.acerits footer.footer,
body.tripodworks footer.footer,
body.acerits .sidebar .sidebar-footer,
body.tripodworks .sidebar .sidebar-footer {
  display: none;
}
body.acerits .social-block,
body.tripodworks .social-block,
body.acerits .sign-btn.facebook,
body.tripodworks .sign-btn.facebook,
body.acerits .sign-btn.google,
body.tripodworks .sign-btn.google,
body.acerits .auth-note,
body.tripodworks .auth-note {
  display: none;
}
body.acerits .login .footer,
body.tripodworks .login .footer {
  justify-content: center;
}
body.acerits .main-header .logo {
  width: 151px;
  height: 36px;
  background-image: url("/assets/images/logo/acerits/logo-header.png");
}
body.acerits .accountModal .header .logo,
body.acerits main .match-container .header .logo {
  width: 218px;
  height: 73px;
  background-image: url("/assets/images/logo/acerits/logo-main.png");
}
body.tripodworks .main-header .logo {
  width: 120px;
  height: 100%;
  margin-left: -20px;
  background-color: #e50010;
  background-image: url("/assets/images/logo/tripodworks/logo-header.svg");
  background-position: center center;
  background-size: auto 100%;
}
body.tripodworks .accountModal .header,
body.tripodworks main .match-container .header {
  padding-top: 30px;
}
body.tripodworks .accountModal .header .logo,
body.tripodworks main .match-container .header .logo {
  width: 137px;
  height: 99px;
  margin-bottom: 20px;
  background-image: url("/assets/images/logo/tripodworks/logo-main.png");
}
body.tripodworks.unauth .main-header.centerwpr,
body.tripodworks.user-match .main-header.centerwpr {
  padding-left: 0;
}
@media screen and (max-width: 1200px) {
  body.tripodworks .main-header.centerwpr {
    padding-left: 0;
  }
}

#navRoleStatus {
  display: none;
}
.nav-inner {
  padding: 0;
}
.nav-entry {
  padding: 11px 4px;
  position: relative;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  color: #333;
  font-size: 13px;
  text-align: center;
  line-height: 1;
  box-sizing: border-box;
}
.nav-entry .icon {
  width: 44px;
  height: 32px;
  margin-bottom: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
}
.nav-entry svg {
  width: 18px;
  height: 18px;
  fill: #444;
}
.nav-entry .text {
  flex-shrink: 0;
}
.nav-entry.current .icon,
.nav-entry:hover .icon {
  background-color: rgba(0, 0, 0, 0.1);
  box-shadow: inset 0 0 2px rgba(0, 0, 0, 0.1);
}
.nav-entry.current:after {
  content: "";
  display: block;
  width: 86%;
  height: 0;
  position: absolute;
  left: 7%;
  bottom: -1px;
  border-bottom: 2px dotted #bbb;
}
body.en .nav-entry {
  font-size: 12px;
}

/*
使用範例
.hint {
    .style-hint();
}
*/
.main-header {
  height: 46px;
  display: flex;
  align-items: center;
}
.main-header .logo,
.main-header .user-control {
  flex-shrink: 0;
}
.main-header .spacer {
  flex-grow: 1;
}
.main-header .logo {
  display: block;
  position: relative;
  font-size: 0;
  line-height: 0;
  background-size: auto 100%;
  background-repeat: no-repeat;
  cursor: pointer;
}
/*
#btnAppDwn {
    position:relative;
    margin-left:0; padding:0 20px;
    background-color:@btn-blue;
    border-radius:20px;
    display:none;

    .overlay {display:none;}

}
#btnAppDwn:hover {
    background-color:@btn-blue-hover;
}
#btnAppDwn svg {
    width:18px; height:18px;
}

#btnAppDwn.active {

    #appDwnMenu {
        top:39px;
        opacity:1; visibility:visible; pointer-events:auto;
    }

    .overlay {display:block;}

}

#appDwnMenu {
    position:absolute; right:0; top:30px;
    opacity:0; visibility:hidden; pointer-events:none;
    transition:400ms; transition-property:top, opacity, visibility;
}

#appDwnMenu {

    .innerwpr {
        position:relative; overflow:hidden;
        color:#333;
        background-color:rgba(255,255,255,.96);
        box-shadow:0 2px 5px rgba(0,0,0,.2); border-radius:6px;
        box-sizing:border-box;
        cursor:default;
    }

    .group+.group {border-top:1px solid #ddd;}

    a {
        color:#333; font-style:normal;
        display:flex; align-items:center;
    }

    .regular {padding:8px 15px;}
    .regular:hover {
        background-color:#f6f6f6;
    }
    .icon {
        width:28px; height:28px; display:block; margin-right:5px;
        display:flex; align-items:center; justify-content:center;
        background-color:#56595d;
        border-radius:50%;
    }
    .icon svg {
        fill:#fff; width:14px; height:14px;
        margin-right:0;
    }
    .regular:hover .icon {
        background-color:@btn-blue-hover;
    }

    .apk {
        padding:11px 15px;
    }
    .apk {
        h4 {font-size:14px; margin-bottom:3px;}
        p {font-size:12px;}
    }

    .file {
        padding:4px 10px; margin-top:10px;
        text-align:center; justify-content:center;
        border:1px solid #ddd; background-color:#eee;
        border-radius:4px;
    }
    .file:hover {
        color:#fff;
        background-color:@btn-blue-hover;
    }

}
*/
#btnSA {
  margin-left: 5px;
  height: 34px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #111;
  white-space: nowrap;
  border-radius: 20px;
  cursor: pointer;
}
#btnSA:hover {
  background-color: #eee;
}
.sa-title .icon {
  width: 20px;
  height: 20px;
  margin-right: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #c74335;
  border-radius: 50%;
  pointer-events: none;
}
.sa-title .icon svg {
  width: 12px;
  height: 12px;
  fill: #fff;
}
.sa-title svg.arrow {
  width: 16px;
  height: 16px;
  fill: #5c392b;
  margin-left: 2px;
  position: relative;
  top: 1px;
}
#SABox {
  width: 100%;
  height: 100%;
  z-index: 9999;
  position: fixed;
  left: 0;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: 400ms;
  transition-property: opacity, visibility;
}
#SABox .box-content {
  width: 360px;
  position: relative;
  background-color: #f9f7f4;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  top: -30px;
  transition: 400ms;
  transition-property: opacity, visibility, top;
}
#SABox h3 {
  padding: 8px 20px;
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  font-size: 17px;
  background-color: #ffb649;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.2);
}
#SABox h3 .icon {
  width: 22px;
  height: 22px;
}
#SABox .innerwpr {
  padding: 20px;
  font-size: 15px;
  color: #111;
}
#SABox p strong {
  padding: 0 4px;
  font-weight: 400;
  background-color: #97f6d9;
  border-radius: 2px;
}
#SABox li {
  list-style-type: decimal;
  margin-left: 18px;
}
#SABox li + li {
  margin-top: 20px;
}
#SABox #SABoxClose {
  width: 100%;
  height: 36px;
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background-color: #2f333d;
  border-radius: 3px;
  cursor: pointer;
}
#SABox #SABoxClose:hover {
  background-color: #0088a6;
}
#SABox.open {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}
#SABox.open .box-content {
  opacity: 1;
  visibility: visible;
  top: 0;
}
#extraBtnWpr {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  padding: 0 12px;
}
#extraBtnWpr .btn-control {
  margin: 0;
  color: #333;
  background-color: transparent;
  border-radius: 20px;
}
#extraBtnWpr .btn-control svg {
  fill: #333;
}
#extraBtnWpr .btn-control:hover {
  background-color: #eee;
}
#extraBtnWpr .btn-control:after {
  display: none;
}
body.unauth #extraBtnWpr {
  padding: 0;
}
body.unauth #sysAnnowpr {
  padding: 0;
}
@media only screen and (max-width: 560px) {
  body.unauth language-selector {
    padding: 4px 0;
  }
}

/*
使用範例
.hint {
    .style-hint();
}
*/
.user-control {
  display: none;
  align-items: center;
  justify-content: center;
  position: relative;
  height: 100%;
}
.user-control.show {
  display: flex;
}
.user-control {
  /*
    .lang-menu {
        display:flex; align-items:center; justify-content:space-evenly;
        height:42px; padding:0 10px;
        background-color:#f6f6f6;
        box-shadow:inset 0 0 15px rgba(0,0,0,.04);
        border-top:1px solid #ddd;
        border-bottom:1px solid #ddd;

        .btn {
            flex-basis:28%; height:26px;
            display:flex; justify-content:center; align-items:center;
            font-size:13px; white-space:nowrap;
            border-radius:20px;
            cursor:pointer;
        }

        .btn:hover {background-color:#eee;}

        .btn.current {
            color:#fff;
            background-color:#1975ac; pointer-events:none;
        }

        // .btn.en {font-size:12px;}

        hr {
            width:22px; border-top:none; border-left:none; border-right:none;
            border-bottom:2px dotted #ccc;
        }

        .custom-btn.current {
            pointer-events:auto;
            background-color:#22a6a5;
        }
    }
    */
}
.user-control .avatar {
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background-size: cover;
  background-repeat: no-repeat;
  cursor: pointer;
}
.user-control .avatar.empty {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 17px;
  color: #fff;
  line-height: 1;
  background-color: #027694;
}
.user-control #menuTrigger {
  width: 38px;
  height: 38px;
  position: relative;
  background-color: #eee;
}
.user-control #menuTrigger .icon {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 16px;
  height: 2px;
  margin: -1px 0 0 -8px;
  background-color: #888;
  pointer-events: none;
}
.user-control #menuTrigger .icon:before,
.user-control #menuTrigger .icon:after {
  content: "";
  display: block;
  width: 16px;
  height: 2px;
  position: absolute;
  left: 0;
  background-color: #888;
}
.user-control #menuTrigger .icon:before {
  top: -5px;
}
.user-control #menuTrigger .icon:after {
  bottom: -5px;
}
.user-control #menuTrigger:hover {
  background-color: #e1e1e1;
}
.user-control #menuTrigger:hover .icon,
.user-control #menuTrigger:hover .icon:before,
.user-control #menuTrigger:hover .icon:after {
  background-color: #777;
}
.user-control #userMenu .avatar {
  width: 80px;
  height: 80px;
  margin: 0 auto 8px auto;
  cursor: default;
}
.user-control #userMenu .avatar.empty {
  font-size: 38px;
}
.user-control .login .avatar {
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #1f6d80;
}
.user-control .login:hover .avatar {
  background-color: #1294b1;
}
.user-control .avatar svg {
  width: 18px;
  height: 18px;
  fill: #2f333d;
  position: relative;
  overflow: hidden;
  top: -1px;
}
.user-control #userMenu {
  width: 280px;
  min-height: 150px;
  position: absolute;
  right: 0;
  text-align: center;
  line-height: 1.3;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  pointer-events: none;
  visibility: hidden;
  top: 36px;
  opacity: 0;
  transition: 400ms;
  transition-property: visibility,top,opacity;
}
.user-control #userMenu.open {
  pointer-events: auto;
  visibility: visible;
  top: 46px;
  opacity: 1;
}
.user-control .close-overlay {
  width: 100%;
  height: 100vh;
  position: fixed;
  left: 0;
  top: 0;
  background-color: rgba(0, 0, 0, 0.05);
}
.user-control .menuwpr {
  position: relative;
  background-color: #fff;
  border-radius: 4px;
}
.user-control .group {
  position: relative;
  padding: 14px;
}
.user-control .group + .group {
  border-top: 1px solid #e3e3e3;
}
.user-control .group.basic-info {
  padding-top: 20px;
  padding-bottom: 18px;
}
.user-control .group.btnwpr {
  padding: 14px 14px 12px 14px;
}
.user-control .name {
  font-size: 17px;
}
.user-control .email {
  font-size: 13px;
  color: #999;
}
.user-control .roleTrigger {
  position: relative;
  padding: 0 26px 0 14px;
  text-align: left;
  line-height: 1;
  font-size: 14px;
  cursor: pointer;
}
.user-control .roleTrigger:hover,
.user-control .roleTrigger.open {
  color: #fff;
  background-color: #027694;
}
.user-control .roleTrigger .role-text {
  height: 42px;
  display: flex;
  align-items: center;
  white-space: nowrap;
  overflow: hidden;
}
.user-control .roleTrigger svg {
  width: 16px;
  height: 16px;
  position: absolute;
  right: 8px;
  top: 50%;
  margin-top: -7px;
  fill: #555;
}
.user-control .roleTrigger .hint {
  height: 42px;
  display: none;
  pointer-events: none;
  align-items: center;
  font-size: 15px;
}
.user-control .roleTrigger .role-text,
.user-control .roleTrigger .down {
  pointer-events: none;
}
.user-control .roleTrigger:hover svg,
.user-control .roleTrigger.open svg {
  fill: #fff;
}
.user-control .roleTrigger:hover .role-text,
.user-control .roleTrigger.open .role-text {
  display: none;
}
.user-control .roleTrigger:hover .hint,
.user-control .roleTrigger.open .hint {
  display: flex;
}
.user-control .roleTrigger.open svg {
  transform: rotate(180deg);
}
.user-control .switch-role-menu {
  padding: 0;
  height: 0;
  border-top: none !important;
  color: #333;
  text-align: left;
  font-size: 14px;
  background-color: #eee;
  overflow: hidden;
}
.user-control .expand.switch-role-menu {
  height: auto;
  overflow: visible;
  border-top: 1px solid #0d606d !important;
}
.user-control .role-selector,
.user-control .role-submenu-title {
  opacity: 0.9;
  cursor: pointer;
  position: relative;
  height: 50px;
  padding: 0 15px 0 21px;
  display: flex;
  align-items: center;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}
.user-control .role-submenu-title {
  justify-content: space-between;
  font-size: 14px;
}
.user-control .role-selector:hover,
.user-control .role-submenu-title:hover {
  opacity: 1;
  background-color: rgba(0, 0, 0, 0.08);
}
.user-control .role-selector.current {
  opacity: 1;
  pointer-events: none;
  color: #fff;
  background-color: #1c4961;
}
.user-control .role-selector svg {
  width: 18px;
  height: 18px;
  position: absolute;
  left: 3px;
  top: 50%;
  margin-top: -8px;
  fill: #ff645d;
  display: none;
}
.user-control .role-selector.current svg {
  display: block;
}
.user-control .role-title {
  max-width: 100%;
  pointer-events: none;
}
.user-control .role-title span {
  display: block;
  overflow: hidden;
  white-space: nowrap;
}
.user-control .role-title .site-name {
  margin-top: 2px;
  opacity: 0.8;
  font-size: 13px;
}
.user-control .role-submenu {
  position: relative;
}
.user-control .role-submenu .length {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  margin-left: 5px;
  padding: 0 5px;
  box-sizing: border-box;
  background-color: rgba(0, 0, 0, 0.08);
  border-radius: 3px;
}
.user-control .role-submenu .role-submenu-list {
  width: 100%;
  z-index: 500;
  position: absolute;
  left: -210px;
  top: -14px;
  background-color: #fafafa;
  border-radius: 5px;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  display: none;
  overflow-y: auto;
}
.user-control .role-submenu .role-selector.current {
  background-color: #1c4961;
}
.user-control .role-submenu:hover .role-submenu-title {
  opacity: 1;
  background-color: rgba(0, 0, 0, 0.08);
}
.user-control .role-submenu:hover .role-submenu-list {
  display: block;
}
.user-control .role-submenu.active .role-submenu-title {
  opacity: 1;
  color: #fff;
  background-color: #1c4961;
}
.user-control .role-submenu.active .role-submenu-title svg {
  fill: #ff645d;
}
.user-control #userMenu.single .roleTrigger {
  cursor: default;
}
.user-control #userMenu.single .roleTrigger svg {
  display: none;
}
.user-control #userMenu.single .roleTrigger:hover {
  color: #333;
  background-color: transparent;
}
.user-control #userMenu.single .roleTrigger:hover .role-text {
  display: flex;
}
.user-control #userMenu.single .roleTrigger:hover .hint {
  display: none;
}
.user-control .btn-user {
  padding: 8px 10px;
  font-size: 14px;
  background-color: #eee;
  border-radius: 4px;
  border: 1px solid #ddd;
  cursor: pointer;
}
.user-control .btn-user:hover {
  color: #fff;
  background-color: #027694;
  border: 1px solid #157483;
}
.user-control .btn-user + .btn-user {
  margin-top: 10px;
}
.user-control .btn-userMatch {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  height: 42px;
  padding: 0 10px;
  color: #333;
  font-size: 14px;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
}
.user-control .btn-userMatch svg {
  width: 12px;
  height: 12px;
  margin-right: 8px;
  fill: #333;
}
.user-control .btn-userMatch:hover {
  background-color: #027694;
  color: #fff;
  border-top: 1px solid #0d5e6c;
  border-bottom: 1px solid #0d5e6c;
  box-shadow: none;
}
.user-control .btn-userMatch:hover svg {
  fill: #fff;
}
.user-control language-selector {
  height: 42px;
  background-color: #f6f6f6;
  box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.04);
  border-top: 1px solid #e3e3e3;
  border-bottom: 1px solid #e3e3e3;
}

/*
使用範例
.hint {
    .style-hint();
}
*/
#changePwBox .dialog-container {
  width: 350px;
  box-sizing: border-box;
  overflow: hidden;
}
#changePwBox .title {
  margin-bottom: 0;
}
#changePwBox .content,
#changePwBox .innerwpr {
  position: static;
}
#changePwBox .content {
  padding: 20px 22px;
  border-bottom: 1px solid #ddd;
}
#changePwBox .innerwpr {
  padding: 0;
}
#changePwBox .inputwpr + .inputwpr {
  margin-top: 10px;
}
#changePwBox .inputwpr label {
  display: inline-block;
  margin-bottom: 2px;
  font-size: 15px;
}
#changePwBox .inputwpr input {
  width: 100%;
  height: 40px;
  margin: 0 auto;
  padding-right: 40px;
  box-sizing: border-box;
}
#changePwBox .btnwpr {
  padding: 18px 22px 0 22px;
  margin: 0 -22px;
  border-top: 1px solid #fff;
}
#changePwBox .inputbox {
  position: relative;
}
#changePwBox .visibility-toggle {
  width: 40px;
  height: 40px;
  position: absolute;
  right: 0;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-left: 1px dotted #aaa;
  cursor: pointer;
}
#changePwBox .visibility-toggle .hide {
  display: none;
}
#changePwBox .visibility-toggle svg {
  width: 24px;
  height: 24px;
  fill: #3a3a3a;
}
#changePwBox .visibility-toggle.visible .show {
  display: none;
}
#changePwBox .visibility-toggle.visible .hide {
  display: block;
}
#changePwBox #CPErrMsg p {
  padding: 6px 15px;
  margin-top: 15px;
  font-size: 15px;
  line-height: 1.4;
  background-color: #fde6e2;
  border-left: 6px solid #e25e68;
  border-radius: 3px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}
#changePwBox #CPsuccess {
  z-index: 300;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
#changePwBox #CPsuccess .innerwpr {
  box-sizing: border-box;
  width: 320px;
  padding: 20px;
  text-align: center;
  background-color: #fff;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  position: relative;
  top: -50px;
  visibility: hidden;
  opacity: 0;
  transition-duration: 400ms;
  transition-property: opacity,visibility,top;
}
#changePwBox #CPsuccess p {
  text-align: center;
}
#changePwBox #CPsuccess .btn {
  flex: 1;
  flex-shrink: 0;
  height: 40px;
  padding: 0 12px;
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  text-align: center;
  line-height: normal;
  color: #fff;
  background-color: #2f333d;
  border-radius: 4px;
  cursor: pointer;
}
#changePwBox #CPsuccess .btn:hover {
  background-color: #0088a6;
}
#changePwBox #CPsuccess .btn svg {
  width: 16px;
  height: 16px;
  margin-right: 5px;
  fill: #fff;
  position: relative;
  overflow: hidden;
}
#changePwBox #CPsuccess .icon {
  width: 80px;
  height: 80px;
  margin: 20px auto 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #19c1c1;
  border-radius: 40px;
}
#changePwBox #CPsuccess .icon svg {
  width: 30px;
  height: 30px;
  fill: #fff;
}
#changePwBox.success .inputwpr,
#changePwBox.success .btnwpr {
  opacity: 0.2;
}
#changePwBox.success #CPsuccess {
  pointer-events: auto;
}
#changePwBox.success #CPsuccess .innerwpr {
  top: 0;
  visibility: visible;
  opacity: 1;
}

/*
使用範例
.hint {
    .style-hint();
}
*/
/* --- dialog box: common --- */
.dialogBox {
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  width: 100%;
  height: 100vh;
  left: 0;
  top: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 9999;
}
.dialogBox .dialog-overlay,
.dialogBox .dialog-container {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}
.dialogBox .dialog-overlay {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  transition-duration: 1000ms;
  transition-property: opacity,visibility;
}
.dialogBox .loading {
  min-height: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.dialogBox .dialog-container {
  position: relative;
  margin: 0 10px;
  padding: 20px 22px;
  top: -50px;
  width: 100%;
  max-width: 500px;
  max-height: calc(100% - 60px);
  text-align: left;
  color: #333;
  background-color: #f6f5f1;
  border-radius: 6px 6px 5px 5px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transition-duration: 400ms;
  transition-property: opacity,visibility,top;
  display: flex;
  flex-direction: column;
}
.dialogBox .title {
  position: relative;
  margin: -20px -22px 14px -22px;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  font-size: 17px;
  line-height: 1.2;
  font-weight: 400;
  background-color: #fdfdfc;
  border-radius: 5px 5px 0 0;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.1);
  z-index: 200;
}
.dialogBox .title .status-code {
  margin: 0 10px;
}
.dialogBox svg.title-icon {
  width: 19px;
  height: 19px;
  fill: #333;
  margin-right: 10px;
  position: relative;
}
.dialogBox #deviceStoreBatchBox .title svg {
  top: 1px;
}
.dialogBox .hint {
  margin-bottom: 10px;
  font-size: 14px;
}
.dialogBox .hint strong {
  padding: 0 4px;
  font-weight: normal;
  background-color: #ffe2ac;
}
.dialogBox .dialog-container.fullwidth .title {
  margin-bottom: 0;
}
.dialogBox .dialog-container.fullwidth .hint {
  margin: 0 -22px 12px -22px;
  padding: 10px 22px;
  min-height: 24px;
  display: flex;
  align-items: center;
  font-size: 15px;
  line-height: 1.5;
  background-color: #eaeae6;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid #d6d6d6;
}
.dialogBox .hint .slot + .slot {
  margin-left: 15px;
}
.dialogBox .content,
.dialogBox .innerwpr {
  position: relative;
}
.dialogBox .content {
  flex: 1;
  overflow: hidden;
}
.dialogBox .content.no-scroll {
  overflow-y: auto !important;
  margin: 0 -22px;
  padding: 0 22px;
}
.dialogBox .innerwpr {
  width: 100%;
  padding: 4px 0;
  box-sizing: border-box;
}
.dialogBox .innerwpr p + p,
.dialogBox .innerwpr p + ul,
.dialogBox .innerwpr ul + p {
  margin-top: 10px;
}
.dialogBox .innerwpr ul {
  padding-left: 14px;
}
.dialogBox .innerwpr ul li {
  list-style: disc;
}
.dialogBox .innerwpr li + li {
  margin-top: 5px;
}
.dialogBox .innerwpr strong {
  padding: 1px 4px;
  margin: 0 3px;
  font-weight: 400;
  background-color: #ffe4af;
  border-radius: 3px;
}
.dialogBox .innerwpr img {
  margin: 0 auto;
}
.dialogBox .btnwpr {
  display: flex;
  align-items: center;
  margin-top: 18px;
}
.dialogBox .btnwpr .btn {
  flex: 1;
  flex-shrink: 0;
  height: 40px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  text-align: center;
  line-height: normal;
  color: #fff;
  background-color: #2f333d;
  border-radius: 4px;
  cursor: pointer;
}
.dialogBox .btnwpr .btn:hover {
  background-color: #0088a6;
}
.dialogBox .btnwpr .btn.disabled {
  pointer-events: none;
}
.dialogBox .btnwpr .btn.confirm {
  flex-grow: 1.5;
}
.dialogBox .btnwpr .btn.cancel,
.dialogBox .btnwpr .btn.white {
  flex-grow: 1;
  color: #333;
  background-color: #fff;
  box-shadow: inset 0 0 0 1px #e6e6e6;
}
.dialogBox .btnwpr .btn.cancel svg,
.dialogBox .btnwpr .btn.white svg {
  fill: #333;
}
.dialogBox .btnwpr .btn.cancel:hover,
.dialogBox .btnwpr .btn.white:hover {
  color: #fff;
  background-color: #0088a6;
  box-shadow: none;
}
.dialogBox .btnwpr .btn.cancel:hover svg,
.dialogBox .btnwpr .btn.white:hover svg {
  fill: #fff;
}
.dialogBox .btnwpr .btn + .btn {
  margin-left: 10px;
}
.dialogBox .btnwpr .btn svg {
  width: 16px;
  height: 16px;
  margin-right: 5px;
  fill: #fff;
  position: relative;
  overflow: hidden;
}
.dialogBox .alert {
  display: flex;
  align-items: center;
  color: #e84e4a;
}
.dialogBox .alert svg {
  width: 24px;
  height: 24px;
  margin-right: 5px;
  fill: #e84e4a;
  position: relative;
  top: -1px;
  overflow: hidden;
}
.dialogBox textarea {
  width: 100%;
  padding: 8px 12px;
  min-height: 200px;
  box-sizing: border-box;
  resize: none;
  font-size: 15px;
  line-height: normal;
  border: 1px solid #cacaca;
  border-radius: 2px;
  background-color: rgba(0, 0, 0, 0.05);
  outline: none;
}
.dialogBox .feedback-content {
  padding: 6px 10px;
  margin: 6px 0 -8px 0;
  font-size: 14px;
  line-height: 1;
  text-align: center;
  color: #856519;
  background-color: #fff5cb;
  border: 1px solid #f0de97;
  border-radius: 2px;
}
.dialogBox .feedback-content.warning {
  color: #333;
  background-color: #fee28f;
  border: 1px solid #ebca78;
}
.dialogBox .feedback-content.fail {
  color: #fff0ef;
  background-color: #fc6a5f;
}
.dialogBox .error-msg p {
  font-size: 15px;
  text-align: left;
  word-break: break-all;
}
.dialogBox .error-msg p + p {
  margin-top: 8px;
}
/* --- dialog box: show --- */
.dialogBox.show {
  visibility: visible;
  pointer-events: auto;
}
.dialogBox.show .dialog-overlay,
.dialogBox.show .dialog-container {
  visibility: visible;
  opacity: 1;
}
.dialogBox.show .dialog-container {
  top: 0;
  pointer-events: auto;
}
/* --- dialog box: 特別設定 --- */
.os-scrollbar-vertical {
  padding-left: 0 !important;
  padding-right: 0 !important;
  width: 6px !important;
}
#comLicense .dialog-container {
  max-width: 1200px;
}
#deviceStoreBatchBox.exist .dialog-container {
  max-width: 650px;
}
#edgeLogs .dialog-container {
  max-width: 500px;
}
#batchStoreBox.api-off .title,
#bindExplainBox .title,
#renewDbExplainBox .title {
  background-color: #f3f3f3;
  box-shadow: none;
  border-bottom: 1px solid #e9e9e9;
}
/* --- 行動裝置上的一些調整 --- */
body.mobile .dialogBox {
  height: 100%;
}

/*
使用範例
.hint {
    .style-hint();
}
*/
.search-cond + .device-sum-panel {
  margin-top: 5px;
}
.device-sum-panel {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
.device-sum-panel .slot {
  display: flex;
  flex-basis: calc(49.5% - 4px);
  flex-grow: 1;
  margin: 2px;
  font-size: 14px;
  line-height: 1.2;
  background-color: #eaeae6;
  border-radius: 20px;
  box-sizing: border-box;
}
.device-sum-panel .slot.spacer {
  background-color: transparent;
}
.device-sum-panel .slot.all_device,
.device-sum-panel .slot.all {
  background-color: #fff;
}
.device-sum-panel .cell {
  display: flex;
  align-items: center;
  flex-basis: 100px;
  padding: 4px 6px;
  box-sizing: border-box;
  white-space: nowrap;
  flex-grow: 1;
}
.device-sum-panel .cell.name {
  flex-grow: 2;
}
.device-sum-panel .empty {
  opacity: 0.3;
}
@media screen and (max-width: 1500px) {
  body.panel-info .device-sum-panel .slot {
    flex-basis: calc(100% - 4px);
  }
}
@media screen and (max-width: 1350px) {
  .device-sum-panel .slot {
    flex-basis: calc(100% - 4px);
  }
}
#deviceUsageReportBox .dialog-container {
  max-width: 1700px;
  height: calc(100% - 20px);
  max-height: calc(100% - 20px);
  padding: 0;
}
#deviceUsageReportBox .content.no-scroll {
  overflow: hidden !important;
}
#deviceUsageReportBox .innerwpr {
  padding: 0;
  display: flex;
  flex-direction: column;
}
#deviceUsageReportBox .btnwpr {
  padding: 15px 20px;
  margin-top: 0;
}
#deviceUsageReportBox .title {
  height: 50px;
  margin: 0;
  box-sizing: border-box;
}
#deviceUsageReportBox .control-menu {
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
#deviceUsageReportBox .picker + .picker {
  margin-left: 10px;
}
#deviceUsageReportBox #durQuerySubmit {
  width: 140px;
  height: 34px;
  margin-left: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: #fff;
  background-color: #2f333d;
  border-radius: 20px;
  cursor: pointer;
}
#deviceUsageReportBox #durQuerySubmit:hover {
  background-color: #0088a6;
}
#deviceUsageReportBox .empty-hint .content {
  display: inline-block;
  padding: 25px;
  margin-bottom: 0;
  text-align: center;
  font-size: 15px;
}
#deviceUsageReportBox .empty-hint h4 {
  font-size: 19px;
  margin-bottom: 5px;
}
#deviceUsageReportBox .empty-hint p {
  text-align: center;
  display: block;
}
#deviceUsageReportBox .sumPanel {
  padding: 10px 20px;
  position: sticky;
  top: 0;
}
#deviceUsageReportBox .sumPanel .info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
#deviceUsageReportBox .sumPanel .info .group {
  display: flex;
  align-items: center;
}
#deviceUsageReportBox .sumPanel .info .tag {
  padding: 6px;
  margin-right: 6px;
  min-width: 26px;
  font-size: 14px;
  text-align: center;
  line-height: 1;
  white-space: nowrap;
  background-color: #f6f6f6;
  border-radius: 2px;
}
#deviceUsageReportBox .sumPanel .info .tag.type {
  background-color: #ffdc98;
}
#deviceUsageReportBox .sumPanel .info h4 {
  margin-left: 6px;
  position: relative;
  top: -1px;
  font-size: 19px;
  line-height: 1;
  font-weight: normal;
}
#deviceUsageReportBox .reportPanel {
  position: relative;
  padding: 0 20px;
  overflow-y: auto;
}
#deviceUsageReportBox .reportPanel table {
  width: 100%;
  min-width: 1300px;
}
#deviceUsageReportBox .reportPanel .device_status,
#deviceUsageReportBox .reportPanel .test_count,
#deviceUsageReportBox .reportPanel .device_count_total {
  text-align: center;
}
#deviceUsageReportBox .reportPanel tbody .earliest_time,
#deviceUsageReportBox .reportPanel tbody .latest_time,
#deviceUsageReportBox .reportPanel tbody .checkin_time,
#deviceUsageReportBox .reportPanel tbody .last_updated {
  font-size: 12px;
}
#deviceUsageReportBox .reportPanel tbody .serial_no,
#deviceUsageReportBox .reportPanel tbody .license_key {
  word-break: break-all;
}
#deviceUsageReportBox .reportPanel .device_status .status {
  padding: 3px 6px;
  border-radius: 2px;
  white-space: nowrap;
}
#deviceUsageReportBox .reportPanel .status-0 .device_status .status {
  background-color: #666;
  color: #fff;
}
#deviceUsageReportBox .reportPanel .status-2 .device_status .status {
  background-color: #fdaea6;
}
#deviceUsageReportBox .reportPanel .status-3 .device_status .status {
  background-color: #ffe2ac;
}
#deviceUsageReportBox .reportPanel .status--1 .device_status .status {
  background-color: #ddd;
}
#deviceUsageReportBox .reportPanel .status--2 {
  color: #bbb;
}
#deviceUsageReportBox .reportPanel .fade {
  color: #bbb;
}
#deviceUsageReportBox.no-data #exportDeviceUsageReportBox {
  pointer-events: none;
  color: #b3b3b3;
  background-color: #eee;
}

/*
使用範例
.hint {
    .style-hint();
}
*/
.month-picker {
  position: relative;
  color: #333;
}
.month-picker .picker-overlay {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.1);
  display: none;
}
.month-picker .picker-label {
  display: flex;
  align-items: center;
  position: relative;
  cursor: pointer;
  padding: 0 28px 0 10px;
  height: 34px;
  min-width: 130px;
  font-size: 15px;
  line-height: 1;
  background-color: #eee;
  border-radius: 3px;
  user-select: none;
}
.month-picker .picker-label span {
  margin: 0 3px;
}
.month-picker .picker-label-txt {
  pointer-events: none;
}
.month-picker .picker-label svg {
  width: 14px;
  height: 14px;
  position: absolute;
  right: 7px;
  top: 50%;
  margin-top: -7px;
  fill: #333;
  pointer-events: none;
}
.month-picker .picker-content {
  position: relative;
  z-index: 1001;
  width: 300px;
  margin-left: -150px;
  margin-top: 3px;
  position: fixed;
  left: 50%;
  background-color: #f6f5f1;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.25);
  border-radius: 2px;
  display: none;
}
.month-picker .yearwpr {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  padding: 10px;
  background-color: #fff;
  border-bottom: 2px solid #dadada;
}
.month-picker .pick-year {
  font-size: 19px;
  position: relative;
  top: -1px;
}
.month-picker .picker-arrow {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #e3e3e3;
  border-radius: 50%;
  cursor: pointer;
}
.month-picker .picker-arrow svg {
  width: 20px;
  height: 20px;
  fill: #333;
}
.month-picker .yearwpr.disabled .picker-arrow {
  display: none;
}
.month-picker .monthwpr {
  display: flex;
  flex-wrap: wrap;
  padding: 10px;
}
.month-picker .month-brick {
  flex-basis: 25%;
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  height: 64px;
  padding: 5px;
  box-sizing: border-box;
  white-space: nowrap;
  font-size: 15px;
  cursor: pointer;
  border-radius: 3px;
}
.month-picker .month-brick span {
  pointer-events: none;
  user-select: none;
}
.month-picker .month-brick .alt {
  font-size: 13px;
  margin-top: 4px;
}
.month-picker .month-brick:hover {
  background-color: #e3e3e3;
}
.month-picker .month-brick.selected {
  background-color: #008398;
  color: #fff;
}
.month-picker.expand {
  z-index: 2000;
}
.month-picker.expand .picker-label {
  background-color: #fafafa;
}
.month-picker.expand .picker-overlay,
.month-picker.expand .picker-content {
  display: block;
}

/*
使用範例
.hint {
    .style-hint();
}
*/
.com-picker {
  position: relative;
  color: #333;
}
.com-picker .picker-overlay {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.1);
  display: none;
}
.com-picker .picker-label {
  display: flex;
  align-items: center;
  position: relative;
  cursor: pointer;
  padding: 0 28px 0 10px;
  height: 34px;
  min-width: 130px;
  font-size: 15px;
  line-height: 1;
  background-color: #eee;
  border-radius: 3px;
}
.com-picker .picker-label.disabled {
  cursor: default;
  padding-right: 10px;
  background-color: transparent;
}
.com-picker .picker-label-txt {
  pointer-events: none;
  user-select: none;
}
.com-picker .picker-label svg {
  width: 14px;
  height: 14px;
  position: absolute;
  right: 7px;
  top: 50%;
  margin-top: -7px;
  fill: #333;
  pointer-events: none;
}
.com-picker .picker-content {
  position: relative;
  z-index: 1001;
  width: 750px;
  margin-left: -375px;
  margin-top: 3px;
  position: fixed;
  left: 50%;
  background-color: #f6f5f1;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.25);
  border-radius: 2px;
  display: none;
}
.com-picker .filter {
  padding: 10px;
  position: relative;
}
.com-picker .filter input {
  width: 100%;
  height: 36px !important;
  padding-left: 32px;
  box-sizing: border-box;
  color: #444;
  font-size: 15px !important;
  background-color: #e9e9e5;
  border-radius: 2px;
}
.com-picker .filter .icon-search {
  width: 16px;
  height: 16px;
  fill: #444;
  position: absolute;
  left: 17px;
  top: 50%;
  margin-top: -8px;
  pointer-events: none;
}
.com-picker .picker-dropdown {
  overflow-y: auto;
  max-height: calc(100vh - 240px);
}
.com-picker .menu-wrapper {
  display: flex;
  justify-content: space-between;
  padding: 0 10px;
}
.com-picker .menu-slot + .menu-slot {
  margin-left: 14px;
}
.com-picker .menu-slot {
  flex: 1;
  position: relative;
}
.com-picker .menu-slot .group-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 200;
  height: 36px;
  padding: 0 10px;
  margin-bottom: 8px;
  font-size: 16px;
  font-weight: normal;
  color: #333;
  white-space: nowrap;
  background-color: #fff;
  border-radius: 0;
  border-bottom: 2px solid #dadada;
  overflow: hidden;
  cursor: pointer;
}
.com-picker .menu-slot .group-title span {
  pointer-events: none;
}
.com-picker .menu-slot .group-title:hover {
  background-color: #f9f9f9;
}
.com-picker .menu-slot .group-title .length {
  font-size: 14px;
}
.com-picker .menu-slot ul {
  padding-bottom: 8px;
}
.com-picker .menu-slot li {
  cursor: pointer;
}
.com-picker .menu-slot li.hide {
  display: none;
}
.com-picker .menu-slot .menu-item {
  position: relative;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  overflow: hidden;
  height: 38px;
  padding: 0 10px;
  color: #444;
  font-size: 14px;
  white-space: nowrap;
  border-radius: 2px;
  border-bottom: 1px solid #ddd;
  pointer-events: none;
}
.com-picker .menu-slot .menu-item:before {
  content: "";
  display: block;
  width: 6px;
  height: 6px;
  margin-right: 7px;
  flex-shrink: 0;
  background-color: #444;
  border-radius: 50%;
  pointer-events: none;
}
.com-picker .menu-slot .type-2.menu-item {
  padding-left: 6px;
}
.com-picker .menu-slot .type-2.menu-item:before {
  content: "D";
  width: 20px;
  height: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 13px;
  line-height: 1;
  color: #444;
  background-color: #ddd;
  border-radius: 2px;
}
.com-picker .menu-slot li:hover .menu-item {
  background-color: #008398;
  color: #fff;
}
.com-picker .menu-slot li:hover .menu-item:before {
  background-color: #fff;
}
.com-picker .menu-slot .menu-item:after {
  content: attr(data-id);
  position: absolute;
  right: 0px;
  min-width: 24px;
  padding: 0 2px;
  line-height: 1.6;
  font-size: 12px;
  text-align: center;
  background-color: #fff;
  border-radius: 2px;
}
.com-picker .menu-slot li:hover .menu-item:after {
  background-color: #379bac;
}
.com-picker .picker-content.col-2 .menu-slot,
.com-picker .picker-content.col-2 .menu-item {
  width: 220px;
}
.com-picker .resetInput {
  right: 20px;
  background-color: #d3d3d3;
}
.com-picker .resetInput:hover {
  background-color: #333;
}
.com-picker .resetInput svg {
  width: 14px;
  height: 14px;
  margin-right: 0;
  fill: #333;
}
.com-picker .resetInput:hover svg {
  fill: #fff;
}
.com-picker.expand {
  z-index: 2000;
}
.com-picker.expand .picker-label {
  background-color: #fafafa;
}
.com-picker.expand .picker-overlay,
.com-picker.expand .picker-content {
  display: block;
}

/* ----- 左下角額外的資訊顯示面板 (例如裝置月報表的裝置轉移紀錄) ----- */
.side-info-box {
  display: none;
  position: relative;
}
.side-info-box.show {
  display: block;
  z-index: 9999;
}
.side-info-box .overlay {
  background-color: rgba(0, 0, 0, 0.08);
}
.side-info-box .content {
  position: fixed;
  left: 10px;
  bottom: 10px;
  padding: 12px;
  z-index: 9998;
  background-color: #fff;
  border-radius: 6px;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.3);
}
.side-info-box .title {
  margin-bottom: 8px;
  padding-right: 28px;
  display: flex;
  align-items: center;
  line-height: 1;
  color: #2b323b;
  font-size: 16px;
}
.side-info-box .title hr {
  border: none;
  margin: 0;
  padding: 0;
  flex-grow: 1;
}
.side-info-box .title .btn {
  min-width: 60px;
  height: 28px;
  padding: 0 12px;
  margin-right: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  background-color: rgba(0, 0, 0, 0.08);
  border-radius: 20px;
}
.side-info-box .title .btn:hover {
  color: #fff;
  background-color: #333;
}
.side-info-box .btn-close {
  position: absolute;
  right: 0;
  top: 0;
  width: 38px;
  height: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}
.side-info-box .btn-close .icon {
  width: 18px;
  height: 2px;
  position: relative;
  top: 2px;
  background-color: #2b323b;
  border-radius: 2px;
  transform: rotate(45deg);
  pointer-events: none;
}
.side-info-box .btn-close .icon:before {
  content: "";
  display: block;
  width: 2px;
  height: 18px;
  position: absolute;
  left: 50%;
  top: 50%;
  margin: -9px 0 0 -1px;
  background-color: #2b323b;
  border-radius: 2px;
}
.side-info-box .scrollwpr {
  min-width: 300px;
  position: relative;
  min-height: 300px;
  max-height: calc(100vh - 250px);
  overflow-y: auto;
}
.side-info-box .innerwpr {
  max-width: 600px;
  min-width: 520px;
  font-size: 13px;
  line-height: 1.2;
}
.side-info-box p {
  text-align: left;
}
.side-info-box p + p {
  margin-top: 8px;
}
.side-info-box .box-hint {
  position: absolute;
  right: 10px;
  top: -28px;
  height: 28px;
  overflow: hidden;
  pointer-events: none;
}
.side-info-box .box-hint p {
  padding: 3px 8px;
  font-size: 14px;
  background-color: #FFDB94;
  border-radius: 4px 4px 0 0;
}
.side-info-box .empty-hint {
  width: 130px;
  height: 40px;
  left: 50%;
  top: 50%;
  margin: -20px 0 0 -65px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 14px;
  background-color: #b7f8d3;
  border-radius: 3px;
}
.side-info-box table {
  min-width: 100%;
}
.side-info-box table thead th {
  height: 32px;
  padding: 2px 8px;
}
.side-info-box table tbody td {
  height: 30px;
  padding: 6px 8px;
  border-bottom: 1px solid #ddd;
}
.side-info-box table tbody td .disabled {
  color: #aaa;
}
.side-info-box table .active,
.side-info-box table .initial_test_count,
.side-info-box table .timestamp,
.side-info-box table .tested_at {
  text-align: center;
}
.side-info-box .table-title {
  margin-bottom: 5px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  font-weight: 400;
  color: #333;
}
.side-info-box .table-title span {
  padding: 4px 10px;
  position: relative;
  background-color: #fff;
}
.side-info-box .table-title:before {
  content: "";
  display: block;
  width: 100%;
  height: 3px;
  position: absolute;
  left: 0;
  top: 50%;
  margin-top: -1px;
  background-color: #eee;
}
.side-info-box table + .table-title {
  margin-top: 15px;
}
.side-info-box .empty-table {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  margin: 10px 0;
  font-size: 15px;
  color: #aaa;
  background-color: #f4f4f4;
}

/*
使用範例
.hint {
    .style-hint();
}
*/
#licenseUsageReportBox {
  /*
    table {
        font-size:15px; text-align:center;

        .company,
        .company_type,
        .enable_punch_in,
        .enable_hr_bp {font-size:14px;}

        .company {text-align:left;}
    
        td._noCharge {color:#bbb;}

        .hr {margin:0 5px;}

        small {font-size:12px;}

        .charge, .nocharge {
            display:inline-block; min-width:24px;
            padding:3px 5px;            
        }
        .nocharge {
            color:#aaa;
            background-color:#eee;
        }       

        strong {background-color:#b1fdcb;}
    }
    */
}
#licenseUsageReportBox .dialog-container {
  max-width: 1400px;
  height: calc(100% - 20px);
  max-height: calc(100% - 20px);
  padding: 0;
}
#licenseUsageReportBox .content.no-scroll {
  overflow: hidden !important;
}
#licenseUsageReportBox .innerwpr {
  padding: 0;
  display: flex;
  flex-direction: column;
}
#licenseUsageReportBox .sumPanel {
  padding: 10px 20px;
  position: sticky;
  top: 0;
}
#licenseUsageReportBox .sumPanel .info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
#licenseUsageReportBox .sumPanel .info .group {
  display: flex;
  align-items: center;
}
#licenseUsageReportBox .sumPanel .info .tag {
  padding: 6px;
  margin-right: 6px;
  min-width: 26px;
  font-size: 14px;
  text-align: center;
  line-height: 1;
  white-space: nowrap;
  background-color: #f6f6f6;
  border-radius: 2px;
}
#licenseUsageReportBox .sumPanel .info .tag.type {
  background-color: #ffdc98;
}
#licenseUsageReportBox .sumPanel .info h4 {
  margin-left: 6px;
  position: relative;
  top: -1px;
  font-size: 19px;
  line-height: 1;
  font-weight: normal;
}
#licenseUsageReportBox .sumPanel .instruction li {
  list-style: disc;
  margin-left: 15px;
  font-size: 14px;
}
#licenseUsageReportBox .sumPanel .instruction li strong {
  background-color: #ffceaf;
}
#licenseUsageReportBox .reportPanel {
  position: relative;
  padding: 0 20px;
  overflow-y: auto;
}
#licenseUsageReportBox .reportPanel .fade {
  color: #bbb;
}
#licenseUsageReportBox .reportPanel table {
  text-align: center;
  border-collapse: separate;
}
#licenseUsageReportBox .reportPanel table thead {
  position: sticky;
  top: 0;
  z-index: 100;
}
#licenseUsageReportBox .reportPanel table th {
  position: relative;
  box-shadow: 0 0 0 1px #0a5c73;
  height: 26px;
}
#licenseUsageReportBox .reportPanel table th.lv2,
#licenseUsageReportBox .reportPanel table th.lv3 {
  font-size: 13px;
}
#licenseUsageReportBox .reportPanel table tr.lv1 th.single {
  background-color: #188aa0;
}
#licenseUsageReportBox .reportPanel table tr.lv2 th.single {
  background-color: #1b8095;
}
#licenseUsageReportBox .reportPanel table tr.lv1 th.multi {
  background-color: #188aa0;
}
#licenseUsageReportBox .reportPanel table tr.lv2 th.multi {
  background-color: #1b8095;
}
#licenseUsageReportBox .reportPanel table .hidden {
  display: none;
}
#licenseUsageReportBox .reportPanel table .client-sum td {
  height: 28px;
  color: #eaedf0;
  font-size: 14px;
  background-color: #2b4a68;
}
#licenseUsageReportBox .reportPanel table .client-sum td strong {
  margin-left: 0;
  margin-right: 6px;
  padding: 1px 5px;
  color: #111;
  background-color: #ffc263;
}
#licenseUsageReportBox .reportPanel table tr.t-2 {
  background-color: #d6d6d6;
}
#licenseUsageReportBox .reportPanel table tr.t-2 td {
  border-bottom-color: #bbb;
}
#licenseUsageReportBox .reportPanel table tr.t-2 .fade {
  color: #a8a8a8;
}
#licenseUsageReportBox .btnwpr {
  padding: 15px 20px;
  margin-top: 0;
}
#licenseUsageReportBox .title {
  height: 50px;
  margin: 0;
  box-sizing: border-box;
}
#licenseUsageReportBox .control-menu {
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
#licenseUsageReportBox .picker + .picker {
  margin-left: 10px;
}
#licenseUsageReportBox #LURQuerySubmit {
  width: 140px;
  height: 34px;
  margin-left: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: #fff;
  background-color: #2f333d;
  border-radius: 20px;
  cursor: pointer;
}
#licenseUsageReportBox #LURQuerySubmit:hover {
  background-color: #0088a6;
}
#licenseUsageReportBox .empty-hint .content {
  display: inline-block;
  padding: 25px;
  margin-bottom: 0;
  text-align: center;
  font-size: 15px;
}
#licenseUsageReportBox .empty-hint h4 {
  font-size: 19px;
  margin-bottom: 5px;
}
#licenseUsageReportBox .empty-hint p {
  text-align: center;
  display: block;
}
#licenseUsageReportBox.no-data #exportLURdata {
  pointer-events: none;
  color: #b3b3b3;
  background-color: #eee;
}

/*
使用範例
.hint {
    .style-hint();
}
*/
.inventory-alert-count {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
  height: 20px;
  min-width: 10px;
  margin-left: 5px;
  font-size: 12px;
  color: #fff;
  line-height: 1;
  background-color: #d96c8a;
  border-radius: 3px;
  pointer-events: none;
}
#inventoryAlertTrigger .inventory-alert-count {
  height: 18px;
}
#inventoryAlertTrigger.disabled {
  pointer-events: none;
  color: #d9d9d9;
}
#inventoryAlertTrigger.disabled .inventory-alert-count {
  background-color: #e3e3e3;
}
#inventoryAlert .content .innerwpr {
  padding: 0;
}
#inventoryAlert .minimum,
#inventoryAlert .quantity,
#inventoryAlert .difference,
#inventoryAlert ._control {
  text-align: center;
}
#inventoryAlert .minimum,
#inventoryAlert .quantity,
#inventoryAlert .difference {
  font-size: 14px;
}
#inventoryAlert td.quantity,
#inventoryAlert td.difference {
  color: #c74335;
}
#inventoryAlert ._control .wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
}
#inventoryAlert ._control .wrapper .btn {
  margin: 0;
  padding: 6px 10px;
  background-color: #e8e7e3;
  border: none;
}
#inventoryAlert ._control .wrapper .btn:hover {
  color: #fff;
  background-color: #0088a6;
}
#inventoryAlert ._control .wrapper .btn + .btn {
  margin-left: 10px;
}
#inventoryAlert ._control .wrapper .btn.active {
  color: #fff;
  background-color: #393d49;
  pointer-events: none;
}

