:root {
	--color-content-background: #ecf0f5;
	--color-content-text: #333;
}

/* enhance bootstrap
 *******************************************/

.row-top-offset-1 {
	margin-top: 1em;
}

.row-top-offset-2 {
	margin-top: 2em;
}

.row-top-offset-3 {
	margin-top: 3em;
}

.row-top-offset-4 {
	margin-top: 4em;
}

.row-top-offset-5 {
	margin-top: 5em;
}

.row-top-offset-6 {
	margin-top: 6em;
}

.row-top-offset-7 {
	margin-top: 7em;
}

.row-top-offset-8 {
	margin-top: 8em;
}

.row-top-offset-9 {
	margin-top: 9em;
}

.row-top-offset-10 {
	margin-top: 10em;
}

.row-bottom-offset-1 {
	margin-bottom: 1em;
}

.row-bottom-offset-2 {
	margin-bottom: 2em;
}

.row-bottom-offset-3 {
	margin-bottom: 3em;
}

.row-bottom-offset-4 {
	margin-bottom: 4em;
}

.row-bottom-offset-5 {
	margin-bottom: 5em;
}

.row-bottom-offset-6 {
	margin-bottom: 6em;
}

.row-bottom-offset-7 {
	margin-bottom: 7em;
}

.row-bottom-offset-8 {
	margin-bottom: 8em;
}

.row-bottom-offset-9 {
	margin-bottom: 9em;
}

.row-bottom-offset-10 {
	margin-bottom: 10em;
}

.row-left-offset-1 {
	margin-left: 1em;
}

.row-left-offset-2 {
	margin-left: 2em;
}

.row-left-offset-3 {
	margin-left: 3em;
}

.row-left-offset-4 {
	margin-left: 4em;
}

.row-left-offset-5 {
	margin-left: 5em;
}

.row-left-offset-6 {
	margin-left: 6em;
}

.row-left-offset-7 {
	margin-left: 7em;
}

.row-left-offset-8 {
	margin-left: 8em;
}

.row-left-offset-9 {
	margin-left: 9em;
}

.row-left-offset-10 {
	margin-left: 10em;
}

.row-right-offset-1 {
	margin-right: 1em;
}

.row-right-offset-2 {
	margin-right: 2em;
}

.row-right-offset-3 {
	margin-right: 3em;
}

.row-right-offset-4 {
	margin-right: 4em;
}

.row-right-offset-5 {
	margin-right: 5em;
}

.row-right-offset-6 {
	margin-right: 6em;
}

.row-right-offset-7 {
	margin-right: 7em;
}

.row-right-offset-8 {
	margin-right: 8em;
}

.row-right-offset-9 {
	margin-right: 9em;
}

.row-right-offset-10 {
	margin-right: 10em;
}

.gap-1 {
	gap: 1em;
}

.gap-2 {
	gap: 2em;
}

.gap-3 {
	gap: 3em;
}

.gap-4 {
	gap: 4em;
}

.gap-5 {
	gap: 5em;
}

.inline-flex-wrap {
	display: flex;
	gap: 2em;
	flex-flow: row wrap;
}

.inline-flex-nowrap {
	display: flex;
	flex-flow: row nowrap;
	align-items: center;
	gap: 1em;
}

.tabs-below .nav-tabs {
	border-bottom: 0;
	border-top: 1px solid #ddd;
}

.tabs-below .nav-tabs>li {
	margin-top: -1px;
	margin-bottom: 0;
}

.tabs-below .nav-tabs>li>a {
	-webkit-border-radius: 0 0 4px 4px;
	-moz-border-radius: 0 0 4px 4px;
	border-radius: 0 0 4px 4px;
}

.tabs-below .nav-tabs>li>a:hover,
.tabs-below .nav-tabs>li>a:focus {
	border-top-color: #ddd;
	border-bottom-color: transparent;
}

.tabs-below .nav-tabs>.active>a,
.tabs-below .nav-tabs>.active>a:hover,
.tabs-below .nav-tabs>.active>a:focus {
	border-color: transparent #ddd #ddd #ddd;
}

.nav-tabs li a .close {
	font-size: inherit;
	float: none;
	margin-left: 5px;
	padding: 0;
	position: relative;
	top: 2px;
	font-weight: normal;
}

.col-full-width,
.col-child-full-width>* {
	padding-left: 0;
	padding-right: 0;
}

.no-scrollbar,
.no-overflow {
	overflow: hidden !important;
}

.auto-scrollbar {
	overflow: auto !important;
}

.col-checkbox {
	padding-left: 15px !important;
	padding-right: 15px !important;
	width: 3.1em !important;
}

.col-xs-checkbox,
.col-sm-checkbox,
.col-md-checkbox,
.col-lg-checkbox {
	float: left;
}

.col-xs-checkbox label {
	margin-left: 20px;
}

.col-xs-checkbox {
	width: 50%;
}


.alert.alert-error>.glyphicon {
	color: #fff;
	margin-right: 0.5em;
	/*
	font-size: 2em;
	float: left;
	*/
}

.alert.alert-error [data-notify="title"] {
	color: #fff;
	font-size: 1.5em;
}

.alert.alert-error [data-notify="message"] {
	color: #fff;
}

@media (min-width: 600px) {
	.col-sm-checkbox {
		width: 33.33333333%;
	}
}

@media (min-width: 768px) {
	.col-sm-checkbox label {
		margin-left: 0;
	}
}

@media (min-width: 992px) {
	.col-md-checkbox {
		width: 25%;
	}
}

@media (min-width: 1200px) {
	.col-lg-checkbox {
		width: 20%;
	}
}

/* pdf viewer */

#dialog-pdf-viewer .pdf-viewer-tabs .nav {
	border-bottom: 3px solid #4a4949;
}

#dialog-pdf-viewer .pdf-viewer-tabs .nav-tabs>li.active>a,
#dialog-pdf-viewer .pdf-viewer-tabs .nav-tabs>li.active>a:focus,
#dialog-pdf-viewer .pdf-viewer-tabs .nav-tabs>li.active>a:hover {
	background-color: transparent;
	border-color: transparent;
	border-bottom: 3px solid #3c8dbc;
}

#dialog-pdf-viewer .pdf-viewer-tabs .nav>li>a:active,
#dialog-pdf-viewer .pdf-viewer-tabs .nav>li>a:focus,
#dialog-pdf-viewer .pdf-viewer-tabs .nav>li>a:hover {
	background-color: transparent;
	border-color: transparent;
	border-bottom: 3px solid #aba7a7;
}

/* #dialog-pdf-viewer .pdf-viewer-tabs .nav>li>a.active {
	position: relative;
}

dialog-pdf-viewer .pdf-viewer-tabs .nav>li>a.active:after {
	content: "";
	border-bottom: 3px solid #3c8dbc;
	position: absolute;
	left: 0;
	top: 0;
	bottom: -3px;
	width: 100%;
} */

#dialog-pdf-viewer .pdf-viewer-tabs {
	background: #323639;
}

#dialog-pdf-viewer .pdf-viewer-tabs .nav>li>a {
	color: white;
	border-bottom-width: 3px;
}

#dialog-pdf-viewer .subdialog-content {
	padding: 0;
}

#dialog-pdf-viewer iframe.pdf-view {
	flex: 1;
}

/* translation controls */

.translate-input {
	margin-top: 0.5em;
}

.translate-input .translate-tabs {
	display: flex;
	flex-flow: row nowrap;
	width: fit-content;
	/* overflow: hidden; */
	align-items: center;
	max-width: 100%;
}

.translate-input:not(.scrollbar) .translate-scroll {
	display: none;
}

.translate-input.scrollbar .translate-scroll {
	border: 1px solid transparent;
	align-items: center;
	justify-content: center;
	padding: 2px 0;
	width: 1.75em;
	height: fit-content;
}

.translate-input .translate-scroll:hover {
	border-color: hsl(202, 52%, 65%);
	background-color: hsl(202, 52%, 95%);
	color: hsl(202, 52%, 42%);
	cursor: pointer;
}

.translate-input .language-switcher {
	display: flex;
	flex-flow: row nowrap;
	gap: 0.2em;
	margin: 0 0.5em;
}

.translate-input.scrollbar .language-switcher {
	overflow: hidden;
}

.translate-input .language-switcher>.language {
	border: 1px solid #dfdada;
	padding: 0.35rem 0.75rem;
	background: #f5f5f5;
	border-radius: 5px 5px 0 0;
}

.translate-input .language-switcher>.language:hover {
	background: #d0cfcf;
	cursor: pointer;
}

.translate-input .language-switcher>.language.active {
	pointer-events: none;
	background: #3c8dbc;
	color: #fff;
}

table.table-striped thead th.active,
table.table-striped tfoot th.active,
table.table-striped tbody td.active,
table.table-striped tbody tr:hover td.active {
	background: transparent;
}

table.table-hover>tbody>tr:hover {
	background-color: rgba(202, 213, 255, 0.25);
	outline: 2px solid rgba(80, 80, 80, 0.15);
}

table.table-fixed {
	table-layout: fixed;
}

/* enhance jQuery
 *******************************************/

/* vertical tab navigation */

.ui-tabs-vertical {
	width: auto;
}

.ui-tabs-vertical .ui-tabs-nav {
	padding: 0.2em 0.1em 0.2em 0.2em;
	float: left;
	width: 12em;
	background: #cccccc;
	position: absolute;
	top: 2pt;
	bottom: 2pt;
}

.ui-tabs-vertical .ui-tabs-nav li {
	clear: left;
	width: 100%;
	border-bottom-width: 1px !important;
	border-right-width: 0 !important;
	margin: 0 -1px 0.2em 0;
}

.ui-tabs-vertical .ui-tabs-nav li a {
	display: block;
	width: 100%;
}

.ui-tabs-vertical .ui-tabs-nav li.ui-tabs-active {
	margin-bottom: 2px;
	padding-bottom: 0;
	padding-right: 0.1em;
	border-right-width: 1px;
}

.ui-tabs-vertical .ui-tabs-panel {
	margin-left: 12.7em;
	padding: 0 1em 1em 1em;
	min-height: 45em;
}

/* change AdminLTE theme
 *******************************************/

html,
body {
	height: 100% !important;
}

body.fixed .content-wrapper {
	display: flex;
	flex-flow: column nowrap;
}

body.fixed .content-wrapper .content-header {
	padding: 15px 15px;
}

body.fixed .content-wrapper,
body.fixed .right-side {
	padding-top: 0;
		position: relative;
}

#main {
	height: 100%;
	width: 100%;
}

body.full-size header.main-header,
body.full-size aside.main-sidebar {
	display: none;
}

body.full-size aside.main-sidebar {
	overflow-x: hidden;
	overflow-y: auto;
}

#btn-fullscreen {
	border: 1px solid transparent;
	color: #005c82;
	padding: 2px 6px;
	position: absolute;
	right: 2em;
	top: 2em;
	z-index: 2;
}

#btn-fullscreen:hover {
	background: #d3ebfc;
	border-color: #90becd;
	border-radius: 5px;
	cursor: pointer;
}

.control-sidebar>.tab-content {
	height: 100%;
}

@media (max-width: 767px) {

	body.fixed .content-wrapper,
	body.fixed .right-side {
		padding-top: 0;
		margin-top: 100px;
	}
}

/*body aside.main-sidebar .slimScrollDiv {*/
/*	overflow-y: auto;*/
/*	scrollbar-color: blue orange;*/
/*}*/
/*body aside.main-sidebar .slimScrollDiv::-webkit-scrollbar-track {*/
/*	background: orange;        !* color of the tracking area *!*/
/*}*/
/*body aside.main-sidebar .slimScrollDiv::-webkit-scrollbar-thumb {*/
/*	background-color: blue;    !* color of the scroll thumb *!*/
/*	border-radius: 20px;       !* roundness of the scroll thumb *!*/
/*	border: 3px solid orange;  !* creates padding around scroll thumb *!*/
/*}*/

.no-z-index .content-wrapper {
	z-index: auto !important;
}

.modal-open .ui-tooltip {
	display: none !important;
}

aside.control-sidebar {
	/*padding: 0.25em 1em;*/
	position: fixed;
	right: -350px;
	width: 350px;
	bottom: 0;
	overflow-x: hidden;
	overflow-y: auto;
}

body.sidebar-right aside.control-sidebar {
	right: 0;
}

body.sidebar-right aside.control-sidebar .control-sidebar-list li {
	margin-bottom: 0.5em;
	border-bottom: 1px solid #444;
	padding-bottom: 0.5em;
}

section.sidebar {
	overflow-y: auto;
	position: absolute;
	top: 50px;
	left: 0;
	right: 0;
	bottom: 0;
}

/* show timeout info (only test version)
 *******************************************/

.timeout {
	color: #bdbdbf;
	position: absolute;
	top: 1em;
	left: 50%;
	margin-left: -150px;
	width: 300px;
	text-align: center;
	z-index: 10000;
}

/* change wicked grid
 *******************************************/

.jSTdMenu {
	padding: 0.75em !important;
	z-index: 1051 !important;
}

.jSTdMenu div {
	padding: 0 2px;
	line-height: 1.5em;
}

.jSTdMenu hr {
	margin: 0;
	height: 0.5em;
}

.jSTdMenu .ui-state-highlight,
.ui-state-active,
.ui-widget-content .ui-state-active,
.ui-widget-header .ui-state-active,
a.ui-button:active,
.ui-button:active,
.ui-button.ui-state-active:hover {
	background-color: #3c8dbc;
	border-color: #207db3;
	color: #fff;
}

.jSParent .jSBarTopMenuButton {
	display: none !important;
}

.jSParent .jSFormula {
	font-weight: normal;
	min-height: 24px;
}

/* General
 *******************************************/

.draft {
	outline: 2px dashed orange !important;
}

ul,
li {
	list-style: none;
	padding: 0;
}

.left {
	text-align: left !important;
}

.right {
	text-align: right !important;
}

.center {
	text-align: center !important;
}

.number {
	width: 5em !important;
	text-align: right !important;
}

/* .date, */
input.date,
.date input {
	width: 6em !important;
	text-align: left !important;
}

.w-10 {
	width: 10em !important;
}

select.form-select-control {
	height: 34px;
	padding: 6px 12px;
	background-color: #fff;
	background-image: none;
	border: 1px solid #ccc;
	border-radius: 4px;
	-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
	box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
	-webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
	-o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
	transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}

body select.form-select,
body span.form-date,
body span.form-time,
body input[type="date"].form-date,
body input[type="time"].form-time {
	border-color: #d2d6de;
	padding: 0.3em 0.5em !important;
	min-width: 8em;
	width: auto !important;
}

.form-select,
.form-date {
	border: 1px solid #d2d6de;
	border-radius: 0;
	box-shadow: none;
}

.row-inline {
	margin-top: 0.5em;
}

.row-inline .form-inline {
	display: flex;
	flex-flow: row wrap;
	align-content: center;
	margin-bottom: 0.25em;
}

.row-inline .form-inline>label {
	padding: 6px 12px 6px 6px !important;
	display: inline;
	width: 15em;
}

.row-inline .form-inline>input {
	width: 20em !important;
}

.flex-wrap,
.flex-nowrap,
.flex {
	display: flex;
}

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

.flex-nowrap {
	flex-flow: row nowrap;
}

.flex-nowrap>* {
	width: auto !important;
	word-wrap: normal !important;
	white-space: normal;
}

.flex-gap-1 {
	gap: 1em;
}

.flex-gap-2 {
	gap: 2em;
}

.flex-gap-3 {
	gap: 3em;
}

.flex-gap-4 {
	gap: 4em;
}

.flex-gap-5 {
	gap: 5em;
}

.flex.multi-error {
	flex-direction: column;
}

.flex-align-left {
	align-items: start !important;
}

.flex-align-center {
	align-items: center !important;
}

.flex-align-right {
	align-items: end !important;
}

.flex-justify-left {
	justify-content: start !important;
}

.flex-justify-center {
	justify-content: center !important;
}

.flex-justify-right {
	justify-content: end !important;
}

.auto-fill {
	display: flex;
	margin-left: auto;
	margin-right: auto;
	width: inherit;
}

.scroll {
	overflow: scroll;
}

.dist-top-05-em {
	margin-top: 0.5em !important;
}

.dist-top-1-em {
	margin-top: 1em !important;
}

.dist-left-05-em {
	margin-left: 0.5em !important;
}

.dist-right-05-em {
	margin-right: 0.5em !important;
}

.full-width {
	width: 100% !important;
}

.full-size {
	position: absolute !important;
	top: 0 !important;
	left: 0 !important;
	width: 100% !important;
	height: 100% !important;
	margin: 0 !important;
}

.no-resize {
	resize: none;
}

.resize-vertical {
	resize: vertical;
}

.resize-horizontal {
	resize: horizontal;
}

.radio .disabled label,
.checkbox .disabled label {
	color: #cccccc;
	cursor: default;
}

.radio label,
.checkbox label {
	float: none;
	width: auto;
	margin-left: 0.5em;
	vertical-align: middle;
}

th.checkbox,
td.checkbox {
	display: table-cell;
	position: initial;
	text-align: center;
	width: 2em;
}

td.checkbox input[type="checkbox"] {
	position: initial !important;
}

span.description {
	display: block;
	font-style: italic;
}

input.indeterminate {
	opacity: 0.5 !important;
}

table.border {
	border: 1px solid #ccc;
	border-collapse: inherit;
	border-spacing: 1px;
}

table.border td>* {
	padding: 0.5em 1em;
}

table.border thead th,
table.border thead td {
	background: #3c8dbc;
	color: #fff;
	padding: 7px 1em;
}

table.border tfoot tr:nth-child(1) td {
	padding: 1em 0;
	border-top: 1px solid #ccc;
}

table.border tfoot tr:nth-child(1) td:nth-child(1) {
	padding: 1em 0 1em 1em;
}

table.border tfoot tr:nth-last-child(1) td:nth-last-child(1) {
	padding: 1.4em 0 0;
}

body .selectized {
	display: none !important;
}

body .selectize-control::before {
	-moz-transition: opacity 0.2s;
	-webkit-transition: opacity 0.2s;
	transition: opacity 0.2s;
	z-index: 2;
	position: absolute;
	display: block;
	top: 4px;
	right: 36px;
	font-family: 'Font Awesome 5 Free';
	font-size: 120%;
	font-weight: 900;
	content: "\f110";
	opacity: 0;
	-webkit-animation: none;
	animation: none;
}

body .selectize-control.loading::before {
	opacity: 1;
	-webkit-animation: fa-spin 2s infinite linear;
	animation: fa-spin 2s infinite linear;
}

body .selectize-control.auto-width .selectize-input {
	min-width: 10em;
	width: auto;
	padding-right: 3em;
}

body input.form-selectize,
body input.form-selectize+.selectize-control input,
body input.form-selectize+.selectize-control .item {
	min-width: 12em;
}

.dropdown-menu li {
	background-color: #337ab7;
	color: #ffffff;
	padding: 5px 15px;
}

.dropdown-menu li:hover {
	background-color: #3c8dbc;
	cursor: pointer;
}

@keyframes rotate360 {
	to {
		transform: rotate(360deg);
	}
}

.rotate {
	animation: 2s rotate360 infinite linear;
}

.row-discount * {
	margin: 0;
}

.row-discount {
	width: 100%;
	display: flex;
}

.zip-city-container {
	display: flex;
}

.zip-city-container .zip {
	width: 5em !important;
	margin-right: 0.5em;
}

.zip-city-container .city {
	width: 100%;
}

select.form-control {
	width: 97% !important;
}

@media (max-width: 500px) {
	.row-discount {
		display: grid;
	}

	.row-discount>* {
		padding-left: 0;
	}
}

.word-wrap {
	word-wrap: break-word;
	word-break: break-all;
}

.validationMessage {
	display: block;
	color: #e30000;
}

input.required,
textarea.required,
select.required,
.required .selectize-input,
.mce-tinymce.required {
	outline: double medium #a5a5f5;
	outline-offset: -2px;
	outline-width: 1px;
}

.notice {
	display: block;
	border: 1px solid transparent;
	border-radius: 4px;
	font-weight: bold;
	margin-bottom: 1em;
	padding: 15px;
}

.notice-mw-1 {
	margin-left: 1em;
	margin-right: 1em;
}

.notice.notice-normal-font {
	font-weight: normal;
}

.notice.notice-info {
	color: #ad963f;
	background-color: #ffffab;
	border-color: #ad963f;
}

.notice.notice-offer {
	color: #ffffab;
	background-color: #fbfbc4;
	border-color: #e82f2f;
}

.notice.notice-success {
	color: green;
	background-color: #dfffdf;
	border-color: #019400;
}

.notice.notice-error {
	color: #a94442;
	background-color: #f2dede;
	border-color: #ebccd1;
}

.distance-border-bottom::after {
	border-bottom: 5px dotted #7794c5;
	margin: 2em -1em;
	content: "";
	display: block;
}

label.form-label {
	height: 34px;
	padding: 6px 15px;
	font-size: 14px;
	line-height: 1.42857143;
	color: #555;
	background-color: #fff;
	background-image: none;
	border: none;
}

label.form-label.form-label-center {
	display: flex;
	flex-flow: column wrap;
	justify-content: center;
}

.wysiwyg-group {
	margin-bottom: 4px;
}

/* expand bootstrap 3 accordion */

.btn.btn-image {
	padding: 4px;
	width: 2.5em;
	background: no-repeat;
	border: 1px solid transparent;
}

.btn.btn-image:hover {
	border-color: #000;
}

.panel-heading {
	position: relative;
}

.panel-heading:hover {
	cursor: pointer;
}

.panel-heading .accordion-toggler {
	position: absolute;
	top: 1em;
	right: 1em;
	width: 1em;
	text-align: center;
}

.panel-heading.collapsed .accordion-toggler.expanded,
.panel-heading:not(.collapsed) .accordion-toggler.collapsed {
	display: none;
}

/* enhance jquery sortable */

.papi-drag-drop-container {
	font-size: 1.2em;
}

.papi-drag-drop-container ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
}

.papi-drag-drop-container ul li {
	line-height: 1;
}

.papi-drag-drop-container input[type="checkbox"],
.papi-drag-drop-container input[type="radio"] {
	margin-right: 0.25em;
}

.papi-drag-drop-container label {
	font-weight: normal;
}

.papi-drag-drop-container select {
	margin-left: 1em;
}

.papi-drag-drop-container .papi-drag-drop-item {
	border: none;
	background: none;
}

.papi-drag-drop-container .papi-drag-drop-subitem li {
	padding: 0 1.5em;
}

.ui-state-highlight {
	height: 1.5em;
	line-height: 1.2em;
}

/* file-uploader
 *******************************************/

.file-uploader {
	background-color: hsl(200 100% 97%);
	border: 1px solid hsl(200 100% 90%);
	position: relative;
	margin-bottom: 1em;
	min-height: 3.25em;
	overflow: hidden;
}

.file-uploader .upload-container {
	/* display: none; */
	padding: initial !important;
	margin: initial !important;
}

.file-uploader:hover .upload-container {
	display: initial;
}

.file-uploader .attachment-list-upload {
	background: hsl(30deg 100% 97%);
}

.phase-item-upload-options {
	white-space: nowrap;
	display: flex;
	gap: 0.5em;
	align-items: center;
	height: 2em;
}

.phase-item-upload-options>* {
	margin: 0;
}

.file-uploader .attachment-list {
	position: relative;
}

.file-uploader .attachment-list-upload,
.file-uploader .attachment-list-upload>ul,
.file-uploader .attachment-list {
	display: flex;
	flex-flow: wrap;
	margin: 0;
}

.file-uploader .attachment-list-upload .title {
	background-color: hsl(41 100% 90%);
	border-bottom: 1px solid hsl(41 100% 80%);
	color: #444;
	display: block;
	padding-left: 0.5em;
	width: 100%;
}

/* .file-uploader .attachment-list-upload .title, */
.file-uploader .attachment-list {
	top: 0;
	width: calc(100% - 3em) !important;
}

.file-uploader .attachment-list-upload ul>li,
.file-uploader .attachment-list>li {
	background-color: hsl(200 100% 90%);
	border: 1px solid hsl(200deg 100% 80%);
	border-radius: 0.5em;
	padding: 0.25em 0.5em;
	margin: 0.25em;
	display: flex;
	flex-direction: row;
	gap: 0.5em;
}

.file-uploader .attachment-list>li.new {
	background-color: hsl(130 100% 90%);
	border: 1px solid hsl(130 100% 80%);
}

.file-uploader .attachment-list>li.replace {
	background-color: hsl(25 100% 90%);
	border: 1px solid hsl(25 100% 80%);
}

.file-uploader .attachment-list>li.delete {
	background-color: hsl(0 100% 90%);
	border: 1px solid hsl(0 100% 80%);
}

.file-uploader .attachment-list>li .actions {
	display: flex;
	flex-flow: row nowrap;
	align-items: center;
}

.file-uploader .closed .attachment-list>li .actions,
.file-uploader .canceled .attachment-list>li .actions,
.file-uploader .done .attachment-list>li .actions {
	display: none;
}

.file-uploader .attachment-list>li .actions>* {
	border-radius: 3px;
	color: hsl(200 100% 30%);
	font-size: 9pt;
	padding: 1px;
}

.file-uploader .attachment-list>li .actions.disabled>* {
	color: hsl(0 0% 70%);
}

.file-uploader .attachment-list>li .actions>*:hover {
	background-color: hsl(0 100% 80%);
	color: hsl(0deg 100% 30%);
	outline: 1px solid hsl(0 100% 70%);
	cursor: pointer;
}

.file-uploader .phase-attachments .upload-container {
	border-radius: 50%;
	position: absolute;
	display: none;
	top: 0.25em;
	right: 0.25em;
	margin: 0 !important;
	padding: 0 !important;
	width: 2.5em;
	height: 2.5em;
}

.file-uploader .phase-attachments .upload-container:hover button.upload-attachment {
	background-color: hsl(200 100% 65%);
	color: hsl(200 100% 97%);
}

.file-uploader .file-upload-button-wrapper {
	display: flex;
	min-height: 3em;
	align-items: center;
}

.file-uploader .upload-button {
	position: absolute;
	top: 0;
	right: 0;
	width: 32px;
}

.file-uploader .upload-button .options {
	display: none;
	position: absolute;
	right: 0;
	padding-right: 4em;
}

.file-uploader .file-upload-button-wrapper:hover .options {
	display: flex !important;
}

.file-uploader .file-upload-button {
	clip-path: circle(50.0% at 50% 50%);
	position: absolute;
	top: 5px;
	right: 5px;
	width: 2.3em;
	height: 2.3em;
}

.file-uploader .file-upload-button:before {
	position: absolute;
	left: 50%;
	top: 50%;
	width: 1em;
	height: 1em;
	margin-left: -0.5em;
	margin-top: -0.5em;
	color: hsl(200 100% 30%);
	font-size: 13pt;
}

.file-uploader .file-upload-button-wrapper:hover .file-upload-button {
	background: hsl(200 100% 65%);
	cursor: pointer;
}

.file-uploader .custom-file-input-wrapper {
	opacity: 0;
}

.file-uploader .custom-file-input-button input {
	cursor: pointer;
	font-size: 50pt;
	margin: -25pt;
}

.file-uploader button.upload-attachment {
	color: hsl(200 100% 30%);
	position: absolute;
	right: -1.75em;
	top: 5px;
	font-size: 16pt;
	border: 1px solid hsl(200 100% 50%);
	border-radius: 50%;
	padding: 0px 6px;
}

.file-uploader button.upload-attachment:hover {
	background-color: hsl(200 100% 80%);
}

.file-uploader:has(.filedrag.hover) {
	background: hsl(200 100% 65%);
}

.file-uploader .filedrag {
	position: absolute;
	width: 100%;
	height: 100%;
}

.hover-effect .file-uploader .attachment-list {
	z-index: 0;
}

.hover-effect .file-uploader .filedrag {
	z-index: 1;
}

/* rights button handling
*******************************************/

.not-save .right-save,
.not-remove .right-remove {
	/* display: none; */
	/* cursor: not-allowed; */
	filter: alpha(opacity=65);
	/* -webkit-box-shadow: none; */
	/* box-shadow: none; */
	opacity: .65;
	pointer-events: none;
}

/* Context menu
 *******************************************/

.contextmenu {
	display: none;
	background: #f6f6f6;
	border: 1px solid #ddd;
	position: absolute;
	padding: 0.5em;
}

.contextmenu ul {
	margin: 0;
}

.contextmenu li {
	border: 1px solid transparent;
	color: #000;
	padding: 2px 5px;
	min-width: 10rem;
}

.contextmenu li:hover {
	background-color: #00c0ef;
	border-color: #00acd6;
	color: #fff;
	cursor: pointer;
}

/* Form
 *******************************************/

.form .row {
	display: block;
	margin: 0.5em 0 0 0;
}

.form label,
.form input {
	display: block;
	margin: 0.1em 0;
}

.form label,
.form input {
	display: block;
	margin: 0.1em 0;
}

.row.buttons {
	margin: 1em 0;
}

.row.buttons .forgot-password {
	position: absolute;
	top: 50%;
	height: 1.5em;
	margin-top: -0.75em;
	right: 0;
}

.button-upload-container {
	display: inline-table;
	overflow: hidden;
}

.button-upload-container input {
	position: absolute;
	top: 0;
	right: 0;
	height: 100%;
	width: 100em;
}

.button-upload-container input:hover {
	cursor: pointer;
}

.button-upload-container .custom-file-input-clear-button {
	display: none;
}

/* default file uploader
 *******************************************/

.default-upload-wrapper .default-upload-container {
	border: 2px dashed #3c8dbc;
	position: relative;
}

.default-upload-wrapper .default-upload-container:hover {
	background: aliceblue;
	cursor: pointer;
}

.default-upload-wrapper .default-upload-container .custom-file-input-button {
	background: none;
	border: none;
}

.default-upload-wrapper .default-upload-container .custom-file-input-clear-button,
.default-upload-wrapper .default-upload-container .custom-file-input-button-text {
	display: none;
}

.default-upload-wrapper .default-upload-container .file-upload-button {
	position: absolute;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	overflow: hidden;
}

.default-upload-wrapper .default-upload-container input {
	padding: 100vh 100vw 0 0;
	background: transparent;
	position: absolute;
	left: -1vw;
	top: -1vh;
}

.default-upload-wrapper .default-upload-container input:hover {
	cursor: pointer;
}

.default-upload-wrapper .default-upload-container .close-upload {
	position: absolute;
	right: 0.5em;
	top: 0.5em;
	color: #b4b3b3;
	z-index: 10;
}

.default-upload-wrapper .default-upload-container .close-upload:hover {
	background-color: darkred;
	color: white;
	cursor: pointer;
}

.default-upload-wrapper .upload-file-list {
	padding-top: 6em;
}

.default-upload-wrapper .upload-file-list .upload-file-list-item {
	display: flow-root;
	border: 1px solid #ccc;
	margin: -1px;
	padding: 6px;
}

.default-upload-wrapper .upload-file-list .upload-file-list-item:nth-child(odd) {
	background: #f2f2f2;
}

.default-upload-wrapper .upload-file-list .btn-close {
	border: 1px solid transparent;
	color: #888;
	position: relative;
	top: 0;
	right: 3px;
	width: 20px;
	height: 20px;
	padding: 3px;
	text-align: center;
	float: right;
}

.default-upload-wrapper .upload-file-list .btn-close:hover {
	border-color: #ffc3c3;
	color: #800;
	cursor: pointer;
}

.default-upload-wrapper .upload-progress {
	margin-bottom: 1em;
}

.default-upload-wrapper .upload-progress>span {
	display: block;
	height: 1.4em;
}

.default-upload-wrapper .link {
	text-decoration: none;
}

.default-upload-wrapper .link:hover {
	color: #337ab7;
	cursor: pointer;
}

/* DOM element loader
 *******************************************/

.loader-overlay {
	background-color: #DDDDDD;
	opacity: 0.5;
	position: absolute;
	z-index: 300000;
}

.loader-overlay .loader {
	background: transparent url(../images/loader-64.gif) no-repeat center center !important;
	height: 100%;
	width: 100%;
}

/* default loader
 *******************************************/

#default_loader,
#default_saver {
	display: none;
	position: fixed;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	z-index: 10000;
}

#default_loader img,
#default_saver img {
	width: 64px;
	height: 64px;
	position: absolute;
	left: 50%;
	top: 50%;
	margin: -32px 0 0 -32px;
	background: #fffc;
	border-radius: 30px;
	/*box-shadow: 0 0 10px #c9c9c9;*/
}

.loader-16 {
	background: url(../images/loader-16.gif) no-repeat center;
	display: inline-block;
	width: 16px;
	height: 16px;
}

.loader-64 {
	background: url(../images/loader-64.gif) no-repeat center;
	display: inherit;
	width: 64px;
	height: 64px;
}

.loader-left {
	padding-left: 16px;
	margin-right: 8px;
}

.loader-right {
	padding-right: 16px;
	margin-left: 8px;
}

#upload_offer_loader {
	display: none;
}

#upload_offer_loader .loader-background {
	outline: 2px solid #e1e1e1;
	left: 0;
	right: 0;
}

/* default progressbar
 *******************************************/

#default_progressbar {
	display: none;
	background: #5a9dc5;
	border: 1px solid #026aa7;
	color: #fff;
	position: absolute;
	left: 50%;
	bottom: 20vh;
	margin-left: -150px;
	padding: 1em;
	width: 300px;
	z-index: 10000;
}

#default_progressbar .message {
	margin-bottom: 1em;
}

#default_progressbar .progress {
	margin: 0;
}

/* level settings
 *******************************************/

.level-2 {
	margin-left: 1.5em;
}

.disabled,
input:disabled {
	color: #ccc !important;
	pointer-events: none !important;
}

/* tab
 *******************************************/

.tab-pane h3,
.tab-pane h4:first-child {
	margin-top: 0;
}

/* table-advanced (lists)
 *******************************************/

.table-advanced-container .ui-state-highlight {
	background: #6192b6 !important;
}

.table-advanced-container .table-advanced-header {
	position: relative;
	min-height: 60px;
}

.table-advanced-container .table-advanced-header .number-of-elements {
	position: absolute;
	left: 0;
	bottom: 17px;
}

.table-advanced-container .table-advanced-header .input-group.search-box {
	float: right;
	margin: 13px 0;
	max-width: 250px;
}

.table-advanced-container .table-advanced-header .filter-loader {
	position: absolute;
	left: 50%;
	bottom: 12px;
	width: 32px;
	height: 32px;
	margin-left: -16px;
}

.table-advanced-container .table-advanced-header .filter-loader img {
	width: 100%;
	height: 100%;
}

.table-advanced-container .filter-elements {
	border-bottom: 1px solid #ccc;
	padding-bottom: 0.5em;
	display: flex;
	flex-flow: row;
	align-items: end;
}

.table-advanced-container .filter-elements .filter-element {
	display: inline-block;
	margin: 0 0.5em;
}

.table-advanced-container .filter-elements .filter-element:first-child {
	margin-left: 0;
}

.table-advanced-container .filter-elements .filter-element:last-child {
	margin-right: 0;
}

/* .table-advanced-container .filter-elements .filter-element.filter-checkbox {} */

.table-advanced-container .filter-elements .filter-element.filter-checkbox .checkbox>* {
	display: inline-block;
	vertical-align: middle;
}

.table-advanced-container .filter-elements .filter-element.filter-checkbox .checkbox>input[type="checkbox"] {
	margin-left: 0;
	position: inherit;
}

.table-advanced-container .filter-elements .filter-element.filter-checkbox .checkbox>label {
	margin: 0 1em 0 0.5em;
}

.table-advanced-container .filter-elements .label {
	color: inherit;
	font: inherit;
	padding: 0 0.25em 0 0;
}

.table-advanced-container .filter-elements .link .label {
	padding: 0;
}

.table-advanced-container .filter-element .link:hover {
	text-decoration: underline;
	cursor: pointer;
}

.table-advanced-container .filter-toggler {
	display: block !important;
	margin-bottom: -0.55em !important;
}

.table-advanced-container .filter-toggler>button {
	margin-bottom: 5px;
}

.table-advanced-container .filter-toggler .filter-toggler-container {
	border: 1px solid #ccc;
	padding: 6px;
	margin-bottom: 0.5em;
}

.table-advanced-container .filter-toggler-container select.placeholder {
	width: 15em;
	margin-right: 1em;
}

.table-advanced-container .filter-toggler-container select.placeholder option {
	color: initial;
}

/* .table-advanced-container .filter-toggler-container select.placeholder.placeholder-selected, */
.table-advanced-container .filter-toggler-container select.placeholder option:first-child {
	color: #aaa;
}

.table-advanced-container .filter-toggler-container ul {
	margin: 5px 10px -10px;
}

.table-advanced-container .filter-toggler-container ul li {
	vertical-align: top;
	display: table-row;
}

.table-advanced-container .filter-toggler-container h4 {
	display: table-cell;
	font-size: inherit;
	width: 12em;
	padding-right: 1em;
}

.table-advanced-container .filter-toggler-container i {
	display: table-cell;
	font-style: normal;
	padding-bottom: 10px;
}

.table-advanced-container .filter-toggle-element {
	display: inline-block;
	margin-bottom: 2px;
	min-width: 20em;
}

.table-advanced-container .filter-toggle-element-radio,
.table-advanced-container .filter-toggle-element-checkbox {
	display: inline-block;
}

.table-advanced-container .filter-toggle-element-radio label,
.table-advanced-container .filter-toggle-element-checkbox label {
	margin: 0 1em 0 0.5em;
}

.table-advanced-container .filter-toggle-element-input {
	display: inline-block;
	/* margin-right: 1em; */
}

.table-advanced-container .filter-toggle-element-input input {
	border: 1px solid #ccc;
	padding: 5px 15px;
	max-width: 100%;
	width: 97%;
}


.table-advanced-container table.table.full-width {
	width: 100% !important;
}

.table-advanced-container table.table div.sortable {
	cursor: pointer;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

.table-advanced-container table.table div.sortable:hover span {
	color: #2576d2;
}

.table-advanced-container table.table div.sortable i {
	width: 13px;
	margin-left: 4px;
	display: inline-block;
}

.table-advanced-container table .row-actions {
	visibility: hidden;
}

.table-advanced-container tr:hover .row-actions {
	visibility: visible;
}

.table-advanced-container table .row-actions .link:before {
	content: '|';
	margin: 0 0.5em;
}

.table-advanced-container table .row-actions .link:first-child:before {
	content: '';
}

.table-advanced-container table .row-actions .link:hover {
	color: #337ab7;
	cursor: pointer;
}

/* .table-advanced-container table .row-actions .edit {} */

.table-advanced-container table .row-actions .delete {
	color: red;
}

.table-advanced-container table tr.imported td {
	background: rgba(255, 252, 0, 0.22);
	position: relative;
}

.table-advanced-container table tr.imported td:nth-child(1)::before {
	background: red;
	content: "";
	position: absolute;
	left: -2px;
	top: 0;
	width: 5px;
	height: 100%;
}

.table-advanced-container table tr .imported-text {
	border: 1px solid #bd0202;
	background: red;
	color: #fff;
	font-weight: bold;
	display: none;
	position: absolute;
	left: 0;
	top: -2.6em;
	padding: 0.5em 1em;
}

.table-advanced-container table tr.imported:hover .imported-text {
	display: block;
}

.table-advanced-container table th {
	vertical-align: middle !important;
}

.table-advanced-container table th,
.table-advanced-container table td {
	text-wrap: wrap;
	word-break: break-all;
}

.table-advanced-container table th.wrap-shy {
	word-break: initial;
}

.table-advanced-container table th.pdf,
.table-advanced-container table td.pdf,
.table-advanced-container table th.active,
.table-advanced-container table td.active {
	background: transparent;
	padding-left: 0;
	padding-right: 0;
	text-align: center;
	width: 4em;
}

.table-advanced-container table th.available,
.table-advanced-container table td.available {
	width: 70px;
}

/*.table-advanced-container table td.pdf img.link:hover {
	background: #367fa9;
	outline: 2px double #367fa9;
	cursor: pointer;
}*/

.table-advanced-container table .symbol {
	width: 60px;
}


/* table-advanced (modal table)
 *******************************************/

.table-advanced-container table.modal-table {
	position: relative;
	margin-bottom: 10px;
	width: auto;
}

.table-advanced-container table.table-hover.modal-table thead tr th,
.table-advanced-container table.modal-table thead tr th {
	background: #3c8dbc;
	color: #ffffff;
	font-weight: normal;
	padding: 2px 7px;
}

.table-advanced-container table.modal-table th,
.table-advanced-container table.modal-table td {
	font-size: 90%;
}

.table-advanced-container table.modal-table div.sortable:hover span {
	color: #dcebff;
}

.table-advanced-container table.modal-table .row-actions {
	background: rgba(255, 255, 255, 0.5);
	text-align: center;
	position: absolute;
	/* position will be calculated by js */
}

.table-advanced-container table.modal-table .row-actions .buttons {
	position: absolute;
	top: 50%;
	left: 0;
	right: 0;
	margin-top: -1.05em;
	height: 2.1em;
	text-align: center;
}

.table-advanced-container table.modal-table .row-actions .buttons>span {
	background: #ffffff;
	border: 1px solid #a6adff;
	border-radius: 15px;
	padding: 5px;
	margin: 0 2px;
}

.table-advanced-container table.modal-table .row-actions .buttons .disabled {
	color: silver !important;
	border-color: silver !important;
	background: #f0f0f0 !important;
	cursor: default !important;
}

.table-advanced-container table.modal-table tbody .tr:hover {
	background: #e2fcff;
}

.table-advanced-container table.modal-table .row-actions .buttons>span:hover {
	background: #3c8dbc;
	color: #ffffff;
	cursor: pointer;
}

/* list
 *******************************************/

span.status,
img.status {
	width: 32px !important;
	height: 32px !important;
}

span.status.link:hover,
img.status.link:hover {
	cursor: pointer;
	/* background: rgba(54, 127, 169, 0.59) !important; */
	border-radius: 2px;
	outline: 2px solid hsl(201.91deg 51.57% 43.73%);
	outline-offset: 2px;
}

span.disabled,
img.disabled {
	cursor: default !important;
	pointer-events: none;
}

/* admin layout
 *******************************************/

.skin-blue .sidebar-menu>li.active-parent>a {
	border-left-color: #3c8dbc;
}

.skin-blue .sidebar-menu>li>a>span {
	white-space: initial;
}

/* Login on splash screen
 *******************************************/

#splash-main {
	background: transparent url(../images/splash-bg-00.jpg) no-repeat center fixed;
	background-size: cover;
	width: 100vw;
	height: 100vh;
}

#splash-frame .program-name {
	float: left;
	font-size: 12pt;
	font-weight: normal;
	text-align: center;
	position: relative;
	top: 0.5em;
	width: 100%;
}

#splash-main .loader {
	position: fixed;
	left: 25%;
	bottom: 0;
	width: 100%;
	margin-left: -25%;
	margin-bottom: -22%;
}

#splash-main .flip-card {
	margin: 0 auto;
	max-width: 29em;
	top: 3em;
	left: -1em;
	transform: rotate(-5deg);
}

#splash-main .frame {
	border: 2.5em solid #6c3733;
	border-image: url(../images/frame-860x593.png) 75% 50% stretch;
	border-image-width: 100%;
	min-height: 24em;
}

#splash-frame {
	overflow: hidden;
	margin: 0;
}

#splash-frame .preload-status {
	position: absolute;
	bottom: 3px;
	left: 15px;
	right: 15px;
	height: 1.5em;
	text-align: center;
}

#splash-frame:hover {
	cursor: pointer;
}

#splash-frame .preload-progress {
	/*display: none;*/
	background: transparent;
	border: none;
	color: #fff;
	position: absolute;
	left: 8px;
	bottom: 0;
	right: 9px;
	padding: 0;
}

#splash-frame .preload-progress .progressBar {
	border: 2px solid #5a9dc5;
}

#splash-frame .preload-progress .progressTest {
	display: none;
}

#splash-login {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
}

#splash-login-inner {
	position: absolute;
	left: 10%;
	top: 0;
	right: 10%;
}

#splash-login-inner .alert {
	color: #a94442 !important;
	position: absolute;
	left: -2.5em;
	right: -2.2em;
	top: -8px;
	z-index: 1;
}

#splash-login input[type=text],
#splash-login input[type=password] {
	width: 100%;
}

/* Spielerei mit Splash Screen */

/* Foto christmas */

html.image-christmas,
.image-christmas body {
	background: rgb(157, 211, 243) !important;
}

.image-christmas.b01 #splash-main {
	background-image: url(../images/splash-bg-christmas-01.jpg);
}

.image-christmas.b02 #splash-main {
	background-image: url(../images/splash-bg-christmas-02.jpg);
}

.image-christmas.b03 #splash-main {
	background-image: url(../images/splash-bg-christmas-03.jpg);
}

.image-christmas #splash-main .frame {
	border: .5em solid #ab1606;
	border-radius: 20px;
	background: rgba(157, 211, 243, 0.39);
	box-shadow: 10px 10px 30px #333;
	color: #ab1606;
}

.image-christmas #splash-main input {
	background: #fceeb5;
	outline-color: #df764d;
}

.image-christmas #splash-main button {
	background: #ab1606;
}

.image-christmas #splash-frame .preload-progress .progressBar {
	border-color: #a94136;
}

/* Foto silvester */

html.image-silvester,
.image-silvester body {
	background: #000 !important;
}

.image-silvester.b01 #splash-main {
	background-image: url(../images/splash-bg-silvester-01.jpg);
}

.image-silvester #splash-main .frame {
	border: .5em solid #001243;
	border-radius: 20px;
	background: rgba(6, 36, 84, 0.75);
	box-shadow: 10px 10px 30px #333;
	color: #009ac6;
}

.image-silvester #splash-main input {
	background: #256bb7;
	color: #fff;
	outline-color: #4d8fdf;
}

.image-silvester #splash-main button {
	background: #063dab;
}

.image-silvester #splash-frame .preload-progress .progressBar {
	border-color: #3649a9;
}

/* Foto 1 */

.image-01 #splash-main {
	background-image: url(../images/splash-bg-01.jpg);
}

.image-01 #splash-main .frame {
	border: .5em solid #a94136;
	background: #efd88f;
}

.image-01 #splash-main input {
	background: #fceeb5;
	outline-color: #df764d;
}

.image-01 #splash-frame .preload-progress .progressBar {
	border-color: #a94136;
}

/* Foto 2 */

.image-02 #splash-main {
	background-image: url(../images/splash-bg-02.jpg);
}

.image-02 #splash-main .frame {
	border: .5em solid #5aa936;
	background: #eef5ec;
}

.image-02 #splash-frame .preload-progress .progressBar {
	border-color: #5aa936;
}

/* Foto 3 */

.image-03 #splash-main {
	background-image: url(../images/splash-bg-03.jpg);
}

.image-03 #splash-main .frame {
	border: 0.5em solid #367fa9;
	background: #ecf0f5;
}

.image-03 #splash-frame .preload-progress .progressBar {
	border-color: #367fa9;
}

/* Foto 4 */

.image-04 #splash-main {
	background-image: url(../images/splash-bg-04.jpg);
	background-color: #fff;
	background-size: contain;
}

.image-04 #splash-main .frame {
	border: 0.5em solid #367fa9;
	background: #ecf0f5;
}

.image-04 #splash-frame .preload-progress .progressBar {
	border-color: #367fa9;
}

/* Foto 5 */

.image-05 #splash-main {
	background-image: url(../images/splash-bg-05.jpg);
}

.image-05 #splash-main .frame {
	border: 0.5em solid #367fa9;
	background: rgba(236, 240, 245, 0.57);
}

.image-05 #splash-frame .preload-progress .progressBar {
	border-color: #367fa9;
}

/* Foto 6 */

.image-06 #splash-main {
	background-image: url(../images/splash-bg-06.jpg);
}

.image-06 #splash-main .frame {
	border: .5em solid #5aa936;
	background: rgba(195, 220, 188, 0.84);
}

.image-06 #splash-frame .preload-progress .progressBar {
	border-color: #5aa936;
}

/* Foto 7 */

.image-07 #splash-main {
	background-image: url(../images/splash-bg-07.jpg);
}

.image-07 #splash-main .frame {
	border: .5em solid #4f9530;
	background: rgba(202, 237, 192, 0.88);
}

.image-07 #splash-frame .preload-progress .progressBar {
	border-color: #4f9530;
}

/* Foto 8 */

.image-08 #splash-main {
	background-image: url(../images/splash-bg-08.jpg);
}

.image-08 #splash-main .frame {
	border: .5em solid #8e3f0f;
	background: rgba(240, 220, 254, 0.7);
}

.image-08 #splash-frame .preload-progress .progressBar {
	border-color: #8e3f0f;
}

/* Foto 9 */

.image-09 #splash-main {
	background-image: url(../images/splash-bg-09.jpg);
}

.image-09 #splash-main .frame {
	border: .5em solid #a67d69;
	background: rgba(255, 217, 177, 0.37);
}

.image-09 #splash-main input {
	background: #ffe580;
	outline-color: #df764d;
}

.image-09 #splash-frame .preload-progress .progressBar {
	border-color: #a67d69;
}

/* Foto 10 */

.image-10 #splash-main {
	background-image: url(../images/splash-bg-10.jpg);
}

.image-10 #splash-main .frame {
	border: 0.5em solid #9a7300;
	background: rgba(236, 240, 245, 0.90);
}

.image-10 #splash-frame .preload-progress .progressBar {
	border-color: #9a7300;
}

/* Foto 11 */

.image-11 #splash-main {
	background-image: url(../images/splash-bg-11.jpg);
	background-position: bottom right;
}

.image-11 #splash-main .frame {
	border: 0.5em solid #4697d3;
	background: rgba(236, 240, 245, 0.90);
}

.image-11 #splash-frame .preload-progress .progressBar {
	border-color: #4697d3;
}

/* Foto 12 */

.image-12 #splash-main {
	background-image: url(../images/splash-bg-12.jpg);
	background-position: top right;
}

.image-12 #splash-main .frame {
	border: 0.5em solid #c5d0d9;
	background: rgba(236, 240, 245, 0.90);
}

.image-12 #splash-frame .preload-progress .progressBar {
	border-color: #c5d0d9;
}

/* Foto 13 */

.image-13 #splash-main {
	background-image: url(../images/splash-bg-13.jpg);
	background-position: center;
}

.image-13 #splash-main .frame {
	border: 0.5em solid #d34646;
	background: rgba(236, 240, 245, 0.90);
}

.image-13 #splash-frame .preload-progress .progressBar {
	border-color: #d34646;
}

/* Alle Fotos */

.image-all #splash-main .frame {
	box-shadow: 5px 5px 20px #333;
	min-height: 19em;
	opacity: 0.9;
}

.image-all #splash-main .flip-card {
	left: 0;
	transform: none;
}

.image-all #splash-login-inner .alert {
	left: -2.8em;
	right: -2.8em;
	top: 0;
}

.image-all #splash-frame .preload-status {
	bottom: 6px;
}

.image-all #splash-frame .preload-progress {
	bottom: 2px;
}


/* Login on modal dialog
 *******************************************/

#modal-login {
	z-index: 1000000;
}

#modal-login .modal-dialog {
	width: 300px;
}

#modal-login-inner {
	/*	position: absolute;
		width: 300px;
		top: 50px;
		left: 50%;
		margin-left: -125px;
	*/
	background: #fff;
	padding: 0 2em 0.5em;
	border: 1px solid black;
	border-radius: 10px;
}

#modal-login-inner .alert {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	border-radius: 10px 10px 0 0;
	color: #a94442 !important;
}

#modal-login-inner input[type=text],
#modal-login-inner input[type=password] {
	width: 100%;
}

/* Modal dialog
 *******************************************/

.modal-dialog {
	max-width: 100%;
}

.modal-dialog .modal-header {
	border-radius: 10px 10px 0 0;
	background-color: #3c8dbc;
	color: #fff;
	padding: 5px 10px;
	position: relative;
}

.modal-dialog .modal-header .modal-title {
	width: calc(100% - 2em);
}

.modal-dialog .modal-header .close {
	color: #fff;
	opacity: 1;
	margin-top: 2px;
	border: 1px solid transparent;
	border-radius: 15px;
	padding: 0 5px;
}

.modal-dialog .modal-header .close:hover {
	color: #ccc;
	border-color: #fff;
	background-color: #367fa9;
}

/*.modal-dialog .modal-header::after {
	background: transparent; / * For browsers that do not support gradients * /
	background: -webkit-linear-gradient(white 0, rgba(255,255,255,0) 100%); / * For Safari 5.1 to 6.0 * /
	background: -o-linear-gradient(white 0, rgba(255,255,255,0) 100%); / * For Opera 11.1 to 12.0 * /
	background: -moz-linear-gradient(white 0, rgba(255,255,255,0) 100%); / * For Firefox 3.6 to 15 * /
	background: linear-gradient(white 0, rgba(255,255,255,0) 100%); / * Standard syntax * /

	content: "";
	height: 2em;
	position: absolute;
	bottom: -2em;
	left: 0;
	right: 0;
	width: 100%;
	z-index: 1;
}*/
.modal-dialog .modal-no-fade.modal-header::after,
.modal-dialog .modal-no-fade.modal-footer::before {
	background: none;
}

.modal-dialog .modal-body {
	overflow: auto;
	max-height: 75vh;
	margin-bottom: 0.75em;
}

.modal-dialog .modal-body .tab-content {
	padding-top: 1em;
	overflow-x: auto;
	height: 100%;
}

.modal-dialog .modal-content {
	border-radius: 10px;
	border: 1px solid black;
}

.modal-dialog .modal-content .form-group.wide input,
.modal-dialog .modal-content .form-group.wide textarea {
	width: 100%;
}

.modal-dialog label {
	font-weight: normal;
	word-wrap: break-word;
}

.modal-dialog .modal-footer {
	position: relative;
}

/*.modal-dialog .modal-footer::before {
	background: -webkit-linear-gradient(rgba(255,255,255,0) 0, white 100%); / * For Safari 5.1 to 6.0 * /
	background: -o-linear-gradient(rgba(255,255,255,0) 0, white 100%); / * For Opera 11.1 to 12.0 * /
	background: -moz-linear-gradient(rgba(255,255,255,0) 0, white 100%); / * For Firefox 3.6 to 15 * /
	background: linear-gradient(rgba(255,255,255,0) 0, white 100%);

	content: "";
	height: 2em;
	position: absolute;
	top: -2.1em;
	left: 0;
	right: 0;
	width: 100%;
}*/
.modal-dialog .modal-footer .modal-dialog-customize-footer {
	position: absolute;
	top: 15px;
	left: 15px;
	width: max-content;
	max-width: calc(100% - 25em);
	height: 3em;
}

/* Modal dialog - footer error
 *******************************************/

.modal-dialog-error.validationMessage {
	background: #f2dede;
	border: 1px solid #e30000;
	float: left;
	margin-left: 1em;
	padding: 6px 15px;
}

/* Modal dialog - full size
 *******************************************/

.modal.modal-fullsize>.modal-dialog {
	width: 100%;
	position: absolute;
	margin: 0;
}

.modal.modal-fullsize>.modal-dialog .modal-content {
	border-radius: 0;
	height: 100vh;
}

.modal.modal-fullsize>.modal-dialog .modal-header {
	border-radius: 0;
}

.modal.modal-fullsize>.modal-dialog .modal-body {
	position: absolute;
	top: 36px;
	left: 0;
	right: 0;
	bottom: 55px;
	max-height: 100%;
}

.modal.modal-fullsize>.modal-dialog .modal-footer {
	background: #fff;
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
}

.modal.modal-fullsize>.modal-dialog .media-upload {
	position: absolute;
	top: 6em;
	left: 2em;
	right: 2em;
	bottom: 2em;
}

.modal.modal-fullsize>.modal-dialog .upload-container {
	margin-top: 5em;
	padding: 2em;
}

/* Modal sub-dialog
 *******************************************/

.modal-subdialog {
	display: none;
	position: fixed;
	top: 0;
	left: 50%;
	width: 100vw;
	height: 100vh;
	margin-top: 0;
	margin-left: -50vw;
	z-index: 10000;
}

/* old
.modal-subdialog {
	display: none;
	position: fixed;
	top: 50%;
	left: 50%;
	width: 100vw;
	height: 100vh;
	margin-top: -50vh;
	margin-left: -50vw;
	z-index: 10000;
}*/
.modal-subdialog .overlay {
	background: #414141;
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	opacity: 0.5;
}

.modal-subdialog .modal-subdialog-form {
	background: #fff;
	border-radius: 5px;
	box-shadow: 1px 1px 5px #000;
	position: relative;
	top: max(7vh, 64px);
	left: 50%;
	margin-left: -240px;
	width: 480px;
}

#dialog-oem-shop-category .modal-subdialog-form {
	width: 550px;
	margin-left: -275px;
}

@media (max-width: 600px) {
	.modal-subdialog .modal-subdialog-form {
		left: 5% !important;
		margin-left: 0 !important;
		width: 90% !important;
	}
}

.modal-subdialog .subdialog-title {
	background: #3c8dbc;
	border-radius: 5px 5px 0 0;
	border-bottom: 1px solid #047bc0;
	color: #fff;
}

.modal-subdialog .subdialog-title h4 {
	margin: 0.38em 0;
}

.modal-subdialog .subdialog-title .close {
	color: #fff;
	opacity: 1;
	margin-top: 2px;
	border: 1px solid transparent;
	border-radius: 15px;
	padding: 0 5px;
	position: absolute;
	right: 0.5em;
	top: 0.2em;
	z-index: 1;
}

.modal-subdialog .subdialog-title .close:hover {
	color: #ccc;
	border-color: #fff;
	background-color: #367fa9;
}

.modal-subdialog .subdialog-content {
	display: flex;
	flex-flow: column nowrap;
	position: relative;
	padding: 15px;
	max-height: 70vh;
	overflow: auto;
}

.modal-subdialog .subdialog-content ul.checkbox {
	list-style: none;
	padding-left: 1em;
}

.modal-subdialog .subdialog-content .box-disabled {
	border: 1px solid #dedede;
	padding: 4px;
}

.modal-subdialog .subdialog-content>table>tbody>tr>th {
	padding: 7px 7px 7px 0;
	text-align: left;
	vertical-align: top;
}

.modal-subdialog .subdialog-content>table>tbody>tr>td {
	padding: 7px;
	vertical-align: top;
}

.modal-subdialog .subdialog-footer {
	background: #fff;
	border-radius: 0 0 5px 5px;
	border-top: 1px solid #dbdbdb;
	padding: 15px;
	text-align: right;
}

.modal-subdialog .subdialog-footer button {
	margin-left: 0.5em;
}

.modal-subdialog .full-size .subdialog-content {
	position: absolute;
	top: 34px;
	left: 0;
	right: 0;
	bottom: 66px;
	max-height: 100%;
}

.modal-subdialog .full-size .subdialog-footer {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
}

/*#dialog-oem-emails .modal-subdialog-form {*/
/*width: 800px;*/
/*margin-left: -400px;*/
/*}*/
/*#dialog-oem-emails .modal-subdialog-form textarea {*/
/*height: calc(90vh - 250px);*/
/*min-height: 10em;*/
/*}*/
/*@media (max-width: 860px) {*/
/*#dialog-oem-emails .modal-subdialog .modal-subdialog-form {*/
/*left: 5%;*/
/*margin-left: 0;*/
/*width: 90%;*/
/*}*/
/*}*/

/* Modal subdialog - full size
 *******************************************/

.modal-subdialog.modal-fullsize .modal-subdialog-form {
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	margin: 0;
	border-radius: 0;
}

.modal-subdialog.modal-fullsize .modal-subdialog-form .subdialog-title {
	border-radius: 0;
}

.modal-subdialog.modal-fullsize .modal-subdialog-form .subdialog-content {
	position: absolute;
	top: 34px;
	left: 0;
	right: 0;
	bottom: 55px;
	height: 100vh;
	max-height: calc(100% - 89px);
}

.modal-subdialog.modal-fullsize .modal-subdialog-form .subdialog-footer {
	position: absolute;
	width: 100%;
	bottom: 0;
}

/* Content
*******************************************/

#content {
	position: relative;
	overflow: auto;
	display: flex;
	flex-flow: column nowrap;
	flex: 1;
	width: 100%;
	padding: 0 15px 15px;
}

#content #root {
	position: absolute;
	top: 0;
	left: 15px;
	right: 15px;
	bottom: 15px;
	display: flex;
	justify-content: center;
	width: auto;
	height: auto;
}

.content-header>h1>span {
	position: relative;
	top: 3px;
}

.content-header>h1>em {
	margin-left: 1em;
}

.content-header .header-buttons {
	position: absolute;
	top: 15px;
	right: 15px;
}

.content-container {
	position: relative;
	margin: 15px -15px;
	height: 100%;
}

.content-container h4.distance {
	margin-top: 2em;
}

.content-container select {
	/*display: contents;*/
	/* */
	width: max-content;
	/*width: intrinsic;           !* Safari/WebKit uses a non-standard name *!*/
	width: -moz-max-content;
	/* Firefox/Gecko */
	/*width: -webkit-max-content; !* Chrome *!*/
	max-width: 100%;
	padding: 0 7px !important;
}

.content-container textarea,
.content-container input[type=text] {
	border: 2px solid #eee;
	width: 100%;
}

.content-container input.date {
	width: 9em !important;
}

.content-container textarea {
	resize: vertical;
	height: 10em;
	width: 100%;
}

.content-container .zip-city {
	display: flex;
}

@media (max-width: 767px) {
	.content-container .zip-city {
		width: 100%;
	}
}

.content-container .zip-city .zip {
	width: 5em;
	margin: 0 2px 0 0;
}

.content-container .zip-city .city {
	display: flex;
	width: 100%;
}

.content-container .radio,
.content-container .checkbox {
	margin: 0;
}

.content-container .checkbox ul,
.content-container .checkbox li {
	list-style: none;
	padding: 0;
}

.content-container .radio input[type="radio"],
.content-container .checkbox input[type="checkbox"] {
	margin-left: 0;
}

.content-container .cas-number {
	width: 15em !important;
}

@media (max-width: 768px) {
	.content-container .form-group {
		margin-left: 0;
	}

	.content-container .form-group label {
		padding-left: 0;
	}

	.content-container .form-group .checkbox label {
		padding-left: 20px;
	}

	.content-container .form-group>div.col-xs-12 {
		padding-left: 0;
	}
}

/* Validation
*******************************************/

input.error,
select.error,
textarea.error,
td.error,
span.error,
div.error {
	border-color: #a10303 !important;
	background: #fcefef !important;
}

.error-subscription {
	outline: 1px solid #a10303 !important;
}

.error-subscription,
.error-subscription * {
	background: #fcefef !important;
	color: #a10303 !important;
}

.mce-tinymce.error {
	outline: 1px solid #a10303 !important;
}

.mce-tinymce.error iframe {
	background: #fcefef !important;
}

/* dashboard
*******************************************/

#content-dashboard-index .dashboard-content {
	min-height: calc(100vh - 8em);
}

#dashboard-available-widgets {
	display: none;
	border: 3px dashed #d2d6de !important;
	box-shadow: none;
	position: relative;
}

#dashboard-available-widgets .box-body {
	min-height: 5em;
	padding: 0;
}

#dashboard-available-widgets .widgets {
	display: flex;
	flex-wrap: wrap;
	margin: 0;
}

#dashboard-available-widgets .widget {
	border: 1px solid #3272ab;
	background: #b8d4dc;
	color: #000;
	display: flex;
	flex-direction: column;
	justify-content: center;
	text-align: center;
	margin: 0.5em;
	width: 10em;
	height: 5em;
}

#dashboard-available-widgets .widget:hover {
	background: #269abc;
	color: #fff;
	cursor: move;
}

#dashboard-available-widgets .close-button {
	position: absolute;
	right: .5em;
	top: .5em;
	color: #b4b3b3;
	z-index: 10;
}

#dashboard-available-widgets .close-button:hover {
	background-color: darkred;
	color: white;
	cursor: pointer;
}

#dashboard-available-widgets .widget .widget-title {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: space-around;
	margin-left: 58px;
	width: calc(100% - 65px);
	height: 4em;
	vertical-align: middle;
	word-break: break-word;
	/*text-align: left;*/
}

#dashboard-available-widgets .widget .widget-title:before {
	content: "";
	background: rgba(51, 122, 183, 0.18);
	width: 48px;
	height: 48px;
	visibility: visible !important;
	position: absolute;
	left: -50px;
	top: 50%;
	margin-top: -24px;
}

#dashboard-available-widgets .widget.changelog .widget-title:before {
	background: transparent url(../images/dashboard-changelog.svg) center no-repeat;
}

#dashboard-available-widgets .widget.datachanged .widget-title:before {
	background: transparent url(../images/dashboard-datachanged.svg) center no-repeat;
}

#dashboard-available-widgets .widget.statistic .widget-title:before {
	background: transparent url(../images/dashboard-statistic.svg) center no-repeat;
}

#dashboard-available-widgets .widget.salesfunnel .widget-title:before {
	background: transparent url(../images/dashboard-salesfunnel.svg) center no-repeat;
}

#dashboard-available-widgets .widget.rawmaterialenquiry .widget-title:before {
	background: transparent url(../images/dashboard-rawmaterial-enquiry.svg) center no-repeat;
}


#dashboard-widgets .dashboard-item-placeholder {
	border: 1px solid #3272ab;
	background: #b8d4dc;
	margin: 0 0 0.5em;
	min-height: 5em;
}


#dashboard-widgets .dashboard-columns {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	margin: 0 -0.25em 0 -0.5em;
}

#dashboard-widgets .dashboard-column {
	box-sizing: border-box;
	outline-offset: -0.5em;
	padding: 0.35em;
	width: 100%;
}

#dashboard-widgets .dashboard-column .dashboard-sortable {
	height: 100%;
}

#dashboard-widgets .dashboard-column.empty-container {
	min-height: 0;
	height: 0;
}

#dashboard-widgets .dashboard-column.empty-container:nth-child(1) {
	outline: 4px dashed #ccc;
	min-height: 10em;
}

#dashboard-widgets .dashboard-item {
	border: 1px solid #ccc;
	background: #fff;
	margin-bottom: 0.5em;
}

#dashboard-widgets .dashboard-item-header {
	background: #3c8dbc;
	color: #fff;
	padding: 2px 7px;
}

#dashboard-widgets .dashboard-item-header:hover {
	cursor: move;
}

#dashboard-widgets .dashboard-item-header-buttons {
	float: right;
}

#dashboard-widgets .dashboard-item-header-buttons>* {
	padding-top: 2px;
}

#dashboard-widgets .collapse-button,
#dashboard-widgets .fullscreen-button,
#dashboard-widgets .settings-button {
	padding-right: 5px;
}

#dashboard-widgets .collapse-button:hover,
#dashboard-widgets .fullscreen-button:hover,
#dashboard-widgets .settings-button:hover {
	cursor: pointer;
	color: #5cfff0;
}

#dashboard-widgets .close-button {
	color: #ffc2c2;
	text-shadow: 0 0 3px #820000, 0 0 3px transparent;
	padding-right: 2px;
}

#dashboard-widgets .close-button:hover {
	cursor: pointer;
	color: darkred;
	text-shadow: 0 0 10px #ffffff, 0 0 3px transparent;
}

#dashboard-widgets .dashboard-item-content {
	padding: 7px;
	max-height: 31.5rem;
	overflow-y: auto;
}

#dashboard-widgets .dashboard-item-content .dashboard-item-changelog {
	max-height: max-content;
}

#dashboard-widgets .dashboard-item-statistic {
	width: 100%;
	height: 30rem;
	position: relative;
}

#dashboard-widgets .statistic-chart {
	position: absolute;
	width: 100%;
	height: 100%;
}

/* changed data differences */
#dashboard-widgets .list-changed-data li {
	border-bottom: 1px solid #ccc;
	margin-bottom: 0.5em;
	padding-bottom: 0.5em;
}

#dashboard-widgets .list-changed-data li:last-child {
	border-bottom: none;
	margin-bottom: 0;
	padding-bottom: 0;
}

#dashboard-widgets .list-changed-data .differences {
	max-height: 0;
	overflow: hidden;
	transition: all 300ms ease-in-out;
}

#dashboard-widgets .list-changed-data .differences>ul {
	background: #eee;
	border-top: 1px solid #e5e5e5;
	margin-top: 0.25em;
	padding: 0.25em;
}

#dashboard-widgets .list-changed-data .differences .differences-header {
	margin: 0;
	padding: 0;
	border: navajowhite;
	font-weight: bold;
}

#dashboard-widgets .list-changed-data .differences li>* {
	width: 33%;
	display: inline-block;
	vertical-align: text-top;
	padding: 0 4px;
	word-break: break-word;
}

#dashboard-widgets .list-changed-data .toggle-button {
	position: relative;
}

#dashboard-widgets .list-changed-data .difference-toggle {
	position: absolute;
	appearance: none;
	cursor: pointer;
	left: -100%;
	top: -100%;
}

#dashboard-widgets .list-changed-data .difference-toggle+label {
	cursor: pointer;
	font-family: 'Font Awesome 5 Free';
	font-size: 12px;
	line-height: 20px;
	position: absolute;
	top: -1.75em;
	right: 0;
	margin: 0;
	padding: 2px 0;
	width: 24px;
	text-align: center;
	transition: all 500ms ease;
	-webkit-font-smoothing: antialiased;
}

#dashboard-widgets .list-changed-data .difference-toggle+label:after {
	content: "\f0da";
}

#dashboard-widgets .list-changed-data .difference-toggle:checked+label:after {
	content: "\f0dd";
}

#dashboard-widgets .list-changed-data .difference-toggle:checked~.differences {
	max-height: 5000px;
	overflow-y: auto;
}

#dashboard-widgets .fullscreen {
	position: absolute;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	z-index: 15;
	overflow: hidden;
}

#dashboard-widgets .fullscreen .dashboard-item-statistic {
	height: calc(100vh - 250px);
}

#dashboard-widgets .fullscreen .dashboard-item-content {
	position: absolute;
	top: 24px;
	left: 0;
	right: 0;
	bottom: 0.5em;
	overflow-x: hidden;
	overflow-y: auto;
	max-height: initial;
}

/* #dashboard-widgets .fullscreen .statistic-chart {} */

#dialog-dashboard-item-settings .subdialog-content {
	min-height: 20em;
}

#dialog-dashboard-item-settings .color-picker-row {
	display: flex;
	flex-direction: row;
	align-items: center;
	margin-bottom: 3px;
}

#dialog-dashboard-item-settings .color-picker-row>span {
	width: 23em;
}

#dialog-dashboard-item-settings .colorpicker-container {
	position: absolute;
	left: 0.5em;
	bottom: -2em;
}

#dialog-dashboard-item-settings .form-group {
	display: flex;
	flex-direction: row;
	align-items: center;
}

#dialog-dashboard-item-settings .form-group label {
	display: flex;
}

#dialog-dashboard-item-settings .form-group input[type=checkbox],
#dialog-dashboard-item-settings .form-group input[type=radio] {
	margin: 0;
}

#dialog-dashboard-item-settings .form-group input[type=checkbox]+label,
#dialog-dashboard-item-settings .form-group input[type=radio]+label {
	margin-left: 0.5em;
}

@media (min-width: 800px) {
	#dashboard-widgets .dashboard-column {
		width: 50%;
	}

	#dashboard-widgets .dashboard-column.empty-container:nth-child(2) {
		outline: 4px dashed #ccc;
		min-height: 10em;
	}

	#dashboard-widgets .fullscreen .dashboard-item-statistic {
		height: calc(100vh - 80px) !important;
	}

	#dialog-dashboard-item-settings .color-picker-row>span {
		width: 25.5em;
	}
}

@media (min-width: 1300px) {
	#dashboard-widgets .dashboard-column {
		width: 33.3%;
	}

	#dashboard-widgets .dashboard-column.empty-container:nth-child(3) {
		outline: 4px dashed #ccc;
		min-height: 10em;
	}

	#dialog-dashboard-item-settings .color-picker-row>span {
		width: 27em;
	}
}

@media (min-width: 1800px) {
	#dashboard-widgets .dashboard-column {
		width: 25%;
	}

	#dashboard-widgets .dashboard-column.empty-container:nth-child(4) {
		outline: 4px dashed #ccc;
		min-height: 10em;
	}
}

/* indications/substances/resource widget
*******************************************/

.marketability-item>* {
	border-width: 2px 2px 2px 1em;
	border-style: dashed dashed dashed solid;
	border-color: transparent;
}

.marketability-item .is-marketability {
	background-color: #76ff76 !important;
}

.marketability-item .is-conditionally-marketability {
	background-color: #ffff86 !important;
}

.marketability-item .is-conditionally-not-marketability {
	background-color: #ffce74 !important;
}

.marketability-item .is-not-marketability {
	background-color: #ffa6a6 !important;
}

.marketability-item .is-export {
	background-color: #ff84f1 !important;
}

substances-percent table {
	min-width: 30em;
	width: auto;
}

table tr td.action>* {
	padding: 0;
}

table td .percent-symbol {
	padding: 0;
}

indications td:first-child,
substances td:first-child {
	width: 100%;
}

/* indications td:last-child,
substances-percent td:last-child,
substances td:last-child {} */

indications select,
substances-percent select,
substances select {
	width: 100% !important;
}

table.widget-table td.action,
table.resource-composition-table tbody .used-composition td,
indications .used-indication td,
substances-percent .used-substance td,
substances .used-substance td {
	padding: 7px;
}

table.resource-composition-table tbody .used-composition td.action,
indications .used-indication td.action,
substances-percent .used-substance td.action,
substances .used-substance td.action {
	padding: 0;
}

table.widget-table tr:hover td,
table.resource-composition-table tbody .used-composition:hover td,
indications .used-indication:hover td,
substances-percent .used-substance:hover td,
substances .used-substance:hover td {
	background: #f8f8f8;
}

indications .used-alias input,
substances .used-alias input {
	width: 100%;
	margin-bottom: 1em;
}

substances-percent .used-substance input {
	border: 1px solid transparent;
}

substances-percent .used-alias:hover input,
substances-percent .used-alias:focus input {
	border-color: #ddd;
}

table.widget-table td.action .glyphicon,
table.resource-composition-table .glyphicon,
indications .glyphicon,
substances-percent .glyphicon,
substances .glyphicon {
	border: 1px solid #cecece;
	border-radius: 10px;
	color: #1713b3;
	font-size: 11px;
	margin-left: 1em;
	margin-right: 1em;
	padding: 3px;
}

table.widget-table td.action .glyphicon:hover,
table.resource-composition-table .glyphicon:hover,
indications .glyphicon:hover,
substances-percent .glyphicon:hover,
substances .glyphicon:hover {
	cursor: pointer;
	color: white;
}

table.widget-table .add .glyphicon:hover,
table.resource-composition-table .add .glyphicon:hover,
indications .add .glyphicon:hover,
substances-percent .add .glyphicon:hover,
substances .add .glyphicon:hover {
	background: #4fd250;
	border: 1px solid #068603;
}

table.widget-table .delete .glyphicon:hover,
table.resource-composition-table .delete .glyphicon:hover,
indications .delete .glyphicon:hover,
substances-percent .delete .glyphicon:hover,
substances .delete .glyphicon:hover {
	background: #f26565;
	border: 1px solid #9f0d0d;
}

indications tr input,
substances tr input {
	width: 100%;
	margin-bottom: 1em;
}

table.resource-composition-table table {
	min-width: 58em;
	width: 100%;
}

table.resource-composition-table .composition {
	width: 10em;
}

table.resource-composition-table .percent {
	display: inline-block;
	width: calc(100% - 1.8em);
	max-width: 10em;
}

table.resource-composition-table .e-number {
	width: 10em;
	margin-right: 0.5em;
}

table.resource-composition-table .composition-group {
	width: 10em;
}

table.resource-composition-table tfoot td {
	vertical-align: top;
}

table.resource-composition-table tfoot .action {
	padding: 7px 0;
	text-align: right;
}

table.resource-composition-table thead .used-composition th>* {
	padding: 5px;
	text-decoration: underline;
}

table.resource-composition-table tbody .used-composition .action {
	padding: 7px 0;
}

table.resource-composition-table tbody .used-composition .action>* {
	padding-left: 0 !important;
	padding-right: 0 !important;
}

table.resource-composition-table .selectize-control.auto-width .selectize-input {
	min-width: 20em;
}

/* substances-percent widget
*******************************************/

substances-percent .number.percent {
	display: inline-block;
	width: calc(100% - 1.8em);
	max-width: 10em;
}

/* substances-percent input.used-alias input {} */

/* Media
*******************************************/

.media-header select {
	margin-right: 1em;
}

.media-header .media-action {
	display: inline;
}

.media-header .media-action>* {
	margin-right: 1em;
}

.media-header .media-search {
	position: absolute;
	top: 0;
	right: 0;
	margin: 10px;
	width: 20em;
	max-width: 100%;
}

.media-upload {
	border: 3px dashed #d2d6de !important;
	box-shadow: none;
	overflow: hidden;
	position: relative;
	text-align: center;
}

.media-upload:hover {
	background: #fef9c6;
	border-color: #0000ff;
}

.media-upload .btn-success:hover,
.media-upload .btn-success:active,
.media-upload .btn-success.hover {
	background-color: transparent;
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
	box-shadow: none;
}

.media-upload .box-body>* {
	margin: 10px 0;
}

.media-upload .upload-container .custom-file-input-button {
	background: none;
	border: none;
}

.media-upload .upload-container .custom-file-input-clear-button,
.media-upload .upload-container .custom-file-input-button-text {
	display: none;
}

.media-upload .upload-container .file-upload-button {
	position: absolute;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	overflow: hidden;
}

.media-upload .upload-container input {
	padding: 100vh 100vw 0 0;
	background: transparent;
	position: absolute;
	left: -1vw;
	top: -1vh;
}

.media-upload .upload-container .close-upload {
	position: absolute;
	right: 0.5em;
	top: 0.5em;
	color: #b4b3b3;
	z-index: 10;
}

.media-upload .upload-container .close-upload:hover {
	background-color: darkred;
	color: white;
	cursor: pointer;
}

.media-list,
.media-list .media-item {
	display: inline-block;
	margin: 0;
}

.media-list .media-item {
	border: 1px solid #e6e6e6;
	border-radius: 5px;
	width: 140px;
	height: 140px;
	overflow: hidden;
	position: relative;
	margin: 5px;
}

.media-list .media-item.selected {
	box-shadow: 0 0 3px 4px #2961b6;
	border: 1px solid #5454da !important;
}

.media-list.multiselect .media-item:hover {
	cursor: pointer;
}

.media-list .media-item progressbar {
	background: #eaeaea80;
	border: 1px solid #fab617;
	border-radius: 5px;
	height: 10px;
	overflow: hidden;
	position: absolute;
	bottom: 10px;
	left: 10px;
	right: 10px;
}

.media-list .media-item progressbar div {
	position: relative;
	height: 100%;
	background-color: #fab617;
}

.media-list .media-item progressbar .progressText {
	background-color: transparent;
	position: absolute;
	top: 50%;
	left: 0;
	right: 0;
	text-align: center;
	margin-top: -0.7em;
	height: 1.4em;
}

.media-list .media-item .center {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	-webkit-transform: translate(50%, 50%);
	-ms-transform: translate(50%, 50%);
	transform: translate(50%, 50%);
}

.media-list .media-item .center img {
	-webkit-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	text-align: center;
}

.media-list .media-item .landscape img {
	max-height: 100%;
}

.media-list .media-item .portrait img {
	max-width: 100%;
}

.media-list .media-item:hover img {
	opacity: 0.5;
}

.media-list .media-item .media-item-actions {
	display: none;
	position: absolute;
	top: 50%;
	height: 30px;
	width: 100%;
	margin-top: -15px;
	text-align: center;
}

.media-list .media-item:hover .media-item-actions {
	display: block;
}

.media-list.multiselect .media-item .media-item-actions {
	display: none;
}

.media-list .media-item .media-item-actions>span {
	color: #8f8f8f;
	background: #fff;
	border: 1px solid #848484;
	border-radius: 15px;
	padding: 7px;
	margin: 0 3px;
	opacity: 0.6;
}

.media-list .media-item .media-item-actions>span:hover {
	color: #ffffff;
	background: #2775da;
	cursor: pointer;
	opacity: 1;
}

.media-list .media-item .media-info {
	background: rgba(255, 255, 255, 0.75);
	font-size: 90%;
	text-align: center;
	line-height: 110%;
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 3.8em;
	padding: 3px;
	display: table;
	width: 100%;
}

.media-list .media-item .media-info span {
	vertical-align: middle;
	display: table-cell;
}

/* Image Gallery
*******************************************/

image-gallery {
	position: relative;
}

image-gallery .media-list {
	margin: 0 -5px;
}

image-gallery .media-list .media-item {
	width: 130px;
	height: 130px;
}

image-gallery .media-list .media-item .media-item-actions>span {
	border-radius: 5px;
}

image-gallery .media-list .media-item .media-item-actions {
	margin: 0;
	top: 0;
	right: 0;
	text-align: right;
}

image-gallery .media-list .media-item .media-item-actions>span:hover {
	background: #cf2323;
}

image-gallery.button-in-image {
	display: flex;
	flex-direction: row;
}

image-gallery.button-in-image button {
	background: #d8f1ff;
	border-color: #b7d4e4;
	width: 130px;
	height: 130px;
	margin: 10px;
}

#tab-user-contributor image-gallery .media-item,
#tab-user-contributor image-gallery.button-in-image button {
	width: 300px;
	height: 300px;
}

/* User dialog
*******************************************/

#button-add-new-address {
	margin-left: 2em;
}

.address-list-container .address-item {
	border: 1px solid #ccc;
	border-radius: 5px;
	position: relative;
	padding: 0.5em;
	margin-bottom: 2px;
}

.address-list-container .address-item>span {
	display: block;
}

.address-list-container .address-item-actions {
	display: none;
	background: transparent;
	background: rgba(243, 243, 243, 0.25);
	border-radius: 5px;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
}

.address-list-container .address-item:hover .address-item-actions {
	display: block;
}

.address-list-container .address-item-actions .action-buttons {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 150px;
	height: 42px;
	margin-left: -75px;
	margin-top: -21px;
	text-align: center;
}

.address-item .default-address {
	color: #2cde00;
	font-size: 200%;
	position: absolute;
	top: 0;
	right: 5px;
}

.address-item-actions .glyphicon {
	background: #eaeaea;
	border: 1px solid #d5d5d5;
	border-radius: 20px;
	font-size: 18px;
	margin: 0 3px;
	padding: 10px;
}

.address-item-actions .glyphicon:hover {
	background: rgb(155, 223, 242);
	border: 1px solid #48a4d7;
	cursor: pointer;
}

#dialog-user-address label[for="user-address-default"],
.internal .user-groups ul li label {
	font-weight: normal;
}

.internal .user-groups ul {
	margin-bottom: 1em;
	padding: 0;
}

.internal .user-groups li {
	list-style: none;
	margin-top: 0.25em;
}

.internal .user-groups li input[type="checkbox"] {
	margin-right: 3px;
}

.internal .dealer-has-default-discount input[type="checkbox"] {
	margin: 0 0.25em 0 0.5em;
}

/* Product dialog
*******************************************/

#product-container .article-number {
	width: 25%;
}

#product-container .quantity {
	width: 38%;
}

#product-container .price {
	width: 37%;
}

#product-container .price .price-item {
	display: table;
	width: 100%;
}

#product-container .price .price-item>span {
	display: table-cell;
}

#product-container .price .price-item .name {
	width: 50%;
}

#product-container .price .price-item .value {
	text-align: right;
	width: 32%;
}

#product-container .price .price-item .currency {
	padding-left: 2px;
	width: 18%;
}

/*
#product-container .table-body .article-number,
#product-container .table-body .quantity,
#product-container .table-body .unit,
#product-container .table-body .package {
	text-align: center;
}
#product-container .table-body .price {
	text-align: right;
}
*/
#product-container .col-price-text {
	display: inline-grid;
	width: 130px;
}

#product-container .col-price-text label {
	font-weight: normal;
}

#product-container .col-price-value {
	display: inline-grid;
	width: 70px;
}

#product-container .col-price-value input {
	text-align: right;
	width: 100%;
}

#product-container .quantity-price td:nth-child(2) {
	padding: 0 0.5em;
}


#product-additive-list th.quantity,
#product-additive-list th.unit,
#product-additive-list th.allergen,
#product-additive-list th.sort_order {
	width: 5em;
	text-align: center;
}

#dialog-product-customize-field table {
	border: 1px solid #ccc;
	width: 100%;
}

#dialog-product-customize-field table th {
	background: #3c8dbc;
	border-bottom: 1px solid #047bc0;
	color: #fff;
	font-weight: normal;
	padding: 5px 12px;
}

#dialog-product-customize-field table th:nth-child(1) {
	width: 55%;
}

#dialog-product-customize-field table th:nth-child(2),
#dialog-product-customize-field table td:nth-child(2) input {
	text-align: center;
}

#dialog-product-customize-field .answer-key-value span.btn {
	color: #d70707;
}

#product-customize-field-list .value {
	margin: 1em 0;
}

#product-customize-field-list .value .value-key-value::after {
	content: ",";
	margin-right: 1em;
}

#product-customize-field-list .value .value-key-value:last-child::after {
	content: "";
	margin-right: 0;
}

#product-quantity-list .quantity {
	width: 15em;
}

#product-quantity-list .price {
	width: 15em;
}

#product-quantity-list .charges {
	width: 30em;
}

#product-quantity-list .quantity-charges th,
#product-quantity-list .quantity-charges td {
	padding: 0 1em;
}

#product-quantity-list .quantity-charges .name {
	width: 10em;
}

#product-quantity-list .quantity-charges .name {
	width: 10em;
}

#product-quantity-list .quantity-charges .value {
	width: 6em;
}

#product-quantity-list .quantity-charges .best_before_date {
	width: 7em;
}

#product-quantity-list .quantity-charges .active {
	width: 7em;
}

#product-quantity-charge-list {
	width: 100%;
	table-layout: auto;
}

#product-list .charge-list {
	margin: 0;
}

#product-list .charge-list .amount {
	width: 2.5em;
}

#product-list .charge-list .charge {
	width: 7em;
}

#product-list .charge-list .location {
	width: 4em;
}

#product-list .charge-list .bbd {
	width: 3em;
}

#product-list .charge-item {
	display: flex;
	flex-flow: column nowrap;
}

#product-list .charge-title {
	font-weight: bold;
}

#product-list .charge-data td {
	padding: 2px;
}

/* OEM partner dialog
*******************************************/

#dialog-pdf-order-processing .modal-subdialog-form {
	margin-left: -150px;
	width: 300px;
}

.dialog-oem-partner .modal-dialog {
	width: 800px;
}

.content-container .oem-product-list ul {
	display: contents;
	margin: 0;
}

.content-container .oem-product-list ul li {
	border-bottom: 1px solid #f2f2f2;
	padding: 2px 0;
}

.content-container .oem-product-list ul li:last-child {
	border: none;
	padding: 2px 0 0 0;
}

.content-container .oem-product-list .not-active {
	color: #d80000;
}

.content-container .oem-product-list .select-all-top {
	border-bottom: 2px solid #ccc;
	margin-bottom: 3px;
	padding-bottom: 4px;
}

.content-container .oem-product-list .select-all-bottom {
	border-top: 2px solid #ccc;
	margin-top: 3px;
	padding-top: 4px;
}

.content-container .oem-product-list label {
	display: table;
}

.content-container .oem-product-list label>* {
	display: table-cell;
}

.content-container .oem-product-list label>br {
	content: "";
	width: 0.5em;
}

/*@media (min-width: 640px) {
	.content-container .oem-product-list label,
	.content-container .oem-product-list label > * {
		display: inherit;
	}
}*/


/* product list oem */

#oem-partner-product-list td {
	padding: 2px;
}

#oem-partner-product-list .id {
	width: 3em;
}

#oem-partner-product-list .article_number {
	width: 10em;
}

#oem-partner-product-list input[type="checkbox"] {
	position: initial;
}

/* product offers (list) */

#oem-partner-product-offer-list .prices {
	display: inline-table;
	width: 100%;
}

#oem-partner-product-offer-list .prices>* {
	display: table-cell;
	min-width: 2em;
}

/* #oem-partner-product-offer-list .country {} */

#oem-partner-product-offer-list .price {
	text-align: right;
}

/* product offer (edit) */

#dialog-product-offer .modal-subdialog-form {
	margin-left: -200px;
	width: 400px;
}

#dialog-product-offer .price-container th,
#dialog-product-offer .price-container td {
	display: table-cell;
	padding: 0 5px;
}

#dialog-product-offer .price-container thead th.price-offer {
	text-align: right;
}

#dialog-product-offer .price-container .price-offer input,
#dialog-product-offer .price-container .price-original input {
	width: 5em;
	text-align: right;
}

@media screen and (min-width: 768px) {
	#dialog-product-offer .regular-text {
		max-width: 220px;
	}
}

#dialog-product-offer .date-container .date-title,
#dialog-product-offer .date-container .date-body {
	display: table-row;
}

#dialog-product-offer .date-container .date-title>*,
#dialog-product-offer .date-container .date-body>* {
	width: 49%;
	display: inline-block;
	text-align: center;
}

#dialog-product-offer .date-container .date-title span {
	margin-top: 1em;
	font-weight: bold;
}

#dialog-product-offer .date-container .date-body .regular-text {
	margin-right: 5px;
	width: 7.7em;
}

#dialog-product-offer select.product {
	width: 100%;
	max-width: 100%;
}

#dialog-product-offer .selectize-shop-offer-countries {
	padding: 0;
	margin-top: 1em;
	width: 100%;
}

#tab-oem-partner-shop .table-cell.quantity,
#tab-oem-partner-shop .table-cell.percent {
	min-width: 100px;
}

.content-container .oem-email-list .panel-heading {
	position: relative;
}

.content-container .oem-email-list .panel-heading input {
	background: transparent;
	width: calc(100% - 32px);
}

.content-container .oem-email-list .panel-heading .button {
	border: 1px solid transparent;
	border-radius: 4px;
	padding: 4px;
	position: absolute;
	right: 11px;
	top: 10px;
}

.content-container .oem-email-list .panel-heading .button:hover {
	background-color: rgba(255, 0, 0, 0.69);
	border-color: #bc0101;
	color: #940000;
	cursor: pointer;
}

.oemPartnerViewModel .select-email-preview>* {
	height: 2em;
	line-height: 0;
	max-width: calc(100% - 135px);
}

.oemPartnerViewModel .btn-settings {
	color: #aaa;
	float: right;
	margin-right: 1em;
	position: relative;
	top: 1.1em;
}

.oemPartnerViewModel .btn-settings:hover {
	color: #888;
	cursor: pointer;
}

.oemPartnerViewModel .email-preview-container {
	border: 1px solid #ccc;
	padding: 1em;
	background: #f5f5f5;
	position: absolute;
	top: 65px;
	left: 0;
	right: 0;
	bottom: 0;
}

.oemPartnerViewModel .email-preview-container #papi-email-template {
	background: #fff;
	border: 1px solid #ddd;
	padding: 1em;
	position: absolute;
	top: 4em;
	bottom: 7.5em;
	overflow: auto;
	left: 1em;
	right: 1em;
	width: auto;
	max-width: 800px;
}

.oemPartnerViewModel .email-preview-container h2 {
	margin: 0;
	white-space: nowrap;
	overflow-x: auto;
	overflow-y: hidden;
}

#dialog-oem-email-preview-settings .modal-subdialog-form {
	margin-left: -300px;
	width: 600px;
}

#dialog-oem-email-preview-settings .modal-subdialog-form textarea {
	height: 100vh;
	max-height: 68vh;
	resize: none;
}

/* resource
*******************************************/

.marketability {
	border: 1px solid transparent;
	border-radius: 5px;
	display: inline-block;
	line-height: 180%;
	padding: 0 7px;
	margin: 0;
	white-space: nowrap;
}

.marketability.marketability-grün {
	background-color: #76ff76;
	border-color: #006a00;
	color: #006a00;
}

.marketability.marketability-gelb {
	background-color: #ffff86;
	border-color: #6d6d00;
	color: #6d6d00;
}

.marketability.marketability-orange {
	background-color: #ffce74;
	border-color: #986200;
	color: #986200;
}

.marketability.marketability-rot {
	background-color: #ffa6a6;
	border-color: #9a0000;
	color: #9a0000;
}

.marketability.marketability-lila {
	background-color: #ff84f1 !important;
	border-color: #9e018f;
	color: #9e018f;
}

.resourceViewModel .form-container>.form-group {
	border: 1px solid #ccc;
	padding: 1em;
	background: #fdfeff;
}

.resourceViewModel .form-container>.form-group>.row input,
.resourceViewModel .form-container>.form-group>.row textarea {
	margin-bottom: 4px;
}

.resourceViewModel .form-container label {
	height: 2.5em;
	vertical-align: middle;
	display: table-cell;
}

#dialog-clone-marketability table {
	border: 1px solid #ddd;
}

#dialog-clone-marketability table tr>* {
	padding: 7px;
}

#dialog-clone-marketability .checkbox-marketable {
	width: 1em;
}

/* resource specific
*******************************************/

.resourceViewModel .maxContent input,
.resourceSpecificViewModel .maxContent input {
	display: inline-block;
	width: calc(100% - 4em) !important;
}

.rawMaterialEnquiryViewModel .symbol-info,
.resourceSpecificViewModel .symbol-info {
	background: #ffffa3;
	border: 1px solid #aaa;
	border-radius: 20px;
	padding: 3px 7px;
	font-size: 9px;
	margin-left: 0.5em;
	position: relative;
	cursor: pointer;
	z-index: 100000;
}

.rawMaterialEnquiryViewModel .symbol-info:hover>*,
.resourceSpecificViewModel .symbol-info:hover>* {
	display: block;
}

.rawMaterialEnquiryViewModel .symbol-info>*,
.resourceSpecificViewModel .symbol-info>* {
	background: #ffffa3;
	border: 1px solid #aaa;
	display: none;
	font-size: 12px;
	font-weight: normal;
	line-height: 1.3;
	position: absolute;
	top: 20px;
	right: 10px;
	padding: 1em;
	width: 13em;
}

#rawmaterialenquiry-list .link {
	cursor: pointer;
	text-decoration: underline dotted;
}

.resourceSpecificViewModel .content-container {
	margin: -20px 0;
}

.resourceSpecificViewModel .double-point {
	margin: 0 1em;
}

.resourceSpecificViewModel .text {
	margin: 0 0.5em 0 0;
}

.resourceSpecificViewModel .attachments * {
	vertical-align: top;
}

.resourceSpecificViewModel .attachments input[type="checkbox"] {
	margin-right: 1em;
}

.resourceSpecificViewModel .attachments input[type="file"] {
	color: transparent;
	position: absolute;
	top: 0;
	right: 0;
	width: 200vw;
}

.resourceSpecificViewModel .attachments .pdf-upload-container {
	background: #f8f8f8;
	display: block;
	float: right;
	margin-top: -0.5em;
	height: 2.3em;
	position: relative;
	width: calc(100% - 2em);
}

.resourceSpecificViewModel .attachments .file-upload-button {
	display: none;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	overflow: hidden;
}

.resourceSpecificViewModel .attachments .file-upload-button * {
	display: block;
	width: 100%;
	height: 2.3em;
}

.resourceSpecificViewModel .attachments .pdf-upload-container:hover .file-upload-button {
	display: block;
}

.resourceSpecificViewModel .attachments .pdf-filename {
	position: absolute;
	top: 0.5em;
	left: 1em;
	right: 0;
}

.resourceSpecificViewModel .attachments .custom-file-input-clear-button {
	display: none !important;
}

.resourceSpecificViewModel .attachments .validationMessage {
	display: inline-block;
	margin: 0 2em;
}

.resourceSpecificViewModel .quality-management label {
	width: 25em;
}

.resourceSpecificViewModel .contaminants-outer {
	border: 1px solid #eee;
	padding: 1em;
	margin-bottom: 1em;
}

.resourceSpecificViewModel .contaminants .panel-body> :last-child .contaminants-outer {
	margin-bottom: 0;
}

.resourceSpecificViewModel .contaminants-outer>.row {
	margin-bottom: 0.5em;
}

.resourceSpecificViewModel .contaminants-inner {
	border-top: 1px solid #eee;
	padding-top: 1em;
	margin-top: 1em;
}

.resourceSpecificViewModel .contaminants .cell {
	display: inline-table;
	margin-left: -1em;
	margin-right: 1em;
	padding-left: 1em;
	max-width: 25em;
	width: 100%;
}

.resourceSpecificViewModel .contaminants .cell .cell-label {
	height: 2.4em;
	display: table-cell;
	width: calc(100% - 5em);
	vertical-align: middle;
}

.resourceSpecificViewModel .contaminants .cell label {
	padding: inherit;
	margin: inherit;
	line-height: inherit;
}

.resourceSpecificViewModel .contaminants .cell .qm-text {
	float: right;
}

.resourceSpecificViewModel .contaminants .text-periodical {
	width: 10em;
	margin-top: -3px;
}

.resourceSpecificViewModel .releases .panel-body>div {
	margin-top: 0.5em;
}

.resourceSpecificViewModel .releases .release-container-outer {
	min-height: 2.4em;
}

.resourceSpecificViewModel .releases .release-container-outer>select {
	margin-right: 1em;
	display: inline-block;
}

.resourceSpecificViewModel .releases .release-container-inner {
	width: calc(100% - 85px);
}

.resourceSpecificViewModel .releases .release-container-inner,
.resourceSpecificViewModel .releases .release-container-inner>* {
	display: inline-block;
	margin-top: -0.5em;
}

.resourceSpecificViewModel .releases .release-container-inner .text {
	width: calc(100% - 101px);
	margin: 0;
}

.resourceSpecificViewModel .releases .validation-container {
	display: block;
	margin-left: 2em;
	margin-bottom: 0.5em;
}

#tab-resource-specific-contaminants .cell-label {
	display: inline-block;
	width: 24em;
}

#tab-resource-specific-quality-management label {
	width: 25em;
}

.overlay-container .tabs-left {
	border: none;
}

.overlay-container .overlay {
	border-right: 1px solid #ddd;
	height: calc(100vh - 14.6em);
	overflow: auto;
}

/*
.overlay-container .overlay .tab-content:before {
	content: "";
	border-left: 1px solid #ddd;
	min-height: 100%;
	position: absolute;
	left: -1em;
	top: 0;
}
*/

/* @media screen and (min-width: 480px) {
	.resourceSpecificViewModel .qm-text {}
} */

@media screen and (min-width: 768px) {
	.resourceSpecificViewModel .content-container {
		margin: 15px 0;
	}

	.resourceSpecificViewModel .contaminants .cell {
		width: 49%;
	}

	.resourceSpecificViewModel .contaminants .cell:nth-child(n2) {
		margin: 0;
		padding: 0;
	}
}

@media screen and (min-width: 1800px) {
	.resourceSpecificViewModel .contaminants .cell {
		width: 33%;
	}

	.resourceSpecificViewModel .contaminants .cell:nth-child(n2+1) {
		margin: 0;
		padding: 0;
	}
}

#resourcespecific-list .name {
	width: 20em;
}

/* resource settings */

#dialog-resource-settings-status-template .modal-subdialog-form {
	margin-left: -300px;
	width: 600px;
}

#dialog-resource-settings-enquiry-category li {
	display: flex;
	gap: 1em;
	align-items: center;
	height: 2em;
	flex-flow: row nowrap;
	width: max-content;
}

#dialog-resource-settings-enquiry-category li label {
	font-weight: normal;
	margin: 0;
}

#dialog-resource-settings-required-documents ul>li.confirmation,
#dialog-resource-settings-required-documents ul>li.certification {
	flex-flow: column nowrap;
	gap: 0;
}

#dialog-resource-settings-required-documents ul>li.confirmation .confirmation-header,
#dialog-resource-settings-required-documents ul>li.certification .certification-header,
#dialog-resource-settings-required-documents ul>li {
	display: flex;
	align-items: flex-start;
	gap: 0.5em;
}

#dialog-resource-settings-required-documents ul>li.confirmation .confirmation-list,
#dialog-resource-settings-required-documents ul>li.certification .certification-content {
	display: flex;
	align-items: flex-start;
	justify-content: center;
	margin-left: 1.5em;
	flex-flow: column nowrap;
}

#dialog-resource-settings-required-documents ul>li.certification .certification-content .input {
	display: flex;
	align-items: center;
	gap: 0.5em;
}

#table-required-documents .required-document-supplier-status {
	display: flex;
	flex-flow: row nowrap;
	justify-content: center;
	align-items: center;
	height: 2em;
}

#table-required-documents .required-document-supplier-status .symbol-info {
	margin: 0;
}

#table-required-documents th,
#table-required-documents td {
	padding: 5px;
	width: 8em;
	text-align: center;
	vertical-align: top;
}

#table-required-documents th:nth-child(1),
#table-required-documents td:nth-child(1) {
	width: 250px;
	max-width: 25%;
	text-align: left;
}

#table-required-documents td img {
	width: 20px;
}

/* workflow editor
*******************************************/

#content-workflow-editor {
	border: 1px solid silver;
	background: aliceblue;
	position: absolute;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
}

body.full-size #content-workflow-editor {
	position: fixed;
}

#content-workflow-editor .content-container {
	position: initial;
	margin: 0;
}

#mxgraph-workflow-toolbar {
	background: black;
	color: white;
	position: absolute;
	left: 0;
	top: 0;
	right: 0;
	height: 32px;
}

#mxgraph-workflow-toolbar .mxToolbarItem {
	border-radius: 5px;
	margin: 4px 2px;
	padding: 1px;
	width: 24px;
	height: 24px;
}

#mxgraph-workflow-toolbar .mxToolbarItem:hover {
	background: #818181;
	cursor: pointer;
}

#mxgraph-workflow-toolbar button.right {
	float: right;
	margin: 4.5px;
}

#mxgraph-workflow-editor {
	background: antiquewhite;
	border-right: 3px solid lightgray;
	position: absolute;
	left: 0;
	top: 32px;
	width: 75%;
	bottom: 0;
	overflow: hidden;
}

#mxgraph-workflow-properties {
	background: #f6f6f6;
	position: absolute;
	top: 32px;
	right: 0;
	min-width: 240px;
	width: 25%;
	bottom: 120px;
	overflow-x: hidden;
	overflow-y: auto;
}

#mxgraph-workflow-properties .title {
	background: #a3e2ff;
	border-bottom: 1px solid #029dbf;
	display: block;
	font-weight: bold;
	font-size: 17px;
	padding: 0 5px;
	text-align: left;
}

#mxgraph-workflow-properties .property-item {
	line-height: 100%;
}

#mxgraph-workflow-properties .property-item>* {
	display: inline-block;
	margin: 0;
}

#mxgraph-workflow-properties .property-item .form-control {
	padding: 0 3px;
	height: auto;
}

#mxgraph-workflow-properties .property-item .input-group-addon {
	padding: 0;
}

#mxgraph-workflow-properties .property-item .input-group-addon.top {
	border: 1px solid #ddd;
	position: absolute;
	right: 0;
	top: 0;
	width: 1.25em;
	z-index: 10;
}

#mxgraph-workflow-properties .property-item .input-group-addon:hover {
	cursor: pointer;
}

#mxgraph-workflow-properties label {
	display: inline-block;
	font-weight: normal;
	padding: 3px 5px;
	margin: 0;
	width: 39.4%;
	vertical-align: top;
}

#mxgraph-workflow-properties textarea {
	resize: none;
	;
}

#mxgraph-workflow-properties select {
	padding: 1px 0;
}

#mxgraph-workflow-properties input,
#mxgraph-workflow-properties textarea,
#mxgraph-workflow-properties select {
	border-radius: 0;
	background: white;
	border: 1px solid #dddddd;
	width: 100%;
}

#mxgraph-workflow-properties .property-value {
	padding-right: 5px;
	width: 59.4%;
	display: inline-block;
}

#mxgraph-workflow-properties .no-elements {
	position: absolute;
	top: 50%;
	right: 0;
	left: 0;
	height: 1.5em;
	margin-top: -0.75em;
	text-align: center;
}

#mxgraph-workflow-outline {
	background: transparent;
	border-top: 1px solid lightgray;
	position: absolute;
	overflow: hidden;
	right: 0;
	bottom: 0;
	min-width: 240px;
	width: 25%;
	height: 120px;
}

#mxgraph-workflow-properties .bootstrap-datetimepicker-widget.dropdown-menu {
	width: 16em;
}

#mxgraph-workflow-properties .bootstrap-datetimepicker-widget table th,
#mxgraph-workflow-properties .bootstrap-datetimepicker-widget table td.day {
	height: 15px;
	line-height: 15px;
	width: 15px;
}

/* svg editor
*******************************************/

#svg-editor-toolbar {
	background: black;
	color: white;
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 32px;
}

#svg-editor-editor {
	background: antiquewhite;
	border-right: 3px solid lightgray;
	position: absolute;
	left: 32px;
	top: 0;
	bottom: 0;
	width: calc(75% - 32px);
	overflow: hidden;
}

#svg-editor-properties {
	background: #f6f6f6;
	position: absolute;
	top: 0;
	right: 0;
	min-width: 240px;
	width: 25%;
	bottom: 120px;
	overflow-x: hidden;
	overflow-y: auto;
}

#svg-editor-properties .title {
	background: #a3e2ff;
	border-bottom: 1px solid #029dbf;
	display: block;
	font-weight: bold;
	font-size: 17px;
	padding: 0 5px;
	text-align: left;
}

#svg-editor-properties .property-item {
	line-height: 100%;
}

#svg-editor-properties .property-item>* {
	display: inline-block;
	margin: 0;
}

#svg-editor-properties .property-item .form-control {
	padding: 0 3px;
	height: auto;
}

#svg-editor-properties .property-item .input-group-addon {
	padding: 0;
}

#svg-editor-properties .property-item .input-group-addon.top {
	border: 1px solid #ddd;
	position: absolute;
	right: 0;
	top: 0;
	width: 1.25em;
	z-index: 10;
}

#svg-editor-properties .property-item .input-group-addon:hover {
	cursor: pointer;
}

#svg-editor-properties label {
	display: inline-block;
	font-weight: normal;
	padding: 3px 5px;
	margin: 0;
	width: 39.4%;
	vertical-align: top;
}

#svg-editor-properties textarea {
	resize: none;
	;
}

#svg-editor-properties select {
	padding: 1px 0;
}

#svg-editor-properties input,
#svg-editor-properties textarea,
#svg-editor-properties select {
	border-radius: 0;
	background: white;
	border: 1px solid #dddddd;
	width: 100%;
}

#svg-editor-properties .property-value {
	padding-right: 5px;
	width: 59.4%;
	display: inline-block;
}

#svg-editor-properties .no-elements {
	position: absolute;
	top: 50%;
	right: 0;
	left: 0;
	height: 1.5em;
	margin-top: -0.75em;
	text-align: center;
}

#svg-editor-outline {
	background: transparent;
	border-top: 1px solid lightgray;
	position: absolute;
	overflow: hidden;
	right: 0;
	bottom: 0;
	min-width: 240px;
	width: 25%;
	height: 120px;
}

/* Indication page
*******************************************/

#indication-recipe-table th.valence {
	width: 3em;
}

/* Settings page
*******************************************/

#settings-tabs .tab-content {
	min-height: calc(100vh - 15em);
}

#settings-tabs .header.action-buttons {
	margin-bottom: 1em;
}

#backend-administrators {
	display: none !important;
}

#content-settings-index .footer {
	padding: 0 0 1em;
	margin: 0;
}

.table-rights-settings .user-right-items-outer {
	position: relative;
}

.table-rights-settings .user-right-items-outer:before {
	content: "...";
}

.table-rights-settings .user-right-items-inner {
	background-color: rgb(232, 237, 255);
	outline: 2px solid rgba(80, 80, 80, .15);
	display: none;
	padding: 1em;
	position: absolute;
	left: 0;
	top: -0.7em;
	right: -0.7em;
	z-index: 1;
}

.table-rights-settings tr:hover .user-right-items-inner {
	display: block;
}

.table-rights-settings .user-right-item-status {
	margin-bottom: 0;
}

.table-rights-settings .user-right-item.level .user-right-item-status {
	margin: 0;
}

.table-rights-settings .user-right-item.level-01 .user-right-item-label {
	margin-left: 1em;
}

.table-rights-settings .user-right-item.level-02 .user-right-item-label {
	margin-left: 2em;
}

.table-rights-settings .user-right-item.level-03 .user-right-item-label {
	margin-left: 3em;
}

.table-rights-settings .user-right-item.level-04 .user-right-item-label {
	margin-left: 4em;
}

.table-rights-settings .user-right-item-status {
	display: inline-block;
	width: 62px;
}

.table-rights-settings .user-right-item-status li {
	display: inline-block;
	width: 20px;
}

.table-rights-settings img {
	width: 16px;
}

#dialog-users-rights .modal-subdialog-form {
	margin-left: -150px;
	width: 300px;
}

.dialog-settings-rights .modal-subdialog-form {
	margin-left: -275px;
	width: 550px;
}

table.table-rights {
	min-width: 400px;
}

table.table-rights .action {
	border-right: 1px solid #ccc;
	width: 50%;
}

table.table-rights .read,
table.table-rights .write,
table.table-rights .remove,
table.table-rights .filter {
	width: 16.6%;
	text-align: center;
}

table.table-rights .filter span {
	position: relative;
}

table.table-rights .filter span::after {
	content: "...";
	border: 1px solid silver;
	display: inline-block;
	padding: 2px 3px;
	margin-top: 6px;
	position: relative;
	top: -3px;
	line-height: 0;
	height: 14px;
}

table.table-rights .filter span:hover::after {
	background: #00acd6;
	color: #fff;
	cursor: pointer;
}

table.table-rights .child-rights .selected-filter {
	padding: 0 1em !important;
	text-align: right;
}

table.table-rights .main-rights>td {
	padding: 15px 7px 0 7px !important;
}

table.table-rights .child-rights {
	line-height: 100%;
}

table.table-rights .child-rights .select select {
	margin: 5px 0;
	width: 100%;
}

table.table-rights .child-rights>td {
	padding: 0 !important;

}

table.table-rights .child-rights table {
	width: 100%;
}

table.table-rights .child-rights .action .level {
	display: inline-block;
	min-height: 1em;
	margin: 0;
	vertical-align: text-top;
}

table.table-rights .child-rights .action .level-1 {
	width: 1em;
}

table.table-rights .child-rights .action .level-2 {
	width: 2em;
}

table.table-rights .child-rights .action .level-3 {
	width: 3em;
}

table.table-rights .child-rights .action .level-4 {
	width: 4em;
}

.user-group-info {
	background: #f1f1f1;
	border: 1px solid #ccc;
	margin-bottom: 1em;
	padding: 0.5em;
}

.user-info {
	font-weight: bold;
}

.user-info>span {
	margin-right: 1em;
}

.user-group>* {
	display: inline-block;
	vertical-align: top;
}

.user-group label {
	margin-right: 1em;
}

.user-group ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.user-group ul>li {
	display: inline;
}

.user-group ul>li:after {
	content: ", ";
}

.user-group ul>li:last-child:after {
	content: "";
}

/* tax
*******************************************/

.taxViewModel>.modal-dialog {
	width: 400px;
}

.taxViewModel>.modal-dialog input {
	width: 4em;
	text-align: right;
}

/* migration
*******************************************/

.migration-list {
	border-top: 1px solid #ccc;
	padding: 1em 0.5em 0;
	margin: 0 1em;
}

.migration-item>* {
	display: inline;
}

.migration-item .status {
	display: inline-block;
	font-size: 125%;
	width: 1.25em;
}

.migration-item .status.fa-thumbs-up,
.migration-item .status.fa-check {
	color: #05c705;
}

.migration-item .status.fa-thumbs-down,
.migration-item .status.fa-times {
	color: red;
}

.migration-item .content {
	min-height: auto;
	padding: inherit;
	margin: inherit;
}

.migration-item .progress {
	background: none;
	margin-left: 0.25em;
}

.migration-item progressbar {
	background: #eaeaea80;
	border: 1px solid #fab617;
	border-radius: 5px;
	display: block;
	height: 10px;
	overflow: hidden;
	width: 100%;
}

.migration-item progressbar div {
	position: relative;
	height: 100%;
	background-color: #fab617;
}

.migration-item progressbar .progressText {
	background-color: transparent;
	position: absolute;
	top: 50%;
	left: 0;
	right: 0;
	text-align: center;
	margin-top: -0.7em;
	height: 1.4em;
}

.migration-chooser label {
	font-weight: normal;
	margin-right: 1em;
}

/* order list
*******************************************/

#content-order-list:hover {
	min-height: 85vh;
}

#content-order-list .status,
#content-order-list .order\.status {
	background: inherit;
	position: relative;
	width: 150px;
	text-align: center;
}

#content-order-list .order\.status.logistic>* {
	background: #264a02;
	color: #fff;
}

#content-order-list .order\.status.production>* {
	background: #3c8dbc;
	color: #fff;
}

#content-order-list .order\.status.mail-undefined::before {
	content: "?";
}

#content-order-list .order\.status.mail-failed::before {
	content: "!";
}

#content-order-list .order\.status.mail-undefined::before,
#content-order-list .order\.status.mail-failed::before {
	position: absolute;
	left: -15px;
	color: red;
	font-size: 36px;
	top: 0;
	font-family: serif;
}

#content-order-list .order\.status span {
	display: block;
	padding: 1px 6px;
}

#content-order-list .order\.status:hover .order-payment-history {
	display: inherit;
}

#content-order-list .order\.status.ordered span:first-child,
#content-order-list .order\.status.pending span:first-child,
#content-order-list .order\.status.paid span:first-child {
	background-color: #ffea00;
}

#content-order-list .order\.status.ordered.invoice span:first-child {
	background-color: #0078ff;
	color: #fff;
}

#content-order-list .order\.status.success span:first-child {
	background-color: #39b719;
	color: #fff;
}

#content-order-list .order\.status.cancel span:first-child,
#content-order-list .order\.status.failed span:first-child,
#content-order-list .order\.status.failure span:first-child {
	background-color: #b71919;
	color: #fff;
}

#content-order-list .order\.status.storno span:first-child {
	background-color: #c90084;
	color: #fff;
}

#content-order-list .order\.status .order-payment-history {
	position: absolute;
	width: 350px;
	right: 10em;
	z-index: 1;
	border: 1px solid #ccc;
	background: #ffffc5;
	top: -2px;
	display: none;
	margin: 0;
	padding: 0;
	text-align: left;
}

#content-order-list .order\.status .order-payment-history .order-payment-history-title {
	background: #ee9e64 !important;
	color: #000 !important;
	padding-left: 7px;
	text-align: left;
}

#content-order-list .order\.status .order-payment-history .payment-item {
	background: transparent !important;
	color: inherit !important;
	border: 1px solid #ccc;
}

#content-order-list .order\.status .order-payment-history .payment-item>* {
	display: block;
	padding: 0;
	text-align: left;
}

#content-order-list .order\.status .order-payment-history .payment-item .payment-message {
	text-align: left;
	word-break: break-all;
}

#content-order-list .order\.status .order-payment-history-item,
#content-order-list .order\.status .order-payment-history-item * {
	background: transparent !important;
	color: #333;
	padding: 3px;
	position: relative;
}

#content-order-list .order\.status .order-payment-history-item .fa {
	position: absolute !important;
	top: .3em;
	right: .4em;
	width: 1.5em;
	height: 1.5em;
	text-align: center;
}

#content-order-list .order\.status .order-payment-history-item .fa:hover {
	color: #fff;
	cursor: pointer;
}

#content-order-list .order\.status .order-payment-history-item.collapsed .collapsed-item {
	display: none !important;
}

#content-order-list .order\.status .order-payment-history .status-no-info {
	text-align: left;
}

#content-order-list .order\.status .order-payment-history .payment-date,
#content-order-list .order\.status .order-payment-history .payment-message {
	font-weight: bold;
}

#content-order-list .order\.status .payment-order {
	border-bottom: 1px solid #ddd;
	display: inline-grid !important;
	padding: 0;
}

#content-order-list .order\.status .payment-order * {
	font-style: normal;
	margin: 0 -3px;
}

#content-order-list .order\.status .payment-order>* {
	line-height: 1.25;
}

#content-order-list .order\.status .payment-order .payment-message {
	display: inline-block;
}

#content-order-list .order\.status .payment-log>.payment-log-item {
	display: block;
}

#content-order-list .mail-status-container .mail-status {
	text-align: left;
	margin-bottom: 3px;
}

#content-order-list .mail-status-container .mail-status>span {
	background: transparent !important;
	color: #000 !important;
	padding: 0 !important;
	text-align: left;
}

#content-order-list .mail-status-container .mail-status .status-name,
#content-order-list .mail-status-container .mail-status .status-timestamp {
	width: 49.9%;
	display: inline-block;
}

#content-order-list .mail-status-container .mail-status .status-timestamp {
	text-align: right;
}

#content-order-list .mail-status-container .mail-status.mail-status-failed {
	background: rgba(183, 25, 25, 0.33) !important;
	outline: 1px solid #b71919;
}

#content-order-list .mail-status-container .mail-status.mail-status-success {
	background: rgba(57, 183, 25, 0.33) !important;
	outline: 1px solid #39b719;
}

#content-order-list .mail-status-container .mail-status.mail-status-none {
	display: none !important;
}

#content-order-list .mail-status-container .mail-status .status-error em {
	display: none;
	border-top: 1px solid #000;
	padding-top: 3px;
	margin-top: 3px;
}

#content-order-list .mail-status-container .mail-status .status-error:hover em {
	display: block;
}

#content-order-list .order-status-container .order-status {
	margin: 0;
	padding: 0 !important;
	text-align: left;
}

#content-order-list .order-status-container .order-status>span {
	background: transparent !important;
	color: #000 !important;
	display: inline-block;
	margin: 0;
	padding: 0;
	text-align: left;
}

#content-order-list .order-status-container .order-status .status-name {
	width: 33%;
}

#content-order-list .order-status-container .order-status .status-payment {
	width: 33%;
	max-width: 33%;
}

#content-order-list .order-status-container .order-status .status-timestamp {
	width: 34%;
	text-align: right;
}

#content-order-list td.action {
	text-align: center;
}

/* order preview
*******************************************/

.orderViewModel .modal-header::after,
.orderViewModel .modal-footer::before {
	background: none;
}

.orderViewModel .modal-body {
	background: #f1f1f1;
	font-size: 12pt;
}

.orderViewModel .order-detail-view {
	margin: 0;
}

.orderViewModel .order-detail-view .order-detail-wrap {
	max-width: 800px;
	margin-top: -1em;
	padding-bottom: 2em;
	line-height: 130%;
}

.orderViewModel .order-detail-view .order-detail-wrap h4 {
	font-size: 13pt;
	font-weight: bold;
	margin: 1em 0 0.25em 0.5em;
}

.orderViewModel .order-detail-view .order-detail-wrap .label {
	color: inherit;
	font: inherit;
	padding: 0;
}

.orderViewModel .order-detail-view .order-detail-wrap .customized-field-text .label::after,
.orderViewModel .order-detail-view .order-detail-wrap .api-inline label::after {
	content: ":";
	margin-right: 0.5em;
}

.orderViewModel .order-detail-view .border {
	background: #fff;
	padding: 1em;
}

.orderViewModel .order-detail-view .border.border-shadow {
	box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12), 0 3px 1px -2px rgba(0, 0, 0, 0.2);
}

.orderViewModel .order-detail-view .order-items ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.orderViewModel .order-detail-view .order-items li {
	border-bottom: 1px solid #ccc;
	margin-bottom: 0.5em;
	padding-bottom: 0.5em;
}

.orderViewModel .order-detail-view .order-items .total .api-row {
	text-align: right;
	margin: 0;
}

.orderViewModel .order-detail-view .order-items .total .api-row>span {
	display: inline-block;
	width: 8em;
}

.orderViewModel .order-detail-view .order-items .total .api-row .total-text {
	width: auto;
}

.orderViewModel .order-detail-view .order-items .price {
	font-weight: bold;
	text-align: right;
}

.orderViewModel .order-detail-view .order-items .discount-text {
	display: block;
	margin-left: 1em;
}

.orderViewModel .order-detail-view .order-items .discount-text::before {
	content: "- ";
}

.orderViewModel .order-detail-view .order-items .total-text::after {
	content: ":";
}

.orderViewModel .order-detail-view .order-items .total-sum {
	font-weight: bold;
}

.orderViewModel .order-detail-view .order-items .info-tax {
	width: auto !important;
}

.orderViewModel .order-detail-view .order-address>* {
	display: block;
}

@media screen and (min-width: 800px) {
	.orderViewModel .order-detail-view .order-items ul {
		display: table;
		width: 100%;
	}

	.orderViewModel .order-detail-view .order-items ul li {
		display: inline-table;
		width: 100%;
	}

	.orderViewModel .order-detail-view .order-items ul li>* {
		display: table-cell;
	}
}

/* knockout panel component
*******************************************/

panel .toggler-left .panel-collapse-toggler-right,
panel .toggler-right .panel-collapse-toggler-left {
	display: none;
}

panel .toggler-left .panel-collapse-toggler {
	width: 2em;
}

panel .toggler-right .panel-collapse-toggler {
	float: right;
}

panel .toggler-left .panel-title,
panel .toggler-right .panel-title {
	width: calc(100% - 2em);
	display: inline;
}

panel .panel-body> :nth-last-child(1) {
	margin-bottom: 0;
}

/* questionnaire
*******************************************/

.questionnaire-table {
	height: 450px;
	width: 100%;
}

.excel-tabs .tab-content {
	outline: 1px solid #ccc;
	overflow: auto;
}

#dialog-questionnaire-variable-manager .modal-subdialog-form {
	width: 550px;
	margin-left: -275px;
}

#dialog-questionnaire-variable-manager .subdialog-content {
	height: 70vh;
	overflow: hidden;
}

#dialog-questionnaire-variable-manager .table-advanced-container {
	overflow-x: hidden;
	overflow-y: auto;
	position: absolute;
	left: 1em;
	top: 1em;
	right: 1em;
	bottom: 4.5em;
	border: 1px solid #ccc;
}

#dialog-questionnaire-variable-manager .questionnaire-add-variable {
	position: absolute;
	bottom: 1em;
}

#questionnaire-variable-list {
	width: 100%;
}

#questionnaire-variable-list .cell,
#questionnaire-variable-list .type {
	width: 6em;
}

#dialog-questionnaire-question-manager .question-column {
	padding: 1em;
}

#dialog-questionnaire-question-manager .nav-tabs>li>a {
	background-color: #f8f8f8;
	border: 1px solid #ddd;
	line-height: 1;
	padding: 10px;
	bottom: -6px;
}

#dialog-questionnaire-question-manager .nav-tabs>li.active>a,
#dialog-questionnaire-question-manager .nav-tabs>li.active>a:focus,
#dialog-questionnaire-question-manager .nav-tabs>li.active>a:hover {
	background-color: #fff;
	border: 1px solid #ddd;
	border-bottom-color: transparent;
	line-height: 1.42857143;
	padding: 10px 15px;
	bottom: 0;
}

#dialog-questionnaire-question-manager .tabs-add-tab-button {
	border-radius: 0 4px 0 0;
	font-size: 2em;
	line-height: 1;
	padding: 0 10px;
	bottom: -12px;
}

#dialog-questionnaire-question-manager .subdialog-content .tab-content {
	border: 1px solid #ddd;
	border-top-color: transparent;
	min-height: calc(100vh - 156px);
}

#dialog-questionnaire-question-manager .portlet {
	background: rgba(240, 248, 255, 0.5);
	border: 1px solid #e4e4e4;
	margin: 0 1em 1em 0;
	padding: 0.3em;
	position: relative;
}

#dialog-questionnaire-question-manager .portlet:hover {
	border-color: #ddd;
}

#dialog-questionnaire-question-manager .portlet:hover .portlet-header {
	display: block;
}

#dialog-questionnaire-question-manager .portlet-header {
	display: none;
	background: #00acd6;
	border: 1px solid #ddd;
	padding: 0.2em 0.3em;
	margin-bottom: 0.5em;
	position: absolute;
	left: 0;
	right: 0;
	top: -2.9em;
}

#dialog-questionnaire-question-manager .portlet-header:hover {
	cursor: move;
}

#dialog-questionnaire-question-manager .portlet-placeholder {
	background: rgba(0, 174, 255, 0.23);
	border: 1px dotted black;
	margin: 0 1em 1em 0;
	height: 50px;
}

#dialog-questionnaire-question-manager .portlet-content {
	padding: 0.4em;
}

#dialog-questionnaire-question-manager .portlet-content>* {
	display: block;
}

/*
#dialog-questionnaire-question-manager .portlet-content ul.papi-answer {
	margin-top: 10px;
}
#dialog-questionnaire-question-manager .portlet-content ul.papi-answer li {
	display: inline-block;
	margin-right: 1em;
}
#dialog-questionnaire-question-manager .portlet-content ul.papi-answer li input[type="checkbox"],
#dialog-questionnaire-question-manager .portlet-content ul.papi-answer li input[type="radio"] {
	margin-right: 0.5em;
}
*/
#dialog-questionnaire-question-manager .portlet-content .answer {
	margin: 1em 0;
}

#dialog-questionnaire-question-manager .portlet-content .answer .answer-key-value::after {
	content: ",";
	margin-right: 1em;
}

#dialog-questionnaire-question-manager .portlet-content .answer .answer-key-value:last-child::after {
	content: "";
	margin-right: 0;
}

#dialog-questionnaire-question-edit .modal-subdialog-form {
	margin-left: -250px;
	width: 500px;
}

#dialog-questionnaire-question-edit table {
	border: 1px solid #ccc;
	width: 100%;
}

#dialog-questionnaire-question-edit table th {
	background: #3c8dbc;
	border-bottom: 1px solid #047bc0;
	color: #fff;
	font-weight: normal;
	padding: 5px 12px;
}

#dialog-questionnaire-question-edit table th:nth-child(1) {
	width: 70%;
}

#dialog-questionnaire-question-edit table th:nth-child(2),
#dialog-questionnaire-question-edit table td:nth-child(2) input {
	text-align: center;
}

#dialog-questionnaire-question-edit .answer-key-value span.btn {
	color: #d70707;
}

#dialog-questionnaire-recipe-manager span.inline {
	margin-right: 1em;
}

#dialog-questionnaire-add-selector ul {
	table-layout: fixed;
	display: table-row;
	padding: 0;
	margin: 0 -5px;
}

#dialog-questionnaire-add-selector ul>li {
	display: table-cell;
	padding: 0 0.5em;
}

/* questionnaire results
*******************************************/

#questionnaire-result .result-answer {
	border: 1px solid #ccc;
	padding: 0.5em 0;
	background: azure;
	margin: 1em;
	max-width: 600px;
}

#questionnaire-result .result-answer .question {
	font-weight: bold;
}

#questionnaire-result .result-answers .result-answer:first-child {
	margin-top: 0 !important;
}

#questionnaire-result .questionnaire-result-status-container {
	display: inline-block;
	width: 600px;
	max-width: 100%;
	vertical-align: top;
}

#questionnaire-result .percent-chart-title {
	font-weight: bold;
	font-size: 110%;
}

#questionnaire-result .percent-chart {
	background: #eee;
	border: 1px solid #ccc;
	border-radius: 5px;
	box-sizing: border-box;
	display: block;
	margin: 5px;
	padding: 5px 10px;
	width: auto;
}

#questionnaire-result .percent-chart * {
	display: inline-block;
	vertical-align: top;
}

#questionnaire-result .percent-chart-label,
#questionnaire-result .percent-chart-content {
	display: block;
	width: 100%;
}

#questionnaire-result .percent-chart-content * {
	height: 1.5em;
}

#questionnaire-result .percent-chart-bar {
	/*
		background: -webkit-gradient(linear, left top, right top, color-stop(0%, red), color-stop(25%, yellow), color-stop(50%, green), color-stop(75%, yellow), color-stop(100%, red));
		background: -webkit-linear-gradient(left, red 0, yellow 25%, green 50%, yellow 75%, red 100%);
		background: -moz-linear-gradient(left, red 0, yellow 25%, green 50%, yellow 75%, red 100%);
		background: -ms-linear-gradient(left, red 0, yellow 25%, green 50%, yellow 75%, red 100%);
		background: -o-linear-gradient(left, red 0, yellow 25%, green 50%, yellow 75%, red 100%);
		background: linear-gradient(to right, red 0, yellow 25%, green 50%, yellow 75%, red 100%);
	*/
	background: -webkit-gradient(linear, left top, right top, color-stop(0%, green), color-stop(30%, yellow), color-stop(60%, red), color-stop(100%, red));
	background: -webkit-linear-gradient(left, green 0, yellow 30%, red 60%, red 100%);
	background: -moz-linear-gradient(left, green 0, yellow 30%, red 60%, red 100%);
	background: -ms-linear-gradient(left, green 0, yellow 30%, red 60%, red 100%);
	background: -o-linear-gradient(left, green 0, yellow 30%, red 60%, red 100%);
	background: linear-gradient(to right, green 0, yellow 30%, red 60%, red 100%);
	border: 1px solid black;
	position: relative;
	width: calc(100% - 4em);
}

#questionnaire-result .percent-chart-pointer {
	background: black;
	border-radius: 5px;
	border: 2px solid #fff;
	box-shadow: 0 0 2px black;
	content: "";
	margin: 0 0 0 -5px;
	position: absolute;
	top: -20%;
	left: 0;
	width: 10px;
	height: 140%;
}

#questionnaire-result .percent-chart-percent {
	width: 4em;
	text-align: right;
}

.vitafoods.questionnaire-result-status-mail {
	display: inline-block;
	width: 600px;
	max-width: 100%;
	vertical-align: top;
	margin-top: 2em;
	margin-left: 1em;
}

.vitafoods.questionnaire-result-status-mail textarea {
	height: 35em;
}

#questionnaire-result .questionnaire-result-manufacture-container .html-excel-table {
	width: 40%;
	float: left;
	margin-right: 5%;
}

@media screen and (min-width: 600px) {
	#questionnaire-result .percent-chart {
		display: flex;
		margin: 5px;
		padding: 5px 10px;
		width: auto;
	}

	#questionnaire-result .percent-chart-label {
		width: 12em;
	}
}

.questionnaire-results-status-title h4 {
	display: inline-block;
}

.questionnaire-results-status-title h4:last-child {
	width: 100px;
	text-align: center;
}

.questionnaire-result-ingredients-inner {
	width: 100%;
	float: left;
	margin-right: 5%;
}

#questionnaire-result .questionnaire-result-ingredients-inner h4 {
	margin: 1em 0 0.5em;
	font-weight: bold;
}

#questionnaire-result .questionnaire-results-status-quantities .row {
	margin: 0;
	width: 100%;
	display: block;
}

#questionnaire-result .questionnaire-results-status-quantities .text {
	width: 15.5em;
	text-align: left;
	display: inline-block;
}

#questionnaire-result .questionnaire-results-status-quantities .quantity {
	min-width: 6em;
	text-align: right;
	display: inline-block;
}

#questionnaire-result .questionnaire-results-status-quantities .nrv {
	width: 100px;
	text-align: center;
	display: inline-block;
}

@media screen and (min-width: 940px) {
	.questionnaire-result-ingredients-inner {
		width: 40%;
	}
}

#dialog-questionresult-products .save-loader {
	margin-left: 5px;
}

/* template
*******************************************/

.templateViewModel .content-container {
	margin-top: 0;
}

.templateViewModel .CodeMirror,
.templateViewModel .template-preview {
	background: #ffffef;
	outline: 1px solid #ccc;
	height: calc(100vh - 12.5em);
}

.templateViewModel .CodeMirror {
	left: 0;
}

.templateViewModel .template-preview {
	position: relative;
	right: 0;
}

.templateViewModel .template-preview iframe {
	border: none;
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
}

.templateViewModel h4 {
	position: relative;
}

.templateViewModel .modified {
	background-color: #FFFF00;
	color: #DD0000;
	font-weight: bold;
	padding: 0 6px;
	position: absolute;
	right: 0;
	top: 0;
}

.templateViewModel .enhanced-view>* {
	display: inline-block;
	margin-right: 1em;
}

/* update
*******************************************/

#update-container .update-status td {
	padding: 0 0.5em;
}

#update-container .update-progress {
	margin-bottom: 1em;
}

#update-container .update-progress>span {
	display: block;
	height: 1.4em;
}

#update-container .link {
	text-decoration: none;
}

#update-container .link:hover {
	color: #337ab7;
	cursor: pointer;
}

/* company
*******************************************/

#company-product-list {
	min-width: 400px;
}

/* User statistic
*******************************************/

#table-user-statistic .timestamp {
	width: 10em;
}

#table-user-statistic .user_id {
	width: 30em;
}

.table-advanced-container .filter-elements .filter-element>* {
	/*display: inline-block;*/
	width: auto;
	vertical-align: middle;
}

.table-advanced-container .filter-selectize-container {
	position: relative;
	top: 3px;
}

.table-advanced-container .filter-selectize-container .selectize-input {
	min-width: 20em;
}

/* Statistic view
*******************************************/

.statistic-view-action {
	width: 2.5em;
}

.statistic-view-action i:hover {
	cursor: pointer;
	color: #3c8dbc;
}

#statistic-view-content ul.nav li>* {
	display: inline-block;
}

#statistic-view-content ul.nav li .close {
	display: inline-block;
}

.statistic-view-actions button {
	margin: 0 0 0 1em;
}

.statistic-view-results {
	margin: 1em;
}

.statistic-view-results th,
.statistic-view-results td {
	padding: 2px 7px;
}

/* Production
*******************************************/

#production-list .order_date,
#production-list .order_id {
	width: 10em;
}

#production-list .production\.action {
	padding: 0;
	width: 20em;
}

#production-list .production\.action span.status {
	vertical-align: middle;
}

#production-list .production\.action span.status.link {
	color: #3c8dbc;
	display: inline-block;
}

#production-list .production\.action span.status.link::before {
	position: relative;
	font-size: 13pt;
	top: 8px;
	left: 9px;
}

#production-list .production\.action span.status.link.cancel::before {
	color: #c50d0d;
	font-size: 16pt;
	top: 5px;
	left: 9px;
}

/*#production-list .production\.status {*/
/*	display: inline-block;*/
/*	width: 11em;*/
/*	vertical-align: inherit;*/
/*}*/
#production-list .production\.status {
	background: inherit;
	/*padding: 8px 0;*/
	position: relative;
	text-align: center;
	width: 12em;
}

#production-list .status.status-blank {
	display: inline-block;
}

#production-list .production\.status span {
	display: block;
	padding: 1px 6px;
}

#production-list .production\.status:hover .production-status-history {
	display: inherit;
}

/*#production-list .production\.status .current-production-status {*/
/*	width: 11em;*/
/*}*/
#production-list .production\.status .production-status-history {
	position: absolute;
	width: 350px;
	right: 10em;
	z-index: 1;
	border: 1px solid #ccc;
	background: #ffffc5;
	top: -2px;
	display: none;
	margin: 0;
	padding: 0;
}

#production-list .production\.status .production-status-history .production-history-title {
	background: #ee9e64 !important;
	color: #000 !important;
	padding-left: 7px;
	text-align: left;
}

#production-list .production\.status .production-status-history .status-no-info {
	text-align: left;
}

#production-list .production\.status .production-history-item,
#production-list .production\.status .production-history-item * {
	background: transparent !important;
	color: #333;
	padding: 3px;
	position: relative;
}

#production-list .production\.status .production-history-item .fa {
	position: absolute !important;
	top: 0.4em;
	right: 0.4em;
	width: 1em;
	text-align: center;
}

#production-list .production\.status .production-history-item .fa:hover {
	color: #fff;
	cursor: pointer;
}

#production-list .production\.status .production-history-item.collapsed .collapsed-item {
	display: none !important;
}

#production-list .production-status-container .production-status {
	margin: 0;
	padding: 0 !important;
	text-align: left;
}

#production-list .production-status-container .production-status>span {
	background: transparent !important;
	color: #000 !important;
	display: inline-block;
	margin: 0;
	padding: 0;
	text-align: left;
}

#production-list .production-status-container .production-status .status-name {
	width: 33%;
}

#production-list .production-status-container .production-status .status-user {
	width: 33%;
	max-width: 33%;
}

#production-list .production-status-container .production-status .status-timestamp {
	width: 34%;
	text-align: right;
}

/* Coupon */

#coupon-list .name {
	width: 15em;
}

#coupon-list .number {
	min-width: 12em;
	text-align: left !important;
}

#coupon-list .expire_date {
	width: 10em;
}

.couponViewModel .modal-content {
	background: #ecf0f5;
}

.couponViewModel .modal-content .coupon-item-content {
	margin-top: 1em;
}

.couponViewModel .modal-content .control-label {
	width: 10em !important;
	display: inline-block;
}

@media (min-width: 992px) {
	.couponViewModel .modal-body {
		overflow: hidden;
	}

	.couponViewModel .modal-body .box {
		overflow-x: hidden;
		overflow-y: auto;
		height: calc(100vh - 150px);
	}
}

/* HKS Contributor */

#hks-contributors table .contributor-image .image {
	position: relative;
	padding-top: 100%;
	width: 100%;
}

#hks-contributors table .contributor-image .image>* {
	background: #d8f1ff;
	border: 1px solid #ccc;
	border-radius: 25%;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
}

#hks-contributors table .contributor-image .image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

#hks-contributors table .contributor-image .image>span>span {
	position: absolute;
	top: 50%;
	left: 50%;
	-webkit-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
}

#hks-contributors table .contributor-info>div:nth-child(1) {
	margin-top: 1em;
}

#hks-contributors table .contributor-image .row-actions {
	margin-top: 1em;
	text-align: center;
}

@media (max-width: 768px) {
	#hks-contributors table td {
		display: block;
		width: 100%;
	}

	#hks-contributors table .contributor-info>div:nth-child(1) {
		margin-top: 0;
	}
}

/* HKS Dashboard */

#hks-dashboard-container svg {
	border: 1px solid #ccc;
}

#hks-dashboard-container svg.grid {
	background-image: url('/images/grid-10.png');
}

svg-editor {
	display: flex;
	position: relative;
	min-height: 350px;
}

svg-editor.fill {
	position: absolute;
	top: 0;
	left: 15px;
	right: 15px;
	height: calc(100vh - 15em);
}

svg-editor .svg-editor-container {
	border: 1px solid #ccc;
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	margin: 15px;
	padding: 3px;
}

svg-editor .svg-editor-container button {
	border: 1px solid #eee;
	cursor: pointer;
	padding: 0;
	text-transform: uppercase;
	outline: none;
	width: 42px;
	height: 42px;
	margin-bottom: 2px;
}

svg-editor .svg-editor-container button.down {
	border-width: 1px;
	border-style: solid;
	border-color: #ccc #fff #fff #ccc;
	background-color: #eee;
	outline: 1px solid #ccc;
}

svg-editor .svg-editor-container button>span {
	font-size: 200%;
	padding: 3px;
}

svg-editor .svg-editor-container button>img {
	margin: 6px;
}

svg-editor .svg-editor-container button:hover {
	background-color: #ddd;
	border: 1px solid #bbb;
}

svg-editor .svg-editor-container input {
	color: #333;
	padding: 2px 4px;
}

svg-editor .svg-editor-container textarea:focus-visible,
svg-editor .svg-editor-container input:focus-visible {
	outline: 1px solid #6a9be6;
}

svg-editor .svg-editor-container hr {
	border: 0;
	padding: 2px 0px;
}

svg-editor .svg-editor-container .tools {
	padding: 0;
	display: inline-block;
	width: 155px;
	line-height: 24px;
	vertical-align: top;
}

svg-editor .svg-editor-container .content {
	background: #ffedd9;
	border: 1px solid #ccc;
	overflow: auto;
	padding: 0;
	position: absolute;
	left: 140px;
	top: 0;
	right: 16em;
	bottom: 0;
}

svg-editor .svg-editor-container .stage {
	background: #e5e5e5;
	border: 1px solid #ccc;
}

svg-editor .svg-editor-container .stage.wireframe * {
	stroke: #000 !important;
	stroke-width: 1px !important;
	fill: transparent !important;
}

svg-editor .svg-editor-container .textarea {
	display: none;
	background: #eee;
	border: 1px solid #888;
	color: #000;
	padding: 1em;
	overflow: auto;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	height: 10em;
}

svg-editor .svg-editor-container .properties {
	border: 1px solid #ccc;
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: 16em;
}

svg-editor .svg-editor-container .properties p.no-items {
	text-align: center;
	position: relative;
	top: 50%;
	margin-top: -1em;
}

svg-editor .svg-editor-container .properties .property-items {
	padding: 5px;
}

svg-editor .svg-editor-container .properties .property-items .title {
	background: #3c8dbc;
	color: #fff;
	display: block;
	font-weight: bold;
	margin: -5px -5px 10px;
	padding: 2px 8px;
}

svg-editor .svg-editor-container .properties .property-item {
	display: flex;
	align-items: baseline;
	flex-direction: row;
	margin-bottom: 3px;
}

svg-editor .svg-editor-container .properties .property-item label {
	width: 6em;
}

svg-editor .svg-editor-container .properties .property-item .btn.btn-select,
svg-editor .svg-editor-container .properties .property-item textarea,
svg-editor .svg-editor-container .properties .property-item select,
svg-editor .svg-editor-container .properties .property-item input {
	background: #fff;
	border: 1px solid #ccc;
	width: 9em;
}

svg-editor .svg-editor-container .properties .property-item .btn.btn-select {
	padding: 2px 4px;
}

svg-editor .svg-editor-container .properties .property-item input[type="color"] {
	padding: 0;
}

svg-editor .svg-editor-container .hovered-element,
svg-editor .svg-editor-container .selected-element {
	position: absolute;
	display: block;
	pointer-events: none;
}

svg-editor .svg-editor-container .hovered-element {
	border: 2px solid #00f;
}

svg-editor .svg-editor-container .selected-element {
	border: 2px solid #0f0;
	cursor: pointer;
	display: none;
}

svg-editor .svg-editor-container .selected-edge {
	display: none;
	background: #0f0;
	cursor: pointer;
	position: absolute;
	width: 10px;
	height: 10px;
}

body.fullscreen svg-editor .svg-editor-container .hovered-element,
body.fullscreen svg-editor .svg-editor-container .selected-element {
	display: none !important;
	border: none !important;
}

body.fullscreen svg-editor .svg-editor-container .content {
	overflow: hidden;
}

body.fullscreen svg-editor .svg-editor-container svg {
	background: white !important;
	width: 100%;
	height: 100%;
}

#svg-editor-log {
	background: #ddd;
	border: 1px solid black;
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	width: 200px;
	padding: 5px;
	overflow: auto;
	z-index: 1;
}

/* sales funnel contacts */

#tab-sales-funnel-contact-general:not(.open-ai) .ai {
	display: none;
}

#tab-sales-funnel-contact-general.open-ai {
	position: relative;
}

#tab-sales-funnel-contact-general.open-ai .ai {
	width: 24%;
}

#tab-sales-funnel-contact-general.open-ai .ai>.ai-inner {
	padding: 2px;
}

#tab-sales-funnel-contact-general.open-ai .ai>.ai-inner .ai-content {
	position: relative;
}

#tab-sales-funnel-contact-general.open-ai .ai>.ai-inner textarea {
	background: hsl(200deg 50% 50% / 5%);
	border: 1px solid #3c8dbc;
	font-family: courier new;
	font-size: 11px;
	min-height: 25em;
	width: 100%;
	padding: 0.5em;
	resize: vertical;
}

#tab-sales-funnel-contact-general.open-ai .ai>.ai-inner .ai-loader {
	background: hsl(0deg 0% 100% / 20%);
	display: none;
	position: absolute;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
}

#tab-sales-funnel-contact-general.open-ai .ai>.ai-inner .ai-placeholder {
	border: 1px solid #ccc;
	border-left: 5px solid #3c8dbc;
	display: block;
	padding: 0.5em;
	margin-bottom: 1em;
}

#tab-sales-funnel-contact-general.open-ai>.contact,
#tab-sales-funnel-contact-general.open-ai>.meta {
	width: 38%;
}

#tab-sales-funnel-contact-general.open-ai>.contact {
	margin-left: 24%;
}

#button-add-new-department {
	margin-left: 2em;
}

#categrory-department-list {
	width: 100%;
}

/* sales funnel */

/* scrollbar directly in the tabs */
.salesFunnelViewModel .modal-body {
	overflow: hidden;
}

.salesFunnelViewModel .product-info-dosage-form {
	display: flex;
	gap: 1em;
}

.salesFunnelViewModel .product-info-dosage-form>* {
	display: inline-block;
}

#sales-funnel-list .relations {
	display: flex;
	flex-flow: column nowrap;
}

#sales-funnel-list .relations>span {
	line-height: 100%;
	margin-bottom: 0.5em;
}

#tab-sales-funnel-general-project .inline-button {
	display: flex;
	flex-flow: row nowrap;
	justify-content: space-between;
	gap: 0.5em;
}

#tab-sales-funnel-general-project .inline-button>div {
	flex: 1;
}

#tab-sales-funnel-general-project .inline-button>button {
	display: flex;
	width: 2.5em;
	justify-content: center;
}

#tab-sales-funnel-general-sales {
	overflow: hidden auto;
	/* display: flex;
	flex-flow: column nowrap; */
	height: 100%;
}

#tab-sales-funnel-general-sales>.relations {
	/* flex: 1; */
}

#sales-funnel-container {
	display: flex;
	flex-flow: column nowrap;
	height: 100%;
}

#sales-funnel-container .panel-default>.panel-heading+.panel-collapse>.panel-body {
	border: none;
}

#sales-funnel-container .btn-small {
	display: inline-flex;
	align-self: center;
	padding: 0.5em;
	max-width: 2.1em;
	max-height: 2.1em;
}

/* #sales-funnel-container .sales-funnel-phases .panel {} */

#sales-funnel-container .sales-funnel-phases .panel i {
	display: none;
}

.sales-funnel-phases .panel .delivery_date,
.sales-funnel-phases .panel .delivery_state {
	padding: 3px 6px;
	margin-left: 0.4em;
	outline: 1px solid gray;
	color: black;
}

.sales-funnel-phases .panel .delivery_date {
	background: #ffbe6a;
}

.sales-funnel-phases .panel .delivery_state.red {
	background: red;
	color: white;
}

.sales-funnel-phases .panel .delivery_state.yellow {
	background: yellow;
}

.sales-funnel-phases .panel .delivery_state.green {
	background: lime;
}

.sales-funnel-phases .panel.disabled h4 {
	color: #bbb;
}

.sales-funnel-phases .panel.disabled .title-after {
	opacity: 0.4;
}

.sales-funnel-relations li {
	display: flex;
	flex-direction: row;
	margin-bottom: 5px;
}

.sales-funnel-relations li>* {
	align-items: center;
	display: flex;
}

.sales-funnel-relations select.form-select {
	margin: 0 1em;
}

/* .sales-funnel-phases .phase-attachments {
	background-color: hsl(200 100% 97%);
	border: 1px solid hsl(200 100% 90%);
	position: relative;
	margin-bottom: 1em;
	min-height: 3.25em;
}

.sales-funnel-phases .phase-attachments:hover .upload-container {
	display: initial;
}

.sales-funnel-phases .attachment-list-upload {
	background: hsl(30deg 100% 97%);
}

.sales-funnel-phases .attachment-list-upload,
.sales-funnel-phases .attachment-list-upload>ul,
.sales-funnel-phases .attachment-list {
	display: flex;
	flex-flow: wrap;
	margin: 0;
}

.sales-funnel-phases .attachment-list-upload .title {
	background-color: hsl(41 100% 90%);
	border-bottom: 1px solid hsl(41 100% 80%);
	color: #444;
	display: block;
	padding-left: 0.5em;
	width: 100%;
}

.sales-funnel-phases .attachment-list-upload .title,
.sales-funnel-phases .attachment-list {
	padding-right: 3em;
}

.sales-funnel-phases .attachment-list-upload ul>li,
.sales-funnel-phases .attachment-list>li {
	background-color: hsl(200 100% 90%);
	border: 1px solid hsl(200deg 100% 80%);
	border-radius: 0.5em;
	padding: 0.25em 0.5em;
	margin: 0.25em;
	display: flex;
	flex-direction: row;
	gap: 0.5em;
}

.sales-funnel-phases .attachment-list>li.new {
	background-color: hsl(130 100% 90%);
	border: 1px solid hsl(130 100% 80%);
}

.sales-funnel-phases .attachment-list>li.replace {
	background-color: hsl(25 100% 90%);
	border: 1px solid hsl(25 100% 80%);
}

.sales-funnel-phases .attachment-list>li.delete {
	background-color: hsl(0 100% 90%);
	border: 1px solid hsl(0 100% 80%);
}

.sales-funnel-phases .attachment-list>li .actions {
	display: flex;
	flex-flow: row nowrap;
	align-items: center;
}

.sales-funnel-phases .closed .attachment-list>li .actions,
.sales-funnel-phases .canceled .attachment-list>li .actions,
.sales-funnel-phases .done .attachment-list>li .actions {
	display: none;
}

.sales-funnel-phases .attachment-list>li .actions>* {
	border-radius: 3px;
	color: hsl(200 100% 30%);
	font-size: 9pt;
	padding: 1px;
}

.sales-funnel-phases .attachment-list>li .actions>*:hover {
	background-color: hsl(0 100% 80%);
	color: hsl(0deg 100% 30%);
	outline: 1px solid hsl(0 100% 70%);
	cursor: pointer;
}

.sales-funnel-phases .phase-attachments .upload-container {
	border-radius: 50%;
	position: absolute;
	display: none;
	top: 0.25em;
	right: 0.25em;
	margin: 0 !important;
	padding: 0 !important;
	width: 2.5em;
	height: 2.5em;
}

.sales-funnel-phases .phase-attachments .upload-container:hover button.upload-attachment {
	background-color: hsl(200 100% 50%);
	color: hsl(200 100% 97%);
}

.sales-funnel-phases .file-upload-button {
	background: hsl(200 100% 50%);
	clip-path: circle(50.0% at 50% 50%);
	position: absolute;
	top: 0;
	right: 0;
	opacity: 0;
	width: 2.5em;
	height: 2.5em;
}

.sales-funnel-phases .custom-file-input-wrapper {
	opacity: 0;
}

.sales-funnel-phases .custom-file-input-button input {
	cursor: pointer;
	font-size: 50pt;
	margin: -25pt;
}

.sales-funnel-phases button.upload-attachment {
	background-color: hsl(200 100% 80%);
	color: hsl(200 100% 30%);
	position: absolute;
	right: 0;
	top: 0;
	font-size: 16pt;
	border: 1px solid hsl(200 100% 50%);
	border-radius: 50%;
} */

.sales-funnel-phases label {
	background: transparent;
	white-space: nowrap;
}

.sales-funnel-phases .panel.closed,
.sales-funnel-phases .panel.canceled,
.sales-funnel-phases .panel.done {
	background: #fafafa;
}

.sales-funnel-phases .panel.done:not(.cancel, .closed) .panel-heading {
	background-image: linear-gradient(to bottom, #e1fddf 0, #a0f3ac 100%);
}

.sales-funnel-phases .panel.done .panel-heading .title-done {
	display: initial !important;
}

.sales-funnel-phases .form-control.readonly {
	background: #dfdfdf !important;
	border: 1px solid #aaa;
}

.sales-funnel-phases .readonly .selectize-control,
.sales-funnel-phases .panel.closed .selectize-control,
.sales-funnel-phases .panel.canceled .selectize-control,
.sales-funnel-phases .panel.done .selectize-control {
	display: none;
}

.sales-funnel-phases .papi-phase-item:not(:last-child) {
	border-bottom: 1px solid #ccc;
	margin-bottom: 1.25em;
}

.sales-funnel-phases .papi-phase-item [readonly],
.sales-funnel-phases .papi-phase-item [disabled],
.sales-funnel-phases .papi-phase-item.readonly,
.sales-funnel-phases .papi-phase-item .disabled {
	background-color: #eee !important;
	outline: 1px solid #ccc !important;
}

.sales-funnel-phases .papi-phase-item.readonly,
.sales-funnel-phases .papi-phase-item.disabled {
	position: relative;
	opacity: 0.75;
}

.sales-funnel-phases .papi-phase-item.readonly select,
.sales-funnel-phases .papi-phase-item.readonly input,
.sales-funnel-phases .papi-phase-item.readonly textarea,
.sales-funnel-phases .papi-phase-item.readonly input.form-selectize,
.sales-funnel-phases .papi-phase-item.readonly input.form-selectize+.selectize-control input {
	/* pointer-events: none !important; */
	background: #dfdfdf !important;
}

.sales-funnel-phases .papi-phase-item.disabled:before {
	border: 1px solid #e3e3e3;
	background: #fafafa;
	content: "";
	position: absolute;
	left: -0.75em;
	top: -0.75em;
	right: -0.75em;
	bottom: -0.5em;
}

.sales-funnel-phases .papi-phase-item input.form-selectize,
.sales-funnel-phases .papi-phase-item input.form-selectize+.selectize-control input

/*.sales-funnel-phases .papi-phase-item input.form-selectize + .selectize-control .item*/
	{
	min-width: 12em;
}

.sales-funnel-phases .papi-phase-item input.form-selectize+.selectize-control .selectize-input.input-active,
.sales-funnel-phases .papi-phase-item input.form-selectize+.selectize-control .selectize-input.input-active .item {
	min-width: auto;
}

input.form-control.form-selectize.contributor,
.sales-funnel-phases .papi-phase-item .contributor .selectize-input {
	display: inline-flex;
	max-width: 23em;
	width: 23em;
}

.papi-history>ul>li {
	background: #f5f5f5;
	border: 1px solid #ddd;
	margin-bottom: 0.5em;
}

.papi-history .history-header {
	background: #3c8dbc;
	color: white;
	display: flex;
	justify-content: space-between;
	padding: 0.5em 1em;
	gap: 1em;
}

.papi-history .history-header .title {
	flex-grow: 1;
}

.papi-history .history-body {
	padding: 0.5em 1em;
}

.history-body>ul {
	border: 1px solid #aaa;
	display: table;
}

.history-body>ul>li {
	display: table-row;
}

.history-body>ul>li.header {
	background: #d2d2d2;
}

.history-body>ul>li>span {
	border-bottom: 1px solid #ddd;
	display: table-cell;
	padding: 0 1em;
}

/* Salesfunnel Status Page */

#salesfunnel-status-container {
	min-height: calc(100vh - 8em);
	padding: 0 0.5em;
}

#salesfunnel-status-container .status-items {
	display: flex;
	flex-wrap: wrap;
	justify-content: left;
	margin: 0 -0.25em 0 -0.5em;
	gap: 10px;
}

#salesfunnel-status-container .status-item {
	border: 1px solid #ccc;
	background: #fff;
	display: flex;
	flex-flow: column nowrap;
	gap: 10px;
	width: 100%;
	min-height: 100px;
}

#salesfunnel-status-container .status-item-header {
	background: #3c8dbc;
	color: #fff;
	padding: 2px 7px;
}

#salesfunnel-status-container .status-item-content {
	color: #000;
	padding: 2px 7px;
}

#salesfunnel-status-container .fullscreen {
	position: absolute;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	z-index: 15;
	overflow: hidden;
}

#salesfunnel-status-container .dt-center th,
#salesfunnel-status-container .dt-center td {
	text-align: center;
}

@media (min-width: 1200px) {
	#salesfunnel-status-container .status-item {
		/* width: 49%; */
	}
}

@media (min-width: 2000px) {
	#salesfunnel-status-container .status-item {
		/* width: 32.6%; */
	}
}

/* rawmaterial enquiry */

#rawmaterial-enquiry-container .marked {
	--marked-color: #ffff5d;
	background: var(--marked-color);
	outline: 10px solid var(--marked-color);
}

.rawMaterialEnquiryViewModel table.substances-percent th:nth-child(4),
.rawMaterialEnquiryViewModel table.substances-percent td:nth-child(4),
.rawMaterialEnquiryViewModel table.resource-composition-table th:nth-child(3),
.rawMaterialEnquiryViewModel table.resource-composition-table td:nth-child(3),
.rawMaterialEnquiryViewModel table.resource-composition-table th:nth-child(4),
.rawMaterialEnquiryViewModel table.resource-composition-table td:nth-child(4) {
	display: none;
}

.rawMaterialEnquiryViewModel table.substances-percent td:nth-child(3),
.rawMaterialEnquiryViewModel table.resource-composition-table th:nth-child(2) {
	display: flex;
	align-items: center;
}

#dialog-supplier-message .modal-subdialog-form {
	top: max(8vh, 79px);
	width: 600px;
	max-width: 100%;
	margin-left: -300px;
}

#dialog-supplier-message .modal-subdialog-body {
	height: 70vh;
}

#dialog-supplier-message .subdialog-content {
	height: 65vh;
}

/* rawmaterial enquiry (supplier list) */

#tab-rawmaterial-enquiry-supplier-list .priority {
	position: relative;
}

#tab-rawmaterial-enquiry-supplier-list .priority:after {
	border-radius: 100%;
	content: "";
	position: absolute;
	right: 5px;
	top: 50%;
	height: 1.5em;
	padding: 0 0.5em;
	margin-top: -0.6em;
}

#tab-rawmaterial-enquiry-supplier-list .priority.priority-98:after {
	content: 'K';
	background: hsl(0deg 0% 100% / 0%);
	color: hsl(0deg 0% 0% / 0%);
}

#tab-rawmaterial-enquiry-supplier-list .priority.priority-99:after {
	content: 'X';
	background: hsl(0deg 100% 50%);
	color: hsl(0deg 0% 100%);
}

#tab-rawmaterial-enquiry-supplier-list .priority.priority-1:after {
	content: '1';
	background: hsl(90deg 50% 50%);
	color: hsl(0deg 0% 0%);
}

#tab-rawmaterial-enquiry-supplier-list .priority.priority-2:after {
	content: '2';
	background: hsl(80deg 60% 50%);
	color: hsl(0deg 0% 0%);
}

#tab-rawmaterial-enquiry-supplier-list .priority.priority-3:after {
	content: '3';
	background: hsl(70deg 70% 50%);
	color: hsl(0deg 0% 0%);
}

#tab-rawmaterial-enquiry-supplier-list .priority.priority-4:after {
	content: '4';
	background: hsl(60deg 80% 50%);
	color: hsl(0deg 0% 0%);
}

#tab-rawmaterial-enquiry-supplier-list .priority.priority-5:after {
	content: '5';
	background: hsl(50deg 90% 50%);
	color: hsl(0deg 0% 0%);
}

#tab-rawmaterial-enquiry-supplier-list .suppliers-list-container {
	display: flex;
	flex-flow: row nowrap;
	gap: 1em;
	height: 100%;
	width: 100%;
}

#tab-rawmaterial-enquiry-supplier-list .suppliers-left-side {
	min-width: 200px;
	width: 15%;
}

#tab-rawmaterial-enquiry-supplier-list .suppliers-right-side {
	flex: 1;
}

#tab-rawmaterial-enquiry-supplier-list .delivery_surcharges.active {
	text-shadow: 0px 0px 1px red;
	color: red;
}

#tab-rawmaterial-enquiry-supplier-list .price-scale-wrapper {
	display: flex;
	flex-flow: row;
}

#tab-rawmaterial-enquiry-supplier-list .original-price-scale {
	display: flex;
	flex: 1;
	gap: 1em;
	padding-left: 2em;
	width: 100%;
}

.document-enquiry-wrapper>.form-group label {
	display: flex;
	flex-flow: row nowrap;
	gap: 1em;
	align-items: center;
}

#dialog-pdf-rawmaterial-enquiry-release .modal-subdialog-form {
	margin-left: -290px;
	width: 580px;
}


.navbar{
	min-height: 48px!important;
	height: 48px!important;
}
