@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700;900&display=swap');

/* ------------------------------------------------------------
General styles
------------------------------------------------------------ */

html, body {
	font: 12px/15px sans-serif;
	font-family: 'Roboto', sans-serif;
	background: #fff;
	padding: 3px;
	color: #666;
	margin: 0;
	max-width:500px;
	line-height:20px;
}

ul {
	padding-left: 10px;
	margin: 10px 0px 3px 0px;
}

li { 
	list-style-type: square;
}

p {
	margin: 5px 0px 3px 0px;
}

p.close {
    /*margin: 5px 0px 3px 0px;*/
}

div {
    margin: 0px;
    padding: 0px;
}

* {
	float: none;
}

form {
	box-sizing:border-box;
	margin-top:0px;
}

#cancelForm {
   	border:none; 
}

input{
    width:100%;
    box-sizing:border-box;
}

header {
	max-width: 100%;
	overflow:hidden;
	padding-top:3px;
	padding-bottom:3px;
	padding-left:10px;
}

#page{
	border:solid 1px #CCC;
	border-radius:5px;
	padding:3px;
	position:relative;
	box-shadow: #E7E7E7 0px 2px 3px 3px;
}	

#header p {
	padding:5px;
	padding-left:10px;
	background-color:#F9F7F3;
}

#header p:empty {
	padding:0px;
	padding-left:0px;
	background-color:#FFF;
}

#header h1{
	padding-left:10px;
	padding-top:3px;
	padding-bottom:3px;
  	border-radius:5px 5px 0px 0px;
}

img {
	border: none;
	max-width: 100%;
}

hr {
    margin: 0px 0px;
    height: 0px;
    border-top: 1px solid #DDD;
    border-bottom: 0px solid #EFEFEF;
    color: blue;
}

h1 {    
    font-size: 16px;
    margin: 0px 0px 5px;
    padding: 2px;
}

h2, h3, h4, h5, h6 {
    font-weight: normal;
}
#content {
	padding:3px;
	width:auto;
}
#content img { 
    max-width: 240px;
}

.left110 {
    margin-left: 110px;
}

.highlight {
    background-color: yellow;
}

.lowlight {
    background-color: #F9F7F3;
    padding: 10px;
}

.odd-row {
    background-color: #CCC;
}

/* ------------------------------------------------------------
Link styles
------------------------------------------------------------ */

a:link, a:visited {
    text-decoration: underline;
    color: #666;
    font-weight:bold;
  
}

a:hover, a:active {
    text-decoration: underline;
    color: #333;
    font-weight:bold;
    
}

.debug {
	padding:10px;
	color:#999;
	box-sizing:border-box;
}

.debug em {
	color:#666;	
}

.debug strong, .debug b {
	color:#666;	
}

.debug p {
	margin-top:10px;
}

/* ------------------------------------------------------------
Float styles
------------------------------------------------------------ */

.footerLeft {
    float: left;
    font-size: 11px;
    padding: 3px 0 0px 0px;
    margin-right: 15px;
    box-sizing:border-box;
}

.footerRight {
    float: right;
    font-size: 11px;
    padding: 3px 0 0 0;
    margin-left: 15px;
    box-sizing:border-box;
}

.floatLeft {
    float: left;
}

.floatRight {
    float: right;
}

.clear {
    clear: both;
}

.clearLeft {
    clear: left;
}

.clearRight {
    clear: right;
}

/* ------------------------------------------------------------
Text styles
------------------------------------------------------------ */

.error {
	padding:5px;
	border-radius:5px;
    color: red;
    background-color:#990000;
    color:#FFF;
}

.warning {
    color: #f45942;
}

.strong {
    font-weight: bold;
}

.message {
    padding:5px;
    border-radius:5px;
    color: red;
    background-color:#009900;
    color:#FFF;

}

.red {
    color: red;
}

.green {
    color: green; 
}

.blue {
    color: blue; 
}

/* ------------------------------------------------------------
Specific div styles
------------------------------------------------------------ */

div#footer {
    margin-top: 10px;
    padding: 3px;
    background-color: #ccc; 
}

div.productPickingInstruction, div.productPackingInstruction {
    margin: 10px;
    padding: 5px;
    color: #000;
    background-color: orange; 
    font-weight: bold;
}

/* ------------------------------------------------------------
Table styles
------------------------------------------------------------ */

th {
	text-align: left;
}

table td.integer, table th.integer {
    text-align: right;
}

table.nested-table {
	border: 1px solid; 
	border-collapse: collapse;
	width: 100%;
}
  
table.nested-table th, td {
	border: 1px solid; 
	padding: 5px;
  	text-align: center;
}
  
/* ------------------------------------------------------------
Button styles
------------------------------------------------------------ */

input.button {
    width: 100%;
    text-align: center;
}

input.menuButton {
	width: 100%;
	text-align: center;
}

button.menuButton {
    width: 100%;
    text-align: center;
}

input.siteButton {
	width: 100%;
	text-align: center;
}

input.organisationButton {
	width: 100%;
	text-align: center;
}

input.wideButton {
	width: 100%;
	text-align: center;
}

input.batchButton {
    min-width: 120px;
    text-align: center;
}

input.urgentBatchButton {
    color: red;
    background-color: yellow;
    height:29px;
    border-radius:5px;
    border:solid 1px #ffcc00;
}

input.urgentBatchButton:hover {
    box-shadow: 1px 1px 1px #fcaf3e;
}

input.productImage {
	padding:2px;
	border:solid 2px #0000CC;
	background-color:#FFF;
	max-height: 200px;
	max-width: 200px;
}

input[type=submit] {
	border:solid 1px #CCC;
	border-radius:5px;
	padding:3px;	
}
	
input[type=submit]:hover:not([disabled]) {
	border:solid 1px #CCC;
	background-color:#E7E7E7;
	cursor:pointer;
}

	
/* ------------------------------------------------------------
Other input styles
------------------------------------------------------------ */

input.dateNumber {
    width: 5em;
}

/* ------------------------------------------------------------
Header styles
------------------------------------------------------------ */

div#header h1 {
    background-color: #666;
    color: white;
}

div#header h1.locationTitle {
	background-color: #990000;
}

div#header h1.workstationTitle {
	background-color: #FFCC00;
}

div#header h1.licencePlateTitle {
	background-color: orange;
}

div#header h1.productTitle {
    background-color: #009900;
}

div#header h1.quantityTitle {
    background-color: #000099;
}

div#header h1.supplierReferenceTitle {
	background-color: #ffa348;
}

div#header h1.vehicleRegistrationTitle {
	background-color: #986a44;
}

div#header h1.driverNameTitle {
	background-color: #8ff0a4;
}

/* ------------------------------------------------------------
Suggestion styles
------------------------------------------------------------ */

table.suggestionTable {
    width: 100%;
}

table.suggestionTable td {
	padding: 5px;
}

span.highlightLocation {
	padding: 3px;
    color: white;
    background-color: #990000;
    font-weight: bold;
}

span.highlightProduct {
    padding: 3px;
    color: white;
    background-color: #009900;
    font-weight: bold;
}

span.highlightQuantity {
    padding: 3px;
    color: white;
    background-color: blue;
    font-weight: bold;
}

span.highlightShipment {
    padding: 3px;
    color: white;
    background-color: #9141ac;
    font-weight: bold;
}

span.listProduct {
    color: #339933;
    font-weight: bold;
}

span.listLocation {
    color: #990000;
    font-weight: bold;
}

/* ------------------------------------------------------------
Product link styles
------------------------------------------------------------ */

span.highlightProduct a {
    color: white;
}

span.highlightProduct a:link, span.highlightProduct a:visited {
    text-decoration: none;
}

span.highlightProduct a:hover, span.highlightProduct a:active {
    text-decoration: underline;
}

span.listProduct a {
    color: #009900;
    font-weight: bold;
}

span.listProduct a:link, span.listProduct a:visited {
    text-decoration: none;
}

span.listProduct a:hover, span.listProduct a:active {
    text-decoration: underline;
}

/* ------------------------------------------------------------
Purpose styles
------------------------------------------------------------ */

.purpose {
	color: white;
	padding: 2px;
	font-weight: bold;
	font-size: 110%;
}

.purpose_stock {
	background-color: red;
}

.purpose_pack {
	background-color: blue;
}

.purpose_unwanted {
	background-color: purple;
}

.purpose_damaged {
	background-color: #FFCC33;
}

.purpose_inspection {
	background-color: green;
}

/* ------------------------------------------------------------
Logout styles
------------------------------------------------------------ */

.logout {
	margin-top:10px;
	background-color:#666;
	color:#FFF;
	border-radius:5px;
	padding:5px;
	text-align:center;
	box-shadow: #CCC 0px 1px 2px 2px;
}

.logout:hover {
	background-color:#444;
	cursor:pointer;
}

.logout a {
	color:#FFF;
	text-decoration:none;
	font-weight:bold;
}

#content p:first-of-type {
	margin-bottom:10px;
}

.watermark {
    background-color: #FEFDDE;
    margin-bottom:2px;
    border-bottom:solid 2px #990000;
    border-top:solid 2px #990000;
    color:#990000;
    font-weight:bold;
    text-align:center;
}

.realtimeWatermark{
	height:16px;
	float:right;
	margin-right:2px;
	margin-top:2px
}

/* loading overlay styling */
.overlay {
    background: rgba(50,50,50,0.7);
    position: absolute;
    max-width:500px;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin:-5px;
    text-align:center;
}
.overlay h3 {	
	color:#FFF;
	font-weight:bold;
}
.lds-ring {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
  margin-top:70px;
}
.lds-ring div {
  box-sizing: border-box;
  display: block;
  position: absolute;
  width: 64px;
  height: 64px;
  margin: 4px;
  border: 4px solid #666;
  border-radius: 50%;
  animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  border-color: #fff transparent transparent transparent;
}
.lds-ring div:nth-child(1) {
  animation-delay: -0.45s;
}
.lds-ring div:nth-child(2) {
  animation-delay: -0.3s;
}
.lds-ring div:nth-child(3) {
  animation-delay: -0.15s;
}
@keyframes lds-ring {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}




