/*** WIDTH ***/
.w-auto {
    width:calc(100% - 2px);
}

.h-auto {
    height:calc(100% - 42px);
}

.w-auto-flow {
    width:calc(100% - 15px);
}

.w-auto-flow-r {
    width:calc(100% - 10px);
}

.w-auto-flow-r5 {
    width:calc(100% - 5px);
    overflow-y: scroll;
}

.w100p {
    width:calc(100% - 1px);
}

/*** HEIGHT ***/
.h-auto-flow {
    height:calc(100% - 200px);
}

.h-auto-flow-225 {
    height:calc(100% - 225px);
}

.h-auto-flow-250 {
    height:calc(100% - 250px);
}

/*** COMMON ***/
.fitt2 {
    line-height: 25px;
    height: 50px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    width: 100%;
}

.icon {
  padding: 0px;
  background: lightblue;
  color: white;
  height: 12px;
  width: 12px;
  min-height: 12px;
  min-width: 12px;
  text-align: center;
  cursor: hand;
}

.IDX5 {    
    z-index: 5; 
}

.IDX10 {
    position: absolute;
    z-index: 10; 
}

.IDX20 {
    position: absolute;
    z-index: 20; 
}

.OFLOW-Y {
    overflow-y: auto;
}

.OFLOW-X {
    overflow-x: auto;
}

.OFLOW-XY {
    overflow: auto;
}

.HALF {
    top: 25%;
    left: 25%;
}

.ONE_IN_FIVE {
    top: 20%;
    left: 15%;
}

.CICLE {
    border-radius: 50%;
}

T_A_B {
    position: absolute;
    float:left;
    display:block;
    min-height: 25px;
    line-height: 25px;
    vertical-align: middle;
    z-index: 1; 
}

tab.BT_PREVIEW {
    background-repeat:no-repeat;
    background-image:url("../_img/bt_print.png");
    background-size:30px 30px ;
    background-position-x: 5px;
    background-position-y: 5px;
}

tab.BT_PREVIEW[preview-show='N'] {
    opacity: 0; 
}

tab.BT_PREVIEW[preview-show='Y'] {
    opacity: 0.15; 
}

tab.BT_PREVIEW[preview-flag='Y'] {
    opacity: 1; 
    cursor: pointer;
}

tab.BT_PREVIEW_HOVER:hover {
    cursor:pointer;
    color:#1fa2ff;  
    background-color: yellow;
}

tab.r10-top-left {
    border-top-left-radius: 10px;
}
tab.r10-bottom-left {
    border-bottom-left-radius: 10px;
}

tab.r10-top-right {
    border-top-right-radius: 10px;
}
tab.r10-bottom-right {
    border-bottom-right-radius: 10px;
}
tab.page-bg {
    width:calc(100% - 1px);
    height:calc(100% - 43px); 
    background-color: #eeeeee; 
    background-size:100% 100%; 
    background-position: 5px; 
    background-position-y: 0px;
}

tab.SCH {
    border-style: solid; 
    border-width: 1px;
    border-color: gray;
    border-radius: 10px;
}

tab.SCH[borderless = "NOBODER"] {
    border-color: transparent;
}

tab.SCH input[type="text"] {
    border: none;
    outline: none;
    border-left-style: solid;
    border-left-width: 1px;
    border-left-color: #E6E6FA;
}

a.intable.disabled {
    pointer-events: none;   /* ปิดการคลิก */
    opacity: 0.25;          /* ความโปร่งใส 25% */
    cursor: default;        /* เปลี่ยน cursor ไม่ให้เป็นมือ */
}

img.btnprint_icon {
    cursor: pointer;
    opacity: 1;
}

img.btnprint_icon.disabled {
    pointer-events: none;  /* ปิดการคลิก */
    opacity: 0.25;         /* โปร่งใส 25% */
    cursor: default;       /* เปลี่ยน cursor ไม่ให้เป็นมือ */
}

tab.tab-50p {
    height: var(--w, 125px);
    width: 100%;
    overflow-y: scroll;
}

tab.tab-half {
    height: var(--h, 125px);
    width: 100%;
}

tab.tab-half-scroll {
    height: var(--h, 125px);
    width: 100%;
    overflow-y: scroll;
}

/*** a ***/
a.intable:link, a.intable:visited {
    text-decoration: none;
}
a.intable:hover, a.intable:active {
    cursor:pointer;
    color:#1fa2ff;
}

a.intable-none:link, a.intable-none:visited, a.intable-none:hover, a.intable-none:active {
    text-decoration: none;
}

a.HOME:link, a.HOME:visited {
    display:block;
    text-decoration: none;
    height:33px;width:33px;
    background-repeat:no-repeat;
    background-image:url("../_img/bt_home.png");
    background-size:33px 33px;
}

a.HOME:hover, a.HOME:active {
    background-image:url("../_img/bt_home_over.png");
    cursor:pointer;
}

a.LOGOUT:link, a.LOGOUT:visited {
    display:block;
    text-decoration: none;
    height:33px;width:33px;
    background-repeat:no-repeat;
    background-image:url("../_img/bt_logout.png");
    background-size:33px 33px;
}

a.LOGOUT:hover, a.LOGOUT:active {
    background-image:url("../_img/bt_logout_over.png");
    cursor:pointer;
}

/*** ICON ***/
.HELP_ICON {
    height:33px;width:33px;
    background-repeat:no-repeat;
    background-image:url("../_img/bt_help2.png");
    background-size:30px 30px;
    background-position-x: 3px;
    background-position-y: 3px;
}

.HELP_ICON:hover {
    background-image:url("../_img/bt_help2_over.png");
    cursor:pointer;
}

.CNC {
    position:absolute;
    left:0px; /*calc(11% )*/
    top:0px;
    width:calc(89% ); /*100%;*/
    height:100%; /*calc(100% - 10px);*/
    background: rgba(0, 0, 0, 0.4);
    background-repeat:no-repeat;
    background-image:url("../_img/Cancel.png");
    background-size:400px 400px;	
    background-position: center;
    z-index:9;
    opacity:25%;
}

.CNC-FULL {
    position: absolute;
    left:0px; /*calc(11% )*/
    top:calc(25% );
    width:calc(100%); /*100%;*/
    height:78%; /*calc(100% - 10px);*/
    background: rgba(0, 0, 0, 0.4);
    background-repeat:no-repeat;
    background-image:url("../_img/Cancel.png");
    background-size:400px 400px;	
    background-position: center;
    z-index:9;
    opacity:25%;
}

.doc-tax {
    position: absolute;
    top: -5px;
    left: -5px;
    display: block;
    width: 50px;
    height: 50px;
    background-repeat:no-repeat;
    background-image:url("../_img/ACC_DLVTAX.png");
    background-size:calc(90%) calc(90%);
    background-position: center;
    color:black;
    text-align: center;
    border-radius: 50%;
    box-shadow: 2px 2px #999;
    font-size:16px;
    line-height:50px;
    min-height: 50px;
    min-width: 50px;
    vertical-align:middle;
    margin-left: -5px;
    margin-top: -5px;
}

.w-excel {
    width: 1750px;
}
.bg-excel-col {
    background-color: #E2E8F1;
}



/*** RADIO & CHECKBOX***/
input[type="radio"]:checked+label {
    color:blue; 
}
input[type="checkbox"]:checked+label {
    font-weight: bold; 
}

/*** INPUT TEXT ***/
input[type="text"].bg-yellow2 {
    background: linear-gradient(#fffc00, #ffffff);
    border-style: solid;
    border-width:thin;
}

input[type="text"].bg-green2 {
    background: linear-gradient(#38ef7d  , white);
    border-style: solid;
    border-width:thin;
}

input[type=text].i-number-hrs {
    border-style: none;
    background-color: transparent;
    width: 29px;
    text-align: center;
    border-top-style: solid;
    border-top-width: 1px;
    border-left-style: solid;
    border-left-width: 1px;
    border-bottom-style: solid;
    border-bottom-width: 1px;
    border-right-style: dotted; 
    border-right-color: lightgray ;
}
input[type=text].i-number-min {
    border-style: none;
    background-color: transparent;
    width: 28px;
    text-align: center;
    border-top-style: solid;
    border-top-width: 1px;
    border-bottom-style: solid;
    border-bottom-width: 1px;
    border-right-style: solid; 
    border-right-width: 1px;
}

/*** INPUT READONLY ***/
input[readonly] {
    border:none;
    background-color:transparent;
    color:gray;
    position:relative;
}
input[readonly].readonly2 {
    border-style: solid;
    border-color:lightgray;
    border-width:thin;
}
input[readonly].readonly22 {
    border-style: solid;
    border-color:lightgray;
    border-width:thin;
    color:royalblue;
}
input[readonly].readonly5 {
    border-style: solid;
    border-color: royalblue;
    border-width:thin;
}
input[readonly].readonly52 {
    background-color:whitesmoke;
    border-style: solid;
    border-color:royalblue;
    border-width:thin;
}

input[readonly].noborder {
    border-style: none;
}

.textarereadonly2 {
    border-style: solid;
    border-color:lightgray;
    border-width:thin;
    background: whitesmoke;
    color:gray;
}
.textar-readonly {
    border:none;
    overflow:hidden;
    resize: none;
}
input[type="text"].readonly3 {
    border-style: solid;
    border-color:lightgray;
    border-width:thin;
    pointer-events: none;
}
input[type="text"].readonly4 {
    color:darkred;
}

select[readonly] {
    border-style: solid;
    border-color:lightgray;
    border-width:thin;
    background: whitesmoke;
    color:gray;
    /*cursor:no-drop;*/
}
select[readonly] option{
    display:none;
}



.correct-icon {    
    background-image: url('../_img/bt_correct.png');
    background-size: 25px 25px;
    background-repeat: no-repeat;
    background-position: center center;
    animation: blink-to-hide 2s 1 forwards; /* กระพริบทุก 1 วินาที  infinite */
}

.ondone {
    position: absolute;
    display: block;
    width: 20px;
    height: 20px;
    background-color:lime;
    color:darkgreen;
    text-align: center;
    border-radius: 10px;
    box-shadow: 2px 2px #999;
    font-size:16px;
    line-height:20px;
    min-height: 20px;
    min-width: 20px;
    vertical-align:middle;
    margin-left: -5px;
    margin-top: -5px;
}
.onprocess {
    position: absolute;
    display: block;
    width: 20px;
    height: 20px;
    background-color:yellow;
    color:darkgreen;
    text-align: center;
    border-radius: 10px;
    box-shadow: 2px 2px #999;
    font-size:16px;
    line-height:20px;
    min-height: 20px;
    min-width: 20px;
    vertical-align:middle;
    margin-left: -5px;
    margin-top: -5px;
}
.onhold {
    position: absolute;
    display: block;
    width: 20px;
    height: 20px;
    background-color: red ;
    color: white;
    text-align: center;
    border-radius: 10px;
    box-shadow: 2px 2px #999;
    font-size:16px;
    line-height:20px;
    min-height: 20px;
    min-width: 20px;
    vertical-align:middle;
    margin-left: -5px;
    margin-top: -5px;
}

/*** LOGIN ***/
body.login-body {
    margin-left: 0px;
    margin-top: 0px;
    overflow: hidden;
    background-color: #E6E6FA;
}

tab.login-frame {
    position:absolute;
    top:50%;
    left:50%;
    width:250px;
    height:350px;
    margin-top:-175px;
    margin-left:-125px;
    background: whitesmoke;
    border-style: solid;
    border-width:1px;
    border-color:darkgreen;
    border-radius: 10px;
    box-shadow: 2px 2px #999;
}

tab.login-header {
    position:absolute;
    top:0;
    left:50%;
    width:150px;
    height:25px;
    margin-left:-75px;
    background-color: darksalmon; /*#2C78C3*/
    text-align:center;
    line-height:25px;
    vertical-align:middle;
    color:black;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

tab.login-icon {
    position:absolute;
    top:40px;
    left:50%;
    width:120px;
    height:120px;
    margin-left:-60px;
    background-image: url('../_img/ICON_LOGIN2.png');
    background-repeat: no-repeat;
    background-size:120px 120px;	
    background-position: center;
}

tab.login-user {
    top:180;
}

tab.login-pass {
    top:235;
}

tab.login-box {
    position:absolute;    
    left:50%;
    width:180px;
    height:45px;
    margin-left:-90px;
    border-style: solid;
    border-width:1px;
    border-color:#939393;
    border-radius: 10px;
    box-shadow: 1px 1px #999;
    text-indent:5px;
}

tab.login-button {
    position:absolute;
    top:295;
    left:50%;
    width:180px;
    height:25px;
    margin-left:-90px;
    vertical-align: middle;
}

tab.login-msg {
    position:absolute;
    top:325;
    left:50%;
    width:180px;
    height:25px;
    margin-left:-90px;
}

input[type="button"].login-button {
    position:absolute;
    top:0;
    left:50%;
    /*width:120px;*/
    height:25px;
    margin-left:-25%;
    display: inline-block;
    border:none;
    border-radius: 5px;
    box-shadow: 0 3px #999;
    text-decoration:none;
    font-family:helvetica;
    font-size: 14px;
    text-align: center;
    cursor: pointer;
    background-color: darksalmon; /*#00BFFF*/
    outline: none;
}

input[type="button"].login-button:hover {
    background-color: red;
    color: #FFFFFF;
}

/*** MODAL ***/
.dialog-frame {
    display:box;
    position: fixed;
    left:0px;
    top:0px;
    width:100%;
    height: 100%;
    background: whitesmoke;
    background: rgba(0, 0, 0, 0.4);
    z-index:99;
}

.dialog {
    display:block;
    background-color: #fefefe;
    position: relative;
    float: left;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 20px;
    border: 1px solid #888;
    border-radius: 5px;
    width: 30%;
    height: 15%;
}

@media only screen and (max-width: 420px) {
    .dialog {
        width: 60%;
    }    
}

.dialog75x75 {
    display:block;
    background-color: #fefefe;
    position: relative;
    float: left;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 20px;
    border: 1px solid #888;
    border-radius: 5px;
    box-shadow: 2px 2px #999;
    width:75%;
    height:75%;
    min-height: 565px;
}

.dialog50x50 {
    display:block;
    background-color: #fefefe;
    position: relative;
    float: left;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 20px;
    border: 1px solid #888;
    border-radius: 5px;
    box-shadow: 2px 2px #999;
    width:50%;
    height:50%;
}

.finddialog {
    display:block;
    background-color: #fefefe;
    position: relative;
    float: left;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 5px;
    border: 1px solid #888;
    width: 50%;
    height: 50%;
}

/*** MENU ***/
body.menu-body {
    margin-top:0px;
    margin-left:0px;
    background-color: #F0F4F9;
}

body.page-body {
    font-size: 12px;
    margin-top:0px;
    margin-left:0px;
    overflow:hidden;
}

.intab {
    cursor: pointer;
}

.intab:hover {
    color:black;
    background: linear-gradient(yellow, white);
}

.btn {
    background: linear-gradient(#E6E6FA, whitesmoke, white);
    border-style: solid;
    border-width:1px;
    border-color: #0000CDs;
    border-radius: 5px;
    box-shadow: 2px 2px #999;
}

.btn:hover {
    cursor:pointer;
    font-weight:bold;
    font-size: 13px;
    background: linear-gradient(yellow, white);
}

 .menu {
    background: whitesmoke;
    border-style: solid;
    border-width:1px;
    border-color: #0096E3; /*#0096E3*/
    /*border-radius: 5px;
    box-shadow: 2px 2px #999;*/
    border-radius: 5px;
}

.menu-ina {
    background: whitesmoke;
    border-style: solid;
    border-width:1px;
    border-color: #0096E3;    
    border-radius: 5px;
    opacity:0.25;
    filter: grayscale(75%);
    
}

.menu-fn {
  flex: 1 1 auto;
  transition: 0.5s;
  background-size: 200% auto;
  color: black;
  box-shadow: 0 0 20px #eee;
  border-radius: 5px;
  border-style: solid;
  border-width:1px;
  border-color: lightgray ; /*#0096E3*/
}

.menu-fn:hover {
    background-position: right center;
    background-image: linear-gradient(to right, #a1c4fd 0%, #c2e9fb 51%, #a1c4fd 100%);
    border-color: #0096E3  ;
}

.menu-fn-1 {
    background-color: whitesmoke;
}

.menu-rp {
  flex: 1 1 auto;
  transition: 0.75s;
  background-size: 200% auto;
  color: black;
  box-shadow: 0 0 20px #eee;
  border-radius: 5px;
  border-style: solid;
  border-width:1px;
  border-color: lightgray  ; /*#0096E3*/
}

.menu-rp:hover {
    background-position: right center;
    /*background-image: linear-gradient(to right, #a1c4fd 0%, #c2e9fb 51%, #a1c4fd 100%);*/
    background-image: linear-gradient(to right, lime 0%, chartreuse 51%, lime 100%);
    border-color: darkgreen  ; /*#0096E3*/
}

.menu-rp-0 {
    background-color: whitesmoke;
}

.menu-bt {
  flex: 1 1 auto;
  transition: 0.3s;
  background-size: 200% auto;
  color: black;
  box-shadow: 0 0 3px #eee;
}

.menu-bt:hover {
    background-position: right center;
    /*background-image: linear-gradient(to right, #a1c4fd 0%, #c2e9fb 51%, #a1c4fd 100%);*/
    background-image: linear-gradient(to left, yellow 0%, white 55%, lightyellow 100%);
    cursor: pointer;
    border-color: gold  ; /*#0096E3*/
}

.menu-bt-0 {
    background-color: whitesmoke;
}

.menu-fc {
    background: yellow;
    border-style: solid;
    border-width:1px;
    border-color:#0096E3;
    border-radius: 10px;
    box-shadow: 2px 2px #999;
}

.menu-main {
    width:calc(100% - 1px);
    height:calc(100% - 43px); 
    background-image: url('../_img/BG_MAIN2.png'); 
    background-size:100% 100%; 
    background-repeat: no-repeat; 
    background-position: 5px 0;
}

.Full-W-H {
    width: calc(100% - 1px);
    height: calc(100% - 1px);
    top: 1px;
    left: 0px;
    border-style: none;
}
.Full-W-H:focus {
    border-radius: 0px;
    background-color: yellow;
}
.LIST {
    text-shadow: 1px 1px lightgray ;
}
.Inactive {
    filter: grayscale(100%);
}
.LIST:hover {
    background: linear-gradient(#fffc00, whitesmoke, white);
    cursor: pointer;
}
.LIST_FOCUS {
    background: linear-gradient(#00d2ff  , whitesmoke, white);
}



/*** COLOR ***/
.bg-gray {
    background: linear-gradient(#aaaaaa  , whitesmoke);
}
.bg-gray2 {
    background: linear-gradient(#cccccc  , white);
}
.bg-gray3 {
    background: linear-gradient(#cccccc  , whitesmoke, white);
}
.bg-red {
    background: red;
}
.bg-red2 {
    background: linear-gradient(#dc281e, #ffbbff);
}
.bg-red3 {
    background: linear-gradient(red, whitesmoke, white);
}
.bg-red4 {
    background: linear-gradient(tomato, #ffffff);
}
.bg-red5 {
    background-color: tomato;
}
.bg-red6 {
    background-color: red;
}
.bg-green {
    background: linear-gradient(#11998e, #38ef7d);
}
.bg-green2 {
    background: linear-gradient(#38ef7d  , white);
}
.bg-green3 {
    background: linear-gradient(#38ef7d  , whitesmoke, white);
}
.bg-green4 {
    background: greenyellow;
}
.bg-sky {
    background: linear-gradient(#1fa2ff, #12d8fa,#a6ffcb);
}
.bg-yellow {
    background: linear-gradient(#fffc00, #fceabb);
}
.bg-yellow2 {
    background: linear-gradient(#fffc00, #ffffff);
}
.bg-yellow3 {
    background: linear-gradient(#fffc00, whitesmoke, white);
}
.bg-yellow4 {
    background: yellow;     
}    
.bg-orange {
    background: linear-gradient(#f37335, #fceabb);
}
.bg-orange2 {
    background: linear-gradient(#fcd0aa, #ffffff);
}
.bg-orange3 {
    background: linear-gradient(orange, whitesmoke, white);
}
.bg-blue {
    background: linear-gradient( #3a7bd5, #00d2ff);
}
.bg-blue2 {
    background: linear-gradient( #00d2ff, #ffffff);
}
.bg-blue3 {
    background: linear-gradient(#00d2ff  , whitesmoke, white);
}
.bg-blue5 {
    background: linear-gradient(#00d2ff, #ffffff);
}
.bg-blue5:hover, .bg-blue51:hover {
    cursor:pointer;
    background: linear-gradient(#00d2ff, #ffffff, white);
}
.bg-blue51:focus {
    box-shadow:0 0 0 5px #00d2ff;
}
.bg-subtab {
    background: linear-gradient(#a6ffcb,  white);
}
.bg-black {
    background-color: black;
}
.bg-brown {
    background-color: brown;
}
.bg-blue4 {
    background: linear-gradient(royalblue, #fff,  white);
}
.bg-white {
    background-color:white;
}
.bg-whitesmoke {
    background-color:whitesmoke;
}
.bg-header-gray {
    background-color:gray;
    color: white;
}
.bg-header-out {
    background-color: darksalmon;
    color: black;
}
.bg-header-out-2 {
    background-color: darkred;
    color: white;
}
.bg-header-in {
    background-color: #BDE439;
    color: black;
}
.bg-header-in-2 {
    background-color: forestgreen;
    color: white;
}
.bg-header-blue {
    background-color: steelblue;
    color: white;
}
.bg-header-green {
    background-color: #3CB371; /* mediumseagreen */
    color: white;
}
.bg-header-green2 {
    background-color: #2E8B57; /* seagreen */
    color: white;
}
.bg-header-bal {
    background-color: #1fa2ff;
    color: white;
}
.bg-result1 {
    background-color:#CCFFFF;
}
.bg-darkblue {
    background-color:  darkblue;
    color:lime;
    border:none;
}

.bg-pro-header {
    background: linear-gradient(#C8E6F0, white); 
    color: #333333; /* ข้อความสีเข้ม */
    font-weight: bold;
}

.bg-pro-row-alt {
    background: linear-gradient(#F5F5F5, white);
    color: #333333; /* ข้อความสีเข้ม */
}

/*** BORDER ***/
.bB {
    border-bottom-style: solid; 
    border-bottom-width: 1px;
    border-bottom-color: lightgray;
}
.bL {
    border-left-style: solid; 
    border-left-width: 1px;
    border-left-color: lightgray;
}
.bT {
    border-top-style: solid; 
    border-top-width: 1px;
    border-top-color: lightgray;
}
.bR {
    border-right-style: solid; 
    border-right-width: 1px;
    border-right-color: lightgray;
}

.bB-T {
    border-bottom-style: solid; 
    border-bottom-width: 1px;
    border-bottom-color: transparent;
}
.bL-T {
    border-left-style: solid; 
    border-left-width: 1px;
    border-left-color: transparent;
}
.bT-T {
    border-top-style: solid; 
    border-top-width: 1px;
    border-top-color: transparent;
}
.bR-T {
    border-right-style: solid; 
    border-right-width: 1px;
    border-right-color: transparent;
}

.bB-Red {
    border-bottom-style: solid; 
    border-bottom-width: 1px;
    border-bottom-color: red;
}
.bL-Red {
    border-left-style: solid; 
    border-left-width: 1px;
    border-left-color: red;
}
.bT-Red {
    border-top-style: solid; 
    border-top-width: 1px;
    border-top-color: red;
}
.bR-Red {
    border-right-style: solid; 
    border-right-width: 1px;
    border-right-color: red;
}

.bB-Blue {
    border-bottom-style: solid; 
    border-bottom-width: 1px;
    border-bottom-color: royalblue;
}
.bL-Blue {
    border-left-style: solid; 
    border-left-width: 1px;
    border-left-color: royalblue;
}
.bT-Blue {
    border-top-style: solid; 
    border-top-width: 1px;
    border-top-color: royalblue;
}
.bR-Blue {
    border-right-style: solid; 
    border-right-width: 1px;
    border-right-color: royalblue;
}

.bB-Orange {
    border-bottom-style: solid; 
    border-bottom-width: 1px;
    border-bottom-color: orange;
}
.bL-Orange {
    border-left-style: solid; 
    border-left-width: 1px;
    border-left-color: orange;
}
.bT-Orange {
    border-top-style: solid; 
    border-top-width: 1px;
    border-top-color: orange;
}
.bR-Orange{
    border-right-style: solid; 
    border-right-width: 1px;
    border-right-color: orange;
}

.bB-Violet {
    border-bottom-style: solid; 
    border-bottom-width: 1px;
    border-bottom-color: violet;
}
.bL-Violet {
    border-left-style: solid; 
    border-left-width: 1px;
    border-left-color: violet;
}
.bT-Violet {
    border-top-style: solid; 
    border-top-width: 1px;
    border-top-color: violet;
}
.bR-Violet {
    border-right-style: solid; 
    border-right-width: 1px;
    border-right-color: violet;
}

.bB-White {
    border-bottom-style: solid; 
    border-bottom-width: 1px;
    border-bottom-color: White;
}
.bL-White {
    border-left-style: solid; 
    border-left-width: 1px;
    border-left-color: White;
}
.bT-White {
    border-top-style: solid; 
    border-top-width: 1px;
    border-top-color: White;
}
.bR-White {
    border-right-style: solid; 
    border-right-width: 1px;
    border-right-color: White;
}

.bB-Red-Dot {
    border-bottom-style: dashed; 
    border-bottom-width: 1px;
    border-bottom-color: red;
}

.bL-e {
    border-left-style: solid; 
    border-left-width: 1px;
    border-left-color: #9EB6CE;
}
.bB-e {
    border-bottom-style: solid; 
    border-bottom-width: 1px;
    border-bottom-color: #9EB6CE;
}
.bR-e {
    border-right-style: solid; 
    border-right-width: 1px;
    border-right-color: #9EB6CE;
}
.bT-e {
    border-top-style: solid; 
    border-top-width: 1px;
    border-top-color: #9EB6CE;
}

/*** PAGING ***/
.PAGING_FOCUS {    
    line-height:30px;
    vertical-align: middle;
    text-align: center;
    border-radius: 50%;
    box-shadow: 2px 2px #999;
    background: linear-gradient(#00d2ff  , whitesmoke, white);
}

.PAGING_FOCUS[conten-len="1"] {
    width:30px;
}
.PAGING_FOCUS[conten-len="2"] {
    width:30px;
}
.PAGING_FOCUS[conten-len="3"] {
    width:35px;
}
.PAGING_FOCUS[conten-len="4"] {
    width:40px;
}
.PAGING_FOCUS[conten-len="5"] {
    width:45px;
}

.PAGING_SPACE {
    width:30px;
    line-height:30px;
    vertical-align: middle;
    text-align: center;
    border-radius: 50%;
    background: linear-gradient(#eeeeee  , whitesmoke, white);
}

.PAGING_ACTIVE {
    line-height:30px;
    vertical-align: middle;
    text-align: center;
    border-radius: 50%;
    box-shadow: 2px 2px #999;
    background: linear-gradient(#cccccc  , whitesmoke, white);
}

.PAGING_ACTIVE[conten-len="1"] {
    width:30px;
}
.PAGING_ACTIVE[conten-len="2"] {
    width:30px;
}
.PAGING_ACTIVE[conten-len="3"] {
    width:35px;
}
.PAGING_ACTIVE[conten-len="4"] {
    width:40px;
}
.PAGING_ACTIVE[conten-len="5"] {
    width:45px;
}

.PAGING_ACTIVE:hover {
    background: linear-gradient(#fffc00, whitesmoke, white);
    cursor: pointer;
}

/*** BUTTON ***/
tab.LOGOUT_INACTIVE {
    display:block;
    text-decoration: none;
    height:33px;width:33px;
    background-repeat:no-repeat;
    background-image:url("../_img/bt_logout_ina.png");
    background-size:33px 33px;
    background-position-y: 5px;
}
tab.button {
    flex: 1 1 auto;
    transition: 0.1s;
    background-color:white;
    /*background-size: 60% 90%;*/
    background-size: 36px 36px;
    background-repeat:no-repeat;
    background-position: center;
    border-radius: 5px;
    border-style: solid;
    border-width:1px;
    border-color: lightgray  ; /*#0096E3*/
    cursor: pointer;
}
tab.button[button-type='SAVE'] {
    background-image:url("../_img/bt_save.png");
}
tab.button[button-type='DISABLE-SAVE'] {
    background-image:url("../_img/bt_save.png");
    filter: opacity(25%);
    pointer-events: none;
}
tab.button[button-type='CANCEL'] {
    background-image:url("../_img/bt_clear.png");
}
tab.button[button-type='DISABLE-CANCEL'] {
    background-image:url("../_img/bt_clear.png");
    filter: opacity(25%);
    pointer-events: none;
}
tab.button[button-type='ADD'] {
    background-image:url("../_img/bt_add.png");
}
tab.button[button-type='DISABLE-ADD'] {
    background-image:url("../_img/bt_add.png");
    filter: opacity(25%);
    pointer-events: none;
}
tab.button[button-type='SEARCH'] {
    background-image:url("../_img/bt_search2.png");
}
tab.button[button-type='FIND'] {
    background-image:url("../_img/bt_find.png");
}
tab.button[button-type='CLEAR'] {
    background-image:url("../_img/bt_cancel.png");
}
tab.button[button-type='UNCLEAR'] {
    background-image:url("../_img/bt_cancel.png");
    filter: opacity(25%);
    cursor: default;
}
tab.button[button-type='PRINT'] {
    background-image:url("../_img/bt_print.png");
}
tab.button[button-type='CASH'] {
    background-image:url("../_img/bt_cash.png");
}
tab.button[button-type='DISABLE-PRINT'] {
    background-image:url("../_img/bt_print.png");
    filter: opacity(25%);
    cursor: default;
}

tab.inline-button {
    flex: 1 1 auto;
    background-color:white;
    background-size: 23px 23px;
    background-repeat:no-repeat;
    background-position: center;
    cursor: pointer;
}

tab.inline-button:hover {
    background-color:  yellow;
}

tab.inline-button[button-type='DEL'] {
    background-image:url("../_img/bt_void.png");
}
tab.inline-button[button-type='DISABLE-DEL'] {
    background-image:url("../_img/bt_void.png");
    filter: opacity(25%);
    pointer-events: none;
}

tab.inline-button[button-type='ADD'] {
    background-image:url("../_img/bt_add3.png");
}
tab.inline-button[button-type='DISABLE-ADD'] {
    background-image:url("../_img/bt_add3.png");
    filter: opacity(25%);
    pointer-events: none;
}
tab.inline-button[button-type='NOHOVER-ADD'] {
    background-image:url("../_img/bt_add3.png");
    background-color:white;
    pointer-events: none;
}

tab.button:hover {
    background-color:  yellow;
    background-position: center;
    /*background-size: 63% 95%;*/
    background-size: 39px 39px;
    border-color: gray ;
    filter: brightness(1.20);
}
tab.button-req {
    background-image:url("../_img/bt_edit2.png");
    background-size: 25px 25px;
    background-repeat:no-repeat;
    background-position: center;
    filter: opacity(15%);
}
tab.button-req[active='Y'] {
    cursor: pointer;
    filter: opacity(100%);
}    
tab.button-alert {
    background-image:url("../_img/bt_edit3.png");
    background-size: 25px 25px;
    background-repeat:no-repeat;
    background-position: center;
    filter: opacity(15%);
}
tab.button-alert[active='Y'] {
    cursor: pointer;
    filter: opacity(100%);
}
tab.detail {
    text-align: center;    
}
tab.detail:hover {
    filter: brightness(1.15);
    color: yellow;
    font-size: 16px;
    cursor: pointer;
}
tab.flat-button {
    flex: 1 1 auto;
    transition: 0.1s;
    background-size: 36px 36px;
    background-repeat:no-repeat;
    background-position: center;
    cursor: pointer;
}
tab.flat-button[button-type='PRINT'] {
    background-image:url("../_img/bt_print.png");
}
tab.flat-button[button-type='DISABLE-PRINT'] {
    background-image:url("../_img/bt_print.png");
    filter: opacity(25%);
    cursor: default;
}
tab.flat-button[button-type='CONTRACT'] {
    background-image:url("../_img/bt_dsp_bill.png");
}
tab.flat-button[button-type='DISABLE-CONTRACT'] {
    background-image:url("../_img/bt_dsp_bill.png");
    filter: opacity(25%);
    cursor: default;
}
tab.flat-button[button-type='DUES'] {
    background-image:url("../_img/bt_dsp_list.png");
}
tab.flat-button[button-type='DISABLE-DUES'] {
    background-image:url("../_img/bt_dsp_list.png");
    filter: opacity(25%);
    cursor: default;
}
tab.flat-button[button-type='CUSTOMER'] {
    background-image:url("../_img/POB_SELLER.png");
}
tab.flat-button[button-type='DISABLE-CUSTOMER'] {
    background-image:url("../_img/POB_SELLER.png");
    filter: opacity(25%);
    cursor: default;
}
tab.flat-button[button-type='SURETY'] {
    background-image:url("../_img/CUS_SURETY.png");
}
tab.flat-button[button-type='DISABLE-SURETY'] {
    background-image:url("../_img/CUS_SURETY.png");
    filter: opacity(25%);
    cursor: default;
}
tab.flat-button[button-type='CLOSED'] {
    background-image:url("../_img/bt_cancel.png");
}
tab.flat-button[button-type='DISABLE-CLOSED'] {
    background-image:url("../_img/bt_cancel.png");
    filter: opacity(25%);
    cursor: default;
}

tab.flat-button[button-type='RECEIVE'] {
    background-image:url("../_img/POS_FG.png");
}
tab.flat-button[button-type='DISABLE-RECEIVE'] {
    background-image:url("../_img/POS_FG.png");
    filter: opacity(25%);
    cursor: default;
}

/*** FONT ***/
.text-x {
    text-decoration: line-through;
}
.text-cicle {
    border-radius: 50%;
    border: 1px solid #666;
    padding: 2px;
}
.F-Bold {
    font-weight:bold;
}

.F-Blue {
    color:dodgerblue;
}

.F-Gray {
    color:gray;
}

.F-Gray2 {
    color:#aaaaaa ;
}

.F-Gray3 {
    color: #E2E8F1;
}

.F-Green {
    color:green;
}

.F-Red {
    color:orangered;
}

.F-Teal {
    color:teal;
}

.F-White {
    color:white;
}

.F-Black {
    color:black;
}

.F-Yellow {
    color:yellow;
}

.F-Brown {
    color:brown;
}

.F-Tomato {
    color:tomato;
}

.F-Shadow {
    text-shadow: 1px 1px Gainsboro;
}

.F-Shadow-Violet {
    text-shadow: 1px 1px Violet;
}

.F-Mnu {
    font-size:14px;
}
.F-Btn {
    font-size:14px;
}

@media only screen and (min-width: 1366px) {
    .F-Mnu {
        font-size:16px;
    }
    .F-Btn {
        font-size:16px;
    }    
}

.C01 {
	color:teal;
}

.bg-alot-wave {
    background-color: #ffffff;
    background-image: 
        /* Sharp Line 1: Main Curve */
        radial-gradient(circle at 20% -20%, transparent 65%, rgba(155, 89, 182, 0.4) 10.1%, rgba(155, 89, 182, 0.4) 10.01%, transparent 65.2%),
        /* Sharp Line 2: Parallel Curve */
        radial-gradient(circle at 20% 100%, transparent 67%, rgba(155, 89, 182, 0.2) 67%, rgba(155, 89, 182, 0.2) 67.1%, transparent 67.1%),
        /* Sharp Line 3: Opposite Intersecting Curve */
        /*radial-gradient(circle at 80% -20%, transparent 55%, rgba(187, 134, 252, 0.3) 55%, rgba(187, 134, 252, 0.3) 55.2%, transparent 55.2%),*/
        /* Sharp Line 4: Fine Detail Curve */
        /*radial-gradient(circle at 80% -20%, transparent 58%, rgba(187, 134, 252, 0.15) 58%, rgba(187, 134, 252, 0.15) 58.1%, transparent 58.1%),*/
        /* Soft Background Glows for Depth */
        /*radial-gradient(at 0% 0%, rgba(225, 190, 231, 0.3) 0%, transparent 60%),*/
        /*radial-gradient(at 100% 100%, rgba(206, 147, 216, 0.1) 0%, transparent 60%),*/
        /* Base Clean Gradient */
        linear-gradient(135deg, #fdfbff 0%, #ffffff 100%);
    background-attachment: fixed;
    background-size: cover;
}

.bg-alot-wave-2 {
    background-color: #ffffff;
    background-image: 
        /* Line 1: Base Line */
        radial-gradient(circle at 30% -10%, transparent 45%, rgba(155, 89, 182, 0.4) 50%, rgba(155, 89, 182, 0.4) 50.1%, transparent 10.1%),
        /* Line 2: +10px */
        radial-gradient(circle at 30% -12%, transparent calc(45% + 10px), rgba(155, 89, 182, 0.3) calc(50% + 10px), rgba(155, 89, 182, 0.3) calc(50.1% + 10px), transparent calc(10.1% + 10px)),
        /* Line 3: +20px */
        radial-gradient(circle at 30% -14%, transparent calc(45% + 20px), rgba(155, 89, 182, 0.2) calc(50% + 20px), rgba(155, 89, 182, 0.2) calc(50.1% + 20px), transparent calc(10.1% + 20px)),
        /* Line 4: +30px */
        radial-gradient(circle at 30% -16%, transparent calc(45% + 30px), rgba(155, 89, 182, 0.15) calc(50% + 30px), rgba(155, 89, 182, 0.15) calc(50.1% + 30px), transparent calc(10.1% + 30px)),
        /* Line 5: +40px */
        radial-gradient(circle at 30% -18%, transparent calc(45% + 40px), rgba(155, 89, 182, 0.1) calc(50% + 40px), rgba(155, 89, 182, 0.1) calc(50.1% + 40px), transparent calc(10.1% + 40px)),
        /* Base Glow */
        linear-gradient(135deg, #fdfbff 0%, #ffffff 100%);
    background-attachment: fixed;
    background-size: cover;
}

.bg-alot-ribbon {
    background-color: #ffffff;
    background-image: 
        /* Ribbon Group 1: Sharp Fanning Lines (Top-Right Source) */
        repeating-radial-gradient(circle at 130% -10%, 
            transparent 0, transparent 40%, 
            rgba(155, 89, 182, 0.15) 40.05%, rgba(155, 89, 182, 0.15) 40.1%, 
            transparent 40.15%, transparent 40.5%),
        /* Ribbon Group 2: Intersecting Parallel Lines (Bottom-Left Source) */
        repeating-radial-gradient(circle at -30% 120%, 
            transparent 0, transparent 65%, 
            rgba(103, 58, 183, 0.1) 65.05%, rgba(103, 58, 183, 0.1) 65.1%, 
            transparent 65.15%, transparent 66.2%),
        /* Highlight: White Foggy S-Curve */
        radial-gradient(circle at 25% 50%, #ffffff 0%, transparent 60%),
        /* Atmosphere 1: Soft Lavender Glow */
        radial-gradient(circle at 0% 100%, #f3e5f5 0%, transparent 50%),
        radial-gradient(circle at 100% 0%, #e1bee7 0%, transparent 50%),
        /* Atmosphere 2: Deep Amethyst Flow */
        radial-gradient(circle at 100% 80%, #9c27b0 0%, transparent 40%),
        /* Base: Clean White-to-Lavender Gradient */
        linear-gradient(145deg, #ffffff 40%, #f8f0ff 100%);
    background-attachment: fixed;
    background-size: cover;
}