@charset "utf-8";
/* CSS Document */

.gridwidth-datetime {width: 130px;}
.gridwidth-amount {width: 70px;}
.gridwidth-servername {width: 100px;}
.gridwidth-suppliername {width: 100px;}

.addtoandroidhomescreen-popup
{
	height: calc(100% - 40px);
	width: calc(100% - 40px);
	background: rgb(44 47 133 / 95%);
	border-top: 1px solid #000;
	display: flex;
	padding: 20px;
	align-items: center;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 500;
	color: #fff;
	display: none;
}
	.addtoandroidhomescreen-content
	{
		display: flex;
		flex-direction: column;
		flex: 1;
	}
		.addtoandroidhomescreen-text
		{
			font-size: 16px;
		}
		.addtoandroidhomescreen-buttons
		{
			display: flex;
			margin: 20px 0 0 0;
			align-items: center;
		}
			.addtoandroidhomescreen-install
			{
				padding: 6px 15px;
				border-radius: 5px;
				cursor: pointer;
				background: #c60;
			}

.addtoiphonehomescreen-popup
{
	height: calc(100% - 40px);
	width: calc(100% - 40px);
	background: rgb(44 47 133 / 95%);
	border-top: 1px solid #000;
	display: flex;
	padding: 20px;
	align-items: center;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 500;
	color: #fff;
	display: none;
}
	.addtoiphonehomescreen-content
	{
		display: flex;
		flex-direction: column;
		flex: 1;
	}
		.addtoiphonehomescreen-text
		{
			font-size: 16px;
		}

body
{
	background: #000;
	position: relative;
	display: flex;
	flex-direction: column;
	color: #915830;
	margin: 0;
	padding: 0;
	font-family: 'Roboto', arial, sans-serif;
	min-height: 100vh;
}

input,
select,
textarea
{
	border: 1px solid #000;
	font-size: 16px;
	font-family: 'Roboto', arial, sans-serif;
	padding: 5px;
}

.width30 {width: 30px !important;}
.width40 {width: 40px !important;}
.width50 {width: 50px !important;}
.width60 {width: 60px !important;}
.width70 {width: 70px !important;}
.width80 {width: 80px !important;}
.width90 {width: 90px !important;}
.width100 {width: 100px !important;}
.width120 {width: 120px !important;}
.width150 {width: 150px !important;}
.width160 {width: 160px !important;}
.width170 {width: 170px !important;}
.width180 {width: 180px !important;}
.width200 {width: 200px !important;}
.width210 {width: 210px !important;}
.width250 {width: 250px !important;}
.width275 {width: 275px !important;}
.width300 {width: 300px !important;}
.width320 {width: 320px !important;}
.width330 {width: 330px !important;}
.width340 {width: 340px !important;}
.width350 {width: 350px !important;}
.width400 {width: 400px !important;}
.width450 {width: 450px !important;}
.width500 {width: 500px !important;}
.width550 {width: 550px !important;}
.width600 {width: 600px !important;}
.width700 {width: 700px !important;}
.width800 {width: 800px !important;}
.width900 {width: 900px !important;}
.width950 {width: 950px !important;}
.width1000 {width: 1000px !important;}

.icon-supplierpayments {background-image: url(../img/icon-supplierpayments.png);}
.icon-tillcounts {background-image: url(../img/icon-tillcounts.png);}
.icon-adduser {background-image: url(../img/icon-adduser.png);}
.icon-statistics {background-image: url(../img/icon-statistics.png);}

.notification-overlay,
.confirmation-overlay,
.option-overlay
{
	background: rgba(0,0,0,.7);
	position: fixed;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	z-index: 550;
	display: flex;
	align-items: center;
	justify-content: center;
}
	.notification,
	.confirmation,
	.option
	{
		overflow: hidden;
		margin: 20px;
		padding: 20px;
		background: #fff;
    border-radius: 5px;
    box-shadow: 0px 3px 3px rgba(0,0,0,.5);
		display: flex;
		flex-direction: column;
	}
		.notification-iconmessage,
		.confirmation-iconmessage,
		.option-iconmessage
		{
			display: flex;
			padding: 20px 20px 40px 20px;
			align-items: center;
		}
			.notification-icon,
			.confirmation-icon,
			.option-icon
			{
				width: 64px;
				height: 64px;
				background-position: center;
				background-repeat: no-repeat;
				background-size: contain;
			}
			.notification-icon
			{
				background-image: url(../img/notification.png);
			}
			.confirmation-icon,
			.option-icon
			{
				background-image: url(../img/confirmation.png);
			}
			.notification-message,
			.confirmation-message,
			.option-message
			{
				display: inline-block;
				vertical-align: middle;
				width: calc(100% - 90px);
				margin: 0 0 0 20px;
				font-size: 13px;
				font-weight: bold;
				color: #6b7084;
				text-align: left;
				color: #000;
			}
		.confirmation-buttons,
		.option-options
		{
			display: flex;
			align-items: center;
			gap: 20px;
		}
		.notification-ok,
		.confirmation-confirm,
		.option-option
		{
			background: #3372c1;
			color: #fff;
			padding: 12px 40px;
			border-radius: 5px;
			font-size: 13px;
			text-align: center;
			cursor: pointer;
			margin: 0 auto;
			font-weight: bold;
		}
		.option-option + .option-option
		{
			background: #d7ad2b;
			border-color: #c19b29;
		}
		.confirmation-cancel
		{
			background: #f9a2a2;
			color: #333;
			padding: 12px 20px;
			border-radius: 5px;
			font-size: 13px;
			text-align: center;
			cursor: pointer;
		}
		.option-cancel
		{
			position: absolute;
			bottom: 10px;
			left: 0;
			right: 0;
			margin: auto;
			width: 100px;
			text-align: center;
			display: inline;
			color: #999;
			cursor: pointer;
			font-size: 12px;
		}
		.option-cancel:hover
		{
			text-decoration: underline;
		}

.popup-overlay
{
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0,0,0,.6);
	z-index: 1000;
}
	.popup
	{
		display: flex;
		margin: auto;
		flex-direction: column;
		border: 1px solid #915830;
		border-top: 0;
		background: #000;
		max-width: 95vw;
		max-height: 95vh;
	}
		.popup iframe
		{
			margin: 0;
			padding: 0;
			width: 100%;
			height: 100%;
			border: 0;
			outline: 0;
		}
		.popup-titlebar
		{
			display: flex;
			gap: 10px;
			background: #915830;
			color: #000;
			align-items: center;
		}
			.popup-titlebar-title
			{
				padding: 0 0 0 10px;
				font-weight: bold;
			}
			.popup-titlebar-close
			{
				padding: 5px 8px;
				font-weight: bold;
				margin-left: auto;
				border-left: 2px solid #000;
				cursor: pointer;
			}
		.popup-content
		{
			padding: 0 15px 15px 15px;
			display: flex;
			flex-direction: column;
		}

.maincontent
{
	min-height: calc(100vh - 260px);
	background: url(../img/bg.png) center no-repeat;
	background-size: 90%;
	display: flex;
	flex-direction: column;
	padding: 10px 15px 120px 15px;
	flex: 1;
}

form
{
	display: flex;
	flex-direction: column;
}
	.welcome,
	.title
	{
		margin-top: 20px;
		text-align: center;
		border-bottom: 1px solid #915830;
		text-transform: uppercase;
	}
	.server-name
	{
		font-size: 30px;
		font-weight: bold;
		text-align: center;
	}
  .title-button
  {
    position: absolute;
    top: 5px;
    right: 5px;
    padding: 4px;
    font-size: 12px;
  }
	
.paysupplier-options
{
	gap: 20px;
	display: flex;
	margin-top: 20px;
}
	.paysupplier-option
	{
		padding: 15px;
		background: #915830;
		display: flex;
		flex-direction: column;
		gap: 10px;
		justify-content: center;
		align-items: center;
		flex: 1;
	}
	.paysupplier-option.selected
	{
		border: 10px solid #000;
		padding: 5px;
		position: relative;
		background: #c1753f;
	}
	.paysupplier-option.unselected
	{
		opacity: .6;
	}
	.paysupplier-option.selected:after
	{
		content: '';
		display: block;
		position: absolute;
		top: -10px;
		left: -10px;
		width: calc(100% + 18px);
		height: calc(100% + 18px);
		border: 1px solid #c1753f;
	}
		.paysupplier-option-icon
		{
			width: 48px;
			height: 48px;
			background-size: contain;
			background-position: center;
			background-repeat: no-repeat;
		}
		.paysupplier-option-icon.kitchen
		{
			background-image: url(../img/kitchen.png);
		}
		.paysupplier-option-icon.bar
		{
			background-image: url(../img/bar.png);
		}
		.paysupplier-option-text
		{
			color: #000;
			font-weight: bold;
		}

.text
{
	margin: 20px 0 0 0;
	text-align: center;
}

.tillcount-total
{
	margin: 20px 0 0 0;
	text-align: center;
	font-weight: bold;
}

.addedit-row
{
	display: flex;
	gap: 10px;
	align-items: center;
	margin-top: 20px;
}
  .addedit-viewlogincode
  {
    width: 32px;
    height: 32px;
    background: url('../img/viewlogincode.png') center no-repeat;
    background-size: contain;
    cursor: pointer;
  }
	.addedit-label
	{
		width: 100px;
		text-align: right;
		font-weight: bold;
	}
	.addedit-label.autowidth
	{
		width: auto;
	}
	.addedit-input
	{
		flex: 1;					
	}
	.addedit-text
	{
		flex: 1;
	}
		.addedit-input [type=text],
		.addedit-input [type=number],
		.addedit-input select,
		.addedit-input textarea
		{
			width: calc(100% - 14px);
		}
		.addedit-input select
		{
			width: calc(100% - 4px);
		}
	.addedit-add
	{
		color: #000;
		background: #915830;
		width: 30px;
		text-align: center;
		border-radius: 2px;
		font-weight: bold;
		align-self: stretch;
		justify-content: center;
		align-items: center;
		display: flex;
		font-size: 24px;
		cursor: pointer;
	}

.addedit-button
{
	display: flex;
	color: #000;
	background: #915830;
	padding: 10px 20px;
	margin: 20px auto 0 110px;
	cursor: pointer;
	font-weight: bold;
}
.addedit-button.right
{
	margin: 0;
	margin-top: 20px;
	margin-left: auto;
}
.addedit-button.disabled
{
	cursor: default;
	color: #999;
	background: #ccc;
}
		
.buttons
{
	height: 100px;
	display: flex;
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	z-index: 100;
}
	.button
	{
		flex: 1;
		display: flex;
		flex-direction: column;
		gap: 10px;
		justify-content: center;
		align-items: center;
		color: #000;
		border-left: 1px solid #000;
		background: #915830;
		text-decoration: none;
		text-align: center;
	}
	.button.selected
	{
		background: #c1753f;
	}
	.button:first-child
	{
		border-left: 0;
	}
		.button-icon
		{
			width: 32px;
			height: 32px;
			background-size: contain;
			background-position: center;
			background-repeat: no-repeat;
		}
		.button-icon.till {background-image: url(../img/till.png);}
		.button-icon.supplier {background-image: url(../img/supplier.png);}
		.button-icon.statistics {background-image: url(../img/stats.png);}
		.button-icon.logout {background-image: url(../img/logout.png);}
    .button-icon.users {background-image: url(../img/users.png);}
		.button-icon.home {background-image: url(../img/home.png);}
		.button-text
		{
			font-weight: bold;
			text-align: center;
			font-size: 13px;
		}

.logout
{
  position: absolute;
  top: 0;
  left: 10px;
  display: flex;
  gap: 5px;
  background-color: #c1753f;
  padding: 3px 8px;
  border-radius: 0 0 4px 4px;
  align-items: center;
}
  .logout-icon
  {
    width: 16px;
    height: 16px;
    background:  url('../img/logout.png') center no-repeat;
    background-size: contain;
  }
  .logout-text
  {
    color: #000;
    font-size: 12px;
  }

.admin-controls
{
	display: flex;
	flex-direction: column;
	gap: 20px;
	align-self: center;
	margin: auto;
}
	.admin-controls a
	{
		color: inherit;
		text-decoration: none;
	}
	.admin-control
	{
		display: flex;
		gap: 20px;
		align-items: center;
    background: #915830;
    padding: 4px 12px;
    border-radius: 4px;
	}
		.admin-control-icon
		{
			width: 48px;
			height: 48px;
			background-size: contain;
			background-repeat: no-repeat;
			background-position: center;
		}
		.admin-control-text
		{
			font-weight: bold;
			color: #000;
			align-self: stretch;
			display: flex;
			align-items: center;
		}

.search
{
	display: flex;
	gap: 10px;
	margin-top: 20px;
	align-items: center;
}
	.search-input
	{
		flex: 1;
	}
		.search-input input
		{
			width: calc(100% - 12px);
		}
	.search-reset
	{
		width: 30px;
		height: 30px;
		background: url(../img/reset.png) center no-repeat;
		background-size: contain;
		cursor: pointer;
	}

.grid
{
	display: flex;
	flex-direction: column;
	margin-top: 20px;
	font-size: 13px;
	width: 100%;
	overflow-x: auto;
}
	.grid-inner
	{
		width: fit-content;
		min-width: 100%;
	}
	.grid-legend
	{
		display: flex;
		background: #915830;
	}
		.grid-legend-item
		{
			padding: 3px 6px;
			color: #000;
			font-weight: bold;
			border-left: 1px solid #000;
			flex-shrink: 0;
		}
		.grid-legend-item:first-child
		{
			border-left: 0;
		}
	.grid-rows
	{
		flex: 1;
		overflow-y: auto;
		max-height: calc(100vh - 300px);
	}
		.loading
		{
			height: 40px;
			background: url(../img/loading.gif) center no-repeat;
			background-size: auto 30px;
		}
		.noresults
		{
			text-align: center;
			font-style: italic;
			padding: 20px;
			background: #222;
		}
		.grid-row
		{
			background: #222;
			display: flex;
			align-items: stretch;
		}
		.grid-row:nth-child(even)
		{
			background: #111;
		}
    .grid-row.disabled
    {
      color: #999 !important;
      text-decoration: line-through !important;
    }
			.grid-row-item
			{
				padding: 3px 6px;
				border-left: 1px solid #000;
				flex-shrink: 0;
				display: flex;
				align-items: center;
			}
			.grid-row-item:first-child
			{
				border-left: 0;
			}
			.grid-controls
			{
				padding: 3px 6px;
				margin-left: auto;
				display: flex;
				gap: 5px;
			}
				.grid-controls > div
				{
					width: 24px;
					height: 24px;
					background-size: contain;
					background-repeat: no-repeat;
					background-position: center;
					cursor: pointer;
				}
				.grid-control-view {background-image: url(../img/icon-details.png);}
        .grid-control-edit {background-image: url(../img/icon-edit.png);}

.stats
{
	display: flex;
	flex: 1;
	flex-direction: column;
	margin-top: 30px;
  justify-content: space-evenly;
}
	.stats-items
	{
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
	}
		.stats-value
		{
			padding: 20px 0;
			display: flex;
			align-items: center;
			justify-content: center;
			font-size: 30px;
			font-weight: bold;
			height: 20px;
		}
		.stats-value:empty
		{
			padding: 0;
			height: 60px;
			background: url(../img/loading.gif) center no-repeat;
			background-size: 40px;
		}
			.stats-noresults
			{
				display: flex;
				align-items: center;
				justify-content: center;
				font-size: 20px;
				height: 20px;
				color: #777;
			}
		.stats-text
		{
			text-align: center;
			font-weight: bold;
			color: #aaa;
		}