@charset "UTF-8";

body {
    font-size: 10pt;
    text-decoration: none;	
    background-color: #EDFAE2;
    /* background: url("./images/mybackground.jpg") center center / cover no-repeat; */
    font-family: Geneva, Arial, Helvetica,微軟正黑體, sans-serif;
    margin: 0px;
    padding: 0px;
}

input, button , select, textarea, option 
{ 
 	 color:  #000000; 
}



a:active,
a:link,
a:visited,
a {	
    font-size: 10pt;
    text-decoration: none;
    color: #000000;
}
a:hover {
    color: #008000;
}
h1,h2,h3{
	margin:0;
	padding:3px 0px;
}
input ,textarea ,select{
	border:1px solid #C0C0C0;
	font-size:10pt;
	background-color: #ffffffc7;
	border-radius: 5px;
}
input {	
    height: auto;
}

input[type=button] {
    margin-top: 0px;
    height: auto;
}
input:read-only:not([type="button"]):not([type="submit"]):not([type="reset"]) {
    background-color: #EDEEED;
}
input::placeholder {
  color: #aaa;
  transition: color 0.3s ease;
}

input:focus::placeholder {
  color: transparent;
}
input[type=button]:hover {
    cursor: pointer;
    filter: drop-shadow(1px 1px 1px gray) invert(10%);
    background-color: gray;
    color: white;
}

input[type=button]:disabled {
    color: #dad8d8;
    background: transparent;
}

button:hover {
    cursor: pointer;
    filter: drop-shadow(1px 1px 1px black) invert(10%);
}

button,
select {
	background-color: #ffffffc7;
    border: 1px solid #C0C0C0;
    color: #000000;
    font-size: 10pt;
    height: 16pt;
}

legend {
    color: #396;
    display: flex;
    align-items: center;
}

fieldset {
    margin: 8px 0;
    *padding: 10px 0;
    BORDER: 1px solid #D1DDC7;
}

.hover:hover {
    background: #FEFFDD;
}

.label {
    border: 1px solid #697b54;
    background-color: #339966;
    color: #fff;
    text-align: right;
    font-size: 10pt;
    border-radius: 5px;	
}

.table1 {
    background-color: #EDFAE2;
}

.select {
    margin: 0;
    padding: 0;
    border: 1px solid #cccccc;
    float: left;
    display: inline;
}

.select div {
    border: 1px solid #f9f9f9;
    float: left;
}

.select>div {
    overflow: hidden;
}

* html .select div select {
    display: block;
    float: left;
    margin: -2px;
}

.select div>select {
    display: block;
    float: none;
    margin: -2px;
    padding: 0px;
}

.select:hover {
    border: 1px solid #666;
}

.changetype {
    margin: 0;
    padding: 0;
    border: 1px solid #cccccc;
    float: left;
    display: inline;
}

.changetype div {
    float: left;
}

.changetype>div {
    overflow: hidden;
}

* html .changetype div select {
    display: block;
    float: left;
    margin: -2px;
}

.changetype div>select {
    display: block;
    float: none;
    margin: -2px;
    padding: 0px;
}

#must {
    color: red;
}

#notice {
    font-size: 20px;
    padding: 3px;
    display: none;
}

.noticeOn {
    background-color: #B22222;
    color: #FFFF00;
    display: none;
}

.noticeOff {
    background-color: #FFFF00;
    color: #B22222;
}

.fax_folder {
    color: #869CA7;
}

.fax_file {
    color: #BDB76B;
}

.fax_error {
    color: #B22222;
}

.top_nav {
    background: none repeat scroll 0 0 #13683E;
    height: 20px;
}

.button {
    border: 1px solid #396;
    background-image: linear-gradient(to bottom, #dce8d0c2 30%, #93c9af 100%);
    color: #2F2F2F;
    display: block;
    margin: -1px;
    padding: 6px 10px;
    width: 150px;
    text-decoration: none !important;
    text-align: center;
    list-style-type: none;
}

.abutton {
    border: 1px solid #9DB0BC;
    background-image: linear-gradient(to bottom, #dfe6eb 30%, #acc5d2 70%, #dfe6eb 100%);
    color: #2F2F2F;
    padding: 0 10px;
    width: auto;
    height: 20px;
    text-decoration: none !important;
    text-align: center;
    list-style-type: none;
}

.abutton2 {
    border: 1px solid #9DB0BC;
    background-image: url("../images/button_bg2.png");
    color: #2F2F2F;
    width: auto;
    height: 20px;
    text-decoration: none !important;
    text-align: center;
    list-style-type: none;
}

.button:hover {
    color: #000;
    background: none repeat scroll 0 0 #C0E5A2;
}


.pd_list>thead {
    background-color: #339966;
    border: 1px solid #FFFFFF;
    color: #FFFFFF;
    font-size: 10pt;
    font-weight: bold;
    height: 30px;
    padding: 1px;
    text-align: center;
    text-decoration: none;
}

.odd {
    background-color: #f9f9f980;
    border: 1px solid #FFFFFF;
    color: #000000;
    font-size: 10pt;
    height: 25px;
    padding: 1px;
    text-align: center;
}

.even {
    background-color: #ffffffab;
    border: 1px solid #FFFFFF;
    color: #000000;
    font-size: 10pt;
    height: 25px;
    padding: 1px;
    text-align: center;
}

#loading {
    background: none repeat scroll 0 0 #C3DAF9;
    border: 1px solid #6593CF;
    left: 35%;
    padding: 2px;
    position: absolute;
    text-align: center;
    top: 40%;
    width: 300px;
    z-index: 20001;
}

#loading .loading-indicator {
    background: url("../images/block-bg.gif") repeat-x scroll 0 0 white;
    border: 1px solid #A3BAD9;
    color: #003366;
    font: bold 13px tahoma, arial, helvetica;
    margin: 0;
    padding: 10px;
    height: 90px;
}

/*
a {
	text-decoration:none !important;
}
*/
a.infooxygen {
    position: relative;
    /*this is the key*/
    z-index: 24;
    color: yellow !important;
    text-decoration: none;
    /*	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #09F;*/
}

a.infooxygen:hover {
    z-index: 25;
    background-color: #02592F;
}

a.infooxygen span {
    display: none;
}

a.infooxygen:hover span {
    display: block;
    position: absolute;
    top: 2em;
    left: 2em;
    width: 25em;
    border: 1px solid #0099FF;
    background-color: #FFFF99;
    color: #000;
    text-align: justify;
    font-size: 10px;
    font-weight: normal;
    padding: 3px;
    line-height: 15px;
}

a.infooxygen:hover b {
    white-space: nowrap;
    display: inline;
    font-size: small;
}

a.infooxygen:hover img {
    float: none;
    margin: 5;
    vertical-align: middle;
    border-style: none;
    border-width: 0;
}

.paging_full_numbers span.paginate_button,
.paging_full_numbers span.paginate_active {
    border: 1px solid #396;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    padding: 2px 5px;
    margin: 0 3px;
    cursor: pointer;
    *cursor: hand;
}
#nav_bg {
    background: transparent;
    height: 30px;
    width: auto;
    display: flex;
    justify-content: space-around;
    align-items: center;
}
.navTxt {
    float: none;
    padding: 0;
}
#menu_nav {
    display: flex;	
    color: #02592F;
	align-items: center;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 5pt;
    padding: 0;
}
.top-img {
    width: 58px;
    height: 50px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: bottom center;
}
.top-img:hover {
	-webkit-filter: saturate(3);
    filter: saturate(3);
	/* box-shadow: 0 0 15px #f3d42e; */
}

.top-img:active {
	-webkit-filter: saturate(3);
    filter: saturate(3);
}

.top-img:focus {
	-webkit-filter: saturate(3);
    filter: saturate(3);
}

.menu-a {
	border-top-left-radius: 13%;
	border-top-right-radius: 13%;
}
.menu-a:hover {
    font-size: 10pt;
    color: #FFF;
    font-weight: bold;
    /* text-decoration: underline; */
}
.menu-a:active, .menu-a:link, .menu-a:visited, .menu-a{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
	color: #FFF;
}
.new-menu-bar {
    display: flex;
    background: transparent;
    background-size: cover;
    height: 70%;	
	overflow-x: hidden;
	white-space: nowrap;
	/* scroll-behavior: smooth;*/ /* 針對非程式驅動捲動 */
}
#page_info{
	color:blue;
	font-size:18px;
	font-weight:bolder;
	padding: 0;
	text-align:center;
	cursor:pointer;
}
#logout:hover {
    -webkit-filter: saturate(3);
    filter: saturate(3);
}
#logout {
    letter-spacing: 3pt;
    color: white;
    position: relative;
    background-image: url(../images/button1.png);
    padding: 2px 3px 2px 7px;
    box-shadow: 2px 2px 3px black;
    z-index: 900;
}
.ui-dialog-titlebar {
    background: green;
    color: white;
}

.ui-dialog-buttonpane {
    padding: 0px !important;
}

.ui-dialog {
    background: #EDFAE2;
    box-shadow: 1px 1px 5px 3px grey;
}

.ui-button-text {
    color: black;
}

#searchBtn2,.searchBtn2 {
    background: url('../images/icons/search.svg') no-repeat scroll 5px center #F0F0F0;
    min-height: 26px;
    border-radius: 5px;
    cursor: pointer;
    color: #66C547;
    border: 1px solid #66C547;
}

#searchBtn2:hover,.searchBtn2:hover {
    background: url(../images/icons/search_red.svg) no-repeat scroll 5px center #EDFAE2;
    font-weight: bold;
}
#search_own,.search_own,.search-choice {
    min-height: 26px;
}
.queryclass {
    background: url(../images/icons/search.svg) no-repeat center center;
    background-size: contain;
    width: 15px;
    padding: 3px 0px;
    border: 0;
    cursor: pointer;
}
.queryclass:hover {
    background: url(../images/icons/search_red.png) no-repeat center center;
}
#income_body .queryclass,#expense_body .queryclass{
	cursor: pointer;
	background: url(../images/icons/search_gray.svg) no-repeat center center;
}
#income_body .queryclass:hover,#expense_body .queryclass:hover{
	background: url(../images/icons/search_red.svg) no-repeat center center;
}
.ui-tooltip,
.arrow:after {
    background: #CAED9E;
    border: 1px solid #90D93F;
}

.ui-tooltip{
	padding: 5px 10px;
	color: #333;
	border-radius: 10px;
	min-width: 40px;
	text-transform: uppercase;	
	max-width: 420px;          /* 你要多寬自己調 */
	white-space: normal;       /* ✅ 允許換行 */
	word-break: break-word;    /* 英文長字會斷 */
	overflow-wrap: anywhere;   /* ✅ 連超長字/URL 也能斷行（新瀏覽器） */
	line-height: 1.4;
}
.arrow {
    width: 35px;
    height: 16px;
    overflow: hidden;
    position: absolute;
    left: 50%;
    margin-left: -20px;
    bottom: -16px;
}

.arrow.top {
    top: -16px;
    bottom: auto;
}

.arrow.left {
    left: 20%;
}

.arrow:after {
    content: "";
    position: absolute;
    left: 20px;
    top: -20px;
    width: 25px;
    height: 25px;
    box-shadow: 6px 5px 9px -9px black;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.arrow.top:after {
    bottom: -20px;
    top: auto;
}

.custom-combobox {
    display: flex;
    align-items: center;
    max-height: 25px;
}

.queues_table_th {
    color: #ffffff;
    white-space: nowrap;
    background-color: #7bbd89;
}

.queues_table_tdth {
    border: 1px solid #dddddd;
}

.labelin {
    background-color: #AAD5A4;
    color: white;
}

.sp-background {
    font-size: 14px;
    background-color: #5CB17E;
}

.msg-light {
  display:flex;	
  background-color: red;
}	

.msgcircle {
    width: 2vw;
    height: 2vw;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 8px;
    z-index: 10;
    background-size: cover;
    background-repeat: no-repeat;
    position: absolute;
    right: 12%;
}

/* .search-line { */
    /* display: flex; */
    /* position: absolute; */
    /* justify-content: flex-end; */
    /* align-items: center; */
    /* right: 2%; */
    /* z-index: 10; */
/* } */

#displaySetBtn {
    background: url('../images/go-dn-on.gif') no-repeat scroll 5px center #F0F0F0;
}

.displaySetBtn {
    background: url('../images/go-dn-on.gif') no-repeat scroll 5px center #F0F0F0;
}

.custom-combobox .ui-state-default .ui-icon {
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3C%3Fxml version='1.0' encoding='iso-8859-1'%3F%3E%3C!DOCTYPE svg PUBLIC '-//W3C//DTD SVG 1.1//EN' 'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3E%3Csvg version='1.1' id='Layer_1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' width='14px' height='14px' viewBox='0 0 14 14' style='enable-background:new 0 0 14 14;' xml:space='preserve'%3E%3Cpolygon fill='%23dad8d8' points='9,7 9,0 5,0 5,7 0,7 7,14 14,7 '/%3E%3Cg%3E%3C/g%3E%3Cg%3E%3C/g%3E%3Cg%3E%3C/g%3E%3Cg%3E%3C/g%3E%3Cg%3E%3C/g%3E%3Cg%3E%3C/g%3E%3Cg%3E%3C/g%3E%3Cg%3E%3C/g%3E%3Cg%3E%3C/g%3E%3Cg%3E%3C/g%3E%3Cg%3E%3C/g%3E%3Cg%3E%3C/g%3E%3Cg%3E%3C/g%3E%3Cg%3E%3C/g%3E%3Cg%3E%3C/g%3E%3C/svg%3E%0A");
}

.custom-combobox .ui-state-default,
.custom-combobox .ui-widget-content .ui-state-default,
.custom-combobox .ui-widget-header .ui-state-default {
    background-color: #e8e8e8;
}



input[type=button]:hover {
    cursor: pointer;
    filter: drop-shadow(1px 1px 1px gray) invert(10%);
    background-color: gray;
    color: white;
}

.ui-dialog .ui-dialog-buttonpane button {
    height: auto;
}

.srcno_img {
    width: 16px;
    height: 16px;
}

.editContrl:hover {
    cursor: pointer;
    filter: drop-shadow(1px 2px 2px rgba(0, 0, 0, 0.5));
}

.edit:hover {
    cursor: pointer;
    filter: drop-shadow(1px 2px 2px rgba(0, 0, 0, 0.5));
}

img[id^="edit"]:hover {
    cursor: pointer;
    filter: drop-shadow(1px 2px 2px rgba(0, 0, 0, 0.5));
}

.ui-tabs .ui-tabs-panel {
    position: relative;
}

td.details-control {
    background: url("../images/details_open.svg") no-repeat center center;
    cursor: pointer;
}

tr.shown td.details-control {
    background: url("../images/details_close.svg") no-repeat center center;
}

#BtnZone {
    display: none;
    align-items: center;
}

#BtnZone .icon-out {
    padding: 0 3px;
}

.line-addRow {
    letter-spacing: 1px;
    background: url("../images/add.png") no-repeat scroll 3px center whitesmoke;
    padding-left: 23px;
    font-size: 14px;
    border-color: -moz-use-text-color -moz-use-text-color #000000;
    border-style: none none dotted;
    border-width: medium medium 2px;
}

.dataTables_scrollBody .dts_label {
    display: none !important;
}

.ui-dialog .ui-dialog-buttonpane button {
    height: auto;
}

.cond-item-div {
    width: 100%;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    background: linear-gradient(to top, #ffffff94, #7dc473b8);
	padding-bottom:10px;
}
.arrow_box .logo {
    display: block;
    font-size: 1.5em;
    font-weight: bold;
}
.arrow_box {
    position: relative;
    background-color: #DBF1D1;
    border: 3px solid #b7d4aa;
    display: flex;
    border-radius: 8px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    cursor: pointer;
	color:#333333;
}
.arrow_box:after, .arrow_box:before {
	left: 100%;
	top: 50%;
	border: solid transparent;
	content: " ";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
}

.arrow_box:after {
    border-color: rgba(136, 183, 213, 0);
    border-left-color: #DBF1D1;
    border-width: 7px;
    margin-top: -7px;
}
.arrow_box:before {
	border-color: rgba(194, 225, 245, 0);
	border-left-color: #b7d4aa;
	border-width: 10px;
	margin-top: -10px;
}
.arrow_box:hover{
	background-color:#57b846;
	color:white;
}
.arrow_box:hover:after {
	border-left-color: #57b846;
}
.cash-process .arrow_box {
    position: relative;
    background-color: #DBF1D1;
    border: 3px solid #b7d4aa;
    display: flex;
    border-radius: 8px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    cursor: pointer;
    color: #333333;
}

.cash-process .arrow_box:after,
.cash-process .arrow_box:before {
    left: 100%;
    top: 50%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
}

.cash-process .arrow_box:after {
    border-color: rgba(136, 183, 213, 0);
    border-left-color: #DBF1D1;
    border-width: 25px;
    margin-top: -25px;
}

.cash-process .arrow_box:before {
    border-color: rgba(194, 225, 245, 0);
    border-left-color: #b7d4aa;
    border-width: 33px;
    margin-top: -33px;
}

.cash-process .arrow_box:hover {
    background-color: #57b846;
    color: white;
}

.cash-process .arrow_box:hover:after {
    border-left-color: #57b846;
}

.cash-process {
    display: flex;
    height: 40%;
    align-items: center;
    font-family: 微軟正黑體;
    width: 100%;
    justify-content: center;
}

.cash-process .process1 {
    width: 220px;
}

.cash-process .process1 .arrow_box {
    height: 40%;
}

.cash-process .box-obj {
    width: 180px;
}

.cash-process .process2 .arrow_box {
    height: 40%;
}

.logo {
    text-align: center;
    font-weight: bold;
    text-transform: uppercase;
    /* text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);*/
}

.cash-process .noarrow:hover {
    background-color: #57b846;
}

.cash-process .noarrow:before {
    border-width: 0px;
    margin-top: 0px;
}

.cash-process .noarrow:after {
    border-width: 0px;
    margin-top: 0px;
}

.cash-process .arrow_box h2 {
    margin: 0;
}

.cash-process .noarrow h2:hover {
    text-decoration: underline;
}

.cash-process a {
    text-decoration: none;
    color: inherit;
}

.cash-process a:hover {
    text-decoration: none;
}
#divEdit{ 
	border: 5px solid ;
	background:whitesmoke;
}
#warehosesbody #list_subject {
	border: 5px solid;
	width: 300px; height: 420px;
	box-shadow: gray 5px 5px 15px;	
	background: whitesmoke;
    border-color: #99DD99;
}
#warehosesbody #divEdit {
	background: whitesmoke;
    border-color: #99DD99;	
    width: 600px;
    height: 420px;
    box-shadow: gray 5px 5px 15px;
}
#functionBar .btn-items,.functionBar .btn-items, .barline .btn-items{
	display:flex;
	align-items:center;
	justify-content:space-around;
}
#functionBar #addBtn,.functionBar #addBtn,.barline #addBtn{
    background: url('../images/icons/add.png') no-repeat scroll 5px 4px #F0F0F0;
    padding-left: 22px;	
}
#BtnZone #delBtn{
    background: url('../images/icons/remove.png') no-repeat scroll 3px center #F0F0F0;
    padding-left: 22px;
}
#BtnZone #cancelBtn{
    background: url('../images/icons/cross.png') no-repeat scroll 3px center #F0F0F0;
	padding-left:22px;
}
#BtnZone #combineBtn{
    background: url('../images/icons/arrow_join.png') no-repeat scroll 3px center #F0F0F0;
    padding-left: 22px;
}
#coacctsbody #list_subject {
    width: 320px;
    height: 460px;
    padding: 0.5em;
    box-shadow: gray 5px 5px 15px;
    border: 5px solid;
    background: whitesmoke;
    border-color: #99DD99
}
#coacctsbody #divEdit {
    width: 600px;
    height: 420px;
    padding: 0.5em;
    -webkit-box-shadow: gray 5px 5px 15px;
    border: 5px solid;
    background: whitesmoke;
    border-color: #99DD99;
}

.bankacctlist thead tr {
    background: #339966;
    color: white;
    height: 26px;
}

.my_counttime {
    width: 30px;
    color: red;
    padding: 0 5px;
    text-align: right;
}

.ui-autocomplete {
    background: white;
	height: 80vh;
    overflow-y: scroll;
    overflow-x: hidden;	
}

.ui-dialog-content {
    padding: 5px;
}

.ui-widget-overlay.custom-overlay {
    background-color: black;
    background-image: none;
    opacity: 0.9;
    z-index: 1040;
}

.dialog-messageClass {
    border: 1px solid gray;
    border-radius: 5px;
}

.dialog-messageClass .ui-dialog-titlebar {
    background: #99dd99;
}

.dialog-messageClass .ui-dialog-content {
    padding: 5px;
    background: white;

}
.vou-title {
    font-weight: bold;
    display: flex;
    background-color: green;
    color: white;
    height: 24px;
    align-items: center;
}
.vou-left {
    width: 20px;
    border-right: 1px solid darkgreen;
    font-size: 18px;
    font-weight: bold;
    color: darkgreen;
    display: flex;
    align-items: center;
}
.vou-credit {
    border-bottom: 1px solid darkgreen;
}
.labelin {
    background-color: #AAD5A4;
    color: white;
}
.dialog-messageClass .ui-dialog-title {
    color: #006400;
    display: flex;
    justify-content: center;
}

.dialog-greenClass {
    border: 1px solid gray;
    border-radius: 5px;
}

.dialog-greenClass .ui-dialog-titlebar {
    background: green;
}

.dialog-greenClass .ui-dialog-content {
    background: white;
    color: crimson;

}

.dialog-greenClass .ui-dialog-title {
    color: white;
    display: flex;
    justify-content: center;
}

.dialog-play .ui-dialog-titlebar {
    display: flex;
    justify-content: center;
}

.dialog-play .ui-dialog-title {
    width: auto;
}

.dialog-play .ui-dialog-content {
    padding: 0;
}

.dialog-play .ui-button-text-only .ui-button-text {
    padding: 0 5px;
}

.dialog-play .ui-dialog-buttonpane button {
    margin: 0;
}

.dialog-play .ui-dialog-buttonpane {
    margin-top: 0;
}

.showfields-dialog-darkslategrey .ui-dialog-titlebar {
    background: #2f4f4fbd;
}



.king-tmp-mark {
    color: red;
}

textarea:read-only {
    background-color: #EDEEED;
}

.lock-click-self{
	pointer-events: none !important;
	cursor: not-allowed !important;	
}
.lock-click-event {
    cursor: not-allowed;
}

.lock-click-event * {
    pointer-events: none;
}
.background-notify{
	position:relative;
}
.background-notify:after {		
    margin: 3rem;
    content: attr(data-content);
    position: absolute;
    transform: rotate(320deg);
    -webkit-transform: rotate(320deg);
    color: #f3a6a630;
    top: 25%;
    left: 20%;
    font-size: 300%;
    font-weight: 900;
    letter-spacing: 10pt;
    border: 8px solid #f3a6a630;
    padding: 20px;
}
.background-notify-small{
	position:relative;
}
.background-notify-small:after {	
    content: attr(data-content);
    position: absolute;
    transform: rotate(320deg);
    -webkit-transform: rotate(320deg);
    color: #f3a6a630;
    top: 25%;
    left: 20%;
    font-size: 300%;
    font-weight: 900;
    letter-spacing: 10pt;
    border: 3px solid #f3a6a630;
    padding: 7px;
}
select.lock-click-self{
	background-color: #ebf3f7;
}
.append-title-line {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3px 0px;
}
::-webkit-scrollbar {
	width: 5px;
	height: 5px;
}

::-webkit-scrollbar-button {
	background: transparent;
	border-radius: 4px;
}

::-webkit-scrollbar-track-piece {
	background: transparent;
}

::-webkit-scrollbar-thumb {
	border-radius: 4px;
	background-color: rgba(77, 77, 77, 0.4);
	border: 1px solid rgb(233, 233, 233);
}

::-webkit-scrollbar-track {
	box-shadow: transparent;
}

.flashing-light { /*閃爍*/
	animation: flash-change 1s ease-in infinite;
	border: 1px solid white;
	display: flex;
	border-radius: 5px;
}

@keyframes flash-change {
	0% {
		border-color: white
	}

	50% {
		border-color: red
	}

	100% {
		border-color: red
	}
}

audio.minaudio {
    width: 200px;
    height: 30px;
}
audio.minaudio::-webkit-media-controls,
video.minvideo::-webkit-media-controls {
    width: inherit;
    height: inherit;
    position: relative;
    direction: ltr;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
}
audio.minaudio::-webkit-media-controls-enclosure, video.minvideo::-webkit-media-controls-enclosure {
    width: 100%;
    max-width: 800px;
    height: 30px;
    flex-shrink: 0;
    bottom: 0;
    text-indent: 0;
    padding: 0;
    box-sizing: border-box;
}
video.minvideo::-webkit-media-controls-enclosure {
    padding: 0px 5px 5px 5px;
    height: 35px;
    flex-shrink: 0;
}
audio.minaudio::-webkit-media-controls-panel, video.minvideo::-webkit-media-controls-panel {
    display: flex;
    flex-direction: row;
    align-items: center;
    /* We use flex-start here to ensure that the play button is visible even
     * if we are too small to show all controls.
     */
    justify-content: flex-start;
    -webkit-user-select: none;
    position: relative;
    width: 100%;
    z-index: 0;
    overflow: hidden;
    text-align: right;
    bottom: auto;
    height: 30px;
    background-color: rgba(20, 20, 20, 0.8);
    border-radius: 5px;
    /* The duration is also specified in MediaControlElements.cpp and LayoutTests/media/media-controls.js */
    transition: opacity 0.3s;
}
video.minvideo:-webkit-full-page-media {
    margin: auto;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}
audio.minaudio:-webkit-full-page-media, video.minvideo:-webkit-full-page-media {
    max-height: 100%;
    max-width: 100%;
}
audio.minaudio:-webkit-full-page-media::-webkit-media-controls-panel,
video.minvideo:-webkit-full-page-media::-webkit-media-controls-panel {
    bottom: 0px;
}
audio.minaudio::-webkit-media-controls-mute-button, video.minvideo::-webkit-media-controls-mute-button {
    -webkit-appearance: media-mute-button;
    display: flex;
    flex: none;
    border: none;
    box-sizing: border-box;
    width: 35px;
    height: 30px;
    line-height: 30px;
    margin: 0 6px 0 0;
    padding: 0;
    background-color: initial;
    color: inherit;
}
audio.minaudio::-webkit-media-controls-overlay-enclosure {
    display: none;
}
video.minvideo::-webkit-media-controls-overlay-enclosure {
    display: flex;
    position: relative;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    flex: 1 1;
    width: 100%;
    max-width: 800px;
    text-indent: 0;
    box-sizing: border-box;
    overflow: hidden;
}
video.minvideo::-webkit-media-controls-overlay-play-button {
    -webkit-appearance: media-overlay-play-button;
    display: flex;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -40px;
    margin-top: -40px;
    border: none;
    box-sizing: border-box;
    background-color: transparent;
    width: 80px;
    height: 80px;
    padding: 0;
}
audio.minaudio::-webkit-media-controls-play-button, video.minvideo::-webkit-media-controls-play-button {
    -webkit-appearance: media-play-button;
    display: flex;
    flex: none;
    border: none;
    box-sizing: border-box;
    width: 30px;
    height: 30px;
    line-height: 30px;
    margin-left: 9px;
    margin-right: 9px;
    padding: 0;
    background-color: initial;
    color: inherit;
}
audio.minaudio::-webkit-media-controls-timeline-container, video.minvideo::-webkit-media-controls-timeline-container {
    -webkit-appearance: media-controls-background;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    flex: 1 1;
    -webkit-user-select: none;
    height: 16px;
    min-width: 0;
}
audio.minaudio::-webkit-media-controls-current-time-display, video.minvideo::-webkit-media-controls-current-time-display,
audio.minaudio::-webkit-media-controls-time-remaining-display, video.minvideo::-webkit-media-controls-time-remaining-display {
    -webkit-appearance: media-current-time-display;
    -webkit-user-select: none;
    flex: none;
    display: flex;
    border: none;
    cursor: default;
    height: 30px;
    margin: 0 9px 0 0;
    padding: 0;
    line-height: 30px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    font-weight: bold;
    font-style: normal;
    color: white;
    letter-spacing: normal;
    word-spacing: normal;
    text-transform: none;
    text-indent: 0;
    text-shadow: none;
    text-decoration: none;
}
audio.minaudio::-webkit-media-controls-timeline, video.minvideo::-webkit-media-controls-timeline {
    -webkit-appearance: media-slider;
    display: flex;
    flex: 1 1 auto;
    height: 8px;
    margin: 0 15px 0 0;
    padding: 0;
    background-color: transparent;
    min-width: 25px;
    border: initial;
    color: inherit;
}
audio.minaudio::-webkit-media-controls-volume-slider, video.minvideo::-webkit-media-controls-volume-slider {
    -webkit-appearance: media-volume-slider;
    display: flex;
    /* The 1.9 value was empirically chosen to match old-flexbox behaviour
     * and be aesthetically pleasing.
     */
    flex: 1 1.9 auto;
    height: 8px;
    max-width: 70px;
    margin: 0 15px 0 0;
    padding: 0;
    background-color: transparent;
    min-width: 15px;
    border: initial;
    color: inherit;
}
input[type="range" i]::-webkit-media-slider-container {
    display: flex;
    align-items: center;
    flex-direction: row; /* This property is updated by C++ code. */
    box-sizing: border-box;
    height: 100%;
    width: 100%;
    border: 1px solid rgba(230, 230, 230, 0.35);
    border-radius: 4px;
    background-color: transparent; /* Background drawing is managed by C++ code to draw ranges. */
}
/* The negative right margin causes the track to overflow its container. */
input[type="range" i]::-webkit-media-slider-container > div {
    margin-right: -14px;
}
input[type="range" i]::-webkit-media-slider-thumb {
    margin-left: -7px;
    margin-right: -7px;
}
audio.minaudio::-webkit-media-controls-fullscreen-button, video.minvideo::-webkit-media-controls-fullscreen-button {
    -webkit-appearance: media-enter-fullscreen-button;
    display: flex;
    flex: none;
    border: none;
    box-sizing: border-box;
    width: 30px;
    height: 30px;
    line-height: 30px;
    margin-left: -5px;
    margin-right: 9px;
    padding: 0;
    background-color: initial;
    color: inherit;
}
audio.minaudio::-webkit-media-controls-toggle-closed-captions-button {
    display: none;
}
video.minvideo::-webkit-media-controls-toggle-closed-captions-button {
    -webkit-appearance: media-toggle-closed-captions-button;
    display: flex;
    flex: none;
    border: none;
    box-sizing: border-box;
    width: 30px;
    height: 30px;
    line-height: 30px;
    margin-left: -5px;
    margin-right: 9px;
    padding: 0;
    background-color: initial;
    color: inherit;
}
audio.minaudio::-webkit-media-controls-fullscreen-volume-slider, video.minvideo::-webkit-media-controls-fullscreen-volume-slider {
    display: none;
}
audio.minaudio::-webkit-media-controls-fullscreen-volume-min-button, video.minvideo::-webkit-media-controls-fullscreen-volume-min-button {
    display: none;
}
audio.minaudio::-webkit-media-controls-fullscreen-volume-max-button, video.minvideo::-webkit-media-controls-fullscreen-volume-max-button {
    display: none;
}
video.minvideo::-webkit-media-text-track-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding-bottom: 5px;
    font: 22px sans-serif;
    text-align: center;
    color: rgba(255, 255, 255, 1);
    letter-spacing: normal;
    word-spacing: normal;
    text-transform: none;
    text-indent: 0;
    text-decoration: none;
    pointer-events: none;
    -webkit-user-select: none;
    word-break: break-word;
    flex: 1 1;
}
video.minvideo::cue {
    display: inline;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 2px 2px;
}
video.minvideo::-webkit-media-text-track-region {
    position: absolute;
    line-height: 5.33vh;
    writing-mode: horizontal-tb;
    background: rgba(0, 0, 0, 0.8);
    color: rgba(255, 255, 255, 1);
    word-wrap: break-word;
    overflow-wrap: break-word;
    overflow: hidden;
}
video.minvideo::-webkit-media-text-track-region-container {
    position: relative;
    display: flex;
    flex-flow: column;
    flex-direction: column;
}
video.minvideo::-webkit-media-text-track-region-container.scrolling {
    transition: top 433ms linear;
}
video.minvideo::-webkit-media-text-track-display {
    position: absolute;
    overflow: hidden;
    white-space: pre-wrap;
    -webkit-box-sizing: border-box;
    flex: 0 0 auto;
}
video.minvideo::cue(:future) {
    color: gray;
}
video.minvideo::-webkit-media-text-track-container b {
    font-weight: bold;
}
video.minvideo::-webkit-media-text-track-container u {
    text-decoration: underline;
}
video.minvideo::-webkit-media-text-track-container i {
    font-style: italic;
}
.extsettitle{
    padding: 2px 0;
    background-color: #5CB17E;
    color: #FFFFFF;
    text-align: center;
    line-height: 150%;
    font-size: 12pt;
} 
.cus-sch-tr{
	background: #339966;color: white;
}
/* 完全以 CSS 控制外觀 */
table,.manual-table {
  border-collapse: separate; /* 保留單元格間距 */
  border-spacing: 1px;       /* 原本 style 的 2px（忽略舊的 cellspacing=1） */
  width: 100%;
  /* 原本有寫 border-color: gray，但表格未設邊框時此設定不會生效 */
}
table th,.manual-table th{
	color:#FFFFFF;
	background-color:#339966;
}
table th,table td,.manual-table th,.manual-table td {
  text-align: center;
  padding: 0; /* 對應原本的 cellpadding="0" */
}
.ms-button {
	background-color: white;
	border-radius: 5px;
	cursor: pointer;
	color: #66C547;
	border: 1px solid #66C547;
	/* font-weight: 500; */
}

.ms-button:hover {
	color: #fff;
	opacity: .8;
	background-color: #00A82D;
	border: 2px solid #00A82D;
	transition: color .4s, background .4s;
}

.ms-button:focus {
	color: #fff;
	opacity: .8;
	background-color: #00A82D;
	border: 2px solid #00A82D;
	transition: color .4s, background .4s;
}
#vogrid thead {
	background-color:#EDFAE2;
	height:24px;
	
}
#vogrid th{
	background-color:green;
	height:24px;
	
}
.tab_profit thead, .tab_profit tfoot {
    background-color: green;
    color: white;
    height: 24px;
}
.penel-contrl-area {
    display: flex;
    align-items: center;
    height: 99.8%;
    background: linear-gradient(43deg, #166e19,transparent);
    width: 120px;
    position: relative;
    justify-content: center;
}
.topmenuinfo2 {
	z-index: 3;
	color: white;
	width: 100%;
	position: absolute;
	top: 1%;
	display: flex;
	justify-content: center;
	text-shadow: -1px -1px 0 #ff9800, 1px -1px 0 #ff9800, -1px 1px 0 #ff5722, 1px 1px 0 #ff5722, 2px 2px 2px #000000;
	zoom:0.8;
}
.topmenuinfo1 {
	z-index: 3;
	color: white;
	background: #ff5722;
	position: absolute;
	width: 20px;
	height: 20px;
	justify-content: center;
	align-items: center;
	border-radius: 50%;
	top: 2%;
	right: 0;
	font-weight: bold;
	font-size: 8px;
	display: none;
}
#changesize {
    width: 14px;
    background: #DBE8D0;
    text-align: center;
    height: 100%;
}
#changesize>div {
    background: green;
    color: white;
    margin-top: 150px;
    writing-mode: vertical-lr;
    white-space: nowrap;
    cursor: pointer;
    font-size: 80%;
}
.enable-hide,.enable-show{
    display: flex;
    font-size: 12px;
    letter-spacing: normal;
    padding: 2px 5px 2px 22px;
    background-color: white;
    color: currentColor;
    border-radius: 6px;
    cursor: default;
    margin: 0px 1px;
    background-repeat: no-repeat;
    background-position: 5px;
    border: 1px solid #e7e6ea;	
}
.enable-hide{
	background-image: url(../images/icons/cross_octagon_fram.png);
}
.enable-show {
    background-image: url(../images/checkyes.gif);
}
.inment_subject {
	border: 5px solid ;
	display:none;
	background:whitesmoke;
	border-color:#99DD99	
}
#functionBar,.functionBar,.barline{
	width:100%;
	display:flex;
	height:35px;	
}
#functionBar,.functionBar{
	width:100%;
	display:flex;
	background:#7DC473;
	border-bottom:2px solid #69A561;
	left: 0;
    position: fixed;
    top: 0;
	z-index:3;
	padding:0px 5px;
}
.barline {
    justify-content: space-around;
    flex-wrap: wrap;
    background: linear-gradient(#7DC473, transparent);
    z-index: 100;
    align-items: center;
	justify-content: space-around;
    border-bottom: 1px solid #7dc473;
}
.search-item {
    position: absolute;
    z-index: 100;
    display: flex;
    right: 2%;
    align-items: center;
    gap: 3px;
}
.search-item .search-line {
    position: relative;
    right: unset;
}
.search-item .search-line .count-time{
	left:0;
}
#sublist_subject {
	border: 5px solid ;display:none;background:whitesmoke;border-color:#99DD99;
	width: 300px; height: 380px; left: 340px;
	top: 0px;position: absolute;
	box-shadow: gray 5px 5px 15px;
}

#functionBar input,.functionBar input,.barline input {
    height: auto;
    margin-top: 0px;
    padding: 3px 5px;
}
.loader_img {
	cursor: pointer;
	position: absolute;
	top: 72px;
	height: calc(100% - 72px);
	width: 100%;
	align-items: center;
	justify-content: center;
	display: none;
	z-index: 10;
	opacity: 0.6;
	background-color: black;
	background-image: url(../images/ajax-loading.gif);
	background-repeat: no-repeat;
	background-position: center;
}		

.search-line {
	display: flex;
	position: relative;
	z-index: 10;
	justify-content: flex-start;
	align-items: center;
	right:5px;
}		
.loader_img .count-time {
	color: red;
	font-weight: 900;
	font-size: 16px;
	font-family: sans-serif;
	display: none;
}

.search-line .count-time {
	position: absolute;
	color: red;
	padding: 0px 5px;
	display: none;
	background-image: url(../images/loading_3.gif);
	background-repeat: no-repeat;
	background-position: center;
	background-size:cover;
}
.search_own {
	text-indent: 25px;
}		
.dbarrow-bg{
	color:#7ec06d;
}
.net-title {
    width: 100%;
    border-bottom: 1px solid #6ad19d;
    font-size: 110%;
    font-weight: 900;
    background: green;
    color: white;
    padding: 3px 0px;
}
.net-info-label {
    width: 20%;
    background-color: #5CB17E;
    color: #fff;
    align-items: center;
    display: flex;
    justify-content: flex-end;
    padding: 1px 3px 1px 0px;
}

/* 外框 + 卡片感 */
div.dt-container {
  background: var(--dt-bg);
  border: 1px solid var(--dt-border);
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(17, 24, 39, 0.06);
  padding: 8px 8px 4px;
}

/* 表格本體 */
table.dataTable {
  border-collapse: separate !important;
  border-spacing: 0;
}

/* 表頭：更乾淨 */
table.dataTable thead th,
table.dataTable thead td {
  font-size: 11pt;
  font-weight: 700;
  color: var(--dt-head);
  background: #f8fafc;
  border-bottom: 1px solid var(--dt-border) !important;
  padding: 12px 14px !important;
}
/* 內容列 */
table.dataTable tbody th {
  font-size: 11pt;
}
/* 內容列 */
table.dataTable tbody td{
  font-size: 11pt;
  color: var(--dt-text);
}

/* zebra + hover */
table.dataTable.stripe > tbody > tr:nth-child(odd) > * {
  background: var(--dt-bg-alt) !important;
}
table.dataTable.hover > tbody > tr:hover > * {
  background: var(--dt-hover) !important;
}

/* 圓角：第一列表頭左上右上 */
table.dataTable thead th:first-child { border-top-left-radius: 12px; }
table.dataTable thead th:last-child  { border-top-right-radius: 12px; }

/* 搜尋框 */
div.dt-container .dt-search input {
  border: 1px solid var(--dt-border) !important;
  border-radius: 10px !important;
  padding: 8px 10px !important;
  background: #fff !important;
  outline: none
  max-width:200px;
  transition: all .2s ease;
}
div.dt-container .dt-search input:focus {
  border-color: rgba(37, 99, 235, 0.55) !important;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.10);
}

/* 分頁按鈕：更像 UI kit */
div.dt-container .dt-paging .dt-paging-button {
  border-radius: 10px !important;
  border: 1px solid transparent !important;
  padding: 6px 12px !important;
  margin: 0 2px !important;
  height:auto;
  transition: all .15s ease;
}
div.dt-container .dt-paging .dt-paging-button:hover {
  background: #111827 !important;
  color: white !important;
}
div.dt-container .dt-paging .dt-paging-button.current {
  background: rgba(37, 99, 235, 0.10) !important;
  border: 1px solid rgba(37, 99, 235, 0.25) !important;
  color: var(--dt-primary) !important;
  font-weight: 700;
}

/* info 文字 */
div.dt-container .dt-info,
div.dt-container .dt-length,
div.dt-container .dt-search {
  font-size: 11pt;
  color: var(--dt-muted);
  padding-top:5px;
}
.dt-length select,.dt-length input{
	height:auto;
}
/* 排序箭頭淡化 */
table.dataTable thead > tr > th span.dt-column-order:before,
table.dataTable thead > tr > th span.dt-column-order:after {
  opacity: .25 !important;
}
table.dataTable thead > tr > th.dt-ordering-asc span.dt-column-order:before,
table.dataTable thead > tr > th.dt-ordering-desc span.dt-column-order:after {
  opacity: .75 !important;
}




table.dataTable thead > tr > th.dt-orderable-asc span.dt-column-order::before,
table.dataTable thead > tr > th.dt-ordering-asc span.dt-column-order::before {
    content: "\25B2"; /* ▲ */
}

table.dataTable thead > tr > th.dt-orderable-desc span.dt-column-order::after,
table.dataTable thead > tr > th.dt-ordering-desc span.dt-column-order::after {
    content: "\25BC"; /* ▼ */
}
.dt-layout-row select{
	height:auto;
}
.king-scroll{
  position: relative;
  width: 100%;
  /* 外框與圓角交給專案自己做，這裡不設顏色 */
  overflow: hidden; /* ✅ 讓圓角有效（若外層自己有 border-radius） */
}

/* ---------- Head Table (Fixed) ---------- */
.king-scroll-head{
  width: 100%;
  margin: 0;
  table-layout: fixed;          /* ✅ 核心：欄位固定 */
  border-collapse: separate;
  border-spacing: 0;            /* ✅ 避免 head 與 body spacing 不一致 */
}

/* thead row height */
.king-scroll-head thead tr{
  height: 44px;                 /* ✅ 可依需求調整 40~48 */
}

/* th base */
.king-scroll-head thead th{
  box-sizing: border-box;
  padding: 10px 10px;           /* ✅ 與 body td 對齊 */
  line-height: 1.2;
  vertical-align: middle;
  text-align: center;

  font-weight: 700;
  font-size: 1em;

  white-space: nowrap;          /* ✅ 避免換行造成高度不一致 */

  /* 邊線樣式只設定寬度/樣式，不設定顏色 */
  border-right-width: 1px;
  border-right-style: solid;
  border-bottom-width: 1px;
  border-bottom-style: solid;
}

/* last th: no right border */
.king-scroll-head thead th:last-child{
  border-right: 0;
}

/* ---------- Body Wrapper (Scrollable) ---------- */
.king-scroll-body{
  position: relative;
  width: 100%;
  overflow: auto;               /* ✅ 只有這裡 scroll */
  /* height 由 JS options.height 控制 */
}

/* body table */
.king-scroll-body table{
  width: 100%;
  table-layout: fixed;          /* ✅ 核心：欄位固定 */
  border-collapse: separate;
  border-spacing: 0;            /* ✅ 必須跟 head 一樣 */
}

/* hide original table thead but keep layout (JS 會做) */
.king-scroll-body table thead{
  visibility: hidden;
  height: 0;
}

/* tbody td base */
.king-scroll-body table tbody td{
  box-sizing: border-box;
  padding: 9px 10px;            /* ✅ 與 th 對齊 */
  line-height: 1.2;
  vertical-align: middle;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  /* 邊線樣式只設定寬度/樣式，不設定顏色 */
  border-bottom-width: 1px;
  border-bottom-style: solid;

  white-space: nowrap;          /* 可視情況移除 */
}

/* 若你要支援欄位換行，可加這個 class */
.kingtable-wrap-text tbody td{
  white-space: normal;
  word-break: break-word;
}

/* ---------- Optional: Make scroll smoother on iOS ---------- */
.king-scroll-body{
  -webkit-overflow-scrolling: touch;
}

/* ---------- Optional: prevent double scroll when wrapper exists ---------- */
/* 如果你的外層 table-wrap 也有 overflow:auto，會造成兩層 scroll。建議用這條覆蓋。 */
.table-wrap.kingtable2-no-scroll,
.kingtable2-no-scroll{
  overflow: visible !important;
}

/* ---------- Utility: small/compact mode ---------- */
.kingtable-compact .king-scroll-head thead th{
  padding: 7px 8px;
}
.kingtable-compact .king-scroll-head thead tr{
  height: 38px;
}
.kingtable-compact .king-scroll-body table tbody td{
  padding: 7px 8px;
}

/* ---------- Utility: align left / right (optional helper classes) ---------- */
.kingtable-left th,
.kingtable-left td{ text-align: left; }

.kingtable-right th,
.kingtable-right td{ text-align: right; }

/* ---------- Utility: allow horizontal scroll when table is wide ---------- */
.king-scroll-body{
  overflow-x: auto;
}
button.btn{
	height:auto;
}
input.save-button,button.save-button{
    background: url('../images/icons/save.png') no-repeat scroll 3px center #F0F0F0;
	padding-left: 23px;
}

.download-excel{
  width: 33px;
  height: 33px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;

  background: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  text-decoration: none;
  overflow: hidden;
  cursor: pointer;

  box-shadow: 0 1px 2px rgba(0,0,0,.12);
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease, background-color .12s ease;
}

/* ✅ 保留 SVG icon */
.download-excel::before{
  content: "";
  width: 18px;
  height: 18px;
  background-image: url("../images/icons/xls_blue.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

/* ✅ 文字 */
.download-excel::after{
  content: "Excel";
  font-size: 9px;
  line-height: 9px;
  transform: scale(0.95);
  transform-origin: top center;
  color: #000;
  white-space: nowrap;
}

/* hover：按鈕感 + 換紅色 SVG */
.download-excel:hover{
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(0,0,0,.16);
  border-color: rgba(0,0,0,.18);
}
.download-excel:hover::before{
  background-image: url("../images/icons/xls_red.svg");
}

/* active：按下去 */
.download-excel:active{
  transform: translateY(0);
  box-shadow: 0 1px 2px rgba(0,0,0,.10) inset;
}

/* focus：鍵盤操作可見 */
.download-excel:focus-visible{
  outline: 2px solid rgba(229,57,53,.35);
  outline-offset: 2px;
}

/* =========================================================
   Safer Dialog iframe fix
   只修正 iframe dialog，不影響一般表單 dialog
   ========================================================= */

.ui-dialog {
	box-sizing: border-box;
}

.ui-dialog * {
	box-sizing: border-box;
}

.ui-dialog .ui-dialog-content > iframe,
.ui-dialog .ui-dialog-content iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

/* 你的 iframe dialog 容器 */
.ui-dialog-content#custom_dialog,
.ui-dialog-content#target_dialog,
.ui-dialog-content#announce,
.ui-dialog-content#sstframe,
.ui-dialog-content#channelsframe,
.ui-dialog-content#UUU,
.ui-dialog-content#UUV,
.ui-dialog-content#UUM,
.ui-dialog-content#UUC,
.ui-dialog-content#UnoRec,
.ui-dialog-content#CompNotify,
.ui-dialog-content#VBSContet,
.ui-dialog-content#choice_custom_list,
.ui-dialog-content#infomusic {
	padding: 0 !important;
	overflow: hidden !important;
	box-sizing: border-box;
}

#custom_dialog iframe,
#target_dialog iframe,
#announce iframe,
#sstframe iframe,
#channelsframe iframe,
#UUU iframe,
#UUV iframe,
#UUM iframe,
#UUC iframe,
#UnoRec iframe,
#CompNotify iframe,
#VBSContet iframe,
#choice_custom_list iframe,
#infomusic iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
@media only screen and (max-width: 900px) {
  .gpt-grid{ grid-template-columns:1fr; }
  .gpt-header{ flex-direction:column; align-items:flex-start; }	
	input, select {
		background-color: #ffffff47;
		border: unset;
		border-bottom: 1px solid gray;
	}	
}