.app{
	min-height: 100vh;
	position: relative;
	padding-bottom:60px;
	box-sizing: border-box;
}

.login h3{
	margin-top:35px;
	margin-bottom:27px;
}

.demo-msg{
	margin-top: 25px;
}

.test-environment-notice{
	background:#f7a5a5;
	color:#930000;
	text-align: center;
	padding:5px;
}

footer{
	position:absolute;
	bottom:0px;
	left:0px;
	right:0px;
	height:60px;
	background:#f8f8f8;
}

footer .container{
	line-height: 60px;
}

textarea{
	min-height:100px;
}

h4{
	margin-top:30px;
}

h4.with-border-bottom{
	margin-top:40px;
	padding-bottom:9px;
	border-bottom:1px solid #ddd;
	margin-bottom:25px;
}

h4.with-border-bottom-sm {
	margin-top: 40px;
	padding-bottom: 9px;
	border-bottom: 1px solid #ddd;
	margin-bottom: 16px;
}

.supplementary-text {
	font-size:14px;
	font-weight:normal;
	font-style:italic;
}

/* alerts */
.alert p {
	margin-bottom: 0.25rem;
}
.alert > *:last-child {
	margin-bottom: 0;
}
.alert > *:first-child {
	margin-top: 0;
}

/* workaround for a rendering issue in chrome, see #849 */
.clearfix::after {
	height: 1px;
}

/* progress bars */
.utilization{
	position: relative;
	min-width:170px;
}

.utilization .progress{
	position:absolute;
	right:10px;
	left:70px;
	top:14px;
	height:9px;
	width:50px;
}

/* navbar */
@media (max-width: 992px){
	#navbar .dropdown-menu {
		background:none;
		border:none;
	}
	#navbar .dropdown-item {
		color:#fff;
	}
	#navbar .dropdown-item:hover {
		color:#000;
	}
}

#navbar a.navbar-text:hover {
	color:rgba(255,255,255,.75);
}

/* sidemenu */
.sidemenu .accordion-button{
	padding: .6rem .5rem !important;
	font-size: 1.05rem;
}

.sidemenu .accordion-button svg{
	width: 1.05rem;
	margin-right: .5rem;
}

.sidemenu a {
	padding: .4rem .5rem .4rem 2.05rem !important;
	text-decoration: none;
}

/* common */
.container{
	position:relative;
}

a{
	cursor: pointer;
}

a.default-cursor {
	cursor: default;
}

.navbar .badge{
	margin-left:9px;
	margin-top:-4px;
}

.navbar-brand img{
	margin-right:10px;
	margin-top:-5px
}

/* tabs */
.nav-tabs{
	margin-bottom:20px;
}

/* tables */
table.table thead.two-rows-header tr th{
	vertical-align:top !important;
}

table.table tbody tr,
td.pointer {
	cursor: pointer;
}

table.table.no-pointer tbody tr{
	cursor: auto;
}

td.cursor-not-allowed {
	cursor: not-allowed;
}

table.fixed-layout {
	width: 100%;
	table-layout: fixed;
}

table.fixed-layout th,
table.fixed-layout td {
	text-align: right;
}

.isReloading {
	opacity: 0.5;
}

/* table legends */
.table-legend-title {
	font-style: italic;
	text-decoration: underline;
	margin-bottom: 3px;
}
.table-legend-content {
	font-style: italic;
	margin-bottom: 15px;
	padding-right: 30px;
}
.table-legend-danger {
	background-color: #fcf8e3;
}
.table-legend-warning {
	background-color: #f2dede;
}

/* inputs */
.has-error .form-control,
.has-error.form-control,
.has-error .rw-widget-picker,
.has-error .Select-control,
.has-error [class$="-control"],
.has-error [class$="-control"]:hover {
	border-color:red;
}
.has-error label,
label.has-error,
label:has(> .has-error),
p.has-error {
	color:#e60000;
}

.form-group.has-error .Select-control, .form-group.has-error .datepicker__input-container input{
	border-color:red !important;
}

.Select-menu-outer{
	z-index:1000 !important;
}

input::-ms-clear {
	display: none;
}

.field-hint {
	line-height: 1.5;
	display: block;
}

.input-group > .react-numeric-input {
	position: relative;
	display: flex !important;
	flex: 1 1 auto;
	flex-wrap: wrap;
	align-items: stretch;
}

.input-group.has-prefix > .react-numeric-input > input {
	border-top-left-radius: 0;
	border-bottom-left-radius: 0;
}

.input-group.has-suffix > .react-numeric-input > input {
	border-top-right-radius: 0;
	border-bottom-right-radius: 0;
}

.form-horizontal .form-check-input {
	margin-top: 10px;
}

input[type="checkbox"] {
	margin-top: 5px;
	margin-right: 6px;
}

td input[type="checkbox"],
th input[type="checkbox"] {
	margin: 0;
	margin-top: 5px;
}

/* special formatting for check-inputs in horizontal forms */
.form-horizontal label .form-check-input {
	margin-top: 5px;
}

/* react-widget combobox: workaround to make sure overlay of other elements works (e.g. ReactSelectAsyncWrapper) */
body .rw-combobox-input {
	z-index: auto;
}

/* notifications */
.notifications {
	position: fixed;
	left:20px;
	bottom:20px;
	right:20px;
	z-index:1100;
}

.notifications .alert {
	float: right;
	clear: both;
}

.notification-enter{
	max-height:0 !important;
	opacity: 0.01;
	transform: translateX(-25%);
	transition: 500ms ease-in;
}

.notification-enter.notification-enter-active{
	max-height:20em !important;
	transform: translateX(0);
	opacity:1;
}

.notification-exit{
	max-height:20em !important;
	transition: 300ms ease-in;
	transform: translateX(0);
	opacity:1;
}

.notification-exit.notification-exit-active{
	max-height:0 !important;
	transform: translateX(25%);
	opacity:0.01;
}

/* labels */
.label{
	font-size:100%;
}

/* modal */
.modal-min-height .modal-body {
	min-height: 300px;
}

/* hints */
p.formcontrol-hint{
	margin: 8px 40px 10px 5px;
	font-size:smaller;
	font-style:italic;
}

/* responsive design modifications */
@media (min-width: 768px){
	.container.login{
		max-width:420px;
		border:1px solid #e7e7e7;
		border-radius:5px;
		padding:30px 20px 27px 20px;
		background:white;
		margin-top:60px;
	}

	.container.resetpassword{
		max-width:540px;
		border:1px solid #e7e7e7;
		border-radius:5px;
		padding:30px 20px 27px 20px;
		background:white;
		margin-top:60px;
	}

	.container.demo-msg{
		max-width:420px;
		padding:30px 20px 27px 20px;
	}

	.container.demo-msg h4{
		margin-top: 12px;
		margin-bottom: 15px;
	}

	.app.login{
		background:#f8f8f8;
		display:inline-block;
		min-width:100vw;
	}

	.login h3{
		margin-top:0;
	}


	.utilization{
		min-width:210px;
	}

	.utilization .progress{
		width:90px;
	}
}

/* sidemenu */
.main{
	display: flex;
	flex-direction: row;
}
.sidemenu{
	width:230px;
	min-height:100%;
	z-index:100;
	margin-top:60px;
	margin-bottom:160px;
	padding-right:30px;
}

.sidemenu .menu-item--active{
	background:#ddd;
}

.sidemenu .menu-item:hover {
	background:#eee;
}

.sidemenu .accordion-item {
	border: none;
}

.sidemenu .accordion-button {
	background-color: white;
	box-shadow: none;
}
.sidemenu .accordion-button:not(.collapsed) {
	/* use the same color as links have in the text on the level one titles */
	color: rgba(var(--bs-link-color-rgb),var(--bs-link-opacity,1));
}

.sidemenu .accordion-button:hover {
	background-color: #eee;
}

/* content */

.content{
	flex:1;
	min-width: 0px;
	padding-top: 20px;
}

/* pager */
.pager-number {
	min-width: 180px;
}

/* folder tree */
.tree-node-header-state{
	display: inline-block;
	width:20px;
	cursor:pointer;
}
.tree-node-header-title {
	display: inline-block;
	cursor: pointer;
	padding: 3px 9px 3px 8px;
}
.tree-node-header-title--selected, .tree-node-header-title:hover {
	background: #eee;
}
.tree-node-header {
	clear:both;
	margin: 2px 30px 2px 8px;
}
.tree-node-content{
	padding-left: 27px;
}

/* general print styles */
@media print{
	* {
		font-family: Arial;
	}
	h1 {
		/* margin only works horizontally */
		padding-bottom: 20px;
	}
	thead, tr, th {
		text-align: left;
	}
	.nav-tabs{
		border:none;
	}
	.nav-tabs li{
		display: none;
	}
	.nav.nav-tabs li.active{
		display: block;
	}
	.nav.nav-tabs li.active a{
		border:none;
		color:black;
		font-size:20px;
		padding:0px;
	}
	/* make sure, content gets adjusted to the page width with wkhtml2pdf */
	.app, .main, .content {
		/* max-width: unset; gets ignored */
		max-width: 9000px;
	}
	/* make sure, bootstrap columns get printed beside each other with wkhtml2pdf */
	.row > * {
		float: left;
	}
	.row:after {
		content: "";
		display: table;
		clear: both;
	}
	/* make sure, we have at least some basic styling for tables with wkhtml2pdf */
	thead > tr {
		border-bottom: 2px solid grey;
	} 
	tbody > tr {
		border-bottom: 1px solid grey;
	}
	/* make sure, we have at least some basic styling for alerts with wkhtml2pdf */
	.alert {
		padding-top: 16px;
		padding-bottom: 16px;
	}
}

