:root {
	--filter-container-max-deductor: 120px; /* Filter container height */
    --footer-container-deductor: 0px;
	--board-column-width: 272px;
}



.scrollable-board-area {
	max-height: calc(100vh - 130px - var(--footer-container-deductor));
	min-height: calc(100vh - 130px - var(--footer-container-deductor));
	max-width: calc(100vw - 100px);
	min-width: calc(100vw - 100px);
	overflow-x: auto;
	overflow-y: auto;
}

@media screen and (max-width: 1200px) {
	.scrollable-board-area {
		max-width: calc(100vw - 27px);
		max-height: calc(100vh - 230px - var(--footer-container-deductor));
		min-height: calc(100vh - 230px - var(--footer-container-deductor));
	}
}

.scrollable-board-area-fullscreen {
	max-height: calc(100vh - 95px - var(--footer-container-deductor));
	min-height: calc(100vh - 95px - var(--footer-container-deductor));
	max-width: calc(100vw - 27px);
	min-width: calc(100vw - 27px);
	overflow-x: auto;
	overflow-y: auto;
	position: relative;
	width: 100vw;
}


.board-body {
	background-color: #e9edf0;
	position: relative;
	left: 0px;
	height: calc(100vh - var(--footer-container-deductor));
}

.board-body-fullscreen {
	background-color: #e9edf0;
	position: relative;
	left: -75px;
	height: calc(100vh - var(--footer-container-deductor));
	width: 100vw;
}

.board-header { margin-bottom: 20px; }

@media screen and (max-width: 1200px){
	.board-header {
		margin-top: 20px;
	}
	.board-body-fullscreen {
		left: 0px;
	}
	.board-body {
		height: 80vh;
	}
}

.board-card {
	width: var(--board-column-width);
	border-radius: 4px;
	box-shadow: 0 4px 9px 0 rgba(0, 0, 0, 0.1);
	background-color: white;
	margin-bottom: 16px;
}

.reloadable-board-card {
	position: relative;
}

.board-card-loader {
	position: absolute;
}

.board-card-content {
	padding: 15px;
	border-top: 5px solid var(--vp-board-card-marker);
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
}

.board-column {
    margin-right: 20px;
}

.board-toolbar {
    /*display: flex;*/
}

.board-column-type {
	z-index: 100;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);

	position: sticky;
	top: 0;
	font-family: Roboto;
	font-size: 14px;
	font-weight: 900;
	font-stretch: normal;
	font-style: normal;
	line-height: 1.6;
	letter-spacing: normal;
	color: #1f1f1f;
	margin-bottom: 14px;
	background-color: #f7f9fa;
	padding: 6px 6px 6px 12px;
	border-radius: 4px;
	width: var(--board-column-width);
}


.board-card-title {
	font-family: Roboto;
	font-size: 18px;
	font-weight: 500;
	font-stretch: normal;
	font-style: normal;
	line-height: normal;
	letter-spacing: normal;
	color: #222;
}

.board-card-title a {
	color: #222;
}

.board-card-title-2 {
	font-family: Roboto;
	font-size: 16px;
	font-weight: 900;
	font-stretch: normal;
	font-style: normal;
	line-height: normal;
	letter-spacing: normal;
	color: #222;
}

.board-card-title-2 a {
	color: #222;
}

.board-card-subtitle-2 {
	font-family: Roboto;
	font-size: 14px;
	font-weight: 300;
	font-stretch: normal;
	font-style: normal;
	line-height: normal;
	letter-spacing: normal;
	margin-top: 2px;
	color: #222;
}

.board-card-divider {
	height: 1px;
	margin: 11px 0px 8px 0px;
	opacity: 0.23;
	border-bottom: solid 1px #979797;
}

.board-card-text {
	font-family: Roboto;
	font-size: 14px;
	font-weight: 500;
	font-stretch: normal;
	font-style: normal;
	line-height: 1.43;
	letter-spacing: normal;
	color: #222;
}

.board-card-text-light {
	font-family: Roboto;
	font-size: 14px;
	font-weight: 500;
	font-stretch: normal;
	font-style: normal;
	line-height: 1.43;
	letter-spacing: normal;
	color: #9a9a9a;
}

.board-card-text-small {
	font-family: Roboto;
	font-size: 13px;
	font-weight: 500;
	font-stretch: normal;
	font-style: normal;
	line-height: 1.43;
	letter-spacing: normal;
	color: #222;
}

.board-card-vehicle-owner {
	border: #1f1f1f;
    border-top: 2px;
    border-bottom: 2px;
}


.board-type-red1 {
	display: flex;
	position: relative;
	background: linear-gradient(to bottom right, transparent 50%, #000 50%);
}

	.board-type-red1:before {
		content: "";
		border-style: solid;
		border-width: 0 20px 20px 0;
		border-color: transparent red transparent transparent;
		align-self: flex-start;
	}




/* ------ Icons ------ */

.board-status-icon {
	display: inline-block;
	width: 20px;
	height: 20px;
	background-size: contain;
	/*    font-size: 16px;
    font-stretch: normal;
    font-style: normal;
    padding: 1px 6px 0px 0px;*/
}

.board-status-icon-unknown {
	background: url('/img/boards/werkstatt/status_unknown.svg') no-repeat center;
}

.board-status-icon-incoming-vehicle {
	background: url('/img/boards/werkstatt/status_incoming_vehicle.svg') no-repeat center;
}

.board-status-icon-rkk-open {
	background: url('/img/boards/werkstatt/status_rkk_open.svg') no-repeat center;
}

.board-status-icon-vehicle-unrated {
	background: url('/img/boards/werkstatt/status_vehicle_unrated.svg') no-repeat center;
}

.board-status-icon-release-open {
	background: url('/img/boards/werkstatt/status_release_open.svg') no-repeat center;
}

.board-status-icon-repair-pending {
	background: url('/img/boards/werkstatt/status_repair_pending.svg') no-repeat center;
}

.board-status-icon-paint {
	background: url('/img/boards/werkstatt/status_paint.svg') no-repeat center;
}

.board-status-icon-dent {
	background: url('/img/boards/werkstatt/status_dent.svg') no-repeat center;
}

.board-status-icon-windshield {
	background: url('/img/boards/werkstatt/status_windshield.svg') no-repeat center;
}

.board-status-icon-wheel {
	background: url('/img/boards/werkstatt/status_wheel.svg') no-repeat center;
}

.board-status-icon-smart-repair {
	background: url('/img/boards/werkstatt/status_smart_repair.svg') no-repeat center;
}

.board-status-icon-further-repair-pending {
	background: url('/img/boards/werkstatt/status_further_repair_pending.svg') no-repeat center;
}

.board-status-icon-repair-complete {
	background: url('/img/boards/werkstatt/status_repair_complete.svg') no-repeat center;
}

.board-status-icon-repair-complete-controlled {
	background: url('/img/boards/werkstatt/status_repair_complete.svg') no-repeat center;
}

.board-status-icon-vehicle-reported-back {
	background: url('/img/boards/werkstatt/status_vehicle_reported_back.svg') no-repeat center;
}

.board-status-icon-sbw-pending {
	background: url('/img/boards/werkstatt/status_sbw_pending.svg') no-repeat center;
}

.board-status-icon-invoices-open {
	background: url('/img/boards/werkstatt/status_invoice_open.svg') no-repeat center;
}


.board-status-icon-clock {
    background: url('/img/boards/status_clock.svg') no-repeat center;
}

.board-status-icon-exclamation-red {
    background: url('/img/boards/exclamation-red.svg') no-repeat center;
}


/* Filters */
.filter-container {
	display: flex;
	flex-direction: column;
	max-height: calc(100vh - var(--filter-container-max-deductor));
	/* Stupid fix for the Radzen container */
	/*margin-right: -10px; Commented out, caused Filterdialogues to be messed up*/
	overflow: hidden;
}

.filter-header, .filter-footer {
	flex-shrink: 0; /* Prevents the header and footer from shrinking */
	text-align: center;
}

.filter-content {
	flex-grow: 1; /* Allows the content area to grow and fill the available space */
	overflow-y: auto; /* Enables vertical scrolling */
	overflow-x: hidden; /* Disables horizontal scrolling */
	padding-right: 10px;
	text-align: justify;
}

.footer-container {
	position: fixed;
	z-index: 101; /* Columns have 100 */
	bottom: 0;
	width: calc(100vw - 70px); /* 70px is approximatelly width of the side-bar. TODO: this should ne generally handled, not with this fixed value. */
	height: 50px; /* Fixed height of 50px */
    background-color: #e9edf0;
}