/*



*/
body {
    margin: 0;
    padding: 0;
    font-family: helvetica, verdana, sans-serif;
    /* background: #fff url(/assets/page-bg-2817f935e52353019c2efa4411194cace54af59096f62d4b1785efae190526f7.gif) repeat-y top center; */
}

#wrapper {
    margin: auto;
    min-width: 800px;
}

#header {
    position: relative;
    height: 110px;
    background: url(/assets/head-edb53906de9650d97ef2393905f59e668220ea5bc77ed01aca11639995cd4613.jpg) no-repeat;
}

#header img {
    border: 0;
    position: absolute;
    right: 20px;
    bottom: 12px;
}

#logout {
    position: absolute;
    right: 24px;
    top: 4px;
}

#logout a:link,
#logout a:visited {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
}

#navigation {
    background-color: #000;
    position: relative;
}

#navigation ul,
#navigation li {
    margin: 0;
    padding: 0;
    list-style: none;
}

#navigation ul {
    padding: 4px 0;
}

#navigation li {
    display: inline;
    font-size: 14px;
    font-weight: bold;
    transition: box-shadow 0.225s;
}

#navigation li a:link,
#navigation li a:visited {
    padding: 2px 24px;
    color: #fff;
    text-decoration: none;
}

#navigation li a:hover {
    text-decoration: underline
}

#navigation li:hover {
    /* background-color: white; */
    box-shadow: 0 17px 8px -4px rgba(192, 128, 32, 0.5);
}

#current-user {
    text-align: right;
    padding-right: 24px;
    padding-top: 4px;
    font-size: 12px;
    margin-top: 6px;
    font-weight: bold;
}

#main {
    padding: 30px 60px;
}

h1 {
    font-size: 18px;
}

h2 {
    font-size: 16px;
}

label {
    font-size: 14px;
}

p, p label {
    font-size: 14px;
}

#main li {
    font-size: 14px;
}

.printonly {
    display: none;
}

dt, dd {
    margin: 0;
    padding: 0;
}

dd {
    padding-bottom: 16px;
    font-size: 14px;
}

div.barcodes {
    display: flex;
    justify-content: space-between;
    max-width: 1000px;
    min-width: 800px;
    margin: auto;
}

div.barcodes .barcode {
    text-align: center;
    font-size: 12px;
    letter-spacing: 0.3em;
}

div#order-status-pane {
    display: flex;
}

div#order-status-pane > div {
    flex: 0 0 50%;
}

div#search-form th {
    font-weight: normal;
    text-align: left;
}

div#search-form td,
div#search-form th {
    padding: 2px 40px 2px 12px;
}

div#search-form table {
    border-collapse: collapse;
    background-color: #EEF;
    border: 1px solid #3D79AB;
    margin-bottom: 20px;
}

div#search-form td.go {
    padding-top: 12px;
}

div.notice {
    width: 300px;
    border: 1px solid #CCDDCC;
    background-color: #EEFFEE;
    padding: 4px 12px;
}

#product-details td {
    padding: 8px 8px;
    background-color: #EEF;
}

#product-details td:last-child {
    width: 200px;
}

#product-details label {
    display: block;
    margin-left: 26px;
}

#product-details input {
    float: left;
}

#product-details div.complex-option {
    position: relative;
}

#product-details input#order_uv_wenlin_value,
#product-details input#order_die_cut_value,
#product-details input#order_varnish_wenlin_value,
#product-details input#order_foil_stamp_value,
#product-details select#order_gold_stamp_value,
#product-details select#order_pp_laminate_value,
#product-details select#order_spot_uv_value,
#product-details select#order_sticker_value,
#product-details input#order_other_process_value {
    float: none;
    width: 60px;
    position: absolute;
    top: -2px;
    right: 20px;
}

#login-form {
    width: 300px;
    margin: 60px auto;
}

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

table.entity-list th {
    background-color: #3D79AB;
    color: #fff;
    padding: 3px;
    font-weight: normal;
    border: 1px solid #333;
    font-size: 14px;
}

table.entity-list td {
    padding: 3px 8px;
    border: 1px solid #999;
    font-size: 14px;
}

table.entity-list tr:hover {
    background-color: #D5E3F0;
}

table.entity-list td a:link,
table.entity-list td a:visited {
    color: #00C;
    text-decoration: none;
}

table.entity-list td a:hover {
    text-decoration: underline;
}

table.entity-list form {
    margin: 0;
    padding: 0;
}

table.entity-list tr.order-status-hold {
    background-color: #edd;
}

table.entity-list tr.order-status-hold td {
    color: #999;
}

table.entity-list tr.order-status-hold td a:link,
table.entity-list tr.order-status-hold td a:visited {
    color: #66C;
}

table.specs {
    border-collapse: collapse;
    width: 360px;
}

table.specs th {
    padding: 3px 8px;
    font-weight: normal;
    border: 1px solid #D1DEEE;
    text-align: left;
    font-size: 14px;
}

table.specs th label {
    font-weight: normal;
}

table.specs td {
    padding: 3px 8px;
    border: 1px solid #D1DEEE;
    font-size: 14px;
}

table.specs p {
    padding-top: 0;
    margin-top: 0;
}

table.specs span.quantity {
    font-size: 16px;
    font-weight: bold;
}

/* job order */

/* ul.production-details, ul.production-details li {margin: 0; padding: 0; list-style: none;}
ul.production-details li {display: inline; padding: 0 12px;} */
div.joborder {
    max-width: 1000px;
    min-width: 800px;
    margin: auto;
}

div.joborder label {
    font-weight: bold;
}

/* div.joborder form {border: 1px solid #ccc; margin-left: -20px; padding-left: 20px;} */
div.joborder form {
    border-top: 1px solid #D1DEEE;
    border-bottom: 1px solid #D1DEEE;
}

div.joborder form label {
    display: block;
    width: 140px;
    float: left;
    padding-top: 4px;
}

div.joborder form p.emergency-comment label {
    float: none;
    width: 100%;
}

div.joborder form p.emergency-comment textarea {
    font-size: 16px;
    width: 80%;

}

div.joborder form input {
    font-size: 14px;
}

div#remarks {
    clear: both;
    padding-top: 20px;
}

div#remarks table.entity-list td {
    vertical-align: top;
}

div#remarks p {
    padding-top: 0;
    margin-top: 0;
}

div#status-history {
    clear: both;
    padding-top: 20px;
}

div.hover-remark-wrapper {
    position: relative;
}

div.hover-remark {
    position: absolute;
    width: 240px;
    background-color: #EFE7BF;
    border: 1px solid #666;
    padding: 0 12px 12px 12px;
}

div.hover-remark p {
    color: #000;
}

div.backlink {
    float: right;
}

.backlink {
    font-size: 14px;
}

p.backlink {
    clear: both;
}

.backlink a:link,
.backlink a:visited {
    color: blue;
    font-weight: bold;
}

/* end job order */
/* department navigation */
div.department-nav {
    padding: 12px 0;
}

div.department-nav div.next {
    float: right;
}

div.department-nav {
    color: #ccc;
    font-size: 14px;
}

div.department-nav a:link,
div.department-nav a:visited {
    font-weight: bold;
    color: blue;
    text-decoration: none;
}

div.department-nav a:hover {
    text-decoration: underline;
}

/* file thumbnail area in order preview and show pages */
div#uploaded-file {
    float: right;
    width: 340px;
    height: 240px;
    border: 1px solid #D1DEEE;
    text-align: center;
    padding-top: 20px;
    margin-left: 20px;
}

div#uploaded-file img {
    border: 1px solid #666;
}

div#preview-buttons {
    width: 260px;
    text-align: center;
    margin-top: 20px;
}

div#preview-buttons form,
div#preview-buttons div {
    display: inline;
}

div#preview-buttons div {
    padding: 020px;
}

div#preview-buttons input {
    width: 80px;
}

.pagination {
    text-align: center;
    padding: 3px;
    margin: 30px 3px;
}

.pagination a {
    padding: 4px 5px 2px 5px;
    margin: 2px;
    border: 1px solid #D5E3F0;
    text-decoration: none;
    color: #3D79AB;
}

.pagination a:hover,
.pagination a:active {
    border: 1px solid #3D79AB;
    color: #000;
}

.pagination span.current {
    padding: 4px 5px 2px 5px;
    margin: 2px;
    border: 1px solid #3D79AB;
    font-weight: bold;
    background-color: #3D79AB;
    color: #FFF;
}

.pagination span.disabled {
    padding: 4px 5px 2px 5px;
    margin: 2px;
    border: 1px solid #eee;
    color: #ddd;
}

table.supplier_order {
    font-size: 14px;
}

table.supplier_order p,
table.supplier_order label {
    font-size: 14px;
}

p.button input {
    cursor: pointer;
    font-size: 14px;
    padding: 6px 20px;
    margin: 5px;
    border: none;
    background: #9f9;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    border-radius: 15px;
    font-weight: bold;
    color: #fff;
    background: #ffffff; /* for non-css3 browsers */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#6fb6f5', endColorstr='#25619e'); /* for IE */
    background: -webkit-gradient(linear, left top, left bottom, from(#6fb6f5), to(#25619e)); /* for webkit browsers */
    background: -moz-linear-gradient(top, #6fb6f5, #25619e); /* for firefox 3.6+ */
}

p.button input#save_and_finalize {
    background: #ffffff; /* for non-css3 browsers */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#dddddd'); /* for IE */
    background: -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#dddddd)); /* for webkit browsers */
    background: -moz-linear-gradient(top, #ffffff, #dddddd); /* for firefox 3.6+ */
    border: 1px solid #ccc;
    color: #c62606;
}
