﻿




/* #region *************************************（ 1abel-% 標籤 ）**************************************/

/* =========================
   黃色
========================= */
.label-yellow {
    color:#e07901 !important; 
    background-color:#ffeab6 !important; 
    border:1px solid #e07901 !important; 
    border-radius:5px !important; 
    padding:5px !important;
    white-space: nowrap !important;
}

/* =========================
   藍綠色
========================= */
.label-darkcyan {
    color:darkcyan !important; 
    background-color:#DDF0F0 !important; 
    border:1px solid darkcyan !important; 
    border-radius:5px !important; 
    padding:5px !important;
    white-space: nowrap !important;
}

/* =========================
   中的-灰
========================= */
.label-title-light {
    display: inline-block; 
    padding: 7px !important;
    border-radius: 5px !important;
    color: black !important;
    background-color: #edf2f7 !important;
    line-height: 1.4;
    vertical-align: middle; 
    word-break: break-word;
    white-space: normal; 
}

/* =========================
   中的-湖水綠
========================= */
.label-title-info {
    display: inline-block; 
    padding:7px !important;
    border-radius:5px !important;
    color:white !important;
    background-color:#62c3d0 !important;
    line-height: 1.4; 
    vertical-align: middle; 
    word-break: break-word; 
    white-space: normal;
}

/* =========================
   小的-湖水綠
========================= */
.label-remark-info {
    display: inline-block; 
    padding:3px !important;
    border-radius:5px !important;
    border:1px solid darkcyan !important; 
    color:darkcyan !important;
    background-color:#DDF0F0 !important;
    line-height: 1.4; 
    vertical-align: middle; 
    word-break: break-word; 
    white-space: normal;
}

/* =========================
   小的-黃
========================= */
.label-remark-yellow {
    display: inline-block; 
    padding:3px !important;
    border-radius:5px !important;
    color:#906734 !important;
    background-color:#fefcc0 !important;
    line-height: 1.4; 
    vertical-align: middle; 
    word-break: break-word;
    white-space: normal;
}

/* =========================
   小的-橘
========================= */
.label-remark-orange {
    display: inline-block; 
    padding:3px !important;
    border-radius:5px !important;
    color:#813d26 !important;
    background-color:#feebc8 !important;
    line-height: 1.4; 
    vertical-align: middle;
    word-break: break-word;
    white-space: normal; 
}

/* =========================
   小的-粉紅
========================= */
.label-remark-pink {
    display: inline-block;
    padding:3px !important;
    border-radius:5px !important;
    color:#ef1289 !important;
    background-color:#ffe6f0 !important;
    line-height: 1.4;
    vertical-align: middle;
    word-break: break-word;
    white-space: normal; 
}

/* =========================
   偽 alert-warning 
========================= */
.label-remark-warning {
    display: inline-block; 
    padding:3px !important;
    border-radius:5px !important;
    color:#856404 !important;
    background-color:#fff3cd !important;
    border:1px solid #ffeeba !important;
    line-height: 1.4; 
    vertical-align: middle; 
    word-break: break-word; 
    white-space: normal; 
}

/* #endregion */

/* #region *************************************（ text-% 字體顏色 ）**************************************/

/* =========================
   粉紅色
========================= */
.text-pink {
    color:#ef1289 !important;
}

/* =========================
   藍灰色
========================= */
.text-mingrey {
    color:#bfccd7 !important;
}
/* #endregion */

/* #region *************************************（ %-hover 滑過樣式 ）**************************************/

.white-hover:hover,
.white-hover:focus,
.white-hover:active,
.white-hover.active {
    background-color: white !important;
    border: 1px solid white !important;
}

.bg-hover:hover {
    background: #f1f3f5;    /*3f80ea*/
    border-radius: 5px;
}
/* #endregion */

/* #region *************************************（ btn-% 按鈕 ）**************************************/

/* =========================
   btn-darkblue
========================= */
.btn-darkblue {
    padding:7px 14px 7px 14px !important;
    background-color:#5d7b9d !important;
    border:1px solid #5d7b9d !important;
    color:white !important;
    border-radius:3px !important;
    transition: background-color 0.3s, border-color 0.3s !important;
}

.btn-darkblue:hover {
    background-color:#314b67 !important;
    border:1px solid #314b67 !important;
    color:#99c1de !important;
}

.btn-darkblue:disabled {
    background-color: #e0e0e0 !important;
    border-color: #e0e0e0 !important;
    color: #a0a0a0 !important;
    cursor: not-allowed !important;
    opacity: 0.6 !important;
}

/* LinkButton 被停用時 */
.btn-darkblue.aspNetDisabled,
.aspNetDisabled.btn-darkblue {
  cursor: not-allowed !important;
  opacity: 0.6 !important;
  pointer-events: none !important;
}


/* =========================
   btn-lightyellow
========================= */
.btn-lightyellow {
    padding:1px 8px 1px 8px !important;
    background-color:#f6f7eb !important;
    border:1px solid #f6f7eb !important;
    color:black !important;
    border-radius:3px !important;
    transition: background-color 0.3s, border-color 0.3s !important;
}

.btn-lightyellow:hover {
    background-color:#fbe8ad !important;
    border:1px solid #fbe8ad !important;
    color:black !important;
}

.btn-lightyellow:disabled {
    background-color: #e0e0e0 !important;
    border-color: #e0e0e0 !important;
    color: #a0a0a0 !important;
    cursor: not-allowed !important;
    opacity: 0.6 !important;
}

/* LinkButton 被停用時 */
.btn-lightyellow.aspNetDisabled,
.aspNetDisabled.btn-lightyellow {
  cursor: not-allowed !important;
  opacity: 0.6 !important;
  pointer-events: none !important;
}


/* =========================
   btn-outline-deepblue
========================= */
.btn-outline-deepblue {
    padding:7px 14px 7px 14px !important;
    background-color:white !important;
    border:1px solid #004584 !important;
    color:#004584 !important;
    border-radius:3px !important;
    transition: background-color 0.3s, border-color 0.3s !important;
}

.btn-outline-deepblue:hover {
    background-color:#4581b8 !important;
    border:1px solid #4581b8 !important;
    color:white !important;
}

.btn-outline-deepblue:disabled {
    background-color: #e0e0e0 !important;
    border-color: #e0e0e0 !important;
    color: #a0a0a0 !important;
    cursor: not-allowed !important;
    opacity: 0.6 !important;
}

/* LinkButton 被停用時 */
.btn-outline-deepblue.aspNetDisabled,
.aspNetDisabled.btn-outline-deepblue {
  cursor: not-allowed !important;
  opacity: 0.6 !important;
  pointer-events: none !important;
}


/* =========================
   btn-lightred 簽核同意
============================ */
.btn-lightred {
    padding:7px 14px 7px 14px !important;
    background-color:#e85d04 !important;
    border:1px solid #e85d04 !important;
    color:#ffbf69 !important;
    border-radius:3px !important;
    transition: background-color 0.3s, border-color 0.3s !important;
}

.btn-lightred:hover {
    background-color:#dc2f02 !important;
    border:1px solid #e85d04 !important;
    color:#ffbf69 !important;
}

.btn-lightred:disabled {
    background-color: #e0e0e0 !important;
    border-color: #e0e0e0 !important;
    color: #a0a0a0 !important;
    cursor: not-allowed !important;
    opacity: 0.6 !important;
}

/* LinkButton 被停用時 */
.btn-lightred.aspNetDisabled,
.aspNetDisabled.btn-lightred {
  cursor: not-allowed !important;
  opacity: 0.6 !important;
  pointer-events: none !important;
}



/* =========================
   btn-lightgreen 簽核駁回
============================ */
.btn-lightgreen {
    padding:7px 14px 7px 14px !important;
    background-color:#e9edc9 !important;
    border:1px solid #e9edc9 !important;
    color:#85be9f !important;
    border-radius:3px !important;
    transition: background-color 0.3s, border-color 0.3s !important;
}

.btn-lightgreen:hover {
    background-color:#d4e09b !important;
    border:1px solid #d4e09b !important;
    color:#a3b18a !important;
}

.btn-lightgreen:disabled {
    background-color: #e0e0e0 !important;
    border-color: #e0e0e0 !important;
    color: #a0a0a0 !important;
    cursor: not-allowed !important;
    opacity: 0.6 !important;
}

/* LinkButton 被停用時 */
.btn-lightgreen.aspNetDisabled,
.aspNetDisabled.btn-lightgreen {
  cursor: not-allowed !important;
  opacity: 0.6 !important;
  pointer-events: none !important;
}



/* =========================
   btn-soft-primary
============================ */
.btn-soft-primary {
  color: #377dff !important;
  background-color: #ebf2ff !important;
  border: 1px solid #ebf2ff !important;
  transition: background-color 0.3s ease, border-color 0.3s ease !important;
}

.btn-soft-primary:hover,
.btn-soft-primary:focus,
.btn-soft-primary:active,
.btn-soft-primary.active,
.show > .btn-soft-primary.dropdown-toggle {
  color: white !important;
  background-color: #377dff !important;
  border-color: #377dff !important;
  outline: none !important;
  box-shadow: none !important;
}

.btn-soft-primary:disabled {
    cursor: not-allowed !important;
    opacity: 0.6 !important;
}

/* LinkButton 被停用時 */
.btn-soft-primary.aspNetDisabled,
.aspNetDisabled.btn-soft-primary {
  cursor: not-allowed !important;
  opacity: 0.6 !important;
  pointer-events: none !important;
}


/* =========================
   btn-soft-success
============================ */
.btn-soft-success {
  color: #00c9a7 !important;
  background-color: #e5f9f6 !important;
  border: 1px solid #e5f9f6 !important;
}

.btn-soft-success:hover,
.btn-soft-success:focus,
.btn-soft-success:active,
.btn-soft-success.active,
.show > .btn-soft-success.dropdown-toggle {
  color: white !important;
  background-color: #00c9a7 !important;
  border-color: #00c9a7 !important;
  outline: none !important;
  box-shadow: none !important;
}

.btn-soft-success:disabled {
    cursor: not-allowed !important;
    opacity: 0.6 !important;
}

/* LinkButton 被停用時 */
.btn-soft-success.aspNetDisabled,
.aspNetDisabled.btn-soft-success {
  cursor: not-allowed !important;
  opacity: 0.6 !important;
  pointer-events: none !important;
}


/* =========================
   btn-soft-warning
============================ */
.btn-soft-warning {
  color: #f5ca99 !important;
  background-color: #fefaf5 !important;
  border: 1px solid #fefaf5 !important;
}

.btn-soft-warning:hover,
.btn-soft-warning:focus,
.btn-soft-warning:active,
.btn-soft-warning.active,
.show > .btn-soft-warning.dropdown-toggle {
  color: white !important;
  background-color: #f5ca99 !important;
  border-color: #f5ca99 !important;
  outline: none !important;
  box-shadow: none !important;
}

.btn-soft-warning:disabled {
    cursor: not-allowed !important;
    opacity: 0.6 !important;
}

/* LinkButton 被停用時 */
.btn-soft-warning.aspNetDisabled,
.aspNetDisabled.btn-soft-warning {
  cursor: not-allowed !important;
  opacity: 0.6 !important;
  pointer-events: none !important;
}



/* =========================
   btn-soft-danger
============================ */
.btn-soft-danger {
  color: #ed4c78 !important;
  background-color: #fdedf1 !important;
  border: 1px solid #fdedf1 !important;
}

.btn-soft-danger:hover,
.btn-soft-danger:focus,
.btn-soft-danger:active,
.btn-soft-danger.active,
.show > .btn-soft-danger.dropdown-toggle {
  color: white !important;
  background-color: #ed4c78 !important;
  border-color: #ed4c78 !important;
  outline: none !important;
  box-shadow: none !important;
}

.btn-soft-danger:disabled {
    cursor: not-allowed !important;
    opacity: 0.6 !important;
}

/* LinkButton 被停用時 */
.btn-soft-danger.aspNetDisabled,
.aspNetDisabled.btn-soft-danger {
  cursor: not-allowed !important;
  opacity: 0.6 !important;
  pointer-events: none !important;
}


/* =========================
   btn-soft-secondary
============================ */
.btn-soft-secondary {
  color: #71869d !important;
  background-color: #f1f3f5 !important;
  border: 1px solid #f1f3f5 !important;
}

.btn-soft-secondary:hover,
.btn-soft-secondary:focus,
.btn-soft-secondary:active,
.btn-soft-secondary.active,
.show > .btn-soft-secondary.dropdown-toggle {
  color: white !important;
  background-color: #71869d !important;
  border-color: #71869d !important;
  outline: none !important;
  box-shadow: none !important;
}

.btn-soft-secondary:disabled {
    cursor: not-allowed !important;
    opacity: 0.6 !important;
}

/* LinkButton 被停用時 */
.btn-soft-secondary.aspNetDisabled,
.aspNetDisabled.btn-soft-secondary {
  cursor: not-allowed !important;
  opacity: 0.6 !important;
  pointer-events: none !important;
}



/* =========================
   btn-soft-info
============================ */
.btn-soft-info {
  color: #09a5be !important;
  background-color: #e6f6f8 !important;
  border: 1px solid #e6f6f8 !important;
}

.btn-soft-info:hover,
.btn-soft-info:focus,
.btn-soft-info:active,
.btn-soft-info.active,
.show > .btn-soft-info.dropdown-toggle {
  color: white !important;
  background-color: #09a5be !important;
  border-color: #09a5be !important;
  outline: none !important;
  box-shadow: none !important;
}

.btn-soft-info:disabled {
    cursor: not-allowed !important;
    opacity: 0.6 !important;
}

/* LinkButton 被停用時 */
.btn-soft-info.aspNetDisabled,
.aspNetDisabled.btn-soft-info {
  cursor: not-allowed !important;
  opacity: 0.6 !important;
  pointer-events: none !important;
}


/* =========================
   btn-soft-purple
============================ */
.btn-soft-purple {
  color: #6f42c1 !important;
  background-color: #f2e7ff !important;
  border: 1px solid #f2e7ff !important;
}
.btn-soft-purple:hover,
.btn-soft-purple:focus,
.btn-soft-purple:active,
.btn-soft-purple.active,
.show > .btn-soft-purple.dropdown-toggle {
  color: white !important;
  background-color: #6f42c1 !important;
  border-color: #6f42c1 !important;
  box-shadow: none !important;
}
.btn-soft-purple:disabled {
  cursor: not-allowed !important;
  opacity: 0.6 !important;
}

/* LinkButton 被停用時 */
.btn-soft-purple.aspNetDisabled,
.aspNetDisabled.btn-soft-purple {
  cursor: not-allowed !important;
  opacity: 0.6 !important;
  pointer-events: none !important;
}


/* =========================
   btn-soft-pink
============================ */
.btn-soft-pink {
  color: #e83e8c !important;
  background-color: #ffe6f0 !important;
  border: 1px solid #ffe6f0 !important;
}
.btn-soft-pink:hover,
.btn-soft-pink:focus,
.btn-soft-pink:active,
.btn-soft-pink.active,
.show > .btn-soft-pink.dropdown-toggle {
  color: white !important;
  background-color: #e83e8c !important;
  border-color: #e83e8c !important;
  box-shadow: none !important;
}
.btn-soft-pink:disabled {
  cursor: not-allowed !important;
  opacity: 0.6 !important;
}

/* LinkButton 被停用時 */
.btn-soft-pink.aspNetDisabled,
.aspNetDisabled.btn-soft-pink {
  cursor: not-allowed !important;
  opacity: 0.6 !important;
  pointer-events: none !important;
}



/* =========================
   btn-soft-indigo (紫藍色)
============================ */
.btn-soft-indigo {
  color: #6610f2 !important;
  background-color: #f0e8ff !important;
  border: 1px solid #f0e8ff !important;
}
.btn-soft-indigo:hover,
.btn-soft-indigo:focus,
.btn-soft-indigo:active,
.btn-soft-indigo.active,
.show > .btn-soft-indigo.dropdown-toggle {
  color: white !important;
  background-color: #6610f2 !important;
  border-color: #6610f2 !important;
  box-shadow: none !important;
}
.btn-soft-indigo:disabled {
  cursor: not-allowed !important;
  opacity: 0.6 !important;
}

/* LinkButton 被停用時 */
.btn-soft-indigo.aspNetDisabled,
.aspNetDisabled.btn-soft-indigo {
  cursor: not-allowed !important;
  opacity: 0.6 !important;
  pointer-events: none !important;
}

/* =========================
   btn-soft-orange
============================ */
.btn-soft-orange {
  color: #fd7e14 !important;
  background-color: #fff3e6 !important;
  border: 1px solid #fff3e6 !important;
}
.btn-soft-orange:hover,
.btn-soft-orange:focus,
.btn-soft-orange:active,
.btn-soft-orange.active,
.show > .btn-soft-orange.dropdown-toggle {
  color: white !important;
  background-color: #fd7e14 !important;
  border-color: #fd7e14 !important;
  box-shadow: none !important;
}
.btn-soft-orange:disabled {
  cursor: not-allowed !important;
  opacity: 0.6 !important;
}

/* LinkButton 被停用時 */
.btn-soft-orange.aspNetDisabled,
.aspNetDisabled.btn-soft-orange {
  cursor: not-allowed !important;
  opacity: 0.6 !important;
  pointer-events: none !important;
}

/* =========================
   btn-soft-sky
============================ */
.btn-soft-sky {
  color: #3f9efc !important;
  background-color: #e6f4ff !important;
  border: 1px solid #e6f4ff !important;
}
.btn-soft-sky:hover,
.btn-soft-sky:focus,
.btn-soft-sky:active,
.btn-soft-sky.active,
.show > .btn-soft-sky.dropdown-toggle {
  color: white !important;
  background-color: #3f9efc !important;
  border-color: #3f9efc !important;
  box-shadow: none !important;
}
.btn-soft-sky:disabled {
  cursor: not-allowed !important;
  opacity: 0.6 !important;
}

/* LinkButton 被停用時 */
.btn-soft-sky.aspNetDisabled,
.aspNetDisabled.btn-soft-sky {
  cursor: not-allowed !important;
  opacity: 0.6 !important;
  pointer-events: none !important;
}

/* =========================
   btn-soft-lime (青綠色)
============================ */
.btn-soft-lime {
  color: #a3cf4a !important;
  background-color: #f4fbe6 !important;
  border: 1px solid #f4fbe6 !important;
}
.btn-soft-lime:hover,
.btn-soft-lime:focus,
.btn-soft-lime:active,
.btn-soft-lime.active,
.show > .btn-soft-lime.dropdown-toggle {
  color: white !important;
  background-color: #a3cf4a !important;
  border-color: #a3cf4a !important;
  box-shadow: none !important;
}
.btn-soft-lime:disabled {
  cursor: not-allowed !important;
  opacity: 0.6 !important;
}

/* LinkButton 被停用時 */
.btn-soft-lime.aspNetDisabled,
.aspNetDisabled.btn-soft-lime {
  cursor: not-allowed !important;
  opacity: 0.6 !important;
  pointer-events: none !important;
}

/* =========================
   btn-soft-blue
============================ */
.btn-blue {
  color: #ecf4fa !important;
  background-color: #99c1de !important;
  border: 1px solid #99c1de !important;
}

.btn-blue:hover,
.btn-blue:focus,
.btn-blue:active,
.btn-blue.active,
.show > .btn-blue.dropdown-toggle {
  color: white !important;
  background-color: #79abd0 !important;
  border-color: #79abd0 !important;
  outline: none !important;
  box-shadow: none !important;
}

.btn-blue:disabled {
    cursor: not-allowed !important;
    opacity: 0.6 !important;
}

/* LinkButton 被停用時 */
.btn-blue.aspNetDisabled,
.aspNetDisabled.btn-blue {
  cursor: not-allowed !important;
  opacity: 0.6 !important;
  pointer-events: none !important;
}


/* =========================
   btn-excel
============================ */
.btn-excel {
  color: white !important;
  background-color: #85be9f !important;
  border: 1px solid #85be9f !important;
}

.btn-excel:hover,
.btn-excel:focus,
.btn-excel:active,
.btn-excel.active,
.show > .btn-excel.dropdown-toggle {
  color: white !important;
  background-color: #1f7246 !important;
  border-color: #1f7246 !important;
  outline: none !important;
  box-shadow: none !important;
}

.btn-excel:disabled {
    cursor: not-allowed !important;
    opacity: 0.6 !important;
}

/* LinkButton 被停用時 */
.btn-excel.aspNetDisabled,
.aspNetDisabled.btn-excel {
  cursor: not-allowed !important;
  opacity: 0.6 !important;
  pointer-events: none !important;
}


/* =========================
   btn-line
============================ */
.btn-line {
  color: #0f3442 !important;
  background-color: #c9ec9e !important;
  border: 1px solid #c9ec9e !important;
  border-radius: 50px !important;
  transition: all 0.15s ease-in-out;
}

.btn-line:hover,
.btn-line:focus,
.btn-line:active,
.btn-line.active,
.show > .btn-line.dropdown-toggle {
  color: #0f3442 !important;
  background-color: #b0dc7a !important;
  border-color: #b0dc7a !important;
  outline: none !important;
  box-shadow: none !important;
}

.btn-line:disabled {
    cursor: not-allowed !important;
    opacity: 0.6 !important;
}

/* LinkButton 被停用時 */
.btn-line.aspNetDisabled,
.aspNetDisabled.btn-line {
  cursor: not-allowed !important;
  opacity: 0.6 !important;
  pointer-events: none !important;
}

.btn-line i,
.btn-line label,
.btn-line span {
    display: inline-block !important;
    line-height: 1 !important;
    vertical-align: middle !important;
}




/* =========================
   btn-deep-radius
============================ */
.btn-deep-radius {
  color: #647990 !important;
  background-color: #e7e9ec !important;
  border: 1px solid #e7e9ec !important;
  border-radius: 50px !important;
  transition: all 0.15s ease-in-out;
}

.btn-deep-radius:hover,
.btn-deep-radius:focus,
.btn-deep-radius:active,
.btn-deep-radius.active,
.show > .btn-deep-radius.dropdown-toggle {
  color: #647990 !important;
  background-color: #dadce1 !important;
  border-color: #dadce1 !important;
  outline: none !important;
  box-shadow: none !important;
}

.btn-deep-radius:disabled {
    cursor: not-allowed !important;
    opacity: 0.6 !important;
}

/* LinkButton 被停用時 */
.btn-deep-radius.aspNetDisabled,
.aspNetDisabled.btn-deep-radius {
  cursor: not-allowed !important;
  opacity: 0.6 !important;
  pointer-events: none !important;
}

.btn-deep-radius i,
.btn-deep-radius label,
.btn-deep-radius span {
    display: inline-block !important;
    line-height: 1 !important;
    vertical-align: middle !important;
}



/* =========================
   btn-blue-radius
============================ */
.btn-blue-radius {
  color: #ecf4fa !important;
  background-color: #99c1de !important;
  border: 1px solid #99c1de !important;
  border-radius: 50px !important;
  transition: all 0.15s ease-in-out;
}

.btn-blue-radius:hover,
.btn-blue-radius:focus,
.btn-blue-radius:active,
.btn-blue-radius.active,
.show > .btn-blue-radius.dropdown-toggle {
  color: #ecf4fa !important;
  background-color: #79abd0 !important;
  border-color: #79abd0 !important;
  outline: none !important;
  box-shadow: none !important;
}

.btn-blue-radius:disabled {
    cursor: not-allowed !important;
    opacity: 0.6 !important;
}

/* LinkButton 被停用時 */
.btn-blue-radius.aspNetDisabled,
.aspNetDisabled.btn-blue-radius {
  cursor: not-allowed !important;
  opacity: 0.6 !important;
  pointer-events: none !important;
}

.btn-blue-radius i,
.btn-blue-radius label,
.btn-blue-radius span {
    display: inline-block !important;
    line-height: 1 !important;
    vertical-align: middle !important;
}





/* =========================
   btn-red-outline-radius (外框型)
============================ */
.btn-red-outline-radius {
  color: #dc3545 !important;
  background-color: #ffffff !important;
  border: 2px solid #dc3545 !important;
  border-radius: 50px !important;
  transition: all 0.15s ease-in-out;
}

.btn-red-outline-radius:hover,
.btn-red-outline-radius:focus,
.btn-red-outline-radius:active,
.btn-red-outline-radius.active,
.show > .btn-red-outline-radius.dropdown-toggle {
  color: #dc3545 !important;
  background-color: #ffced2 !important;
  border-color: #dc3545 !important;
  outline: none !important;
  box-shadow: none !important;
}

.btn-red-outline-radius:disabled {
    cursor: not-allowed !important;
    opacity: 0.6 !important;
}

/* LinkButton 被停用時 */
.btn-red-outline-radius.aspNetDisabled,
.aspNetDisabled.btn-red-outline-radius {
  cursor: not-allowed !important;
  opacity: 0.6 !important;
  pointer-events: none !important;
}

.btn-red-outline-radius i,
.btn-red-outline-radius label,
.btn-red-outline-radius span {
    display: inline-block !important;
    line-height: 1 !important;
    vertical-align: middle !important;
}


/* =========================
   btn-black-outline-radius (外框型)
============================ */
.btn-black-outline-radius {
  color: #444141 !important;
  background-color: #ffffff !important;
  border: 2px solid #444141 !important;
  border-radius: 50px !important;
  transition: all 0.15s ease-in-out;
}

.btn-black-outline-radius:hover,
.btn-black-outline-radius:focus,
.btn-black-outline-radius:active,
.btn-black-outline-radius.active,
.show > .btn-black-outline-radius.dropdown-toggle {
  color: #444141 !important;
  background-color: #e0e0e0 !important;
  border-color: #444141 !important;
  outline: none !important;
  box-shadow: none !important;
}

.btn-black-outline-radius:disabled {
    cursor: not-allowed !important;
    opacity: 0.6 !important;
}

/* LinkButton 被停用時 */
.btn-black-outline-radius.aspNetDisabled,
.aspNetDisabled.btn-black-outline-radius {
  cursor: not-allowed !important;
  opacity: 0.6 !important;
  pointer-events: none !important;
}

.btn-black-outline-radius i,
.btn-black-outline-radius label,
.btn-black-outline-radius span {
    display: inline-block !important;
    line-height: 1 !important;
    vertical-align: middle !important;
}












/* =========================
   btn-lightgrey
============================ */
.btn-lightgrey {
  color: black !important;
  background-color: #f0f0f0 !important;
  border: 1px solid #f0f0f0 !important;
}

.btn-lightgrey:hover,
.btn-lightgrey:focus,
.btn-lightgrey:active,
.btn-lightgrey.active,
.show > .btn-lightgrey.dropdown-toggle {
  color: black !important;
  background-color: #d4d4d4 !important;
  border-color: #d4d4d4 !important;
  outline: none !important;
  box-shadow: none !important;
}

.btn-lightgrey:disabled {
    background-color: #e0e0e0 !important;
    border-color: #e0e0e0 !important;
    color: #a0a0a0 !important;
    cursor: not-allowed !important;
    opacity: 0.6 !important;
}

/* LinkButton 被停用時 */
.btn-lightgrey.aspNetDisabled,
.aspNetDisabled.btn-lightgrey {
  cursor: not-allowed !important;
  opacity: 0.6 !important;
  pointer-events: none !important;
}


/* =========================
   btn-green
============================ */
.btn-green {
  color: #eff8ef !important;
  background-color: #a8d5a2 !important;
  border: 1px solid #a8d5a2 !important;
}

.btn-green:hover,
.btn-green:focus,
.btn-green:active,
.btn-green.active,
.show > .btn-green.dropdown-toggle {
  color: white !important;
  background-color: #8ccf87 !important;
  border-color: #8ccf87 !important;
  outline: none !important;
  box-shadow: none !important;
}

.btn-green:disabled {
  cursor: not-allowed !important;
  opacity: 0.6 !important;
}

/* LinkButton 被停用時 */
.btn-green.aspNetDisabled,
.aspNetDisabled.btn-green {
  cursor: not-allowed !important;
  opacity: 0.6 !important;
  pointer-events: none !important;
}


/* =========================
   btn-red
============================ */
.btn-red {
  color: #fff1f1 !important;
  background-color: #d15422 !important; 
  border: 1px solid #d15422 !important;
}

.btn-red:hover,
.btn-red:focus,
.btn-red:active,
.btn-red.active,
.show > .btn-red.dropdown-toggle {
  color: white !important;
  background-color: #f28686 !important;
  border-color: #f28686 !important;
  outline: none !important;
  box-shadow: none !important;
}

.btn-red:disabled {
  cursor: not-allowed !important;
  opacity: 0.6 !important;
}

/* LinkButton 被停用時 */
.btn-red.aspNetDisabled,
.aspNetDisabled.btn-red {
  cursor: not-allowed !important;
  opacity: 0.6 !important;
  pointer-events: none !important;
}


/* =========================
   btn-yellow
============================ */
.btn-yellow {
  color: #5a5a00 !important;
  background-color: #fcf89c !important;
  border: 1px solid #fcf89c !important;
}

.btn-yellow:hover,
.btn-yellow:focus,
.btn-yellow:active,
.btn-yellow.active,
.show > .btn-yellow.dropdown-toggle {
  color: white !important;
  background-color: #e0c200 !important;
  border-color: #e0c200 !important;
}

.btn-yellow:disabled {
  cursor: not-allowed !important;
  opacity: 0.6 !important;
}

/* LinkButton 被停用時 */
.btn-yellow.aspNetDisabled,
.aspNetDisabled.btn-yellow {
  cursor: not-allowed !important;
  opacity: 0.6 !important;
  pointer-events: none !important;
}


/* =========================
   btn-purple
============================ */
.btn-purple {
  color: #f6f0ff !important;
  background-color: #c3b3e5 !important;
  border: 1px solid #c3b3e5 !important;
}

.btn-purple:hover,
.btn-purple:focus,
.btn-purple:active,
.btn-purple.active,
.show > .btn-purple.dropdown-toggle {
  color: white !important;
  background-color: #a891d9 !important;
  border-color: #a891d9 !important;
  outline: none !important;
  box-shadow: none !important;
}

.btn-purple:disabled {
  cursor: not-allowed !important;
  opacity: 0.6 !important;
}

/* LinkButton 被停用時 */
.btn-purple.aspNetDisabled,
.aspNetDisabled.btn-purple {
  cursor: not-allowed !important;
  opacity: 0.6 !important;
  pointer-events: none !important;
}


/* =========================
   btn-gray
============================ */
.btn-gray {
  color: #f8f9fa !important;
  background-color: #ced4da !important;
  border: 1px solid #ced4da !important;
}

.btn-gray:hover,
.btn-gray:focus,
.btn-gray:active,
.btn-gray.active,
.show > .btn-gray.dropdown-toggle {
  color: white !important;
  background-color: #adb5bd !important;
  border-color: #adb5bd !important;
  outline: none !important;
  box-shadow: none !important;
}

.btn-gray:disabled {
  cursor: not-allowed !important;
  opacity: 0.6 !important;
}

/* LinkButton 被停用時 */
.btn-gray.aspNetDisabled,
.aspNetDisabled.btn-gray {
  cursor: not-allowed !important;
  opacity: 0.6 !important;
  pointer-events: none !important;
}




/* =========================
   btn-normal
============================ */
.btn-normal {
  color: white !important;
  background-color: #3182ce !important;
  border: 1px solid #3182ce !important;
}

.btn-normal:hover,
.btn-normal:focus,
.btn-normal:active,
.btn-normal.active,
.show > .btn-normal.dropdown-toggle {
  color: white !important;
  background-color: #125a9e !important;
  border-color: #125a9e !important;
  outline: none !important;
  box-shadow: none !important;
}

.btn-normal:disabled {
  cursor: not-allowed !important;
  opacity: 0.6 !important;
}

/* LinkButton 被停用時 */
.btn-normal.aspNetDisabled,
.aspNetDisabled.btn-normal {
  cursor: not-allowed !important;
  opacity: 0.6 !important;
  pointer-events: none !important;
}



/* =========================
   btn-state (審核未按)
============================ */
.btn-state {
    color:#71869d !important;
    background-color: #f1f3f5 !important;
    border: 1px solid #f1f3f5 !important;
    border-radius: 30px !important;
    letter-spacing: 3px !important;
}

.btn-state:hover,
.btn-state:focus,
.btn-state:active,
.btn-state.active,
.show > .btn-state.dropdown-toggle {
    color: #71869d !important;
    background-color: #eaeef3 !important;
    border-color: #eaeef3 !important;
    outline: none !important;
    box-shadow: none !important;
}

.btn-state:disabled {
    cursor: not-allowed !important;
    opacity: 0.6 !important;
}

/* LinkButton 被停用時 */
.btn-state.aspNetDisabled,
.aspNetDisabled.btn-state {
  cursor: not-allowed !important;
  opacity: 0.6 !important;
  pointer-events: none !important;
}


/* =========================
   btn-agree-active (核准已按)
============================ */
.btn-agree-active {
    color: white !important;
    background-color: #409eff !important;
    border: 1px solid #409eff !important;
    border-radius: 30px !important;
    letter-spacing: 3px !important;
}

.btn-agree-active:hover,
.btn-agree-active:focus,
.btn-agree-active:active,
.btn-agree-active.active,
.show > .btn-agree-active.dropdown-toggle {
    color: white !important;
    background-color: #1a70c9 !important;
    border-color: #1a70c9 !important;
    outline: none !important;
    box-shadow: none !important;
}

.btn-agree-active:disabled {
    cursor: not-allowed !important;
    opacity: 0.6 !important;
}

/* LinkButton 被停用時 */
.btn-agree-active.aspNetDisabled,
.aspNetDisabled.btn-agree-active {
    cursor: not-allowed !important;
    opacity: 0.6 !important;
    pointer-events: none !important;
}



/* =========================
   btn-reject-active (駁回已按)
============================ */
.btn-reject-active {
    color: white !important;
    background-color: #f56c6c !important;
    border: 1px solid #f56c6c !important;
    border-radius: 30px !important;
    letter-spacing: 3px !important;
}

.btn-reject-active:hover,
.btn-reject-active:focus,
.btn-reject-active:active,
.btn-reject-active.active,
.show > .btn-reject-active.dropdown-toggle {
    color: white !important;
    background-color: #d84e4e !important;
    border-color: #d84e4e !important;
    outline: none !important;
    box-shadow: none !important;
}

.btn-reject-active:disabled {
    cursor: not-allowed !important;
    opacity: 0.6 !important;
}

/* LinkButton 被停用時 */
.btn-reject-active.aspNetDisabled,
.aspNetDisabled.btn-reject-active {
  cursor: not-allowed !important;
  opacity: 0.6 !important;
  pointer-events: none !important;
}





/* =========================
   btn-Comments
============================ */
.btn-Comments {
  color: #0000ff !important;
  background-color: #f2d2bd !important;
  border: 1px solid #f2d2bd !important;
}

.btn-Comments:hover,
.btn-Comments:focus,
.btn-Comments:active,
.btn-Comments.active,
.show > .btn-Comments.dropdown-toggle {
  color: #0000ff !important;
  background-color: #e9bda0 !important;
  border-color: #e9bda0 !important;
}

.btn-Comments:disabled {
  cursor: not-allowed !important;
  opacity: 0.6 !important;
}

/* LinkButton 被停用時 */
.btn-Comments.aspNetDisabled,
.aspNetDisabled.btn-Comments {
  cursor: not-allowed !important;
  opacity: 0.6 !important;
  pointer-events: none !important;
}


/* =========================
   btn-Status
============================ */
.btn-Status {
  color: #c54b8c !important;
  background-color: #f8c8dc !important;
  border: 1px solid #f8c8dc !important;
  text-underline-position: below !important;
}

.btn-Status:hover,
.btn-Status:focus,
.btn-Status:active,
.btn-Status.active,
.show > .btn-Status.dropdown-toggle {
  color: #c54b8c !important;
  background-color: #f0aac7 !important;
  border-color: #f0aac7 !important;
}

.btn-Status:disabled {
  cursor: not-allowed !important;
  opacity: 0.6 !important;
}

/* LinkButton 被停用時 */
.btn-Status.aspNetDisabled,
.aspNetDisabled.btn-Status {
  cursor: not-allowed !important;
  opacity: 0.6 !important;
  pointer-events: none !important;
}


/* =========================
   btn-usual-round
============================ */
.btn-usual-round {
    color: #71869d !important;
    background-color: #f1f3f5 !important;
    border: 1px solid #f1f3f5 !important;
    transition: all 0.25s ease;

    border-radius: 999px;
    padding: 6px 16px;
    margin: 4px 6px;
    font-size: 14px;
}

.btn-usual-round i,
.btn-usual-round label,
.btn-usual-round span {
    display: inline-block !important;
    line-height: 1 !important;
    vertical-align: middle !important;
}


.btn-usual-round:hover,
.btn-usual-round:focus,
.show > .btn-usual-round.dropdown-toggle {
    color: #377dff !important;
    outline: none !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 1.5px 1px rgba(0, 0, 0, 0.08) !important;
    background-color: #f1f3f5 !important;
    border: 1px solid #f1f3f5 !important;
}

.btn-usual-round:active,
.btn-usual-round.active,
.show > .btn-usual-round.dropdown-toggle {
    color: #377dff !important;
    outline: none !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 1.5px 1px rgba(0, 0, 0, 0.08) !important;
    background-color: #e0e0e0 !important;
    border: 1px solid #e0e0e0 !important;
}

.btn-usual-round:disabled {
    cursor: not-allowed !important;
    opacity: 0.6 !important;
}

/* LinkButton 被停用時 */
.btn-usual-round.aspNetDisabled,
.aspNetDisabled.btn-usual-round {
  cursor: not-allowed !important;
  opacity: 0.6 !important;
  pointer-events: none !important;
}


/* 針對 white-hover */
.btn-usual-round.white-hover:hover,
.btn-usual-round.white-hover:focus,
.btn-usual-round.white-hover:active,
.btn-usual-round.white-hover.active {
    background-color: white !important;
    border: 1px solid white !important;
}

/* 針對 btn-sm  */
.btn-usual-round.btn-sm {
    padding: 3px 8px;
    margin: 2px 3px;
    transform: translateY(-1px) !important;
}

/* 針對 border  */
.btn-usual-round.border {
    border: 1px solid #ced4da  !important; 
}






/* 針對 excel  */
.btn-usual-round.excel {
    color: #fff !important;
    background-color: #85be9f !important;
    border-color: #85be9f !important;
}

.btn-usual-round.excel:hover,
.btn-usual-round.excel:focus,
.btn-usual-round.excel:active {
    color: #fff !important;
    background-color: #1f7246 !important;
    border-color: #1f7246 !important;
}






/* =========================
   btn-usual
========================= */
.btn-usual,
.btn-usual:link,
.btn-usual:visited {
  color: #71869d;
  background-color: #f1f3f5;
  border: 1px solid #f1f3f5;
  transition: all 0.25s ease;
}

.btn-usual.round {
  padding: 6px 12px;
  border-radius: 999px !important;
}

.btn-usual:hover,
.btn-usual:focus,
.btn-usual:active,
.btn-usual.active,
.show > .btn-usual.dropdown-toggle {
  color: #377dff;
  background-color: #f1f3f5;
  border-color: #f1f3f5;
  outline: none !important;
  box-shadow: 0 1.5px 1px rgba(0, 0, 0, 0.08) !important;
  transform: translateY(-2px) !important;
}

.btn-usual:disabled {
    cursor: not-allowed !important;
    opacity: 0.6 !important;
}

/* LinkButton 被停用時 */
.btn-usual.aspNetDisabled,
.aspNetDisabled.btn-usual {
  cursor: not-allowed !important;
  opacity: 0.6 !important;
  pointer-events: none !important;
}



/* =========================
   btn-usual-deep
========================= */
.btn-usual-deep,
.btn-usual-deep:link,
.btn-usual-deep:visited {
  color: #71869d;
  background-color: #e7e9ec;
  border: 1px solid #e7e9ec;
  transition: all 0.25s ease;
}

.btn-usual-deep.round {
  padding: 6px 12px;
  border-radius: 999px !important;
}

.btn-usual-deep:hover,
.btn-usual-deep:focus,
.btn-usual-deep:active,
.btn-usual-deep.active,
.show > .btn-usual-deep.dropdown-toggle {
  color: #377dff;
  background-color: #e7e9ec;
  border-color: #e7e9ec;
  outline: none !important;
  box-shadow: 0 1.5px 1px rgba(0, 0, 0, 0.08) !important;
  transform: translateY(-2px) !important;
}

.btn-usual-deep:disabled {
    cursor: not-allowed !important;
    opacity: 0.6 !important;
}

/* LinkButton 被停用時 */
.btn-usual-deep.aspNetDisabled,
.aspNetDisabled.btn-usual-deep {
  cursor: not-allowed !important;
  opacity: 0.6 !important;
  pointer-events: none !important;
}


/* =========================
   btn-usual-danger
========================= */
.btn-usual-danger,
.btn-usual-danger:link,
.btn-usual-danger:visited {
  color: white;
  background-color: #dc3545;
  border: 1px solid #dc3545;
  transition: all 0.25s ease;
}

.btn-usual-danger.round {
  padding: 6px 12px;
    border-radius: 999px !important;
  }

.btn-usual-danger:hover,
.btn-usual-danger:focus,
.btn-usual-danger:active,
.btn-usual-danger.active,
.show > .btn-usual-danger.dropdown-toggle {
  color: white;
  background-color: #fa5e6d;
  border-color: #fa5e6d;
  outline: none !important;
  box-shadow: 0 1.5px 1px rgba(0, 0, 0, 0.08) !important;
  transform: translateY(-2px) !important;
}

.btn-usual-danger:disabled {
    cursor: not-allowed !important;
    opacity: 0.6 !important;
}

/* LinkButton 被停用時 */
.btn-usual-danger.aspNetDisabled,
.aspNetDisabled.btn-usual-danger {
  cursor: not-allowed !important;
  opacity: 0.6 !important;
  pointer-events: none !important;
}

/* =========================
   btn-usual-selected-round
========================= */
.btn-usual-selected-round {
    color:#495057 !important;          
    background-color: #fff !important;
    border: 1px solid #dee2e6 !important;
    transition: all 0.25s ease;
    border-radius: 999px;
    padding: 6px 16px;
    margin: 4px 6px;
    font-size: 14px;
}

.btn-usual-selected-round i,
.btn-usual-selected-round label,
.btn-usual-selected-round span {
    display: inline-block !important;
    line-height: 1 !important;
    vertical-align: middle !important;
}

.btn-usual-selected-round:hover,
.show > .btn-usual-selected-round.dropdown-toggle {
    color:#495057 !important;      
    outline: none !important;
    box-shadow: 0 1.5px 1px rgba(0, 0, 0, 0.08) !important;
    background-color: #f1f3f5 !important;
    border: 1px solid #7e91a6 !important;
}

.btn-usual-selected-round:focus,
.show > .btn-usual-selected-round.dropdown-toggle {
    color:#495057 !important;     
    border: 1px solid #dee2e6 !important;
    transition: all 0.25s ease;
    box-shadow: none !important;  
    border-radius: 999px;
    padding: 6px 16px;
    margin: 4px 6px;
}

.btn-usual-selected-round:active,
.btn-usual-selected-round.active,
.show > .btn-usual-selected-round.dropdown-toggle {
    color: #e83e8c !important;
    background-color: #ffe5f1 !important;
    border-color: #e83e8c !important;
    outline: none !important;
    box-shadow: 0 1.5px 1px rgba(0, 0, 0, 0.08) !important;
}

.btn-usual-selected-round:disabled {
    cursor: not-allowed !important;
    opacity: 0.6 !important;
}

/* LinkButton 被停用時 */
.btn-usual-selected-round.aspNetDisabled,
.aspNetDisabled.btn-usual-selected-round {
  cursor: not-allowed !important;
  opacity: 0.6 !important;
  pointer-events: none !important;
}

/* 手機版取消置頂 */
@media (max-width: 768px) {
    .btn-usual-selected-round {
        font-size: 11px !important;
    }
}
/* #endregion */

/* #region *************************************（ 其他 ）**************************************/

/* ============================================================
   form-inline，條件區域，在手機模式下換行，但上下間距不緊貼
================================================================  */
@media (max-width: 767px) {
    .form-inline .btn {
        margin-top: 10px !important;    
        margin-bottom: 10px !important;  
    }

    .form-inline .title {
        margin-top: 10px !important;      
        margin-bottom: 10px !important;          
    }
}

/* ===================================
   個人基本資料變更，電話號碼專用
====================================== */
  .tel-horizontal {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 4px !important;
    overflow-x: auto !important;  /* 避免窄螢幕硬擠造成換行 */
  }

  .tel-horizontal input {
    min-width: 60px !important;
  }

/* ===================================
   在手機模式下物件和物件是水平排列
====================================== */
  .mobile-inline {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
  }

/* =======================================================================
   文件簽署使用(FW97002Z)
   ，因為 <dl>, <dt>, <dd> 這些元素在某些 Bootstrap 或自訂樣式的情況下
   ，會被重設樣式，導致它們不像預設 HTML 那樣有縮排或換行
========================================================================== */
  dl {
    margin-left: 1em !important;
  }

  dt {
    font-weight: normal !important;  
    margin-top: 1em !important;
  }

  dd {
    margin-left: 1.5em !important;
    margin-bottom: 0.5em !important;
  }

  dl dl {
    margin-top: 0.5em !important;
    margin-bottom: 0.5em !important;
  }

  dl dt:before {
    content: "" !important;
    display: block !important;
  }


/* ===============================
   手機模式覆蓋 img-fluid 的效果
================================== */
@media (max-width: 576px) {
    .img-fluid {
        max-width: calc(100vw - 32px) !important;
        height: auto !important;
        width: auto !important; 
        display: block !important;
        margin: 0 auto !important;
    }
}

/* ======================================
   只讓 .no-bold-header 內的 th 不粗體
========================================= */
.no-bold-thead thead th {
    font-weight: normal !important;
}

/* ===========================================================
   備註「有」alert 所使用 (手機模式 X 軸啟用、Y 軸不啟用）
============================================================== */
.remark-scroll {
    overflow-x: auto !important;
    width: 100% !important;
}

.remark-scroll .alert {
    display: inline-block !important;
    min-width: 610px !important; 
}

.remark-scroll .alert span {
    display: block !important;
    width: 100% !important;
    padding-left: 1.5em !important;
    text-indent: -1em !important;
    white-space: normal !important;
    word-break: break-word !important;
    margin-bottom: 0.5em !important;
}

@media (min-width: 768px) {
    .remark-scroll .alert {
    display: block !important;     
    min-width: 100% !important;     
    }

    .remark-scroll .alert span {
    white-space: normal !important;    
    word-break: break-word !important;
    }
}


/* ===========================================================
   備註「沒有」alert 所使用 (手機模式 X 軸啟用、Y 軸不啟用）
============================================================== */
.remark {
  width: 100%;
  overflow-x: visible;
  white-space: normal;
  word-break: break-word;
}

@media (max-width: 768px) {
  .remark {
    overflow-x: auto;
    display: block;
  }

  .remark span {
    display: block;        
    min-width: 600px;       
    white-space: normal;     
    margin-bottom: 5px;
    word-break: break-word;
  }
}


/* ===========================================================
   備註「有」alert 所使用 (手機模式 X 軸啟用、Y 軸不啟用）
============================================================== */
.remark-horizal {
    overflow-x: auto !important;
    width: 100% !important;
}

.remark-horizal .alert {
    display: inline-block !important;
    min-width: 610px !important; 
}

.remark-horizal .alert span {
    display: block !important;
    width: 100% !important;
    white-space: normal !important;
    word-break: break-word !important;
    margin-bottom: 0.5em !important;
}

@media (min-width: 768px) {
    .remark-horizal .alert {
        display: block !important;     
        min-width: 100% !important;     
    }

    .remark-horizal .alert span {
        white-space: normal !important;    
        word-break: break-word !important;
    }
}

/* =========================
   文件樣式
========================= */
.doc-content {
    background-color:#ffffcc !important;
    border-radius: 10px !important;
    white-space: pre-line !important;
    line-height: 1.2 !important;
    padding: 10px !important;
    display: block !important;
}

/* =========================
   line-v-center
========================= */
.line-v-center {
    height: 35px;     
    line-height: 35px;
}

/* ============================
   按鈕和按鈕間的間距水平分配
=============================== */
.justify-content-evenly {
    display: flex !important;
    justify-content: space-evenly !important;
}


/* ===========================================================
   手機模式下，會出現深灰色顏色字標題，電腦模式下維持黑色
============================================================== */
@media (max-width: 767.98px) {
    .label-sm {
        color: #587592 !important;
    }
}

/* =================================
   外層 container 控制水平滾動
==================================== */
.text-container {
    display: flex !important;  
    flex-direction: column !important; 
    overflow-x: auto !important;    
    overflow-y: hidden !important; 
    padding-bottom: 0px !important;             
    scrollbar-width: thin !important;          
    scrollbar-color: #fbfaf6 #fff !important; 
}


/* ======================================
   在平板螢幕大小(md)以下，不可以換行
========================================= */
.text-md-down-nowrap {
  white-space: normal !important;
}

@media (max-width: 991.98px) {
  .text-md-down-nowrap {
    white-space: nowrap !important;
  }
}


/* =========================
   資料空時的圖片
========================= */
.empty-img {
    width: 140px;
    height: 140px;
    background-color: white;   
    border-radius: 50%;          
    padding: 20px;          
    object-fit: contain;     
    margin-bottom:20px;
}


/* =========================
   Tooltip 設定
========================= */
.popup {
    position: absolute !important;
    max-width: 250px !important;
    white-space: normal !important;
    word-break: break-word !important;
    z-index: 9999 !important;
}


/* ==================================
   手機模式下不換行，電腦模式換行
===================================== */
@media (max-width: 768px) {
    .text-sm-nowrap {
        white-space: nowrap !important;
    }
}

@media (min-width: 768px) {
    .text-md-nowrap {
        white-space: nowrap !important;
    }
}


/* ==================================
   電腦以上不換行
===================================== */
@media (min-width: 992px) {
  .text-lg-nowrap {
    white-space: nowrap !important;
  }
}

/* ==================================
   陰影四面都平均一樣
===================================== */
.shadow-avr {
    box-shadow: 0 0 0.5rem rgba(0,0,0,.12) !important;
    padding-top: 0 !important;
}
/* #endregion */

/* #region *************************************（ sticky ）**************************************/

/* =========================
   搜尋區會置頂
========================= */
.sticky-search {
    position: sticky !important;
    top: 66px !important;
    z-index: 999 !important;
    background-color: #fff !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}

/*手機模式下不換行*/
@media (max-width: 768px) {
    .sticky-search.is-stuck {
        box-shadow: 0 4px 6px -4px rgba(0, 0, 0, 0.15);
    }
}

.sticky-search-2 {
    position: sticky !important;
    top: 117px !important;
    z-index: 999 !important;
    background-color: #fff !important;
    padding-top: 10px !important;
    padding-bottom: 15px !important;
}


/* =========================
   頁籤區會置頂
========================= */
.sticky-tab {
    position: sticky !important;
    top: 66px !important;
    z-index: 999 !important;
    background-color: #fff !important;
    padding-top: 5px !important;
    padding-bottom: 5px !important;
}

.sticky-button {
    position: sticky !important;
    top: 66px !important;
    z-index: 999 !important;
    background-color: #fff !important;
    padding-top: 4px !important;
    padding-bottom: 7px !important;
}
/* #endregion */

/* #region *************************************（ Silde Panel ）**************************************/

/* =========================
   從下往上冒出來的版面
========================= */
.bottom-slide-panel {
    position: fixed !important;
    bottom: -100% !important;
    left: 250px !important;
    width: calc(100% - 250px) !important;                   /*扣掉左側目錄欄的寬度 */
    height: auto !important;
    max-height: 80vh !important;
    background-color: #fff !important;
    border-top: 1px solid #ccc !important;
    box-shadow: 0 -2px 5px rgba(0,0,0,0.2) !important;
    padding: 20px !important;
    overflow: auto !important;
    z-index: 9999 !important;
    transition: bottom 0.3s ease-in-out !important;
}

.bottom-slide-panel.show {
    bottom: 0 !important;
}

@media (max-width: 768px) {
    .bottom-slide-panel {
        left: 0 !important;
        width:100% !important;
        max-height: 80vh !important;
    }
}

/* =========================
   從右往左冒出來的版面
========================= */
.right-slide-panel {
    position: fixed !important;
    top: 0 !important;
    right: -100% !important;                            /* 一開始隱藏在畫面右側 */
    width: 43vw !important; 
    height: 100vh !important;
    background-color: #fff !important;
    border-left: 1px solid #ccc !important;
    box-shadow: -2px 0 5px rgba(0,0,0,0.2) !important;
    padding-top: 10px !important;
    padding-left: 30px !important;
    padding-right: 30px !important;
    overflow: auto !important;
    z-index: 9999 !important;
    transition: right 0.3s ease-in-out !important;
}

.right-slide-panel.show {
    right: 0 !important;                                /* 顯示時滑進畫面 */
}

@media (max-width: 768px) {
    .right-slide-panel {
        width: 90vw !important; 
        margin-top: 0px !important;
    }
}

/* =========================
   Right Slide Panel 遮罩
========================= */
.right-slide-mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0,0,0,0.4);
    z-index: 9998; 
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease-in-out;
}

/* 當面板打開時顯示遮罩 */
.right-slide-panel.show + .right-slide-mask {
    opacity: 1;
    pointer-events: auto;
}
/* #endregion */

/* #region *************************************（ scrollbar ）**************************************/

/* =========================
   淡灰色
========================= */
.scroll-thin-light {
    scrollbar-width: thin !important;              
    scrollbar-color: #f7f6f3 #fff !important;        
}

/* =========================
   enable
========================= */
.scroll-thin-enable {
    scrollbar-width: thin !important;                      
    scrollbar-color: #e9ecef Transparent !important;       
}

/* =========================
   淡淺灰
========================= */
.scroll-light {
    scrollbar-color: #f8f9fa #fff !important;      
}
/* #endregion */

/* #region *************************************（ autocomplete ）**************************************/
.autocomplete-menu {
    max-height: 250px;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 1050;
}

.autocomplete-item {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.autocomplete-item:hover {
    background-color: #e9ecef;
    cursor: pointer;
}

.ac-highlight {
    font-weight: 700;
    color: #5398e3;
}

.autocomplete-item-active {
    background-color: #e9ecef;  
}
/* #endregion */

/* #region *************************************（ rounded-% 圓角 ）**************************************/

.rounded-2 {
    border-radius: 1rem !important;
}

.rounded-3 {
    border-radius: 1.5rem !important;
}
/* #endregion */

/* #region *************************************（ cursor-% 滑鼠屬標 ）**************************************/

/* =========================
   手指
========================= */
.cursor-pointer {
    cursor: pointer !important;
}
/* #endregion */




/* #region *************************************（ w-% 寬度 ）**************************************/

/* =========================
   w-sm-100
========================= */
@media (max-width:991.98px ) { 
  .w-sm-100 {
    width: 100% !important;
  }

  .card .w-sm-100 {
    width: 100% !important;
  }

  .d-flex .w-sm-100 {
    display: block !important;
    width: 100% !important;
  }

  .d-sm-flex .w-sm-100 {
    display: block !important;
    width: 100% !important;
  }

  select.w-sm-100 {
    width: 100% !important;
  }

  .flow-card .w-sm-100,
  .flow-card .d-flex .w-sm-100,
  .flow-card select.w-sm-100 {
    width: 100% !important;
    display: block !important; 
  }

  input.w-sm-100 {
    display: block !important;
    width: 100% !important;
  }
}


/*--------------- BS4 已經有了---------------------*/
/*
.w-auto {
  width: auto !important;
}

.w-25 {
  width: 25% !important;
}

.w-50 {
  width: 50% !important;
}

.w-75 {
  width: % !important;
}

.w-100 {
  width: 100% !important;
}
*/


/* =========================
   w-%
========================= */
.w-10 {
  width: 10% !important;
}

.w-15 {
  width: 15% !important;
}

.w-20 {
  width: 20% !important;
}

.w-30 {
  width: 30% !important;
}

.w-39 {
  width: 39% !important;
}

.w-41 {
  width: 41% !important;
}

.w-45 {
  width: 45% !important;
}

.w-65 {
  width: 65% !important;
}

.w-80 {
  width: 80% !important;
}

.w-85 {
  width: 85% !important;
}

.w-90 {
  width: 90% !important;
}



/* =========================
   w-sm-%
========================= */
@media (min-width: 576px) {
  .w-sm-auto {
    width: auto !important;
  }

  .w-sm-10 {
    width: 10% !important;
  }

  .w-sm-15 {
    width: 15% !important;
  }

  .w-sm-20 {
    width: 20% !important;
  }

  .w-sm-25 {
    width: 25% !important;
  }

  .w-sm-30 {
    width: 30% !important;
  }

  .w-sm-39 {
    width: 39% !important;
  }

  .w-sm-41 {
    width: 41% !important;
  }

  .w-sm-45 {
    width: 45% !important;
  }

  .w-sm-50 {
    width: 50% !important;
  }

  .w-sm-65 {
    width: 65% !important;
  }

  .w-sm-75 {
    width: 75% !important;
  }

  .w-sm-80 {
    width: 80% !important;
  }

  .w-sm-85 {
    width: 85% !important;
  }

  .w-sm-90 {
    width: 90% !important;
  }

  /*.w-sm-100 {
    width: 100% !important;
  }*/
}

/* =========================
   w-md-%
========================= */
@media (min-width: 768px) {
  .w-md-auto {
    width: auto !important;
  }

  .w-md-10 {
    width: 10% !important;
  }

  .w-md-15 {
    width: 15% !important;
  }

  .w-md-20 {
    width: 20% !important;
  }

  .w-md-25 {
    width: 25% !important;
  }

  .w-md-30 {
    width: 30% !important;
  }

  .w-md-39 {
    width: 39% !important;
  }

  .w-md-41 {
    width: 41% !important;
  }

  .w-md-45 {
    width: 45% !important;
  }

  .w-md-50 {
    width: 50% !important;
  }

  .w-md-65 {
    width: 65% !important;
  }

  .w-md-75 {
    width: 75% !important;
  }

  .w-md-80 {
    width: 80% !important;
  }

  .w-md-85 {
    width: 85% !important;
  }

  .w-md-90 {
    width: 90% !important;
  }

  /*.w-md-100 {
    width: 100% !important;
  }*/
}

/* =========================
   w-lg-%
========================= */
@media (min-width: 992px) {
  .w-lg-auto {
    width: auto !important;
  }

  .w-lg-10 {
    width: 10% !important;
  }

  .w-lg-15 {
    width: 15% !important;
  }

  .w-lg-20 {
    width: 20% !important;
  }

  .w-lg-25 {
    width: 25% !important;
  }

  .w-lg-30 {
    width: 30% !important;
  }

  .w-lg-39 {
    width: 39% !important;
  }

  .w-lg-41 {
    width: 41% !important;
  }

  .w-lg-45 {
    width: 45% !important;
  }

  .w-lg-50 {
    width: 50% !important;
  }   
  
   .w-lg-65 {
    width: 65% !important;
  }  

  .w-lg-75 {
    width: 75% !important;
  }

  .w-lg-80 {
    width: 80% !important;
  }

  .w-lg-85 {
    width: 85% !important;
  }

  .w-lg-90 {
    width: 90% !important;
  }

  /*.w-lg-100 {
    width: 100% !important;
  }*/
}

/* =========================
   w-xl-%
========================= */
@media (min-width: 1200px) {
  .w-xl-auto {
    width: auto !important;
  }

  .w-xl-10 {
    width: 10% !important;
  }

  .w-xl-15 {
    width: 15% !important;
  }

  .w-xl-20 {
    width: 20% !important;
  }

  .w-xl-25 {
    width: 25% !important;
  }

  .w-xl-30 {
    width: 30% !important;
  }

  .w-xl-39 {
    width: 39% !important;
  }

  .w-xl-41 {
    width: 41% !important;
  }

  .w-xl-45 {
    width: 45% !important;
  }

  .w-xl-50 {
    width: 50% !important;
  }

  .w-xl-65 {
    width: 65% !important;
  }

  .w-xl-75 {
    width: 75% !important;
  }

  .w-xl-80 {
    width: 80% !important;
  }

  .w-xl-85 {
    width: 85% !important;
  }

  .w-xl-90 {
    width: 90% !important;
  }

  /*.w-xl-100 {
    width: 100% !important;
  }*/
}
/* #endregion */








/* #region *************************************（ tooltip-% 說明樣式 ）**************************************/

/* =========================
   背景白色
========================= */
.tooltip-light {
    opacity: 0 !important;
    transition: opacity 0.3s ease-in-out;
}

.tooltip-light.show {
    opacity: 1 !important;
}

.tooltip-light .tooltip-inner {
    background-color: #f0f0f0 !important;
    color: #5b5b5b !important;
    text-align: left !important;
    max-width: 500px !important;
}

.tooltip-light.bs-tooltip-top .arrow::before {
    border-top-color: #f0f0f0 !important;
}

.tooltip-light.bs-tooltip-bottom .arrow::before {
    border-bottom-color: #f0f0f0 !important;
}

.tooltip-light.bs-tooltip-left .arrow::before {
    border-left-color: #f0f0f0 !important;
}

.tooltip-light.bs-tooltip-right .arrow::before {
    border-right-color: #f0f0f0 !important;
}


/* #endregion */







/* #region *************************************（ font-size-% 字體 ）**************************************/
.fs-13 {
    font-size: 13px !important;
}

.fs-14 {
    font-size: 14px !important;
}

.fs-15 {
    font-size: 15px !important;
}

.fs-16 {
    font-size: 16px !important;
}



/* =========================
   font-size-md-%
========================= */
@media (min-width: 768px) {
    .fs-md-13 {
        font-size: 13px !important;
    }

    .fs-md-14 {
        font-size: 14px !important;
    }

    .fs-md-15 {
        font-size: 15px !important;
    }

    .fs-md-16 {
        font-size: 16px !important;
    }
}

/* =========================
   font-size-lg-%
========================= */
@media (min-width: 992px) {
    .fs-lg-13 {
        font-size: 13px !important;
    }

    .fs-lg-14 {
        font-size: 14px !important;
    }

    .fs-lg-15 {
        font-size: 15px !important;
    }

    .fs-lg-16 {
        font-size: 16px !important;
    }
}

/* =========================
   font-size-xl-%
========================= */
@media (min-width: 1200px) {
    .fs-xl-13 {
        font-size: 13px !important;
    }

    .fs-xl-14 {
        font-size: 14px !important;
    }

    .fs-xl-15 {
        font-size: 15px !important;
    }

    .fs-xl-16 {
        font-size: 16px !important;
    }
}

/* #endregion */



