/*=====Blazor styling=====*/
#blazor-error-ui {
    background: lightyellow;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    bottom: 0;
    left: 0;
    top: 0;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

#components-reconnect-modal {
    position: fixed;
    bottom: 0;
    left: 0;
    top: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.9);
}

    #components-reconnect-modal,
    #components-reconnect-modal > * > .show,
    #components-reconnect-modal > * > .failed,
    #components-reconnect-modal > * > .rejected {
        display: none;
    }

        #components-reconnect-modal.components-reconnect-show,
        #components-reconnect-modal.components-reconnect-failed,
        #components-reconnect-modal.components-reconnect-rejected,
        #components-reconnect-modal.components-reconnect-show > * > .show,
        #components-reconnect-modal.components-reconnect-failed > * > .failed,
        #components-reconnect-modal.components-reconnect-rejected > * > .rejected {
            display: block;
        }

        #components-reconnect-modal > .wrapper {
            max-width: 600px;
            padding-top: 100px;
            font-size: large;
        }

/*=====Default element styling=====*/
:root {
	font-family: 'Poppins', arial;
	font-weight: 500;
	font-size: 14px;
	color: var(--foody-dark-gray);
}

body {
	padding: 0;
	margin: 0;
	background-color: var(--bg-color);
}

/* Everything is relative... */
* {
	position: relative;
}

p {
	margin: 6px 0;
}

.subtext, .subtext span {
	font-size: 0.75rem;
	font-weight: 400;
	color: var(--foody-gray);
}

h1, h2, h3, h4, h5, h6 {
	margin: 5px 0 3px 0;
	font-size: 1rem;
	color: var(--header-text-color, var(--foody-purple));
}

h1 {
	font-size: 2.25rem;
	font-weight: 700;
	padding: 10px 0 5px 0;
}

h2 {
	font-size: 2rem;
	font-weight: 700;
	padding: 10px 0 5px 0;
}

h3 {
	font-size: 1.25rem;
	font-weight: 600;
	padding: 10px 0 5px 0;
}

h4 {
	font-size: 1rem;
	font-weight: 600;
	padding: 10px 0 5px 0;
}

.subtitle {
	font-size: 1rem;
	font-weight: 500;
	padding: 10px 0 5px 0;
}

.capitalised {
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.625rem;
	letter-spacing: 2px;
	text-transform: capitalize;
}

.body {
	font-size: 1em;
	font-weight: 400;
	line-height: 1.625rem;
}

.body-smaller {
	font-size: 0.875em;
	font-weight: 400;
	line-height: 1.5rem;
}

a {
	text-decoration: none;
}
a.no-link {
	color: initial;
}

button {
	font-family: 'Poppins', Arial;
}

hr {
	width: 100%;
	width: -webkit-fill-available;
	border-bottom: 1px solid var(--foody-gray);
	border-top: none;
}

	hr.white {
		border-bottom-color: var(--foody-soft-white);
	}

	hr.gray {
		border-bottom-color: var(--foody-gray);
	}

/*=====Layout styling=====*/
:root {
	--margin-30px: 30px;
}

body {
	display: grid;
	grid-gap: 0;
	grid-template-areas: "header" "content";
	grid-template-rows: 7rem 1fr;
	margin: 0;
	width: 100%;
	height: 100%;
	position: fixed;
}

	/*===Header===*/
	body > .header {
		grid-area: header;
		box-shadow: 1px 0 2px white;
		max-width: calc(100% - 6em);
		background-color: white;
		padding: 1rem 3rem 0.5rem;
	}


	/*===Sidebar===*/
	body > .sidebar {
		grid-area: sidebar;
		display: none;
		--header-text-color: var(--foody-soft-white);
		background-color: var(--foody-brand-dark-gray);
		color: var(--foody-text-white);
		padding: 1rem;
		box-shadow: 1px 0 2px black;
		z-index: 99;
	}

		body > .sidebar h1,
		body > .sidebar h2,
		body > .sidebar h {
			color: var(--foody-text-white);
		}

		body > .sidebar.shown {
			display: block;
			position: fixed;
			top: 0;
			bottom: 0;
			right: 0;
			left: 0;
		}

		body > .sidebar img {
			max-width: 100%;
			max-height: 100px;
		}

@media (min-height: 769px) {
	body > .sidebar img {
		max-width: 100%;
		max-height: 200px;
	}
}


body > .sidebar .bottom {
	position: absolute;
	bottom: 1em;
}

body > .sidebar .bottom,
body > .sidebar .content {
	padding: 5px 1em;
}

body > .sidebar p {
	color: lightblue;
}

body > .sidebar a {
	color: var(--foody-light-gray);
}

#sidebar-closer,
#sidebar-opener {
	position: absolute;
	z-index: 2;
	top: 0;
	right: 0;
	padding: 1rem;
}

#sidebar-opener {
	position: fixed;
	z-index: initial;
}

/*===Main content===*/
body > .content {
	grid-area: content;
	padding: 2rem 3rem;
	overflow-y: auto;
}

/*===Wide screens===*/
@media (min-width: 1025px) {
	body {
		grid-template-columns: auto 1fr;
		grid-template-areas: "sidebar header" "sidebar content";
	}

		/*===Sidebar===*/
		body > .sidebar {
			display: block;
		}

			body > .sidebar.shown {
				position: relative;
				max-width: 300px;
			}

			body > .sidebar:not(.shown) {
				max-width: 50px;
			}

				body > .sidebar:not(.shown) > * {
					display: none;
				}

			body > .sidebar img {
				max-width: 200px;
			}

	#sidebar-opener {
		display: none;
	}

	.sidebar:not(.shown) + #sidebar-opener {
		display: block;
		position: absolute;
		color: var(--foody-soft-white);
		left: -0.5rem;
		z-index: 100;
		width: fit-content;
	}
}

/*===Sidebar===*/
.main.container-shaded {
	padding: 1em;
	margin: 0 auto;
	max-width: 1200px;
}

.navigation-bar {
	width: calc(100% - 4em);
	display: grid;
	grid-auto-columns: max-content;
	grid-gap: 5px;
}

/*=====Color palette=====*/
:root {
	/* Brand color green*/
	--foody-brand-green: #237b26;
	/* Brand color purple*/
	--foody-brand-purple: #9F0073;
	--foody-brand-purple-shade: #8C0065;
	--foody-brand-purple-tint: #A91A81;
	--foody-brand-purple-tint-secondary: #9F0073, 24%;
	/* Brand color dark gray */
	--foody-brand-dark-gray: #222222;
	--foody-brand-dark-gray-hover: #3A3A3A;
	--foody-brand-dark-gray-tint: #4F4F4F;
	/* Text colors*/
	--foody-text-gray: #6D6D6D;
	--foody-text-dark-gray: #222222;
	--foody-text-white: #FFFFFF;
	/* Accents */
	--foody-accent-very-light-gray: #F6F6F6;
	--foody-accent-light-violet: #CDC3CC;
	--foody-accent-lighter-violet: #E6E2E3;
	--foody-accent-transparent-violet: #9F0073, 7%;
	--foody-accent-light-gray: #E0E0E0;
	/* Warnings and errors*/
	--foody-danger: #C90000;
	--foody-danger-shade: #B10000;
	--foody-danger-tint: #CE1A1A;
	/* Remove after design 2.0*/
	--foody-purple: #9F0073;
	--foody-blue: #2185B1;
	--foody-blue-active: #19688A;
	--foody-blue-dark: #0D3445;
	--foody-crimson-red: #DC143C;
	--foody-orange: #FFAB2F;
	--foody-dark-gray: #222222;
	--foody-gray: #6D6D6D;
	--foody-light-gray: #E0E0E0;
	/* Maybe not remove? */
	--foody-soft-white: #F3F3F3; /* Used for not blindingly white BG*/
}

:root {
	/*"Main" colors*/
	--bg-color: var(--foody-soft-white, white);
	--card-bg-color: white;
	--header-text-color: var(--foody-brand-dark-gray, darkgray);
	--foody-brand-primary: var(--foody-brand-green);
	--foody-background-primary: white;
	--foody-brand-secondary: var(--foody-blue);
}
/*=====Card-related styling=====*/
.card-container {
	display: grid;
	grid-template-columns: repeat(1, 1fr);
}

@media (min-width: 520px) {
	.card-container {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 820px) {
	.card-container {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (min-width: 1120px) {
	.card-container {
		grid-template-columns: repeat(4, 1fr);
	}
}

.card {
	background-color: var(--card-bg-color);
	margin: 3px;
	padding: 5px;
	border-radius: 5px;
	-webkit-box-shadow: 0 3px 1px -2px rgba(0,0,0,.2), 0 2px 2px 0 rgba(0,0,0,.14), 0 1px 5px 0 rgba(0,0,0,.12);
	-moz-box-shadow: 0 3px 1px -2px rgba(0,0,0,.2), 0 2px 2px 0 rgba(0,0,0,.14), 0 1px 5px 0 rgba(0,0,0,.12);
	box-shadow: 0 3px 1px -2px rgba(0,0,0,.2), 0 2px 2px 0 rgba(0,0,0,.14), 0 1px 5px 0 rgba(0,0,0,.12);
}

	.card + .card {
		margin-top: 1rem;
	}

.card-form-action-container {
	position: absolute;
	bottom: 0;
	right: 0;
}

.card-form-action-container-sticky {
	position: sticky;
	bottom: 0;
	right: 0;
}


/*=====Container styles=====*/
.container,
.container-shaded {
    margin: 1em;
    padding: 10px;
    border-radius: 2px;
}

.container-shaded,
.container.shaded {
    background-color: var(--card-bg-color);
    -webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    -moz-box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    transition: all 0.3s cubic-bezier(0.25,.8,0.25,1);
}

.desc-container {
    padding: 15px;
    border-top: 1px solid var(--foody-purple);
    border-bottom: 1px solid var(--foody-purple);
    display: block;
}
/*=====Drag'n'drop styling=====*/
.drag-drop-dropzone {
    min-height: 1em;
    border: 1px dashed black;
    border-radius: 2px;
    padding: 3px;
    margin-bottom: 5px;
}

    .drag-drop-dropzone .plk-dd-spacing {
        display: none;
    }

    .drag-drop-dropzone .plk-dd-dragged-over {
        background-color: lightgray;
    }

.plk-dd-draggable {
    cursor: grab;
}

    .plk-dd-draggable:not(.no-bg) {
        border-radius: 20px;
        background-color: var(--foody-light-gray, #E6E2E3);
        padding: 3px 3px 3px 10px;
    }

.drag-drop-list .plk-dd-spacing {
    height: 1em;
    grid-column: 1 / -1;
}

.drag-drop-list .plk-dd-spacing-dragged-over {
    background-color: lightgray;
    border: 1px dashed black
}

/*=====Flex styling=====*/
.flex {
    display: flex;
}

.flex-row {
    display: flex;
    flex-direction: row;
}

.flex-row-spacing {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.flex-column {
    display: flex;
    flex-direction: column;
}

.flex.center-content {
    align-items: center;
}

.grid.gap-short,
.gap-short {
    gap: 0.3em;
}

.grid.gap-long,
.gap-long {
    gap: 1.5em;
}

/*=====Card-related styling=====*/
.form-header-block {
}
    .form-header-block > .header {

    }

    .form-header-block > .action {

    }

.block-divider {
    border: 0;
    height: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    margin-top:25px!important;
}
/*=====Grid styling=====*/
.grid {
	display: grid;
	gap: 0.3em;
}

.subgrid-col {
	display: grid;
	grid-template-columns: subgrid;
}

.grid-flow-column {
	grid-auto-flow: column;
}

.grid-form-gap {
	gap: 20px;
}

.grid-auto-1fr {
	align-items: center;
	grid-template-columns: auto 1fr;
}

.grid-1fr-auto {
	grid-template-columns: 1fr auto;
}
.grid-max-max {
	grid-template-columns: repeat(2, max-content);
}

.grid-auto-fill {
	--grid-col-min-width: 200px;
	grid-template-columns: repeat(auto-fill, minmax(var(--grid-col-min-width), 1fr) );
}

/*===Grid rows===*/
.grid-header-row {
	font-weight: 600;
}

.grid-header-row,
.grid-row,
.grid-column {
	display: contents;
}

/*===Grid content===*/
.grid > .grid-header-row > *,
.grid > .grid-row > *,
.grid > * {
	margin: 0;
}

/*===Specific styles===*/
.grid.center-content {
	align-items: center;
}

.grid-list {
	gap: 5px 15px;
}

.grid.highlight-every-2nd-row {
	gap:0;
}
	.grid.highlight-every-2nd-row .grid-header-row > * {
		padding: 0.3em;
		background-color: var(--foody-dark-gray);
		color: var(--foody-soft-white);
	}
	.grid.highlight-every-2nd-row .grid-row > * {
		padding: 0.15em 0.35em;
	}

.grid.highlight-every-2nd-row .grid-row:nth-child(2n+1) > * {
	background-color: var(--foody-light-gray);
}

.grid.table-filter-bar {
	gap: 0.5rem 1.5rem;
	padding-bottom: 0.25rem;
	border-bottom: solid 1px lightgray;
	margin-bottom: 0.75rem;
}

/*===Helpers===*/
.grid-c-span-all {
	grid-column: 1/-1;
}

.grid-r-span-all {
	grid-row: 1/-1;
}

.list-icon {
    font-size:1.2rem;
    padding: 0 10px;
}

/*=====Buttons and Links=====*/
/* For unstyled buttons */
.no-btn {
    height: auto;
    width: auto;
    width: max-content;
    padding: 0;
    margin: 0;
    background-color: none;
    background-color: transparent;
    text-decoration: none;
    border: none;
}

    .no-btn:not([disabled]) {
        cursor: pointer;
    }

/* Set button variables */
.btn {
    --button-color: var(--foody-gray, light-gray);
    --button-contrast-color: var(--foody-soft-white, white);
}

/* Buttonify anything*/
.btn {
    background-color: transparent;
    border: solid 2px transparent;
    color: #ffffff;
    display: inline-block;
    padding: 0.5em;
    font-size: 0.85rem;
    text-decoration: none;
    text-align: center;
    text-transform: uppercase;
    font-weight: bold;
    min-width: 80px;
    height: fit-content;
    border-radius: 3px;
    cursor: pointer;
    transition: all 200ms;
}

    .btn:disabled,
    .btn.primary:disabled,
    .btn.secondary:disabled,
    .btn.white:disabled,
    .btn.transparent:disabled,
    .btn.positive:disabled,
    .btn.negative:disabled {
        border-color: var(--foody-dark-gray);
        background-color: var(--foody-dark-gray);
        cursor: default;
    }

    /* Utility */
    .btn.with-margin {
        margin: 2px;
    }

    .btn.left-align {
        text-align: start;
    }


    /* Sizes */
    .btn.small {
        font-size: 0.75rem;
        padding: 0.15rem 0.2rem;
        width: fit-content;
    }

        .btn.small.no-min-width {
            min-width: 0;
        }

    .btn.large {
        font-size: 1.25rem;
        padding: 0.3rem 0.7rem;
        min-width: 130px;
    }

    /* Colors */
    .btn.positive,
    .btn.primary {
        --button-color: var(--foody-brand-primary);
        --button-background-color: var(--foody-background-primary);
    }

    .btn.secondary {
        --button-color: var(--foody-brand-secondary);
    }

    .btn.white {
        --button-color: white;
        --button-contrast-color: var(--foody-dark-gray, darkgray);
    }

    .btn.negative,
    .btn.danger,
    .fa.negative {
        --button-color: var(--foody-crimson-red);
    }

        .btn:disabled,
        .btn.primary:disabled,
        .btn.secondary:disabled,
        .btn.white:disabled,
        .btn.transparent:disabled,
        .btn.positive:disabled,
        .btn.negative:disabled {
            --button-color: var(--foody-dark-gray);
            --button-contrast-color: var(--foody-soft-white, white);
        }

    /* Shapes */
    .btn.squared {
        height: 1em;
        width: 1em;
        min-width: 1em;
        min-height: 1em;
        max-width: 1em;
        min-height: 1em;
        padding: 0.5em;
    }

    .btn.rounded {
        border-radius: 1em;
    }

    .btn.round {
        border-radius: 50%;
        font-size: 1rem;
        border: none;
        min-width: 0;
        height: 30px;
        width: 30px;
    }

    /* Apply variable styling */
    .btn,
    .btn.primary,
    .btn.secondary,
    .btn.danger,
    /* Hover, focus-strong */
    .btn.focus-strong:hover:not(:disabled),
    .btn.focus-strong.primary:hover:not(:disabled),
    .btn.focus-strong.secondary:hover:not(:disabled),
    .btn.focus-strong.danger:hover:not(:disabled) {
        background-color: var(--button-background-color);
        border-color: var(--button-color);
        color: var(--button-color);
    }

        /* Strong-focus default*/
        .btn.focus-strong,
        /* Hover, normal and weak-focus */
        .btn:hover,
        .btn.primary:hover,
        .btn.secondary:hover,
        .btn.danger:hover {
            background-color: var(--button-color);
            color: var(--button-contrast-color);
        }

        .btn.focus-weak {
            border: none;
        }

        .btn.focus-strong {
            background-color: var(--button-color);
            color: var(--button-contrast-color);
        }

/*=====Generic input styling=====*/
input[type=text],
input[type=number],
input[type=password],
input[type=email],
input[type=phone],
input[type=month],
input[type=datetime-local],
input[type=datetime],
input[type=time],
textarea,
select {
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	border: 1px solid #C2C2C2;
	box-shadow: 1px 1px 4px #EBEBEB;
	-moz-box-shadow: 1px 1px 4px #EBEBEB;
	-webkit-box-shadow: 1px 1px 4px #EBEBEB;
	border-radius: 3px;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	padding: 7px;
	outline: none;
}

label[required]::after{
	content: '*';
	color: red;
}
/*=====Text inputs=====*/
input[type=text]:focus {
    outline: none;
    box-shadow: -8px 10px 0px -7px #4EA6EA, 8px 10px 0px -7px #4EA6EA;
}

/*=====Checkbox inputs=====*/
input[type='checkbox'] {
  -webkit-appearance: none;
  width: 25px;
  min-width: 25px;
  height: 25px;
  min-height: 25px;
  background: white;
  border-radius: 3px;
  border: 2px solid var(--foody-blue-dark);
}

  input[type='checkbox']:checked {
    background: var(--foody-blue);
  }

  input[type='checkbox']:disabled {
    border-color: var(--foody-gray);
  }

  input[type='checkbox']:checked:disabled {
    background-color: var(--foody-light-gray);
  }

  /*=====Radio inputs=====*/
  input[type='radio'] {
    -webkit-appearance: none;
    width: 25px;
    min-width: 25px;
    height: 25px;
    min-height: 25px;
    background: white;
    border-radius: 50%;
    border: 2px solid var(--foody-blue-dark);
    outline: none;
  }

input[type='radio']:checked {
    background: var(--foody-blue);
}

    input[type='radio']:focus {
        box-shadow: 0 0 0 1.5px #000;
    }
/*=====Inputs/material_textfield_outlined=====*/
.material-textfield-outlined {
	--material-safari-helper1: rgb(var(--material-primary-rgb, 33, 150, 243));
	position: relative;
	display: inline-block;
	padding-top: 6px;
	font-family: var(--material-font, "Roboto", "Segoe UI", BlinkMacSystemFont, system-ui, -apple-system);
	font-size: 16px;
	line-height: 1.5;
	overflow: hidden;
}

	/* Input, Textarea */
	.material-textfield-outlined > input,
	.material-textfield-outlined > textarea {
		box-sizing: border-box;
		margin: 0;
		border: solid 1px; /* Safari */
		border-color: rgba(var(--material-onsurface-rgb, 0, 0, 0), 0.6);
		border-top-color: transparent;
		border-radius: 4px;
		padding: 5px 13px;
		width: 100%;
		height: inherit;
		color: rgba(var(--material-onsurface-rgb, 0, 0, 0), 0.87);
		background-color: transparent;
		box-shadow: none; /* Firefox */
		font-family: inherit;
		font-size: inherit;
		line-height: inherit;
		caret-color: rgb(var(--material-primary-rgb, 33, 150, 243));
		transition: border 0.2s, box-shadow 0.2s;
	}

		/* Span */
		.material-textfield-outlined > input + span,
		.material-textfield-outlined > textarea + span {
			position: absolute;
			top: 0;
			left: 0;
			display: flex;
			border-color: rgba(var(--material-onsurface-rgb, 0, 0, 0), 0.6);
			width: 100%;
			max-height: 100%;
			color: rgba(var(--material-onsurface-rgb, 0, 0, 0), 0.6);
			font-size: 75%;
			line-height: 15px;
			cursor: text;
			transition: color 0.2s, font-size 0.2s, line-height 0.2s;
		}

			/* Corners */
			.material-textfield-outlined > input + span::before,
			.material-textfield-outlined > input + span::after,
			.material-textfield-outlined > textarea + span::before,
			.material-textfield-outlined > textarea + span::after {
				content: "";
				display: block;
				box-sizing: border-box;
				margin-top: 6px;
				border-top: solid 1px;
				border-top-color: rgba(var(--material-onsurface-rgb, 0, 0, 0), 0.6);
				min-width: 10px;
				height: 8px;
				pointer-events: none;
				box-shadow: inset 0 1px transparent;
				transition: border-color 0.2s, box-shadow 0.2s;
			}

			.material-textfield-outlined > input + span::before,
			.material-textfield-outlined > textarea + span::before {
				margin-right: 4px;
				border-left: solid 1px transparent;
				border-radius: 4px 0;
			}

			.material-textfield-outlined > input + span::after,
			.material-textfield-outlined > textarea + span::after {
				flex-grow: 1;
				margin-left: 4px;
				border-right: solid 1px transparent;
				border-radius: 0 4px;
			}

	/* Hover */
	.material-textfield-outlined:hover > input,
	.material-textfield-outlined:hover > textarea {
		border-color: rgba(var(--material-onsurface-rgb, 0, 0, 0), 0.87);
		border-top-color: transparent;
	}

		.material-textfield-outlined:hover > input + span::before,
		.material-textfield-outlined:hover > textarea + span::before,
		.material-textfield-outlined:hover > input + span::after,
		.material-textfield-outlined:hover > textarea + span::after {
			border-top-color: rgba(var(--material-onsurface-rgb, 0, 0, 0), 0.87);
		}

		.material-textfield-outlined:hover > input:not(:focus):placeholder-shown,
		.material-textfield-outlined:hover > textarea:not(:focus):placeholder-shown {
			border-color: rgba(var(--material-onsurface-rgb, 0, 0, 0), 0.87);
		}

	/* Placeholder-shown */
	.material-textfield-outlined > input:not(:focus):placeholder-shown,
	.material-textfield-outlined > textarea:not(:focus):placeholder-shown {
		border-top-color: rgba(var(--material-onsurface-rgb, 0, 0, 0), 0.6);
	}

		.material-textfield-outlined > input:not(:focus):placeholder-shown + span,
		.material-textfield-outlined > textarea:not(:focus):placeholder-shown + span {
			font-size: inherit;
			line-height: 3em;
		}

			.material-textfield-outlined > input:not(:focus):placeholder-shown + span::before,
			.material-textfield-outlined > textarea:not(:focus):placeholder-shown + span::before,
			.material-textfield-outlined > input:not(:focus):placeholder-shown + span::after,
			.material-textfield-outlined > textarea:not(:focus):placeholder-shown + span::after {
				border-top-color: transparent;
			}

	/* Focus */
	.material-textfield-outlined > input:focus,
	.material-textfield-outlined > textarea:focus {
		border-color: rgb(var(--material-primary-rgb, 33, 150, 243));
		border-top-color: transparent;
		box-shadow: inset 1px 0 var(--material-safari-helper1), inset -1px 0 var(--material-safari-helper1), inset 0 -1px var(--material-safari-helper1);
		outline: none;
	}

		.material-textfield-outlined > input:focus + span,
		.material-textfield-outlined > textarea:focus + span {
			color: rgb(var(--material-primary-rgb, 33, 150, 243));
		}

			.material-textfield-outlined > input:focus + span::before,
			.material-textfield-outlined > input:focus + span::after,
			.material-textfield-outlined > textarea:focus + span::before,
			.material-textfield-outlined > textarea:focus + span::after {
				border-top-color: var(--material-safari-helper1) !important;
				box-shadow: inset 0 1px var(--material-safari-helper1);
			}

	/* Disabled */
	.material-textfield-outlined > input:disabled,
	.material-textfield-outlined > input:disabled + span,
	.material-textfield-outlined > textarea:disabled,
	.material-textfield-outlined > textarea:disabled + span {
		border-color: rgba(var(--material-onsurface-rgb, 0, 0, 0), 0.38) !important;
		border-top-color: transparent !important;
		color: rgba(var(--material-onsurface-rgb, 0, 0, 0), 0.38);
		pointer-events: none;
	}

		.material-textfield-outlined > input:disabled + span::before,
		.material-textfield-outlined > input:disabled + span::after,
		.material-textfield-outlined > textarea:disabled + span::before,
		.material-textfield-outlined > textarea:disabled + span::after {
			border-top-color: rgba(var(--material-onsurface-rgb, 0, 0, 0), 0.38) !important;
		}

		.material-textfield-outlined > input:disabled:placeholder-shown,
		.material-textfield-outlined > input:disabled:placeholder-shown + span,
		.material-textfield-outlined > textarea:disabled:placeholder-shown,
		.material-textfield-outlined > textarea:disabled:placeholder-shown + span {
			border-top-color: rgba(var(--material-onsurface-rgb, 0, 0, 0), 0.38) !important;
		}

			.material-textfield-outlined > input:disabled:placeholder-shown + span::before,
			.material-textfield-outlined > input:disabled:placeholder-shown + span::after,
			.material-textfield-outlined > textarea:disabled:placeholder-shown + span::before,
			.material-textfield-outlined > textarea:disabled:placeholder-shown + span::after {
				border-top-color: transparent !important;
			}

/* Faster transition in Safari for less noticable fractional font-size issue */
@media not all and (min-resolution:.001dpcm) {
	@supports (-webkit-appearance:none) {
		.material-textfield-outlined > input,
		.material-textfield-outlined > input + span,
		.material-textfield-outlined > textarea,
		.material-textfield-outlined > textarea + span,
		.material-textfield-outlined > input + span::before,
		.material-textfield-outlined > input + span::after,
		.material-textfield-outlined > textarea + span::before,
		.material-textfield-outlined > textarea + span::after {
			transition-duration: 0.1s;
		}
	}
}

/*=====Inputs/sliderCheckboxStyles=====*/
/* The switch - the box around the slider */
.switch {
	position: relative;
	display: inline-block;
	width: 50px;
	height: 25px;
	align-self: normal;
}

	/* Hide default HTML checkbox */
	.switch input {
		opacity: 0;
		width: 0;
		height: 0;
	}

/* The slider */
.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: 20px;
		width: 20px;
		left: 2px;
		bottom: 3px;
		background-color: white;
		-webkit-transition: .4s;
		transition: .4s;
	}

input:checked + .slider {
	background-color: var(--foody-brand-primary);
}

input:focus + .slider {
	box-shadow: 0 0 1px var(--foody-brand-primary);
}

input:checked + .slider:before {
	-webkit-transform: translateX(26px);
	-ms-transform: translateX(26px);
	transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
	border-radius: 25px;
}

	.slider.round:before {
		border-radius: 50%;
	}

/*=====Text area styling=====*/
textarea.simple-small {
	min-height: 1.3em;
	max-height: 7em;
}

textarea.vert-only {
	resize: vertical;
}

/*=====Spinner/loader styling=====*/
/* Based on "Single Element CSS Spinners" by @lukehaas */
/* https://projects.lukehaas.me/css-loaders/ */
.loader-spinner,
.loader-spinner:after {
	border-radius: 50%;
	width: 10em;
	height: 10em;
}

.loader-spinner {
	font-size: 1em;
	position: relative;
	text-indent: -9999em;
	border-top: 1.1em solid rgba(0,0,0, 0.2);
	border-right: 1.1em solid rgba(0,0,0, 0.2);
	border-bottom: 1.1em solid rgba(0,0,0, 0.2);
	border-left: 1.1em solid currentColor;
	-webkit-transform: translateZ(0);
	-ms-transform: translateZ(0);
	transform: translateZ(0);
	-webkit-animation: load8 1.1s infinite linear;
	animation: load8 1.1s infinite linear;
}

@-webkit-keyframes load8 {
	0% {
		-webkit-transform: rotate(0deg);
		transform: rotate(0deg);
	}

	100% {
		-webkit-transform: rotate(360deg);
		transform: rotate(360deg);
	}
}

@keyframes load8 {
	0% {
		-webkit-transform: rotate(0deg);
		transform: rotate(0deg);
	}

	100% {
		-webkit-transform: rotate(360deg);
		transform: rotate(360deg);
	}
}

/*=====Common: StatusCircle=====*/
.status-circle {
	display:inline-block;
	border-radius: 50%;
	height: 1em;
	width: 1em;
	background-color: hotpink;
}

	.status-circle.green {
		background-color: limegreen;
	}

	.status-circle.yellow {
		background-color: yellow;
	}

	.status-circle.red {
		background-color: red;
	}

	.status-circle.gray {
		background-color: gray;
	}

	.status-circle.blank {
		background-color: transparent;
		border: solid 1px var(--foody-dark-gray, black);
	}

/*=====Table design=====*/

table {
    border: none;
    border-collapse: collapse;
    margin: 0;
    padding: 0;
    width: 100%;
    table-layout: fixed;
}

    table tr {
        background-color: #ffffff;
        border-bottom: 1px solid #ddd;
        padding: .35em;
    }

    table th,
    table td {
        padding: .625em;
        text-align: left;
    }

    table th {
        font-size: .85em;
        letter-spacing: .1em;
        text-transform: uppercase;
    }

        table th.table-action, table td.table-action {
            text-align: right;
        }


    /*===Specific styling*/
    table.highlight-every-2nd-row {
        border: 0;
    }

        table.highlight-every-2nd-row > .table-header-row > * {
            padding: 0.2em;
            background-color: var(--foody-dark-gray);
            color: var(--foody-soft-white);
        }

        table.highlight-every-2nd-row > :not(.table-header-row) > td {
            padding: 0.15em 0.35em;
        }

        table.highlight-every-2nd-row > :not(.table-header-row):nth-child(2n+1) > td {
            background-color: var(--foody-light-gray);
        }

    table > .indented > td:first-child,
    table > .indented > th:first-child {
        padding-left: 1em;
        border-left: 2px solid black;
    }

/*===Smaller screens===*/
@media screen and (max-width: 600px) {
    table {
        border: 0;
    }

        table caption {
            font-size: 1.3em;
        }

        table thead {
            border: none;
            clip: rect(0 0 0 0);
            height: 1px;
            margin: -1px;
            overflow: hidden;
            padding: 0;
            position: absolute;
            width: 1px;
        }

        table tr {
            border-bottom: 3px solid #ddd;
            box-shadow: 1px 1px 4px #EBEBEB;
            -moz-box-shadow: 1px 1px 4px #EBEBEB;
            -webkit-box-shadow: 1px 1px 4px #EBEBEB;
            display: block;
            margin-bottom: .625em;
        }

        table td {
            border-bottom: 1px solid #ddd;
            display: block;
            font-size: .8em;
            text-align: right;
        }

            table td::before {
                /*
    * aria-label has no advantage, it won't be read inside a table
    content: attr(aria-label);
    */
                content: attr(data-label);
                float: left;
                font-weight: bold;
                text-transform: uppercase;
            }

            table td:last-child {
                border-bottom: 0;
            }
}

/*=====Component: Common/TileContainer and Common/Tile=====*/
.tile-container {
	display: grid;
	grid-gap: 1em;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	grid-auto-rows: 300px;
	grid-auto-flow: dense;
}

	.tile-container.single {
		grid-template-columns: max-content;
	}

	.tile-container .tile {
		padding: 15px;
		background-color: white;
		border-radius: 2px;
		color: var(--header-text-color);
		grid-template-rows: auto 1fr;
	}

		.tile-container .tile .icon-avatar {
			font-size: 2rem;
			color: var(--foody-brand-primary)
		}

		.tile-container .tile .header {
			font-weight: bold;
			font-size: 1rem;
		}

		.tile-container .tile .content {
			display: block;
			font-size: 0.9em;
			margin-top: 10px;
			font-style: italic;
			color: var(--foody-gray);
		}

		.tile-container .tile .details {
			border-top: 1px solid var(--foody-gray);
			display: block;
			font-style: normal;
			color: black;
			font-size: 0.9em;
			margin-top: 20px;
		}

		.tile-container .tile .bottom-actions {
			position: absolute;
			bottom: 0;
			color: black;
			font-size: 0.9em;
			width: 100%;
		}

		.tile-container .tile .btn.action {
			margin: 0;
			padding: 8px 2px;
			border: none;
			background-color: rgba(33, 133, 177, .8);
			color: #ffffff;
			border-radius: 5px;
			font-style: normal;
		}

.tile.dashboard {
	display: none;
}

@media (max-width: 1200px) {
	.tile.dashboard.compat {
		display: block;
	}
}

@media (min-width: 1201px) {
	.tile.dashboard:not(.compat) {
		display: block;
	}
}

/*=====Generic on-hover and tooltip styling=====*/
.on-hover-show-sibling + .on-hover-target,
.on-hover-show-child > .on-hover-target {
	display: none;
}

.on-hover-show-sibling:hover + .on-hover-target,
.on-hover-show-child:hover > .on-hover-target {
	display: block;
}

/*=====Component: Common/Tooltip=====*/
.tooltip {
	position: absolute;
	height: 0;
}

.tooltip-content {
	margin: 0;
	border: solid 1px var(--foody-gray);
	z-index: 100;
	color: var(--foody-dark-gray);
	text-transform: none;
	font-weight: normal;
}

/*=====Utility styles=====*/
.isolate{
	isolation: isolate;
}

.text-center {
	text-align: center;
}

.text-end {
	text-align: end;
}

	.text-end.field-label {
		margin-right: 5px;
		color: var(--foody-dark-gray);
		font-size: 0.8em;
	}

.margin-center {
	margin-right: auto;
	margin-left: auto;
}

.margin-left {
	margin-left: auto;
}

.margin-right {
	margin-right: auto;
}

@media (min-width: 1025px) {
	.thin-screen {
		display: none !important;
	}
}

@media (max-width: 1024px) {
	.wide-screen {
		display: none !important;
	}
}

/*===MaxWidth styles===*/
.mw-50 {
	max-width: 50px;
}

.mw-100 {
	max-width: 100px;
}

.mw-400 {
	max-width: 400px;
}

.mw-600 {
	max-width: 600px;
}

.mw-800 {
	max-width: 800px;
}

.mw-1000 {
	max-width: 1000px;
}

/*===MinHeight styles===*/
.minh-400 {
	min-height: 400px;
}

/*===Position/Padding/margin styles===*/
.no-margin {
	margin: 0;
}

.mb-0 {
	margin-bottom: 0;
}

.mb-15 {
	margin-bottom: 15px;
}

.absolute-top-right {
	position: absolute;
	top: 0;
	right: 0;
	z-index: 1;
}

.fullwidth {
	width: 100%;
}

.fill-remaining-space {
	flex: auto;
}
.content-space-70 {
	height:70px;
	display:block;
}
/*===Other utility styles===*/
.fa-override, .fa.fa-override {
	font-size: 1.2em;
	line-height: 0;
}

.drop-shadow {
	box-shadow: 0px 6px 10px rgba(0, 0, 0, 0.08);
}

.drop-shadow-full {
	box-shadow: 0px 0px 10px 5px rgba(0, 0, 0, 0.08);
}

.d-contents {
	display: contents;
}

.clickable {
	cursor: pointer;
}

.red {
	color: red;
}

.orange {
	color: orange;
}

.green {
	color: green;
}

.overlap-parent {
	position: absolute;
	height: 100%;
	width: 100%;
	z-index: 1;
}

.interlist-border:not(:last-child) {
	width: 100%;
	border-bottom: solid 1px gray;
	margin: 4px 0 7px;
	margin-block: 4px 7px;
	grid-column: span all;
	grid-column: 1/-1;
}
/*=====Component: Common/AccordionComponent and Common/AccordioncomponentGroup=====*/
.accordion-header {
    display: flex;
    align-items: baseline;
}

    .accordion-header h4 {
        margin-right: 5px;
    }

.accordion-content {
    transition: all 0.5s ease;
    height: auto;
}

    .accordion-content.closed {
        display: none;
        height: 0;
    }


.accordion-header {
    padding-left: 5px;
    padding-right: 5px;
}

    .accordion-header:not(.has-group.selected):hover {
        background-color: var(--foody-accent-very-light-gray);
        cursor: pointer;
    }

    .accordion-header:not(:first-of-type){
        border-top: 1px solid var(--foody-accent-light-gray);
    }

/*=====Component: Common/DropdownMenu=====*/
.dropdown-menu-parent {
	position: relative;
	padding: 0;
	min-width: 1.2rem;
	text-align: center;
}

.dropdown-menu {
	position: absolute;
	display: none;
	z-index: 1;
	background-color: white;
	border-radius: 1px;
	box-shadow: 0 0 2px 1px rgba(0, 0, 0, 0.3);
	/*top: 0;*/
	padding: 0.5rem;
	width: max-content;
	z-index: 100;
}

	.dropdown-menu.shown {
		display: grid;
		grid-gap: 5px;
		grid-auto-flow: row;
	}

	.dropdown-menu.left {
		right: 0;
	}

/*=====Component: Common/logBox=====*/
.log-box {
	background-color: var(--foody-light-gray);
	min-height: 100px;
	max-height: 400px;
	max-width: 100%;
	overflow-y: auto;
	border: solid 1px black;
	border-radius: 3px;
	margin-bottom: 5px;
}

.log-box p {
	margin: 0;
}

/*=====Modal styling=====*/
/* The Modal (background) */
.modal-bg {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0, 0.4);
}

    .modal-bg.shown {
        display: block;
    }

/* Modal Content/Box */
.modal {
    background-color: #fefefe;
    margin: 10vh auto 1em; /* Slightly moved from the top and centered */
    padding: 20px;
    min-width: 40%;
    width: auto;
    width: max-content;
    height: min-content;
    max-width: 90vw;
    max-height: 90vh;
    overflow: auto;
    border-radius: 1rem;
}

    .modal h1 {
        margin: 0;
    }

    .modal .footer.buttons {
        display: flex;
        justify-content: end;
    }

    .modal .footer button {
        margin-right: 8px;
    }

.pagination-controls-component > span{
	margin: 0 3px;
}
/*=====Component: Common/TabbedContent and Common/Tab=====*/
/*===General styling===*/
.tabbar {
    overflow: hidden;
}

    .tabbar > .tablinks {
        padding: 9px 10px;
    }

        .tabbar > .tablinks:hover {
            background-color: #ddd;
        }

        .tabbar > .tablinks.active {
            background-color: #ccc;
            color: var(--foody-brand-primary);
        }

    /*===Styled styling===*/
    /*default*/
    .tabbar.default {
        border: 1px solid #ccc;
        background-color: #f1f1f1;
    }

        .tabbar.default ~ .tabcontent {
            border: 1px solid #ccc;
            border-top: none;
        }

    /*ButtonTabs*/
    .tabbar.button-tabs {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        margin: 0 0;
    }

        .tabbar.button-tabs > .tablinks {
            box-sizing: border-box;
            background-color: white;
            color: var(--foody-brand-primary);
            text-transform: uppercase;
            font-size: 1rem;
            text-align: center;
            font-weight: bold;
            padding: 15px 40px;
            min-width: 200px;
            border-radius: 5px;
            border: 1px solid rgba(0,0,0,0.24);
            -webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
            -moz-box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
            box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
            transition: all 0.3s cubic-bezier(0.25,.8,0.25,1);
        }

            .tabbar.button-tabs > .tablinks:hover {
                background-color: var(--foody-brand-primary);
                color: white;
                transition: all 0.3s cubic-bezier(0.25,.8,0.25,1);
            }

            .tabbar.button-tabs > .tablinks.active {
                background-color: var(--foody-brand-primary);
                color: white;
                transition: all 0.3s cubic-bezier(0.25,.8,0.25,1);
            }

    /*===Content===*/
    .tabbar ~ .tabcontent,
    .tabbar ~ * .tabcontent {
        padding: 6px 12px;
    }

        .tabbar ~ .tabcontent:not(.active),
        .tabbar ~ * .tabcontent:not(.active) {
            display: none;
        }

/*=====Component: Common/UnsavedChangesComponent=====*/
.unsaved-changes {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	background-color: var(--foody-soft-white);
	color: var(--foody-dark-gray);
	z-index: 10;
}

	.unsaved-changes > * {
		padding: 3px 2rem;
		color: var(--foody-dark-gray);
		vertical-align: middle;
	}

@media (min-width: 1025px) {
	.unsaved-changes {
		padding-left: 2rem;
	}

	.sidebar.shown ~ .content > .unsaved-changes {
		padding-left: calc(200px + 2rem);
	}
}

/*=====Components: Dashboard/DashboardOrderOverview=====*/
.count-container {
	/*grid-template-columns: 1fr;*/
	grid-auto-columns: auto;
	grid-template-rows: repeat(2, auto);
	grid-auto-flow: column;
	grid-gap: 10px;
}

	.count-container .count-body {
		text-align: center;
	}

		.count-container .count-body i {
			font-size: 120%;
		}

	.count-container .count-footer {
		margin: 0 auto;
		text-align: center;
		height: 30px;
		width: 100px;
		background-color: rgba(33, 133, 177, .8);
		padding: 5px;
		color: #ffffff;
		line-height: 2.0em;
		border-radius: 5px;
	}

/*Order items list*/
.order-items-list {
	display: grid;
	grid-gap: 3px 5px;
	grid-template-columns: auto 1fr auto;
}

.order-items-list > .grid-header-row > * {
	margin-top: 5px;
}

.order-item-subtext {
	color: #2185B1;
	font-size:90%;
	margin-left:10px;
}
	.order-item-subtext.italic {
		font-style: italic;
	}
/* Icons*/
.icon-buttons {
		grid-template-columns: 1fr;
	grid-gap: 1rem;
	justify-items: center;
}

.icon-buttons > a {
	width: max-content;
}

.icon-buttons button.icon-grid-buttons {
	min-width: 15em;
}

@media (max-width: 768px){
	.dashboard-tabbed-content.tabbar-wrapper{
		font-size: 12px;
	}
}
@media (min-width: 768px){
	.icon-buttons {
		grid-template-columns: 1fr 1fr;
		width: max-content;
		margin: 0 auto;
	}
}
@media (min-width: 1024px) {
	.dashboard-tabbed-content.tabbar-wrapper {
		min-height: 443px;
	}
	.icon-buttons {
		grid-template-columns: repeat(4, 1fr);
		width: auto;
	}

	.icon-buttons button.icon-grid-buttons {
		min-width: 13em;
	}
}
/*=====Components: Dashboard/DashboardReservations=====*/
#reservationsContainer{

}

#reservationsContainer > .block-header {
	display: flex;
	flex-direction: row;
}

.pending-food-reservation-grid {
	display:grid;
	grid-gap: 3px 5px;
	grid-template-columns: 1fr auto auto 2fr
}
/*=====Components: Dashboard/OrderActions=====*/
.order-actions {
	position: sticky;
	bottom: -20px;
	background-color: inherit;
	box-shadow: 0px -2px 2px white;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
	padding-bottom: 5px;
}

.order-actions > button {
	padding: 0.7em 0.5em;
}

/*=====Component: Eateries/EditOpeninghoursComponent=====*/
.eating-mode-card {
	display: grid;
	grid-gap: 7px 1em;
	grid-template-columns: max-content 1fr;
	align-items: center;
}


	.eating-mode-card input {
		width: fit-content;
		width: max-content;
	}
	.eating-mode-card input[type=number] {
		width:100px;
	}

	.eating-mode-card .grid {
		align-items: center;
	}

	.eating-mode-card .disable-setting {
		cursor: pointer;
		color: red;
		margin: 5px;
	}

/*=====Component: Eateries/EditOpeningHoursComponent=====*/
#edit-opening-hours-container {
	display: grid;
	grid-gap: 5px;
	--opening-type-count: 1;
	grid-template-columns: max-content repeat(calc(var(--opening-type-count, 1)), 1fr);
	max-width: 600px;
	align-items: center;
}

	#edit-opening-hours-container .opening-hours-cell {
		display: grid;
		grid-gap: 5px;
		grid-template-columns: 1fr 1fr max-content;
	}

	#edit-opening-hours-container .remove-button {
		margin: 0;
		width: auto;
		align-self: center;
	}

/*=====Page: Layout/TwoColumnLayout=====*/
.two-column {
	display: grid;
	grid-template-areas: "main" "secondary";
	background-color: white;
	border-radius: 2px;
	box-shadow: 0 0 4px -2px var(--foody-gray, gray);
	--two-column-padding: 1em;
}

	.two-column > .main-column {
		grid-area: main;
		overflow-y: auto;
	}

	.two-column > .secondary-column {
		grid-area: secondary;
		top: -4px;
		height: calc(100% + 6px - (2 * var(--two-column-padding)));
		box-shadow: -2px 0px 4px -2px var(--foody-gray, gray);
		background-color: white;
		overflow-y: auto;
	}

	.two-column > .padded,
	.two-column > * > .padded {
		padding: var(--two-column-padding);
	}

@media (min-width: 1025px) {
	.two-column {
		grid-template-columns: 1fr 350px;
		grid-template-areas: "main secondary";
	}
}

/*=====Page: Admin/CompanyList=====*/
#apikey-monitor-grid {
	display: grid;
	grid-gap: 5px 10px;
	grid-template-columns: 1fr repeat(4, auto);
}

/*=====Page: Admin/CompanyList=====*/
.company-list-grid {
	display: grid;
	grid-gap: 7px 1em;
	grid-template-columns: repeat(2, max-content) 1fr 1fr repeat(4, max-content);
	padding: 0 1em;
}

/*=====Page: Admin/InvoiceSetup=====*/
.eatery-product-list {
	display: grid;
	grid-template-columns: repeat(3, auto);
}

/*=====Page: Admin/Products=====*/
.tripletex-product-list {
	display: grid;
	grid-template-columns: repeat(4, auto);
}

/*=====Page: Admin/SalesOverview=====*/
#admin-sales-table {
	margin-top: 20px
}

table#admin-sales-table > tr > th {
	text-align: center;
}

table#admin-sales-table > tr > td:not(:first-child):not(.text-center),
table#admin-sales-table > tr > th:not(:first-child) {
	text-align: end;
}

/*=====Page: Auth/Login=====*/
#login-form {
	display: grid;
	grid-template-columns: auto 1fr auto 1fr;
	grid-gap: 3px;
}

	#login-form input {
		margin: 0;
	}

	#login-form .spacing{
		height: 1em;
	}

	#login-form .basic-info,
	#login-form .address-info {
		display: contents;
	}

		#login-form .basic-info input {
			grid-column: span 3;
		}

/*=====Page: Companies/CompanySettings (/company)=====*/
#company-profile-form {
    display: grid;
    grid-template-columns: repeat(2, 400px);
    gap: 1rem;
}

    #company-profile-form .card + .card {
        margin-top: 0;
    }

/*=====Page: Dashboard/OrderDashboard=====*/
#order-dashboard-wrapper {
    display: grid;
    grid-gap: 0;
    grid-template-rows: auto auto calc(100% - 100px);
    max-height: 100%;
}

.order-dashboard-filter-row {
    align-items: baseline;
}

#order-dashboard-grid {
    display: grid;
    grid-gap: 0;
    grid-template-columns: max-content repeat(4, auto) repeat(2, max-content);
    min-height: 3em;
}

    #order-dashboard-grid > .grid-header-row > * {
        padding: 3px 5px 0;
        border-bottom: solid 1px darkgray;
        margin-bottom: 5px;
        position: sticky;
        top: -17px;
        z-index: 1;
        background-color: white;
    }

    #order-dashboard-grid > .grid-row > * {
        padding: 5px;
    }

    #order-dashboard-grid > .grid-row :first-child {
        padding: 0;
    }

    #order-dashboard-grid > .grid-row.selected > * {
        background-color: var(--foody-light-gray);
    }

    #order-dashboard-grid > .grid-row > .marker::after {
        display: block;
        position: relative;
        border-radius: 50%;
        top: calc(50% - 0.4rem);
        height: 0.5rem;
        width: 0.5rem;
        content: " ";
    }

    #order-dashboard-grid > .grid-row > .marker.new::after {
        background-color: var(--foody-purple);
    }

#order-dashboard-wrapper .order-count-container .order-count {
    color: var(--button-contrast-color);
    margin-left: 10px;
    background-color: var(--button-color);
    height: 1.4rem;
    width: 1.4rem;
    border-radius: 50%;
    padding: 3px;
    line-height: 1.5rem;
}

#order-dashboard-wrapper .modal > .footer {
    background-color: white;
    position: sticky;
    bottom: 0px;
    padding-bottom: 1.25em;
}

/*=====Page: Eateries/EaterySettings(/eatery)=====*/
#eatery-settings-form .aligned-grid, #qr-settings-form .aligned-grid {
    display: grid;
    grid-template-columns: 200px 1fr;
}

    #eatery-settings-form .aligned-grid label,
    #eatery-settings-form .aligned-grid label > span,
    #qr-settings-form .aligned-grid label,
    #qr-settings-form .aligned-grid label > span{
        text-align: end;
    }
#eatery-settings-form .tabcontent.active, #qr-settings-form .tabcontent.active {
    display: contents;
}
/*=====Page: Modules/PollySettings (/eatery/polly)=====*/
.polly-printer-list {
	display: grid;
	grid-template-columns: 1fr auto auto auto;
	grid-gap: 1rem;
}
/*=====Page: Food/FoodItems=====*/
.fooditem-disable {
    color: var(--foody-orange);
    cursor: pointer;
}

.fooditem-enable {
    color: var(--foody-blue-active);
    cursor: pointer;
}

.fooditem-row-disabled {
    background-color: #FF6F6F;
}

.fooditem-filter-bar {
    grid-template-columns: repeat(4, auto) 1fr;
}

/*=====Page: Food/FoodTypeList=====*/
.food-type-list {
    grid-template-columns: 1fr auto auto repeat(2, 80px);
}

    .food-type-list .plk-dd-spacing {
        height: 5px;
    }

.desc-container + .flex-row-spacing {
    gap: 1rem;
    padding-bottom: 2rem;
}

/*=====Page: Menues/EditMenu=====*/
.menuwizard-menuitem-container {
    grid-template-columns: 1fr auto auto;
    align-items: center;
}

.sub-menu-list .sub-menu {
    margin: 0;
    display: grid;
    grid-template-columns: 1fr auto auto;
    grid-gap: 3px;
    align-items: center;
}

    .sub-menu-list .sub-menu input[type=text] {
        padding: 3px;
        width: 200px;
    }

.menusection-menuitem-list {
    grid-template-columns: 1fr 80px 30px;
    align-items: center;
    width: auto;
}

.menusection-fooditem-list {
  padding-left: 15px;
  padding-bottom: 15px;
}

.edit-menu-state-navigation {
  display: grid;
  grid-template-columns: 130px 1fr 130px;
}

.edit-menu-state-component {
    justify-self: center;
    justify-items: center;
    grid-auto-columns: 1fr;
}

.edit-menu-state-component-marker {
    border: 3px solid var(--foody-purple, purple);
    border-radius: 50%;
    height: 1em;
    width: 1em;
    margin: auto;
    cursor: pointer;
}

    .edit-menu-state-component-marker.current {
        cursor: initial;
        background-color: var(--foody-blue, light-gray);
    }

.new-variant {
    background-color: #fff992;
}
/*=====Page: Menues/MenuList=====*/
.menu-list-filter-row {
	max-width: fit-content;
	grid-auto-flow: column;
}

.menu-list-grid {
	display: grid;
	grid-gap: 0 1em;
	grid-template-columns: 1fr auto auto;
}

	.menu-list-grid > .grid-header-row::after {
		content: "";
		grid-column: 1 /-1;
		height: 1px;
		background-color: var(--foody-light-gray);
		margin-top: 3px;
	}

	.menu-list-grid > .grid-row::before {
		content: "";
		grid-column: 1 /-1;
		margin-top: 1em;
	}

/*=====Page: Orders/OrderStatistics=====*/
.order-statistics-settings-bar {
	grid-auto-flow: column;
	grid-template-columns: auto auto 1fr;
	grid-template-rows: auto auto;
	gap: 5px 2rem;
}

	.order-statistics-settings-bar > * {
		margin: 0;
	}

table#daily-sales-table,
table#item-sales-table {
	table-layout: auto;
}


	table#daily-sales-table > tr.table-header-row,
	table#item-sales-table > tr.table-header-row {
		position: sticky;
		top: -33px;
		z-index: 10;
		font-size: 18px;
	}

		table#daily-sales-table > tr.table-header-row:nth-child(2),
		table#item-sales-table > tr.table-header-row:nth-child(2) {
			top: -1px;
		}

		table#item-sales-table > tr.table-header-row:nth-child(1n+3) {
			top: 31px;
		}

	table#daily-sales-table > tr > *.text-left,
	table#item-sales-table > tr > *.text-left {
		text-align: start;
	}

	table#daily-sales-table > tr > td,
	table#daily-sales-table > tr > *.text-end,
	table#item-sales-table > tr > td,
	table#item-sales-table > tr > th {
		text-align: end;
	}

	table#daily-sales-table > tr > th,
	table#daily-sales-table > tr > *.text-center
	table#item-sales-table > tr > *.text-center {
		text-align: center;
	}
