:root {
    --core-white: rgb(255, 255, 255);
    --core-gray-25: rgb(228, 230, 233);
    --core-gray-50: rgb(200, 203, 210);
    --core-gray-75: rgb(78, 78, 78);
    --core-black: rgb(16, 12, 8);
    --core-red: rgb(255, 68, 68);
    --core-blue: rgb(51, 181, 229);
    --core-green: #00c851;
    --core-orange: #fb3;

    --colour-primary: rgb(16, 20, 34);
    --colour-secondary: rgb(41, 169, 225);
    --colour-accent: rgb(0, 46, 175);
    --colour-highlight-1: rgb(102, 102, 102);
    --colour-highlight-2: rgb(0, 46, 175);

    --colour-text-1: rgb(16, 20, 34);
    --colour-text-2: rgb(211, 211, 211);

    --font-family: 'Buenos Aires', sans-serif;
}

@font-face {
	font-family: 'Buenos Aires';
	src: local('Buenos Aires Light'), local('BuenosAires-Light'), url('../../fonts/buenos-aires/BuenosAires-Light.woff2') format('woff2'), url('../../fonts/buenos-aires/BuenosAires-Light.woff') format('woff'), url('../../fonts/buenos-aires/BuenosAires-Light.ttf') format('truetype');
	font-weight: 300;
	font-style: normal;
	font-display: block;
}

@font-face {
	font-family: 'Buenos Aires';
	src: local('Buenos Aires Regular'), local('BuenosAires-Regular'), url('../../fonts/buenos-aires/BuenosAires-Regular.woff2') format('woff2'), url('../../fonts/buenos-aires/BuenosAires-Regular.woff') format('woff'), url('../../fonts/buenos-aires/BuenosAires-Regular.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
	font-display: block;
}

@font-face {
	font-family: 'Buenos Aires';
	src: local('Buenos Aires Bold'), local('BuenosAires-Bold'), url('../../fonts/buenos-aires/BuenosAires-Bold.woff2') format('woff2'), url('../../fonts/buenos-aires/BuenosAires-Bold.woff') format('woff'), url('../../fonts/buenos-aires/BuenosAires-Bold.ttf') format('truetype');
	font-weight: bold;
	font-style: normal;
	font-display: block;
}

input:-webkit-autofill {
    background-color: unset;
}

input[type="radio"], input[type="checkbox"] {
    transform:scale(1.000001);
    transform-origin: 0 0;
	height: 20px;
	width: 20px;
	margin: 0;
}

input[type="date"] {
	display: block;
	-webkit-appearance: textfield;
	-moz-appearance: textfield;
	min-height: 1.2em;
}

* {
	box-sizing: border-box;
}

body {
	min-height: 100vh;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	font-family: var(--font-family), sans-serif;
	color: var(--colour-text-1);
}

body p {
	padding: 0;
	margin: 0;
}

body fieldset {
	padding: 0;
	margin: 0;
}

input, textarea, select {
	border-radius: 0;
}

input[type="submit"], button {
	-webkit-appearance: none;
	border-radius: 0;
}

.hide-datalist-arrow::-webkit-calendar-picker-indicator {
	display: none;
}

/* Useful for button columns on tables to disable button wrapping */
.disable-text-wrap {
	white-space: nowrap !important;
}

.datalist-arrow {
	height: 10px;
	position: absolute;
	right: 10px;
	pointer-events: none;
}

.logo {
	height: 60px;
}

.login {
	height: 100%;
	width: 100%;
	padding: 80px 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	flex-grow: 1;
	background-color: var(--colour-primary);
}

.login-form {
	width: 450px;
	padding: 20px;
	display: flex;
	flex-direction: column;
	align-items: center;
	border-radius: 25px;
	color: var(--core-white);
}

.login-form img {
	max-width: 100%;
	height: 100px;
}

.login-form hr {
	width: 95%;
	opacity: 0.5;
}

.image-button {
    padding: 0;
    margin: 0;
    border: none;
    background: none;
    cursor: pointer;
}

.custom-button {
	box-sizing: border-box;
	padding: 20px 60px;
	color: var(--core-white);
	font-size: 1.3rem;
	letter-spacing: 0.1rem;
	border: none;
	cursor: pointer;
	margin: 0 auto;
}

.login-form-header {
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
    margin-bottom: 10px;
}

.login-form-header p {
	font-size: 2rem;
	font-weight: bold;
	letter-spacing: 0.1rem;
    margin: 0;
    font-family: var(--font-family), sans-serif;
}

.login-link {
	padding: 0;
	text-decoration: none;
	color: var(--colour-secondary);
	margin-bottom: 5px;
    margin: 0;
    font-family: var(--font-family), sans-serif;
}

.login-input {
	width: 100%;
	margin-top: 30px;
	color: var(--colour-secondary);
	padding: 5px 0;
	background-color: var(--colour-primary) !important;
	border: none;
	border-bottom: 1px solid var(--colour-secondary);
	font-size: 1.2rem;
	font-family: var(--font-family), sans-serif;
}

.login-input::placeholder {
    opacity: 0.7;
	color: var(--core-white);
	font-size: 1.2rem;
}

.login-input:focus-visible {
	outline: none;
}

.login-checkboxes {
	width: 100%;
	margin-top: 20px;
	display: flex;
	justify-content: space-between;
}

.login-button {
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 30px 0 20px 0;
	text-decoration: none;
}

.login-button button {
	color: var(--core-white);
	font-size: 1.3rem;
	font-weight: bold;
	letter-spacing: 0.1rem;
	border: none;
	cursor: pointer;
	background-color: var(--colour-primary);
}

.login-button img {
	height: 1.1rem;
}

.login-header-email {
	color: var(--colour-primary);
	font-size: 1.3rem;
	font-family: var(--font-family), sans-serif;
	font-weight: bold;
}

.login-header {
	height: 120px;
	width: 100%;
	padding: 20px 40px;
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	background-color: var(--core-white);
}

.login-footer {
	height: 180px;
	padding: 30px;
	background-color: var(--core-white);
	display: flex;
	align-items: flex-end;
	justify-content: flex-end;
}

.reporting {
	font-family: var(--font-family), sans-serif;
}

.reporting > div {
	width: 100%;
	text-align: center;
	margin-bottom: 80px;
}

.page, .reporting, .cataloguecreate {
	width: 100%;
	height: 100%;
	padding: 0 40px 20px 40px;
	display: flex;
	flex-direction: column;
	align-items: center;
	flex-grow: 1;
}

.product-list {
	width: 100%;
	display: inline-flex;
	justify-content: center;
	flex-wrap: wrap;
	row-gap: 40px;
	margin-bottom: 40px;
    flex-grow: 1;
}

.product-list > p {
	font-family: var(--font-family), sans-serif;
	font-size: 1rem;
}

.product {
	min-width: 230px;
	max-width: 230px;
	margin: 0 15px;
	display: flex;
	flex-direction: column;
	align-items: center;
	font-family: var(--font-family), sans-serif;
	color: var(--colour-text-1);
}

.product a {
	min-height: 230px;
	max-height: 230px;
	min-width: 100%;
	max-width: 100%;
	padding: 0;
	display: flex;
	justify-content: center;
}

.product img {
	width: 100%;
	object-fit: contain;
}

.product div {
	width: 100%;
}

.product > * {
	margin-bottom: 7px;
}

.product-headers {
	text-align: left;
}

.product-headers p {
	font-size: 0.9rem;
}

.lbl-itemcode {
	font-size: 0.9rem;
	font-weight: bold;
}

.product-detail-multi, .product-detail {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.product-detail-multi p:first-child, .product-detail p:first-child {
	font-weight: bold;
	margin-right: 10px;
}

.product-detail-multi p, .product-detail p {
	height: 100%;
	display: flex;
	align-items: flex-start;
	font-size: 0.75rem;
	font-weight: 300;
}

.product-detail-multi {
	flex-direction: column;
	justify-content: flex-start;
	align-items: flex-start;
}

.product-detail-multi p {
	margin: 1px 0 !important;
	height: auto;
	width: 100%;
	text-align: left;
}

.catalogue-page-label {
	margin-bottom: 30px;
	color: var(--core-gray-50);
	font-family: var(--font-family), sans-serif;
	font-size: 1rem;
	letter-spacing: 0.1rem;
}

.product-page-picker {
	width: auto;
	height: auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-family: var(--font-family), sans-serif;
	color: var(--colour-primary);
	font-size: 1rem;
	letter-spacing: 0.1rem;
    margin-bottom: 10px;
}

.product-page-picker > span {
	height: 25px;
	width: 30px;
	margin: 20px 10px;
	display: flex;
	justify-content: center;
	align-items: center;
	cursor: pointer;
}

.page-numbers {
	margin: 0 20px;
	display: flex;
	align-items: center;
}

.page-numbers div, .page-numbers span {
	height: 40px;
	width: 40px;
	margin: 0 2px;
	display: flex;
	justify-content: center;
	align-items: center;
}

.page-numbers span {
	user-select: none;
}

.page-numbers div {
	cursor: pointer;
}

.page-numbers div:hover {
	border: 2px solid var(--colour-primary);
}

.page-numbers .page-highlight {
	background-color: var(--colour-primary);
	color: var(--core-white);
}

.page-numbers .page-highlight:hover {
	border: none;
}

.items-per-page {
	height: 35px;
	margin: 10px 0;
	display: flex;
	align-items: center;
	font-family: var(--font-family), sans-serif;
	font-size: 1rem;
}

.items-per-page * {
	text-align: center;
	margin: 0 5px;
}

.items-per-page p {
	color: var(--colour-text-1);
}

.items-per-page div {
	height: 100%;
	width: 35px;
	display: flex;
	justify-content: center;
	align-items: center;
	box-sizing: content-box;
	color: var(--colour-secondary);
	cursor: pointer;
	border: 2px solid transparent;
}

.items-per-page div:hover {
	border: 2px solid var(--colour-secondary);
}

.selected-count {
	border: 2px solid var(--colour-secondary);
	background-color: var(--colour-secondary);
	color: var(--core-white) !important;
}

.cart-info {
	width: 42vw;
	min-height: 100%;
	display: flex;
	flex-direction: column;
	background-color: var(--core-gray-25);
	padding: 20px;
}

.cart-empty {
	margin: 40px 0;
	height: 60px;
	display: flex;
	justify-content: center;
	align-items: center;
	font-weight: bold;
	font-size: 1.3rem;
	color: var(--core-gray-75);
}

.cart-items {
	display: flex;
	flex-direction: column;
	padding: 20px;
	background-color: var(--core-gray-25);
}

.cart-items > div {
	height: 100%;
	background-color: var(--core-gray-25);
	overflow: auto;
}

.cart-items > div hr {
	border: 1px solid var(--colour-primary);
}

.cart-items > div .incrementer-box {
	width: auto;
}

.cart-item {
	display: grid;
	grid-template-columns: 100px 1fr auto auto auto;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
}

.cart-item p {
	margin: 5px 0 5px 0;
}

.cart-item > span {
	width: 100%;
}

.cart-item .cart-remove {
	color: var(--colour-secondary);
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 2rem;
	cursor: pointer;
}

.cart-thumbnail {
	cursor: zoom-in;
	height: 100px;
	width: 100px;
	object-fit: contain;
}

.search-box-footer {
	display: flex;
	justify-content: space-between;
    align-items: center;
	margin-top: 10px;
}

.search-box-footer span {
	display: flex;
	align-items: center;
	flex-direction: column;
	align-items: flex-start;
	justify-content: space-between;
	font-size: 1rem;
}

.search-box-footer span div {
	display: flex;
	align-items: center;
}

.search-box-footer span div input {
	width: 20px;
	height: 20px;
	margin-right: 10px;
}

.search-box-footer span input[type="submit"] {
	margin: 0;
	padding: 0;
	color: var(--core-gray-75);
	text-decoration: underline;
	font-family: inherit;
	font-size: inherit;
	cursor: pointer;
	background: none;
	border: none;
}

.search-box-footer > input[type="submit"] {
	width: 250px;
	height: 70px;
	border: none;
	color: var(--core-white);
	font-family: var(--font-family), sans-serif;
	font-size: 1.5rem;
	letter-spacing: 0.1rem;
	cursor: pointer;
}

.bottom-button-row {
	width: 100%;
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	background-color: var(--core-white);
}

.profile-button-row {
	width: 100%;
	display: flex;
	flex-direction: row;
	justify-content: center;
}

.profile-button-row .button {
	margin: 0;
	margin-top: 10px;
	width: 200px;
	height: 60px;
	color: var(--core-white);
	font-family: var(--font-family), sans-serif;
	font-size: 1.2rem;
	letter-spacing: 0.1rem;
	border: none;
	cursor: pointer;
	text-decoration: none;
	display: flex;
	align-items: center;
	justify-content: center;
}

.heading {
	font-family: var(--font-family), sans-serif;
	align-self: flex-start;
	margin: 20px 0 10px 0;
}

.newitem-form-buttons, .newpda-form-buttons, .cataloguecreate-form-buttons, .settings-buttons, .reporting-form-buttons {
	width: 100%;
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	background-color: var(--core-white);
}

.newitem-form-buttons div, .newpda-form-buttons div, .cataloguecreate-form-buttons div, .newitem-form-buttons input[type="button"], .newpda-form-buttons input[type="button"], .cataloguecreate-form-buttons button[type="submit"], .settings-buttons input[type="button"], .reporting-form-buttons input[type="button"]{
	margin: 20px;
	width: 300px;
	height: 80px;
	color: var(--core-white);
	font-family: var(--font-family), sans-serif;
	font-size: calc(1rem + 0.3vw);
	letter-spacing: 0.1rem;
	border: none;
	cursor: pointer;
}

.search-form, .newitem-form, .newpda-form, .cart-form, .catalogue-form {
	width: 100%;
	display: flex;
	font-family: var(--font-family), sans-serif;
}

.search-form h2, .newitem-form h2, .newpda-form h2, .cart-form h2 {
	height: auto;
	margin: 0 0 10px 0;
	font-size: 1.4rem;
	font-weight: bold;
	letter-spacing: 0.1rem;
}

.search-form h4, .newitem-form h4, .newpda-form h4, .cart-form h4 {
	height: auto;
	margin: 0 0 10px 0;
	font-size: 1rem;
	font-weight: bold;
	letter-spacing: 0.1rem;
}

.search-form {
	padding: 20px;
}

.cart-form {
	flex-direction: column;
}

.cart-wrapper {
	display: flex;
	gap: 20px;
	width: 100%;
	position: relative;
}

.cart-wrapper > * {
	width: 50%;
}

.cart-total-value {
    font-size: 0.65em;
    margin-right: 13.5em;
}

.catalogue-form {
	flex-direction: column;
	grid-template-columns: 1fr;
}

.search-form, .newitem-form, .newpda-form {
	flex-direction: column;
	background-color: var(--core-gray-25);
	grid-template-columns: 1fr;
}

.h2-row {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
}

.h2-row span {
	color: var(--core-gray-75);
}

.h2-row h2 {
	margin: 0;
}

.newitem-form-fields, .newpda-form-fields, .cataloguecreate-form-fields {
	padding: 20px;
	display: flex;
	flex-direction: column;
	background-color: var(--core-gray-25);
}

fieldset[disabled] .form-item input, fieldset[disabled] .form-item select {
	background-color: var(--core-gray-50);
}

.form-item input[disabled], .form-item select[disabled] {
    background-color: var(--core-gray-50);
}

.form-item .yes-no-select:has(input[disabled]),
.form-item .multi-select:has(input[disabled]),
.notes-textarea:disabled,
.form-item input[type="file"]:disabled {
	background-color: var(--core-gray-50);
}

.form-item {
	min-height: 40px;
	margin: 0 0 5px 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	position: relative;
}

.form-item > label {
	height: 40px;
	width: 280px;
	min-width: 280px;
	padding: 10px;
	display: flex;
	align-items: center;
	background-color: var(--core-white);
	font-size: 0.8rem;
	font-weight: bold;
	letter-spacing: 0.1rem;
}

.form-item .plus-button {
	width: 250px;
	margin-left: 10px;
	justify-content: center;
	cursor: pointer;
}

.form-item p {
    height: 40px;
    width: 100%;
    margin-left: 10px;
    font-size: 0.9rem;
    background-color: white;
    font-weight: 300;
    display: flex;
    align-items: center;
    padding: 0 10px;
    word-break: break-all;
}

.form-item:has(.display) {
    align-items: start;
}

.form-item .display {
    min-height: 40px;
    width: 100%;
    margin-left: 10px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    padding: 0 8px;
    word-break: break-all;
}

.form-item > select {
	padding: 0 5px;
}

.form-item > span > input, .form-item > input {
	padding: 0 10px;
}

.form-item > span > input, .form-item > input, .form-item > select {
	height: 40px;
	width: 100%;
	margin-left: 10px;
	border: none;
	font-family: var(--font-family), sans-serif;
	font-size: 0.9rem;
	background-color: white;
	color: var(--colour-text-1);
	font-weight: 300;
}

.form-item > span > input::placeholder, .form-item > input::placeholder, .form-item > select::placeholder {
	color: #9096a4;
	font-size: 0.7rem;
}

.form-item > div {
	width: 100%;
	height: 100%;
	margin: 0 0 0 10px;
	padding: 0;
	display: flex;
	justify-content: left;
	align-items: center;
	background: none;
}

.form-item input[type="file"] {
	height: auto;
	margin: 0;
	background-color: unset;
}

.form-item-radio {
	min-height: 40px;
	margin: 0 0 5px 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	position: relative;
}

.form-item-radio > label {
	height: 40px;
	width: 280px;
	min-width: 280px;
	padding: 10px;
	display: flex;
	align-items: center;
	background-color: var(--core-white);
	font-size: 0.8rem;
	font-weight: bold;
	letter-spacing: 0.1rem;
}

.form-item .clearable {
    display: flex;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background-color: var(--core-gray-50);
    color: var(--core-black);
    justify-content: center;
    align-items: center;
    font-size: 1.8rem;
    font-weight: lighter;
    cursor: pointer;
}

.form-item .selectable {
	display: flex;
	flex-shrink: 0;
	width: 40px;
	height: 40px;
	background-color: var(--colour-secondary);
	color: var(--core-black);
	justify-content: center;
	align-items: center;
	font-size: 1.8rem;
	font-weight: lighter;
	cursor: pointer;
}

.form-item .selectable img {
	height: 16px;
	width: 16px;
}

input[type="radio"] {
	margin-top: -1px;
	vertical-align: middle;
}

.radio-list {
	width: 100%;
	margin-left: 10px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
}

.radio-list > span {
	padding: 5px;
	height: 100%;
	width: 50%;
	display: flex;
	align-items: center;
}

.radio-list label {
	padding: 0;
	margin: 0;
	display: flex;
	align-items: center;
	line-height: 18px;
	font-size: 0.9rem;
}

.radio-list input {
	min-width: 18px;
	min-height: 18px;
	max-width: 18px;
	max-height: 18px;
	margin-right: 5px;
}

.mass-multi-select, .multi-select, .yes-no-select {
	width: 100%;
	height: 100%;
	display: inline-flex;
	align-items: center;
	flex-wrap: wrap;
}

.mass-multi-select > span, .multi-select > span, .yes-no-select > span {
	min-height: 40px;
	display: flex;
	align-items: center;
	margin-right: 20px;
	margin-left: 10px;
}

.form-item select {
	padding-left: 10px;
}

.form-item input[type="file"] {
	margin-left: 10px;
}

.mass-multi-select > label, .multi-select > label, .yes-no-select > label {
	padding-top: 2px;
	display: block;
	margin-left: 3px;
}

.mass-multi-select {
	height: 100%;
	padding: 16px 20px;
	background-color: #f2f3f4;
	flex-wrap: wrap;
	justify-content: flex-start;
}

.mass-multi-select > span {
	display: flex;
	align-items: center;
	margin: 3px 0;
	min-height: 30px;
	width: 31.5%;
}

.multi-select {
	margin-top: 10px;
	padding: 5px 10px 0 10px;
	flex-wrap: wrap;
	justify-content: flex-start;
}

.yes-no-select {
	height: 40px;
	padding-left: 10px;
}

.yes-no-select span {
	width: auto;
	font-family: var(--font-family), sans-serif;
	font-size: 0.9rem;
	margin: 0 10px;
}

.multi-form-item {
	height: 40px;
	margin: 5px 0;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	color: #9096a4;
}

.multi-form-item > span:last-child {
	padding: 0;
}

.multi-form-item span {
	display: flex;
	height: 100%;
	min-height: 40px;
	width: 100%;
	padding-right: 20px;
}

.multi-form-item label {
	min-height: 40px;
	min-width: 240px;
	width: auto;
	margin-right: 10px;
	padding: 10px;
	display: flex;
	align-items: center;
	background-color: var(--core-white);
	font-size: 0.8rem;
	font-weight: bold;
	letter-spacing: 0.1rem;
	white-space: nowrap;
}

.multi-form-item select {
	padding: 0 5px;
}

.multi-form-item input {
	padding: 0 10px;
}

.multi-form-item input, .multi-form-item select {
	min-height: 40px;
	min-width: 50px;
	width: 100%;
	border: none;
	font-family: var(--font-family), sans-serif;
	font-size: 0.9rem;
}

.multi-form-item input::placeholder, .multi-form-item select::placeholder {
	color: #9096a4;
	font-size: 0.7rem;
}

.order-search-inputs {
	display: flex;
	flex-wrap: wrap;
}

.order-search-inputs span:nth-child(even) {
	margin-left: 10px;
}

.order-search-inputs span {
	display: flex;
	width: calc(50% - 10px);
	height: auto;
	min-height: 40px;
	margin-bottom: 10px;
}

.order-search-inputs label {
	min-height: 40px;
	min-width: 250px;
	width: auto;
	margin-right: 10px;
	padding: 10px;
	display: flex;
	align-items: center;
	background-color: var(--core-white);
	font-size: 0.8rem;
	font-weight: bold;
	letter-spacing: 0.1rem;
	white-space: nowrap;
}

.order-search-inputs input, .order-search-inputs select {
	padding: 0 10px;
	min-height: 40px;
	min-width: 50px;
	width: 100%;
	border: none;
	font-family: var(--font-family), sans-serif;
	font-size: 0.9rem;
	background-color: var(--core-white);
	font-weight: 300;
}

.order-search-inputs input::placeholder, .order-search-inputs select::placeholder {
	color: #9096a4;
	font-size: 0.7rem;
}

.notes-textarea {
	height: 100px;
	margin: 0 0 5px 0;
	padding: 10px;
	border: none;
	resize: none;
	font-size: 0.9rem;
	letter-spacing: 0.1rem;
	font-family: var(--font-family), sans-serif;
}

.notes-textarea::placeholder {
	color: #9096a4;
}

.profile-frame {
    width: 100%;
	display: grid;
	grid-gap: 20px;
	grid-template-columns: 7fr 3fr;
	grid-template-rows: auto auto auto;
	grid-template-areas: "details image" "stock image" "components image";
	font-family: var(--font-family), sans-serif;
	align-items: flex-start;
}

.profile-image-holder {
    top: 20px;
    position: sticky;
	width: 100%;
    padding: 20px;
    background-color: var(--core-gray-25);
    grid-area: image;
}

.profile-image {
    cursor: zoom-in;
    height: 100%;
    width: 100%;
}

.profile-image-popup {
	width: 100%;
	height: 100%;
	visibility: hidden;
	position: fixed;
	left: 0;
	top: 0;
	z-index: 99;
	display: flex;
	justify-content: center;
	align-items: stretch;
	padding: 5vh;
	cursor: zoom-out;
	background-color: rgba(0, 0, 0, 0.7);
}

.profile-image-popup img {
	object-fit: contain;
	cursor: auto;
}

.profile-image-popup .popup-close {
	width: 2.5rem;
	height: 2.5rem;
	position: absolute;
	right: 1rem;
	top: 1rem;
	z-index: 100;
	font-size: 4rem;
	line-height: 2rem;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	user-select: none;
	color: var(--core-white);
}

.profile-header {
    font-weight: bold;
    letter-spacing: 0.1rem;
    margin-top: 0;
    margin-bottom: 16px;
}

.profile-details {
	width: 100%;
	padding: 20px;
	background-color: var(--core-gray-25);
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	grid-area: details;
}

.profile-details > div {
	display: flex;
}

.profile-details .profile-row > p {
	min-width: 240px;
	width: 240px;
}

.full-grid-row {
	grid-column: -1;
}

.multi-row {
	flex-wrap: wrap;
}

.multi-row .profile-row {
	min-width: 400px;
	width: 33%;
}

.separator {
	width: auto;
	padding: 0 5px !important;
}

.footer {
	height: 120px;
	padding: 30px;
	background-color: var(--colour-primary);
	display: flex;
	align-items: flex-end;
	justify-content: flex-end;
}

.settings-content {
	width: 100%;
}

.settings-box {
    width: 100%;
	padding: 20px;
	display: flex;
	flex-direction: column;
	background-color: var(--core-gray-25);
	font-family: var(--font-family), sans-serif;
}

.settings-box h2 {
	margin: 0 0 20px 0;
	font-size: 1.4rem;
	font-weight: bold;
	letter-spacing: 0.1rem;
}

.settings-box h3 {
    margin: 0 0 20px 0;
    font-size: 1rem;
    font-weight: bold;
    letter-spacing: 0.1rem;
}

.settings-box hr {
	width: 100%;
	border: 1px solid var(--core-gray-50);
}

.settings-box input[type="submit"] {
	width: 300px;
	min-height: 60px;
	padding: 20px 30px;
	align-self: flex-end;
	font-size: 1rem;
	letter-spacing: 0.1rem;
	font-family: var(--font-family), sans-serif;
	border: none;
	font-weight: bold;
	color: var(--core-white);
	cursor: pointer;
}

.settings-box .button-container {
	width: 100%;
	display: flex;
	justify-content: space-between;
	margin-top: 10px;
}

.settings-row {
	width: 100%;
	padding: 5px 0;
	display: flex;
	align-items: flex-start;
	font-size: 0.8rem;
	letter-spacing: 0.1rem;
}

.settings-row > p {
	min-width: 300px;
	width: 300px;
	padding: 10px 15px;
	font-weight: bold;
	background-color: var(--core-white);
}

.settings-row > input {
	width: 100%;
	min-height: 40px;
	height: 100%;
	padding: 10px 15px;
	background-color: var(--core-white);
	border: none;
	font-family: var(--font-family), sans-serif;
	font-size: 0.8rem;
	letter-spacing: 0.1rem;
}

.footer .circle-branding {
	margin: 25px 0;
}

.footer p {
	font-size: 1.3rem;
	letter-spacing: 0.3rem;
	margin: 0 0 10px 0;
}

.footer .circle-holder div {
	height: 100px;
	width: 100px;
	margin: 0 10px;
	border-radius: 75px;
	font-size: 1rem;
	letter-spacing: 0.2rem;
}

.hidden {
	visibility: hidden;
}

.required::after {
	content: "*";
	font-family: var(--font-family), sans-serif;
	font-size: 1.3rem;
	color: var(--colour-secondary);
}

.small-spacer {
	visibility: hidden;
	margin: 10px 0;
}

.spacer {
	visibility: hidden;
	margin: 25px 0;
}

.circle-branding {
	height: auto;
	width: auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	color: var(--core-white);
	font-family: var(--font-family), sans-serif;
}

.circle-branding p {
	text-align: center;
	font-weight: bold;
}

.circle-holder {
	display: flex;
}

.circle-holder div {
	display: flex;
	justify-content: center;
	align-items: center;
	font-weight: bold;
}

.tool-bar {
	height: auto;
	margin: 20px 40px 20px 40px;
	display: flex;
	justify-content: flex-end;
	align-items: center;
}

.tool-bar .toolbar-button, .tool-bar div {
	height: 40px;
	width: auto;
	margin-left: 20px;
	padding: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: var(--colour-secondary);
	color: var(--core-white);
	cursor: pointer;
    text-decoration: none;
}

.tool-bar .toolbar-button img, .tool-bar div img {
	height: 100%;
	width: auto;
	margin-right: 5px;
}

.tool-bar .toolbar-button p, .tool-bar div p {
	height: 100%;
	width: auto;
	font-size: 0.7rem;
}

#OrderDetails .order-details-toolbar {
	position: sticky;
	background-color: var(--core-gray-25);
	top: 0;
	z-index: 2;
	.tool-bar {
		margin: 0;
		padding-top: 10px;
		justify-content: flex-end;

		.toolbar-button {
			height: 30px;
		}
	}
}



#orderDetailsModal .modal-content .modal-body:has(.tool-bar) {
	padding-top: 0;
}

.incrementer-box {
	display: inline-flex;
	justify-content: center;
	align-items: center;
}

.incrementer-box span {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	background-color: var(--colour-primary);
}

.incrementer-box div {
	width: 30px;
	height: 30px;
	display: flex;
	justify-content: center;
	align-items: center;
	background-color: var(--colour-primary);
	border: 3px solid var(--colour-primary);
	cursor: pointer;
}

.incrementer-box div p {
	line-height: 1px;
	font-size: 1.6rem;
	font-weight: normal;
	color: var(--core-white);
	user-select: none;
}

.incrementer-box input {
	width: 74px;
	height: 24px;
	padding: 0 10px;
	margin: 0 2px;
	text-align: center;
	border: none;
	font-size: 0.9rem;
	font-family: var(--font-family), sans-serif;
	letter-spacing: 0.05rem;
    -moz-appearance: textfield;
}

.incrementer-box input::-webkit-outer-spin-button,
.incrementer-box input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.header {
	height: 120px;
	width: 100%;
	padding: 20px 40px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	background-color: var(--core-white);
}

.header-client-logo {
	height: 60px;
}

.header-client-logo img {
	height: 100%;
    max-width: 300px;
    object-fit: contain;
}

.navbar-menu, .navbar-submenu {
	width: 100%;
	padding: 10px 40px;
	display: flex;
	justify-content: space-between;
    background-color: var(--colour-primary);
	align-items: center;
	color: var(--core-white);
}

.navbar-menu {
    height: max(75px, auto);
    background-color: var(--colour-primary);
	font-size: calc(0.8rem + 0.2vw);
}

.navbar-menu ul {
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	list-style: none;
}

.navbar-menu ul li {
	margin: 5px 5px 5px 0;
}

.navbar-menu a {
	padding: 10px 15px;
	display: flex;
	justify-content: center;
	align-items: center;
	text-decoration: none;
	color: var(--core-white);
	cursor: pointer;
	white-space: nowrap;
}

.navbar-menu a:hover {
	background-color: var(--colour-secondary);
}

.navbar-menu .logout {
	outline: 1px solid var(--core-white);
	background-color: var(--colour-primary);
}

.navbar-submenu {
	flex-wrap: wrap;
}

.navbar-submenu > div {
	height: 100%;
	display: flex;
	flex-wrap: wrap;
	font-size: 0.9rem;
}

/* The container <div> - needed to position the dropdown content */
.navbar-dropdown {
	position: relative;
	display: inline-block;
	/* Show the dropdown menu on hover */
}

.navbar-dropdown:hover .dropdown-button {
	background-color: var(--colour-secondary);
}

.navbar-dropdown:hover .dropdown-content {
	display: block;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
	display: none;
	position: absolute;
	background-color: var(--core-gray-25);
	width: 240%;
	z-index: 1;
	margin: 0 1px;
	font-size: 0.8rem;
}

.dropdown-content a {
	color: var(--colour-primary);
	text-decoration: none;
	display: block;
	border: 1px solid var(--core-white);
	padding: 10px 15px;
	font-style: normal;
	cursor: pointer;
}

.dropdown-content div:hover {
	background-color: var(--core-gray-50);
}

.selected {
	box-shadow: 0 -2px 0 var(--colour-secondary);
}

.navbar-search {
	height: 40px;
	display: flex;
}

.navbar-search input {
	height: 40px;
	width: 180px;
	padding: 0 10px;
	font-size: 0.8rem;
	letter-spacing: 0.1rem;
	border: none;
}

.navbar-search input::placeholder {
	font-size: 0.8rem;
}

.navbar-search a {
	height: 100%;
	width: 46px;
	border: none;
	color: var(--core-white);
	padding: 7px 10px;
	cursor: pointer;
	background-color: var(--colour-secondary);
}

.navbar-search img {
	height: 26px;
	width: 26px;
}

.navbar-cart {
	height: 40px;
	width: 80px;
	padding: 7px 10px;
	position: relative;
	display: flex;
	align-items: center;
	text-decoration: none;
	background-color: var(--colour-secondary);
	color: var(--core-white);
	cursor: pointer;
    margin-right: 5px;
}

.navbar-cart img {
	height: 100%;
}

.navbar-cart span {
	display: flex;
	flex-direction: column;
}

.navbar-cart p {
	font-size: 0.7rem;
	margin-right: 6px;
	font-family: var(--font-family), sans-serif;
}

.navbar-cart:hover {
	background-color: #2ab;
}

.cart-quantity-label {
	width: 1.3rem;
	height: 1.3rem;
	position: absolute;
	right: -0.5rem;
	top: -0.5rem;
	display: flex;
	justify-content: center;
	align-items: center;
	line-height: 1.3rem;
	font-size: 0.9rem;
	border-radius: 1rem;
	background-color: var(--colour-accent);
	border: 2px solid var(--core-white);
}

.navbar-select-header {
	font-size: calc(0.6rem + 0.2vw);
	margin-left: 5px;
}

.navbar-selects {
	height: 40px;
	padding: 0 5px;
	margin: 5px 20px 5px 0;
	border: none;
	border-bottom: 2px solid var(--colour-secondary);
	color: var(--core-white);
	text-align: left;
	font-weight: bold;
	font-family: inherit;
	font-size: 0.9rem;
	cursor: pointer;
	background-color: transparent;
}

.navbar-selects option {
	text-align: left;
	direction: ltr;
    background-color: var(--colour-primary);
}

.primary-bg {
    background-color: var(--colour-primary);
}

.secondary-bg {
    background-color: var(--colour-secondary);
}

.accent-bg {
    background-color: var(--colour-accent);
}

.gray25-bg {
    background-color: var(--core-gray-25);
}

.red-bg {
	background-color: var(--core-red);
}

:not(.form-item) > .selectable {
	cursor: pointer;
	border: 2px solid var(--core-white);
}

:not(.form-item) > .selectable:hover {
	background-color: #e6e6e6;
}

.rotate-90 {
	transform: rotate(90deg);
}

.rotate-180 {
	transform: rotate(180deg);
}

.rotate-270 {
	transform: rotate(270deg);
}

.error-text {
	margin: 5px 0;
	text-align: center !important;
	color: red !important;
}

fieldset {
	border: none;
}

.modal {
	width: 100%;
	height: 100%;
	visibility: hidden;
   /* Hidden by default */
	position: fixed;
	left: 0;
	top: 0;
	z-index: 99;
	display: flex;
	justify-content: center;
	align-items: flex-start;
	overflow: hidden;
	background-color: rgba(0, 0, 0, 0.4);
	font-family: var(--font-family), sans-serif;
	color: var(--core-white);
}

.modal-content {
	width: 55vw;
	height: auto;
	max-height: 80vh;
	margin-top: 10vh;
	position: relative;
	display: flex;
	flex-direction: column;
	border: 3px solid var(--core-white);
	background-color: var(--core-gray-25);
}

.modal-large {
    width: 75vw;
}

.modal-small {
    width: 40vw;
}

.modal-close {
	width: 2.5rem;
	height: 2.5rem;
	position: absolute;
	right: -1rem;
	top: -1rem;
	z-index: 100;
	text-decoration: none;
	border-radius: 50%;
	background-color: var(--colour-accent);
	border: 0.2rem solid var(--core-white);
	cursor: pointer;
	user-select: none;
}

.modal-close::after {
	font-size: 2.5rem;
	line-height: 2.5rem;
	content: "×";
	position: relative;
	top: -0.3rem;
	left: 0.35rem;
}

.modal-header {
	padding: 20px;
	font-size: 1.5rem;
	font-weight: bold;
	border-bottom: 3px solid var(--core-white);
	background-color: var(--colour-primary);
}

.modal-body {
	padding: 20px;
	display: flex;
	flex-direction: column;
    align-items: center;
	overflow: auto;
	color: var(--colour-text-1);
    gap: 8px;
}

.modal-body > .dt-container {
	width: 100%;
}

.upload-modal .modal-body {
	height: 100%;
}

.upload-modal .modal-body form {
	display: flex;
	justify-content: center;
}

.upload-modal .modal-body input[type="file"] {
	width: auto;
	margin-bottom: 10px;
}

.upload-modal .modal-body .file-label {
	width: 100%;
	height: 80px;
	display: flex;
	justify-content: center;
	align-items: center;
	border: 3px dashed #acb0bb;
	color: #9096a4;
	font-size: 1.1rem;
}

.save-modal .modal-body span {
	width: 100%;
}

.load-modal .modal-body div {
	color: var(--core-gray-75);
	font-family: var(--font-family), sans-serif;
	max-height: 400px;
	max-width: 100%;
	overflow-y: auto;
}

.load-modal .modal-body div table {
	width: 100%;
	border-collapse: collapse;
}

.load-modal .modal-body div thead {
	position: sticky;
	top: 0;
}

.load-modal .modal-body div tbody tr {
	cursor: pointer;
	background-color: #d6d8dd;
}

.load-modal .modal-body div tbody tr:nth-child(odd) {
	background-color: #f8f8f9;
}

.load-modal .modal-body div tr {
	height: 40px;
}

.load-modal .modal-body div thead tr {
	border-top: 1px solid var(--colour-primary);
	border-bottom: 2px solid var(--colour-primary);
	background-color: var(--core-gray-50);
}

.load-modal .modal-body div td, .load-modal .modal-body div th {
	color: var(--colour-primary);
	padding: 5px 15px;
	text-align: left;
	word-break: break-all;
	min-width: 140px;
}

.load-modal .modal-body div .delete-row {
	min-width: 40px;
	width: 40px;
	padding: 0;
	text-align: center;
	user-select: none;
	font-size: 1.4rem;
}

.load-modal .modal-body div .delete-row:hover {
	background-color: #f44;
	color: var(--core-white);
}
  
.details-modal .modal-content {
	width: 60vw;
	margin-top: 10vh;
	max-height: 75vh;
}

.details-modal .modal-body {
	width: 100%;
	flex-direction: column;
}

.details-modal .modal-body .details-box {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	flex-wrap: wrap;
	margin: 0;
}

.details-modal .modal-body .details-box > span {
	width: 45%;
	min-width: 450px;
}

.details-modal .modal-body div {
	display: flex;
	flex-direction: row;
	margin: 5px 0;
}

.details-modal .modal-body div > p:first-child {
	width: 230px;
	margin-right: 10px;
	font-weight: bold;
	text-align: right;
}

.details-modal .modal-body div p {
	font-size: 1rem;
	font-family: var(--font-family), sans-serif;
	font-weight: 300;
}

.details-modal .search-table-head-row {
	background-color: var(--core-gray-50);
	border-top: 1px solid var(--colour-primary);
	border-bottom: 1px solid var(--colour-primary);
}

.details-modal table {
	margin: 10px 0 20px 0;
}

.btn {
	width: 100px;
	height: 40px;
	margin: 5px 5px;
	padding: 0 10px;
	display: flex;
	justify-content: center;
	align-items: center;
	font-family: var(--font-family), sans-serif;
	font-size: 0.8rem;
	color: var(--core-white);
	border: none;
	cursor: pointer;
}

.notification {
	height: auto;
	width: 350px;
	bottom: -205px;
	right: 5px;
	position: fixed;
	z-index: 99;
	border-radius: 10px;
	color: var(--core-white);
	font-family: var(--font-family), sans-serif;
	font-size: 1rem;
	line-height: 1.5rem;
	opacity: 0;
	transition: all 0.5s;
    margin: 0 auto;
    box-shadow: 2px 2px 2px #4d4d4d;
}

.notification:last-child {
    right: 10px;
}

.notification:not(:last-child) {
    height: 80px;
}

.notification .notif-close {
	width: 45px;
	height: 45px;
	position: absolute;
	right: 0;
	top: 0;
	z-index: 100;
	font-size: 1.7rem;
	font-weight: bold;
	line-height: 45px;
	text-align: center;
	text-decoration: none;
	border-radius: 100%;
	cursor: pointer;
	user-select: none;
}

.notification .notif-header {
	display: flex;
	align-items: center;
	font-weight: bold;
	border-bottom: 1px solid var(--core-white);
}

.notification .notif-body {
	max-height: 400px;
	display: flex;
	font-weight: normal;
	overflow-y: auto;
}

.notification p {
	margin: 10px;
}

.info {
	background-color: var(--core-blue);
}

.success {
	background-color: var(--core-green);
}

.warning {
	background-color: var(--core-orange);
}

.error {
	background-color: var(--core-red);
}

.floating-heading-box {
	width: 100%;
	padding: 10px 0;
	margin-top: 20px;
	display: flex;
	flex-direction: column;
	font-family: var(--font-family), sans-serif;
}

.floating-heading-box h2 {
	margin: 0;
	font-size: 1.4rem;
	font-weight: bold;
	letter-spacing: 0.1rem;
}

.error-block {
	display: flex;
	flex-direction: column;
	align-items: center;
	max-width: 600px;
	padding: 30px;
	color: var(--core-white);
	font-size: 1.5rem;
	text-align: center;
	background-color: var(--colour-primary);
}

.bulk_order {
	width: 60vw;
	margin: 100px auto;
	padding: 10px;
	display: flex;
	flex-grow: 1;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

.bulk_order div {
	width: 100%;
	padding: 10px;
	background-color: var(--core-gray-50);
}

.bulk_order div h1 {
	margin: 0 0 10px 0;
	padding: 0;
	font-size: 1.4rem;
}

.bulk_order div p {
	padding: 5px;
	font-size: 1rem;
	background-color: var(--core-gray-25);
}

.total-entries-label {
	font-family: var(--font-family), sans-serif;
	font-size: 1rem;
	color: var(--colour-text-1);
	margin-bottom: 10px;
}

.load-modal-description {
	display: table-cell;
}

@media (max-width: 1000px) {
	.navbar-menu {
		padding: 15px 3vw;
	}
	.navbar-menu ul {
		justify-content: center;
	}
	.navbar-submenu {
		padding: 10px 3vw;
	}
	.navbar-submenu > div {
		width: 100%;
		justify-content: center;
	}
	.navbar-submenu .navbar-cart, .navbar-submenu .navbar-search {
		margin: 5px 10px 5px 0;
	}
	.login-header, .header {
		flex-direction: column;
		align-items: center;
		height: auto;
	}
	.login-header-email {
		margin-top: 30px;
	}
	.login-footer, .footer {
		justify-content: center;
		align-items: center;
	}
	.profile-frame {
		grid-template-columns: 1fr;
	}
	.profile-image-holder {
		grid-row: 1;
	}
	.profile-row {
		flex-direction: column;
	}
	.profile-row > p {
		width: 100% !important;
		text-align: left;
	}
	.profile-row div {
		margin: 0;
	}
	.profile-details {
		margin-right: 0;
		width: 100%;
	}
	.details-box span {
		min-width: 100% !important;
		justify-content: center;
	}
	.details-box span p {
		width: 100% !important;
		text-align: center !important;
	}
	.details-box span div {
		flex-direction: column !important;
		justify-content: center;
		margin-left: 0;
	}
	.details-box span div span {
		justify-content: center;
	}
}

@media (max-width: 650px) {
	.navbar-selects {
		width: 100%;
	}
	.navbar-select-holder {
		width: 100%;
	}
	.login-form {
		width: 95%;
	}
	.login-form img {
		height: auto;
	}
	.login-form form {
		width: 90%;
	}
	.multi-form-item span {
		flex-direction: column;
	}
	.multi-form-item span label, .multi-form-item span input {
		margin: 5px 0;
	}
	.order-search-inputs span {
		flex-direction: column;
	}
	.order-search-inputs span label, .order-search-inputs span input {
		margin: 5px 0;
	}
	.search-box-footer {
		flex-direction: column;
		align-items: center;
	}
	.search-box-footer span {
		margin-bottom: 10px;
	}
	.product-list {
		justify-content: center;
	}
	.form-item {
		flex-direction: column;
	}
	.form-item label, .form-item input, .form-item select, .form-item textarea, .form-item div {
		width: 100%;
		margin: 0 0 5px 0;
	}
	.yes-no-select input {
		margin-right: 5px;
	}
	.mass-multi-select span, .multi-select span {
		width: 50%;
		margin: 0;
	}
	.mass-multi-select span input[type="checkbox"], .multi-select span input[type="checkbox"] {
		width: auto;
		margin-right: 5px;
	}
	.datalist-arrow {
		position: absolute;
		top: 60px;
		right: 10px;
		pointer-events: none;
	}
	.modal-content {
		width: 90vw !important;
	}
	.modal-content .notes-textarea {
		height: 100px;
	}
	.modal-content .load-modal-description {
		display: none;
	}
}

@media (max-width: 1100px) {
	.tool-bar {
		justify-content: center;
		flex-wrap: wrap;
	}
	.tool-bar div {
		margin: 5px;
	}
	.tool-bar div p {
		white-space: nowrap;
	}
	.cart-wrapper {
		flex-direction: column;
	}
	.cart-info, .cart-items {
		width: 100%;
	}
	.multi-form-item {
		height: auto;
		flex-wrap: wrap;
		margin: 0;
	}
	.multi-form-item > span {
		padding: 0;
		margin: 5px 0;
	}
	.order-search-inputs span {
		width: 100%;
		margin: 0 0 10px 0;
	}
	.order-search-inputs span:nth-child(even) {
		width: 100%;
		margin: 0 0 10px 0;
	}
	.modal-content {
		width: 80vw;
	}
}

.check-small {
	font-size: 16px;
}

.check-medium {
	font-size: 20px;
}

.check-large {
	font-size: 24px;
}

/* Customize the label (the container) */
.check-container {
	display: flex;
	position: relative;
	padding-left: 1.5em;
	line-height: 1em;
	cursor: pointer;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	align-items: center;
	flex-wrap: wrap;
}

/* Hide the browser's default checkbox */
.check-container input {
	position: absolute;
	opacity: 0;
	cursor: pointer;
	height: 0;
	width: 0;
}

/* Create a custom checkbox */
.radiobox, .checkbox {
	position: absolute;
	top: 0;
	left: 0;
	height: 1em;
	width: 1em;
	background-color: white;
    outline: 1px solid var(--colour-primary);
}

.radiobox {
	border-radius: 50%;
}

/* On mouse-over, add a grey background color */
.check-container:hover input ~ .radiobox, .check-container:hover input ~ .checkbox {
	background-color: #ccc;
}

.check-container input:focus ~ .radiobox, .check-container input:focus ~ .checkbox {
    background-color: var(--core-gray-50);
    outline: 1px solid var(--core-gray-75);
}

/* When the checkbox is checked, add a blue background */
.check-container input:checked ~ .radiobox {
	background-color: var(--colour-primary);
}

.check-container input:checked ~ .checkbox {
	background-color: var(--colour-secondary);
}

/* Create the checkbox/indicator (hidden when not checked) */
.radiobox:after, .checkbox:after {
	content: "";
	position: absolute;
	display: none;
}

/* Show the checkbox when checked */
.check-container input:checked ~ .radiobox:after, .check-container input:checked ~ .checkbox:after {
	display: block;
}

/* Style the checkbox/indicator */
.check-container .checkbox:after {
	left: 0.35em;
	top: 0.15em;
	width: 0.3em;
	height: 0.6em;
	border: solid white;
	border-width: 0 0.15em 0.15em 0;
	-webkit-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	transform: rotate(45deg);
}

.check-container .radiobox:after {
	left: 0.3em;
	top: 0.3em;
	width: 0.4em;
	height: 0.4em;
	border-radius: 50%;
	background: white;
}

.flex {
	display: flex;
}

.justify-start {
	justify-content: start;
}

.justify-center {
	justify-content: center;
}

.justify-end {
	justify-content: end;
}

.justify-between {
	justify-content: space-between;
}

.align-start {
	align-items: start;
}

.align-center {
	align-items: center;
}

.align-end {
	align-items: end;
}

.padding-5 {
	padding: 5px;
}

.padding-10 {
	padding: 10px;
}

.padding-15 {
	padding: 15px;
}

.padding-20 {
	padding: 20px;
}

#btn-back-to-top {
    position: sticky;
    bottom: 30px;
    left: calc(100% - 30px);
    display: none;
    background-color: transparent;
    cursor: pointer;
}

#btn-back-to-top img {
    width: 30px;
    height: 30px;
}

/* Clean CSS */

.basic-table, .basic-table thead, .basic-table tbody {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8rem;
    color: #4d4d4d;
    text-align: center;
}

.basic-table th {
    padding: 8px;
    color: var(--core-gray-25);
    background-color: var(--colour-primary);
    border-top: 1px solid var(--colour-primary);
    border-bottom: 1px solid var(--colour-primary);
}

.basic-table td {
    padding: 8px;
    color: var(--colour-text-1);
    background-color: var(--core-gray-25);
    border-bottom: 1px solid var(--colour-primary);
    word-break: break-all;
}

.basic-table tbody tr:nth-child(even) {
    background-color: #f8f8f9;
}

.content-box {
    width: 100%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    font-family: var(--font-family), sans-serif;
}

.content-box h2 {
    margin: 0 0 20px 0;
    font-size: 1.4rem;
    font-weight: bold;
    letter-spacing: 0.1rem;
}

.button {
    width: 150px;
    height: 40px;
    color: var(--core-white);
    font-size: calc(0.5rem + 0.3vw);
    letter-spacing: 0.1rem;
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.button-large {
    width: 300px;
    height: 80px;
    color: var(--core-white);
    font-size: calc(1rem + 0.3vw);
    letter-spacing: 0.1rem;
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.button-small {
    padding: 7px;
    color: var(--core-white);
    border: none;
    font-size: 0.8rem;
    cursor: pointer;
}

.profile-image-slide {
    display: none;
    cursor: zoom-in;
}

.image-slide-nav {
    margin-top: 4px;
    display: flex;
    align-items: center;
}

.image-slide-buttons {
    white-space: nowrap;
}

.image-slide-buttons a:hover {
    background-color: rgba(0,0,0,0.2);
}

.image-slide-buttons a {
    cursor: pointer;
    text-align: center;
    width: auto;
    padding: 10px;
    font-weight: bold;
    border-radius: 3px 0 0 3px;
    user-select: none;
    font-size: 20px;
}

.image-slide-buttons a:nth-child(2) {
    border-radius: 0 3px 3px 0;
}

.product-list-image-holder {
	position: relative;
	width: 100%;
	grid-area: image;
}

.product-list-image-slide:hover > .product-list-image-slide-prev,
.product-list-image-slide:hover > .product-list-image-slide-next {
    display: flex;
}

.product-list-image-slide-prev,
.product-list-image-slide-next {
	position: absolute;
	top: calc(50% - 25px);
	transform: scaleY(2);
	color: var(--colour-primary);
	cursor: pointer;
    display: none;
    height: 50px;
    width: 30px;
    justify-content: center;
    align-items: center;
}

.product-list-image-slide-prev {
	left: 0;
}

.product-list-image-slide-next {
	right: 0;
}

.product-list-image-slide-prev:hover,
.product-list-image-slide-next:hover {
	display: flex;
}

.image-slide-caption {
    font-size: 20px;
    padding: 8px 12px;
    top: 0;
    word-break: break-all;
    white-space: normal;
    flex-grow: 1;
    text-align: center;
}

.image-slide-number {
    font-size: 20px;
    padding: 8px 12px;
    bottom: 8px;
    text-align: right;
}

.profile-stock-details {
    width: 100%;
    padding: 20px;
    background-color: var(--core-gray-25);
    grid-area: stock;
}

#imageModal .modal-body {
    display: block;
}

.info-box {
    color: var(--core-white);
    padding: 5px 10px;
    text-align: left;
}

.info-box p {
    margin: 5px 0;
    font-size: 0.7rem;
}

.info-box a {
    color: var(--core-white);
    text-decoration: underline;
}

#OrderListTable tbody tr:hover,
#ApprovalListTable tbody tr:hover{
    background-color: var(--core-gray-25);
}

.form {
    display: flex;
    flex-direction: column;
    background-color: var(--core-gray-25);
    padding: 20px;
}

.form h2 {
    height: auto;
    margin: 0 0 10px 0;
    font-size: 1.4rem;
    font-weight: bold;
    letter-spacing: 0.1rem;
}

.down-arrow {
	height: 10px;
	width: 10px;
}

.change-file-button {
    margin-left: 1em;
}

.search-criteria {
    background-color: var(--core-gray-25);
    h2 {
        margin: 0;
        padding-top: 20px;
        padding-left: 20px;
    }
    .order-search-inputs label {
        margin-right: 0;
    }
    .reporting-form-buttons {
        background-color: inherit;
    }
}

.loader {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    position: absolute;
    left: calc(50vw - 40px);
    top: calc(50vh - 40px);
    animation: rotate 1s linear infinite
}

.loader::before {
    content: "";
    box-sizing: border-box;
    position: absolute;
    inset: 0px;
    border-radius: 50%;
    border: 8px solid var(--colour-secondary);
    animation: prixClipFix 2s linear infinite;
}

@keyframes rotate {
    100%   {transform: rotate(360deg)}
}

@keyframes prixClipFix {
    0%   {clip-path:polygon(50% 50%,0 0,0 0,0 0,0 0,0 0)}
    25%  {clip-path:polygon(50% 50%,0 0,100% 0,100% 0,100% 0,100% 0)}
    50%  {clip-path:polygon(50% 50%,0 0,100% 0,100% 100%,100% 100%,100% 100%)}
    75%  {clip-path:polygon(50% 50%,0 0,100% 0,100% 100%,0 100%,0 100%)}
    100% {clip-path:polygon(50% 50%,0 0,100% 0,100% 100%,0 100%,0 0)}
}

#dashboard-page-button img {
	height: calc(0.8rem + 0.2vw);
}

#locationsTable tbody tr {
	background-color: #d6d8dd;
	&:nth-child(odd) {
		background-color: #f8f8f9;
	}
}

.badge-composite {
    background-color: var(--colour-primary);
    color: var(--core-white);
    font-family: var(--font-family), sans-serif;
	font-size: .65rem;
	font-weight: bold;
	padding: 2px 7px;
	border-radius: 4px;
	letter-spacing: .05rem;
	text-transform: uppercase;
	white-space: nowrap
}

.product-headers {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    text-align: left;
}

.product-headers p {
    font-size: 0.9rem;
    margin: 0;
    flex: 1;
}

.profile-components {
	width: 100%;
	padding: 20px;
	background-color: var(--core-gray-25);
	grid-area: components;
}

.profile-components-thumbnail {
	width: 48px;
	height: 48px;
	object-fit: cover;
	border-radius: 4px;
	vertical-align: middle;
	cursor: zoom-in;
}

#base-items-table,
#base-items-table th,
#base-items-table td {
	border-collapse: collapse;
	border-spacing: 0;
}

.base-items-row > td {
	padding: 0;
	margin: 0;
}

.base-items-row td:not(:last-child) {
	padding-right: 10px;
}

.base-items-row .form-item {
	margin: 0;
}

.base-items-row .form-item input {
	margin: 0;
}

.base-item-input {
	height: 40px;
	padding: 0 10px;
	border: none;
	box-sizing: border-box;
	font-family: var(--font-family), sans-serif;
	font-size: 0.9rem;
	background-color: white;
	color: var(--colour-primary);
	font-weight: 300;
	width: 100%;

	&::placeholder {
		color: rgb(143.9,149.96,164.1);
		font-size: 0.7rem;
	}
}

.base-item-actions {
	display: flex;
	gap: 8px;

	button {
		flex: 1;
		height: 40px;
		border: none;
		color: white;
		cursor: pointer;
	}
}

.base-item-name-label {
	display: flex;
	align-items: center;
	height: 40px;
	padding: 0 10px;
	background-color: white;
	color: var(--colour-primary);
	font-family: var(--font-family), sans-serif;
	font-size: 0.9rem;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}