@font-face {
    font-family: Roboto-Medium;
    src: url(../fonts/Roboto-Medium.ttf);
}

@font-face {
    font-family: Roboto-Condenced;
    src: url(../fonts/Roboto.ttf);
}

@font-face {
    font-family: Roboto;
    src: url(../fonts/Roboto-Regular.ttf);
}

html, body {
    background-color: #2f2f38;
    border: 0;
    padding: 0;
    color: white;
    width: 100%;
    margin: 0;
    font-family: 'Roboto', sans-serif;
}

.version {
    color: #b1b1b6;
    font-size: 13px;
}

.logo {
    color: #b3d4f3;
    text-align: center;
}

.main-title {
    line-height: inherit;
    font-size: 37px;
    font-weight: 600;
    font-family: 'Roboto-Medium', sans-serif;
}

.log {
    color: #b1b1b6;
    font-size: 13px;
    line-height: 25px;
}

.RUNNING {
    color: orange;
}

.ERROR {
    color: #FF3300;
}

.WARNING {
    color: #FF8800;
}

.READY {
    color: #00ff71;
}

.sub-title {
    font-size: 20px;
    font-family: 'Roboto-Regular', sans-serif;
}

#log {
    -moz-column-count: 2;
    -webkit-column-count: 2;
    column-count: 2;
    column-fill: auto;
    -moz-column-fill: balance;
    height: 100%;
    width: 100%;
}


.pre {
    display: block;
    unicode-bidi: embed;
    font-family: monospace;
    white-space: pre;
}


.btn {
    display: inline-block;
    padding: 6px 12px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;
}

.btn1 {
    width: auto;
    height: auto;
    min-height: 81px;
    background-color: #2f2f38;
    color: white;
    font-size: 20px;
    font-family: 'Roboto-Regular', sans-serif;
    border-color: #484756;
    word-break: normal;
    white-space: normal;
    word-wrap: break-word;
}

.btn1:hover {
    color: white;
}

.btn1:focus {
    color: white;
}

.btn1.stop {
    background-color: red;
}

.btn-start {
    height: 81px;
    background-color: #48c34d;
    color: white;
    font-size: 20px;
    font-family: 'Roboto-Regular', sans-serif;
    border-color: #484756;
}

.btn-slim {
    min-height: 78px !important;
}

.time {
    color: #b1b1b6;
    display: inline-block;
    font-size: 20px;
    font-family: 'Roboto-Regular', sans-serif;
    height: 81px;
    padding-top: 15px;
    text-align: center;
}

.page-title {
    font-size: 20px;
    font-family: 'Roboto-Regular', sans-serif;
    padding-top: 27px;
    padding-right: 20px;
    color: #b1b1b6;
}

.headleft {
    border-bottom: 1px #484756 solid;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: flex-start;
}

.headcenter {
    display: flex;
    border-bottom: 1px #484756 solid;
    flex-wrap: nowrap;
    justify-content: center;
}

.headright {
    display: flex;
    border-bottom: 1px #484756 solid;
    flex-wrap: nowrap;
    justify-content: flex-end;
}

.cconf .footer {
    border-top: 1px #484756 solid;
}

#pack-view-page #main,
#palletView #mainPallet,#mainLayer,
.cconf .paging {
    border-top: 1px #484756 solid;
}

.conf {
    border-bottom: 1px #484756 solid;
    height: 1fr;
}

.conf.active {
    background-color: #484756;
}

.conf.settings:hover {
    background-color: #484756;
}

.config .title {
    font-size: 20px;
    font-weight: 400;
    font-family: 'Roboto-Medium', sans-serif;
}

.config .title.box {
    font-size: 20px;
}

.vertical-align {
    display: flex;
    align-items: center;
}

#btnStartModal:disabled {
    background-color: #484756;
    color: #2f2f38;
}

#btnStartModal {
    background-color: #48c34d;
}

.work .time {
    border-bottom: 1px #484756 solid;
}

.work .butt {
    border-bottom: 1px #484756 solid;
}

.fill {
    width: 100%;
    height: 100%;
}

.padtitle {
    font-size: 20px;
    font-family: 'Roboto-Regular', sans-serif;
}

.infotitle {
    font-size: 14px;
    color: #b1b1b6;
    padding-left: 0px;
}

.incomplete {
    color: yellow;
}

.good {
    color: #55d25a;
}

.bad {
    color: red
}

.content-verified {
    color: orange;
}

.verified {
    color: magenta;
}

.infocount {
    font-size: 14px;
    padding-right: 15px;
    padding-left: 15px;
}

.disable {
    pointer-events: none;
    opacity: 0.4;
}

input.disabled,
.settings.disabled,
.btn.disabled {
    cursor: not-allowed !important;
    pointer-events: none !important;
    opacity: .6 !important; }

.btn-modal {
    height: 81px;
    color: white;
    font-size: 28px;
    font-family: 'Roboto-Regular', sans-serif;
    border-color: #484756;
    width: 200px;
    word-break: normal;
    white-space: normal;
    word-wrap: break-word;
}

.btn-modal:hover {
    color: white
}

.btn-modal:active {
    background-color: #48c34d;
    color: white
}

.btn-modal:focus {
    color: white
}

.btn-modal:visited {
    color: white
}

.btn-modal.stop {
    background-color: red;
}

.btn-modal.ok {
    background-color: #48c34d;
}

.btn-modal.cancel {
    background-color: #1f1f28;
}

.closePallet {
    width: 400px;
    background-color: #48c34d
}

.gray {
    color: #b1b1b6;
}

.pt40 {
    padding-top: 40px;
}

.mod {
    font-size: 35px;
}

#paging {
    text-align: left

}

.btn2 {
    width: 82px;
}

.list-icon {
    width: 48px;
    height: 48px;
}

textarea {
    width: 100%;
    color: #0d0d0d;
    resize: none;
    font-family: sans-serif !important;
}

input {
    width: 100%;
    color: #0d0d0d;
    font-family: sans-serif !important;
}

.err {
    border-bottom: 1px #484756 solid;
    min-height: 40px;
}

#resultAddPack,
#resultAddStamps,
#resultCheckStamps {
    white-space: pre-line;
}

#resultCheckStamps {
    padding-left: 37px;
}

.primaryCodeSpan {
    height: calc((100vh - 165px) / 4);
}

.resultSpan {
    align-items: normal;
    padding-top: calc((100vh - 165px) / 8 * 0.12);
    border-bottom: 1px #484756 solid;
}

.extraField {
    align-items: normal;
    padding-top: calc((100vh - 165px) / 8 * 0.12);
}

.resultSpan .titleRow,
.extraField .titleRow {
    padding-left:25px;
    padding-right: 10px;
}

.extraField .fieldRow {
    display:grid;
    grid-template:
            "title box"/278px auto;
    padding-left:37px;
    padding-right: 10px;
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
    margin-left: 15px;
}

.switch input {
    display: none;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked + .slider {
    background-color: #48c34d;
}

input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

#systemLog {
    height: calc(100vh - 193px);
    overflow-y: auto;
    display: block;
    word-break: break-all;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.pl-20 {
    padding-left: 20px;
}

.px-20 {
    padding-left: 20px;
    padding-right: 20px;
}

.pallet-tile {
    padding: 2px;
    border: 1px #484756 solid;
    width: 100%;
    font-size: 4em;
    text-align: center;
}

.pallet-tile-label {
    text-align: center;
    word-wrap: break-word;
}

.dropdown-menu {
    background-color: #2f2f38;
}

.dropdown-menu > li > a {
    display: flex;
    color: #fff;
    font-size: 20px;
    min-height: 81px;
    justify-content: start;
    align-items: center;
}

.dropdown-menu > li > a:hover,
.dropdown-menu > li > a:focus {
    color: #fff;
    background-color: #484756;
}

.dropdown-menu > .active > a,
.dropdown-menu > .active > a:hover,
.dropdown-menu > .active > a:focus {
    color: #fff;
    background-color: #484756;
}

.dropdown-menu > .disabled > a,
.dropdown-menu > .disabled > a:hover,
.dropdown-menu > .disabled > a:focus {
    color: #fff;
}

.btn-primary {
    background-color: #48c34d;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active,
.open .dropdown-toggle.btn-primary {
    background-color: #48c34d;
}

.btn-danger {
    background-color: red;
}

.btn-circle.btn-sm {
    width: 28px;
    height: 28px;
    padding: 6px 0px;
    border-radius: 50%;
    font-size: 8px;
    text-align: center;
    border: 0px;
    margin: 0 2px;
}

.btn-circle.btn-md {
    width: 50px;
    height: 50px;
    padding: 7px 10px;
    border-radius: 50%;
    font-size: 10px;
    text-align: center;
    border: 0px;
    margin: 0 2px;
}

.btn-circle.btn-xl {
    width: 70px;
    height: 70px;
    padding: 10px 16px;
    border-radius: 50%;
    font-size: 12px;
    text-align: center;
    border: 0px;
    margin: 0 2px;
}

#device-output {
    height: 100%;
}

#deviceinfo {
    border-top: 1px #484756 solid;
}

.config.content.encodertest {
    display: grid;
    grid-template: "buttons buttons" 80px "console info" / 4fr 1fr;
}

.deviceconsole {
    /*  padding: 4px; */
    border-right: 1px #484756 solid;
    border-top: 1px #484756 solid;
}

#encoder-output {
    height: 100%;
}

#encoderinfo {
    border-top: 1px #484756 solid;
}

.stream-count-1 .buttonPack {
    padding-top: calc(89vh - 590px);
}

.stream-count-1 .packPic {
    min-height: calc((100vh - 308px) - 11vh);
}

.stream-count-1 .packPic object {
    max-height: calc((100vh - 308px) - 11vh);
}

.stream-count-1 .streamTitle,
.stream-count-1 .STREAM_2 {
    display: none;
}

.stream-count-2 .paging,
.stream-count-2 .footer {
    display: none;
}

.stream-count-2 .buttonPack {
    padding-top: calc(44vh - 420px);
}

.stream-count-2 .packPic {
    min-height: calc((50vh - 80px) - 11vh);
}

.stream-count-2 .packPic object {
    max-height: calc((50vh - 80px) - 11vh);
}

#logErr img {
    max-height: 9vh;
    max-width: 100%;
}

#lastPack object {
    height: auto;
}

#lastPackInfo {
    padding: 4px;
}

#errLoad.notloaded {
    display: none;
}

.capitalize {
    text-transform: capitalize;
}

#page-packEdit-image .svg2 {
    padding: 2px;
    border: 1px #484756 solid;
    height: calc(100vh - 193px);
    font-size: 20px;
}

#loading {
    position: fixed;
    display: block;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    text-align: center;
    opacity: 0.7;
    background-color: #000;
    z-index: 99;
}

#loading-image {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -9px;
    margin-left: -39px;
    width: 78px;
    height: 18px;
    text-align: center;
    z-index: 100;
}
.ASSIGNED {
    color: #ffffff;
}
.PROCESSING {
    color: #48c34d;
}
.EXECUTED {
    color: orange;
}

#currentPallet, .layerPic {
    width: 100%;
    min-height: calc((100vh - 308px) - 11vh);
}

.pallet-outer-layer {
    width: 100%;
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row-reverse;
    column-gap: 5%;
    border-radius: 10px;
    justify-content: space-around;
    margin: 3px;
    padding: 4px;
    background-color: transparent;
    box-shadow:3px 3px 2px rgba(0, 1, 1, 0.5);
}

@keyframes gradient {
    0% {
        background: radial-gradient(circle at center, rgba( 255, 125 , 125, 0 ) 0%, #2f2f38 0%, #2f2f55 100%);
    }
    50% {
        background: radial-gradient(circle at center, rgba( 255, 125, 125, 0.5 ) 49%, #2f2f38 50%, #2f2f55 100%);
    }
    100% {
        color: #2f2f38;
        background: radial-gradient(circle at center, #f88 99%, #2f2f38 100%, #2f2f55 100%);
    }
}

.pallet-btn:active {
    animation: gradient 100ms;
    transform:scale(.95);
    box-shadow: none;
}

.pallet-outer-layer .layer-number {
    padding-top: 5px;
    padding-bottom: 5px;
    border-radius: 10px;
    width: 10%;
    border: 1px solid;
    margin-left: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pallet-inner-layer {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    width: 90%;
}

.pallet-inner-layer .good {
    box-sizing: border-box;
    padding: 3px;
    border: 1px solid;
    border-radius: 5px;
    margin: 2px;
}

.pallet-inner-layer .verified {
    box-sizing: border-box;
    padding: 3px;
    border: 1px solid;
    border-radius: 5px;
    margin: 2px;
}

#mainPallet .col-sm-6 {
    padding: 4px;
    border-right: 1px #484756 solid;
}

#mainLayer .col-sm-6 {
    padding: 4px;
    border-right: 1px #484756 solid;
}

#mainLayer .col-sm-6 {
    padding: 4px;
    border-right: 1px #484756 solid;
}

#viewDevices {
    position: absolute;
    background: #2f2f38;
    top: 5vh;
    left: 25vw;
    border: 1px solid white;
    padding: 5px;
    min-width: 300px;
    min-height: 100px;
    border-radius: 15px
}

#devices {
    padding-top: 15px;
}

.progress-bar {
    width:100%
}

.pallet-edit-btn {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    padding-top: 5vh;
    margin-left: 6vw;
}

.btn-pallet , .btn-layer{
    padding: 15px;
}

.buttonLayer {
    align-items: center;
    margin-top: 6vh;
    margin-left: 1vw;
}

.pallet-view-stack {
    overflow-x:auto;
    border-top: 1px #484756 solid;
    padding-top:15px
}

.inforow{
    display: grid;
    border-top: 1px #484756 solid;
    grid-template: "head head head" 23px
    "block1 pic1 butt"
    "block2 pic2 butt" 1fr    / 4.2fr 1.8fr 4fr;
}

.btn-pack-search-page {
    width: 20vw;
}

.btn-pack-view-page, #btn-pallet-view-page {
    min-width: 14vw;
    max-width: 14vw;
}

.current-layer {
    width: 260px;
}

/*.pallet-edit-btn {*/
/*    display: inline-flex;*/
/*    align-items: center;*/
/*    padding-top: 5vh;*/
/*    padding-left: 10vw;*/
/*}*/

/*.btn-pallet {*/
/*    padding: 15px;*/
/*}*/

.buttonLayer {
    align-items: center;
    margin-top: 6vh;
    margin-left: 1vw;
}

.pallet-view-stack {
    overflow-x:auto;
    border-top: 1px #484756 solid;
    padding-top:15px
}

.inforow{
    display: grid;
    border-top: 1px #484756 solid;
    grid-template: "head head head" 23px
    "block1 pic1 butt"
    "block2 pic2 butt" 1fr    / 4.2fr 1.8fr 4fr;
}

.btn-pack-search-page {
    width: 20vw;
}

.btn-pack-view-page, #btn-pallet-view-page {
    min-width: 14vw;
    max-width: 14vw;
}

.dataTable {
    margin-left: 15px;
    margin-right: 15px;
}

.resetBorderBackground {
    border: none !important;
    background-color: unset !important;
}

.filterStartDateTask.active {
    border-color: orange;
    background-color: rgb(177, 177, 182);
    color: black;
}

.failed {
    color: #FF3300;
    border-color: #FF3300;
    border-bottom-width: 3px;
}

.btn.failed {
    color: #FF3300;
}

.background-red {
    background-color: #FF3300;
}

select option {
    background-color: #fff;
}

tr.group-start {
    color: orange;
    font-weight: bold;
    cursor: pointer;
}

tr.group-start td::after{
    content: "\e259";
    font-family: 'Glyphicons Halflings';
    padding-left: 6px;
}

tr.group-start.collapsed td::after {
    content: "\e257";
    font-family: 'Glyphicons Halflings';
    padding-left: 6px;
}

tr td span {
    padding-right: 5px;
}

#devicePropertyNew .propertyRequired {
    color: orange;
}

.border-b-1-grey {
    border-bottom: 1px #484756 solid;
}
.border-t-1-grey {
    border-top: 1px #484756 solid;
}

.border-r-0 {
    border-right: 0 !important;
}

.failed {
    color: #FF3300;
    border-color: #FF3300;
}

.mdi:before, .mdi-set {
    font-size: 24px !important;
    line-height: 0 !important;
}