h1 a.icon-print {
    color: #444;
    background-color: initial;
    font-size: 25px;
}
h1 a.icon-print:hover {
    color: #1597ce;
    text-decoration: none;
}
.my-fb-title {
    background-color: #ff8758;
}
.but-right {
    width: auto;
}
.align-right {
    text-align: right;
}
[id$="-res"] {
    float: right;
}
.a-like {
    cursor: pointer;
    color: #0690cf;
}
.a-like:hover {
    color: #fb8c00;
}
/*---------------------------------------------------- DEL BUT ----------------------------------------------------*/
#del-but,
.delete-but {
    cursor: pointer;
}
#del-but:hover,
.delete-but:hover {
    color: #ed1c24;
}
.red {
    color: #ed1c24;
    font-weight: 600;
}
.red:visited {
    color: #ed1c24;
    font-weight: 600;
}
.green {
    color: #7ac943;
    font-weight: 600;
}
.hilight-red {
    font-weight: 600;
    color: #ed1c24;
}
/*---------------------------------------------------- STATUS ----------------------------------------------------*/
[class^="ez-circle-"],
[class*="ez-circle-"] {
    display: inline-block;
    box-sizing: border-box;
    width: 20px;
    height: 20px;
    border-radius: 50%;
}
.ez-circle-blank {
    border: 1px #777 solid;
}
.ez-circle-orange {
    background-color: #fb8c00;
}
.ez-circle-yellow {
    background-color: #fdd835;
}
.ez-circle-green {
    background-color: #66bb6a;
}
.ez-circle-hgreen {
    border: 3px #66bb6a solid;
}
.ez-circle-red {
    background-color: #ed1c24;
}
.ez-circle-gray {
    background-color: #c0c0c0;
}
.ez-circle-gray-red {
    background-color: #c0c0c0;
    border: 2px #ed1c24 solid;
}
.ez-circle-yellow-red {
    background-color: #fdd835;
    border: 2px #ed1c24 solid;
}
#quote-csv {
    display: inline-block;
    margin-left: 15px;
}
.icon-adjust:before {
    font-size: 22px;
    color: #66bb6a;
}
.ez-circle-adjust-red:before {
    color: #ed1c24;
}
.ez-circle-adjust-yellow:before {
    color: #fdd835;
}
.circle-yellow:before {
    color: #fdd835;
}
/*=============================================[   new ez-icon   ]===============================================*/
.ez-table [class*="ez-icon-"],
.tb-legend [class*="ez-icon-"] {
    font-size: 20px;
}
.ez-icon-red:before {
    color: #ed1c24;
}
.ez-icon-green:before {
    color: #66bb6a;
}

/*===============================================================  Status.php ==========================================================*/

#tb-pstatus tr th:first-child {
    width: 50px;
}
#tb-pstatus tr th:nth-child(2) {
    width: 30%;
}
#tb-job-status tr th:nth-child(3) {
    width: 25%;
}
#tb-job-status,
#tb-job-result {
    position: relative;
    top: -3px;
    padding: 0;
}
/*=============================================[   INDEX   ]===============================================*/
#job-cal {
    position: relative;
}
.calender-f {
    overflow: hidden;
    padding: 5px;
    top: 5px;
    left: 5px;
    z-index: 100;
}
.calender-f div {
    margin: 0;
}
.calender-f .tb-filter {
    width: 100%;
}
/*=============================================[   HELP   ]===============================================*/
.help-list {
    padding-left: 25px;
}
.gray-icon {
    cursor: default;
    color: #777 !important;
}
.gray-icon:hover {
    cursor: default;
    color: #777 !important;
}
/*=============================================[   JOB PRIORITY   ]===============================================*/
[class*="job-priority-0-"] {
    background-image: linear-gradient(to bottom, #c69c6d 0, #c69c6d 100%);
    background-repeat: repeat-x;
    border-color: #b2dba1;
}
[class*="job-priority-1-"] {
    background-image: linear-gradient(to bottom, #ff9797 0, #ff7575 100%);
    background-repeat: repeat-x;
    border-color: #b2dba1;
}
[class*="job-priority-2-"] {
    background-image: linear-gradient(to bottom, #fff7d9 0, #ffd740 100%);
    background-repeat: repeat-x;
    border-color: #b2dba1;
}
[class*="job-priority-3-"] {
    background-image: linear-gradient(to bottom, #d7e6ff 0, #c3daff 100%);
    background-repeat: repeat-x;
    border-color: #b2dba1;
}
[class*="job-priority-8-"] {
    background-image: linear-gradient(to bottom, #d1d2d4 0, #d1d2d4 100%);
    background-repeat: repeat-x;
    border-color: #b2dba1;
}
[class*="job-priority-9-"] {
    background-image: linear-gradient(to bottom, #fff 0, #fff 100%);
    background-repeat: repeat-x;
    border-color: #b2dba1;
}
.job-priority-0-s,
.job-priority-1-s,
.job-priority-2-s,
.job-priority-3-s,
.job-priority-8-s,
.job-priority-9-s {
    display: inline-block;
    width: 30px;
    height: 20px;
    border: 1px solid rgba(0, 0, 0, 0.3);
}
.gray {
    color: #888;
}
a.gray {
    color: #888;
}
.tb-legend {
    margin-bottom: 10px;
}
#s-sid-res {
    float: right;
}
h1 a[class*="icon-"] {
    background-color: initial;
    color: #444;
    font-size: 28px;
}
h1 a[class*="icon-"]:hover {
    background-color: initial;
    color: #1597ce;
    font-size: 28px;
    text-decoration: none;
}
[id*="-res"] {
    float: right;
}
.form-sec {
    float: left;
    border: 1px #1597ce solid;
    padding: 7px;
    margin-bottom: 10px;
    width: 100%;
}

/*-------------------------------------------------- cancel link --------------------------------------------------*/
a.doc-cancel-link,
a.cancel-iv-link {
    color: #888;
    text-decoration: line-through;
}
/*=============================================[   FONT COLOR   ]===============================================*/
.font-green {
    color: #00cc66;
}
.gray-400 {
    color: #9ca3af;
}
.gray-700 {
    color: #374151;
}
.red-400 {
    color: #f87171;
}
.oragne-500 {
    color: #f97316;
}
.green-500 {
    color: #22c55e;
}
.green-600 {
    color: #16a34a;
}
.blue-600 {
    color: #2563eb;
}
.bg-gray-100 {
    background-color: #f3f4f6;
}
.bg-gray-200 {
    background-color: #e2e8f0;
}
.bg-lime-100 {
    background-color: #ecfccb;
}
.bg-green-200 {
    background-color: #bbf7d0;
}
.bg-red-200 {
    background-color: #fecaca;
}
.bg-orange-200 {
    background-color: #fed7aa;
}
.bg-blue-200 {
    background-color: #bfdbfe;
}

.ez-table.pap-tb-view {
    overflow-x: auto;
}
.pap-tb-view table {
    width: auto;
    min-width: 100%;
}
.pap-tb-view table th,
.pap-tb-view table td {
    vertical-align: top;
    font-size: 13px;
    padding: 7px;
    white-space: nowrap;
}
.pap-tb-view table td {
    text-align: left;
}
.pap-tb-view .label-inline {
    margin-bottom: 0;
}
.pap-tb-view .label-inline select {
    width: auto;
    min-width: 80px;
    padding: 3px 30px 3px 7px;
}
@media only screen and (min-width: 769px) {
    .pap-tb-view table th,
    .pap-tb-view table td {
        white-space: normal;
    }
}
.ez-table.pap-tb-view tr.tb-data {
    border-bottom: 1px solid #d1d5db;
}
.ez-table.pap-tb-view tr.tb-data:not([class*="tr-plan-"]):nth-child(odd) {
    background-color: #fafafa;
}
.pap-tb-view .tb-rjob-info th,
.pap-tb-view .tb-rjob-info td {
    padding: 2px;
    white-space: initial;
}
.tb-rjob-info {
    margin-bottom: 0;
}
.tb-rjob-info th {
    width: 80px;
    min-width: 80px;
}
.tb-rjob-info td {
    text-align: left;
    min-width: 160px;
}
.input-right input {
    text-align: right;
}
.label-inline > div > input[type="text"] {
    width: 100%;
}
.ez-tb-view {
    overflow: auto;
}
.w-full {
    width: 100%;
}
.pap-flex {
    display:flex;
    gap: 0.5rem;
}
/* =============================================[   SHOW DISK   ]=============================================== */
[class*='p-col-'] {
    float:left;
    box-sizing: border-box;
    /* border: solid 1px black; */
}
.p-col-20 {
    width: 20%;
}
.p-col-80 {
    width: 80%;
}
.p-col-100 {
    width: 100%;
}
.pd-l-5 {
    padding-left: 5px;
}
.pd-t-3 {
    padding-top: 3px;
}
.info-disk {
    text-align: left;
    padding: 3px;
    font-size: 15px;
}
.center {
    text-align: center !important;
}
.border {
    border: solid 1px rgb(59, 58, 58);
}


/* =============================================[   NEW RESPONSIVE VIEW 2   ]=============================================== */

.ez-tb-view2 {
    width: 100%;
    overflow: auto;
}
.ez-tb-view2.ez-table table {
    width: auto;
    min-width: 100%;
    table-layout: fixed;
}
.ez-tb-view2.ez-table table [class*="icon-"] {
    font-size: 14px;
}
.ez-tb-view2.ez-table table th,
.ez-tb-view2.ez-table table td {
    white-space: nowrap;
    font-size: 12px;
    vertical-align: top;
    padding: 3px;
    color: #374151;
    border: 1px solid #6B7280;
}
.ez-tb-view2.ez-table table td {
    vertical-align: top;
}
@media only screen and (min-width: 769px) {
    .ez-tb-view2.ez-table:not(.no-wrap) table th,
    .ez-tb-view2.ez-table:not(.no-wrap) table td {
        white-space: normal;
    }
}
.ez-tb-view2.ez-table.cl-tb-input td .label-inline {
    min-width: 80px;
}
.ez-tb-view2.ez-table.cl-tb-input td .label-inline-wbtn {
    min-width: 150px;
}
/**SUM*/
.ez-tb-view2 table tr[class*="tb-sum-"] {
    border-top: 3px double #444;
}
.ez-tb-view2 table tr[class*="tb-sum-"] td {
    background-color: #fff;
}
/* ไม่ตัดคำรหัสเอกสารในตาราง */
.ez-tb-view2 td a {
    white-space: nowrap;
}

/* =============================================[   SHOW DISK   ]=============================================== */
[class*='p-col-'] {
    float:left;
    box-sizing: border-box;
    /* border: solid 1px black; */
}
.p-col-20 {
    width: 20%;
}
.p-col-80 {
    width: 80%;
}
.p-col-100 {
    width: 100%;
}
.pd-l-5 {
    padding-left: 5px;
}
.pd-t-3 {
    padding-top: 3px;
}
.info-disk {
    text-align: left;
    padding: 3px;
    font-size: 15px;
}
.center {
    text-align: center !important;
}
.border {
    border: solid 1px rgb(59, 58, 58);
}

.sh-disk-icon{
    display: none;
}
@media (min-width: 500px ){
    .sh-disk-icon {
        display: block;
    }
}
.ex-w-100 input {
 width: 100% !important;
}
.bg-rad {
    /* background-color: #f48484; */
    border: solid 1px #f48484;
    padding: 5px;
}
.bg-green {
    border: solid 1px rgb(73, 236, 73);
    padding: 5px;
}
[class^='lb-status'] {
    display: inline-block;
    padding: 2px 10px;
    font-size: 12px;
    font-weight: normal;
    line-height: 1;
    color: #fff;
    text-align: center;
    vertical-align: baseline;
    border-radius: 6px;
}
.lb-status-green {
    background-color: #66BB6A;
}
.lb-status-gray {
    background-color: #2175f5;
}