/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/*
    Created on : 2-aug-2015, 11:59:48
    Author     : anne
*/

/*@media screen and (orientation:portrait)
{
    html
    {
        background-image: url("/img/rotate.png");
        background-repeat: no-repeat;
        background-attachment: fixed;
        background-position: center;
    }

    body
    {
        display:none;
    }
}*/


.btn-xl
{
    font-size: 30px;
    width: 150;

}
.clickable-row:hover {
  background-color: #f4f4f4;
  cursor: pointer;
}

.action-column {
  min-width: 5em;
}

#serialData
{
    color:black;
}

.article_image {
  margin-bottom: 5px;
  width: 150px;
  max-width: 140px;
  max-height: 150px;
  object-fit: contain;
}

.toolbar_legend {
  margin-right:10px;
  font-weight: bold;
}
table .details
{
    font-size: 13px;
    /* width:80%; */
    margin-left: 80px;
    width: calc(100% - 80px);
    /* float:right; */
}

.expandRow
{

    background-color: white;
}
.order-info{
    padding:5px;

}
.location
{
    display: block;
    padding:0px 8px;
    font-style: normal;
    font-weight: bold;
    color:black;
    background-color:yellow;
    border: 2px solid gray;
    margin-right:6px;
    border-radius: 6px;
}

.location.location-occupied {
    background-color: darkorange;
    color: white;
}

.location.location-order-picked {
    background-color: green;
    color: white;
}

.wd-container {
    padding:0px 8px;
    font-style: normal;
    font-weight: bold;
    color:black;
    background-color: white;
    border: 2px solid black;
    margin-right:6px;
    border-radius: 6px;
}

.wd-section {
    padding:0px 8px;
    font-style: normal;
    font-weight: bold;
    color:white;
    background-color: #0098D1;
    border: 2px solid black;
    margin-right:6px;
    border-radius: 6px;
}

.wd-area {
    padding:0px 8px;
    font-style: normal;
    font-weight: bold;
    color:white;
    background-color: #5CB85C;
    border: 2px solid black;
    margin-right:6px;
    border-radius: 6px;
}



.section
{
    padding:0px 8px;
    font-style: normal;
    font-weight: bold;
    color:white;
    background-color:gray;
    border: 2px solid black;
    margin-right:6px;
    border-radius: 6px;
}

.location-bulk
{
    padding:0px 8px;
    font-style: normal;
    font-weight: bold;
    color:black;
    background-color:yellowgreen;
    border: 2px solid gray;
    margin-right:6px;
    border-radius: 6px;
}

.color-location{
    padding:0px 8px;
    font-style: normal;
    font-weight: bold;

    border: 2px solid gray;
    margin-right:6px;
    border-radius: 6px;
}
.color-location.orange { color:black; background-color:orange;}
.color-location.red { color:black; background-color:red;}
.color-location.white { color:black; background-color:white;}
.color-location.blue { color:black; background-color:blue;}
.color-location.yellow { color:black; background-color:yellow;}
.color-location.gold { color:black; background-color:gold;}
.color-location.gray { color:black; background-color:#AAA;}


.red { color: red;}


.form-horizontal .control-label{
    text-align: left;
}

.form-horizontal .form-group button{
    margin-left: 15px;
}

.jumbotron{
    text-align: left;
    padding:14px;
    margin-bottom: 10px;
    color: #000055;
    border: 1px solid #ebebeb;
    background-color: #f3f1e0;
}


/*Style rechten knoppen*/
.select2-container--krajee .select2-selection--multiple .select2-selection__choice__remove {
    color: #fff;
    text-shadow: none;
    opacity: 1;
    filter: alpha(opacity=100);
}

.select2-container--krajee .select2-selection--multiple .select2-selection__choice {
    color: #fff;
    background: #000055;
}



.instruction{
    color:white;
    background-color: green;
    font-style: italic;
    padding: 6px 6px;
    border-radius: 6px;
}
#app
{
    min-height: 100%;
    margin: 0 auto -60px;
    height: auto;
}

#googlechart_gauge
{
    margin-top: 60px;
}

.location
{
    padding:0px 8px;
    font-style: normal;
    font-weight: bold;
    color:black;
    background-color:yellow;
    border: 2px solid gray;
    margin-right:6px;
    border-radius: 6px;
    width: fit-content;
    text-align: center;
}

.article-info{
    color:blue;
}

.lot-info{
    padding:0px 8px;
    font-style: normal;
    font-weight: bold;
    color:darkmagenta;
    background-color:lightgoldenrodyellow;
    border: 2px solid gray;
    margin-right:6px;
    border-radius: 6px;
}

/*171208gkn bijgemaakt om stock aantal goed te laten opvallen  180227gkn overgenomen uit mobile.xss */
.stock-info
{
    color: white;
    background: darkmagenta;
    border-radius: 6px;
    padding: 4px 6px 4px;
}

.navbar-title
{
    position: relative;
    top:-18px;
}

.navbar-info
{
    padding: 4px 6px;
    margin-left: 10px;

    color:white;
    background-color: #4b7e9a;
    border-radius: 6px;
    font-size:12px;
    float:right;
    position:relative;
    top:-4px;
}

h1 {
    font-size: 30px;
    margin-top:0px;
}

.btn-primary{
    background-color:green;
    border-color:green;
}

.navbar-inverse {
    background-color: #4b7e9a;
    border-color: #4b7e9a;
}
.navbar-inverse .navbar-nav > li > a {
    color: #ddd;
}
.navbar-inverse .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:hover, .navbar-default .navbar-nav > .active > a:focus {
    background-color: #4b7e9a;
    color: white;
}

.navbar-inverse .navbar-toggle {
    border-color: #4b7e9a;
}
.navbar-inverse .navbar-nav > .open > a,
.navbar-inverse .navbar-nav > .open > a:hover,
.navbar-inverse .navbar-nav > .open > a:focus {
    background-color: #335668;
}
.navbar-inverse .navbar-nav > .active > a,
.navbar-inverse .navbar-nav > .active > a:hover,
.navbar-inverse .navbar-nav > .active > a:focus {
    background-color: inherit;
}
.blackinput {
  color:black;
}
.scan-item-error {
    font-size: 140%;
    margin-bottom: 6px;
    margin-left: 8px;
    padding: 5px;
    background-color: red;
    color:white;
    font-weight: bold;
    border-radius: 5px;
    border: 1px solid darkred;
    /*animation: glowing 1500ms 2;*/
}

.item-scan-error {
    color: #a94442;
}

.sticky-item-scan {
  position: -webkit-sticky; /* Safari */
  position: sticky;
  padding: 0px 4px 1px 4px;
  top:50px;
  z-index: 100;
  border-radius: 0px 0px 0px 0px;
  border: rgba(200,200,200,0.9);
  border-style: solid;
  border-width: 1px;
  background-color: rgba(230,230,230,1);
}

.flex-packing-buttons {
  position: -webkit-sticky; /* Safari */
  position: sticky;
  padding: 0px 4px 1px 0px;
  margin-bottom: 4px;
  margin-top: 4px;
  top:160px;
  z-index:99;
  display: flex;
  flex-direction: row;
  transition: 1s;
}


.flex-packing-buttons > * {
    margin: 4px 4px 0 0;
}

.flex-packing-buttons > * {
    margin: 0 4px 0 0;
}

#buttons-below-grid {
    width: 100%;
    background: white;
    padding-top: 4px;
    margin-top: 0px;
}

.grid-selected {
    background-color: rgba(255,0,0,0.2) !important;
}

.ship-packing-order-line-joker {
    animation: joker-line-background 1s linear infinite !important;
    background-repeat: no-repeat;
    background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' version='1.1' height='40px' width='3900px'><text x='46' y='38' fill='red' font-size='18'>JOKER</text></svg>") !important;
}

@keyframes joker-line-background {
  0% { background-color: rgba(255,0,0,0.4);}
  50% { background-color: rgba(255,0,0,0.5);}
  100% { background-color: rgba(255,0,0,0.4);}
}

@keyframes glowing {
  0% { color: #B20000; text-shadow: 0 0 3px #B20000; }
  50% { color: #FF0000; text-shadow: 0 0 20px #D20000; }
  100% { color: #B20000; text-shadow: 0 0 3px #B20000; }
}



.footer {

    width: 100%;
    /*height: 40px;*/
    padding-top:10px;;
    background-color: #f5f5f5;
}


.container_grid {
  display: grid;
  grid-template-columns:  1fr 1fr 1fr 1fr 1fr;
  grid-template-rows: 1fr;
  gap: 0px 0px;
  grid-template-areas:
    ". .";
  justify-content: center;
  justify-items: center;
}

/* ----------- order-line ----------- */

.order-line {
}
.order-line--completed,
.order-line--joker-resolved {
  background-color: rgba(200, 255, 200, 0.25); /* green */
}
.order-line--warn {
  background-color: rgba(255, 200, 130, 0.25); /* orange */
}
.order-line--on_hold {
  background-color: rgba(255, 240, 0, 0.25); /* yellow */
}
.order-line--in_progress {
  background-color: rgba(255, 255, 200, 1); /* yellow */
}
.order-line--joker,
.order-line--definitive_joker {
  background-color: rgba(255, 200, 200, 0.85); /* red */
}

/* ----------- order-line with BOM's ----------- */

table.table  tr.order-line--bom {
  font-weight: bold;
}
table.table tr.order-line--bom td:first-of-type {
  border-right: 1px #ddd solid;
}
table.table tr.order-line--bom-details td:first-of-type {
  border-right: 1px #ddd solid;
  text-align: right;
}
table.table tr.order-line--bom-details td {
  border-top: 0;
}
table.table tr.order-line--bom-details .bom-remark {
  font-style: italic;
}

/* ----------- detail view BOM items ----------- */
.bom-items {
  border: 1px #eee solid;
  border-top: 3px #e0e0e0 solid;
  margin: 20px 0;
  padding: 15px;
  padding-top: 30px;
  border-radius: 4px;
}
.bom-items table.detail-view th,
.bom-items table.detail-view td {
  border-color: #eee;
}


@media (min-width: 1400px) {
  .container {
    width: 1370px;
  }
}

/* ----------- container, but wide ----------- */
.container--wide {
  width: unset;
  max-width: unset;
  padding: 0 20px;
  overflow: auto;
  overflow-x: hidden;
}

.container--wide .kv-expand-detail-row .kv-expanded-row > p {
  max-width: 60ch;
  margin: 2em 0 1em;
  margin-left: 45px;
}

.homepage-images {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.homepage-images .image-container {
  flex-grow: 1;
  flex-basis: 0;
  padding: 0 1.5em;
  height: auto;
}

.homepage-images img {
  height: auto;
  max-width: 100%;
  margin: 1.5em 0;
  border-radius: 8px;
  transition: transform 0.3s, box-shadow 0.3s;
  transform: scale(1);
  box-shadow: none;
  flex-grow: 1;
}

/* Remove left margin for the first image */
.homepage-images .image-container:first-child {
  padding-left: 0;
}

/* Remove right margin for the last image */
.homepage-images .image-container:last-child {
  padding-right: 0;
}

.homepage-images img:hover {
  transform: scale(1.03);
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
}

.site-index .body-content {
  font-family: Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #333;
  margin: 0.25em 0.25em 1.25em;
  text-align: justify;
}

.customer-name {
  font-size: 36px;
  font-weight: bold;
  color: #4b7e9a; /* Blue color like the navbar */
  margin-bottom: 20px;
}

.text-dimmed { opacity: .7; }

.pick-crate-list {
  list-style: none;
  margin:0; padding: 0;
  display: flex;
  gap: .5em;
}
.pick-crate {
  border-radius: 6px;
  padding: 2px 4px;
  background-color: #5cb85c;
  color: white;
}

.pick-crate--R {
  background-color: red;
}

.pick-crate--B {
  background-color: blue;
}

.pick-crate--Y {
  background-color: yellow;
  color: #000;
}

.pick-crate--G {
  background-color: green;
}
