﻿/* Move down content because we have a fixed navbar that is 50px tall */
body {
    padding-top: 50px;
    padding-bottom: 20px;
}

/* Wrapping element */
/* Set some basic padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* 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;
}

/* Set widths on the form inputs since otherwise they're 100% wide */
input[type="text"],
input[type="password"],
input[type="email"],
input[type="tel"],
input[type="select"] {
    max-width: 280px;
}

.modal-content {
    min-width: 350px;
}


/* Responsive: Portrait tablets and up */
@media screen and (min-width: 768px) {
    .jumbotron {
        margin-top: 20px;
    }

    .body-content {
        padding: 0;
    }
}

p {
    white-space: pre-wrap;
}

.machineTable {
    border-collapse: collapse;
    border-spacing: 0;
    width: 100%;
    background-color: transparent;
    margin-top: 10px;
}

.panel-title {
    font: bold 16px Arial, sans-serif !important;
}

.machineTable .header {
    background-color: transparent;
    border: none;
}

    .machineTable .header td {
        background-color: #404c6c;
        color: #f4f6f7;
        padding: 10px;
        vertical-align: middle;
        text-shadow: 2px 2px 2px #1f1f1f;
        text-align: center;
        font: bold 16px Arial, sans-serif;
        border: none;
        width: auto;
    }

    .machineTable .header .min {
        width: 1%;
        white-space: nowrap;
    }

.machineTable tr td {
    background-color: #ddedf6;
    font-size: 14px;
}

.machineTable tr:nth-child(even) td {
    background-color: #e9f0f2;
}

.machineTable tr:first-child td:first-child {
    border-top-left-radius: 5px;
}

.machineTable tr:first-child td:last-child {
    border-top-right-radius: 5px;
}

.machineTable tr:last-child td:first-child {
    border-bottom-left-radius: 5px;
}

.machineTable tr:last-child td:last-child {
    border-bottom-right-radius: 5px;
}

.machineTable .body {
    color: #333;
    padding: 10px;
}

    .machineTable .body td {
        text-align: center;
        vertical-align: middle;
    }

    .machineTable .body .button {
        font: bold 8px;
    }

.calibrationTab {
    padding-top: 15px;
    margin-bottom: -10px;
    text-align: center;
}

    .calibrationTab .img {
        max-width: 100%;
    }

.memoryTab {
    padding-top: 15px;
    margin-bottom: -10px;
    text-align: center;
}

.printout {
    padding-top: 15px;
    margin-bottom: -10px;
    text-align: center;
}

    .printout .paper {
        display: inline-block;
        font-family: courier;
        font-size: 14px;
        text-align: left;
        vertical-align: top;
        position: center;
        margin: auto;
        width: auto;
        padding-left: 15px;
        padding-right: 15px;
        margin-top: 5px;
        margin-bottom: 10px;
        min-height: 200px;
        max-height: 400px;
        background-color: floralwhite;
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
        cursor: default;
        overflow-y: scroll;
    }

.printoutError {
    max-height: 400px;
    overflow: auto;
    margin-top: 15px;
    margin-bottom: -5px;
    text-align: center;
}

.errorLogClearPanel {
    padding-left: 60px;
    padding-right: 60px;
}

.printoutError .paper {
    display: inline-block;
    font-family: courier;
    font-size: 14px;
    text-align: left;
    vertical-align: top;
    position: center;
    margin: auto;
    padding-left: 30px;
    padding-right: 30px;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    cursor: default;
}

    .printoutError .paper pre:first-child {
        background-color: #f6ecd8;
        margin-top: 0;
        margin-bottom: 0;
        border-bottom: hidden;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
    }

    .printoutError .paper pre:last-child {
        background-color: floralwhite;
        margin-top: 0;
        margin-bottom: 10px;
        border-top: hidden;
        border-top-left-radius: 0;
        border-top-right-radius: 0;
        color: #5b5b5b;
    }

.glyphicon:before {
    margin-right: 10px !important;
}

.modal {
    overflow-y: auto !important;
}

body.modal-open {
    overflow: hidden !important;
    overflow-x: hidden !important;
    margin-right: 0 !important;
}

.controlRow option {
    text-align: center;
}

.controlRow span {
}

.controlRow div:first-child {
    padding-right: 0;
}

    .controlRow div:first-child .glyphicon:before {
        margin-right: 10px !important;
    }

.controlRow div:last-child {
    padding-left: 0;
    margin-bottom: 10px !important;
}

    .controlRow div:last-child .glyphicon:before {
        margin-left: 10px !important;
        margin-right: 0 !important;
    }


.form-inline > * {
    margin: 5px 10px 3px 10px !important;
}

.form-inline div {
    margin-right: 20px;
}

    .form-inline div label {
        margin-right: 5px;
    }

.navbar-left img {
    margin-top: 8px;
    margin-right: 25px;
}


.pagination .glyphicon:before {
    margin: 0 !important;
}

.statusWarning span:first-child {
    color: #854410;
    font-weight: bold;
    text-shadow: 1px 1px #a0a0a0;
    text-shadow: 1px 1px 5px #ff7300;
    padding: 3px 0px 3px 0px;
}

.statusError span:first-child {
    color: #8a0909;
    font-weight: bold;
    text-shadow: 1px 1px #a0a0a0;
    text-shadow: 1px 1px 5px red;
    padding: 3px 0px 3px 0px;
}

.statusRunning span:first-child {
    color: #2b3a85;
    font-weight: bold;
    text-shadow: 1px 1px 5px #18C5F5;
    padding: 3px 0px 3px 0px;
}

.statusComplete span:first-child {
    color: green;
    font-weight: bold;
    text-shadow: 1px 1px 5px #00EE15;
    padding: 3px 0px 3px 0px;
}

.statusIdle span:first-child {
    font-weight: bold;
    text-shadow: 1px 1px 1px #fff;
    padding: 3px 0px 3px 0px;
}

.statusOffline span {
    color: #a0a0a0;
}

    .statusOffline span:first-child {
        font-weight: bold;
        padding: 3px 0px 3px 0px;
    }


@media not all and (min-width: 1000px) {
    .showOnLargeScreen {
        display: none !important;
    }


    .machineTable tr td {
        font-size: 12px;
    }
}

@media not all and (min-width: 480px) {
    .machineTable .body td button b {
        display: none;
    }

    .machineTable .body td button .glyphicon:before {
        margin-left: 0 !important;
        margin-right: 1px !important;
    }

    .machineTable .body td button {
        padding: 5px !important;
    }

    .hideOnSmallScreen {
        display: none;
    }

    .nav li a {
        padding: 7px;
    }

    .machineTable .header td {
        font-size: 12px;
    }

    .machineTable tr td {
        font-size: 10px;
    }

    .printout .paper {
        font-size: 12px;
        padding-left: 12px;
        padding-right: 12px;
    }

    .printoutError .paper {
        padding-left: 0px;
        padding-right: 0px;
    }

        .printoutError .paper pre {
            font-size: 12px;
        }
}

.loader {
    margin: auto;
    margin-top: 100px;
    margin-bottom: 100px;
    padding: 0;
    width: 128px;
}

.loaderModal {
    margin: auto;
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 0;
    width: 128px;
}

.loaderAnimation {
    margin: 0;
    border: 16px solid #f3f3f3;
    border-radius: 50%;
    border-top: 16px solid #404c6c;
    width: 120px;
    height: 120px;
    -webkit-animation: spin 1s linear infinite;
    animation: spin 1s linear infinite;
}

.loaderText {
    text-align: center;
}


@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.combobox-input {
    width: calc(100% - 22px);
    margin-left: calc(-100% + 1px);
    margin-top: 1px;
    border: none;
    float: left;
    height: 32px;
}

.combobox-select {
    width: 100%;
    float: left;
    height: 34px;
}


/*PRINT TODO html * {
    height:0px!important;
    margin: 0px !important;
    padding: 0px !important;
    min-height: 0px !important;
    line-height: 0px !important;
    overflow: visible !important;
    visibility: hidden ;
}

.showWhenPrinting {
    border-width: 0;
    z-index: 100 !important;
    visibility: visible !important;
    position: relative !important;
    display: block !important;
    background-color: white !important;
    position: relative !important;
    line-height: 18px !important;
    padding: 0px;
    top: 0 !important;
    left: 0 !important;
    margin: 0 !important;
    orphans: 0!important;
    widows: 0!important;
    overflow: visible !important;
    page-break-after: always;
}

div#pagewidth {
    display: inline ;
}

@page {
    size: a4 portrait;
    margin: 1.5cm;
    orphans: 0!important;
    widows: 0!important;
}*/
