﻿h1 {
    font-size: 1.5em;
}

.l_menu, .l_top, .l_bottom {
    background-color: #0099ff;
}

.scope--sms .menu-icon {
    width: auto;
    height: 100%;
    margin-left: 0 !important;
}

.l_main--no-padding .l_main {
    padding: 0 !important;
}

#footer {
    display: flex;
    padding: 0;
}

.l_bottom--fixed {
    position: fixed;
    height: 3rem;
    z-index: 1000;
}

.connection-state {
    display: flex;
    align-items: center;
    padding: 0 1em;
    border-right: 1px solid rgba(255, 255, 255, 0.3);
}

    .connection-state .connection-state__item {
        margin-right: 1em;
    }

        .connection-state .connection-state__item:last-child {
            margin-right: 0;
        }

.latest-alarm a {
    line-height: 3rem;
    padding: 0 1rem;
    background-color: firebrick;
    height: 100%;
    display: inline-block;
}

.latest-alarm.no-alarm a {
    background-color: darkgreen;
}

.u_remaining-body-height {
    height: calc(100% - 4rem - 4rem);
}

.u_show-nesting * {
    background-color: rgba(0, 255, 0, 0.1);
}

.cellar-total {
    text-align: center;
    font-size: 1.2em;
    background-color: rgba(255, 255, 255, 0.4);
    border: 2px solid black;
    padding: 0.5em 0.75em;
}

.cellar {
    background-color: rgba(255, 255, 255, 0.4);
    border: 2px solid black;
    margin-bottom: 0.5em;
    padding: 0.5em 0.75em;
    width: 100%;
    position: relative;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto;
}

    .cellar:hover {
        background-color: rgba(255, 255, 255, 0.5);
    }

.cellar__utilisation {
    font-size: 0.6em;
    margin-top: -24px;
}

.cellar--with-climate-zones {
    grid-template-rows: auto auto;
}

.cellar__number {
    min-width: 5rem;
    /*text-align: center;*/
    font-size: 2em;
    align-self: center;
    grid-row: 1/-1;
}

.cellar__climate-zones {
    grid-column: 2;
    justify-content: space-around;
}

.row-container .row--rack:last-child {
    margin-bottom: 0.2em;
}

.row {
    position: relative;
}

    .row:after {
        content: "";
        clear: both;
        display: table;
    }

.row--left-aligned {
    margin-right: auto;
}

.row--right-aligned {
    margin-left: auto;
}

.row--rack {
    border: 1px solid black;
    background-color: rgba(255, 255, 255, 0.5);
    color: black;
}

    .row--rack:hover {
        background-color: rgba(255, 255, 255, 0.65);
    }

.row--corridor {
    padding: 0 0.3em;
}

.robot-in-corridor {
    width: 20px;
    height: 20px;
    float: left;
    position: relative;
    top: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .robot-in-corridor.robot-right {
        margin-left: 25px;
    }

    .robot-in-corridor.robot-left {
        margin-left: -25px;
    }

    .robot-in-corridor.robot-online {
        background-color: limegreen;
    }

    .robot-in-corridor.robot-stopped {
        background-color: orange;
    }

    .robot-in-corridor.robot-offline {
        background-color: red;
    }

.row__number {
    position: absolute;
    margin-left: 0.3em;
}

.row__percentage {
    text-align: center;
    vertical-align: middle;
}

.row__link {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.row__column-number {
    vertical-align: middle;
}

.row__column-number--left {
    float: left;
}

.row__column-number--right {
    float: right;
}

.climate-zone-tile {
    display: grid;
    /*grid-template-areas: 'name name' 'temperature humidity';*/
    grid-template-areas: "name temperature humidity";
    border: 1px solid;
    border-color: rgba(0, 0, 0, 0.5);
    background: rgba(0, 0, 0, 0.1);
}

    .climate-zone-tile:hover {
        background-color: rgba(255, 255, 255, 0.05);
    }

.climate-zone-tile__name {
    grid-area: name;
    border-right: 1px solid;
    text-align: center;
    background: rgba(0, 0, 0, 0.2);
}

.climate-zone-tile__temperature {
    grid-area: temperature;
    border-right: 1px solid;
}

.climate-zone-tile__humidity {
    grid-area: humidity;
}

.climate-zone-tile__name, .climate-zone-tile__temperature, .climate-zone-tile__humidity {
    font-size: 0.8em;
    padding: 0 0.5em;
    border-color: inherit;
}

    .climate-zone-tile__name .i_li, .climate-zone-tile__temperature .i_li, .climate-zone-tile__humidity .i_li {
        font-size: 0.9em;
    }

.selection-active .position:not(.selected) {
    opacity: 0.5;
}

.selection {
    background: rgba(0, 0, 255, 0.1);
    border-radius: 1px;
    border: 1px solid rgba(0, 0, 255, 0.2);
}

#row-overview {
    grid-template-rows: auto 1fr;
}

.navigation__headline__number {
    border-bottom: 1px solid white;
    display: inline-block;
    min-width: 1.5em;
    text-align: center;
}

.navigation__current-selection-count {
    margin-left: 1em;
}

    .navigation__current-selection-count .table {
        font-size: 1em;
        margin-bottom: 0;
    }

        .navigation__current-selection-count .table th, .navigation__current-selection-count .table td {
            padding-right: 0.5em;
            padding-top: 0;
        }

.column-selector {
    width: 100%;
    display: table;
    table-layout: fixed;
    cursor: pointer;
}

    .column-selector .column-selector__column {
        line-height: 1.4;
        display: table-cell;
        text-decoration: none;
        text-align: center;
        vertical-align: middle;
        border-left: 1px solid;
        border-left-color: #a69a9a;
        border-top: 5px solid transparent;
        border-bottom: 5px solid transparent;
    }

        .column-selector .column-selector__column.column-selector__column--visible {
            border-top-color: #01FF00;
            border-bottom-color: #01FF00;
        }

#table-container {
    padding: 1.5rem;
    padding-top: 0;
}

    #table-container .overflow-padding-fix {
        width: 1.5rem;
        height: 1px;
    }

    #table-container td:last-child,
    #table-container th:last-child {
        visibility: hidden;
    }

#storage-table {
    height: 100%;
}

.storage-table {
    min-width: 99%;
    border: none;
    border-collapse: collapse;
}

    .storage-table td {
        border-right: 5px solid #585858;
        border-bottom: 2px solid saddlebrown;
        vertical-align: bottom;
    }

    .storage-table th {
        text-align: center;
    }

        .storage-table th:first-child {
            border-right: none;
        }

    .storage-table .column-header {
        width: 125px;
        border-right: 5px solid #585858;
    }

    .storage-table .fixed-col {
        position: sticky;
        width: 100px;
        left: -27px;
        z-index: 10;
        background-color: #557a95;
        border-right: none !important;
        border-top: none !important;
        border-bottom: none !important;
        box-shadow: inset 5px 2px 0 #585858, inset -5px -2px 0 #585858;
        padding: 2px 0;
    }

    .storage-table .layer-number {
        height: 18px;
        text-align: center;
        margin: 0px 5px 2px 5px;
        padding: 0px 2px 0px 2px;
        line-height: 1;
    }

.position {
    height: 18px;
    width: 110px;
    text-align: center;
    border: 1px solid #484848;
    padding: 0px 2px 0px 2px;
    cursor: pointer;
}

    .position.pallet_position {
        height: 200px;
        width: 180px;
    }

    .position div {
        position: relative;
        top: 50%;
        transform: translateY(-50%);
        -ms-transform: translateY(-50%);
        -moz-transform: translateY(-50%);
        -webkit-transform: translateY(-50%);
        -o-transform: translateY(-50%);
    }

.position__batch_nr {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    line-height: 1em;
}

.position__divider {
    width: 101.5%;
    margin-left: -1px;
    margin-bottom: 0;
    height: 2px;
    background-color: saddlebrown;
}

.position__locked {
    min-width: 12px;
    width: 19px;
    height: 13px;
    float: right;
    font-size: 9px;
    text-align: center;
    background-color: red;
    border: 1px solid;
    padding-right: 1px;
    color: black;
}

.position__status {
    min-width: 12px;
    width: 20px;
    height: 13px;
    float: left;
    font-size: 9px;
    text-align: center;
    background-color: #3adede;
    border: 1px solid;
    padding-right: 1px;
    color: black;
}

.position__quality-display {
    width: 25px;
}

.popup-label {
    margin-top: 10px;
    margin-bottom: 2px;
}

#popup_container_master {
    font-size: 14px !important;
    width: 100% !important;
}

#popup_container_left {
    font-size: 14px !important;
    width: 48% !important;
    float: left;
}

#popup_container_right {
    font-size: 14px !important;
    width: 48% !important;
    float: right;
}

.container {
    display: flex;
}

.fixed {
    width: 20em;
}

.flex-item {
    margin-left: 5em;
    flex-grow: 1;
}

#pallet-transfer {
    grid-template-rows: auto auto 1fr;
    grid-template-columns: auto auto auto;
    grid-template-areas: "headline-left . headline-right" "pallets-left scale pallets-right" "bt-left scale bt-right";
    grid-column-gap: 3em;
}

    #pallet-transfer #pallets-left {
        grid-area: pallets-left;
    }

    #pallet-transfer #bt-left {
        grid-area: bt-left;
    }

    #pallet-transfer #scale {
        grid-area: scale;
        text-align: center;
    }

    #pallet-transfer #pallets-right {
        grid-area: pallets-right;
    }

    #pallet-transfer #bt-right {
        grid-area: bt-right;
    }

#pallet-transfer-singleLoaf {
    grid-template-rows: auto auto 1fr;
    grid-template-columns: auto auto;
    grid-template-areas: "headline-left headline-right" "pallets-left pallets-right" "bt-left bt-right";
    grid-column-gap: 3em;
}

    #pallet-transfer-singleLoaf #pallets-left {
        grid-area: pallets-left;
    }

    #pallet-transfer-singleLoaf #bt-left {
        grid-area: bt-left;
    }

    #pallet-transfer-singleLoaf #pallets-right {
        grid-area: pallets-right;
    }

    #pallet-transfer-singleLoaf #bt-right {
        grid-area: bt-right;
    }

.dxbs-cmd-cell {
    display: none;
}

.slot {
    position: relative;
    display: inline-block;
    width: 78px;
    height: 120px;
    background: #C0C0C0;
    color: white;
    border: 2px solid white;
    margin: 4px, 3px;
}

.slot_content {
    float: left;
    margin-top: 6%;
    margin-bottom: 6%;
    width: 100%;
    height: 76%;
    color: black;
    font-size: 12px;
    text-align: center;
    border: 4px solid black;
    background: #FFFF00;
    cursor: move;
}

.slot_nr {
    position: absolute;
    width: 100%;
    height: 14%;
    bottom: 0;
    font-size: 12px;
    text-align: center;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.inner_content {
    text-align: center;
    font-size: 12px;
    font-weight: bold;
    color: black;
    line-height: 20px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

[draggable=true] {
    cursor: move;
}

#scale-weight {
    border-style: dashed;
    padding: 10px 0px 10px 10px;
    font-size: x-large;
    font-weight: bold;
    text-align: center;
}

.waste-container {
    display: grid;
    grid-template-columns: 80fr 20fr;
    height: 95%;
}

.waste-container_chargen-grid {
    overflow: auto;
}

.waste-container_input-grid {
    display: grid;
    grid-template-columns: 50fr 50fr;
    background-color: white;
    margin-left: 10px;
    /*height: 18rem;*/
    text-align: center;
}

.label-details {
    color: black;
    display: grid;
    grid-template-rows: 1fr 1fr 1fr auto;
}

.output-details {
    color: black;
    display: grid;
    grid-template-rows: 1fr 1fr 1fr auto;
}

.input-waste {
    border: none;
    outline: none;
}

.waste-grid-text {
    font-weight: 400;
    font-size: 14px;
    font-family: "Helvetica Neue", "Segoe UI", helvetica, verdana, sans-serif;
    margin: 10px;
}

.waste-grid-text-result {
    font-weight: bold;
    font-size: 14px;
    font-family: "Helvetica Neue", "Segoe UI", helvetica, verdana, sans-serif;
    margin: 10px;
}

.button-waste {
    margin: 50px 0px 0px 10px;
}

    .button-waste button {
        padding-top: 5px;
        padding-bottom: 5px;
    }

.input-grid-waste {
    border: none;
    outline: none;
    font-size: 1.5rem;
    margin: 10px;
}

#wastedWeight {
    border: none;
    outline: none;
    font-weight: 400;
    font-size: 14px;
    font-family: "Helvetica Neue", "Segoe UI", helvetica, verdana, sans-serif;
    border-bottom: 1px solid black;
    text-align: center;
    margin-right: -5px;
    width: 88%;
}

#wastedWeightDate {
    border: none;
    border-bottom: 1px solid black;
    font-weight: 400;
    font-size: 14px;
    font-family: "Helvetica Neue", "Segoe UI", helvetica, verdana, sans-serif;
    text-align: center;
    width: 100%;
}

.wastedWeightInputLabel {
    border-bottom: 1px solid black;
}

.img-flip-hor {
    -moz-transform: scaleX(-1);
    -o-transform: scaleX(-1);
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
    filter: FlipH;
    -ms-filter: "FlipH";
}

.single-loaf-input {
    border: 3px solid;
}

.dx-field-item-label-text {
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0.1em;
}

.form__item__column2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

    .form__item__column2 .form__item {
        margin-left: 3px;
        margin-right: 3px;
    }