
i.fad {
	color: black;
}

.username:hover {
	cursor: help;
	text-decoration: underline;
}

#loader-main {
	display: none;
}

#loader-form {
	display: none;
	margin-right: 20px;
}

#button-new i, #button-export i {
	margin-right:10px;
}

.navbar-fill {
	color: red !important;
	padding-left: 50px;
	text-transform: uppercase;
	width: 100%;
}

/****************************************/
/* Login */

.form-signin {
	max-width: 330px;
	padding: 15px;
	margin: 0 auto;
}

.form-signin .form-signin-heading, .form-signin .checkbox {
	margin-bottom: 10px;
}

.form-signin .checkbox {
	font-weight: 400;
}

.form-signin .form-control {
	position: relative;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	height: auto;
	padding: 10px;
	font-size: 16px;
}

.form-signin .form-control:focus {
	z-index: 2;
}

.form-signin input[type="email"] {
	margin-bottom: -1px;
	border-bottom-right-radius: 0;
	border-bottom-left-radius: 0;
}

.form-signin input[type="password"] {
	margin-bottom: 10px;
	border-top-left-radius: 0;
	border-top-right-radius: 0;
}

/****************************************/
/* Dashboard */

.sidebar {
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	z-index: 100; /* Behind the navbar */
	padding: 48px 0 0; /* Height of navbar */
	box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
}

.sidebar-sticky {
	position: relative;
	top: 0;
	height: calc(100vh - 48px);
	padding-top: .5rem;
	overflow-x: hidden;
	overflow-y: auto;
	/* Scrollable contents if viewport is shorter than content. */
}

.sidebar .nav-link {
	font-weight: 500;
	color: #333;
}

.sidebar .nav-link.active {
	color: #007bff;
}

.sidebar .nav-link:hover span.icon {
	color: #007bff;
}

.sidebar .nav-item span.icon {
	margin-right: 10px;
}

.sidebar .nav-item span.icon.submenu {
	margin-left: 20px;
	margin-right: 5px;
}

.sidebar span.row-count {
	color: #999;
	font-size: 0.8rem;
}

.sidebar .nav-item.separator {
	border-bottom: 1px solid #dee2e6;
}

.sidebar-heading {
	font-size: .75rem;
	text-transform: uppercase;
}

/****************************************/
/* Footer */

.footer {
	height: 40px;
}

/****************************************/
/* Table */

#table {
	height: calc(100vh - 180px);
	border-collapse: separate !important;
	border-spacing: 0;
}

#table.subtitle {
	height: calc(100vh - 200px);
	border-collapse: separate !important;
	border-spacing: 0;
}

#table.subtitle.info {
	height: calc(100vh - 255px);
	border-collapse: separate !important;
	border-spacing: 0;
}

.table-title {
	max-width: 60%;
}

.table-title h6 {
	line-height: 22px;
}

.table-ks thead tr:nth-child(1) th {
	border-top: 1px solid #dee2e6;
	border-right: 1px solid #dee2e6;
	border-bottom: none;
	border-left: none;
}

.table-ks thead tr:nth-child(2) th, .table-ks tbody tr td {
	border-right: 1px solid #dee2e6;
	border-bottom: none;
	border-left: none;
}

.table-ks tbody tr:last-child td {
	border-bottom: 1px solid #dee2e6;;
}

.table-ks thead {
	position: sticky;
	top: 0px;
	z-index: 100;
}

.table-ks th:first-child, .table-ks td:first-child {
	border-left: 1px solid #dee2e6;
	left: 0px;
	min-width: 50px;
	position: sticky;
	white-space: nowrap;
	z-index: 10;
}

.table-ks tr:nth-of-type(2n+1) td:first-child {
	background-clip: padding-box;
	background-color: #eeeeee;
}

.table-ks tr:nth-of-type(2n) td:first-child {
	background-clip: padding-box;
	background-color: #ffffff;
}

.table-ks th, #main table td {
	background-clip: padding-box;
	border: 1px solid #dee2e6;
	white-space: nowrap;
}

.table-ks td.icons button {
	z-index: 1000;
}

.table-ks td.icons button.button-version {
	width: 32px;
}

.table-ks td {
	z-index: 100;
}

.table-ks td.icons.edit {
	min-width: 120px;
	max-width: 120px;
	white-space: normal;
}

.table-ks td.icons.edit button:not(:last-child) {
	margin-bottom: 5px;
}

.table-ks td.calculated {
	color: #666666;
	font-style: italic;
}

.table-ks td.datenpunkt {
	cursor: pointer;
	min-width: 500px;
}

.table-ks td.datenpunkt:hover {
	background-color: #b0ffb0;
}

.table-ks td.beschreibung {
	cursor: help;
}

.table-ks td i.virtuell {
	color: #007bff;
	cursor: help;
	position: absolute;
	right: 0;
	top: 0;
}

.table-ks td a.button-cell-edit {
	height: 31px;
	position: absolute;
	right: 0;
	top: 0;
	width: 31px;
}

#table-modal th, .table-ks th {
	background-color: #b9bbbe;
}

.table-ks th a {
	color: #ffffff;
}

.table-ks th a:hover {
	text-decoration: none;
}

.table-ks th a.sort i {
	color: #007bff;
	padding-left: 5px;
}

.table-ks th a.sort i.fa-sort {
	color: #007bff77;
}

.table-ks .custom-checkbox {
	z-index: 1;
}

#button-filter-warning {
	color: #007bff;
	cursor: help;
	vertical-align: middle;
}

/****************************************/
/* Forms */

.form-control {
	display: inline;
}

tr.table-danger td {
	background-color: #f5c6cb !important;
}

#form-modal table th {
	font-weight: normal;
	min-width: 110px;
}

#form-modal table td {
	width: 100%
}

.modal-header.draggable {
  	cursor: move;
}

.modal-body.icon {
	display: flex !important;
}

.modal-body.icon i {
	margin-right: 10px;
	top: 12px;
}

.form-required::before {
	color: #dc3545;
	content: "*"; 
	position: relative;
	top: -5px;
}

button.password {
	height: 35px;
	position: relative;
	top: -2px;
	width: 35px;
}

button.password:first-of-type {
	margin-left: 20px;
}

button.password  i {
	position: relative;
	left: -5px;
}