﻿body {
    background-color: #ffffff;
}

.tdHeader {
    height: 45px;
    background-image: url(imagesnew/logo.jpg);
    background-position: left center;
    background-repeat: no-repeat;
    padding-left: 70px;
    color: white;
    zfont-weight: bold;
    font-size: 20px;
    border-bottom: solid 2px #FEBF01;
}

.menu {
    background-image: url(images/border_left.jpg);
    background-repeat: repeat-y;
    border-right: solid 1px #f3c000;
    width: 170px;
    vertical-align: top;
    text-align: left;
    zborder-top: solid 2px #f3c000;
    padding-top: 5px;
}

.tdContent {
    background-color: White;
    vertical-align: top;
    text-align: left;
}

.tdRightSummary {
    vertical-align: top;
    color: White;
    width: 150px;
    padding: 5px;
    font-size: 12px;
    display: none;
}

.tdRightborder {
    vertical-align: top;
    text-align: left;
    background-image: url(images/zborder_right.jpg);
    width: 31px;
    display: none;
}

.tdFooter_left {
    width: 571px;
    height: 96px;
    background-image: url(imagesnew/footer_left.jpg);
    background-repeat: no-repeat;
    border: solid 0px yellow;
}

.tdFooter_rep {
    background-image: url(imagesnew/footer_rep.jpg);
}

.tdFooter_right {
    width: 294px;
    height: 96px;
    background-image: url(imagesnew/footer_right.jpg);
    background-repeat: no-repeat;
    border: solid 0px green;
}

.tdTable {
    border-bottom: solid 2px #f3c000;
}

.btnGood {
    color: Green;
}

.btnBad {
    color: Red;
}

div.queue table {
    /*width: 780px;*/
    border-collapse: collapse;
    /*border: 2px gray solid;*/
    /*background-color: #EEEEEE;*/
}

/* Inner table.list inside a .queue plant cell must fit the cell's
   content box. tablelayout.css sets table.list { margin: 10px }, but
   combined with width:100% that overflows the parent TD (right edge
   extends past the black border). Reset the margin in this context. */
div.queue td table.list {
    margin: 0;
}

div.queue table.ready {
    border: 2px green solid;
}

div.queue table.not_ready {
    border: 2px red solid;
}

div.queue td {
    padding: 5px;
    border: 1px solid black;
    vertical-align: top;
}

div.dispatch table {
    width: 920px;
    border-collapse: collapse;
    /*border: 2px gray solid;*/
    /*background-color: #EEEEEE;*/
}

div.dispatch table.ready {
    border: 2px green solid;
}

div.dispatch table.not_ready {
    border: 2px red solid;
}

div.dispatch td {
    padding: 5px;
    border: 1px solid black;
    vertical-align: top;
}

div#quick_queue_new td{
    vertical-align: middle;
}

div.queue .disabled {
    color: Silver;
}

div.queue td.subbatches {
    padding: 0;
    width: 290px;
}

    div.queue td.subbatches div.subbatches {
        padding: 5px;
    }

    div.queue td.subbatches table.subbatches {
        width: auto;
        border-collapse: collapse;
        border: none;
    }

        div.queue td.subbatches table.subbatches td {
            white-space: nowrap;
            border: none;
            padding: 1px;
            padding-right: 3px;
        }

            div.queue td.subbatches table.subbatches td a {
                color: black;
                text-decoration: none;
            }

                div.queue td.subbatches table.subbatches td a:hover {
                    color: Blue;
                    text-decoration: underline;
                }

            .in_production,
            div.queue td.subbatches table.subbatches td span.in_production a {
                color: Blue;
                font-weight: bold;
            }

            .next_production,
            div.queue td.subbatches table.subbatches td span.next_production a {
                color: Green;
                font-weight: bold;
            }

div.queue td.buttons {
    text-align: center;
    vertical-align: middle;
}

div.queue td.stock ul {
    margin: 5px;
    padding: 0;
    padding-left: 20px;
    line-height: 150%;
    font-size: 11px;
}

div.queue td.stock li {
    color: Red;
}

div.queue td.states {
    line-height: 150%;
    color: #785C02;
    font-size: 11px;
}

.pnlConfirm {
    padding: 0 10px;
}

table.materials {
    border-collapse: collapse;
    margin: 0px;
    border: none;
}

    table.materials .thead td {
        border-bottom: 2px thin black;
    }


    table.materials td {
        padding: 0px;
        border: none;
    }

table.batches {
    width: 1300px;
    font-weight: bold;
    background-color: #f7ce4a;
}

table.batches-scheduled-complete {
    width: 1300px;
    font-weight: bold;
    background-color: #beffad;
}

table.batches-scheduled {
    width: 1300px;
    font-weight: bold;
    background-color: #b3e0ff;
}

table.batches-not-scheduled {
    width: 1300px;
    font-weight: bold;
    background-color: #EEEEEE;
}

td.col1 {
    width: 20px;
    text-align: center;
    vertical-align: middle;
}

td.col3 {
    width: 30px;
    text-align: center;
    vertical-align: middle;
}

td.col2 {
    /*width: 200px;*/
}

td.col4, td.col5, td.col6, td.col7 {
    width: 50px;
    text-align: center;
    vertical-align: middle;
}

td.col8, td.col9, td.col10 {
    width: 50px;
    text-align: center;
    vertical-align: middle;
}

td.col11, td.col12, td.col13, td.col14, td.col15, td.col16 {
    width: 50px;
    text-align: center;
    vertical-align: middle;
}

td.col17, td.col18 {
    width: 60px;
    text-align: center;
    vertical-align: middle;
}

/* Outer */
.popup {
    width: 100%;
    height: 100%;
    display: none;
    position: fixed;
    top: 0px;
    left: 0px;
    background: rgba(0,0,0,0.75);
}

/* ==========================================================================
   Stock Staging V2.1 - badges, breakdown panel, refresh label
   ========================================================================== */

a.staging-toggle {
    color: #555;
    text-decoration: none;
    font-family: monospace;
    font-weight: bold;
    margin-right: 4px;
}

a.staging-toggle:hover {
    color: #000;
    text-decoration: none;
}

td.staging-breakdown {
    background: #f8f8f8 !important;
}

.staging-breakdown-inner {
    padding: 8px 12px;
}

div.staging-subbatch {
    margin-bottom: 8px;
}

div.staging-subbatch-head {
    font-weight: bold;
    background: #e0e0e0;
    padding: 3px 6px;
}

table.staging-mat-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 11px;
}

table.staging-mat-table th,
table.staging-mat-table td {
    padding: 3px 6px;
    border: 1px solid #ccc;
    vertical-align: middle;
}

table.staging-mat-table th {
    background: #f0f0f0;
    font-weight: bold;
}

table.staging-mat-table tr:nth-child(even) td {
    background: #fafafa;
}

#btnRefreshStatus {
    padding: 2px 10px;
}

.last-refresh {
    color: #555;
    font-size: 11px;
    margin-left: 6px;
}

.last-refresh.stale       { color: #b06c00; font-weight: bold; }
.last-refresh.very-stale  { color: #b00020; font-weight: bold; }

a.staging-cancel-request {
    color: #b06c00;
    text-decoration: underline;
    font-size: 11px;
    margin-left: 4px;
}
a.staging-cancel-request:hover { color: #804b00; }

a.staging-cancel-approve {
    color: #b00020;
    text-decoration: underline;
    font-weight: bold;
    font-size: 11px;
    margin-left: 4px;
}
a.staging-cancel-approve:hover { color: #800010; }

span.staging-cancel-pending {
    color: #777;
    font-style: italic;
    font-size: 11px;
    margin-left: 4px;
}

.staging-view-controls {
    display: inline-block;
    font-size: 12px;
}
.staging-view-controls input[type="button"] {
    padding: 1px 8px;
    margin-right: 4px;
}
.staging-view-controls label {
    margin-left: 8px;
    color: #555;
    cursor: help;
}

.subbatch-count {
    font-size: 11px;
    font-weight: normal;
    margin-left: 6px;
}
.subbatch-show-all {
    cursor: pointer;
}

/* Inner */
.popup-inner {
    max-width: 1000px;
    width: 90%;
    padding: 40px;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    box-shadow: 0px 2px 6px rgba(0,0,0,1);
    border-radius: 3px;
    background: #fff;
}

/* Close Button */
.popup-close {
    width: 30px;
    height: 30px;
    padding-top: 4px;
    display: inline-block;
    position: absolute;
    top: 0px;
    right: 0px;
    transition: ease 0.25s all;
    -webkit-transform: translate(50%, -50%);
    transform: translate(50%, -50%);
    border-radius: 1000px;
    background: rgba(0,0,0,0.8);
    font-family: Arial, Sans-Serif;
    font-size: 20px;
    text-align: center;
    line-height: 100%;
    color: #fff;
}

    .popup-close:hover {
        -webkit-transform: translate(50%, -50%) rotate(180deg);
        transform: translate(50%, -50%) rotate(180deg);
        background: rgba(0,0,0,1);
        text-decoration: none;
    }
