html {
	color: #444;
	font-family: var(--font-body);
	font-size: 90%;
}
body {
	background-color: #dee4e7;
}
.btn-light-alt {
	color: #212529;
	background-color: #e2e6ea;
	border-color: #dae0e5;
	border: 1px solid rgba(0, 0, 0, 0.125);
}

.btn-light-alt:hover {
	color: #212529;
	background-color: #f8f9fa;
	border-color: #f8f9fa;
	border: 1px solid rgba(0, 0, 0, 0.125);
}

.btn-light {
	border: 1px solid rgba(0, 0, 0, 0.125);
}

.btn-light:hover {
	border: 1px solid rgba(0, 0, 0, 0.125);
}
.showhidebut {
	right: -15px;
	top: 0px;
	display: inline-block;
	content: '';
	width: 20px;
	height: 14px;
	/* background: transparent url(/cal-data/images/show.png) no-repeat; */
	cursor: pointer;
}
.showhideon {
	right: -15px;
	top: 0px;
	display: inline-block;
	content: '';
	width: 20px;
	height: 14px;
	/* background: transparent url(/cal-data/images/hide.png) no-repeat; */
	cursor: pointer;
}

.showhide:hover {
	cursor: pointer;
}
.showhidebut > i:hover,
.showhideon > i:hover,
.showhide > i:hover {
	opacity: 0.4;
	cursor: pointer;
}
.sticky {
	position: -webkit-sticky; /* Safari */
	position: sticky;
	top: 60px;
}
#listed_sections.sticky {
	max-height: 86vh;
}
#listed_sections.sticky > div.manage_menu {
	overflow-x: auto;
}
.calculation {
	position: relative;
	-ms-flex: 1 1 auto;
	flex: 1 1 auto;
	width: 1%;
	min-width: 0;
	margin-bottom: 0;
	display: block;
	height: calc(1.5em + 0.75rem + 2px);
	padding: 0.375rem 0.75rem;
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.5;
	color: #495057;
	background-color: #e9ecef;
	background-clip: padding-box;
	border: 1px solid #ced4da;
	border-radius: 0.25rem;
	transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
.live-save {
	/* border: 2px solid green; */
}
.form-control.is-invalid {
	background-image: none;
}
.opacity-0 {
	opacity: 0 !important;
}
.opacity-10 {
	opacity: 0.1 !important;
}
.opacity-20 {
	opacity: 0.2 !important;
}
.opacity-30 {
	opacity: 0.3 !important;
}
.opacity-40 {
	opacity: 0.4 !important;
}
.opacity-50 {
	opacity: 0.5 !important;
}
.opacity-60 {
	opacity: 0.6 !important;
}

.section_anchor {
	position: relative;
	top: -45px;
	visibility: hidden;
	margin: 0px;
}
.section_anchor_top {
	position: absolute;
	top: 0;
	visibility: hidden;
	margin: 0px;
}
@media (min-width: 1920px) {
	.container-wide {
		max-width: 1400px;
	}
}

.exclude-empty {
	border: 1px solid #ced4da !important;
}

.manage_menu a:not(.btn) {
	color: var(--dark);
	text-decoration: none;
	background-color: transparent;
	/* font-size: .9em; */
	padding: 0.35rem 1.25rem !important;
}
.manage_menu a:not(.btn):hover {
	color: var(--light);
	text-decoration: none;
	background-color: var(--primary);
}

.manage_menu h4 {
	overflow: hidden;
	text-align: center;
}

.manage_menu h4:before,
.manage_menu h4:after {
	background-color: #000;
	content: '';
	display: inline-block;
	height: 1px;
	position: relative;
	vertical-align: middle;
	width: 50%;
}

.manage_menu h4:before {
	right: 0.5em;
	margin-left: -50%;
}

.manage_menu h4:after {
	left: 0.5em;
	margin-right: -50%;
}
.bg-gray-100 {
	background-color: rgb(0 0 0 / 8%);
}

.print_header {
	display: none !important;
}
@media print {
	#emailDraft,
	#candidateReport,
	#candidateDetails,
	#candidateDetails div {
		font-size: 68% !important;
	}
	.reportred {
		font-size: 18px !important;
	}
	@page {
		@bottom-right {
			content: counter(page) ' of ' counter(pages);
		}
	}
	@page {
		size: auto;
		margin: 10mm 10mm 10mm 10mm;
		padding: 0px !important;
		/* margin: 0px !important; */
	}
	tbody {
		page-break-inside: avoid;
	}
	body > div.container-xl {
		padding: 0px !important;
		margin: 0px !important;
	}
	.card {
		border: 0px !important;
		padding: 0px !important;
		margin: 0px !important;
	}
	.printpad {
		padding: 0px !important;
		margin: 0px !important;
		width: 100% !important;
	}
	.noprint {
		display: none !important;
	}
	textarea,
	input {
		resize: none;
		background: transparent !important;
		background-color: transparent !important;
	}
	#candidate_details_form,
	table,
	tbody {
		background: transparent !important;
		background-color: transparent !important;
	}
	html,
	body {
		background: transparent !important;
		background-color: transparent !important;
		font-size: 120% !important;
		padding: 0px !important;
		margin: 0px !important;
	}
	.print_header {
		display: flex !important;
	}
	.breakbefore {
		page-break-before: always;
	}
	/* #offer_delivery_best_prac {page-break-after: always;} */
}

#emailDraft,
#candidateReport,
#candidateDetails,
#candidateDetails div {
	font-family: var(--font-body);
	font-size: 12px;
}
.borderme {
	font-family: var(--font-body);
	font-weight: 900;
	font-size: 14px;
}
.borderme:hover {
	color: #fff;
}

.notes-cell {
	background-color: #efefef;
	font-weight: 900;
}

.border-left-none {
	border-left: 0px !important;
}

.border-right-none {
	border-right: 0px !important;
}

.border-bottom-none {
	border-bottom: 0px !important;
}

.border-top-none {
	border-top: 0px !important;
}

.border-x-none {
	border-left: 0px !important;
	border-right: 0px !important;
}

.border-y-none {
	border-top: 0px !important;
	border-bottom: 0px !important;
}

.border-none {
	border: 0px !important;
}

.border-left-primary {
	border-left: 4px solid var(--primary) !important;
}

.border-left-danger {
	border-left: 4px solid var(--danger) !important;
}

.border-left-success {
	border-left: 4px solid var(--success) !important;
}

.border-left-warning {
	border-left: 4px solid var(--warning) !important;
}

.border-left-info {
	border-left: 4px solid var(--info) !important;
}

input[type='color'] {
	-webkit-appearance: none;
	border: none;
	width: 100%;
	height: 32px;
}
input[type='color']:focus {
	outline: none !important;
	border: 0px;
	box-shadow: 0;
}
input[type='color']::-webkit-color-swatch-wrapper {
	padding: 0;
}
input[type='color']::-webkit-color-swatch {
	border: none;
}
.scrollable::-webkit-scrollbar-track {
	-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
	background-color: transparent;
}

.scrollable::-webkit-scrollbar {
	height: 7px;
	width: 7px;
	background-color: transparent;
}

.scrollable::-webkit-scrollbar-thumb {
	background-color: var(--primary);
	background-image: linear-gradient(180deg, var(--primary) 10%, var(--primary) 100%);
	background-size: cover;
	border-radius: 100px;
}
.scrollable {
	max-height: 100%;
	min-height: 570px;
	overflow-y: auto;
	overflow-x: hidden;
	width: 100%;
	max-width: 100%;
	margin-right: 0px !important;
	margin-left: 0px !important;
}
::-webkit-scrollbar-track {
	-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
	background-color: transparent;
}

::-webkit-scrollbar {
	height: 7px;
	width: 7px;
	background-color: transparent;
}

::-webkit-scrollbar-thumb {
	background-color: white;
	background-image: linear-gradient(180deg, white 10%, white 100%);
	background-size: cover;
	border-radius: 100px;
}

/* The Modal (background) */
.modal {
	display: none; /* Hidden by default */
	position: fixed; /* Stay in place */
	z-index: 1; /* Sit on top */
	padding-top: 100px; /* Location of the box */
	left: 0;
	top: 0;
	width: 100%; /* Full width */
	height: 100%; /* Full height */
	overflow: auto; /* Enable scroll if needed */
	background-color: rgb(0, 0, 0); /* Fallback color */
	background-color: rgba(0, 0, 0, 0.4); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
	background-color: #fefefe;
	margin: auto;
	padding: 20px;
	border: 1px solid #888;
	width: 80%;
}

/* The Close Button */
.close {
	color: #aaaaaa;
	float: right;
	font-size: 28px;
	font-weight: bold;
}

.close:hover,
.close:focus {
	color: #000;
	text-decoration: none;
	cursor: pointer;
}

.hidden-order {
	display: none;
}

.border-bottom-primary {
	border-bottom: 4px solid var(--primary) !important;
}
.border-bottom-danger {
	border-bottom: 4px solid var(--danger) !important;
}
.border-bottom-success {
	border-bottom: 4px solid var(--success) !important;
}
.border-bottom-info {
	border-bottom: 4px solid var(--info) !important;
}
.border-bottom-warning {
	border-bottom: 4px solid var(--warning) !important;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
	/* -webkit-appearance: none; */
	/* margin: 0; */
}

/* Firefox */
input[type='number'] {
	/* -moz-appearance: textfield; */
}

.candidate-button-controls {
	width: 100%;
}
.candidate-button-controls a.btn {
	flex: 1 1 auto;
	line-height: 1.2;
}

#maintable tr.overridden, #candidate_report tr.overridden {
	position: relative;
}

@media screen {
	#maintable tr.overridden:after, #candidate_report tr.overridden:after {
		content: 'OVERRIDDEN';
		position: absolute;
		top: 0;
		bottom: 0;
		left: calc(100% + 1rem);
		display: flex;
		align-items: center;
		color: #ff5622;
		font-weight: 900;
		font-size: 1.2rem;
	}
}

.override-handle {
  margin-top: 1em;
}

@media print {
	#overrides-container {
		display: none;
	}
}