/* $Id: lorica.css 3363 2020-07-28 00:59:02Z wongsa $ */

/* web ordering styles ------------------------------- */

/* orders -------------------------------------------- */

.denom_th {
    min-width: 100px;
}

input.denom_amount, input.denom_units, input.rule_amount {
    text-align: right;
}

tr.expired_order {
}
tr.expired_order td {
}

tr.expired_standing_order {
    background: #d7d7d7;
}
tr.expired_standing_order td {
    background: #d7d7d7;
}

tr.exported_order {
    background: #d7d7d7;
}
tr.exported_order td {
    background: #d7d7d7;
}
tr.weird_order_batch {
    background: pink;
}

tr.cancelled_order, tr.cancelled_order td {
    text-decoration: line-through;
    background: #d7d7d7;
    color: #5e5e5e;
}

tr.unapproved_order, tr.unapproved_order td {
    background: pink;
}

/* rule editor --------------------------------------- */

.rules_none {
    background: none;
}
.rules_some {
    background-color: lightgreen !important;
}
.rules_sub {
    background-color: limegreen !important;
}
.indented {
    padding-left: 65px;
}
table.table tbody tr.rule_edit_set {
    background-color: lightgreen !important;
}
table.table tbody tr.rule_edit_inherited {
    background-color: lightgrey !important;
}
table.table tbody tr.rule_edit_inherited_changed {
    background-color: lightgrey !important;
}
table.table tbody tr.rule_edit_blocked {
    background-color: pink !important;
}
table.table tbody tr.rule_edit_error {
    background-color: red !important;
}

h3.section_header {
    background: #004026;
    color: white;
    text-align: center;
}
h3.rule_header {
    background: #004026;
    color: white;
    text-align: center;
}

input.rulebroken {
    border: 1px solid red !important;
}
input.ruleinvalid {
    border: 1px solid red !important;
}

.denoms_table_header {
    text-align: left !important;
    width: 11em;
}

.denoms_table_column th {
    width: 4em;
}

/* armvault ------------------------------------------ */

td.td_vault_pos_col_1 {
    width: 160px;
    white-space: nowrap;
}
td.td_vault_pos_col_2 {
    width: 80px;
}
td.td_vault_pos_col_2 small {
    font-size: 7pt;
}
fieldset {
    border: 2px groove #ccc;
}

tr.av_cancelled, tr.av_cancelled td {
    text-decoration: line-through;
    background: #d7d7d7;
    color: #666;
}

tr.av_uneditable, tr.av_uneditable td {
    background: #d7d7d7;
}

span.orange {
    color: orange;
}

*.unselectable {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* scheduler ----------------------------------------- */

div.slick-cell.day { text-align: center; }
div.slick-cell.weekend { background: #ffdddd; }


.printonly {
    display: none;
}

/* new denom tables layout --------------------------- */

div.cash_order_money_type {
    float: left;
    max-width: 500;
    margin: 1em;
}

/* calendar */

table.calendar > tbody > tr > td {
    width: 100px;
    height: 60px;
    vertical-align: top;
    background: white;
}

span.right {
    float: right;
}

table.calendar > tbody > tr > td.old, table.calendar > tbody > tr > td.weekend {
    background: lightgrey;
}

.calendar__cell_weekend, .calendar__cell_holiday {
    background: lightgrey !important;
}

.calendar__datenumber_today {
    border-radius: 50%;
    -webkit-border-radius: 50%;
    width: 20px;
    background-color: #1a73e8;
    color: #fff;
    padding: 1px;
}

.calendar__legend_icon {
    vertical-align: middle;
    margin-left: 2em;
}

.branch_order_tab {
    height: 23em;
}
.branch_order_tab fieldset {
    height: 21em;
    margin: 0 0.25em;
}
.branch_order_tab td {
    vertical-align: top;
}
.branch_order_denoms_table td {
    vertical-align: middle;
}
.branch_order_denoms_table {
    margin: 0 0.25em;
}

img.signature {
    max-width: 16em;
    max-height: 8em;
}
img.signature.boxed {
    border: 1px solid #ccc;
}

/* Hide HTML5 Up and Down arrows. Not sure if clients would want them or not... */
/*
input[type="number"]::-webkit-outer-spin-button, input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
input[type="number"] {
    -moz-appearance: textfield;
}
*/
.message p.error_auth {
    font-weight: bold;
    white-space: pre;
    color: black;
}

td>a.datepick-allowed {
    background-color: palegreen;
    cursor: pointer;
    display: block;
}

td>a.datepick-disallowed {
    background-color: #f08080 !important;
}

.datepick-holiday {
    background-color: #f08080 !important;
}

td> .datepick-highlight {
    font-style: bold;
    color: black !important;
    background-color: green !important;
}

/* .datepick-allowed.datepick-highlight {
    background-color: palegreen !important;
}
*/