﻿@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

:root {
	--color-bgcolor: #ececed;
	--color-bgheader: #cecece;
	--color-bghover: #e0e0e0;
	--color-amrgray: #3d464d;
	--color-itemhoover: #e6f3f7;
	--color-itemactive: #cbe6ef;
}

html, body {
	font-family: Raleway-Regular, 'Helvetica Neue', Helvetica, Arial, sans-serif;
	color: var(--color-amrgray);
	background-color: var(--color-bgcolor);
}

@font-face {
	font-family: 'Raleway-Regular';
	src: url('../fonts/Raleway-Regular.woff');
}

a.focus, a:focus {
	outline: none;
}

.content {
	padding-top: 1.1rem;
}

/* START: Standaard input control */

input {
	border: 1px solid var(--color-amrgray);
	border-radius: 0px;
	background-color: var(--white);
}

	input:hover {
		background-color: var(--color-bgcolor);
	}

	input.focus, input:focus, input.active, input:active {
		box-shadow: none;
		outline: none;
	}

/* END: Standaard input control */

/* START: Checkmark input control */

.inputcheck {
	-webkit-appearance: none;
	background-color: var(--white);
	border: 1px solid var(--color-amrgray);
	box-shadow: none;
	height: 14px;
	width: 14px;
	padding: 9px;
	margin-left: 3px;
	border-radius: 0px;
	display: inline-block;
	position: absolute;
}

	.inputcheck:active, .inputcheck:checked:active {
		box-shadow: none;
	}

	.inputcheck:checked {
		background-color: var(--white);
		border: 1px solid var(--color-amrgray);
		box-shadow: none;
		color: var(--color-amrgray);
	}

		.inputcheck:checked:after {
			content: '\2714';
			position: absolute;
			top: -2px;
			left: 2px;
			color: var(--color-amrgray);
		}

	.inputcheck:disabled {
		border: 1px solid var(--color-amrgray);
		background-color: var(--color-bgcolor);
		color: var(--color-amrgray);
		cursor: not-allowed;
	}

/* END: Checkmark input control */

.radiolabel{
	margin-left: 25px;
}

.inputradio {
	-webkit-appearance: none;
	background-color: var(--white);
	border: 1px solid var(--color-amrgray);
	box-shadow: none;
	padding: 9px;
	height: 14px;
	width: 14px;
	border-radius: 50%;
	margin-left: 5px;
	margin-right: 5px;
	position: absolute;
}

	.inputradio:checked {
		background-color: var(--white);
		border: 1px solid var(--color-amrgray);
		box-shadow: none;
		color: var(--color-amrgray);
	}

		.inputradio:checked:after {
			content: '\2714';
			position: relative;
			top: -2px;
			left: 2px;
			color: var(--color-amrgray);
		}

/* START: Dropdown selectie control */

.dropdownlist {
	display: inline-block;
	background-color: var(--white);
	border: 1px solid var(--color-amrgray);
	border-radius: 0px;
	min-width: 75px;
	height: 21px;
	word-wrap: break-word;
	background-clip: border-box;
	cursor: pointer;
	margin: 0px 0px 5px 0px;
	padding-left: 5px;
}

	.dropdownlist select {
		height: 21px;
		width: 100%;
		padding: 2px;
		background-color: transparent;
		border-radius: 0px;
		border: none;
		cursor: pointer;
	}

		.dropdownlist select:active, .dropdownlist select:focus {
			outline: none;
			box-shadow: none;
		}

	.dropdownlist:hover {
		background-color: var(--color-bgcolor);
	}

	.dropdownlist.focus, .dropdownlist:focus, .dropdownlist.active, .dropdownlist:active {
		box-shadow: 0 0 .2rem var(--color-amrgray);
		outline: none;
	}

#dropdowncontrol * {
	background-color: var(--white);
}

/* END: Dropdown selectie control */

/* Layout */

.layoutpage {
	background-color: var(--color-bgcolor);
}

.layoutdesign {
	background-color: var(--color-bgcolor);
	padding: 0px;
	height: 100vh;
	width: 100vw;
}

.topbar {
	background-color: var(--white);
	height: 50px;
}

.topbar-dark {
	background-color: var(--color-amrgray);
	height: 20px;
}

.logobar {
	background-color: var(--color-amrgray);
	display: flex;
	justify-content: center;
}

.logo {
	width: 250px;
}

.contentbox {
	width: 100vw;
	padding: 0px 15px 15px 15px;
}

.contentbox-design {
	padding: 15px;
}

.titlebar {
	position: static;
	height: 25px;
	background-color: var(--white);
	font-size: 22px;
	font-weight: bold;
	text-align: center;
	vertical-align: middle;
	margin: auto;
}

/* Top navigatie menu */
.menubar {
	position: static;
	background-color: var(--white);
	border-bottom: 1px solid var(--color-amrgray);
}

	.menubar ul {
		list-style: none;
		text-align: center;
		padding: 0;
		margin: 0;
	}

	.menubar li {
		display: inline-block;
		padding: 5px;
	}

	.menubar img {
		width: 48px;
		height: 48px;
		margin: 10px;
	}

.menubar-grey {
	position: static;
	background-color: var(--color-bgcolor);
	border-bottom: none;
}

.menutextbar {
	position: static;
	height: 20px;
	font-size: 11px;
	background-color: var(--color-bgcolor);
}

	.menutextbar ul {
		list-style: none;
		height: 20px;
		text-align: center;
		vertical-align: middle;
		padding: 0;
		margin: 0;
	}

	.menutextbar li {
		display: inline-block;
		height: 20px;
		width: 78px;
		vertical-align: middle;
	}

.menutextselected {
	display: inline-block;
	height: 21px;
	width: 78px;
	background-color: var(--white);
	border-left: solid 1px var(--color-amrgray);
	border-right: solid 1px var(--color-amrgray);
	font-weight: bold;
	margin-bottom: -1px;
}

@media (min-width: 768px) {
	.navbar-toggler {
		display: none;
	}

	.collapse {
		/* Never collapse the sidebar for wide screens */
		display: block;
	}
}

/* Footer navigatie menu */

.footerbar {
	position: static;
	background-color: var(--color-bgcolor);
}

	.footerbar ul {
		list-style: none;
		text-align: center;
		padding: 0;
		margin: 0;
	}

	.footerbar li {
		display: inline-block;
		padding: 5px;
	}

	.footerbar img {
		width: 48px;
		height: 48px;
		margin: 10px;
	}

/* Opmaak van het menu van de designer */

.setup-designmenu {
	font-size: 11px;
	padding: 10px;
}

/* Hoogste div waarin de verschillende controls zitten */
.container-designmenu {
	width: 275px;
	background-color: transparent;
}

/* Sub div waarin de verschillende controls zitten */
.itemlist-designmenu {
	padding-left: 10px;
	padding-top: 20px;
}

/* Titel van een control sectie in de designer */
.span-designmenu-header {
	height: 25px;
	font-size: 12px;
	font-weight: bold;
}

/* Label van een control in de designer */
.span-designmenu-item {
	display: inline-block;
	font-size: 11px;
	width: 100px;
	margin-left: 10px;
}

/* Numeric input control in de designer */
.input-number-designmenu {
	font-size: 11px;
	text-align: right;
	width: 90px;
	margin-right: 5px;
	margin-bottom: 5px;
}

.input-number-small {
	width: 50px;
}

.span-designmenu-checkitem {
	display: inline-block;
	font-size: 11px;
	width: 180px;
	margin-left: 10px;
}

.valid.modified:not([type=checkbox]) {
	outline: 1px solid #26b050;
}

.invalid {
	outline: 1px solid red;
}

.validation-message {
	color: blue;
}

/* START: Modal dialog */

.designer-modal {
	display: flex;
	z-index: 103;
	flex-direction: column;
	background-color: var(--color-bgcolor);
	border: 1px solid var(--color-amrgray);
	padding: 0px;
	box-shadow: 0 2px 2px rgba(0,0,0,.25);
}

	.designer-modal .blazored-modal-header {
		display: flex;
		align-items: flex-start;
		justify-content: space-between;
		padding: 2px;
		background-color: var(--color-amrgray);
	}

	.designer-modal .blazored-modal-title {
		margin-left: 5px;
		color: #fff !important;
		font-size: 12px !important;
	}

	.designer-modal .blazored-modal-content {
		margin: 5px;
	}

/* END: Modal dialog */

/* START: Concepten tegels */

.concept-container {
	float: right;
	height: 35vh;
	width: 15vw;
	background-color: transparent;
	position: relative;
	margin: auto;
}

.concept-container-left {
	float: left;
	height: 35vh;
	width: 15vw;
	background-color: transparent;
	position: relative;
	margin: auto;
}

.concept-content {
	left: 5px;
	right: 5px;
	top: 5px;
	bottom: 5px;
	border-radius: 5px;
	background-color: white;
	background-size: cover;
	background-position: left top;
	cursor: pointer;
	position: absolute;
}

.concept-text {
	width: 100%;
	position: absolute;
	left: 0;
	bottom: 15px;
	z-index: 10;
	text-align: center !important;
	font-size: 18px;
	color: #fff;
	background-color: rgba(0,0,0,.3);
	padding: .75rem 1.25rem;
}

/* START: Onderdelen instellingen dialog  */

.onderd-opties {
	width: 100%;
	font-size: 11px;
}

	.onderd-opties tr.tabbuttons {
		border: 1px solid var(--color-bgcolor);
		border-bottom: 1px solid var(--color-amrgray);
		background-color: var(--color-bgcolor);
	}

	.onderd-opties tr.typeselect {
		border: 1px solid var(--color-amrgray);
		background-color: #fff;
	}

	.onderd-opties tr.typeselect-top {
		border-top: 1px solid var(--color-amrgray);
		border-left: 1px solid var(--color-amrgray);
		border-right: 1px solid var(--color-amrgray);
		border-bottom: none;
		background-color: #fff;
	}

	.onderd-opties tr.typeselect-bottom {
		border-top: none;
		border-left: 1px solid var(--color-amrgray);
		border-right: 1px solid var(--color-amrgray);
		border-bottom: 1px solid var(--color-amrgray);
		background-color: #fff;
	}

	.onderd-opties tr.headerline {
		margin-top: 5px;
		border-top: 1px solid var(--color-amrgray);
		border-bottom: 1px solid var(--color-amrgray);
		background-color: var(--color-bgheader);
		font-weight: bold;
	}

/* END: Onderdelen instellingen dialog  */


/* START: Scherm met (selectie) lijsten */

.lijst-content {
	overflow: auto;
	width: 100%;
	padding: 10px;
	margin: auto;
	border: 1px solid var(--color-amrgray);
	background-color: var(--white);
	display: flex;
	justify-content: center;
}

	.lijst-content table {
		font-size: 11px;
		border: 1px solid var(--color-amrgray);
		margin: 15px auto 15px auto;
	}

	.lijst-content thead {
		background-color: var(--color-bghover);
		border: 1px solid var(--color-amrgray);
	}

	.lijst-content th {
		padding: 0px 10px;
	}

	.lijst-content tbody tr:first-child {
		border-top: 1px solid var(--color-amrgray);
	}

	.lijst-content tbody tr:last-child {
		border-bottom: 1px solid var(--color-amrgray);
	}

.lijst-dialog {
	overflow: auto;
	width: 100%;
	margin: auto;
	border: 1px solid var(--color-amrgray);
	background-color: var(--white);
	display: flex;
}

	.lijst-dialog table {
		font-size: 11px;
		border: none;
	}

	.lijst-dialog thead {
		background-color: var(--color-bghover);
		border-bottom: 1px solid var(--color-amrgray);
		border-right: 1px solid var(--color-amrgray);
	}

	.lijst-dialog th {
		padding: 0px 10px;
	}

	.lijst-content td, .lijst-dialog td {
		padding: 0px 10px;
	}

		.lijst-content td.col, .lijst-dialog td.col {
			border-right: 1px solid var(--color-bghover);
		}

			.lijst-content td.col:last-child, .lijst-dialog td.col:last-child {
				border-right: 1px solid var(--color-amrgray);
			}

	.lijst-content tbody tr:nth-child(even), .lijst-dialog tbody tr:nth-child(even) {
		background-color: var(--color-bgcolor);
	}

	.lijst-content tbody tr:hover, .lijst-dialog tbody tr:hover {
		background-color: var(--color-itemactive);
		cursor: pointer;
	}

.searchbar {
	background-color: var(--color-amrgray);
	border: 1px solid var(--color-amrgray);
}

	.searchbar label {
		color: var(--white);
		margin: auto auto auto 5px;
	}

		.searchbar label.header {
			font-size: 12px;
		}

	.searchbar img.enabled {
		height: 32px;
		width: 32px;
		cursor: pointer;
	}

	.searchbar img.disabled {
		height: 32px;
		width: 32px;
		cursor: not-allowed;
	}

/* END: Scherm met (selectie) lijsten */

/* START: tabel met detail info van accessoires */

.acc-details {
	font-size: 11px;
	width: 100%;
	margin-top: 5px;
}

	.acc-details td {
		text-align: left;
		word-wrap: normal;
	}

		.acc-details td.image {
			background: var(--white);
			width: 100px;
		}

/* END: tabel met detail info van accessoires */

/* START: Dialog */

.dialog {
	font-size: 11px;
	width: 100%;
}

.dialog-subtitle {
	background-color: var(--color-bghover);
	border: 1px solid var(--color-amrgray);
	font-size: 11px;
	font-weight: bold;
	padding-left: 10px;
}

/* END: Dialog */

/* Instellingen scherm */

.instelling-content {
	overflow: auto;
	width: 100%;
	padding: 10px;
	margin: auto;
	border: 1px solid var(--color-amrgray);
	background-color: var(--white);
	display: flex;
}

	.instelling-content table {
		font-size: 11px;
		margin: 15px auto 15px auto;
	}

	.instelling-content tr {
		height: 2em;
	}

	.instelling-content input {
		margin: 2px 0px 2px 0px;
	}

/* Standaard Knoppen */

.btn-default {
	color: var(--color-amrgray);
	font-size: 11px !important;
	background-color: var(--color-bgcolor);
	border-color: var(--color-amrgray);
	border-radius: 0px;
	height: 30px;
	width: 86px;
}

	.btn-default:hover {
		color: var(--color-amrgray);
		background-color: var(--color-bghover);
		border-color: var(--color-amrgray)
	}

	.btn-default.focus, .btn-default:focus {
		box-shadow: 0 0 .2rem var(--color-amrgray);
	}

	.btn-default.disabled, .btn-default:disabled {
		color: #fff;
		background-color: #007bff;
		border-color: #007bff
	}

	.btn-default:not(:disabled):not(.disabled).active, .btn-default:not(:disabled):not(.disabled):active, .show > .btn-default.dropdown-toggle {
		background-color: var(--color-bgcolor);
		border-color: var(--color-amrgray);
	}

		.btn-default:not(:disabled):not(.disabled).active:focus, .btn-default:not(:disabled):not(.disabled):active:focus, .show > .btn-default.dropdown-toggle:focus {
			box-shadow: 0 0 .2rem var(--color-amrgray);
		}

	.btn-default:not(:disabled):not(.disabled).active, .btn-default:not(:disabled):not(.disabled):active, .show > .btn-default.dropdown-toggle {
		outline: none;
		background-color: transparent;
		border: 1px solid var(--color-amrgray);
	}

.btn-cancel {
	color: var(--color-amrgray);
	font-size: 11px !important;
	background-color: var(--white);
	border-color: var(--color-amrgray);
	border-radius: 0px;
	height: 30px;
	width: 86px;
}

	.btn-cancel:hover {
		color: var(--color-amrgray);
		background-color: var(--color-bgcolor);
		border-color: var(--color-amrgray);
	}

	.btn-cancel.focus, .btn-cancel:focus {
		box-shadow: 0 0 .2rem var(--color-amrgray);
	}

	.btn-cancel:not(:disabled):not(.disabled).active:focus, .btn-cancel:not(:disabled):not(.disabled):active:focus, .show > .btn-cancel.dropdown-toggle:focus {
		box-shadow: 0 0 .2rem var(--color-amrgray);
	}

.btn-msgbox {
	color: var(--color-amrgray);
	font-size: 11px !important;
	background-color: transparent;
	border: 1px none var(--color-amrgray);
	border-radius: 0px;
	height: 30px;
	width: 86px;
	outline: none;
}

	.btn-msgbox:hover {
		outline: none;
		background-color: var(--color-itemactive);
		border: 1px solid var(--color-amrgray);
	}

	.btn-msgbox.focus, .btn-msgbox:focus {
		outline: none;
		background-color: transparent;
		border: 1px solid var(--color-amrgray);
	}

.btn-msgbox:not(:disabled):not(.disabled).active:focus, .btn-msgbox:not(:disabled):not(.disabled):active:focus, .show > .btn-msgbox.dropdown-toggle:focus {
	outline: none;
	background-color: transparent;
	border: 1px solid var(--color-amrgray);
}

.btn-tab {
	color: var(--color-amrgray);
	font-size: 11px !important;
	font-weight: normal;
	background-color: #fff;
	border-color: var(--color-amrgray);
	border-bottom: none;
	border-radius: 0px;
	height: 20px;
	width: 100px;
	line-height: 0;
	outline: none;
	margin: 0px;
}

	.btn-tab:hover {
		color: var(--color-amrgray);
		font-weight: bold;
		background-color: var(--color-bghover);
		border-color: var(--color-amrgray);
		outline: none;
	}

	.btn-tab.focus, .btn-tab:focus {
		font-weight: bold;
		box-shadow: none;
	}

/* END: Standaard Knoppen */

.smallselect {
	width: 70px;
	height: 70px;
	padding: 3px;
	background-color: var(--white);
	cursor: pointer;
}

	.smallselect:hover {
		background-color: var(--color-itemhoover);
	}

	.smallselect:active {
		background-color: var(--color-itemactive);
	}

.smallselect-content {
	width: 64px;
	height: 64px;
	margin: auto;
	background-color: transparent;
	border: 1px solid var(--color-amrgray)
}

	.smallselect-content img {
		display: block;
		width: 62px;
		height: 62px;
		object-fit: cover;
	}

.itemselectlarge {
	width: 150px;
	height: 150px;
	padding: 3px;
	background-color: var(--white);
	font-weight: normal;
}

	.itemselectlarge:hover {
		background-color: var(--color-itemhoover);
	}

.itemselectlarge-selected {
	width: 150px;
	height: 150px;
	padding: 3px;
	background-color: var(--color-itemactive);
	font-weight: bold;
}

	.itemselectlarge-selected:hover {
		background-color: var(--color-itemhoover);
	}

.itemselectlarge-content {
	width: 144px;
	height: 144px;
	margin: auto;
	background-color: transparent;
	border: 1px solid var(--color-amrgray);
	cursor: pointer;
}

	.itemselectlarge-content img {
		display: block;
		max-width: 123px;
		max-height: 123px;
		object-fit: cover;
	}

.itemselectlarge-text {
	text-align: center;
	width: fit-content;
	font-size: x-small;
	margin: auto;
}


.moduleselect {
	width: 150px;
	height: 150px;
	padding: 3px;
	background-color: var(--white);
	cursor: pointer;
}

	.moduleselect:hover {
		background-color: var(--color-itemhoover);
	}

	.moduleselect:active {
		background-color: var(--color-itemactive);
	}

.moduleselect-content {
	width: 144px;
	height: 144px;
	margin: auto;
	background-color: var(--white);
	border: 1px solid var(--color-amrgray)
}

	.moduleselect-content img {
		width: 140px;
		height: 140px;
		object-fit: cover;
	}

/* Wacht animatie */

.spinner {
	border: 16px solid silver;
	border-top: 16px solid #337AB7;
	border-radius: 50%;
	width: 80px;
	height: 80px;
	animation: spin 700ms linear infinite;
	top: 40%;
	left: 55%;
	position: absolute;
}

@keyframes spin {
	0% {
		transform: rotate(0deg)
	}

	100% {
		transform: rotate(360deg)
	}
}

#blazor-error-ui {
	background: lightyellow;
	bottom: 0;
	box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
	display: none;
	left: 0;
	padding: 0.6rem 1.25rem 0.7rem 1.25rem;
	position: fixed;
	width: 100%;
	z-index: 1000;
}

	#blazor-error-ui .dismiss {
		cursor: pointer;
		position: absolute;
		right: 0.75rem;
		top: 0.5rem;
	}
