body {
  font-family: 'Cairo', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #222222;
  background-color: #fff;
  margin: 0;
}
html,
body,
.wrapper,
#left,
#main {
  height: 100%;
}
* {
  box-sizing: border-box;
}
h1,
h2,
h3,
h4 {
  font-weight: 600;
  margin: 0;
  padding: 0 !important;
}
h1 {
  font-size: 22px;
}
h2 {
  font-size: 18px;
}
h3 {
  font-size: 16px;
}
h4 {
  font-size: 14px;
}
h5,
h6 {
  font-weight: normal;
}
strong,
b,
.bold {
  font-weight: 600;
}
p b {
  font-weight: 700;
}
.flex-box {
  display: flex;
}
.flex-box .col3-1 {
  flex: 1 30%;
  max-width: 33.3%;
}
.flex-box .col3-2 {
  flex: 2 60%;
  max-width: 66.6%;
}
.logo img {
  width: 100%;
}
ol {
  padding-left: 16px;
}
.text-right {
  text-align: right;
}
h3 + table {
  margin-top: 5px !important;
}
.negative {
  color: #bc0d47;
}
.nowrap {
  white-space: nowrap;
}
.help {
  cursor: help;
}
.hidden {
  height: 0;
  overflow: hidden;
  margin: 0 !important;
}
/*
 * Base
 */
#left {
  position: relative;
  float: left;
  width: 270px;
  height: 100%;
  overflow-y: auto;
  background: linear-gradient(90deg, #6F7E82 90px, #222222 0);
  z-index: 100;
}
#left #left_before {
  display: none;
}
#main {
  display: flex;
  flex-direction: column;
  margin-top: -1px;
  background: #f6f7fa;
}
#main .page-title {
  width: 100%;
  min-height: 70px;
  padding: 20px 30px;
  background: #fff;
}
#main .content {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 30px 15px 25px 15px;
  overflow: hidden;
}
#main .content > .row {
  margin: 0 -10px;
}
#main .content > form {
  max-width: 99%;
}
#main .container {
  position: relative;
  width: 100%;
  max-width: 100%;
  padding: 10px 12px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 0px;
  box-shadow: 5px 5px 20px -5px rgba(0, 0, 0, 0.1);
  -webkit-box-shadow: 5px 5px 20px -5px rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 5px 5px 20px -5px rgba(0, 0, 0, 0.1);
}
#main .container:hover {
  border: 1px solid #e1e1e1;
}
#main .container.bg_red {
  background-color: #bc0d47;
  color: white;
}
#main .container.bg_red a {
  color: white !important;
}
#main .container.bg_green {
  background-color: #6F7E82;
}
#main .container > h3 {
  margin-bottom: 7px;
}
#main .container.overflow {
  height: 100%;
  padding-top: 0;
  overflow: auto;
}
#main .flex-columns {
  display: flex;
  flex-direction: column;
  height: 100%;
}
#main .max-height {
  height: 100%;
}
#main .table th a,
#main .table td a {
  color: #000;
}
#main .table th a:hover,
#main .table td a:hover {
  text-decoration: underline;
}
#main .table th .fas,
#main .table td .fas {
  margin-left: 3px;
  opacity: 0.6;
}
#main .form.user .row {
  margin: 0 -5px;
}
#main .form.user .row > * {
  padding: 0 5px;
}
#main .form.user .row.nomargin {
  margin: 0;
}
#main .form.user .row.nomargin > * {
  padding: 0;
}
#main .form.user .container.cols {
  margin-bottom: 25px;
}
#main .form.user .container.cols h2 {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 17px;
  font-weight: 300;
  text-transform: uppercase;
}
#main .form.user .container.cols .form-control,
#main .form.user .container.cols .form-select,
#main .form.user .container.cols .form-check {
  background-color: #F4F4F4;
  border: none;
  border-radius: 0;
}
#main .form.user .container.cols .form-green .form-control,
#main .form.user .container.cols .form-green .form-select,
#main .form.user .container.cols .form-green .form-check {
  background-color: #edffde;
}
#main .form.user .container.cols .form-red .form-control,
#main .form.user .container.cols .form-red .form-select,
#main .form.user .container.cols .form-red .form-check {
  background-color: #f8c7c7;
}
#main .form.user .container.cols .form-check {
  padding: 5px 5px 5px 30px;
  margin: 0;
}
#main .form.user .container.cols .form-check-input[type="checkbox"] {
  border: 1px solid #222;
  border-radius: 0;
}
#main .form.user .container.cols .col-form-label {
  padding: 3px 0;
}
#main .form.user .container.cols .input-date {
  width: 100%;
}
#main .form.user .container.cols #user_roles,
#main .form.user .container.cols #user_time_recording_weekend,
#main .form.user .container.cols #user_minijob,
#main .form.user .container.cols #user_distance,
#main .form.user .container.cols .empty {
  background-color: #F4F4F4;
}
#main .form.user .container.cols .empty {
  padding: 5px 0;
}
#main .form.user .container.cols .hidden {
  width: 0;
  padding: 0 !important;
  overflow: hidden;
}
#main .user-bottom .form-bottom {
  margin-top: 10px;
}
#main .delete.user {
  margin-top: -30px;
}
@media only screen and (max-width: 1280px) {
  #main .content {
    overflow-y: auto;
  }
}
@media only screen and (max-width: 767px), (min-device-width: 768px) and (max-device-width: 1024px) {
  body {
    font-size: 16px;
  }
  #left {
    float: none;
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
  }
  #left #left_before {
    display: block;
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: -1;
  }
  #main {
    height: 100%;
    padding-top: 50px;
  }
  #main .content {
    padding: 20px 0 0 0;
  }
  #main .page-title {
    padding: 20px;
  }
}
@media print {
  #left,
  .page-title,
  .filter.active {
    display: none;
  }
  #main {
    padding-left: 0;
    background: none;
  }
  #main .content {
    padding: 0;
    width: 100%;
  }
  #main .container {
    max-width: none !important;
    margin: 0 !important;
    border: none;
  }
}
/*
 * Login-Site
 */
.login {
  height: 100%;
  margin: 0;
}
.login-form {
  width: 400px;
  max-width: 100%;
  margin: 0 auto;
}
.login-form .logo {
  width: 170px;
  margin: 50px auto;
}
.login-form h1 {
  margin-bottom: 20px;
}
.login-form input.text,
.login-form .btn-submit {
  font-size: 18px;
}
.login-form .alert {
  margin-top: 10px;
}
.login-form .input-group {
  margin-bottom: 20px;
}
.login-form input.text {
  width: 100%;
  padding: 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
}
.login-form .form-submit {
  margin-top: 30px;
}
.login-form .btn-submit {
  padding: 15px;
  width: 100%;
  border: 1px solid #eee;
  border-radius: 5px;
  background: #eee;
}
.login-form .btn-submit:hover {
  color: #fff;
  border-color: #434959;
  background: #424a5f;
}
div.login-img {
  background: url("../img/login-xgGuDyi.jpg") no-repeat left top / cover;
}
div.login-img h1 {
  color: white;
  font-size: 60px;
  margin: 100px 0 0 100px;
}
@media only screen and (max-width: 767px), (min-device-width: 768px) and (max-device-width: 1024px) {
  .login {
    height: auto;
  }
  .row.login {
    flex-direction: column-reverse;
  }
  .login-form .logo {
    width: 130px;
    margin: 30px auto;
  }
  div.login-img h1 {
    font-size: 30px;
    margin: 30px 10px;
  }
}
/*
 * Menu
 */
#left .logo {
  float: right;
  width: 100px;
  margin: 30px 40px;
}
#left .flex-box {
  flex-direction: column;
  height: 100%;
  padding: 30px 0;
}
#left .flex-box > div {
  color: #fff;
}
#left .flex-box .profile i:hover,
#left .flex-box .profile .active i {
  color: #bc0d47;
}
#left .flex-box .profile a {
  font-size: 12px;
  text-transform: uppercase;
}
#left .flex-box .profile a:hover {
  color: #222222;
}
#left .fa-fw {
  font-size: 36px;
  margin-left: 21px;
}
#left .fa-lg {
  font-size: 22px;
  display: block;
  margin-bottom: 5px;
}
#left ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}
#left ul.level1 {
  margin-top: 80px;
  width: 90px;
}
#left li {
  position: relative;
  font-size: 12px;
  text-transform: uppercase;
  text-align: center;
  padding: 20px 0;
  cursor: pointer;
}
#left li:hover,
#left li.active {
  background-color: #222222;
}
#left a {
  color: #fff;
  text-decoration: none;
}
#left ul.level2 {
  position: absolute;
  top: 0;
  left: 90px;
  width: 0;
  overflow: hidden;
  transition: 0.2s;
  background-color: #222222;
}
#left ul.level2 li {
  min-width: max-content;
  text-align: left;
  color: #b7bac0;
  font-size: 14px;
  text-transform: none;
  padding: 0 0 20px 20px;
}
#left ul.level2 li a {
  color: #b7bac0;
}
#left ul.level2 li a:hover {
  color: #fff;
}
#left ul.level2 li.active a {
  color: #fff;
}
#left ul.level2 li.title {
  color: #eee;
  font-size: 16px;
  font-weight: normal;
  margin: 40px 0 0 0;
  text-transform: uppercase;
}
#left ul.level1 {
  width: 90px;
}
#left ul.level1 > li.active ul.level2,
#left ul.level1 > li:hover ul.level2 {
  width: 180px;
}
#left li span.count {
  display: inline-block;
  width: 10px;
  height: 10px;
  background: red;
  border-radius: 50%;
  vertical-align: middle;
  margin-left: 5px;
}
.mobile_header {
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  height: 50px;
  background: #222222;
  z-index: 100;
}
.mobile_header .logo {
  float: right;
  width: 100px;
  margin: 7px 20px;
}
.menu_icon {
  display: none;
  position: fixed;
  top: 12px;
  left: 20px;
  width: 30px;
  padding: 10px 0;
  cursor: pointer;
  z-index: 100;
}
.menu_icon .inner,
.menu_icon::before,
.menu_icon::after {
  height: 3px;
  border-radius: 2px;
  background: #ccc;
}
.menu_icon::before,
.menu_icon::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
}
.menu_icon::before {
  top: 0;
}
.menu_icon::after {
  bottom: 0;
}
@media only screen and (max-width: 767px), (min-device-width: 768px) and (max-device-width: 1024px) {
  .mobile_header,
  .menu_icon {
    display: block;
  }
}
/*
 * Scrollbar
 */
/* width */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
/* Track */
::-webkit-scrollbar-track {
  background: #f1f1f1;
}
/* Handle */
::-webkit-scrollbar-thumb {
  background: #ccc;
}
/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #999;
}
/*
 * Content
 */
#main a {
  color: #bc0d47;
  text-decoration: none;
}
#main a:hover {
  text-decoration: underline;
}
#main .page-name {
  font-weight: 400;
  margin-left: 15px;
}
#main .page-name:before {
  content: '|';
  font-weight: 400;
  margin-right: 15px;
}
#main .page-name b {
  color: #bc0d47;
}
#main .header-menu-right {
  position: absolute;
  right: 20px;
  top: 15px;
  width: 50%;
  text-align: right;
}
#main .header-menu-right .form-select {
  cursor: pointer;
}
#main .header-menu-right .row {
  align-items: center;
  justify-content: right;
}
#main .header-menu-right .row.inline > * {
  flex: 0 0%;
}
#main .header-menu-right #year {
  width: 100px;
}
#main .header-menu-right #month {
  width: 130px;
}
#main .header-menu-right i {
  cursor: pointer;
}
#main .header-menu-right .buttons {
  width: 245px;
}
#main .header-menu-right button.browse {
  width: 70px;
  font-size: 14px;
}
#main .header-menu-right .btn-outline-secondary {
  border: 1px solid #ccc;
  background-color: #fff;
}
#main .header-menu-right .btn-outline-secondary.active {
  color: #bc0d47;
  border-color: #bc0d47;
}
#main .header-menu-right .btn-outline-secondary:hover {
  color: #fff;
  background-color: #424a5f;
}
#main .header-search-right {
  position: absolute;
  right: 20px;
  top: 20px;
  text-align: right;
}
#main .scroll-container {
  display: flex;
  flex-direction: column;
  height: 100%;
  max-height: 100%;
}
#main .scroll {
  height: 100%;
  overflow: auto;
}
#main .before-table {
  margin-bottom: 20px;
}
#main .before-table a.btn {
  margin-right: 10px;
}
#main .before-table .error {
  padding: 15px 0 0 15px;
}
#main .before-table .btn-icon {
  color: #6F7E82;
  font-size: 1.8em;
  padding-top: 2px;
  cursor: pointer;
}
#main .before-table .btn-icon:hover {
  color: #222;
}
#main .before-table .btn-right {
  float: right;
  margin-right: 20px;
}
#main .after-table {
  margin-top: 20px;
}
#main .row.border-top {
  padding-top: 30px;
  margin-top: 30px !important;
  border-top: 1px solid #999;
}
#main .section-border-bottom {
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid #999;
}
#main .row .col.files {
  flex: 0 0 auto;
  width: 75%;
}
#main .row .col.sidebar {
  flex: 0 0 auto;
  width: 25%;
  margin-top: 50px;
}
#main .row.travel {
  overflow: auto;
}
#main .text-red {
  color: #bc0d47;
}
#main .text-orange {
  color: #fc0;
}
#main .text-green {
  color: green;
}
#main .text-grey {
  color: #999;
}
#main .error {
  color: red;
}
#main .bg-orange {
  background: #fc0;
}
#main .bg-green {
  background: green;
  color: #fff;
}
#main .bg-red {
  background: #bc0d47;
  color: #fff;
}
#main dialog {
  position: fixed;
  left: 100px;
  top: 10%;
  width: 600px;
  max-height: 80vh;
  overflow: auto;
  border: 0;
  padding: 0;
  background: #fff;
  z-index: 100;
  transition: 0.2s;
}
#main .dialog-content {
  padding: 20px;
  border: 1px solid #999;
  background: #fff;
}
#main .dialog-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 22px;
}
#main .dialog-header .dialog-title {
  margin-bottom: 0;
  line-height: 1.5;
}
#main .dialog-header .dialog-close {
  color: #bc0d47;
  font-size: 30px;
  line-height: 0;
  padding: 0 12px;
  margin-top: -6px;
  margin-right: -10px;
}
#main .dialog-body .container {
  padding-top: 18px;
}
#main dialog::before {
  content: '';
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background: #00000055;
  z-index: -1;
}
#main tr.dialog-open,
#main tr.edit {
  cursor: pointer;
}
#main tr.dialog-open:hover td,
#main tr.edit:hover td {
  background: #f9f9f9;
}
#loading {
  display: none;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  background: rgba(250, 250, 250, 0.9);
}
#loading.visible {
  display: flex;
}
.spinner-border {
  color: #bc0d47;
  --bs-spinner-width: 10rem;
  --bs-spinner-height: 10rem;
  --bs-spinner-border-width: 0.2em;
  padding-top: 25px;
  text-align: center;
  animation-duration: 3s;
}
.spinner-border img {
  width: 80px;
}
.box-footnote {
  font-size: 9px;
  margin: -20px 10px 0 0;
  color: #bc0d47;
}
.notice {
  margin-bottom: 10px;
}
.notice .time {
  font-weight: 400;
}
.filter-label {
  display: inline-block;
  width: max-content;
  margin-left: 10px;
  font-weight: bold;
}
.row-filter label {
  display: inline-block;
}
.filter-box {
  display: inline-block;
  width: 150px;
  margin: 0 10px;
  vertical-align: middle;
}
/* Buttons 
@default: #6F7E82;
@success: #497437;
@grey: #dddddd;
@danger: #A51051;*/
.btn {
  position: relative;
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 4px;
  border: 0;
}
.btn.btn-default,
.btn.btn-delete,
.btn.btn-delete2 {
  background-color: #6F7E82;
  color: white !important;
  text-transform: uppercase;
}
.btn.btn-default:hover,
.btn.btn-delete:hover,
.btn.btn-delete2:hover {
  background-color: #222222;
  text-decoration: none !important;
}
.btn.btn-success {
  background-color: #497437;
  color: white !important;
  text-transform: uppercase;
}
.btn.btn-success:hover {
  background-color: #2E4E20;
  text-decoration: none !important;
}
.btn.btn-danger {
  background-color: #A51051;
  color: white !important;
  text-transform: uppercase;
}
.btn.btn-danger:hover {
  background-color: #6E0635;
  text-decoration: none !important;
}
.btn.btn-delete {
  font-size: 1rem;
  font-weight: 600;
  padding: 3px 10px;
}
.btn.btn-delete2 {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0px 5px;
  background-color: #6E0635;
}
.btn span.count {
  position: absolute;
  right: -7px;
  top: -10px;
  width: 20px;
  height: 20px;
  text-align: center;
  line-height: 20px;
  background: red;
  border-radius: 50%;
  box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.7);
}
.btn.btn-sm {
  font-size: 0.8em;
}
.btn.btn-large {
  font-size: 1.1em;
  padding: 10px 50px;
}
.filter .btn {
  width: 100%;
  font-size: 0.9rem;
}
.row.filter {
  align-items: center;
  max-width: 100%;
  margin: 0 0 -20px 0;
}
.row.filter > * {
  width: auto;
  margin-bottom: 15px;
}
.row.filter input[type="date"] {
  min-width: 130px;
}
.row.filter input[type="date"].inline {
  display: inline;
  width: 130px;
}
.row.filter label {
  margin-right: 10px;
}
.row.filter select {
  display: inline-block;
  width: auto;
}
.row.filter .float-right {
  margin-left: auto;
  margin-right: 15px;
}
.row.filter label.sum {
  font-size: 1.3em;
  text-transform: uppercase;
}
.row.filter div.sum {
  display: inline-block;
  font-size: 2em;
  font-weight: bold;
}
/* 
 * Borders
 */
.delete.border-top {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #bc0d47;
}
/* Spaceings */
.top-10 {
  margin-top: 10px;
}
.bottom-5 {
  margin-bottom: 5px;
}
.bottom-10 {
  margin-bottom: 10px;
}
.bottom-20 {
  margin-bottom: 20px;
}
.bottom-30 {
  margin-bottom: 30px;
}
.bottom-50 {
  margin-bottom: 50px;
}
.bottom-100 {
  margin-bottom: 100px;
}
/*
 * Tables
 */
th,
td {
  vertical-align: middle;
  padding: 5px;
}
td.userroles span,
td.userrights span {
  font-size: 12px;
  text-transform: uppercase;
  padding: 4px 6px;
  margin: 0 2px 0 0;
  border-radius: 4px;
  color: white;
  white-space: nowrap;
}
td.userroles span {
  background-color: #151E38;
}
td.userrights span {
  background-color: #67A2C0;
}
.container tbody tr:hover {
  background: #f9f9f9;
}
.container.overflow {
  /*     th { 
        padding-top: 10px;
        box-shadow: inset 0 -1px 0 #ccc;
    } */
}
.container.overflow thead {
  position: sticky;
  top: 0;
  z-index: 2;
}
.table.show th {
  font-weight: 400;
  width: 25%;
}
table.matrix {
  position: relative;
  width: 98%;
}
table.matrix thead {
  position: sticky;
  top: 0;
}
table.matrix th {
  padding: 10px;
  background: #f6f7fa;
}
table.matrix tr {
  border-bottom: 10px solid #eee;
}
table.matrix tr:last-child {
  border: none;
}
table.matrix td {
  padding: 15x 10px !important;
  vertical-align: top;
}
.table_container {
  max-width: 100%;
  overflow-x: auto;
}
.rights_container {
  max-height: 600px;
  overflow-y: auto;
}
/*
 * Tooltips
 */
.custom-tooltip {
  --bs-tooltip-color: #eee;
  --bs-tooltip-bg: #222222;
  --bs-tooltip-border-radius: 4px;
  --bs-tooltip-font-size: 12px;
  --bs-tooltip-padding-x: 10px;
  --bs-tooltip-padding-y: 10px;
  --bs-tooltip-max-width: 450px;
}
.custom-tooltip .tooltip-inner {
  text-align: left;
}
.ctm-title {
  position: relative;
  display: inline-block;
}
.ctm-title::after {
  content: '';
  position: absolute;
  left: 100%;
  top: -5px;
  width: max-content;
  max-width: 200px;
  color: #eee;
  font-size: 12px;
  background: #222222;
  z-index: 10;
  border-radius: 4px;
  margin-left: 5px;
  transition: opacity 0.3s ease;
  opacity: 0;
}
.ctm-title:hover::after {
  content: attr(ctm-title);
  padding: 8px 10px;
  opacity: 1;
}
.ctm-title.left:hover::after {
  left: unset;
  right: 100%;
  margin-left: 0;
  margin-right: 5px;
}
/*
 * Fußnoten
 */
.footnotes {
  position: relative;
  bottom: 5px;
}
.footnotes p {
  margin: 0;
  padding: 0;
  font-size: 11px;
}
/*
 * Form
 */
.form-group.row {
  margin-bottom: 10px;
}
.row.form h2 {
  margin-bottom: 10px;
}
.row.form + .row.form {
  margin-top: 20px;
}
.row.center {
  align-items: center;
}
.form-control,
.form-select {
  font-size: 14px;
  border-radius: 4px;
}
.form-control,
.form-select {
  height: 32px;
}
.form-control {
  padding: 3px 10px;
}
textarea.form-control {
  height: unset;
}
.form-control.diff {
  color: red;
}
.form-check {
  margin: 8px 0;
}
.form-check span.date {
  font-size: 10px;
  font-style: italic;
}
.form-check-inline .form-check-label {
  margin-right: 20px;
}
.checkbox-right .form-check {
  padding: 0;
}
.checkbox-right .form-check-input {
  float: unset;
  margin-left: 12px;
}
.checkbox-right label {
  float: left;
  width: 25%;
  padding: 0 12px;
}
.form-bottom {
  margin-top: 30px;
}
.form-bottom .btn {
  margin-right: 5px;
}
.form-action {
  padding-top: 20px;
  margin-top: 20px;
  border-top: 1px solid #999;
}
.select2-container--default .select2-selection--single,
.select2-container--default .select2-selection--multiple {
  height: 32px;
  padding: 2px 0;
  border-color: #ddd;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 100%;
}
.select2-container--default .select2-search--dropdown .select2-search__field {
  outline: none;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice {
  margin-top: 2px;
}
.select2-container--bootstrap-5 {
  display: inline-block;
}
.select2-container--bootstrap-5 .select2-selection--single {
  font-size: 14px;
  outline: none;
  box-shadow: none;
  border-color: #ced4da;
  border-radius: 4px;
}
.select2-container--bootstrap-5 .select2-dropdown .select2-results__options .select2-results__option {
  font-size: 14px;
}
.select2-container--bootstrap-5 .select2-dropdown .select2-search .select2-search__field:focus {
  border-color: #ced4da;
  box-shadow: none;
}
.select2-container--bootstrap-5 .select2-selection--multiple {
  min-height: unset;
  padding: 3px 10px;
}
.select2-container--bootstrap-5 .select2-selection--multiple .select2-selection__rendered .select2-selection__choice {
  font-size: 14px;
}
.select2-container--bootstrap-5 .select2-selection--multiple .select2-selection__rendered .select2-selection__choice .select2-selection__choice__remove {
  width: 10px;
  height: 10px;
  padding: 0;
  margin-right: 10px;
}
.select2-container--bootstrap-5 .select2-selection--multiple .select2-selection__clear {
  top: 24px;
}
form h4,
form h5,
form h6 {
  border-bottom: 1px solid #999;
}
form .form-row label,
form .form-row input,
form .form-row select {
  display: inline-block;
}
form .form-row label {
  margin-right: 10px;
}
form input {
  outline: none;
}
label.inline,
label.inline + .form-control,
label.inline + .form-select {
  display: inline-block;
  margin-right: 10px;
}
.inline-row {
  display: flex;
  justify-content: space-between;
}
.inline-row span {
  padding-top: 7px;
}
input[inputmode="decimal"] {
  text-align: right;
}
.input-date {
  width: 150px;
}
.sidebar .form-control,
.sidebar .input-submit {
  width: 100%;
}
.form-check .form-check-input.checkbox-offset {
  margin: 0.5em 0.5em 0.5em 25%;
}
.collection button {
  border: none;
  border-radius: 3px;
  font-size: 30px;
  line-height: 0.9;
  margin-top: 5px;
}
.select-dropdown {
  position: relative;
}
.select-dropdown .select {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  border: 1px solid #dee2e6;
  border-radius: 5px;
  padding: 0.375rem 2.25rem 0.375rem 0.75rem;
  cursor: default;
  background: #fff no-repeat right 0.75rem center / 16px 12px;
  background-image: url("data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 16 16%27%3e%3cpath fill=%27none%27 stroke=%27%23343a40%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27 stroke-width=%272%27 d=%27m2 5 6 6 6-6%27/%3e%3c/svg%3e");
}
.select-dropdown .select.disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.select-dropdown .pulldown {
  position: absolute;
  left: 0;
  top: 34px;
  width: max-content;
  max-height: 0;
  padding: 0;
  border: 0;
  overflow: hidden;
  background: #fff;
  border-color: #ccc;
  border-radius: 3px;
  transition: 0.1s;
  z-index: 2;
}
.select-dropdown .pulldown.open {
  max-height: 300px;
  overflow: auto;
  border: 1px solid #ccc;
}
.select-dropdown .pulldown .option {
  padding: 0 0.75rem;
}
.select-dropdown .pulldown .option:hover {
  background: #eee;
}
.select-dropdown .pulldown .separator {
  border-top: 2px solid #ccc;
}
.select-dropdown .pulldown label {
  font-size: 13px;
  font-weight: 400;
  width: calc(100% - 20px);
  padding: 6px 0;
  white-space: nowrap;
}
.select-dropdown .pulldown input[disabled="disabled"] + label {
  opacity: 0.5;
}
option.done,
.select2-results__option.done {
  background: #dfc;
}
.reset {
  margin: 0 0 0 3px;
}
.reset a {
  font-size: 14px;
}
.selector {
  cursor: pointer;
}
.selector:hover {
  color: #bc0d47;
  text-decoration: underline;
}
.loading {
  bottom: 0;
  color: #555;
  display: none;
  left: 0;
  position: absolute;
  right: 0;
  text-align: center;
  top: 0;
  z-index: 10;
}
.loading.form {
  background: rgba(255, 255, 255, 0.5);
}
.loading.form .row {
  margin-top: 33px;
}
input[type='number'].text {
  -moz-appearance: textfield;
  appearance: textfield;
}
input.text::-webkit-outer-spin-button,
input.text::-webkit-inner-spin-button {
  -webkit-appearance: none;
  appearance: none;
}
input.info {
  background: #eee;
}
#presetForm .col-sm-3 {
  width: 40%;
}
#presetForm .col-sm-9 {
  width: 60%;
}
form.user .hidden {
  max-height: 0px;
  overflow: hidden;
}
form.search input[type="search"] {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}
form.search input[type="search"] + button {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}
@media only screen and (max-width: 767px), (min-device-width: 768px) and (max-device-width: 1024px) {
  .form-control,
  .form-select {
    font-size: 16px;
  }
  .form-bottom {
    margin: 15px 0;
    padding: 0 20px;
  }
  .form-bottom .btn {
    margin-bottom: 15px;
  }
  .delete.border-top {
    width: 100%;
    margin: 0;
    padding: 15px;
  }
  .row.form,
  .row.doc_container {
    flex-direction: column;
  }
  .row.form > div,
  .row.doc_container > div {
    width: 100%;
  }
  .row.form + .row.form {
    margin-top: 20px;
  }
  .checkbox-right label {
    width: unset;
  }
}
/*
 * Tabs
 */
.tab_nr {
  font-size: 20px;
  color: #222222;
  display: block;
  background: #eee;
  padding: 15px;
}
.tab_nr.success {
  color: #fff;
  background: #497437;
}
.tab_container {
  display: flex;
  flex-direction: column;
  max-height: 100%;
}
.tab_content {
  overflow-y: auto;
}
.tab {
  position: relative;
  height: 0;
  overflow: hidden;
}
.tab.active {
  height: 100%;
  overflow-y: auto;
}
.tab_body {
  height: calc(100% - 50px);
  overflow-y: auto;
  padding-right: 20px;
  margin-bottom: 20px;
}
.tab-row {
  display: flex;
}
.tab-row .col {
  flex: 0;
  min-width: 170px;
  text-align: center;
  color: #222222;
  background: #eee;
  margin: 0 10px 10px 0;
}
.tab-row .col a {
  display: block;
  color: #222222 !important;
  text-decoration: none !important;
  padding: 15px;
}
.tab-row .col a:hover {
  color: #999 !important;
}
.tab-row .col.active {
  color: #fff;
  background: #497437;
}
.tab-row .col.active a {
  color: #fff !important;
}
.tab-row .col span {
  display: block;
  padding: 15px;
}
/*
 * Widgets
 */
.widget {
  display: flex;
  flex-direction: column;
  position: relative;
  height: 300px;
  margin: 0 0 15px 0;
}
.widget.small {
  height: 125px;
}
.widget.small.first {
  margin-bottom: 10px;
}
.widget .row {
  padding: 1px 0;
  margin: 0;
  border-bottom: 1px solid #eee;
}
.widget .row.icon {
  color: #f70;
}
.widget .row .col,
.widget .row .col2 {
  flex: 1;
  width: auto;
  padding: 0 5px;
}
.widget .row .col2 {
  flex: 2;
}
.widget .row .col.small {
  flex: 0 0 30px;
}
.widget .row .col.small2 {
  flex: 0.5;
}
.widget .row .col.success {
  background: #74ECAF;
}
.widget .row .col.warning {
  background: #fdf299;
}
.widget .row .col.fail {
  background: #ffa2a2;
}
.widget .row.link:hover {
  background: #f9f9f9;
}
.widget .row .col.icon {
  max-width: 20px;
  color: #f70;
}
.widget .head,
.widget .widget_body {
  overflow-y: auto;
  scrollbar-gutter: stable;
}
.widget .head {
  min-height: 30px;
  font-weight: 400;
  line-height: 30px;
  margin: 5px 0 10px 0;
  background: #eee;
}
.widget .widget_body .row {
  border-bottom: 1px solid #eee;
}
.widget h3 span {
  font-size: 0.8em;
  font-weight: normal;
}
.widget .text-big td {
  font-size: 24px;
  font-weight: bold;
}
.widget .numbers .col-3 {
  white-space: nowrap;
  padding: 0 5px;
}
.widget .numbers .row:not(.ebit) {
  border: none;
  border-bottom: 1px solid #eee;
}
.widget.link,
.widget .link {
  cursor: pointer;
}
.widget i.top-right {
  position: absolute;
  right: 12px;
  top: 10px;
  font-size: 1.5em;
  cursor: pointer;
}
.widget i.top-right.first {
  right: 36px;
}
.widget i.fa-lg {
  font-size: 1.1em;
}
.widget i.fa-2x {
  font-size: 1.5em;
}
.widget .green {
  color: #36855D;
}
.widget .red {
  color: #bc0d47;
}
.widget .sign {
  display: inline-block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  text-align: center;
  line-height: 15px;
}
.widget .sign.warning {
  background: #e3e013;
}
.widget .sign.danger {
  background: #bc0d47;
  color: #fff;
}
table.list thead {
  position: sticky;
  top: 0;
  background: #fff;
}
table.list tbody tr:hover {
  background: #f9f9f9;
}
table.list th {
  font-weight: normal;
  padding: 8px 5px;
  background: #eee;
}
table.list th.thead-border {
  height: 1px;
  padding: 0px;
  background: #000;
}
table.list .btn {
  padding: 3px 10px;
}
table.list th.buttons {
  width: 80px;
}
table.list td {
  padding: 3px 5px;
}
table.list th.long,
table.list td.long {
  width: 10%;
}
table.list td.long {
  white-space: nowrap;
  cursor: help;
}
.sum_row {
  display: flex;
  justify-content: space-between;
}
.sum_row.first {
  font-weight: bold;
}
.sum_row.sum {
  margin-top: 5px;
  padding-top: 5px;
  border-top: 1px solid #222222;
}
.insurer {
  margin: 5px 0 5px 0;
  padding-bottom: 0px;
}
/*
 * Settings
 */
.step_nr {
  font-size: 20px;
  color: #222222;
  display: block;
  background: #eee;
  padding: 15px;
}
.step_nr.success {
  color: #fff;
  background: #497437;
}
/*
* Modal
*/
.modal-content {
  border: 0;
  border-radius: 0;
  width: 300px;
  margin-left: 100px;
}
.modal-content .modal-header {
  border: none;
  height: 50px;
  justify-content: space-between;
}
.modal-content .btn.close {
  color: #bc0d47;
}
.modal-content .btn.close span {
  font-size: 30px;
}
.modal-content #delete-button {
  position: absolute;
  bottom: 15px;
  right: 10px;
}
.modal-content h2 span {
  font-size: 0.8em;
  font-weight: normal;
}
.modal-content .row.form-row {
  align-items: center;
  margin: 10px 0;
}
.modal-content .row.form-row > * {
  flex: 1;
}
.modal-lg .modal-content {
  width: 700px;
  margin-left: 50px;
}
.modal-xl {
  --bs-modal-width: 1500px;
}
.modal-xl .modal-content {
  width: 100%;
  top: 20px;
  margin-left: 0;
}
@media only screen and (max-width: 767px), (min-device-width: 768px) and (max-device-width: 1024px) {
  .modal.fade .modal-dialog {
    padding-top: 50px;
  }
  .modal-lg .modal-content {
    width: 100%;
    margin-left: 0;
  }
  .modal-content {
    margin-left: 0;
  }
  .modal-content #delete-button {
    position: relative;
    right: unset;
    bottom: unset;
    left: auto;
  }
  .modal-content #delete-button .form-bottom {
    text-align: right;
  }
}
/*
 * Documentation
 */
.row.documentation {
  height: 100%;
}
.doc_menu h3 {
  margin-bottom: 20px;
}
.doc_menu h4 {
  margin-bottom: 3px;
}
.doc_menu ul {
  padding-left: 20px;
  list-style: square;
}
.doc_menu a {
  color: #222222 !important;
  text-decoration: none;
}
.doc_menu a:hover {
  color: #bc0d47 !important;
  text-decoration: none !important;
}
.doc_menu a.active {
  color: #bc0d47 !important;
}
.doc_content {
  overflow: hidden;
}
.doc_content h1,
.doc_content h2 {
  margin-bottom: 1em;
}
.doc_content h4 {
  margin-bottom: 3px;
}
.doc_content.overflow {
  overflow: auto;
  max-height: calc(100vh - 130px);
}
.doc_content.overflow h1,
.doc_content.overflow h2 {
  padding-top: 10px !important;
}
.doc_content table th {
  font-weight: 600;
  white-space: nowrap;
}
.doc_content .table-container {
  overflow: auto;
}
.doc_content .table-container.changelog {
  height: calc(100% - 120px);
}
.doc_content .table-container thead {
  position: sticky;
  top: 0;
  z-index: 2;
}
.doc_content ol + ul {
  margin-top: -1em;
  margin-bottom: 0;
}
@media only screen and (max-width: 767px), (min-device-width: 768px) and (max-device-width: 1024px) {
  .row.documentation {
    flex-direction: column;
    padding: 0 10px;
    margin: 0 !important;
  }
  .row.documentation .col-2,
  .row.documentation .col-9 {
    width: 100%;
    padding: 0;
    margin-bottom: 15px;
  }
}
i.red {
  color: #bc0d47;
}
/*
 * Tables
 */
tr.clickable {
  cursor: pointer;
}
tr.clickable:hover td {
  background: #f9f9f9;
}
.tab-row .col span.count {
  display: inline;
  padding: 0 5px;
  border-radius: 15px;
  background: #bc0d47;
  color: #fff;
  font-size: 0.9em;
  line-height: 1;
  margin-left: 10px;
}
/*
 * Service
 */
div.login-img {
  background: url("../img/login-xgGuDyi.jpg") no-repeat left top / cover;
}
.tab_container,
.tab_content,
.orderPositions {
  height: 100%;
}
/*
 * Aufträge
 */
/* .orderPositions {
    .sidebar {  width: 200px; }
    .list { width: calc(100% - 212px); }
} */
.btn-double {
  margin-left: auto;
  margin-top: 13px;
}
.btn-save i {
  color: #2E4E20;
  font-size: 22px;
  vertical-align: middle;
}
.resize {
  resize: horizontal;
  overflow: hidden;
}
/*
 * Standort
 */
.table.locations {
  position: relative;
  top: -5px;
  border-collapse: separate;
  border-spacing: 5px;
}
.table.locations th,
.table.locations td {
  border: none;
}
.table.locations th {
  padding-top: 10px;
  padding-bottom: 3px;
}
.table.locations td {
  background: #eee;
}
.table.locations td.edit {
  width: 40px;
  padding: 0;
}
.table.locations td i {
  padding: 10px;
  cursor: pointer;
}
.table.locations .active td.edit {
  background: #999;
}
.table.locations .active i {
  color: #fff;
}
.table.locations tr.disabled td {
  color: #fff;
  background: #999;
}
.col-elements {
  width: calc(100% - 100px);
  height: 100%;
}
.col-models {
  width: 100px;
}
#elements {
  height: 100%;
  padding-top: 0;
  overflow: auto;
  /* .building, .floor { 
        > .title { cursor: default; }
    } */
}
.element .title {
  display: inline-block;
  width: 80px;
  padding: 5px 0;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 5px;
}
.element.building > .title {
  background: #edffde;
}
.element.floor > .title {
  background: #deebff;
}
.element.room > .title {
  background: #f5d9ff;
}
.element.position > .title {
  background: #ddd;
}
.element.draggable {
  cursor: move;
}
.element.sub-level {
  padding-left: 80px;
}
.element .name {
  position: relative;
  display: inline-block;
  width: 150px;
}
.element .name input {
  width: 100%;
  height: 25px;
  margin-left: -4px;
  border: 1px solid;
  background: #fff;
  outline: none;
}
.element .name .remark {
  position: absolute;
  top: 5px;
  right: -15px;
  cursor: pointer;
}
.element.closed,
.element.disabled {
  height: 30px;
  overflow: hidden;
}
.element.closed .title,
.element.disabled .title {
  color: #999;
}
.element.disabled .title {
  color: #fff;
  background: #999;
}
.element.building > .name input {
  border-color: #edffde;
}
.element.floor > .name input {
  border-color: #deebff;
}
.element.room > .name input {
  border-color: #f5d9ff;
}
.element.position > .name input {
  border-color: #ddd;
}
.element .name input.error {
  border-color: red;
}
#elements {
  min-height: 300px;
}
#elements .element .title {
  padding: 2px 0;
}
#context-menu {
  background-color: #fff;
  border: thin solid #999;
  border-radius: 0 0.5em 0.5em;
  position: absolute;
  width: 200px;
  z-index: 999;
  padding: 10px;
}
#context-menu menu {
  padding: 0;
  margin: 5px 0;
}
#context-menu ul {
  padding-left: 20px;
}
#context-menu li {
  padding: 5px 0;
}
#context-menu li.hidden {
  margin: 0;
  padding: 0;
}
#context-menu li:hover {
  background: #eee;
}
#context-menu button {
  cursor: pointer;
  background: transparent;
  border: 0;
}
