@CHARSET "utf-8";

html, body {
    overflow-y: visible;
}

html {
    font-family: "微軟正黑體",
    sans-serif;
    font-size: 16pt;
}

input[readonly="readonly"] {
    background-color: lightgray;
}

label {
    vertical-align: middle;
}

.guide {
    color: blue;
    vertical-align: middle;
}

#id_banner {
    background-color:black;
    border-radius: 3px;
    color:white;
    padding:10px;
    margin: 0px 0px 10px 0px;
}
#id_banner a:visited {color:gray; }
#id_banner img { margin:0px 5px; }

.banner-label { color:gray; font-weight:bold; }

#id_order_store_code_input {
    width: 30px;
}

#id_query_order_no_input {
    width: 86px;
}

#id_query_cust_input {
    width: 125px;
}

.taiwanpay-button {
	background-image: url('../pic/taiwanpay.png');
	height: 20px;
}

.linepay-button {
	background-image: url('../pic/linepay.png');
	height: 20px;
}

.order-info {
    margin-right: 10px;
}

.field-name {
    width: 70px;
    display: inline-block;
}
.price-input {
    width: 70px;
    text-align: right;
}


.indent {
    padding-left: 40px;
}

.indent-deliver {
    padding-left: 70px;
}


li {
    list-style-type: none;
}

.query-button,.action-button {
    width: 80px;
}

.px-detail {
    margin-left: 30px;
}

.highlight-amount, .highlight-px {
    color: blue;
}

.px-input {
    width: 32px;
}
.px-head {
    text-align: center;
}

.input-px-table {
    border-collapse: collapse;
}

.px-table {
    text-align: center;
}

.px-table th {
    width: 50px;
}
.px-table th:nth-child(1) {
    width: 20px;
}
.px-table td {
    font-family: monospace;
}
.px-table tr td:nth-child(1) {
    font-weight: bold;
}

#id_prescription_purpose_div {
    width:55px;
    float:left;
}
#id_prescription_main_div {
    display:inline-block;
}
#id_prescription_list_div {
    width:80px;
    float:right;
    display:inline-block;
}
.highlight-current-px {
    background-color: lightskyblue;
}

.unpaid {
    color: red;
}
.important {
    color: red;
}

.cust-info {
    width: 300px;
    display: inline-block;
}

#id_cust_div div:nth-child(even) .cust-summary {
    background-color: #98FB98;
}

.cust-summary:hover {
    background-color: #FFF8AF !important;
    cursor: pointer;
}

.px-info {
    background-color: #00BFFF;
}

#id_px_list {
    padding-top:20px;
}

.current-cust {
    font-weight:bold;
}

.sale-item span {
    display: inline-block;
}

.sale-item-term {
    width: 5em;
}

.sale-item-price {
    text-align: right;
    width: 4em;
}

.sale-item-qty {
    text-align: right;
    width: 1em;
}

.sale-item-subtotal {
    text-align: right;
    width: 4em;
}

.sale-item-productKey {
    width: 10em;
}

.query-info {
    color: blue;
}

.window-overlay {
    background-color: rgba(0,0,0,0.6);
    height: 100%;
    width: 100%;
    position: fixed;
    left: 0;
    top: 0;
    overflow-x: hidden;
    overflow-y: auto;
    z-index: 20;
}

.window {
    background-color: white;
    width: 800px;
    padding: 24px;
    top: 115px;
    left: 50%;
    margin-left: -424px;
    position: absolute;
    z-index: 30;
}

.login-text:hover {
    color: #00ffff;
    text-decoration: underline;
}

#id_order_title {
}

.list {
    background: #dbdbdb;
    border-radius: 3px;
    float: left;
    margin: 5px;
    padding: 3px 7px;
    width: 250px;
}

.list-header {
    margin-bottom: 5px;
}

.list-entry {
    background: #fff;
    border-radius: 3px;
    border-bottom: 1px solid #bdbdbd;
    cursor: pointer;
    margin-bottom: 5px;
    min-height: 20px;
    position: relative;
    z-index: 0;
}
.list-entry:hover {
    background: #f2f2f2;
    border-bottom-color: #b3b3b3;
}

.list-entry-text {
    padding: 6px 8px 4px;
    position: relative;
    z-index: 10;
}

.delete-list-item {
    display: none;
    padding: 5px;
    border-top-left-radius: 0;
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
    border-bottom-left-radius: 0;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 40;
    background: gray;
    color: white;
}

.delete-list-item:hover {
    background: red;
}

#id_message {
    text-align: center;
    position: fixed;
    cursor: pointer;
    /* float: right; */
    /* padding: 5px 0px; */
    top: 0px;
    width: 100%;
    margin-left: -8px;
    z-index: 100;
    background-color: white;
}

.info {
    background: #adadad;
}
.error {
    background: red;
}
.warning {
    background: #f0c36d;
}

.message {
    padding: 5px 0px;
    margin: 5px 0px;
}

.value {
    background: #dbdbdb;
    border-radius: 3px;
    padding: 0px 3px;
}

.login-content {
    line-height: 2.5;
}

.column-head {
    padding-left: 4px;
}
.row-head {
    padding-right: 4px;
    padding-left: 4px;
}
.submit-button {
    margin-top: 20px;
}

.need-correct.ng-invalid {
    background-color: #F08080;
}

.ng-hide {
    display: none;
}

.inline {
    display: inline;
}

.info-block {
    width:700px;
    border:1px solid;
    border-radius:5px;
    margin:10px;
    padding:10px;
}

.block-title {
    font-weight:bold;
}

/* 商品資料 */
#id_order_title {
    text-align:center;
}

.sale-input {
    font-size: 0.8em;
}

.sale-table {
    width:100%;
    border-collapse: collapse;
}

.sale-table th {
    border-bottom: 1px solid black;
}

.sale-table td {
    overflow:hidden;
    /* white-space: nowrap; 不換行*/
    /* border:1px solid; 對齊用*/
}
.sale-table th:nth-child(1) { width:20%; }
.sale-table th:nth-child(2) { width:55%; }
.sale-table th:nth-child(3) { width:5%; }
.sale-table th:nth-child(4) { width:10%; }
.sale-table th:nth-child(5) { width:10%; }

.sale-table td:nth-child(1) { width:20%; }
.sale-table td:nth-child(2) { width:55%; padding-left:10px; }
.sale-table td:nth-child(3) { width:5%; text-align:right; }
.sale-table td:nth-child(4) { width:10%; text-align:right; }
.sale-table td:nth-child(5) { width:10%; text-align:right; }

.sale-table tr:nth-child(even) { background-color:#EAF2D3 /*#FFF8AF*/; }

.sale-table tr:hover { background-color:#FFF8AF; cursor:pointer; }

.sale-table tr:nth-child(1):hover { background-color:#FFFFFF; cursor:auto; }

.sale-table .editing-item { background-color:orange; }

.save-order-div {
    float: right;
}
.save-order-button {
    width: 50px;
    height: 300px;
    font-size: 18px;
    display: block;
}

.payment-cal-table {
    display: inline-table;
    padding-left: 40px;
}

.payment-cal-table td:nth-child(1) { width:70px; text-align:right; }
.payment-cal-table td:nth-child(2) { width:10px; }
.payment-cal-table td:nth-child(3) { width:70px; text-align:right; }
.payment-cal-table td:nth-child(4) { width:10px; }
.payment-cal-table td:nth-child(5) { width:70px; text-align:right; }
.payment-cal-table td:nth-child(6) { width:50px; text-align:right; }
.payment-cal-table td:nth-child(7) { width:70px; text-align:right; }
.payment-cal-table td:nth-child(8) { width:70px; text-align:right; }
.payment-cal-table td:nth-child(9) { width:70px; text-align:right; }

.payment-cal-table input {
    width: 90%;
    text-align: right;
}
.payment-cal-table button {
    width: 100%;
}

.hch-selected {
    color:blue;
    background-color:white;
    border: 1px solid gray;
    border-radius:3px;
}

.staff-selector {
    width: 100px;
}

.clickable:hover { background-color:#FFF8AF; cursor:pointer; }
