﻿@page { margin: 0 }
body { margin: 0 }
.sheet {
    margin: 0;
    overflow: hidden;
    position: relative;
    box-sizing: border-box;
}

.form-value{
    display: block;
    /*border: none !important;*/
    height: unset;
    background-color:  #f9f9f9  ;
}

input[type*="checkbox"].form-control
{
    width: unset !important;
    margin-left: 20px;
    transform : scale(1.5);
    height: unset !important;
}
/** Paper sizes **/
body.A3               .sheet { width: 297mm; }
body.A3.landscape     .sheet { width: 420mm; }
body.A4               .sheet { width: 210mm; }
body.A4.landscape     .sheet { width: 297mm; }
body.A5               .sheet { width: 148mm; }
body.A5.landscape     .sheet { width: 210mm; }
body.letter           .sheet { width: 216mm; padding: 5mm; }
body.letter.landscape .sheet { width: 280mm; }
body.legal            .sheet { width: 216mm; }
body.legal.landscape  .sheet { width: 357mm; }
body.sticker4in       .sheet { width:25mm; }

/** For screen preview **/

/** Fix for Chrome issue #273306 **/
@media print {
    body{
        padding: 5mm;
    }
    body.A3.landscape { width: 420mm }
    body.A3, body.A4.landscape { width: 297mm }
    body.A4, body.A5.landscape { width: 210mm }
    body.A5                    { width: 148mm }
    body.letter, body.legal    { width: 216mm; padding: 5mm; }
    body.letter.landscape      { width: 280mm }
    body.legal.landscape       { width: 357mm }
    body.sticker4in            { width: 25mm }
}
.page-header {
    padding-top: 10px;
}

.onscreenKeyboard {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    background: #eee;
    font-size: 24px;
    line-height: 24px;
    color: #333;
    padding-bottom: 10px;
    -webkit-user-select: none;
}

.onscreenKeyboard.caps {
    text-transform: uppercase;
}

.keyRow {
    display: table;
    width: 100%;
    margin-bottom: -10px;
    border-spacing: 10px;
}

.keyRow div {
    display: table-cell;
    text-align: center;
    width: 30px;
    background: #fff;
    padding: 25px 0;
    cursor: pointer;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    border-bottom: 1px solid #ddd;
    -webkit-transition: 0.1s;
    -moz-transition: 0.1s;
    transition: 0.1s;
}

.keyRow div:hover {
    -webkit-box-shadow: 0px 2px 15px 0px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0px 2px 15px 0px rgba(0, 0, 0, 0.1);
    box-shadow: 0px 2px 15px 0px rgba(0, 0, 0, 0.1);
}

.keyRow div:active {
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    background: #bbb;
    border-color: #bbb;
}

.keyRow .space-key {
    width: 60%;
    margin: 0 auto;
    display: block;
}

.keyRow .shift-key,
.keyRow .space-key,
.keyRow .delete-key {
    text-transform: none;
}

.onscreenKeyboard.caps .keyRow .shift-key {
    background: #1572e0;
    color: #fff;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    /* display: none; <- Crashes Chrome on hover */
    -webkit-appearance: none;
    margin: 0; /* <-- Apparently some margin are still there even though it's hidden */
}

input[type='number'] {
    -moz-appearance: textfield;
}

.page-header-title {
    padding-bottom: 5px;
}

.modal-footer,
.modal-body {
    padding: .5em;
}

.modal-dialog-full {
    max-width: 85%;
    max-height: 90%;
}

.navbar {
    padding-left: 8px;
    padding-top: 4px;
}

.view-excess-inventory {
    color: blueviolet !important;
    cursor: pointer;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

.wrapword {
    white-space: -moz-pre-wrap !important; /* Mozilla, since 1999 */
    white-space: -webkit-pre-wrap; /*Chrome & Safari */
    white-space: -pre-wrap; /* Opera 4-6 */
    white-space: -o-pre-wrap; /* Opera 7 */
    white-space: pre-wrap; /* css-3 */
    word-wrap: break-word; /* Internet Explorer 5.5+ */
    word-break: break-all;
    white-space: normal;
}

/* Override the default bootstrap behavior where horizontal description lists
   will truncate terms that are too long to fit in the left column
*/
.dl-horizontal dt {
    white-space: normal;
}

table.dataTable thead th,
table.dataTable thead td {
    padding: 2px 2px 2px 2px !important;
}

html,
body {
    margin: 0;
    padding: 0;
    height: 100%;
}

.content-body {
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 27px;
    display: flex;
    flex-flow: column;
}

.container-full {
    min-height: 100%;
    position: relative;
    display: flex;
    flex-flow: column;
    height: 100%;
}

.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 27px;
    z-index: 10000;
    background: #f7f7f7;
    bottom: 0;
    left: 0;
    border-top: 1px solid;
}

.footer-content {
    padding-left: 10px;
    padding-right: 10px;
    text-align: right;
}

/* Custom navbar */
.navbar-nav > .active > a {
    opacity: .6;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 280px;
}

.whereclause {
    max-width: 600px !important;
    min-width: 500px;
}

.capacities .summary .detail {
    width: 100%;
    Height: 100%;
    position: relative;
    min-height: 250px;
}

.fa-loading-bg, .fa-loading-icon-wrapper {
    position: absolute;
    left: 0;
    width: 100%;
    height: 100%;
}

.fa-loading-bg {
    top: 0;
    background: rgba(0, 0, 0, .6);
    z-index: 99999;
}

.fa-loading-icon-wrapper {
    z-index: 999999;
    top: 50%;
    text-align: center;
}

.fa-loading-icon {
    margin-top: -2.5em;
    font-size: 5em;
    color: #000;
}

#deleteDialog {
    display: none;
}

.ui-button.ui-corner-all.ui-widget {
    padding: 7px 8px 7px 8px;
}

.logs-container-search,
.scheduling-details-container-search,
.order-line-component-header {
    padding-bottom: 10px;
}

.logs-container-search-input {
    width: 100% !important;
}

.scheduling-details .search-box {
    float: left;
}

.page-portlet-fullscreen {
    overflow: hidden;
}

.divWaiting {
    background-image: url("themes/base/images/waiting.gif");
    width: 24px;
    height: 24px;
}

.divWaiting.done {
    background-image: url("themes/base/images/checkmark-24.png");
}

.summary-search {
    float: left;
}

.parent-row {
    background-color: lightblue;
}

.orderline-row {
    background-color: aliceblue;
}

.edit-button {
    color: #555555;
}

.capacities-list .day-column {
    width: 7%;
}

.capacities-list .department-column {
    width: 15%;
}

.capacities-list .action-bar {
    width: 40%;
}

.exception-text {
    white-space: pre-wrap;
    font-size: small;
}

.error-text {
    color: red;
}

.livelogtable .isError {
    background-color: rgba(255, 0, 0, 0.4) !important;
}

.saw-fab-center-result {
    white-space: pre-wrap;
}

.saw-list{
    width: 600px !important;
}

#backToTopButton {
    display: inline-block;
    background-color: lightblue;
    width: 35px;
    height: 35px;
    text-align: center;
    border-radius: 4px;
    position: fixed;
    bottom: 45px;
    right: 30px;
    transition: background-color .3s, opacity .5s, visibility .5s;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
}

#backToTopButton::after {
    content: "\f077";
    font-family: FontAwesome;
    font-weight: normal;
    font-style: normal;
    font-size: 2em;
    line-height: 35px;
    color: #fff;
}

#backToTopButton:hover {
    cursor: pointer;
    background-color: #333;
}

#backToTopButton:active {
    background-color: #555;
}

#backToTopButton.show {
    opacity: 1;
    visibility: visible;
}


/*Settings*/
.form-control-setting {
    max-width: 75%;
}

.pagebreak {
    page-break-before: always;
}

.btn {
    border: 1px solid #ced4da
}

.input-group {
    padding-right: 8px;
}

.dropdown-toggle[data-dropdown~="dropdown"] {
    margin-left: -20px;
    z-index: 100;
    padding-top: 3px;
}

.comments {
    padding-top: 10px;
}

.comments .comment-message {
    margin-top: 5px;
    min-height: 40px;
}

.comments .comment-message p {
    margin-bottom: 0 !important;
}

.comments .comment-row {
    margin-top: 5px;
    border: 1px solid #dddddd;
}

.comments .comment-date {
    font-size: 13px;
    color: #9c9898;
    padding-right: 10px;
    padding-top: 5px;
    padding-bottom: 5px;
    text-align: right
}

.comments .delete-comment {
    margin-left: 5px;
}

.comments .user {
    margin-top: 5px;
    font-weight: bold;
    font-size: 0.9em;
}

.comments .comment-new {
    border: 1px solid #dddddd;
    margin-top: 5px;
}

.comments .comment-new textarea {
    width: 100%;
    max-width: 100%;
}

.comments .comment-post-button {
    margin-top: 5px;
    margin-bottom: 5px;
}


.uploadPhotoModal {
}

.uploadPhotoModal .camera-stream,
.uploadPhotoModal .snapshot-image {
    width: 100%;
    height: 100%;
}


.images {
    padding-top: 10px;
}

.images .image-message {
    margin-top: 5px;
    min-height: 40px;
}

.images .image-message p {
    margin-bottom: 0 !important;
}

.images .image-row {
    margin-top: 5px;
    border: 1px solid #dddddd;
}

.images .image-date {
    font-size: 13px;
    color: #9c9898;
    padding-right: 10px;
    padding-top: 5px;
    padding-bottom: 5px;
    text-align: right
}

.images .delete-image {
    margin-left: 5px;
}

.images .user {
    margin-top: 5px;
    font-weight: bold;
    font-size: 0.9em;
}

.images .image-new {
    border: 1px solid #dddddd;
    margin-top: 5px;
}

.images .image-new textarea {
    width: 100%;
    max-width: 100%;
}

.images .image-post-button {
    margin-top: 5px;
    margin-bottom: 5px;
}


