@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@100;300;400;500;700;900&display=swap');
/*-- Reset Code --*/
:root {
    /*--wordColor: #808080;*/
    /*--wordColor2: #505050;*/
    --wordColor: #505050;
    --wordColor2: #303030;
    --secondColor: #fff6d4; /*#c1e7ff */
    --thirdColor: #ffd578;
    --fourth: #691615;
    --mainColor: #c67d30; /* #0087d7 */
    --lightColor: #fffaed; /* #eff9ff */
    --darkColor: #421500; /* #1b4a67 */
    --dangerColor: #d26934;
    --inputBgColor: #d2ffff;
    --inputNeedColor: #FFF8DC;
    --iconColor: #ffd549;
    --cardBg: #FFFEFB;
    --cardBgSecond: #fcf1d5;
    --primary-orange: #f4b44d; /* 主要橘黃色 */
    --light-cream: #f9f0d4; /* 淺米色 */
    --dark-brown: #443737; /* 深棕色 */
    --soft-cream: #f9f1d7; /* 淺奶油色 */
    --deep-orange: #d08824; /* 深橘色 */
    --golden-yellow: #f0bb41; /* 金黃色 */
    --white: #ffffff;
    --text-dark: #333333;
    --text-gray: #666666;
    --btnBgColor: #ffb549;
}
/*禁止區塊反白選取*/
* {
    user-select: none;
    -webkit-user-select: none; /* Chrome Safari */
    -moz-user-select: none; /* Firefox */
}
/* 長按連結／圖片不跳出網址或儲存選單（避免露出這是網頁） anny 20260728 */
a, img {
    -webkit-touch-callout: none;
    -webkit-user-drag: none;
}
/*禁止 double-tap*/
html, body {
    touch-action: manipulation;
    overscroll-behavior: none; /* iPad：減少橡皮筋回彈（iOS16+ 生效；不影響原本捲動、低風險）*/
}
body {
    padding: 0;
    margin: 0;
    /*background: #FFF;*/
    /*font-family: 'Noto Sans TC', sans-serif;*/
    /*font-family: "Noto Sans TC", "Microsoft JhengHei", sans-serif, serif;*/
    font-family: 'Noto Sans TC', 'Roboto', sans-serif,'Microsoft JhengHei', serif;
    color: var(--wordColor);
    background-color: #fffdf7;
    background-repeat: no-repeat;
    background-position: bottom;
    min-height: 100vh;
    /*background-image: linear-gradient(to right, #ddeaff, #ffffff 100%);*/
}
.bg-a{
    background-image: linear-gradient(to top, #6db2ff 0%, #ffffff 100%);
}
.d-layout-none {
    /*display: none !important;*/
}
.test-t {
    display: none;
    color: #FF5151;
    position: fixed;
}

/*big font size++*/
body *:not(i, .swal2-container *) { /*content*/
    font-size: 20px;
}
body .f-title, body .f-title *, body .title-1, body .title-1 * { /*title*/
    font-size: 22px;
}
body .form-control, body .form-select {
    font-size: 20px;
}
body .btn {
    font-size: 22px;
}
body .swal2-container .swal2-actions {
    font-size: 22px;
}
/*big font size--*/

/*small font size++*/
body.font-weak *:not(i, .swal2-container *) { /*content*/
    font-size: 16px;
}
body.font-weak .f-title, body.font-weak .f-title *, body.font-weak .title-1, body.font-weak .title-1 * { /*title*/
    font-size: 20px;
}
body.font-weak .form-control, body.font-weak .form-select {
    font-size: 16px;
}
body.font-weak .btn {
    font-size: 20px;
}
body.font-weak .swal2-container .swal2-actions {
    font-size: 20px;
}
/*small font size--*/

body a {
	transition: 0s all;
	-webkit-transition: 0s all;
	-o-transition: 0s all;
	-ms-transition: 0s all;
	text-decoration: none;
    color: #ffb549;
}
body a:hover {
	text-decoration: none;
}
body a:focus, a:hover {
	text-decoration: none;
	outline:none;
}
input[type="button"], input[type="submit"], button.btn {
	-webkit-transition: 0s all;
	-moz-transition: 0s all;
	-o-transition: 0s all;
	-ms-transition: 0s all;
	transition: 0s all;
}
.btn-cls-shadow {
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
}
h1, h2, h3, h4, h5, h6 {
    margin: 0;
    padding: 0;
    font-family: 'Noto Sans TC', sans-serif;
    letter-spacing: 1.2px;
    font-weight: 600;   /* 23.12.07 add */
}
ul {
	margin: 0;
	padding: 0;
}
label {
	margin: 0;
}
.label-title {
    font-size: 15px;
    color: var(--wordColor);
}
.need-tip {
    float: right;
    color: var(--dangerColor);
    font-size: 14px;
    background-color: var(--inputNeedColor);
    padding: 0px 10px;
}
.label-point-red-none::before { /*不檢查(字串前)*/
    content: "*";
    color: var(--dangerColor);
    font-size: 30px;
    vertical-align: middle;
    margin: 0px 0px 0px -15px;
    position: absolute;
}
.label-point-red::before { /*檢查(字串前)*/
    content: "*";
    color: var(--dangerColor);
    font-size: 30px;
    vertical-align: middle;
    margin: 0px 0px 0px -15px;
    position: absolute;
}
.label-point-red.miss::before { /*檢查(字串前)*/
    /*content: "*需填寫";
    vertical-align: inherit;
    font-size: 16px;
    color: #cc0033;
    border-radius: 10px;
    padding: 1px 5px;
    margin-left: 5px;
    background-color: antiquewhite;*/
    /*content: "*";
    color: var(--dangerColor);
    font-size: 18px;
    padding: 0px 3px;
    vertical-align: middle;*/
}

.label-point-red-none::after {/*不檢查(字串後)*/
    /*content: "*";
    color: var(--dangerColor);
    font-size: 18px;
    padding: 0px 3px;
    vertical-align: middle;*/
}
.label-point-red::after { /*檢查(字串後)*/
    /*content: "*";
    color: var(--dangerColor);
    font-size: 18px;
    padding: 0px 3px;
    vertical-align: middle;*/
}
.label-point-red.miss::after { /*檢查(字串後)*/
    /*content: "*需填寫";
    vertical-align: inherit;
    font-size: 16px;
    color: #cc0033;
    border-radius: 10px;
    padding: 1px 5px;
    margin-left: 5px;
    background-color: antiquewhite;*/

    /*content: "*";
    color: var(--dangerColor);
    font-size: 18px;
    padding: 0px 3px;
    vertical-align: middle;*/
}
.error-border {
    border: 1px solid #cc0033 !important;
}
.text-center {
    text-align: center;
}
.spinner-grow {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    vertical-align: text-bottom;
    background-color: currentColor;
    border-radius: 50%;
    opacity: 0;
    -webkit-animation: spinner-grow .75s linear infinite;
    animation: spinner-grow .75s linear infinite;
}
.sticky-top {
    z-index: 10;
}

.hidden {
    visibility: hidden;
}
.w-95 {
    width: 95%;
}
.w-90 {
    width: 90%;
}
.w-85 {
    width: 85%;
}
.w-80 {
    width: 80%;
}
.w-70 {
    width: 70%;
}
.w-65 {
    width: 65%;
}
.w-60 {
    width: 60%;
}
.w-55 {
    width: 55%;
}
.w-45 {
    width: 45%;
}
.w-40 {
    width: 40%;
}
.w-35 {
    width: 35%;
}
.w-30 {
    width: 30%;
}
.w-20 {
    width: 20%;
}
.w-15 {
    width: 15%;
}
.w-10 {
    width: 10%;
}
.w-5 {
    width: 5%;
}
.form-control[readonly] {
    background-color: #ffffff;
    /*background-color: var(--inputBgColor);*/
}
.form-control[readonly].form-need-bg {
    background-color: var(--inputNeedColor);
}
body.swal2-no-backdrop .swal2-container {
    background-color: rgba(0,0,0, 0.4) !important;
}
.swal-bg-blue {
    /*background-image: linear-gradient(-225deg, #5d9fff, #b8dcff 48%, #63b7fe);*/
}
.swal-bg-a {
    background-color: var(--lightColor);
}
/*body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown), html.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown) {
    height: 100% !important;
    overflow-y: visible !important;
}*/
.pdf {
    width: 100%;
    aspect-ratio: 4 / 3;
}

/*range theme and appearance*/
input[type="range"] {
    font-size: 1.5rem;
    /*width: 12.5em;*/
}
input[type="range"] {
    color: #ef233c;
    --thumb-height: 1.125em;
    --track-height: 0.125em;
    --track-color: rgba(200, 200, 200, 1);
    --brightness-hover: 180%;
    --brightness-down: 80%;
    --clip-edges: 0.125em;
}
input[type="range"].win10-thumb {
    color: #3a86ff;
    --thumb-height: 1.1em;
    --thumb-width: 0.5em;
    --clip-edges: 0.0125em;
}
input[type="range"] {
    position: relative;
    background: #fff0;
    overflow: hidden;
}
input[type="range"]:active {
    cursor: grabbing;
}
input[type="range"]:disabled {
    filter: grayscale(1);
    opacity: 0.3;
    cursor: not-allowed;
}
/* range WebKit specific styles */
input[type="range"],
input[type="range"]::-webkit-slider-runnable-track,
input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    transition: all ease 100ms;
    height: var(--thumb-height);
}
input[type="range"]::-webkit-slider-runnable-track,
input[type="range"]::-webkit-slider-thumb {
    position: relative;
}
input[type="range"]::-webkit-slider-thumb {
    --thumb-radius: calc((var(--thumb-height) * 0.5) - 1px);
    --clip-top: calc((var(--thumb-height) - var(--track-height)) * 0.5 - 0.5px);
    --clip-bottom: calc(var(--thumb-height) - var(--clip-top));
    --clip-further: calc(100% + 1px);
    --box-fill: calc(-100vmax - var(--thumb-width, var(--thumb-height))) 0 0 100vmax currentColor;
    width: var(--thumb-width, var(--thumb-height));
    background: linear-gradient(currentColor 0 0) scroll no-repeat left center / 50% calc(var(--track-height) + 1px);
    background-color: currentColor;
    box-shadow: var(--box-fill);
    border-radius: var(--thumb-width, var(--thumb-height));
    filter: brightness(100%);
    clip-path: polygon( 100% -1px, var(--clip-edges) -1px, 0 var(--clip-top), -100vmax var(--clip-top), -100vmax var(--clip-bottom), 0 var(--clip-bottom), var(--clip-edges) 100%, var(--clip-further) var(--clip-further) );
}
input[type="range"]::-webkit-slider-runnable-track {
    background: linear-gradient(var(--track-color) 0 0) scroll no-repeat center / 100% calc(var(--track-height) + 1px);
}
input[type="range"]:disabled::-webkit-slider-thumb {
    cursor: not-allowed;
}
.range-span{
    margin-top: -10px;
}
/*.input {
    background-color: #fffcf5 !important;
}
.input:focus {
    background-color: #fffcf5 !important;
}
.input:-webkit-autofill {
    background-color: #fffcf5 !important;
}*/

/*-- //Reset-Code --*/
.main-btn {
    /* letter-spacing: 2px; */
    /* background-color: var(--mainColor); */
    /* border-radius: 50px; */
    /*width: 150px;
    height: 50px;*/
    /* width: auto; */ /* 2024.05.24 original */
    width: 250px; /* 2024.05.24 change */
    height: auto;
    background-color: var(--btnBgColor);
    color: #ffffff;
    border-radius: 25px;
    /*line-height: 50px;
    padding: 0;*/
    /* line-height: 40px; */ /* 2024.05.24 original */
    line-height: 2.3em; /* 2024.05.24 change */
    padding: 0px 20px;
}
.main-btn:hover {
    background-color: var(--secondColor);
    color: var(--mainColor);
    font-weight: 500;
}
.main-btn.btn:disabled {
    background-color: #777777;
    color: #ffffff;
}
.temp-btn, .temp-btn:active, .temp-btn:focus, .temp-btn:hover {
    padding: 2px 10px;
    color: #ffffff;
    background-color: var(--btnBgColor);
    letter-spacing: 2px;
}
a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
    display: flex;
    justify-content: center;
    margin: 0 auto;
    align-items: center;
    flex-direction: row;
}
.navbar-toggler {
    padding-top: 0.3rem;
    padding-bottom: 0.3rem;
}
.navbar-toggler:focus {
    box-shadow: 0 0 0 0.12rem;
}
.navbar-toggler{
    padding: 0.1rem 0.2rem;
}
.navbar {
    padding-top: 0.1rem;
    padding-bottom: 0.1rem;
}
body input::placeholder {
    color: #cfcfcf !important;
    opacity: 1;
}
hr.hr-one {
    border: 0;
    height: 1px;
    background: #333;
    background-image: linear-gradient(to right, #ccc, #333, #ccc);
    width:90%;
    margin: 0 auto;
}
.page-back {
    line-height: 16px;
    font-size: 14px;
    margin-top: 0px;
    color: #333333;
    position: absolute;
    right: 10px;
    padding: 2px 2px;
    border-bottom: 1px inset #666666;
}
.page-back a{
    color: #666666;
}
/*.page-back:before {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 10px;
    height: 10px;
    content: "";
    border-top: 1px solid #666666;
    border-left: 1px solid #666666;
    opacity: 1;
}
.page-back::after {
    position: absolute;
    right: 0px;
    bottom: 0px;
    width: 10px;
    height: 10px;
    content: "";
    border-right: 1px solid #666666;
    border-bottom: 1px solid #666666;
    opacity: 1;
}*/
.main-mt{
    margin-top: 35px;
}
.f-title {
    font-size: 18px;
    /* color: #1b4a6b;*/
    color: var(--darkColor);
    padding-bottom: 5px;
    border-bottom: 1px solid var(--darkColor);
    font-weight: 600;
}
.form-label {
    margin-top: .3rem;
}
.form-control, .form-select {
    /*border: none;*/
    border-radius: 0.5rem;
    /*border: 2px solid var(--secondColor);*/
    /*border: 1px solid #3d87d4;*/
    border: 1px solid var(--mainColor);
    color: var(--wordColor);
    line-height: 1.5;
    letter-spacing: 2px;
    /*background-color: var(--inputBgColor);*/
}
.form-check-input {
    /*background-color: var(--inputBgColor);*/
}
.tip-border{
    border: 1px solid #ff0000;
}
.form-need-bg {
    background-color: var(--inputNeedColor);
/*    border: 1px solid #ff0000;*/
}
.form-needback {
    background-color: var(--inputNeedColor);
    border: 1px solid var(--mainColor);
}
.gutip{
    display: none;
}
.form-needback > .gutip{
    display: inline;
}
.form-need-border {
    border: 2px solid #f49943;
}
.form-needback-border {
    border: 1px solid var(--mainColor) !important;
}
.form-needback-border-top {
    border-top: 1px solid var(--mainColor) !important;
}
.form-needback-border-left {
    border-left: 1px solid var(--mainColor) !important;
}
.form-needback-border-right {
    border-right: 1px solid var(--mainColor) !important;
}
.form-needback-border-bottom {
    border-bottom: 1px solid var(--mainColor) !important;
}
.form-select {
    font-size: 1.2rem;
}
.btn {
    border-radius: 0.5rem;
    border: 1px solid var(--btnBgColor);
}
.btn.confirm-btn-bg {
    /*background-image: linear-gradient(211deg, #e8ebf2, #e2e7ed 1.68%, #036ad0 83.19%, rgb(3, 51, 98)), linear-gradient(to bottom, rgba(0, 0, 0, 0.02) 50%, rgba(255, 255, 255, 0.02) 61%, rgba(0, 0, 0, 0.02) 73%), linear-gradient(33deg, rgba(255, 255, 255, 0.20) 0%, rgba(0, 0, 0, 0.20) 100%);*/
    /*background-image: linear-gradient(211deg, #e8ebf2, #003472 1.68%, rgb(3, 51, 98)), linear-gradient(to bottom, rgba(0, 0, 0, 0.02) 50%, rgba(255, 255, 255, 0.02) 61%, rgba(0, 0, 0, 0.02) 73%), linear-gradient(33deg, rgba(255, 255, 255, 0.20) 0%, rgba(0, 0, 0, 0.20) 100%);*/
    /*background-image: linear-gradient(to top, rgb(66, 21, 0) 0%, rgb(66, 21, 0) 1%, rgb(105, 22, 21) 100%);*/
    background-image: linear-gradient(to top, rgb(255 255 255) 0%, rgb(255 169 63) 1%, rgb(255 197 111) 100%);
    color: #fff;
}
.form-check-input:checked {
    background-color: var(--mainColor);
    border-color: var(--mainColor);
}


/*--datepicker++*/
.ui-datepicker .ui-datepicker-buttonpane button {
    font-weight: bold;
    opacity: 1;
}
.ui-datepicker th {
    padding: .5em .3em;
    border: 1px solid #ffffff;
    border-bottom: 1px solid #ffffff;
}
.ui-datepicker th.ui-datepicker-week-end {
    background: #ffcdcd;
}
.ui-datepicker td span, .ui-datepicker td a {
    text-align: center;
}
.ui-datepicker-week-end a.ui-state-default, .ui-datepicker-week-end span.ui-state-default {
    background: #ffcdcd;
    opacity: 0.9;
}
.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default, .ui-button, html .ui-button.ui-state-disabled:hover, html .ui-button.ui-state-disabled:active {
    border: 1px solid var(--iconColor);
    color: var(--darkColor);
}
.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active, a.ui-button:active, .ui-button:active, .ui-button.ui-state-active:hover {
    background: #ffb76c !important;
    color: #fffcf9;
}
.ui-widget-header {
    border: 1px solid #c67d30;
}
.ui-widget.ui-widget-content {
    border: 1px solid #dddddd;
}

/*--datepicker--*/

.row > div {
    margin-top: 1rem;
}
.row > .row {
    margin-top: 0px;
    padding-right: 0px;
    padding-left: 0px;
    margin: 0 auto;
}
.form-check .form-check-input {
    float: left;
    margin-left: -1.2em;
    margin-right: 0.5rem;
}
.rounded {
    border-radius: 0.25rem !important;
    border: 1px solid var(--wordColor);
    line-height: 25px;
    color: var(--wordColor);
}
.mvh-80 {
    min-height: 80vh;
}
.mvh-90 {
    min-height: 90vh;
}
.mvh-100{
    min-height: 100vh;
}
.copyright {
    /*background-color: var(--mainColor);*/
    background-color: #668BC4;
    /*background-image: linear-gradient(to top, #1e3c72 0%, #1e3c72 1%, #2a5298 100%);*/
    /*background-image: linear-gradient(to top, #421500 0%, #421500 1%, #691615 100%);*/
    /*background: linear-gradient(135deg, #f4b44d 0%, #f0bb41 50%, #edd998 100%);*/
    background: linear-gradient(135deg, #f4b44d 0%, #f0bb41 50%, #f4b44d 100%);
}
.copyright p, .copyright span {
    color: #fff;
    font-size: 14px;
    margin: 0;
    line-height: 30px;
}
.border-12 {
    border-radius: 1.2rem;
}

.watermarked {
    /*background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' version='1.1' height='40px' width='130px'><text transform='translate(15, 40) rotate(-15)' fill='rgba(0,0,0,0.3)' font-size='13'>watermark watermark</text></svg>");
    background-repeat: repeat;
    background-position: center;*/
}

.bigmarked .bigmarkedtext {
    position: absolute;
    font-size: 6vw !important;
    width: 100%;
    top: 6vw;
    pointer-events: none;
    opacity: 0.2;
    display: block;
    overflow: hidden;
}
.bigmarked .bigmarkedtext > div {
    /*transform: rotate(-15deg);*/
    transform: rotate(-8deg);
    margin: 1.8vw 0px 1.8vw 0px;
    text-align: center;
    /*background-color: #ffffff;*/
}
.bigmarked .bigmarkedtext > div > span {
    /*color: #ffffff !important;*/
    /*text-shadow: -1px -1px 0 #000000, 1px -1px 0 #000000, -1px 1px 0 #000000, 1px 1px 0 #000000;*/

    /*color: #6495ED !important;
    font-weight: 800;
    display: block;
    width: 100%;
    opacity: 1 !important;
    font-size: 6vw !important;*/

/*    color: #6495ED !important;*/
    color: #ffd403 !important;
    font-weight: 700;
    display: block;
    width: 100%;
    opacity: 1 !important;
    /*font-size: 5vw !important;*/
    font-size: 3.2vw !important;
    padding: 0px;
    /*line-height: 5.5vw;*/
    line-height: 3.2vw;
    letter-spacing: 2px;
}
.bigmarked .left-60{
    /*text-indent: -10vw;*/
    left: -60px;
}

.input-down-tip {
    width: 100%;
    margin-top: .25rem;
    font-size: 14px;
    color: var(--wordColor);
    text-indent: 5px;
}
/**
.watermarked {
    position: relative;
    overflow: hidden;
}
.watermarked:before {
    background-repeat: repeat;
    background-position: center;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' version='1.1' height='30px' width='160px'><text transform='translate(0, 20)' fill='rgba(0,0,0,0.2)' font-size='16'>watermark watermark</text></svg>");
    content: "";
    position: absolute;
    width: 100%;
    height: 1000%;
    top: 50%;  
    left: 50%;
    transform: translate(-50%, -50%) rotate(-30deg);
}
**/
/*-- font size change --*/
.font-change-item {
    /*flex: 100%;
    display: flex;
    flex-direction: row-reverse;*/
    display: flex;
    flex-direction: row-reverse;
    /*padding: 0px 2%;*/
}
.switch.font-change-item {
    font-size: 16px;
    position: relative;
    display: inline-block;
    width: 60px;
    height: 30px;
}
.switch.font-change-item input {
    opacity: 0;
    width: 0;
    height: 0;
}
.font-change-item .slider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #c0c0c0;
    /* transition: .4s; */
    border-radius: 30px;
}
.font-change-item .slider:before {
    position: absolute;
    content: "";
    height: 24px;
    width: 24px;
    border-radius: 20px;
    left: 4px;
    bottom: 3px;
    z-index: 2;
    background-color: #ffffff;
    transition: .4s;
}
.font-change-item .fontbig {
    position: absolute;
    top: 3px;
    left: 35px;
    z-index: 1;
    color: white;
}
.font-change-item .fontsmall {
    position: absolute;
    top: 3px;
    left: 10px;
    z-index: 1;
    color: white;
}
.font-change-item .input:checked + .slider {
    background-color: var(--secondColor);
}
/* .input:focus + .slider {
box-shadow: 0 0 3px #333333;
} */   /* tododel */
.font-change-item .input:checked + .slider:before {
    transform: translateX(30px);
}

.btn-font-change {
    /* background: url(../images/textsize.png) no-repeat center; */
    /* background-size: 90%; */
    width: 30px;
    height: 30px;
    border-radius: 5px;
    display: inline-block;
    cursor: pointer;
    color: #808080;
}
.btn-font-change-select {
    /* border: 2px solid #005D95; */
    color: var(--mainColor);
}
.logo-name {
    font-size: 18px;
    vertical-align: text-bottom;
    color: #333333;
    font-weight: 700;
}
.font-change-item input[type=checkbox] {
    height: 0;
    width: 0;
    visibility: hidden;
}
.font-change-item label {
    cursor: pointer;
    text-indent: -9999px;
    width: 52px;
    height: 25px;
    background: grey;
    display: block;
    border-radius: 25px;
    position: relative;
}
.font-change-item label::before {
    content: '正常';
    position: absolute;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    color: #fff;
    font-size: 10px;
    top: 0;
    left: 2px;
    margin-left: 7px;
    margin-right: 7px;
    width: 80%;
    height: 100%;
    letter-spacing: 0.75px;
    text-indent: 0;
    transform: scale(0.95);
    font-weight: 400;
}
.font-change-item label::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    background: #fff;
    border-radius: 50%;
    transition: linear;
    content: '字';
    font-size: 14px;
    color: #000000;
    display: flex;
    justify-content: center;
    align-items: center;
    text-indent: 0;
}
.font-change-item input:checked + label {
    background: var(--mainColor);
}
.font-change-item input:checked + label::before {
    content: '大';
    justify-content: flex-start;
    padding-left: 1px;
    font-size: 14px;
}
.font-change-item input:checked + label::after {
    left: calc(100% - 3px);
    transform: translateX(-100%);
    transition-duration: 0s;
}
.font-change-item input:not(:checked) + label::after {
    transition-duration: 0.1s;
}
/*-- //font size change --*/

/*file upload++*/
.file-list-div{
    max-width: 1000px;
}
.udata-card {
    border-radius: 0.5rem;
}
.udata-list {
    background-color: #E5F3FF;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.2rem 1rem;
    border-bottom: #ABC7E0 1px solid;
    max-width: 500px;
    margin: 0 auto;
    word-wrap: break-word;
}
.title-amount ul{
    max-width: 500px;
    margin: 0 auto;
}
.title-amount li{
    width: 50%;
    float:left;
    border: 1px solid #727476;
    line-height: 50px;
}
.title-amount li:nth-child(1) {
    background-color: #afeeee;
}
.title-amount li:nth-child(2) {
    background-color: #afeeee;
}
.title-amount li:nth-child(3) {
    background-color: #afeeee;
}
.title-amount li:nth-child(4) {
    background-color: #afeeee;
}
.title-amount li:nth-child(5) {
    background-color: #afeeee;
}
.title-amount li:nth-child(6) {
    background-color: #afeeee;
}
.title-amount li:nth-child(7) {
    background-color: #afeeee;
}
.title-amount li:nth-child(8) {
    background-color: #afeeee;
}
.title-amount li:nth-child(9) {
    background-color: #afeeee;
}
.title-amount li:nth-child(10) {
    background-color: #afeeee;
}
.title-amount li:nth-child(11) {
    background-color: #afeeee;
}
.title-amount li:nth-child(12) {
    background-color: #afeeee;
}
.title-amount li:nth-child(13) {
    background-color: #afeeee;
}
.title-amount li:nth-child(14) {
    background-color: #afeeee;
}
.title-amount li:nth-child(15) {
    background-color: #afeeee;
}
.title-amount li:nth-child(16) {
    background-color: #afeeee;
}
.title-amount .def-color {
    background-color: #e5e5e5 !important;
}
.file-list-btn {
    background-color: #56cbe7;
    display: block;
    pointer-events: auto;
}
.file-add-btn {
    text-align: center;
    /*display: none;*/
    margin: 10px 0px 10px 0px;
    color: #ffffff;
}
.file-add-btn i {
    border: 1px solid;
    border-radius: 48%;
    padding: 4px 5px;
    margin: 5px 0px;
    font-size: 18px;
}
.file-close-btn {
    /*    position: absolute;
    right: 5px;
    top: 5px;
    background-color: #eff9ff;*/
    position: absolute;
    right: -3px;
    top: -3px;
    background-color: #000000;
    width: 35px;
    color: #fff;
    border-radius: 50%;
    z-index: 10;
}
.file-drag-btn {
    position: absolute;
    left: 5px;
    top: 5px;
    background-color: var(--lightColor);
}
.file-close-btn i, .file-drag-btn i {
    padding: 5px;
    font-size: 24px;
}
.file-list-item > img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    object-position: center center;
}
.upinside-div button, .upinside-div a {
    color: var(--wordColor2);
    box-shadow: none;
}
.share-upload-url {
    border-bottom: 2px dotted var(--mainColor);
    color: var(--mainColor) !important;
}
.upinside-div .card-text {
    color: var(--wordColor2);
    font-size: 22px;
}
/* 上傳彈窗兩欄下方的說明（讀取手機相簿／讀取 iPad 相簿）。
   標題比說明重一階 —— 業務先看「這一欄是給誰用的」，再看「怎麼操作」。 */
.upinside-div .up-hint-title {
    color: var(--wordColor2);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.5;
}
.upinside-div .up-hint-note {
    color: var(--wordColor2);
    font-size: 17px;
    opacity: .8;
    line-height: 1.5;
}
/*file upload--*/

/*-- Form position --*/
.login-form {
    position: absolute;
    height: auto;
    min-width: 350px;
    max-width: 450px;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -56%);
    /*top: 30%;
    left: 50%;
    margin-top: -175px;
    margin-left: -175px;*/
}
.forgetpwd-form {
    position:absolute; 
    height:350px; 
    width:350px; 
    top:40%;
    left:50%; 
    margin-top:-175px; 
    margin-left:-175px;
}
.register-form {
    position:absolute; 
    height:350px; 
    width:350px; 
    top:10%; 
    left:50%; 
    margin-left:-175px;
}
/*-- //Form position --*/

/*-- login --*/
.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 0% 0%, rgba(244, 180, 77, 0.4) 0%, transparent 50%), radial-gradient(ellipse at 100% 100%, rgba(208, 136, 36, 0.3) 0%, transparent 50%), radial-gradient(ellipse at 50% 50%, rgba(240, 187, 65, 0.15) 0%, transparent 70%);
    pointer-events: none;
}
.background-overlay::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, rgba(244, 180, 77, 0.6), rgba(240, 187, 65, 0.4));
    border-radius: 50%;
    top: -150px;
    right: -150px;
    animation: float 20s ease-in-out infinite;
}
.background-overlay::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, rgba(208, 136, 36, 0.5), rgba(244, 180, 77, 0.3));
    border-radius: 50%;
    bottom: -100px;
    left: -100px;
    animation: float 25s ease-in-out infinite reverse;
}
@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(30px, 30px) scale(1.05);
    }
}
.logo-section {
    text-align: center;
    margin-bottom: 10px;
}
.logo-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 20px;
}
.logo-icon svg {
    width: 100%;
    height: 100%;
}
.system-title {
    font-size: 26px;
    font-weight: 700;
    color: var(--dark-brown);
    margin-bottom: 8px;
    letter-spacing: 1px;
}
.system-subtitle {
    font-size: 14px;
    color: var(--text-gray);
    letter-spacing: 2px;
}
.login {
    padding-bottom: 2em;
    margin: 10px;
}
.login .card {
    padding: 2.5rem 1.6rem 3rem 1.6rem;
    border-radius: 20px;
    border: none;
    box-shadow: 0px 0px 20px rgba(0,0,0,0.1);
    z-index: 10;
    overflow: hidden;
    animation: slideUp 0.6s ease-out;
}
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.login-div .card::before {
    content: "";
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    height: 5px;
    background: linear-gradient(90deg, var(--deep-orange), var(--primary-orange), var(--golden-yellow));
}
.login-div .card::after {
    content: "";
    position: absolute;
    left: 0px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 60px;
    background: linear-gradient(180deg, var(--primary-orange), var(--golden-yellow));
    border-radius: 0px 4px 4px 0px;
}
.login .title {
    color: var(--darkColor);
    font-size: 1.75em;
/*    padding-bottom: 1.2em;*/
    letter-spacing: 3.5px;
}
.login .form-control,.login .input:-webkit-autofill,.login input:-webkit-autofill:focus,
.resume-form .form-control,.resume-form .input:-webkit-autofill,.resume-form input:-webkit-autofill:focus {
    color: var(--darkColor);
}
.login input{
    font-size: 1em;
    letter-spacing: 2px;
    box-shadow: none;
    border: none;
    border-radius: 0;
    border-bottom: 1px solid var(--wordColor);
}
.login input:focus{
    box-shadow: none;
    /* border-color: 1.5px solid var(--darkColor); */
    font-weight: 500;
}
.login .error,
.login .error:focus  {
    box-shadow: none;
    border-color: #f27474;
    font-weight: 500;
}

/*.login .btn-login {
    letter-spacing: 2px;
    background-color: var(--mainColor);
    color: #ffffff;
    border-radius: 50px;
}
.login .btn-login:hover {
    background-color: var(--lightColor);
    color: var(--mainColor);
    font-weight: 500;
}*/
.login .btn-login {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 8px 20px;
    font-size: 26px !important;
    letter-spacing: 2px;
    font-weight: 500;
    font-family: inherit;
    color: var(--white);
    background: linear-gradient(135deg, var(--deep-orange) 0%, var(--primary-orange) 50%, var(--golden-yellow) 100%);
    background-size: 200% 200%;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.4s ease;
    box-shadow: 0 4px 20px rgba(208, 136, 36, 0.35);
    margin-top: 10px;
    position: relative;
    overflow: hidden;
}
.login .btn-login::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}
.login .btn-login:hover::before {
    left: 100%;
}
.login .btn-login:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(208, 136, 36, 0.45);
    background-position: 100% 0;
}
.login .btn-login:active {
    transform: translateY(-1px);
}
.login .btn-arrow {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}
.login .btn-login:hover .btn-arrow {
    transform: translateX(5px);
}

.login .btn-msg {
    letter-spacing: 2px;
    background-color: #ffffff;
    border: 1.5px solid var(--mainColor);
    color: var(--mainColor);
    border-radius: 50px;
    font-size: .9em;
}
.login .btn-msg:hover {
    background-color: var(--lightColor);
    font-weight: 500;
}
.login .forget-pwd,
.login .register-btn {
    color: #8A8C8E;
    font-size: .9em;
    letter-spacing: 1.5px;
    text-decoration: underline;
}
.login .forget-pwd:hover,
.login .register-btn:hover {
    color: var(--mainColor);
}
.form-text {
    font-size: .8em;
    color: #b4b4b4;
}
.form-text-err{
    font-size: .8em;
    color: #f27474;
}
.login-form .checkEye {
    position: absolute;
    top: 10px;
    right: 10px;
    color: #9e9e9e;
    z-index: 10;
}
.text_icon {
    position: absolute;
    z-index: 10;
    border: none;
    background: none;
    margin-top: 5px;
}
.login-form .login-name, .login-form .login-phone, .login-form .password, .login-indent {
    text-indent: 30px;
    margin: 0 auto;
}
.form_keep_name {
    padding-left: 2.2em;
}
.form_keep_name label{
     font-size: 16px;
}
.g-recaptcha {
    transform: scale(0.94);
    -webkit-transform: scale(0.94);
    transform-origin: 0 0;
    -webkit-transform-origin: 0 0;
}
.login-form .verify-btn {
    position: absolute;
    bottom: 5px;
    right: 0px;
    border-radius: 6px;
    border: none;
    padding: 4px 10px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 2px;
    background-color: #1D4CAA;
    pointer-events: auto;
    cursor: pointer;
}
/*-- //login --*/
/*-- home --*/
.sign-in-btn.disabled .main-btn {
    background-color: #6c757d;
    border-color: #6c757d;
    pointer-events: none;
    opacity: .65;
}
.ul-menu {
    list-style-type: none;
    /*display: flex;*/
    flex-wrap: wrap;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    justify-content: space-evenly;
}
.ul-menu li {
    width: 50%;
    float: left;
    text-align: center;
    margin: 0 auto;
    padding: 10px;
}
.ul-menu li a{
    display:block;
    border-radius: 1em;
}
.ul-menu-item {
    width: auto;
    height: 100%;
    max-width: 300px;
    max-height: 300px;
    background-color: #ffffff;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
    border-radius: 1em;
    margin: 0 auto;
    padding: 2.2em 0.5em;
}
.ul-menu-item img {
    display: flex;
    height: auto;
    width: 40px;
    min-width: 25px;
    text-align: center;
    margin: 0 auto;
    justify-content: center;
}
.ul-menu-name {
    width: 100%;
    height: 25px;
    text-align: center;
    font-size: 16px;
    color: var(--wordColor);
    margin-top: 5px;
    font-weight: 700;
}
.hlist-table .table-container {
    border: none;
    border-radius: 20px;
}
.hlist-table thead {
    border-bottom: 20px solid #ffffff;
}
.hlist-table th {
    text-align: center;
    font-weight: 500;
    background-color: #668BC4;
    border: none;
    background-image: linear-gradient(to top, #1e3c72 0%, #1e3c72 1%, #2a5298 100%);
}
.hlist-table .table-container {
    /*max-height: clamp(40rem,0vh,0px);*/
    min-height: 79vh;
    overflow: auto;
    width: 100%;
}
.hlist-table .table > :not(caption) > * > * {
    padding: 0.5rem 0.5rem;
}
.hlist-table .table > :not(:last-child) > :last-child > * {
    border-bottom-color: transparent;
}
.hlist-table tr {
    border-style: none;
}
.hlist-table tbody tr:nth-child(2n+1) {
    text-align: center;
    /*    border-top: 1px solid var(--secondColor);
    border-left: 1px solid var(--secondColor);
    border-right: 1px solid var(--secondColor);*/
    color: var(--wordColor2);
    /*background-image: linear-gradient(to right, #5db6ff 0%, #ffff 100%);*/
    /*background-color: #addaff;*/
    background-image: linear-gradient(to top, #70beff, #9ac8ff 20.59%, rgb(237, 245, 255) 53.78%, #70beff);
}
.hlist-table tr:nth-child(2n) td:first-child{
    text-align: center;
}
.hlist-table tr:nth-child(2n) td:last-child {
    padding: 10px;
    line-height: 22px;
}
/*.hlist-table tbody tr:first-child {
    border-top: 15px solid #ffffff;
}*/
/*.hlist-table tbody {
    border-top: 15px solid #ffffff;
}*/
.hlist-table tbody tr:nth-child(2n) {
    /*background-color: #f5fffa;*/
    /*    border-left: 1px solid var(--secondColor);
    border-right: 1px solid var(--secondColor);
    border-bottom: 1px solid var(--secondColor);*/
    /*color: var(--wordColor2);
    border-bottom: 2px solid #1e3c72;*/

    background-color: #E4E4E1;
    color: var(--wordColor2);
    border-bottom: 15px solid #ffffff;
}
.hlist-table tbody .odd {
    background-color: #f3f3f3;
}
.hlist-table tbody .even {
    background-color: #ffffff;
}
.hlist-table .copyright {
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}
.hlist-table tbody tr:nth-child(2n+1) td:last-child {
    /*display: flex;*/
    /*justify-content: center;*/
}
.hlist-table tbody tr td {
    letter-spacing: 2px;
    border-style: none;
}
.hlist-table tbody tr:nth-child(odd) td:first-child {
    border-top-left-radius: 15px;
}
.hlist-table tbody tr:nth-child(odd) td:last-child {
    border-top-right-radius: 15px;
}
.hlist-table tbody tr:nth-child(even) td:first-child {
    border-bottom-left-radius: 15px;
}

.hlist-table tbody tr:nth-child(even) td:last-child {
    border-bottom-right-radius: 15px;
}
.hlist-table .caseid-color {
    /*text-shadow: -0.5px 0 black, 0 0.5px black, 0.5px 0 black, 0 -0.5px black;*/
    color: var(--mainColor);
}

/*new list*/
.hlist-table .thead {
    display: flex;
    /*background-image: linear-gradient(to top, #1e3c72 0%, #1e3c72 1%, #2a5298 100%);*/
    /*background-image: linear-gradient(to top, #421500 0%, #421500 1%, #691615 100%);*/
    /*background: linear-gradient(135deg, #f4b44d 0%, #f0bb41 50%, #edd998 100%);*/
    background: linear-gradient(135deg, #f4b44d 0%, #f0bb41 50%, #f4b44d 100%);
}
.hlist-table .thead > div {
    text-align: center;
    line-height: 40px;
}
.table-bordered > :not(caption) > * {
    border-width: 1px;
}
.tlist-border {
    border: 1px solid #7587a6;
    border-radius: 10px;
    margin: 10px 0px;
    box-shadow: 0 7px 30px -10px rgba(150,170,180,0.5);
/*  border-right: 1px solid #7587a6;
    border-left: 1px solid #7587a6;*/
}
.tlist-bg {
    border: 4px solid #ffbd5a !important;
}
.tlist-copy {
    /* background-color: #ffde0738 !important;*/
    /* border: 1px solid #ff7500 !important;*/
    /*border-bottom: 3.5px solid #0a6972 !important;*/
    border-bottom: 3.5px solid var(--mainColor) !important;
    /*border-radius: 5px;*/
}
.tlist-copy:last-child {
    border-bottom: none !important;
    margin-bottom: 0px !important;
}
.tlist-border-bottom {
    border-bottom: 1px solid #7587a6;
    margin-bottom: 10px;
}
.tlist-border-top {
    border-top: 1px solid #7587a6;
    margin-top: 10px;
}
.tbody .even, .tbody .odd {
    width: 100%;
    /*display: inline-flex;*/
    display: inline-table;
    text-align: center;
}
.tbody .even > div, .tbody .odd > div {
    display: table-cell;
    vertical-align: middle;
}
.tlist-border .even:last-child > div:last-child, .tlist-border .odd:last-child > div:last-child {
    white-space: pre-wrap;
}
.tbody .even:first-child > div, .tbody .odd:first-child > div {
    height: 45px;
    /*padding-top: 5px;*/
}
.tlist-border .even:last-child, .tlist-border .odd:last-child {
    /*background-color: #e1e1e1;*/
}
.tbody .stype-a {
    /*background-color: #7fffd4;*/
    /*background-color: #DEC07A;*/
    background-color: #ffcf5d;
    border-radius: 10px;
    line-height: 32px;
}
.tbody .stype-b {
    /*background-color: #9cd1fc;*/
    background-color: #ffcb99;
    border-radius: 10px;
    line-height: 32px;
}
/*-- //home --*/

/*-- Left navBar --*/
.nav-left {
    position: fixed;
    background: var(--lightColor);
    height: 100%;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
    z-index: 10;
    top: 62.28px;
    height: calc(100vh - 60px);
}
.nav-left .nav-item {
    padding: 1em;
    border-bottom: 2px solid #B2CEDE;
    text-align: center;
}
.nav-left .nav-item a {
    color: #005D95;
    letter-spacing: 3px;
    font-weight: 500;
}
.nav-left .dropdown-item {
    padding: 1em 0;
    border-bottom: 2px solid #DEDEDE;
    text-align: center;
    background-color: #fff;
}
.nav-left .dropdown-item a {
    color: var(--darkColor);
    letter-spacing: 1.5px;
    font-size: .9em;
}
.nav-left .dropdown-item a:hover{
    color: var(--mainColor);
    font-weight: 500;
}
.nav-active {
    color: var(--mainColor) !important;
    font-weight: 500;
}
.user-btn {
    color: #333333;
    letter-spacing: 1.2px;
}
/*-- //Left navBar --*/

/*-- mobile navBar --*/
.mobile-nav .nav-link{
    letter-spacing: 1.5px;
    padding: 0.5rem 0.75rem;
}
.mobile-nav .nav-link:hover {
    color: var(--mainColor) !important;
    font-weight: 500;
}
.mobile-nav .dropdown-menu{
    border: none;
    margin: 0 1.25em;
    padding: 0 0 1em 0;
}
.mobile-nav .dropdown-item{
    border-bottom: 1px solid #DEDEDE;
}
.mobile-nav .dropdown-item a{
    color: var(--darkColor);
    letter-spacing: 1.2px;
}
/*-- //mobile navBar --*/

/*accordion++*/
/*.add-accordion-item {
    border: 1px solid #03b5d2;
    width: auto;
    display: inline;
    border-radius: 5px;
    padding: 1px 5px;
    color: #03b5d2;
    font-size: 16px;
    cursor: pointer;
}*/
.accordion-delete {
/*border: 1px solid #1b4a6b;*/
    padding: 1px 5px;
    border-radius: 2px;
    font-size: 20px;
    cursor: pointer;
    color: #1b4a6b;
}
.accordion .accordion-item {
    /*border-bottom: 1px solid #e5e5e5;*/
    padding-right: calc(var(--bs-gutter-x)* .2);
    padding-left: calc(var(--bs-gutter-x)* .2);
}
.accordion .accordion-item div[aria-expanded=true] {
    border-bottom: 1px solid #03b5d2;
}
.accordion .accordion-button {
    position: relative;
    display: block;
    text-align: left;
    width: 100%;
    padding: 0.5em 0;
    color: #7288a2;
    font-size: 16px;
    font-weight: 400;
    border: none;
    background: none;
    outline: none;
}
.accordion .accordion-item:first-of-type .accordion-button {
    border-top-left-radius: unset;
    border-top-right-radius: unset;
    box-shadow: none;
}
.accordion .accordion-button:hover, .accordion .accordion-button:focus {
    cursor: pointer;
    color: #03b5d2;
}
/*.accordion .accordion-button:hover::after, .accordion .accordion-button:focus::after {
    cursor: pointer;
    color: #03b5d2;
    border: 1px solid #03b5d2;
}*/
.accordion .accordion-button .accordion-title {
    padding: 1em 1.5em 1em 0.5em;
}
.accordion .accordion-button .icon {
    display: inline-block;
    position: absolute;
    top: 18px;
    right: 0;
    width: 22px;
    height: 22px;
    border: 1px solid;
    border-radius: 22px;
}
.accordion .accordion-button .icon::before {
    display: block;
    position: absolute;
    content: "";
    top: 9px;
    left: 5px;
    width: 10px;
    height: 2px;
    background: currentColor;
}
.accordion .accordion-button .icon::after {
    display: block;
    position: absolute;
    content: "";
    top: 5px;
    left: 9px;
    width: 2px;
    height: 10px;
    background: currentColor;
}
.accordion div[aria-expanded=true] {
    color: #03b5d2;
}
.accordion div[aria-expanded=true] .icon::after {
    width: 0;
}
.accordion div[aria-expanded=true] + .accordion-content {
    opacity: 1;
    height: auto;
    /*max-height: 9em;*/
    transition: all 200ms linear;
    will-change: opacity, height;
    display: inline;
}
.accordion .accordion-content {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 200ms linear, max-height 200ms linear;
    will-change: opacity, max-height;
}
/*accordion--*/

/*-- resume page --*/
.plus-btn {
    margin: 0;
    letter-spacing: 2px;
    background-color: var(--mainColor);
    color: #ffffff;
    border-radius: 10px;
    width: 20%;
}
.plus-btn:hover {
    background-color: var(--lightColor);
    color: var(--mainColor);
    font-weight: 500;
}
.plus-btn i {
    font-size: 1rem;
}
.self-info textarea{
    overflow: auto;
    resize: none;
    min-height: 40em;
}

.hide-month .ui-datepicker-month,
.hide-current .ui-datepicker-current,
.hide-calendar .ui-datepicker-calendar{
    display: none;
}
.custom-datepicker .ui-datepicker-close {
    float: none !important;
    width: 100% !important;
    transition: 0.3s;
}
.custom-datepicker .ui-datepicker-buttonpane{
    border: none;
    margin: 0;
}
.ui-datepicker-trigger {
    width: 30px;
}
#ui-datepicker-div {
    position: fixed;
    width: 90%;
    margin: 0 auto;
    max-width: 330px;
}
#incomlist-day-before, #incomlist-day-after {
    width: 50px
}
.incomlist-after .error-msg-top i {
    width: 35px;
    margin-right: 15px;
    font-size: 35px;
}
/*-- //resume page --*/

/*-- incomlist page --*/
.search-left {
    position: fixed;
    width: 29%;
    float: left;
    height: 100vh;
    top: 0px;
    border-right: 1px solid #dee2e6;
    /*background-color: #E8F8FA;*/
    background-color: var(--cardBgSecond); /*#e8edfa*/
    /*background-image: linear-gradient(to left, #a5c3ff, #ffffff 1.68%, #ddeaff);*/
    box-shadow: 0 7px 30px -10px rgba(150,170,180,0.5);
}
.search-right {
    width: 69%;
    float: right;
    margin-right: 0px;
}
.search-right .card{
    padding: 0px 10px 20px 10px;
}
.incomlist-form {
    max-width: 450px;
    margin: 0 auto;
}
.incomlist-form .card {
    padding: 1rem;
    border-radius: 10px;
    border: none;
    box-shadow: 0px 0px 20px rgba(0,0,0,0.1);
    background-color: var(--lightColor);
}
.incomlist-form .nav-tabs {
    border-bottom: none;
}
.incomlist-form input {
    height: 40px;
}
.incomlist-form .card .nav-tabs .nav-item {
    width: 50%;
    min-width: 100px;
}
.incomlist-form .card .nav-tabs .nav-link {
    border-color: none;
    background-color: rgba(255, 255, 255, 0.75);
    border: 2px solid var(--secondColor); 
    border-radius: 20px;
    color: var(--mainColor);
    width: 95%;
    margin: 0 auto;
    padding: 0.4rem 0rem;
    margin-bottom: 5px;
}
.incomlist-form .card .nav-tabs .nav-item .nav-link.active {
    background-color: var(--mainColor);
    border: 2px solid var(--mainColor);
    color: #ffffff;
}
#incomlist-before-yy {
    width: 25%;
    margin-right: 2%;
    text-align: center;
}
#incomlist-before-mm,
#incomlist-before-dd {
    margin-right: 2%;
    width: 20%;
    text-align:center;
}
#incomlistStBefore,
#incomlistEtBefore,
#incomlistStAfter,
#incomlistEtAfter {
    width: 45%;
    min-width: 60px;
    text-align: center;
}
.incomlist-form .ui-datepicker-trigger {
    right: 0;
    top: 0;
    position: absolute;
    width: 40px;
    padding: 0.375rem 0.45rem;
    pointer-events: auto;
    display: inline-block;
    height: 40px;
    border: none;
    background: transparent;
}
.incoming-list-form .ui-datepicker-trigger {
    right: 10px;
    top: 2.5rem;
    position: absolute;
    width: 40px;
    padding: 0.375rem 0.45rem;
    pointer-events: auto;
    display: inline-block;
    height: 40px;
    border: none;
    background: transparent;
}
/*-- //incomlist page --*/

/*-- leave --*/
.card-name {
    color: var(--darkColor);
    font-size: 18px;
}
.leaveStartT, .leaveEndT {
    max-width: 25%;
    margin-left: 10px;
    padding: 0.375rem 0.45rem;
    text-align: center;
}
#datepicker-container {
    text-align: center;
}
#datepicker-center {
    display: inline-block;
    margin: 0 auto;
}
.btn-send, .btn-send:focus {
    background: var(--mainColor);
}
/*.leave-form .table-wrapper::-webkit-scrollbar {
    width: 5px;
}
.leave-form .table-wrapper::-webkit-scrollbar-track {
    background-color: #d2d2d2;
    -webkit-border-radius: 10px;
    border-radius: 10px;
}
.leave-form .table-wrapper::-webkit-scrollbar-thumb {
    -webkit-border-radius: 10px;
    border-radius: 10px;
    background: #8d8d8d;
}*/
.file-list {
    /*border: 1px solid #aaaaaa;
    border-radius: 5px;
    padding: 6px;
    display: inline-block;*/
    width: 100%;
    position: relative;
}
.file-div {
    border-bottom: 1px solid #dddddd;
    padding: 10px;
    display: inline-block;
    width: 100%;
    position: relative;
    margin-bottom: 5px;
    background-color: #ededed
}
.file-div:last-child {
    border-bottom: none;
}
/*.file-preview-frame {
    width: 100%;
    margin: 0;
}
.file-preview-frame .kv-file-content {
    width: 60px;
    height:auto;
    float: left;
}*/
.input-file{
    display:none;
}
.filePreview {
    display: inline;
    background-color: #FFFFFF;
    padding: 1px 8px;
    border-radius: 15px;
    border: 1px solid #999999;
    font-size: 14px;
    /*width: 70px;
    height: 70px;
    background: url(../images/upload.png);
    background-color: #fff;
    background-size: contain;
    background-repeat: no-repeat;
    box-shadow: 0px -1px 2px 1px rgba(0,0,0,0.2);
    background-repeat: no-repeat;
    background-position: center center;
    border: 5px solid #ffffff;*/
}
.file-name-str{
    width: 100%;
    display: block;
    line-height:16px;
    padding-top: 5px;
}
.file-name-str span{
    font-size: 14px;
    line-height:12px;
}
.upload-del {
    display: none;
    text-align: center;
    line-height: 28px;
    width: 28px;
    height: 28px;
    background-color: rgba(150,150,150,0.6);
    border-radius: 15px;
    /*position: absolute;
    top: 8px;
    right: 8px;
    width: 35px;
    height: 35px;
    text-align: center;
    line-height: 35px;
    background-color: rgba(150,150,150,0.6);
    cursor: pointer;
    display: inline-block;
    z-index: 10;
    pointer-events: auto;*/
}
.upload-del i{
    color: #333333;
}
.upload-show {
    position: absolute;
    top: 50px;
    right: 8px;
    width: 35px;
    height: 35px;
    text-align: center;
    line-height: 35px;
    background-color: rgba(150,150,150,0.6);
    cursor: pointer;
    display: none;
    z-index: 10;
    pointer-events: auto;
}
.file-detail-div{
    display: none;
}
/*--//leave--*/

/*--leave search--*/
.leave-search-form {
    max-width: 450px;
    margin: 0 auto;
}
.leave-search-form .card {
    padding: 0.8rem;
    border-radius: 10px;
    border: none;
    box-shadow: 0px 0px 20px rgba(0,0,0,0.1);
    background-color: var(--lightColor);
}
#leave-search-start, #leave-search-end {
    width: 45px
}
#leaveSearchSt, #leaveSearchEt {
    padding: 0.375rem 0.40rem;
}
.leave-search-form #leave-search-start, .leave-search-form #leave-search-end {
    padding: 0.25rem 0.40rem;
    font-size: 1rem;
}
.leave-search-form .ui-datepicker-trigger {
    right: 0;
    top: 0;
    position: absolute;
    width: 40px;
    padding: 0.375rem 0.45rem;
    pointer-events: auto;
    display: inline-block;
    height: 40px;
    border: none;
    background: transparent;
}
.leave-search-form .leave-search-send-btn {
    /*padding: 3px 15px;*/
    font-size: 20px;
}
.table-leave-search .card{
    background-color: #ffffff;
    margin-bottom: 5px;
}
.details-type{
    border: 1px solid #cccccc;
    padding: 2px 5px;
    border-radius: 5px;
}
.leave-type-color-1 {
    /*background-color: #FDB000;
    color: #ffffff;*/
    background-color: #ffffff;
}
.leave-type-color-2 {
    color: #ffffff;
    background-color: #4682b4;
}
.leave-type-color-3 {
    /*background-color: #3CA56C;*/
    color: #ffffff;
    background-color: #35B972;
}
.leave-type-color-4 {
    /*background-color: #f27474;*/
    color: #ffffff;
    background-color: #cd5c5c;
}
.leave-details-btn .apply-btn {
    /*background-color: #3C5BB0;
    color: #ffffff;*/
    background-color: var(--secondColor);
    color: var(--mainColor);
    border-radius: 10px;
    border: 1.5px solid var(--secondColor);
    font-weight: 600;
}
.leave-details-btn .fix-btn {
    /*background-color: #67B8A0;
    color: #ffffff;*/
    background-color: transparent;
    color: var(--mainColor);
    border: 1.5px solid var(--secondColor);
    border-radius: 10px;
    font-weight: 600;
}
.leave-details-btn .delete-btn {
    /*background-color: #99A2B0;
    color: #ffffff;*/
    background-color: #ffd4be; 
    color: var(--dangerColor); 
    border-radius: 10px;
    font-weight: 600;
}
.leave-details-btn .review-btn {
    background-color: #5EB1FD;
    color: #ffffff;
}
.leave-details-link {
    margin-top: 3px;
    text-decoration: underline;
    font-size: 14px;
    line-height: 20px;
    word-break: break-all;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}
.details-no {
    font-size: 14px;
}
.leave-details .details-str {
    font-size: 14px;
}
.leave-details-preview{
    display: none;
}
.details-preview-table tr td {
    font-size: 14px;
    text-align: left;
}
.details-preview-table tr td:nth-of-type(1) {
    width: 40%;
}
.leave-search-setting{
    width: 30px;
    margin-left: 10px;
    text-align: center;
}
.leave-search-setting i{
    font-size: 20px;
}
.leave-search-form .search-setting {
    /*display: none;*/
}
.leave-search-form select{
    font-size: 16px;
}
/*--//leave search--*/

/*--incomlist search--*/
/*#searchCasebtn{
    width: 30%;
}*/
.search-bg {
    border-radius: 20px;
    background-color: #E8F8FA;
    border: 1px solid #dee2e6
}
.incomlist-search-form {
    max-width: 450px;
    margin: 0 auto;
}
.incomlist-search-form .card {
    padding: 0.8rem;
    border-radius: 10px;
    border: none;
    box-shadow: 0px 0px 20px rgba(0,0,0,0.1);
    background-color: var(--lightColor);
}
#incomlist-search-start, #incomlist-search-end {
    width: 45px
}
#incomlistSearchSt, #incomlistSearchEt {
    padding: 0.375rem 0.40rem;
}
.incomlist-search-form #incomlist-search-start, .incomlist-search-form #incomlist-search-end {
    padding: 0.25rem 0.40rem;
    font-size: 1rem;
}
.incomlist-search-form .ui-datepicker-trigger {
    right: 0;
    top: 0;
    position: absolute;
    width: 40px;
    padding: 0.375rem 0.45rem;
    pointer-events: auto;
    display: inline-block;
    height: 40px;
    border: none;
    background: transparent;
}
.incomlist-search-form .incomlist-search-send-btn {
    font-size: 18px;
}
.table-incomlist-search .card {
    background-color: #ffffff;
    margin-bottom: 10px;
    border-radius: 10px;
    padding: 8px;
}
.incomlist-type-color-1 {
    background-color: #FDB000;
    color: #ffffff;
}
.incomlist-type-color-2 {
    background-color: #ffffff;
}
.incomlist-type-color-3 {
    background-color: #3CA56C;
    color: #ffffff;
}
.incomlist-type-color-4 {
    background-color: #f27474;
    color: #ffffff;
}
.table-incomlist-search .incomlist-bg-1 {
    background-color: #ffffff;
}
.table-incomlist-search .incomlist-bg-2 {
    /*background-color: #eff9ff;*/
    background-color: #f5fffa;
}
.incomlist-details-btn .apply-btn {
    /*background-color: var(--secondColor);*/
    /*background-color: rgba(78, 252, 113, 0.2);*/
    /*color: var(--mainColor);*/
    /*background-color: rgba(152, 212, 255, 0.8);*/
    background-color: #c0cad3;
    /*color: #005dbf;*/
    color: #691615;
    border-radius: 0.5rem;
    border: 1.5px solid var(--secondColor);
    font-weight: 600;
    font-size: 20px;
    /*    box-shadow: 0 7px 15px 0 rgba(0, 0, 0, .13), 0 1px 4px 0 rgba(0, 0, 0, .11);*/
}
.incomlist-details-btn .fix-btn {
    /*background-color: var(--secondColor);*/
    /*background-color: #91cdfd;
    color: #005dbf;*/
    background-color: #ffb549;
    color: #691615;
    border: 1.5px solid var(--secondColor);
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 20px;
    /*    box-shadow: 0 7px 15px 0 rgba(0, 0, 0, .13), 0 1px 4px 0 rgba(0, 0, 0, .11);*/
}
.incomlist-details-btn .upload-btn {
    background-color: rgba(53, 185, 115, 0.2);
    /*color: var(--mainColor);*/
    color: #691615;
    border: 1.5px solid var(--secondColor);
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 20px;
    /*    box-shadow: 0 7px 15px 0 rgba(0, 0, 0, .13), 0 1px 4px 0 rgba(0, 0, 0, .11);*/
}
.incomlist-details-btn .delete-btn {
    background-color: #ffd4be;
    /*color: var(--dangerColor);*/
    color: #691615;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 20px;
    /*    box-shadow: 0 7px 15px 0 rgba(0, 0, 0, .13), 0 1px 4px 0 rgba(0, 0, 0, .11);*/
}
.incomlist-details-btn .copy-btn {
    background-color: #ffe082;
    /*color: #447395;*/
    color: #691615;
    border: 1.5px solid var(--secondColor);
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 20px;
    /*    box-shadow: 0 7px 15px 0 rgba(0, 0, 0, .13), 0 1px 4px 0 rgba(0, 0, 0, .11);*/
}
.incomlist-details-link {
    margin-top: 3px;
    text-decoration: underline;
    font-size: 14px;
    line-height: 20px;
    word-break: break-all;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}
.incomlist-details .details-str {
    font-size: 14px;
}
.incomlist-details-preview {
    display: none;
}
.incomlist-search-setting {
    width: 30px;
    margin-left: 10px;
    text-align: center;
}
.incomlist-search-setting i {
    font-size: 20px;
}
.incomlist-search-form .search-setting {
    display: none;
}
.incomlist-search-form select {
    font-size: 16px;
}
/*--//incomlist search--*/

/*--page loader--*/
#nprogress .spinner {
    display: none;
}
.loadergif {
    position: absolute;
    height: 100%;
    background-color: #ffffff;
    z-index: 100;
    opacity: 0.7;
    /*background-image: url(../images/Ball.gif);*/
    background-image: url(../images/dot.gif);
    background-size: 100px 100px;
    /*background-size: 64px 21.5px;*/
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    top: 0;
    left: 0;
}
.loadergif-ai {
    position: absolute;
    height: 100%;
    background-color: #ffffff;
    z-index: 100;
    opacity: 0.75;
    width: 100%;
    top: 0;
    left: 0;
    pointer-events: auto;
}
.loadergif-ai img {
    width: 100px;
    margin: 0 auto;
    display: block;
    margin-top: 38vh;
}
/* 新版 AI 加載器（原子軌道）：aiLoading 過 aiSecond 秒後切換；前段維持 up4.gif。 anny 20260729（搬自新版專案）*/
/* D 專案原 .loadergif-ai 非 flex，切到 app-ai-loader 時改為置中堆疊，SVG 與文字才會置中 */
.loadergif-ai.app-ai-loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
}
.app-ai-loader .app-ai-text {
    color: #5a3311;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 1px;
}
.app-ai-atom {
    width: 160px;
    height: 160px;
}
.app-ai-atom .spin {
    transform-origin: 50px 50px;
    animation: appAiSpin 1.5s linear infinite;
}
@keyframes appAiSpin {
    to { transform: rotate(360deg); }
}
.loader-normal {
    width: fit-content;
    font-weight: bold;
    font-family: monospace;
    padding-top: 10px;
    font-size: 25px;
    margin: 0 auto;
    clip-path: inset(0 3ch 0 0);
    animation: ai 1s steps(4) infinite;
    text-indent: 25px;
}
.loader-normal:before {
    content: "Loading..."
}
.loader-ai {
    width: fit-content;
    font-weight: bold;
    font-family: monospace;
    padding-top: 10px;
    font-size: 25px;
    margin: 0 auto;
    clip-path: inset(0 3ch 0 0);
    animation: ai 1s steps(4) infinite;
    text-indent: 25px;
}
.loader-ai:before {
    content: "啟動AI加載器..."
}
@keyframes ai {
    to {
        clip-path: inset(0 -1ch 0 0)
    }
}

@-webkit-keyframes zy {
    0%, 10%, 100% {
        transform: rotate(0deg);
    }

    5% {
        transform: rotate(10deg);
    }

    15% {
        transform: rotate(-5deg);
    }

    20% {
        transform: rotate(5deg);
    }

    25% {
        transform: rotate(-5deg);
    }

    30% {
        transform: rotate(0deg);
    }
}
@keyframes zy {
    0%, 10%, 100% {
        transform: rotate(0deg);
    }

    5% {
        transform: rotate(10deg);
    }

    15% {
        transform: rotate(-5deg);
    }

    20% {
        transform: rotate(5deg);
    }

    25% {
        transform: rotate(-5deg);
    }

    30% {
        transform: rotate(0deg);
    }
}
.img-robot {
    animation: zy 5s linear infinite;
}
/*--//page loader--*/

/*-- Preview Resume --*/
.preview-table {
    color: var(--darkColor);
    letter-spacing: 1.2px;
}
.preview-table th,
.preview-table td, 
.pdetail-div th, 
.pdetail-div td{
    vertical-align: middle;
    text-align: left
}
.preview-table thead, .pdetail-div thead {
    background-color: var(--lightColor);
    color: var(--mainColor);
    text-align: center;
}
.preview-table tbody th{
    background-color: var(--lightColor);
    color: var(--darkColor);
    font-weight: 500;
}
.pdetail-div tbody th {
    /*background-color: lavender;*/
    background-color: #ffeaaa;
    color: var(--darkColor);
    font-weight: 500;
    font-size: 20px;
}
.preview-table tr, .pdetail-div tr {
    text-align: center;
}
.preview-table .radio-center {
    vertical-align: middle;
    text-align: center;
}
.preview-table input {
    text-align: center;
}
.preview-table .form-check-inline{
    margin-right: 0.2rem;
}

.preview-content pre {
    overflow-x: hidden;
    white-space: pre-wrap;
    font-size: 1em;
    text-align: justify;
    color: var(--darkColor);
}
.btn-payment-record, .btn-payment-account {
    background-color: #fcf1d5;
    color: var(--darkColor);
}
.sw-payment-table tr th {
    font-size: 22px;
    width: 33%;
}
.sw-payment-table tr td {
    font-size: 22px;
}
.sw-payment-table tr td span {
    display: inline-block;
    background-color: #d5a071;
    border-radius: 8px;
    padding: 4px 14px;
    color: #ffffff;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.35;
}
/* 逾期天數標示。選擇器需與上方 .sw-payment-table tr td span 同層級，
   否則會被那條通用規則套上「已繳款」的棕底白字。 */
.sw-payment-table tr td span.payment-delay-none {
    background-color: transparent;
    border-radius: 0;
    padding: 0;
    color: #9b9182;
    font-size: inherit;
    font-weight: 400;
}
.sw-payment-table tr td span.payment-delay-over {
    background-color: #fcf1d5;
    border: 1px solid #efdcae;
    color: #8a5410;
    font-weight: 700;
}
.sw-payment-table tr td span.payment-delay-over i {
    margin-right: 0.35rem;
    font-size: 0.82em;
}

.swal-sample-popup {
    width: 46em;
    max-width: 92vw;
}

.payment-period-count {
    margin: -0.25rem 0 0.5rem;
    color: #691615;
    font-size: 21px;
    font-weight: 600;
    text-align: right;
}

.payment-empty,
.contract-empty {
    padding: 1.25rem !important;
    color: #777777 !important;
    text-align: center;
}

.payment-bank-list h5 {
    margin-bottom: 1rem;
    color: var(--darkColor);
    font-size: 24px;
}

/* 由容器統一分欄，第一欄用 max-content 自動撐到「最長的銀行名稱」寬度，
   各列帳號才會對齊。改由 CSS 量測，不必寫死字數或用 JS 計算。 */
.payment-bank-list {
    overflow-x: auto;
    display: grid;
    grid-template-columns: max-content 1fr;
    align-items: center;
}

/* 標題與空資料訊息不參與分欄，橫跨整列 */
.payment-bank-list h5,
.payment-bank-list .payment-empty {
    grid-column: 1 / -1;
}

/* 空狀態字級對齊銀行名稱／帳號的 22px */
.payment-bank-list .payment-empty {
    font-size: 22px;
}

/* 讓兩個 span 直接成為格線項目，列本身不產生方框 */
.payment-bank-row {
    display: contents;
}

.payment-bank-name,
.payment-bank-account {
    padding: 0.75rem 0;
    border-bottom: 1px solid #ead9bd;
    font-size: 22px;
    white-space: nowrap;
}

/* 用 padding 取代原本的 gap：格線間隙沒有底線，會讓分隔線斷成兩截 */
.payment-bank-name {
    padding-right: 1.5rem;
}

.payment-bank-account {
    font-variant-numeric: tabular-nums;
}

/*++ 合約揭露彈窗 表格 anny 20260713 ++*/
.contract-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    border: 1px solid var(--fourth);
    border-radius: 8px;
    overflow: hidden;
}

.contract-table th,
.contract-table td {
    padding: 0.55rem 0.4rem;
    text-align: center;
    font-size: 20px;
}

.contract-table th {
    background-color: var(--fourth);
    color: #ffffff;
    font-weight: 500;
    border-right: 1px solid rgba(255, 255, 255, 0.3);
}

.contract-table th:last-child {
    border-right: 0;
}

.contract-table td {
    border-top: 1px solid #e8d5d5;
    color: #303030;
}

.contract-table td.contract-rowhead {
    background-color: #fdf3f2;
    color: var(--fourth);
    font-weight: 500;
}

.contract-table td.contract-val {
    background-color: #fffdfc;
}

.contract-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--darkColor);
    letter-spacing: 1px;
    margin-bottom: 0.9rem;
}
/*-- 合約揭露彈窗 表格 --*/
/*SDSReceive++*/
.sds-all {
    width: 100%;
}
.sds-left {
    width: 20%;
    height: 100vh;
    float: left;
    border-right: 1px solid #dee2e6;
    position: fixed;
    top: 0px;
    padding-top: 40px;
    /*background-color: #F7FFFF;*/
    background-color: var(--cardBgSecond);
    /*background-image: linear-gradient(to left, #a5c3ff, #ffffff 1.68%, #ddeaff);*/
    box-shadow: 0 7px 30px -10px rgba(150, 170, 180, 0.5);
}
.fcheck-list{
    padding: 0px 10px;
    margin-top: 30px;
}
.leftbtn-list{
    padding: 0px 10px;
}
.leftbtn-list a {
    border-radius: 3px;
}
.leftbtn-list button {
    border-radius: 3px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
}
.preview-btn {
    padding: 0px 12px;
    width: 37%;
    min-width: 68px;
    min-height: 42px;
    overflow:hidden;
}
.format-pdf-btn {
    /*padding: 0px 0.6em;
    width: 59%;*/
}
.file-upload-btn, .file-upload-btn:hover, .file-upload-btn:active {
    padding: 0px 0.6em;
    width: 59%;
    margin-top: 100px;
    background-color: var(--mainColor);
    border-color: var(--mainColor);
    color: #ffffff;
}
.left-save-btn, .left-save-btn:hover, .left-save-btn:active, .leftbtn-list .save-send, .leftbtn-list .save-send:hover, .leftbtn-list .save-send:active {
    padding: 0px 0.6em;
    width: 59%;
    background-color: #f49943;
    border-color: #f49943;
    color: #ffffff;
}
.sds-right {
    width: 79%;
    float: right;
    min-height: 83vh;
    /*background-image: linear-gradient(to top, #6db2ff 0%, #ffffff 100%);*/
    background: #fffdf7;
}
.sds-content {
    padding: 0px 30px;
    min-height: 95vh;
}
.sds-content .ui-datepicker-trigger {
    /*right: 10px;
    top: 2.45rem;
    position: absolute;*/
    /* right: 10%; */     /* 2024.05.24 original */
    right: 10%;
    top: 1%;
    position: absolute;
    /* width: 40px; */    /* 2024.05.24 original */
    width: 45px;   /* 2024.05.24 change */
    padding: 0.375rem 0.45rem;
    pointer-events: auto;
    display: inline-block;
    /* height: 40px; */   /* 2024.05.24 original */
    border: none;
    background: transparent;
}
.ocr-front-btn, .ocr-back-btn {
    border: 1px solid #1e3c72;
    float: left;
    padding: 0px 10px;
    margin: 0px 10px;
    border-radius: 5px;
    font-weight: 500;
    font-size: 20px !important;
    /*background-color: cornflowerblue;*/
    background-color: var(--fourth);
    color: #ffffff;
}
.ocr-front-btn span, .ocr-back-btn span {
    color: #f9ff00;
}
.ocr-add {
    border: 1px solid #1e3c72;
    border-radius: 5px;
    font-size: 26px !important;
    letter-spacing: 5px;
    background-color: indigo;
    color: #ffffff;
    width: 200px;
    line-height: 50px;
    margin: 0 auto;
    margin-bottom: 20px;
}
.ocr-remove {
    display: none;
    border: 1px solid #1e3c72;
    border-radius: 5px;
    font-size: 26px !important;
    letter-spacing: 5px;
    background-color: crimson;
    color: #ffffff;
    width: 200px;
    line-height: 50px;
    margin: 0 auto;
    margin-bottom: 20px;
}
.ocr-message {
    display: none;
    margin-top: 10px;
    width: 100%;
    line-height: 50px;
    font-size: 28px;
    color: #D8000C;
    background-color: #FFBABA;
}
#instLoanCar .ui-datepicker-trigger {
    right: 6%;
    top: 0px;
    /*position: absolute;*/
    /* right: 10%; */ /* 2024.05.24 original */
    /*right: 5%;*/ /* 2024.05.24 change */
    /*top: 47%;*/ /* 2024.05.24 add */
    position: absolute;
    /* width: 40px; */ /* 2024.05.24 original */
    width: 45px; /* 2024.05.24 change */
    padding: 0.375rem 0.45rem;
    pointer-events: auto;
    display: inline-block;
    /* height: 40px; */ /* 2024.05.24 original */
    border: none;
    background: transparent;
}
button.ui-datepicker-current {
    display: none;
}
/*.pay-connect-delete, .bank-connect-delete, .connect-delete {
    background-color: #666666;
    padding: 1px 7px;
    font-size: 15px;
    color: #ffffff;
    border-radius: 30px;
    position: relative;
    top: -12px;
    right: -5px;
}*/
.bp-carloan-list thead tr th:first-child{
    border-top-left-radius: 10px;
}
.bp-carloan-list thead tr th:last-child {
    border-top-right-radius: 10px;
}
.carloan-tfooter {
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}
.carloan-tfooter tr {
    border-style: none;
}
.bp-carloan-add, .bp-carloan-add:focus {
    border: none;
    box-shadow: none;
    outline: none;
    font-size: 18px;
}
.gu-div-bg {
    padding: 0px;
    /*background-color: #bafdf4;*/
    box-shadow: 0 7px 30px -10px rgba(150,170,180,0.5);
    /*background-image: linear-gradient(120deg, #a1c4fd 0%, #c2e9fb 100%);*/
}
.gu-table tbody {
    /*border: 1px solid #cdcdcd;*/
    border: 1px solid #8d8c8c;
    background-color: #ffffff;
}
.gu-table thead {
    /*background-image: linear-gradient(180deg, #a1c4fd 0%, #c2e9fb 100%);*/
    background-image: linear-gradient(180deg, #ffb549 0%, #fde8c8 100%);
}
.gu-table thead tr th:first-child {
    border-top-left-radius: 10px;
}
.gu-table thead tr th:last-child {
    border-top-right-radius: 10px;
}
.gu-list .list-group-item {
    border: 1px solid rgba(0,0,0,.125);
}
.gu-list .list-group-item:last-child {
    border-bottom-width: 1px;
}
.list-group-item .car-activate {
    color: var(--mainColor);
    float: left;
    padding-right: 10px;
    text-align: left;
    word-spacing: 2px;
}
/* 車商搜尋清單：未啟用列標示為不可選取（避免過長名稱造成截斷） anny 20260728 */
/* 使用者多為 50+ 長輩，維持與一般列相同外觀（不變淡、不加底色，文字清楚），僅以禁止游標標示不可點 */
.sw-search-list .list-group-item-off {
    cursor: not-allowed;
}
/* 點到未啟用時的提示條（琥珀色、非阻斷、自動淡出） anny 20260728 */
.sw-disabled-tip {
    display: none;
    width: 90%;
    margin: 8px auto 4px;
    background-color: #fff3d6;
    border: 1px solid #e6c66a;
    color: #8a5a00;
    border-radius: 8px;
    padding: 9px 14px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
}
.sw-disabled-tip .ic {
    margin-right: 6px;
}
.gu-add {
    border-color: var(--mainColor);
    /*background-image: linear-gradient(to right, #ff8177 0%, #ff867a 0%, #ff8c7f 21%, #f99185 52%, #cf556c 78%, #b12a5b 100%);*/
    /*background-image: linear-gradient(-225deg, #FFE29F 0%, #FFA99F 48%, #FF719A 100%);*/
    background-color: var(--mainColor);
    color: #fff;
}
.gu-edit {
    font-size: 25px;
    cursor: pointer;
    margin-right: 10px;
    color: var(--mainColor);
}
.gu-delete {
    font-size: 25px;
    cursor: pointer;
    color: #666666;
}
.gu-name {
    color: var(--wordColor);
}
/*SDSReceive--*/
/*receive ++*/
.receive-div{
    padding: 0px 30px;
}
.receive-div .ui-datepicker-trigger {
    right: 10px;
    bottom: 5px;
    position: absolute;
    width: 40px;
    padding: 0.375rem 0.45rem;
    pointer-events: auto;
    display: inline-block;
    height: 40px;
    border: none;
    background: transparent;
}
/*receive --*/
/*updateLoanCase++*/
.uptab {
    /*background-color: #2d609a;
    background-image: linear-gradient(to top, #1e3c72 0%, #1e3c72 1%, #2a5298 100%);
    position: fixed;
    z-index: 99;
    width: 100%;
    filter: drop-shadow(2px 1px 1px rgba(0, 0, 0, 0.8));*/
    background-color: #421500;
    background-image: linear-gradient(to top, #421500 0%, #421500 1%, #691615 100%);
    position: fixed;
    z-index: 99;
    width: 100%;
    filter: drop-shadow(2px 1px 1px rgba(0, 0, 0, 0.8));
}
.uptab a {
    line-height: 40px;
    padding-left: 3em;
    /*color: var(--wordColor);*/
    color: #fff;
    font-size: 22px;
}
.uptab a.active i {
    text-decoration: underline;
}
.uptab a.active {
    /*color: var(--mainColor);*/
    text-decoration: underline;
    text-underline-offset: 5px;
    color: khaki;
    font-weight: 700;
}
.uptab .nav-link {
    color: var(--wordColor);
    border: none;
}
.uptab .nav-link.active {
    color: var(--mainColor);
    background-color: var(--lightColor);
    border-left: 1px solid #dee2e6;
    border-right: 1px solid #dee2e6;
    font-weight: 700;
}
/*updateLoanCase--*/

/*Other page++*/
.other-font-color {
    color: var(--wordColor);
}
.other-button {
    border: 1px solid var(--wordColor);
    padding: 3px 20px;
}
.other-shadow {
    box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 50px;
}
/*Other page--*/

/*case additional && case search++*/
#caseAddContent .client-div {
    width: 90%;
}
.contact-left .additional-plate {
    background-color: #929394;
    color: #ffffff;
    float: left;
    padding: 2px 5px;
    text-align: center;
    border-radius: 4px;
}
.contact-left .additional-consumer {
    color: #727476;
    float: right;
    padding-left: 10px;
    max-width: 350px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.contact-right .rcase-btn {
    /*font-size: 18px;*/
    color: var(--darkColor);
    line-height: 50px;
    text-indent: 10px;
    background-color: #ffffff;
    text-align: center;
    border-bottom: 1px solid var(--darkColor);
    display: inline-block;
    width: 100%;
}
.swal2-html-container .swal-rcase {
    font-size: 22px;
    color: var(--darkColor);
    line-height: 50px;
    text-indent: 10px;
    background-color: #ffffff;
    text-align: center;
    border-bottom: 1px solid var(--darkColor);
    display: inline-block;
    width: 100%;
    text-align: center;
}
.swal2-html-container .swal-rcase:last-child {
    border-bottom: none;
}
.swal2-modal {
    border-radius: 15px;
    border: 2px solid var(--fourth);
}

#caseSearch .client-div {
    /*width:90%;*/
}
.contact-left .search-plate {
    background-color: #929394;
    color: #ffffff;
    float: left;
    padding: 2px 5px;
    text-align: center;
    border-radius: 5px;
}
.case-reply{
    display: none;
}
.case-reply-c {
    padding: 10px;
    background-color: #faebd7;
}
.contact-left .search-consumer {
    color: #727476;
    float: left;
    padding-left: 10px;
    max-width: 210px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.contact-left .search-reply {
    float: right;
    font-size: 20px;
    color: #495057;
    text-align: right;
    background-color: #f5deb3;
    padding: 0px 6px;
    border-radius: 4px;
    margin-left: 8px;
}
.contact-left .search-contract {
    float: right;
    font-size: 20px;
    color: #1b4a6b !important;
    text-align: right;
    background-color: #fff2ad;
    padding: 0px 6px;
    border-radius: 4px;
    margin-left: 8px;
}
.contact-left .search-more {
    float: right;
    font-size: 20px;
    color: #495057;
    text-align: right;
    background-color: #DCDCDC;
    padding: 0px 12px;
    border-radius: 4px;
}
.contact-left .search-more i{
    color: #495057 !important;
}
.contact-left .search-create {
    float: right;
}
.contact-left .search-no {
    color: #727476;
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    text-align: left;
}
.search-plate.yellow {
    background-color: #FCC76B;
}
.search-plate.green {
    background-color: #35B972;
}
.search-plate.red {
    background-color: #F76251;
}
.search-plate.blue {
    background-color: #4285F4;
}
.search-plate.chartreuse {
    background-color: #90EE90;
}
.search-plate.indianred {
    background-color: #cd5c5c;
}
.search-plate.lightblue {
    background-color: #add8e6;
}
.search-plate.skyblue {
    background-color: #87ceeb;
}
.search-plate.lightskyblue {
    background-color: #87cefa;
}
.search-plate.steelblue {
    background-color: #4682b4;
}
.search-plate.dodgerblue {
    background-color: #1e90ff;
}
.search-plate.lightsalmon {
    background-color: #ffa07a;
}
.search-plate.sienna {
    background-color: #a0522d;
}
.search-plate.saddlebrown {
    background-color: #8b4513;
}
.search-plate.chocolate {
    background-color: #d2691e;
}
.search-plate.sandybrown {
    background-color: #f4a460;
}
.imgListDiv .contact-right {
    border-radius: 5px;
    /*height: 68vh;*/
    height: auto;
}
.imglist-owl {
    height: 168px;
    border: 2px solid var(--fourth);
    border-radius: 5px;
    padding: 8px;
    margin-bottom: 10px;
    overflow: hidden;
}
.imglist-owl .owl-item {
    pointer-events: auto;
}
.imglist-owl .owl-nav {
/*    margin-top: -90px !important;
    width: 100% !important;
    margin-bottom: 0px;*/
    left: 0px;
    top: 35% !important;
    width: 100% !important;
    margin-bottom: 0px;
    position: absolute;
    pointer-events: none;
}
.imgListContact .owl-carousel .owl-nav button.owl-prev {
    position: relative;
    float: left;
    left: 0px;
    background-color: #ffffff;
    border: 1px solid #000000;
    border-radius: 30px;
    width: 30px;
    height: 30px;
    pointer-events: auto;
}
.imgListContact .owl-carousel .owl-nav button.owl-next {
    position: relative;
    float: right;
    right: 0px;
    background-color: #ffffff;
    border: 1px solid #000000;
    border-radius: 30px;
    width: 30px;
    height: 30px;
    pointer-events: auto;
}
.imgListContact .owl-theme .owl-nav [class*=owl-]:hover {
    color: inherit;
}
.imgListTab .nav-item {
    position: relative;
    display: block;
    border: none;
    border-bottom: 1.5px solid #c4c4c4;
    color: #808080;
}
.one-img {
    overflow: hidden;
    border-radius: 5px;
    display: block;
    width: 99%;
    margin: 0 auto;
    margin-block: 2px;
    /*border: 1px solid #aaaaaa;*/
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
}
.contact-left .imgListTab .nav-link {
    /*padding: 8px;*/
    padding: 0.4rem 0.8rem;
    border-radius: 0px;
}
.contact-left .imgListTab .nav-link *{
    font-size: 20px;
}
.contact-left .imgListTab .nav-item:last-child {
    /*border-bottom: none;*/
}
.contact-left .imgListTab .nav-link.active {
    /*background-color: #D9F3FC;*/
    /*background-color: #1e90ff;*/
    background-color: var(--fourth);
}
.contact-left .imgListTab .nav-link.active span{
    color: #ffffff;
}
.imgListTab .search-plate {
    color: #ffffff;
    float: left;
    padding: 2px 5px;
    text-align: center;
    border-radius: 5px;
}
.imgListTab .search-consumer {
    color: #333333;
    float: left;
    padding-left: 10px;
    max-width: 300px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.imgListTab .search-no {
    color: #333333;
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    text-align: left;
}
.imgListContact .owl-item.sel-item {
    /*border: 2px solid #ff0000;*/
    /*border: 5px solid cornflowerblue;*/
    border: 5px solid var(--fourth);
}
.imgListContact .imglist-t {
    font-size: 22px;
    width: 100%;
    text-align: center;
    background-color: var(--fourth);
    color: #ffffff;
    line-height: 45px;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}
.imgListContact .tab-pane img {
    width: 100%;
}
.imgListContact .one-img img {
    width: 100%;
}
/*.img_fullscreen {
    position: absolute;
    width: 100%;
    height: auto;
    top: 0;
    left: 0;
    overflow-y:scroll;
}*/
/*case additional && case search--*/
/*chat box++*/
.message-area {
    height: 77vh;
    overflow: hidden;
    background: #f5f5f5;
}
.chat-area {
    position: relative;
    width: 100%;
    background-color: #fff;
    border-radius: 0.3rem;
    height: 90vh;
    overflow: hidden;
    min-height: calc(100% - 1rem);
}

.chat-area .modal-content {
    border: 2px solid #cccccc;
    border-radius: 10px;
    outline: 0;
    height: 82%;
}
.chat-area .modal-dialog-scrollable {
    height: 100% !important;
}
.chatbox {
    width: auto;
    overflow: hidden;
    height: 100%;
    border-left: 1px solid #ccc;
}
.chatbox .modal-dialog{
    max-width: 100%;
    margin: 0;
}
.msg-search {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.chat-area .form-control:focus {
    outline: 0;
    box-shadow: inherit;
}
.modal-body {
    background-color: #f4f5fb;
}
.msg-body ul {
    overflow: hidden;
}
.msg-body ul li {
    list-style: none;
    margin: 15px 0;
}
.msg-body ul li.sender {
    display: block;
    width: 100%;
    position: relative;
    text-align: left;
    white-space: pre-wrap;
}
.msg-body ul li.sender:before {
    display: block;
    clear: both;
    content: '';
    position: absolute;
    top: -6px;
    left: -7px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 12px 15px 12px;
    border-color: transparent transparent #e5e5e5 transparent;
    -webkit-transform: rotate(-37deg);
    -ms-transform: rotate(-37deg);
    transform: rotate(-37deg);
}
.msg-body ul li.sender p {
    color: #000;
    font-size: 20px;
    line-height: 1.2rem;
    font-weight: 400;
    padding: 15px;
    background: #e5e5e5;
    display: inline-block;
    border-bottom-left-radius: 10px;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    margin-bottom: 0;
    text-align: left;
    word-break: break-all;
}
.msg-body ul li.sender p b {
    display: block;
    color: #180660;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 500;
}
.msg-body ul li.repaly {
    display: block;
    width: 100%;
    text-align: right;
    position: relative;
    white-space: pre-wrap;
}
.msg-body ul li.repaly:before {
    display: block;
    clear: both;
    content: '';
    position: absolute;
    bottom: 15px;
    right: -7px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 12px 15px 12px;
    border-color: transparent transparent var(--mainColor) transparent;
    -webkit-transform: rotate(37deg);
    -ms-transform: rotate(37deg);
    transform: rotate(37deg);
}
.msg-body ul li.repaly p {
    color: #fff;
    font-size: 20px;
    line-height: 1.2rem;
    font-weight: 400;
    padding: 15px;
    /*background: #4b7bec;*/
    background-color: var(--mainColor);
    display: inline-block;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    border-bottom-left-radius: 10px;
    margin-bottom: 0;
    text-align: left;
    word-break: break-all;
}
.msg-body ul li.repaly p b {
    display: block;
    color: #061061;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 500;
}
.msg-body ul li.repaly:after {
    display: block;
    content: '';
    clear: both;
}
.msg-body .time {
    display: block;
    color: #8f8f8f;
    font-size: 16px;
    line-height: 1.5;
    font-weight: 400;
    text-indent: 10px;
}
.msg-body li.repaly .time {
    margin-right: 20px;
}
.msg-body .divider {
    position: relative;
    z-index: 1;
    text-align: center;
}
.msg-body h6 {
    text-align: center;
    font-weight: normal;
    font-size: 16px;
    line-height: 2rem;
    color: #ffffff;
    background-color: #ffb567;
    display: inline-block;
    padding: 0 10px;
    margin-bottom: 0;
    border-radius: 20px;
}
.msg-body .bg-grey h6{
    background-color: darkgray;
}
.msg-body .bg-grey:after {
    border-top: 1px dashed darkgray!important;
}
.msg-body .divider:after {
    display: block;
    content: '';
    clear: both;
    position: relative;
    top: -15px;
    border-top: 1px dashed #ffb567;
    width: 80%;
    height: 100%;
    z-index: -1;
    margin: 0 auto;
}
.send-box {
    padding: 15px;
    border-left: 2px solid #ccc;
    background-color: #fff9f4;
    height: 100%;
    /*background-image: linear-gradient(-225deg, #5D9FFF 0%, #B8DCFF 48%, #6BBBFF 100%);*/
}
.send-box *{
    font-size: 20px;
    line-height: 24px;
}
.send-box .form-label {
    margin: 0px;
}
.send-box .cb-send {
    border: none;
    background: var(--btnBgColor);
    padding: 0.6rem 5px;
    color: #fff;
    border-radius: 0.25rem;
    font-size: 22px;
    line-height: 1.5rem;
}
.send-box button i {
    margin-right: 5px;
}
.send-btns .button-wrapper {
    position: relative;
    width: 125px;
    height: auto;
    text-align: left;
    margin: 0 auto;
    display: block;
    background: #F6F7FA;
    border-radius: 3px;
    padding: 5px 15px;
    float: left;
    margin-right: 5px;
    margin-bottom: 5px;
    overflow: hidden;
}
.send-btns .button-wrapper span.label {
    position: relative;
    z-index: 1;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    width: 100%;
    cursor: pointer;
    color: #343945;
    font-weight: 400;
    text-transform: capitalize;
    font-size: 13px;
}
#cbupload {
    display: inline-block;
    position: absolute;
    z-index: 1;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    cursor: pointer;
}
.send-btns .button-wrapper span.label img {
    margin-right: 5px;
}
.send-btns .button-wrapper {
    position: relative;
    width: 100px;
    height: 100px;
    text-align: center;
    margin: 0 auto;
}
.send-box .ui-datepicker-trigger {
    position: absolute;
    top: 5px;
    right: 5px;
}
.send-box .cb-tip {
    color: #d26934;
    font-size: 26px;
    line-height: 34px;
    text-align: center;
    height: 34px;
}

/*Category++*/
.client-div {
    width: 95%;
    margin: 0 auto;
    max-height: 70vh;
    overflow: hidden;
    display: block;
}
.contact-div #searchContactbtn {
    /* border-top-right-radius: 0.6rem; */ /* 2024.05.03 original */
    border-top-right-radius: 0.5rem;  /* 2024.05.03 change */
    /* border-bottom-right-radius: 0.6rem; */ /* 2024.05.03 original */
    border-bottom-right-radius: 0.5rem;  /* 2024.05.03 change */
}
.contact-left {
    margin-left: 0px;
    /*padding-left: 0px;*/
    height: 68vh;
    overflow-y: auto;
    overflow-x: hidden;
}
.contact-left .car-plate {
    background-color: #929394;
    color: #ffffff;
    /* float: left; */  /* 2024.05.03 original */
    min-width: 110px;
    text-align: center;
    min-height: 30px;
}
.contact-left .remit-plate {
    background-color: #929394;
    color: #ffffff;
    float: left;
    padding: 2px 5px;
    text-align: center;
    border-radius: 4px;
}
/* 代號改為無底色，樣式比照名稱（選中時一起變深色） anny 20260728 */
.contact-left .car-acoount-plate {
    float: left;
    padding-left: 10px;
    white-space: nowrap;
}
/* 未啟用標籤改為灰底白字標籤，比啟用更明顯（填滿固定欄位） anny 20260728 */
.contact-left .car-activate.car-inactive {
    background-color: #929394;
    color: #ffffff;
    padding: 2px 6px;
    border-radius: 4px;
}
.contact-left .car-consumer{
    /*color: #727476;*/
    /* float: left; */    /* 2024.05.03 original */
    padding-left: 10px;
    max-width: 205px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.contact-left .remit-consumer {
    /*color: #727476;*/
    float: right;
    padding-left: 10px;
    max-width: 195px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.contact-left .car-account-name {
    /*color: #727476;*/
    float: left;
    padding-left: 10px;
    max-width: 225px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.contact-left .car-activate{
    color: var(--mainColor);
    float: left;
    /* 固定同寬欄位，讓後面的代號、名稱上下對齊 anny 20260728 */
    width: 96px;
    box-sizing: border-box;
    padding-right: 0;
    margin-right: 8px;
    text-align: center;
    white-space: nowrap;
    word-spacing: normal;
}
.imgListDiv {
    min-height: 68vh;
}
.imgListDiv .contact-left {
    height: fit-content;
}
.imgListDiv .contact-left {
    border: 2px solid #c4c4c4;
    border-radius: 10px;
}
.contact-right {
    border: 2px solid var(--mainColor);
    border-radius: 5px;
    height: 68vh;
    padding: 0px;
    background-color: #ffffff;
    overflow-y: auto;
    overflow-x: hidden;
    border-radius: 10px;
    box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.24);
}
.imgListDiv .contact-right {
    background-color: var(--lightColor);
    box-shadow: none;
    border: none;
}
.contact-right .title {
    font-size: 22px;
    /*color: #095D95;*/
    color: #ffffff;
    line-height: 45px;
    text-indent: 10px;
    /*background-color: #ffffff;*/
    /*background-color: #87ceeb;*/
    /*background-image: linear-gradient(-225deg, #7dc2fe, #56efff 58.82%, #ffffff);*/
    background-color: var(--fourth);
}
.pdetail-div .title {
    font-size: 22px;
    color: #ffffff;
    line-height: 45px;
    text-indent: 10px;
    background-color: var(--fourth);
    text-align: left;
}
.contact-right .title-btn-div {
    line-height: 45px;
    text-indent: 10px;
    /*background-color: #eff9ff;*/
    padding: 5px 0px;
    text-indent: 0px;
}
    .contact-right .title-btn-div a, .contact-right .doc-download {
        /*    color: #808080;
    font-size: 22px;
    background-color: #ffffff;
    padding: 0px 10px;
    border-radius: 10px;
    margin: 10px 10px 15px 10px;
    line-height: 58px;
    display: table;
    width: 95%;
    box-shadow: 0 7px 15px 0 rgba(0, 0, 0, .13), 0 1px 4px 0 rgba(0, 0, 0, .11);
    text-align: center;
    border: 1px solid #ccc;*/
    /*    color: cornflowerblue;*/
    color: var(--mainColor);
    font-size: 26px;
    background-color: #ffffff;
    padding: 0px 10px;
    line-height: 58px;
    display: table;
    width: 90%;
    text-align: center;
    border-bottom: 2px solid #ccc;
    margin: 0 auto;
    font-weight: 700;
}
.contact-right .consumer-detail {
    padding: 2rem;
}
.client-div .nav-tabs {
    border: none;
}
.client-div .nav-link, .client-div .nav-link:hover, .client-div .nav-link:focus {
    position: relative;
    display: block;
    border: none;
    /*border-bottom: 1.5px solid #c4c4c4;*/
    color: #808080;
    border: 1.5px solid #c4c4c4;
    border-radius: 10px;
    margin: 5px;
}
.client-div .nav-link:last-child, .client-div .nav-link:last-child.active {
    /*border-bottom: none;*/
}
#caseAddContent .contact-right {
    /*background-image: linear-gradient(-225deg, #ffffff 10.08%, #56efff 47.48%, #7dc2fe);*/
    /*background-color: #eff9ff;*/
}
.client-div .nav-tabs > a.active {
    /*border: none;*/
    /*border-bottom: 1.5px solid #c4c4c4;*/
    /*border: 1.5px solid #c4c4c4;*/
    border: 1.2px solid var(--mainColor);
    border-radius: 10px;
    margin: 5px;
    box-shadow: 0px 4px 8px -2px rgba(9, 30, 66, 0.25), 0px 0px 0px 1px rgba(9, 30, 66, 0.08);
    /*background-image: linear-gradient(-225deg, #5D9FFF 0%, #B8DCFF 48%, #6BBBFF 100%);*/
    /*background-image: linear-gradient(-225deg, #ffffff 10.08%, #56efff 47.48%, #7dc2fe);*/
    /*background-color: #1e90ff;*/
    /*background-color: #264b8a;*/
    /*background-color: var(--fourth);*/
    /*background-image: linear-gradient(90deg, #fbab36, #ffde75 35%, #ffb15f 65%, #f7ac3e 86%);*/
    /*background-image: linear-gradient(90deg, #c67d30, #f1d79b 50%, #ffb76c 65%, #d58735 86%);*/
    background-color: #fcf1d5;
    color: #ffffff;
}
.client-div .nav-tabs > a.active *:not(.search-plate, .additional-plate, .remit-plate, .search-reply, .car-inactive) {
    /*color: #095D95;*/
    color: #421500;
}
.client-div .nav-tabs > a.active .car-brand {
    border: 1px solid #ffffff;
}
.client-div .nav-tabs > a.active:after {
    content: '';
    position: absolute;
    left: 99%;
    top: 50%;
    margin-top: -25px;
    border-left: 0;
    border-bottom: 25px solid transparent;
    border-top: 25px solid transparent;
    border-right: 25px solid var(--mainColor);
    /*content: '';
    position: absolute;
    left: 100%;
    top: 50%;
    margin-top: -13px;
    border-left: 0;
    border-bottom: 13px solid transparent;
    border-top: 13px solid transparent;
    border-right: 13px solid var(--mainColor);*/
    /*content: '';
    position: absolute;
    left: 100%;
    top: 50%;
    margin-top: -5px;
    margin-left: 7px;
    display: inline-block;
    border-top: 1px solid;
    border-right: 1px solid;
    width: 12px;
    height: 12px;
    border-color: var(--mainColor);
    transform: rotate(-135deg);
    background: var(--lightColor);*/
}
.client-div .dalay-count, .client-div .last-six-dalay {
    font-size: 20px;
    color: var(--fourth);
}
.client-div .dalay-count > span, .client-div .last-six-dalay > span {
    font-size: 20px;
    color: #d26934;
}
.client-div .car-brand{
    border: 1px solid #727476;
    padding: 0px 4px;
    border-radius: 2px;
}
.case-search-div * {
    font-size: 20px;
}
.case-search-btn {
    border-top-right-radius: 0.6rem;
    border-bottom-right-radius: 0.5rem;
}
/*Category--*/
/*-- Swal Custom Class --*/
.swal-button-font-size {
    font-size: 20px !important;
}
.swal-title-font-size {
    font-size: 30px !important;
}
.swal2-popup {
    margin-bottom: 30px;
    margin-top: 40px;
}
.sw-btn {
    background-color: #dfa364 !important;
}
.sw-btn:focus {
    box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.5) !important;
}
.sw-popup {
    width: 20em !important;
}
.sw-title {
    letter-spacing: 1.5px !important;
    font-size: 1.5em !important;
    font-weight: 500 !important;
    color: #0a5181 !important;
}
.swal2-container button.swal2-close {
    background-color: #000000;
    right: -20px;
    top: -28px;
    position: absolute;
    color: #ffffff;
    border-radius: 25px;
    text-align: center;
}
div:where(.swal2-icon).swal2-info {
    border-color: var(--iconColor);
    color: var(--iconColor);
}
div:where(.swal2-container) button:where(.swal2-styled).swal2-confirm {
    background-color: var(--btnBgColor);
}
div:where(.swal2-container) button:where(.swal2-styled).swal2-confirm:focus {
    box-shadow: 0 0 0 3px #dfa364;
}
.btn-check:focus + .btn, .btn:focus {
    outline: 0;
    box-shadow: 0 0 0 .25rem #dfa364;
}
/*-- //Swal Custom Class --*/

/*++funky radio check++*/
.finalcheck a {
    /*color: var(--wordColor);*/
    color: #777;
}
.finalcheck label {
    width: 100%;
    border-radius: 3px;
    border: 1px solid #D1D3D4;
    font-weight: normal;
}
.finalcheck .check-div:empty {
    display: none;
}
.finalcheck .check-div:empty ~ label {
    position: relative;
    line-height: 2em;
    text-indent: 2.5em;
    margin-bottom: 0.8em;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.finalcheck .check-div:empty ~ label:before {
    position: absolute;
    display: block;
    top: 0;
    bottom: 0;
    left: 0;
    content: '';
    width: 2em;
    /*background: #D1D3D4;*/
    background: #fbfeff;
    border-radius: 3px 0 0 3px;
    /*content: '\2714';*/
    text-indent: 0.6em;
    color: #C2C2C2;
    border: 1px solid #e1dada;
    vertical-align: bottom;
}
/*.finalcheck .check-div:hover:not(:checked) ~ label {
    color: #888;
}
.finalcheck .check-div:hover:not(:checked) ~ label:before {
    content: '\2714';
    text-indent: .6em;
    color: #C2C2C2;
}*/
.finalcheck .check-div.checked ~ label {
    color: #777;
}
.finalcheck .check-div.checked ~ label:before {
    content: '\2714';
    text-indent: .6em;
    color: #333;
    background-color: #ccc;
}
.finalcheck .check-div.focus ~ label:before {
    box-shadow: 0 0 0 3px #999;
}
.finalcheck-default .check-div.checked ~ label:before {
    color: #333;
    background-color: #ccc;
}
.finalcheck-primary .check-div.checked ~ label:before {
    color: #fff;
    background-color: #337ab7;
}
.finalcheck-success .check-div.checked ~ label:before {
    color: #fff;
    background-color: #12C4A5;
}
.finalcheck-danger .check-div.checked ~ label:before {
    color: #fff;
    background-color: #d9534f;
}
.finalcheck-warning .check-div.checked ~ label:before {
    color: #fff;
    background-color: #f0ad4e;
}
.finalcheck-info .check-div.checked ~ label:before {
    color: #fff;
    background-color: #5bc0de;
}
.finalcheck .check-div.selected ~ label {
    /*border: 1px solid #f49943;*/
    border: 2px solid #ff9626;
    color: #ff7c00;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.15);
    background-color: var(--inputNeedColor);
}
/*--funky radio check--*/

/*timeline++*/
.timeline .left-time, .timeline .card-title {
    /*color: #095D95;*/
    color: var(--fourth);
}
.timeline .card-text {
    white-space: pre-line;
    font-size: 20px;
    line-height: 24px;
}
.bg-success-subtle {
    background-color: #d1e7dd;
}
.bsb-timeline-7 {
    --bsb-tl-color: #cfe2ff;
    --bsb-tl-circle-color: #f8f9fa;
    --bsb-tl-circle-border-color: #0d6efd;
    --bsb-tl-indicator-color: #ffffff;
    --bsb-tl-circle-size: 16px;
    --bsb-tl-circle-offset: 8px;
    --bsb-tl-circle-border-size: 2px;
}
.bsb-timeline-7 .timeline {
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
    overflow: hidden;
}
.bsb-timeline-7 .timeline:after {
    background-color: var(--mainColor);
    bottom: 0;
    content: "";
    left: 0;
    margin-left: -1px;
    position: absolute;
    top: 0;
    width: 2px;
    top: -75px;
    width: 2px;
    height: 100%;
}
.bsb-timeline-7 .timeline > .timeline-item {
    margin: 0;
    padding: 0;
    position: relative;
}
.bsb-timeline-7 .timeline > .timeline-item:after {
    background: var(--bsb-tl-circle-color);
    border: var(--bsb-tl-circle-border-size) solid var(--mainColor);
    border-radius: 50%;
    content: "";
    height: var(--bsb-tl-circle-size);
    left: calc(var(--bsb-tl-circle-offset)*-1);
    position: absolute;
    top: calc(50% - var(--bsb-tl-circle-offset));
    width: var(--bsb-tl-circle-size);
    z-index: 1;
}
.bsb-timeline-7 .timeline > .timeline-item .timeline-body {
    margin: 0;
    padding: 0;
    position: relative;
}
.bsb-timeline-7 .timeline > .timeline-item .timeline-meta {
    padding: 0 0 1rem 2.5rem;
}
.bsb-timeline-7 .timeline > .timeline-item:first-child .timeline-meta {
    padding: 2.5rem 0 1rem 2.5rem;
}
.bsb-timeline-7 .timeline > .timeline-item .timeline-content {
    padding: 0 0 2.5rem 2.5rem;
}

@media(min-width:768px) {
    .bsb-timeline-7 .timeline > .timeline-item {
        left: 33%;
        width: 67%;
    }
    .bsb-timeline-7 .timeline > .timeline-item .timeline-meta {
        display: flex;
        justify-content: flex-end;
        left: -100%;
        margin: 0;
        padding: 0 2.5rem 0 0;
        position: absolute;
        top: calc(50% - 35px);
        width: 100%;
        z-index: 1;
    }
    .bsb-timeline-7 .timeline > .timeline-item:first-child .timeline-meta {
        padding: 0 2.5rem 0 0;
    }
    .bsb-timeline-7 .timeline > .timeline-item .timeline-content {
        padding: 2rem;
    }
    .bsb-timeline-7 .timeline > .timeline-item .timeline-indicator {
        position: relative;
    }
    .bsb-timeline-7 .timeline > .timeline-item .timeline-indicator:after {
        border-width: 1px;
        border: 10px solid var(--bsb-tl-indicator-color);
        border-color: transparent var(--bsb-tl-indicator-color) transparent transparent;
        border-left-width: 0;
        content: "";
        left: calc(2.5rem - 18px);
        position: absolute;
        top: calc(50% - var(--bsb-tl-circle-offset));
        z-index: 1;
    }
    .bsb-timeline-7 .timeline:after {
        left: 33%;
    }
}
/*timeline--*/

.error {
    color: #f27474;
}

@media (min-width: 576px){
    .right-container {
        /*padding-left: var(--bs-gutter-x,2.75rem);*/
        max-width: 100%;
        padding-left: var(--bs-gutter-x,0);
        padding-right: var(--bs-gutter-x,0);
    }
}
@media screen and (min-width:767px) {
    .right-container {
        /*padding-left: var(--bs-gutter-x,6.75rem);*/
        padding-left: var(--bs-gutter-x,0);
        padding-right: var(--bs-gutter-x,0);
    }
    .ul-menu-item {
        padding: 3.9em 0.5em;
    }
}

@media screen and (min-width:991px) {
    .right-container {
        /*padding-left: var(--bs-gutter-x,6.75rem);*/
        padding-left: var(--bs-gutter-x,0);
        padding-right: var(--bs-gutter-x,0);
    }
}

@media screen and (max-width:991px) {

}

@media screen and (max-width:767px) {
    .ul-menu {
        max-width: 400px;
    }
}

@media screen and (max-width:580px) {
    /*font size change btn*/
    .switch.font-change-item {
        /*flex: 0%;*/
        display: flex;
        flex-direction: row-reverse;
        padding: 0px 2%;
        position: absolute;
        right: 10px;
        top: 10px;
    }

    .navbar-brand {
        padding-right: 40px;
    }
}

@media screen and (max-width:480px) {
    .preview-table {
        display: block;
        overflow: auto;
        white-space: nowrap;
    }
}

@media screen and (max-width:350px) {
    .form-w {
        width:250px !important;
        margin-left:-125px !important;
    }
    .login .card {
        padding: 2rem 1.5rem;
    }
    .ul-menu-item {
        padding: 1.4em 0.5em;
    }
}
