:root {
  --orange: #df5d08;
  --fadeOrange: #BC1A01;
  --yellow: #FFCC00;
  --blue: #20a2f7;
  --lightblue: #9bd6fc;
  --slightblue: #e5f4fe;
  --darkblue: #0779c3 ;
  --lightOrange: #fde1ce;
  --red: #e8442f;
  --darkred: #a22f20;
  --lightgrey: #f3f2f4;
  --whitegrey: #fcfcfd;
  --slightgrey: #f9f9fa;
  --themelightgrey: #dcdcdb;
  --themedarkgrey: #525149;
  --darkgrey: #363e4a;
  --grey: #878A94;
  --TOPgrey: #6D6966;
  --uploadButtonColor: #fde1ce;
  --defaultFontSize: 15px;
  /* --defaultFontFamily: tradeGothic, 'Comfortaa', cursive; */
  --defaultFontFamily: 'Niramit', sans-serif;
}

@font-face {
    font-family: "barcodefont";
    src: url("./3OF9.TTF");
}

.barcode {
	font-family: "barcodefont" !important;
	font-size: 28px !important;
}

body, #content {
	margin: 0px;
	font-family: var(--defaultFontFamily);
}

#homeContent {
	background:url(../img/background.png) top right no-repeat; 
	background-attachment:fixed;	
}


h1, h2, h3, h4 {
	font-weight: 200 !important;
}

header {
	z-index: 100;
}


header {
	border-bottom: 1px solid #808080;
	background-color: var(--slightgrey);
	height: 45px;
	position: fixed !important;
	width: 100%;
}

.headerSpace {
	padding-top: 45px;
}

.compact_small {
	margin: 0 auto;
	width: 69%;
}

footer {
	position: fixed;
	bottom: 0px;
	left: 0px;
	height: 30px;
	line-height: 30px;
	background-color: var(--lightgrey);
	width: 100%;
}

.text-center {
	text-align: center;
}
.text-left {
	text-align: left;
}
.text-right {
	text-align: right;
}

@media (max-width: 1350px) {
	.compact_small {
		margin: 0 auto;
		width: 100%;
	}
}

.containerTitle {
	color: var(--orange) !important;
	margin-bottom: 20px;
	width: 100%;
	overflow: hidden;
}

h1.containerTitle {
	font-size: 25px;
}
h2.containerTitle {
	font-size: 20px;
}
.containerTitle:after {
	background: var(--themedarkgrey);	
	content: "";
	display: inline-block;
	height: 1px;
	position: relative;
	vertical-align: middle;
	width: 100%;
}

.containerSubTitle {
	margin-top: -20px;
	margin-bottom: 20px;
	width: 100%;
	text-align: center;
	font-size: var(--defaultFontSize);
}

p {
	padding-left: 15px;
}

#automatic-label,
#manual-label {
	width: 50%;
	float: left;
	height: calc( 100vh - 200px);
	box-sizing: border-box;
	padding: 20vh 20px 0 20px;
	text-align: center;
}

#automatic-label:hover,
#manual-label:hover {
	cursor: pointer;
	background-color: var(--slightblue);
}

#automatic-label {
	border-right: solid 1px black;
}

#automatic-label h4 {
	margin-top: -15px;
}

.button_highlight {
	margin: 3px;
	background-color: var(--blue);
	color: white;
	padding: 7px;
	font-size: 16px;
	border: none;
	border-radius: 5px;
}

.button_highlight:hover {
	cursor: pointer;
	background-color: var(--darkblue);
}

.button_main {
	margin: 3px;
	background-color: var(--orange);
	color: white;
	padding: 7px;
	font-size: 16px;
	border: none;
	border-radius: 5px;
}

.button_main:hover {
	cursor: pointer;
	background-color: var(--fadeOrange);
}

.button_sub {
	margin: 3px;
	background-color: var(--grey);
	color: white;
	padding: 7px;	
	font-size: 16px;
	border: none;
	cursor: pointer;
	border-radius: 5px;
}

.button_sub:hover {
	background-color: var(--darkgrey);
}

.whitegreyShadowPanel {
	background-color: var(--whitegrey);
	padding: 20px;
	border-radius: 7px;
	border: 3px solid white;
	-webkit-box-shadow: 0px 0px 1px 0px rgba(0,0,0,0.31);
	-moz-box-shadow: 0px 0px 1px 0px rgba(0,0,0,0.31);
	box-shadow: 0px 0px 2px 0px rgba(0,0,0,0.31);
	margin: 25px;
	position: relative;
}

.left {
	float: left;
}

.right {
	float: right;
}

.clear {
    clear: both;
    height: 0;
    line-height: 0;
    font-size: 0;
}

.stretch {
	width: 100%;
}

.margin_top-25 {
	margin-top: 25px;
}

.margin_left-25 {
	margin-left: 25px;
}

#notifications {
	max-height: 300px;
	font-size: 14px;
}

#labels p {
	margin-top: 0px;
	margin-bottom: 0px;
}

#labels {
	counter-reset: label;
}

#labels .label {
	position: relative
}

#labels .label:before {
	position: absolute;
	right: 0px;
	top: 0px;
	font-size: 100px;
	line-height: 80px;
	font-family: 'Audiowide', cursive;
	color: white;
	text-shadow: 0px 0px 18px rgba(0, 0, 0, 0.1);
	counter-increment: label;
	content: counter(label);
}

#labels i,
#labels i.space {
	width: 35px;
	color: grey;
	display: inline-block;
	font-size: 13px;
	text-align: center;
}

i.removeProductionId {
	position: absolute;
	bottom: 0px;
	right: 10px;
	font-size: 20px !important;
	color: grey;
	display: none !important;
}

.removeProductionId:hover {
	color: darkred !important;
	cursor: pointer;
}

#labels .label:hover .removeProductionId {
	display: block !important;
}	

.gridImg {
	max-width: 100%;
	-webkit-box-shadow: 0px 0px 8px 0px rgba(0,0,0,0.51);
    -moz-box-shadow: 0px 0px 8px 0px rgba(0,0,0,0.51);
    box-shadow: 0px 0px 8px 0px rgba(0,0,0,0.51);
}

#productionId {
	width: 100%;
	margin-bottom: 15px;
}

.flex-container {
	display: -webkit-flex;
	display: flex;
	-webkit-flex-direction: row;
	flex-direction: row;         
	flex-wrap: wrap;
	min-width: 320px;
}

.flex-item {
	position: relative;
	display:flex;
	flex-direction: column;	
	text-align: center;
	margin: 12px;
	padding: 6px;
	max-width: 170px;
	border-bottom: solid 1px transparent;
}

.flex-item:hover {
	cursor: pointer;
	border-bottom: solid 1px var(--orange);
}

.flex-item img {
	flex-grow:0;
	flex-shrink:0;
	width: 140px;
}

.flex-item p {
	text-align: center;
	
	font-size: 14px;
	margin: 4px 0 15px 0;
}

.icon-20 {
	font-size: 20px;
}

table#labels {
	display: block;
	max-width: 100%;
	table-layout: fixed;
	border-spacing: 0px;

}

table#labels th {
	padding-bottom: 20px;
}

table#labels tr:nth-child(even) {
	background-color: var(--slightgrey);
}

table#labels tbody tr:hover {
	cursor: pointer;
	background-color: var(--lightOrange);
}

table#labels td {
	padding: 10px 5px;
	font-size: 14px;
}

th {
	padding: 5px 5px;
	text-align: left;
}

table#labels tr td:first-child i {
	font-size: 20px;
}

table#labels tr td:first-child {
	text-align: center; 
	vertical-align: middle;
}

table#labels tr.labelStatus-1000 td:first-child {
	border-left: solid 4px #17a5c9;
}

table#labels tr.labelStatus-1001 td:first-child {
	border-left: solid 4px Aqua;
}

table#labels tr.labelStatus-2000 td:first-child {
	border-left: solid 4px var(--themedarkgrey);
}

table#labels tr.labelStatus-1999 td:first-child {
	border-left: solid 4px var(--grey);
}

table#labels tr.labelStatus-11 td:first-child {
	border-left: solid 4px #44ca44;
}

table#labels tr.labelStatus-92 td:first-child {
	border-left: solid 4px var(--orange);
}


#labelDetails table {
	width: 100%;
	max-width: 100%;
}

#labelDetails table td {
	width: 50%;
	max-width: 50%;
	padding: 10px;
}

#automatic-label-input {
	margin-bottom: 100px;
}

.loading p {
	text-align: center;
	font-size: 20px;
}

.hidden {
	display: none;
}

.ellipsis {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 150px;
}

.warning {
	text-align: center;
	background-color: rgba(223,93,8,0.2);
	border-bottom-left-radius: 20px;
	border-bottom-right-radius: 20px;
	padding: 10px !important;
}