﻿@font-face {
    font-family: 'Libre Barcode 39';
    font-style: normal;
    font-weight: 400;
    src: local('Libre Barcode 39 Regular'), local('LibreBarcode39-Regular'), url(fonts/LibreBarcode39-Regular.ttf) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

a.camera-disabled {
    pointer-events: none;
    background-color: lightgrey !important;
}

.rols-loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.1);
    z-index: 2147483647;
    display: none;
    cursor: wait;
}

.rols-loading-overlay.show {
    display: flex;
    justify-content: center;
    align-items: center;
}

.working-on-it {
    display: none;
}

.working-on-it.show {
    display: block;
    margin-top: -12px;
    width: 100px;
    text-wrap-mode: nowrap;
}

#working-on-it-wrapper {
    display: flex;
    justify-content: center;
    height: 100%;
    align-content: center;
    flex-wrap: wrap;
    flex-direction: column;
}

.rols-loading-spinner {
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid #57b682;
    border-radius: 50%;
    animation: rols-spin 1s linear infinite;
    margin-left: 50px;
}

@keyframes rols-spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

elip:after {
    overflow: hidden;
    display: inline-block;
    vertical-align: bottom;
    -webkit-animation: ellipsis steps(4, end) 900ms infinite;
    animation: ellipsis steps(4, end) 900ms infinite;
    content: "\2026";
    /* ascii code for the ellipsis character */
    width: 0px;
}

@keyframes ellipsis {
    to {
        width: 40px;
    }
}

@-webkit-keyframes ellipsis {
    to {
        width: 40px;
    }
}

.rols-color {
    color: #57b682;
}

.rols-background-color {
    background-color: #57b682;
}

html {
    overflow: hidden; /* Prevent pull-to-refresh effect */
    overscroll-behavior: contain;
}

/* fix ki-list positioning for inputs so input appears below label*/
#body .km-list input {
    position: relative !important;
    margin-top: 0 !important;
    width: 100% !important;
}

.button-wrapper > .km-button {
    padding: 2em 2em;
}

.buttonLeftColumn {
    text-align: right!important;
    width: 50%;
}

.buttonRightColumn {
    text-align: left!important;
    width: 50%;
}

@media only screen and (max-width: 950px) {
    .button-wrapper > .km-button {
        padding: 2em 1em;
    }

    .buttonLeftColumn {
        width: 40%;
    }

    .buttonRightColumn {
        width: 60%;
    }
}

.small-button-wrapper > .km-button {
    padding: 1em 1em;
}

.splash {
    background: #3c785c url('img/256x256.png') no-repeat center center;
}

.errorwrapper {
        background-color: yellow;
}

.word-break-all {
    word-break: break-all;
}

.pre-wrap {
    white-space: pre-wrap;
}

input.k-invalid {
    background-color: pink;
}

.k-invalid-msg {
    background-color: pink;
}

.no-backbutton .km-back {
    visibility: hidden;
}

.km-arrow-e:after,
.km-arrow-e:before {
    content: '\e0f8';
}

.km-bug:after,
.km-bug:before {
    content: '\e0f8';
}

.km-search:after,
.km-search:before {
    content: '\e07f';
}

.errorMessage {
    background: pink url('img/ERROR.png') no-repeat;
    min-height: 44px;
}

.errorText {
    padding: 21px 21px 21px 21px;
    width: 100%;
}

.errorText textarea {
    background-color: inherit;
    font-family: inherit;
    font-size: large;
    font-weight: bold;
    width: 100%;
    height: 5em;
    overflow: auto;
    resize: none;
    /* disable the border */
    border: none transparent;
}

.boldTxt {
    font-weight: bold;
}

/* MACState */

.MSUNKNOWN {
    background-color: yellow;
    color: red;
}

.MSSAFE {
    background-color: palegreen;
    color: black;
}

.MSUNSAFE {
    background-color: red;
}

/* flightstate */

.FSNOTHINGTODO th {
    background: darkgrey;
}

.FSWAITINGFORSTARTLOADING th {
    background: yellowgreen;
}

.FSSTARTEDLOADING th {
    background: green;
}

.FSWAITINGFORSTARTUNLOADING th {
    background: lavender;
}

.FSSTARTEDUNLLOADING th {
    background: lightblue;
}

.FSCOMPLETED th {
    background: black;
    color: lightblue;
}

.FSUNKNOWN th {
    background: peru;
}

.FSNOTREADY th {
}

.last {
    color: white;
    background-color: green;
    border-radius: 5px;
}

.next {
    color: white;
    background-color: orange;
    border-radius: 5px;
}

.header-wrapper {
    width: 100%;
    margin-bottom: 16px;
}

.lititle {
    font-weight: bold;
}

.liOldTitle {
    font-weight: bold;
    color: red;
}

.liNewTitle {
    font-weight: bold;
    color: green;
}

.button-wrapper {
    text-align: center;
    margin-top: 1em;
}

.actionbutton {
    float: right;
}

.requestbutton {
    margin-right: 20px;
}

.confirmbutton {
    background-color: orange !important;
}

.reasonbutton {
    padding: 1.5em !important;
}

.marginButton {
    margin: 2px;
}

.disabled {
    cursor: not-allowed;
}

input:not([readonly]) {
    border: 1px dotted !important;
}

input.MuiInputBase-input {
    border: none !important;
}

textarea {
    border: 1px dotted !important;
}

label.required {
    font-weight: bold;
}

input {
    display: block;
    margin: 5px;
}

.successmessage {
    padding: 2em;
}

.validationmessages > .k-widget.k-tooltip-validation {
    width: 100%;
    text-align: left;
    border-color: transparent;
    background-color: red;
    color: white;
    box-shadow: none;
}

#register input.k-invalid {
    background-color: pink;
}

.strapsrequired {
    color: orange;
    text-transform: uppercase;
}

.smallimg {
    width: 16px;
    height: 16px;
    vertical-align: middle;
}

.smallTable {
    display: inline;
    border-spacing: 0;
}

.smallTable td {
    padding: 0 2px;
}

.tinyimg {
    width: 16px;
    height: 16px;
}

.firstcolumnstyle {
    width: 23px;
}

.secondcolumnstyle {
    width: 374px;
}

.boldhdr {
    width: 374px;
    font-size: large;
}

.smallimgintro {
    width: 16px;
    height: 16px;
}

.auto-style7 {
    width: 300px;
}

.auto-style8 {
    width: 100px;
    background-color: #008000;
}

.auto-style9 {
    width: 50%;
    padding-left: 4px;
    padding-right: 4px;
    text-align: center;
}

.auto-style10 {
    border-collapse: collapse;
}

.km-view-title {
    text-transform: uppercase;
    letter-spacing: 2px;
}

@media (max-width: 599px) {
    .km-view-title {
        margin-left: -40px;
    }
}

#aboutimg {
    max-height: 64px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    padding-top: 12px;
}

.message-container {
    width: 100%;
    height: 100%;
}

.message-container > .message-thread > .message {
    min-width: 40%;
    max-width: 80%;
    margin: 2px;
    padding: 3px 5px 3px 5px;
}

.message-container > .message-thread > .message > .message-text {
    display: block;
    clear: both;
    margin-left: 3px;
    margin-right: 3px;
    font-size: 15px;
    white-space: pre-wrap;
}

.message-container > .message-thread > .message label {
    font-size: 13px;
    font-weight: bold;
}

.message-container > .message-thread > .message > .message-user {
    display: block;
    float: left;
    margin-left: 3px;
}

.message-container > .message-thread > .message > .message-timestamp {
    display: block;
    float: right;
    margin-right: 3px;
}

.message-container > .message-thread > .message-received {
    float: left;
    clear: both;
}

.message-container > .message-thread > .message-sent {
    float: right;
    clear: both;
}

.message-container > .message-thread > .message-read {
    background: #b7cc90;
}

.message-container > .message-thread > .message-unread {
    background: #90b2cc;
}

.k-sparkline > span {
    width: 36px !important;
    height: 36px !important;
}

.k-grid-content {
    height: 100%;
}

.rols-overview-listview > li {
    padding: 2px;
}

.rols-overview-standard {
}

.rols-overview-preseq {
    /* red */
    background-color: rgb(249, 228, 228) !important;
}

.rols-overview-standard-confirmed {
    /* blue */
    background-color: rgb(191, 237, 253) !important;
}

.rols-overview-preseq-confirmed {
    /* green */
    background-color: rgb(213, 252, 202) !important;
}

.rols-overview-preseq-checked {
    /* light-yellow */
    background-color: rgb(249, 245, 228) !important;
}
.rols-bulk-status-standard {
    background-color: darkgrey;
}
.rols-bulk-status-standard-confirmed {
    /* green */
    background-color: rgb(213, 252, 202) !important;
}
.rols-bulk-status-standard-changed {
    /* orange */
    background-color: rgba(255, 165, 0, 0.5) !important;
}
.rols-bulk-status-standard-wait {
    /* red */
    background-color: rgb(249, 228, 228) !important;
}

.rols-loading-status-not-clickable {
    padding: 0.5em 0.8em;
    border-style: solid;
    border-width: 1px;
    border-radius: 3px;
    text-align: center;
    max-width: 150px;
    margin: 0 auto;
}

.rols-si-item-template {
    width: 100%;
    max-width: 500px;
    margin: 10px auto;
}

.rols-si-item-wrapper {
    margin-top: 15px;
    margin-bottom: 20px;
    padding: 10px;
    position: relative;
}

.rols-si-item-add-label {
    width: 100%;
    max-width: 450px;
    text-align: left;
    margin: 30px 0 10px 20px !important;
}

.rols-si-item-left {
    float: left;
    width: 50%;
    text-align: left;
    padding: 5px 10px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.rols-si-item-right {
    float: right;
    margin-top: 5px;
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
}

.km-key-e:after,
.km-key-e:before {
    content: '\e0b1';
}

.km-barcode:after,
.km-barcode:before,
.km-ocr:after,
.km-ocr:before {
    content: '\e104';
}

.scanBarcodeButton,
.scanUldBarcodeButton,
.scanUldOcrButton {
    float: right;
}

.scanUldBarcodeButton {
    background: url('img/scan/barcode.png') no-repeat center!important;
}

.scanUldOcrButton {
    background: url('img/scan/ocr.png') no-repeat center!important;
}

#ocrSwitchCamera {
    background: url('img/scan/switchCamera.png') no-repeat center!important;
}

#ocrTorch {
    background: url('img/scan/torch.png') no-repeat center!important;
}

#ocrTorch.checked {
    background: url('img/scan/torchChecked.png') no-repeat center!important;
}

canvas.drawing,
canvas.drawingBuffer {
    position: absolute;
    top: 0;
    left: 0;
}

#barcode-overlay {
    position: fixed;
    z-index: 9999;
    height: 100%;
    width: 100%;
    background: white;
    display: none;
}

.barcodeContainer {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;

    margin-top: 10%;
}
.barcodeContainer video,
.barcodeContainer canvas {
    max-width: 100%;
    width: 100%;
}

#ocr-overlay {
    position: fixed;
    z-index: 9999;
    height: 100vh;
    width: 100vw;
    background: white;
    display: none;
}

.ocrContainer {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    float: left;
    width: 100%;
    margin: 0;
    padding: 0;
    text-align: center;
    overflow: auto;
    -webkit-overflow-scrolling :touch;
}

.ocrDiv {
    min-height: 80px;
    width: 100vw;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-right: 18px;
    padding-left: 18px;
}
.ocrDiv:first-child {
    padding-bottom: 8px;
}

.ocrCameraSelect .k-dropdown-wrap,
.ocrCameraSelect .k-dropdown-wrap.k-state-active.k-state-focused {
    background: white;
    border-color: rgba(0,0,0,.1);
}
.ocrCameraSelect .k-dropdown-wrap:hover {
    background: rgba(0,0,0,.01);
    border-color: rgba(0,0,0,.1);
}
.ocrCameraSelect .k-dropdown-wrap .k-input,
.ocrCameraSelect .k-dropdown-wrap.k-state-active.k-state-focused .k-input {
    color: rgb(76, 83, 86);
}
.ocrCameraSelect .k-dropdown-wrap:hover .k-input {
    color: white;
}
.ocrCameraSelect .k-select .k-icon {
    color: rgb(76, 83, 86);
    padding-top: 12px;
}
#divVideo {display: block;}
#divPicture {display: none;}

#ocrVideo {
    border: 1px solid #ccc;
    display: block;
    margin: auto;
    width: 90% !important;
}

#ocrCanvas {
    border: 0;
    display: block;
    margin: auto;
    width: 90% !important;
    height: 100% !important;
    max-width: 1024px;
    max-height: 56.25vw !important;
}

.offload-label {
    display: block;
    color: red;
    width: 100%;
    max-width: 500px;
    margin: 10px auto;
    font-weight: bold;
}

.baggage-per-airport-label {
    background-color: #0101c6;
    color: white;
    text-align: center;
    padding: 5px;
    width: 100%;
    max-width: 500px;
    margin: 10px auto !important;
}

/* ==============================================
    TABLES
   ============================================== */

.rols-table {
    width: 100%;
    max-width: 500px;
    margin: 10px auto;
    border-spacing: 0;
    border: 1px solid #bababa;
}

.rols-table td,
th {
    padding: 0.8em 0.4em;
    border-right: 1px solid #f5f5f5;
}

.rols-table th {
    background-color: #4c5356;
    color: #fff;
}

.rols-table tbody tr:nth-child(2n + 1) {
    background-color: #fff;
}

.rols-table tbody tr:nth-child(2n + 2) {
    background-color: #f5f5f5;
}

.rols-table tfoot {
    background-color: lightgrey;
    text-align: center;
}

.rols-table input {
    margin: 0 auto;
    width: 90%;
}

.rols-table input[type='number'] {
    text-align: right;
}

td.rols-table__column-number {
    text-align: right;
}

td.rols-table__column-switch label {
    display: block;
}

td.rols-table__column-highlight {
    text-align: center;
    background-color: orange;
    color: #fff;
    font-family: monospace;
    font-size: 1.4em;
}

td.rols-table__column-highlight_in_use {
    text-align: center;
    background-color: #57b682;
    color: #fff;
    font-family: monospace;
    font-size: 1.4em;
}

span.spanInUse {
    display: inline-block;
    color: white;
    background-color: inherit;
    font-size: 0.7em;
    line-height: 1.5em;
}

.barcode {
    font-family: 'Libre Barcode 39' !important;
    background-color: transparent !important;
    color: black !important;
    height: 36px;
}

.barcode>span {
    display: inline-block;
    margin-top: inherit;
    transform: scale(1,5);
    text-align: center;
    width: 100%;
    font-size: larger;
}

.login-credentials-barcode {
    font-family: 'Libre Barcode 39' !important;
    background-color: #DBDBDB !important;
    color: black !important;
    height: 36px;
}

.login-credentials-qr-code {
    background-color: #DBDBDB !important;
    color: black !important;
    height: 36px;
    padding: .4em .7em 1.3em !important;
}

.barcode-qr-code-switch {
    font-size: 1.5em;
    margin: 10px;
}

td.rols-table__column-action {
    text-align: center;
    padding: 0;
}

.flight-li-wrapper .engagedflightbutton {
    background-color: #57b682 !important;
}

.flight-li-wrapper .closedflightbutton {
    background-color: #90b2cc !important;
}

.flight-li-wrapper .locked-out-flight-button {
    background-color: #ff0000;
}

.flight-li-wrapper .locked-out-flight-button:disabled,
.flight-li-wrapper .locked-out-flight-button[disabled],
.flight-li-wrapper .locked-out-flight-button.ui-btn-disabled,
.flight-li-wrapper .locked-out-flight-button.ui-state-disabled {
    opacity: 1 !important;
    cursor: not-allowed !important;
}

.rols-dangerous-label,
.rols-hazardous-label {
    font-weight: bold;
    text-transform: uppercase;
}

.rols-dangerous-label {
    color: orange;
}

.rols-hazardous-label {
    color: orangered;
}

.rols-uld-label {
    color: #57b682;
    font-size: larger;
    font-weight: bold;
}

.rols-position-name,
.rols-no-baggage-position-name {
    text-align: center;
    color: white;
}

.rols-position-name {
    background-color: #57b682;
    text-transform: uppercase;
}

.rols-no-baggage-position-name {
    background-color: #000082;
}

.rols-loadstep-status-label {
    font-size: xx-small;
    text-transform: uppercase;
}

.rols-uld-img {
    width: auto;
    height: 16px;
}

.rols-baggage-label {
    color: #264471;
    white-space: nowrap;
}

.login-only {
    visibility: hidden;
}

.is-login .login-only {
    visibility: visible;
}

/* ==============================================
    input number
   ============================================== */

input.input-number {
    width: 60px;
    padding: 0 12px;
    vertical-align: top;
    text-align: center;
    outline: none;
    margin: 0;
}

.input-number,
.input-number-decrement,
.input-number-increment {
    display: inline-block;
    border: 1px solid #ccc;
    height: 24px;
    user-select: none;
}

.input-number-decrement,
.input-number-increment {
    width: 30px;
    line-height: 22px;
    background: #f1f1f1;
    color: #444;
    text-align: center;
    font-weight: bold;
    cursor: pointer;
}
.input-number-decrement:active,
.input-number-increment:active {
    background: #ddd;
}

.input-number-decrement {
    border-right: none;
    border-radius: 3px 0 0 3px;
}

.input-number-increment {
    border-left: none;
    border-radius: 0 3px 3px 0;
}

#body input[disabled="disabled"] {
    background-color: #f4f4f4;
}
#body .km-list input.barcode-scanner {
    width: 70% !important;
    float: left;
}

a.km-widget.km-button.barcode-button {
    font-size: 1em;
    margin: 0 0 5px !important;
}

/* Override flat theme dropdown inside a list */
.km-flat .km-list select:not([multiple]) {
    -webkit-appearance: menulist;
    -moz-appearance: menulist;
    appearance: menulist;
    outline: initial;
    position: relative;
    display: block;
    border-width: 1px;
    border-style: dotted;
    border-color: rgb(166, 166, 166);
    border-radius: 0;
    line-height: 33px;
}

/* Override height of the content */
.km-view {
    height: calc(100% - 57px) !important;
}

.hide-element {
    display: none;
}

.vertical-more > span {
    transform: rotate(90deg);
}

/* ==============================================
    Dynamic loading
   ============================================== */

/* Make the header stick to the sides */
.dynamic-loading h2 {
    margin-left: 0;
    margin-right: 0;
    padding-left: 1rem;
    padding-right: 1rem;
}

.workingon-container .engagedflightbutton,
.workingon-container .closedflightbutton {
    visibility: hidden;
    display: none;
}

.menuBarButtonIcon {
    max-height: 32px;
}

.menuButton {
    width: 90%;
    padding: 0.3em!important;
    font-size: medium!important;
}

.searchUldListItemPadding {
    padding: 2px;
}

.searchUldListItemMarginTop {
    margin-top: 15px!important;
}

.differentFlight {
    display: inline-block;
    background: #ff0000;
    color: #ffffff;
    padding: 2px;
}

.middle {
    vertical-align: middle;
}

.floatRight {
    float: right;
}

.top30 {
    position: absolute;
    top: 30%;
}

.top35 {
    position: absolute;
    top: 35%;
}

#content-check-react-app .button-wrapper {
    margin-top: 0.2rem;
}

.rampPresent {
    font-weight: bold;
}

.dummyWeightColor {
    color: red;
}

.baggageFinalized {
    text-decoration: underline;
}

.full-baggageUldOverview-wrapper {
    width: 100%;
    padding: 10px;
}

.full-baggageUldOverview-wrapper table,
.full-baggageUldOverview-wrapper th,
.full-baggageUldOverview-wrapper td {
    border: 1px solid black;
}

.full-baggageUldOverview-wrapper table {
    border-collapse: collapse;
    background: white;
    max-width: 400px;
    margin: 0 auto;
}

.notUsedAnymore {
    display: none;
}

.pieSpan {
    vertical-align: middle;
}

.pie {
    border-radius: 50%;
    width: 28px;
    height: 28px;
    margin: 4px;
}

.k-hover:hover {
    border-color: black!important;
    background-color: lightgrey!important;
    color: white!important;
}

.k-combobox > .k-clear-value {
    background-color: lightgrey!important;
    color: white!important;
    height: 37px;
}

.k-combobox > .k-button-solid-base {
    background: lightgrey;
}

/* media queries */
@media (min-width: 730px){
    .barcode>span {
        transform: scale(1,4);
    }
}

@media (min-width: 900px){
    .barcode>span {
        margin-top: auto;
        transform: scale(1,3);
    }
}

@media (max-width: 700px) {
    .latestVersionLoadplanTable tr,
    .latestVersionLoadplanTable td {
        padding: 0;
    }

    .latestVersionLoadplanTable {
        font-size: inherit;
        border-spacing: 0;
        width: 100%;
    }
    .latestVersionLoadplanSmall {
        text-align: right;
    }
    .latestVersionLoadplanLarge {
        display: none;
        visibility: hidden;
    }
}

@media (min-width: 701px) {
    .latestVersionLoadplanTable {
        display: inline;
        vertical-align: top;
    }
    .latestVersionLoadplanSmall {
        display: none;
        visibility: hidden;
    }
}

.smallVerticalMargins {
    margin-top: 2px;
    margin-bottom: 2px;
}

.divLoginPrivacyNoticeParent {
    width: 100%;
    text-align: center;
    padding-top: 35px;
}

.divLoginPrivacyNotice {
    display: inline-block;
}

.divLoginPrivacyNotice:hover {
    cursor: pointer;
    color: #57b682;
}

.grid-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    list-style-type: none;
    padding: 0;
    background: #fcfcfc;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 3px 3px 0 0;
}
    .grid-list>li {
        display: contents;
    }
        .grid-list>li>label, .grid-list>li>span {
            border-bottom: 1px solid rgba(0, 0, 0, 0.1);
            padding: 0.5em;
        }
        .grid-list>li>label {
            grid-column: 1;
        }
        .grid-list>li>span {
            grid-column: 2;
            text-align: right;
        }
@keyframes blink-animation {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.4;
    }
    100% {
        opacity: 1;
    }
}
