* {
    font-family: "Noto Sans Thai", sans-serif;
    font-size: 14.25pt;
    padding: 0;
    margin-left: 0;
    margin-top: 0;
}

.header {
    position: fixed;
    padding: 3px 0px 0px 5px;
    background: #404040;
    color: #FFFFFF;
    width: 100%;
    height: 38px;
}

.menu {
    position: fixed;
    padding: 0px 0px 0px 5px;
    background: #225482;
    color: #FFFFFF;
    top: 38px;
    width: 100%;
    height: 35px;
    cursor: pointer;
    border-style: solid none none none;
    border-width: 1px;
}

.iframe {
    position: fixed;
    top: 73px;
    width: 100%;
    height: calc(100% - 108px);
}

.footer {
    position: fixed;
    padding: 0px 0px 0px 5px;
    background: #666666;
    color: #FFFFFF;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 30px;
}


/* ------------------------------------Log in */
.CLI {
    position: fixed;
    padding: 80px 0px 0px 0px;
    width: 100%;
    text-align: center;
}

#Login {
    background-color: #007FFF;
    border-style: none;
    color: #FFFFFF;
    height: 60px;
    Width: 330px;
    cursor: pointer;
    text-align: center;
}


.ui-dialog-titlebar-close { /*ไม่ต้องแสดงปุ่มปิด*/
    visibility: hidden;
}

.closePage {
    padding: 3px 20px 0px 0px;
    float: right;
    height: 30px;
    cursor: pointer;
}

.signOut {
    padding: 3px 15px 0px 0px;
    float: right;
    height: 30px;
}



.menuHeader {
    background-color: #666666;
    width: 100%;
    position: sticky;
    top: 0;
    padding: 5px;
    z-index: 999;
}

.subHeader {
    position: fixed;
    top: 0px;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
}

.subMenu {
    padding: 3px 0px 0px 5px;
    float: left;
}

.subJobNo {
    padding: 3px 5px 0px 0px;
    float: right;
    height: 30px;
}

.menu-img {
    height: 28px;
    vertical-align: top;
}

.menu-button {
    background: rgba(0,0,0,0);
    color: #ffffff;
    cursor: pointer;
}

.menu-button:hover {
    color: #fff000;
}

.DetailHeader {
    float: left;
    color: Navy;
    padding: 20px 0px 0px 10px;
    height: 28px;
    width: 100%; /* The width is 20%, by default */
}

.width99 {
    width: 99%;
}

#lblHeader {
    font-family: Impact;
    font-size: 20pt;
}





/*.iframe {
    position: fixed;
    top: 73px;
    width: 100%;*/
    /*height: 100%;*/
    /*border-width: 0px;
    height: calc(100% - 75px);
    overflow-y: auto;
}*/

.center {
    text-align: center;
}

input[type="text"] {
    padding: 0px 0px 0px 5px;
}

/* ------------------------------------MainMenu */
/*#txtSearchMN {
    position: absolute;
    margin-top: 15px;
    right: 60px;
    width: calc(100%/6);
    height: 25px;
    top: 5px;
}*/

#imgSearchMN {
    position: absolute;
    margin-top: 15px;
    right: 30px;
    width: 24px;
    height: 24px;
    top: 7px;
    cursor: pointer;
}

span.deleteicon {
    position: absolute;
    margin-top: 15px;
    right: 60px;
    /*width: calc(100%/6);*/
    height: 25px;
    top: 5px;
    display: inline-flex;
    align-items: center;
}

    span.deleteicon span {
        position: absolute;
        display: block;
        right: 13px;
        width: 15px;
        height: 15px;
        border-radius: 50%;
        color: #fff;
        background-color: #ccc;
        font: 13px monospace;
        text-align: center;
        line-height: 1em;
        cursor: pointer;
    }

    span.deleteicon input {
        padding-right: 18px;
        box-sizing: border-box;
    }

span.deleteiconNM {
    position: absolute;
    right: 180px;
    display: inline-flex;
    align-items: center;
}

    span.deleteiconNM span {
        position: absolute;
        display: block;
        right: 13px;
        width: 15px;
        height: 15px;
        border-radius: 50%;
        color: #fff;
        background-color: #ccc;
        font: 13px monospace;
        text-align: center;
        line-height: 1em;
        cursor: pointer;
    }

    span.deleteiconNM input {
        padding-right: 18px;
        box-sizing: border-box;
    }

.tabs-container {
    /*    position: fixed;
    top:10px;*/
}
.tabs-detail {
    /*position: absolute;*/
    /*top: 37px;*/
    /*width: 99%;*/
    /*padding: 0px 0px 0px 5px;*/
}
.tabs-header {
    padding: 5px 0px 10px 5px;
}

.GridviewStickyHeader th {
    position: sticky;
    top: 0;
}

.Cbo {
    font-weight: normal; /* Font not bold */
    height: 30px;
    background-color: #E1E1E1;
}

#lvw, #lvwJob, #lvwJobSearch {
    border-collapse: collapse;
    width: 100%;
    cursor: pointer;
}

    #lvw td, #lvwJob td, #lvwJobSearch td {
        border: 1px solid #ddd;
        padding: 1px;
    }

    #lvw tr:nth-child(even) {
        background-color: #F0F8FF;
    }

    #lvw th, #lvwJob th, #lvwJobSearch th {
        padding-top: 1px;
        padding-bottom: 1px;
        text-align: center;
        background-color: #ffffff;
        color: black;
        column-width: 80pt;
    }

    #lvw a, #lvwJobSearch a, #lvwJob a, #lvwJobSearch a {
        text-decoration: none; /* Clear Grid View Underline on Gridview Header */
        font-weight: normal; /* Grid View Font header not bold */
        color: black;
        margin-top: 5px;
        margin-left: 5px;
        margin-right: 5px;
        margin-bottom: 5px;
    }

    #lvw tr:hover {
        background-color: #ddd;
    }

    #lvwJob tr:nth-child(even) {
        background-color: #F0F8FF;
    }

    #lvwJob tr:hover {
        background-color: #ddd;
    }

    #lvwJobSearch tr:hover {
        background-color: #ddd;
    }

    #lvwJobSearch tr:nth-child(even) {
        background-color: #F0F8FF;
    }

.hand {
    cursor: pointer;
}






/* ------------------------------------Customer */
.Customer-lvw {
    position: fixed;
    top: 40px;
    width: 99.5%;
    height: calc(100vh - 50px);
    background-color: #ffffff;
    padding: 5px 5px;
    cursor: pointer;
    overflow: auto;
}

/* ------------------------------------Contact */
.grid-item-4Col {
    display: grid;
    width: 100%;
    /*background-color: red;*/
    grid-template-columns: repeat(4, 1fr);
    grid-template-columns: max-content max-content max-content max-content;
}

.txt-Label {
    padding: 0px 40px;
    width: 220px;
}

.left {
    text-align: left;
}

.right {
    text-align: right;
}

.Hide {
    display: none;
}

.txtNavy {
    color: Navy;
    padding: 0px 10px;
}

.txt {
    width: 97%;
    padding: 0px 5px;
}

/* ------------------------------------Setting */
.grid-container-4Col {
    display: grid;
    width: 100%;
    padding: 0px 0px 0px 20px;
    /*background-color: blue;*/
    grid-template-columns: repeat(4, 1fr);
    grid-template-columns: 250px 250px 250px 250px;
}

.Setting-img {
    width: 200px;
    height: 100px;
    border-style: ridge;
    cursor: pointer;
}

/* ------------------------------------JobControl */

.grid-container-list {
    color: black;
    display: grid;
    padding: 10px;
    text-align: center;
}


@media (min-width: 384px) {
    .grid-container {
        grid-template-columns: repeat(1, 1fr);
        grid-template-columns: calc(100% - 20px / 2);
    }

    .grid-container-list {
        grid-template-columns: repeat(1, 1fr);
        grid-template-columns: 350px;
        /*grid-template-rows: 280px 280px;*/
        /*height: 1150px;*/
    }

    .lvw-JobControl {
        width: 90%;
        height: 80px;
        text-align: center;
        cursor: pointer;
        border-style: solid;
    }

    #txtJobNo {
        position: relative;
        top: -6px;
        left: 5px;
    }
}

@media (min-width: 768px) {
    .grid-container {
        grid-template-columns: repeat(2, 1fr);
        grid-template-columns: 250px calc(100% - 600px / 2);
    }

    .grid-container-list {
        grid-template-columns: repeat(2, 1fr);
        grid-template-columns: 350px 350px;
        grid-template-rows: 250px;
        padding: 0px 0px 0px 5px;
    }

    .lvw-JobControl {
        width: 90%;
        height: 150px;
        text-align: center;
        cursor: pointer;
        border-style: solid;
    }

    #txtJobNo {
        position: relative;
        top: -50px;
        left: 250px;
    }
}

@media (min-width: 1280px) {
    .grid-container {
        grid-template-columns: 260px calc(140% / 4) calc(65% / 4) calc(110% / 4);
    }

    .grid-container-list {
        grid-template-columns: calc(100% / 4) calc(100% / 4) calc(100% / 4) calc(100% / 4);
        padding: 0px 0px 0px 40px;
    }

    .lvw-JobControl {
        width: 90%;
        height: 150px;
        text-align: center;
        cursor: pointer;
        border-style: solid;
    }

    #txtJobNo {
        position: relative;
        top: -60px;
        left: 240px;
    }
}

.grid-summary {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(2, 1fr);
    grid-template-columns: max-content calc(100% - 600px / 2);
}

.txt-JobControl {
    width: 300px;
    text-align: center;
}



.btn-JobControl {
    width: 90%;
    /*margin-left: 15px;*/
}
#txtJobNo {
    font-family: Impact;
    font-size: 40px;
    Width: 170px;
    /*pointer-events: none;*/
    text-align: center;
    background-color: #EEEEEE;
}
#dtpJobDate {
    /*pointer-events: none;*/
    cursor: pointer;
    width: 115px;
    text-align: center;
}
#dt {
    width: 22px;
    height: 25px;
    text-indent: -500px;
}




/* ------------------------------------QU */
.grid-container {
    width: 100%;
    display: grid;
}
.grid-container-customer {
    width: 100%;
    display: grid;
}
.grid-container-document {
    width: 100%;
    display: grid;
}
.grid-container-Amount {
    display: grid;
    width: 100%;
}
.grid-container-paid {
    display: grid;
    width: 100%;
}
/*.grid-item-footer {
    border: 1px solid;
    border-color: black;
    background-color: #808080;
    color: #FFFFFF;
}*/
.grid-item-footer-text {
/*    border: 1px solid;
    border-color: black;*/
    text-align: right;
}

.footerControlDetail {
    display: grid;
    width: 95%;
}
.grid-item-center {
    border: none;
    text-align: center;
    Width: 100%;
    box-sizing: border-box;
}
.grid-item-left {
    border: none;
    text-align: left;
    padding: 0px 10px;
    Width: 100%;
    box-sizing: border-box;
}
.grid-item-right {
    border: none;
    text-align: right;
    padding: 0px 10px;
    box-sizing: border-box;
}
@media (min-width: 384px) {
    * {
        font-size: 6pt;
    }

    .menuHeader {
        height: 17px;
    }

    .menu-img {
        height: 11px;
    }

    .subFormName {
        padding: 3px 0px 0px 0px;
        text-align: center;
        color: #ffffff;
    }

    .DetailHeader {
        padding: 0px 0px 0px 10px;
        height: 11px;
    }

    .GridControl {
        padding: 15px 0px 0px 5px;
    }

    .grid-item-input {
        padding: 0px 0px 0px 30px;
        height: 25px;
    }

    .grid-item {
        padding: 0px 0px 0px 30px;
        height: 16px;
    }

    .grid-item-ReferTax {
        padding: 0px 0px 0px 30px;
        height: 16px;
    }

    .grid-item-ReferTax-Text {
        padding: 0px 0px 0px 30px;
        width: 116px;
    }

    .grid-container-customer {
        grid-template-columns: repeat(1, 1fr);
        grid-template-columns: calc(100% - 20px / 2);
    }

    .grid-container-document {
        grid-template-columns: repeat(1, 1fr);
        grid-template-columns: calc(100% - 20px / 2);
    }

    .grid-container-Amount {
        grid-template-columns: calc(40%) calc(40%) calc(20%);
        padding: 10px 0px 0px 0px;
        width: 100%;
    }

    .grid-container-paid {
        grid-template-columns: repeat(1, 1fr);
        grid-template-columns: calc(100% - 20px / 2);
    }

    .grid-container-2Col {
        display: grid;
        width: 100%;
        /*background-color: red;*/
        grid-template-columns: repeat(2, 1fr);
        grid-template-columns: max-content 77%;
    }

    .grid-item-WT {
        padding: 0px 10px 0px 0px;
    }

    .grid-container-WT {
        display: grid;
        width: 95%;
        padding: 10px 0px 0px 5px;
        grid-template-columns: repeat(2, 1fr);
        grid-template-columns: max-content auto;
        height: 25px;
        /*background-color: red;*/
    }

    .grid-container-WT-paid {
        display: grid;
        width: 100%;
        grid-template-columns: repeat(1, 1fr);
        grid-template-columns: calc(100% - 20px / 2);
        /*padding: 20px 0px 0px 0px;*/
    }

    .grid-container-WT-footer {
        display: grid;
        width: 100%;
        grid-template-columns: repeat(1, 1fr);
        grid-template-columns: calc(100% - 20px / 2);
        padding: 10px 0px 0px 50px;
        height: 25px;
    }

    .grid-item-footer-left {
        /*width: 100%;*/
        padding: 0px 8px 0px 5px;
        height: 25px;
    }

    .grid-item-footer-right {
        height: 25px;
        width: 90%;
    }

    .grid-item-footer {
        height: 25px;
        border: 1px solid;
        border-color: black;
        background-color: #808080;
        color: #FFFFFF;
        width: 100%;
        padding: 0px 0px 0px 5px;
    }

    .grid-item-footer-text {
        padding: 0px 10px 0px 0px;
        width: 89%;
        height: 24px;
    }

    #txtRemark {
        height: 75px;
        width: 100.8%;
    }

    #btnAdd {
        height: 16px;
        width: 40px;
        background-color: #3085D6;
        color: #FFFFFF;
        font-size: 8px;
        border-style: none;
    }

    #txt7Vat {
        margin-left: 70px;
        float: right;
        width: 10px;
        height: 10px;
    }
    #lbl7Vat {
        padding: 3px 5px 0px 5px;
        float: right;
    }
    #chkWT {
        position:relative;
        top:9px;
        left:70px;
        float: right;
    }
    #txt3WT {
        margin-left: 70px;
        float: right;
        width: 10px;
        height: 10px;
    }
    #lbl3WT {
        padding: 3px 5px 0px 5px;
        float: right;
    }

    .footerControlDetail {
        padding: 4px 0px 0px 4px;
    }
}

@media (min-width: 768px) {
    * {
        font-size: 10pt;
    }
    /*body {
        background-color: blue;*/ /* zoom 250%*/
    /*}*/


    .menuHeader {
        height: 25px;
    }

    .subMenu {
        padding: 3px 0px 0px 5px;
        float: left;
        height: 30px;
    }

    .subJobNo {
        padding: 3px 5px 0px 0px;
        float: right;
        height: 30px;
    }

    .menu-img {
        height: 20px;
        vertical-align: top;
    }

    .menu-button {
        background: rgba(0,0,0,0);
        color: #ffffff;
        cursor: pointer;
    }

        .menu-button:hover {
            color: #fff000;
        }

    .subFormName {
        padding: 4px 100px 0px 0px;
        text-align: center;
        border: none;
    }

    .DetailHeader {
        float: left;
        color: Navy;
        padding: 5px 0px 0px 10px;
        height: 28px;
        width: 100%; /* The width is 20%, by default */
    }
    
    .GridControl {
        padding: 60px 0px 0px 5px;
    }

    .grid-item-input {
        height: 25px;
    }

    .grid-item-radio {
        display: grid;
        width: 100%;
        grid-template-columns: 150px 150px 150px 500px;
        padding: 10px 0px 0px 30px;
        height: 25px;
    }

    .grid-item {
        height: 25px;
    }

    .grid-item-ReferTax {
        padding: 0px 0px 0px 30px;
        height: 16px;
    }

    .grid-item-ReferTax-Text {
        padding: 0px 0px 0px 30px;
        width: 116px;
    }

    .grid-container-customer {
        grid-template-columns: repeat(2, 1fr);
        grid-template-columns: 280px calc(100% - 600px / 2);
    }

    .grid-container-document {
        grid-template-columns: repeat(2, 1fr);
        grid-template-columns: 280px calc(100% - 600px / 2);
    }

    .grid-container-Amount {
        grid-template-columns: calc(40%) calc(40%) calc(20%);
    }

    .grid-container-paid {
        grid-template-columns: 165px 165px 165px 165px 165px 165px;
    }

    .grid-container-2Col {
        display: grid;
        width: 100%;
        /*background-color: green;*/
        grid-template-columns: repeat(2, 1fr);
        grid-template-columns: max-content 80%;
    }

    .grid-container-WT-paid {
        display: grid;
        width: 100%;
        /*grid-template-columns: repeat(2, 1fr);*/
        /*grid-template-columns: calc(75% / 2) 10% 10%;*/
        grid-template-columns: max-content 10% max-content;
        /*padding: 20px 0px 0px 0px;*/
    }

    .grid-container-WT-footer {
        display: grid;
        width: 100%;
        background-color: rgba(255, 255, 255, 0.8);
        grid-template-columns: max-content max-content max-content max-content auto;
        padding: 10px 0px 0px 30px;
        height: 25px;
    }

    .grid-item-footer-left {
        /*width: 100%;*/
        padding: 0px 8px 0px 5px;
        height: 25px;
    }

    .grid-item-footer-right {
        height: 25px;
        width: 90%;
    }

    .grid-item-footer {
        height: 25px;
        border: 1px solid;
        border-color: black;
        background-color: #808080;
        color: #FFFFFF;
        width: 100%;
        padding: 0px 0px 0px 5px;
    }

    .grid-item-footer-text {
        padding: 0px 10px 0px 0px;
        width: 89%;
        height: 24px;
    }

    #btnAdd {
        height: 35px;
        width: 4.8%;
        background-color: #3085D6;
        color: #FFFFFF;
        font-size: 25px;
        border-style: none;
    }

    #txt7Vat {
        margin-left: 70px;
        width: 25px;
        height: 20px;
    }

    #txt3WT {
        margin-left: 70px;
        width: 25px;
        height: 20px;
    }

    .footerControlDetail {
        padding: 1px 45px 0px 5px;
    }
}

@media (min-width: 1280px) {
    * {
        font-size: 14.25pt;
    }
    
    /*body {
        background-color: blue;*/ /* zoom 250%*/
    /*}*/

    .menu-img {
        height: 28px;
        vertical-align: top;
    }

    .menuHeader {
        height: 35px;
    }

    .subMenu {
        height: 30px;
    }

    .subJobNo {
        padding: 3px 5px 0px 0px;
        float: right;
        height: 30px;
    }

    .menu-img {
        height: 28px;
    }

    .subFormName {
        padding: 4px 100px 0px 0px;
        text-align: center;
    }

    .DetailHeader {
        padding: 20px 0px 0px 10px;
        height: 28px;
    }

    .GridControl {
        padding: 60px 0px 0px 50px;
    }

    .grid-item-input {
        height: 25px;
    }

    .grid-item-radio {
        display: grid;
        width: 100%;
        grid-template-columns: 250px 250px 250px 500px;
        padding: 10px 0px 0px 30px;
        height: 25px;
    }

    .grid-item {
        padding: 10px 0px 0px 50px;
        height: 25px;
    }

    .grid-item-ReferTax {
        padding: 10px 0px 0px 50px;
        height: 25px;
        width: 450px;
    }

    .grid-item-ReferTax-Text {
        padding: 10px 0px 0px 270px;
        height: 25px;
        width: 150px;
    }

    .grid-container-customer {
        grid-template-columns: calc(90% / 4) calc(105% / 4) calc(80% / 4) calc(110% / 4);
    }

    .grid-container-document {
        grid-template-columns: 140px 180px 220px 180px 250px 150px;
    }

    .grid-container-Amount {
        grid-template-columns: calc(55%) calc(25%) calc(20%);
        padding: 10px 0px 0px 0px;
        width:100%;
    }

    .grid-container-2Col {
        display: grid;
        width: 100%;
        /*background-color: blue;*/
        grid-template-columns: repeat(2, 1fr);
        grid-template-columns: 280px auto;
    }

    .grid-container-2ColManage {
        display: grid;
        width: 100%;
        /*background-color: blue;*/
        grid-template-columns: repeat(2, 1fr);
        grid-template-columns: 380px auto;
    }

    .grid-item-WT {
        padding: 0px 10px 0px 0px;
    }

    .grid-container-WT {
        display: grid;
        width: 95%;
        padding: 10px 0px 0px 50px;
        grid-template-columns: max-content auto;
        height: 25px;
        /*background-color: red;*/
    }

    .grid-container-WT-paid {
        display: grid;
        width: 100%;
        grid-template-columns: max-content 10% max-content;
    }

    .grid-container-WT-footer {
        display: grid;
        width: 100%;
        background-color: rgba(255, 255, 255, 0.8);
        grid-template-columns: max-content max-content max-content max-content auto;
        padding: 10px 0px 0px 50px;
        height: 25px;
    }

    .grid-container-paid {
        grid-template-columns: 220px 230px 230px 200px 230px 230px;
        /*padding: 10px 0px 0px 0px;*/
    }

    .grid-item-footer-left {
        /*width: 100%;*/
        padding: 0px 8px 0px 50px;
        height: 35px;
    }

    .grid-item-footer-right {
        height: 35px;
        width: 90%;
    }

    .grid-item-footer {
        height: 35px;
        border: 1px solid;
        border-color: black;
        background-color: #808080;
        color: #FFFFFF;
        width: 100%;
        padding: 0px 0px 0px 5px;
    }

    .grid-item-footer-text {
        padding: 0px 10px 0px 0px;
        width: 89%;
        height: 34px;
    }

    #txtRemark {
        height: 108px;
        width: 100.8%;
    }

    #btnAdd {
        height: 35px;
        width: 4.8%;
        background-color: #3085D6;
        color: #FFFFFF;
        font-size: 25px;
        border-style: none;
    }

    #txt7Vat {
        margin-left: 70px;
        width: 30px;
        height: 30px;
    }

    #txt3WT {
        margin-left: 70px;
        width: 30px;
        height: 30px;
    }



    .footerControlDetail {
        grid-template-columns: 200px 85%;
        padding: 10px 0px 0px 50px;
        height: 25px;
    }
}

.confirm {
    display: none;
}

    .confirm > div:first-of-type {
        position: fixed;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        top: 0px;
        left: 0px;
    }

    .confirm > div:last-of-type {
        padding: 10px 20px;
        background: white;
        position: fixed;
        width: auto;
        height: auto;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        border-radius: 5px;
        border: 1px solid #333;
    }

        .confirm > div:last-of-type div:first-of-type {
            min-width: 150px;
            padding: 10px;
        }

        .confirm > div:last-of-type div:last-of-type {
            text-align: right;
        }


#confirmYes {
    padding: 5px 10px;
    margin: 10px 5px;
    border-radius: 5px;
    cursor: pointer;
    background: #3085D6;
    border: 1px solid #ccc;
    width: 100px;
    color: #FFFFFF;
}

#confirmNo {
    padding: 5px 10px;
    margin: 10px 5px;
    border-radius: 5px;
    cursor: pointer;
    background: #DD3333;
    border: 1px solid #ccc;
    width: 100px;
    color: #FFFFFF;
}

#confirmYes:hover {
    background: #ccc;
}

#confirmNo:hover {
    background: #ccc;
}




.confirmPrint {
    display: none;
}

    .confirmPrint > div:first-of-type {
        position: fixed;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        top: 0px;
        left: 0px;
    }

    .confirmPrint > div:last-of-type {
        padding: 10px 20px;
        background: white;
        position: fixed;
        width: auto;
        height: auto;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        border-radius: 5px;
        border: 1px solid #333;
    }

        .confirmPrint > div:last-of-type div:first-of-type {
            min-width: 150px;
            padding: 10px;
        }

        .confirmPrint > div:last-of-type div:last-of-type {
            text-align: right;
        }



#originalPrint {
    padding: 5px 10px;
    margin: 10px 5px;
    border-radius: 5px;
    cursor: pointer;
    background: #3085D6;
    border: 1px solid #ccc;
    width: 180px;
    color: #FFFFFF;
}

#copyPrint {
    padding: 5px 10px;
    margin: 10px 5px;
    border-radius: 5px;
    cursor: pointer;
    background: #6a7068;
    border: 1px solid #ccc;
    width: 150px;
    color: #FFFFFF;
}

#onlinePrint:hover {
    background: #ccc;
}

#originalPrint:hover {
    background: #ccc;
}

#copyPrint:hover {
    background: #ccc;
}



.confirmSize {
    width: 400px;
    height: 100px;
}

#txtBahtText {
    background-color: #808080;
    color: #FFFFFF;
    width: 100%;
    text-align: center;
    height: 35px;
}

#txtNumber {
    color: #FFFFFF;
    padding: 0px 10px 0px 0px;
    /*    text-align: center;
    border-style: Solid;
    background-color: DimGray;
    
    border-color: Yellow;*/
}

#txtJobNumber {
    color: #FFFFFF;
    /*    text-align: center;
    border-style: Solid;
    background-color: DimGray;
    
    Width: 85px;
    border-color: Yellow;*/
}

#cboTermPayment, #cboCreditTerm {
    width: 115px;
}

#txtDate {
    /*pointer-events: none;*/
    cursor: pointer;
    width: 115px;
    text-align: center;
}

#GridView a {
    text-decoration: none; /* Clear Grid View Underline on Gridview Header */
    font-weight: normal; /* Grid View Font header not bold */
    color: black;
    margin-top: 10px;
    margin-left: 10px;
    margin-right: 10px;
    margin-bottom: 10px;
}

.itemHighlighted {
    background-color: #aba6a6;
    color: White;
    /*padding: 1px 1px 1px 7px;*/
}








/* Invoice */
.dropbtn {
    background: rgba(0,0,0,0);
    color: #ffffff;
    
}

.dropdown {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f1f1f1;
    top:36px;
    min-width: 250px;
    overflow: auto;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

    .dropdown-content a {
        color: black;
        padding: 12px 16px;
        text-decoration: none;
        display: block;
    }

.dropdown a:hover {
    background-color: #ddd;
}

.show {
    display: block;
}







.grid-report-2Col {
    display: grid;
    width: 100%;
    height: 100%;
    /*background-color: blue;*/
    grid-template-columns: repeat(2, 1fr);
    grid-template-columns: 50% 50%;
}
.grid-report-item {
    padding: 20px 0px 0px 20px;
}













































/*AutoComplete flyout */
.completionList {
    margin: 0;
    padding: 0;
    list-style-type: none;
    border: solid 1px #ccc;
    background-color: #fff;
    width: 500px;
    max-height: 300px;
    overflow-y: auto;
    /* prevent horizontal scrollbar */
    overflow-x: hidden;
    /* add padding to account for vertical scrollbar */
    padding-right: 0px;
}

.listItem {
    background-color: White;
    /*width: 400px;*/
    border-top: 1px solid #007ab7;
    /*padding: 1px 1px 1px 7px;*/
}





