.RunningNumber_code,
.PurchaseOrder_code,
.StockTransfer_code,
.Requisition_code,
.SaleOrder_code {
    font-size: 1.28rem !important;
    padding: 0 !important;
    border: 0 !important;
    margin: 0 !important;
    font-family: inherit !important;
    font-weight: 700;
}

span.RunningNumber_code,
span.PurchaseOrder_code,
span.StockTransfer_code,
span.Requisition_code,
span.SaleOrder_code {
    position: absolute;
    top: 0;
    left: -500px;
    opacity: 0;
}

.SaleOrder_head {
    padding: 2px 0 14px 0;
}

.SaleOrder_title {
    margin: 0;
}

.Document .logo {
    max-width: 70px;
    margin: 0 1rem 1rem 0;
}

.SaleOrder_codeRoot {
    position: relative;
    margin-left: auto;
}

.SaleOrder_signCode {
    margin-bottom: 0 !important;
    line-height: 1.4;
}

.SaleOrder_address {
    /*opacity: 0.8;*/
    min-height: 2.2em;
    /*max-height: 2.2em;*/
    margin: 0;
    /*white-space: nowrap;*/
    /*overflow: hidden;*/
    /*margin-right: 10px;*/
}

.SaleOrder_address.text-normal {
    opacity: 1;
    font-size: 1em;
}

.SaleOrder_fixField .field {
    margin-bottom: 1em !important;
}

.SaleOrder_invoiceList {
    margin: 0 0 1rem 0;
}

.SaleOrder_invoiceList a {
    color: #000;
}

.SaleOrder_invoiceList a:hover {
    color: #21BA45;
    text-decoration: underline;
}

.SaleOrder_invoiceList a.active {
    color: #21BA45;
}

.SaleOrder_invoiceList .icon.down {
    margin: 0 0 0 0.2rem;
    width: 0.6rem;
}

.SaleOrder_invoiceList .icon.check {
    margin: 0 0.5rem 0 0;
}

.SaleOrder_invoiceList .icon.shipping {
    margin-top: 2px;
    color: #f1f1f1;
}

.SaleOrder_invoiceList.done_ship .icon.shipping {
    color: darkgreen;
}

.SaleOrder_invoiceList .desc {
    opacity: 0.7;
}

.SaleOrder_rightBoxBorder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #21BA45;
    border-radius: .28571429rem;
    overflow: hidden;
}

.SaleOrder_rightBoxBorder.red {
    background: #DB2828;
}

.SaleOrder_rightBoxBorder.yellow {
    background: #FBBD08;
}

.SaleOrder_rightBoxBorder.green {
    background: #21BA45;
}

.Item_sellPricePopup.ui.button {
    width: 1px;
    position: absolute;
    padding: 0;
    height: 1px;
    min-height: 0;
    background: #FFF;
    top: 69%;
    left: -1px;
}

.ui.floating.dropdown.button {
    padding: 0 10px;
    border-top-right-radius: .28571429rem !important;
    border-bottom-right-radius: .28571429rem !important;
}

.Item_each {
    position: relative;
}

.Item_each .disabled-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.03);
    padding: 0 2rem;
}

.Item_each:not(.disabled) .disabled-wrapper {
    display: none;
}

.Item_each.disabled > *:not(.disabled-wrapper) {
    opacity: 0.3;
}

.Item_each.disabled .ui.button.remove {
    display: none;
}

.Item_each .more-options-button {
    margin: 0.4em 0 0 0;
    font-size: 0.9em;
    color: #ccc;
    line-height: 1;
}

.Item_each .more-options-button:hover {
    cursor: pointer;
    color: #000;
}

.Item_each .more-options .content {
    display: none;
    margin: 0.4em 0 0 0;
}

.Item_each .more-options.active .content {
    display: block;
    color: #000;
    background: #fff1c9;
    padding: 1rem;
}

.Item_each .more-options .discount-subtract .title {
    border-bottom: 1px solid #CCC;
}

.Item_each .more-options .discount-subtract-each {
    margin-top: 0.7rem;
}

.Item_each .more-options .discount-subtract-each .close-button {
    cursor: pointer;
}

.Item_name ::-webkit-input-placeholder {
    color: #ccc !important;
}

.Item_name :-moz-placeholder {
    color: #ccc !important;
    opacity: 1;
}

.Item_name ::-moz-placeholder {
    color: #ccc !important;
    opacity: 1;
}

.Item_name :-ms-input-placeholder {
    color: #ccc !important;
}

.Item_each ::-ms-input-placeholder {
    color: #ccc !important;
}

.Item_each .ui.avatar.image {
    margin-right: 13px;
    flex-shrink: 0;
}

.Item_each .ui.input:not(.disabled) input[disabled] {
    opacity: 1;
    color: #727272;
}

.Item_each .tax {
    position: relative;
    display: none;
}

.Item_each .show-more-info {
    color: #CCC;
    font-size: 0.9rem;
    margin: 0.2rem 0 0 0;
}

.Item_each .hover-opacity,
.Item_each .qty-after {
    margin: 0.55rem 0 0 0;
    font-size: 0.9em;
    color: #CCC;
    transition: color 0.6s;
    /*white-space: pre;*/
    line-height: 1.3;
}

.Item_each:hover .hover-opacity,
.Item_each:hover .qty-after {
    color: #1b1b1b;
}

.Item_each .pointing.dropdown {
    width: 1px;
    position: absolute;
    padding: 0;
    min-height: 0;
    background: #fff;
    bottom: 0;
    left: 0;
}

.Item_each .serial-number {
    padding: 0;
}

.Item_each .product {
    width: 100%;
    flex: 1;
}

.Item_each .product-name {
    margin-top: 0.3rem;
}

.Item_each .serial-number .dropdown {
    width: 100%;
    margin: 10px 0 0 0;
}

.Item_each .description {
    line-height: 1.3;
    width: 100%;
}

.Item_each .description-input {
    font-size: 1em !important;
    padding: 0 !important;
    border: 0 !important;
    min-height: 1em !important;
}

.Item_each .no {
    line-height: 1;
    height: 1rem;
    flex-shrink: 0;
    margin-right: 0.5rem;
}

.Item_each .no {
    line-height: 1;
    height: 1rem;
}

.white-space-pre-line {
    white-space: pre-line;
}

.Payment .add-button {
    cursor: pointer;
}

.Payment .add-button:hover {
    text-decoration: underline;
}

.item-payment {
    position: relative;
    background: #f7f7f7;
    padding: 1.5rem;
    margin: 0 0 0.5rem 0;
    border: 3px solid #e2e2e2;
    border-radius: 5px;
}

.item-payment:hover .delete-button {
    opacity: 1;
}

.item-payment .head {
    width: 100%;
}

.item-payment .index {
    color: #404040;
    margin: 0.3rem 0 0.8rem 0 !important;
    /*width: 95%;*/
}

.item-payment .delete-button {
    position: absolute;
    right: 1rem;
    top: 1rem;
    font-size: 1.3em;
    padding: 0;
    cursor: pointer;
    opacity: 0;
    transition: 0.4s all;
    margin-right: -0.3rem;
}

.item-payment .delete-button .icon {
    margin: 0;
}

.right-section > div {
    margin-bottom: 15px;
}

.MoneySummary {
    font-size: 1rem;
    text-align: left;
    font-weight: bold;
}

.MoneySummary > div,
.MoneySummary .list,
.MoneySummary .vat-list {
    margin-bottom: 0.7rem;
}

.MoneySummary > div:last-child,
.MoneySummary .vat-list:last-child {
    margin-bottom: 0;
}

.MoneySummary .right {
    margin-left: auto;
}

.MoneySummary .credit-card-charge {
    opacity: 0.9;
    margin-bottom: 0.8rem;
    font-size: 0.85em;
}

.MoneySummary .divider {
    margin: 0 0 1rem 0;
}

.MoneySummary .divider:last-child {
    margin: 0 !important;
}

.MoneySummary.style-position-right {
    background: #FFF;
    border-radius: 4px;
    padding: 1rem;
}

.MoneySummary.style-position-right:first-child {
    background: #FFF;
    border-radius: 4px;
    padding: 1rem;
}

.withholding-tax .labeled {
    margin-bottom: 0.8rem !important;
}

.summary-again > div {
    padding-bottom: 0.7rem;
}

.summary-again > .divider {
    display: none;
}

/*.Item_each input[type=text]{*/
/*padding: 0 !important;*/
/*border-bottom: 0 !important;*/
/*}*/

/* TABLE */
div.ui.table.Table_root.theme1 {
    margin-top: 0.5em;
}

.Table_root.theme1 {
    border-radius: 0 !important;
}

.Table_root.theme1 .thead {
    background: #f4f4f5;
    color: rgb(120, 122, 125);
    font-size: 0.9em;
    font-weight: 100;
}

.Table_root.theme1 .thead .th {
    padding: 7px 0.8em !important;
}

.Table_root.theme1 .thead .th:first-child {
    padding-left: 14px !important;
    padding-right: 1.4em !important;
}

.Table_root.theme1 .th:last-child {
    border-right: 0 !important;
}

.Table_root.theme1 .th,
.Table_root.theme1 .td {
    border-right: 1px solid rgb(226, 230, 232);
    padding: 10px 10px 8px 10px;
}

.Table_root.theme1 .td:first-child {
    /*padding-left: 14px !important;*/
    padding: 10px 10px 8px 14px !important;
}

.Table_root.theme1 .tr {
    /*border-bottom: 1px solid rgba(34, 36, 38, .1);*/
}

.Table_root.theme1 .td:last-child {
    border-right: none;
}

.Table_root.theme1 .tr .button.remove {
    transition: opacity 0.3s;
    opacity: 0;
}

.Table_root.theme1 .tr:hover .button.remove {
    opacity: 1;
}

/* TABLE */

.section[class*="span12 computer"] {

}

.section[class*="span12 computer"] {

}

.custom-running-number {

}

.custom-running-number .ui.checkbox .box:after, .ui.checkbox label:after,
.custom-running-number .ui.checkbox .box:before, .ui.checkbox label:before,
.custom-running-number .ui.checkbox input[type=checkbox] {
    width: 16px;
    height: 16px;
    font-size: 12px;
}

.purchase-order-sourced .each {
    margin-bottom: 0.7rem;
}

.tr.stock-alert {
    background: #fff1f1 !important;
    font-weight: bold;
    color: red !important;
}

.payment-deposit {
    font-weight: bold;
    border: 1px solid #e8e8e8;
    padding: 0.6rem;
    margin-top: 0.5rem;
    border-radius: 3px;
}

.payment-deposit .value {
    color: green;
}

.hover-transparent {
    transition: opacity 0.6s;
    opacity: 0.2 !important;
    cursor: pointer;
}

.hover-transparent:hover {
    opacity: 1 !important;
}

.relationship-branch-on-list > .icon {
    opacity: 0.55;
    font-size: 0.85rem;
}

/*
การแสดงผลแบบ Level
 */
.display-level.child-hide .child {
    display: none;
}

.display-level.child-hide .icon.caret.down {
    transform: rotate(-90deg);
    line-height: 1;
}

.display-level .icon {
    color: #CCCCCC;
    cursor: pointer;
}

.display-level .icon:hover {
    color: #000;
}

