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: 240px;
  height: 100%;
  overflow-y: auto;
  background: linear-gradient(90deg, #6F7E82 90px, #222222 0);
  z-index: 100;
}
#left #left_before {
  display: none;
}
#left .logo {
  float: right;
  width: 80px;
  margin: 30px 35px;
}
#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: 14px;
  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.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 .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: 150px;
}
#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;
}
tr.clickable {
  cursor: pointer;
}
tr.clickable:hover td {
  background: #f9f9f9;
}
.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: 250px;
  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;
}
.ctm-title-left::after {
  left: unset;
  right: calc(100% + 10px);
}
/*
 * 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;
}
.form-select {
  padding: 6px 36px 6px 10px;
}
.form-control[type="date"] {
  padding: 3px 5px;
}
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;
}
.select2-container .select2-selection--single .select2-selection__rendered {
  padding-left: 10px;
}
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;
  }
}
div.login-img {
  background: url("img/login.jpg") no-repeat left top / cover !important;
}
.settings.travel {
  max-height: calc(100vh - 130px);
  overflow: auto;
}
.settings.travel .container {
  padding: 0 20px;
}
.settings.travel .form-group {
  padding: 20px 0;
}
.settings.travel .form-group.last {
  border-bottom: 0;
}
.settings.travel input[inputmode="decimal"],
.settings.travel input[type="number"] {
  display: inline-block;
  max-width: 100px;
  text-align: right;
}
.settings.travel .table {
  width: auto;
  margin: 0 !important;
}
.settings.travel .table td {
  text-align: right;
}
.settings h3 {
  font-weight: bold;
  margin-bottom: 20px;
}
.user-options .mb-3 {
  margin-bottom: 0 !important;
}
tr.travel:hover td,
tr.travel-day:hover td {
  background: #f9f9f9;
}
tr.travel,
tr.travel-day td:not(.noedit) {
  cursor: pointer;
}
.infobox {
  font-size: 16px;
  color: #bc0d47;
  width: max-content;
  padding: 15px;
  margin-top: 20px;
  border: 1px solid #bc0d47;
  background: #f6f6a7;
}
.ellipsis {
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
a.ellipsis {
  display: inline-block;
}
.btn-danger.small {
  font-size: 10px;
  padding: 2px 6px;
}
#main .container.news {
  background: #fdfac1;
  margin-bottom: 20px;
}
#main .sidebar.overflow {
  height: calc(100% - 50px);
  overflow-y: auto;
}
#main .overflow-content {
  height: 100%;
  padding-right: 20px;
  overflow-y: auto;
}
#main .show_input {
  display: inline-block;
  color: #000;
  padding-top: 7px;
  margin-left: -10px;
}
#main table .nologin td {
  background: #fdd;
}
#main table.show tr.hidden {
  display: none;
  /* th, td {
                height: 0px;
                overflow: hidden;
                padding: 0;
            } */
}
#main .col-6.left .form-check {
  margin: 5px 0;
}
#main .page-actions {
  margin-bottom: 50px;
}
#main .page-actions h2 {
  margin-bottom: 20px;
}
#main .page-actions .btn-default {
  font-size: 0.9rem;
}
#main .form.user select:disabled {
  --bs-form-select-bg-img: unset;
}
#main .form.user .row.hours .col-1 input {
  background-color: #dee;
}
#main .form.user .row.hours .col-1.changed input {
  background-color: #f9f9f9;
}
#main .form.user .row.hours .col-2 {
  width: 13.66%;
}
#main .form.user .row.hours label {
  width: 3%;
  margin-left: 1%;
}
/*
 * Reise
 */
#main .row.travel .col.multistep-form {
  flex: 0 0 auto;
  width: 80%;
  height: 100%;
}
#main .row.travel .col.multistep-form.small {
  width: 60%;
  font-size: 1em;
  height: 100%;
}
#main .row.travel .col.sidebar {
  flex: 0 0 auto;
  width: 20%;
  height: calc(100% - 60px);
  margin-top: 60px;
  overflow-y: auto;
}
#main .row.travel .col.sidebar .row {
  margin-top: 5px;
  margin-bottom: 5px;
}
#main .row.travel .col.sidebar .invoice .row > .col-3,
#main .row.travel .col.sidebar .invoice .row > .col-4 {
  text-align: right;
  padding-left: 0;
}
#main .row.travel .col.sidebar div.diff {
  color: red;
}
#main .row.travel .col.sidebar .row.sum {
  position: relative;
  padding-top: 3px;
  font-weight: bold;
}
#main .row.travel .col.sidebar .row.sum::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  margin: 0 10px;
  border-top: 1px solid #999;
}
#main .row.travel .col.sidebar #sidebar_total {
  font-weight: bold;
}
#main .row.travel .col.sidebar .container + .container {
  margin-top: 10px;
}
#main .row.travel .col.sidebar .document {
  display: flex;
  align-items: center;
}
#main .row.travel .col.sidebar .document .fa-lg {
  font-size: 1.2em;
  margin-right: 3px;
}
#main .row.travel .col.sidebar .document a {
  display: inline-block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 0.85em;
}
#main .row.travel .col.sidebar a {
  color: #222222 !important;
}
form.travel {
  height: 100%;
}
.multistep-form form[name="travel"] {
  height: 100%;
}
.multistep-form .tab_container {
  display: flex;
  flex-direction: column;
  max-height: 100%;
}
.multistep-form .tab_content {
  overflow-y: auto;
}
.multistep-form .tab {
  height: 0;
  overflow: hidden;
}
.multistep-form .tab.active {
  height: auto;
  max-height: 100%;
  overflow-y: auto;
}
.multistep-form .step-row {
  display: flex;
}
.multistep-form .step {
  max-width: 100px;
  text-align: center;
  color: #222222;
  display: block;
  background: #eee;
  margin: 0 10px 10px 0;
}
.multistep-form .step a {
  display: block;
  padding: 15px;
  color: #222222 !important;
  text-decoration: none !important;
}
.multistep-form .step a:hover {
  color: #999 !important;
}
.multistep-form .step.active {
  color: #fff;
  background: #497437;
}
.multistep-form .step.active a {
  color: #fff !important;
}
.multistep-form .step span {
  display: block;
  padding: 15px;
}
.multistep-form label:not(.col-form-label) {
  line-height: 34px;
}
.multistep-form .form-check .form-check-input {
  margin-top: 9px;
}
.multistep-form input[readonly="readonly"] {
  background: #eee;
}
.multistep-form .form-bottom {
  margin-top: 0;
  padding: 10px 0;
}
.multistep-form .sleepovers .col-2:last-of-type {
  width: 13.66666667%;
  padding-right: 5px;
}
.multistep-form .sleepovers .actions {
  display: flex;
  align-items: center;
  width: 3%;
  padding: 0 5px 5px 5px;
}
.multistep-form .sleepovers .add_item_link,
.multistep-form .sleepovers .delete_item_link {
  width: 25px;
  height: 25px;
  padding: 5px;
  font-size: 20px;
  line-height: 1;
}
.multistep-form .sleepovers .add_item_link span,
.multistep-form .sleepovers .delete_item_link span {
  position: relative;
  top: -5px;
}
.multistep-form option.hidden {
  display: none;
}
.multistep-form.released form[name="travel"] .container:not(.files)::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  background: rgba(0, 0, 0, 0.01);
}
.multistep-form.released form[name="travel"] a[disanled=""] {
  pointer-events: none;
}
.multistep-form h2 + h2 {
  margin-top: -20px;
}
.multistep-form .user_pn {
  font-size: 0.9em;
}
.multistep-form #travel_privateCarKm,
.multistep-form #car_expenses {
  max-width: 80px;
}
.multistep-form #btn_scanner {
  display: none;
  font-size: 14px;
  padding: 15px 0;
}
.container.expenses h4 {
  margin: 20px 0;
  border-color: #ccc;
}
.accounting h2 {
  font-size: 26px;
  margin: 30px 0;
}
.accounting .row.status {
  margin: 0;
}
.accounting .row.status div {
  color: #999;
  font-size: 1.1em;
  background: #ddd;
  padding: 20px 10px;
}
.accounting .row.status div.active {
  color: #000;
  background: #ff6;
}
.accounting .row.status div.rejected {
  color: #fff;
  background: #f66;
}
.accounting .row.status div.done {
  color: #000;
  background: #6fa;
}
.accounting .row.status div.canceled {
  color: #fff;
  background: #999;
}
.delete-button {
  float: right;
  margin-top: -30px;
}
label.upload_custom {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 10vw;
  text-align: center;
  cursor: pointer;
}
label.upload_custom + input[type="file"] {
  display: none;
}
label.upload_custom .select_upload {
  display: none;
}
label.upload_custom:hover .new_upload {
  display: none;
}
label.upload_custom:hover .select_upload {
  display: block;
}
label.upload_custom .new_upload,
label.upload_custom .select_upload {
  transition: 0.3s;
}
label.upload_custom i {
  font-size: 36px;
  margin-bottom: 10px;
}
.filelist {
  padding: 20px 0;
  margin-bottom: 20px;
  /* border-bottom: 1px solid #999; */
}
.filerow {
  padding: 5px 0;
  border-bottom: 1px solid #ccc;
  align-items: center;
}
.filerow > div:first-child {
  overflow: hidden;
}
.filerow a {
  color: #222222 !important;
}
.filerow:hover {
  background: #f9f9f9;
}
tr.filerow:hover td {
  background: #f9f9f9;
}
#editDayModal .form-check-inline {
  margin: 5px 1rem 5px 0;
}
#editDayModal .form-check-inline label {
  margin: 0;
}
#editDayModal fieldset.mb-3 {
  margin-bottom: 0 !important;
}
#editDayModal fieldset.mb-3 .col-form-label {
  margin-top: 5px;
}
.table.travel .status-text {
  display: none;
}
@media only screen and (max-width: 767px), (min-device-width: 768px) and (max-device-width: 1024px) {
  #main .before-table {
    padding: 0 10px;
  }
  #main .before-table a.btn {
    display: inline-block;
    margin-top: 5px;
    margin-bottom: 5px;
  }
  #main #export_datev {
    margin-top: 40px;
    margin-bottom: 20px;
  }
  #main .table.travel table,
  #main .table.travel thead,
  #main .table.travel tbody,
  #main .table.travel th,
  #main .table.travel td,
  #main .table.travel tr {
    display: block;
  }
  #main .table.travel thead tr {
    position: absolute;
    top: -9999px;
    left: -9999px;
  }
  #main .table.travel tr {
    margin: 0 0 1rem 0;
  }
  #main .table.travel tr:nth-child(odd) td,
  #main .table.travel tr:nth-child(odd):hover td {
    background: none;
  }
  #main .table.travel tr:nth-child(even) td,
  #main .table.travel tr:nth-child(even):hover td {
    background: #f4f4f4;
  }
  #main .table.travel tr:hover {
    background: none !important;
  }
  #main .table.travel td {
    /* table row */
    border: none;
    border-bottom: 1px solid #eee;
    position: relative;
    padding: 5px 5px 5px 50%;
    min-height: 32px;
  }
  #main .table.travel td:before {
    /* table header */
    position: absolute;
    top: 0;
    left: 6px;
    width: 45%;
    padding-right: 10px;
    white-space: nowrap;
    color: #000;
    content: attr(data-title);
  }
  #main .table.travel .status-text {
    display: inline;
    margin-left: 5px;
  }
  #main .row.travel {
    margin: 0 !important;
    max-width: 100%;
    overflow-x: hidden;
    overflow-y: auto;
  }
  #main .row.travel .col.multistep-form,
  #main .row.travel .col.sidebar,
  #main .row.travel .col.multistep-form.small {
    width: 100%;
    height: auto;
  }
  #main .row.travel .col.sidebar {
    margin-top: 30px;
  }
  #main .row.travel .col-2.empty,
  #main .row.travel .col-4.empty {
    display: none;
  }
  #main .row.travel .catering .col-2,
  #main .row.travel .other_cost .col-2 {
    width: 33%;
  }
  #main .row.travel .other_cost .col-4 {
    width: 100%;
    margin: 5px 0;
  }
  #main .row.travel .other_cost .col-4 label {
    width: 33%;
    margin-right: 5px;
  }
  #main .row.travel .other_cost .col-4 input {
    width: calc(33% - 16px);
  }
  #main .row.travel .other_cost .col-6 {
    width: 100%;
    margin: 5px 0;
  }
  #main .row.travel .amount {
    position: relative;
    width: 66% !important;
    padding-left: calc(33% + 12px);
  }
  #main .row.travel .amount:before {
    position: absolute;
    top: 0;
    left: 6px;
    width: 33%;
    padding-left: 5px;
    padding-right: 10px;
    white-space: nowrap;
    color: #000;
    content: 'Betrag';
  }
  #main .row.travel .payment {
    position: relative;
    width: 100% !important;
    padding-left: calc(33% + 12px);
    margin-top: 5px;
  }
  #main .row.travel .payment:before {
    position: absolute;
    top: 0;
    left: 6px;
    width: 33%;
    padding-left: 5px;
    padding-right: 10px;
    white-space: nowrap;
    color: #000;
    content: 'Zahlung durch';
  }
  .multistep-form .tab.active .container {
    max-height: none;
  }
  .multistep-form .tab.active .container > .row {
    flex-direction: column;
  }
  .multistep-form .tab.active .container > .row > div {
    width: 100%;
  }
  .multistep-form #travel_privateCarKm,
  .multistep-form #car_expenses {
    max-width: unset;
  }
  .multistep-form #btn_scanner {
    display: block;
  }
  .expenses .thead {
    display: none;
  }
  .expenses h4 {
    font-size: 18px;
    margin-top: 20px;
  }
  .sleepovers > .row {
    flex-direction: column;
  }
  .sleepovers > .row > div {
    position: relative;
    width: 100% !important;
    padding-left: 150px;
    padding-right: 10px !important;
    margin-bottom: 5px;
  }
  .sleepovers > .row > div:before {
    position: absolute;
    top: 0;
    left: 6px;
    width: 150px;
    padding-right: 10px;
    white-space: nowrap;
    color: #000;
    content: attr(data-title);
  }
  .other_cost .row:not(.hidden) {
    padding-bottom: 15px;
    margin-bottom: 15px !important;
    border-bottom: 1px solid #ccc;
  }
  label.upload_custom {
    height: 150px;
  }
  .delete-button {
    margin-top: -40px;
  }
}
/*
 * Zeiterfassung
 */
#main .container.overflow.timerecording {
  padding: 0;
  overflow-y: scroll;
}
.timerecording .content-swap {
  height: 100%;
}
.timerecording .row {
  position: relative;
  padding-left: 20px;
  margin: 0;
  /*         &.correction {
            height: auto !important;
            padding: 2px 0 2px 20px !important;
        } */
}
.timerecording .row .col-1,
.timerecording .row .col {
  padding-left: 5px;
  padding-right: 5px;
}
.timerecording .row.correction::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 10px;
  background: yellow;
}
.timerecording .row.locked::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.25);
}
.timerecording .row.locked:hover {
  background: unset;
}
.timerecording .row.invalid_time,
.timerecording .row.invalid_time:hover {
  background: rgba(255, 0, 4, 0.3);
}
.timerecording .row.invalid_pause,
.timerecording .row.invalid_pause:hover {
  background: rgba(253, 125, 0, 0.3);
}
.timerecording .row.import_diff,
.timerecording .row.import_diff:hover {
  background: rgba(255, 252, 0, 0.3);
}
.timerecording .thead .col,
.timerecording .tbody .col {
  flex: 0 0%;
}
.timerecording .thead .col-1,
.timerecording .tbody .col-1 {
  flex: 1;
  width: auto;
  min-width: 50px;
}
.timerecording .thead .col-1.auto,
.timerecording .tbody .col-1.auto {
  flex: 2;
  width: auto;
  min-width: 100px;
}
.timerecording .thead .col-1.date,
.timerecording .tbody .col-1.date {
  min-width: 100px;
}
.timerecording .thead .col-1.time,
.timerecording .tbody .col-1.time {
  min-width: 100px;
}
.timerecording .thead .col-1.smaller,
.timerecording .tbody .col-1.smaller {
  min-width: 5%;
}
.timerecording .thead .col-1.checkbox,
.timerecording .tbody .col-1.checkbox {
  min-width: 3%;
}
.timerecording .thead .col-1.icons,
.timerecording .tbody .col-1.icons {
  width: 100px;
  min-width: 100px;
}
.timerecording .thead .col-1.icon,
.timerecording .tbody .col-1.icon {
  flex: 0;
  min-width: 30px;
  text-align: center;
  padding: 0;
}
.timerecording .thead {
  position: sticky;
  top: 0;
  background: #fff;
  z-index: 2;
}
.timerecording .thead > div {
  font-weight: bold;
  padding: 10px 12px;
}
.timerecording .tbody {
  position: relative;
  padding: 2px 0 2px 20px;
  border-bottom: 1px solid #ccc;
}
.timerecording .tbody.weekend:not(.visible):not(.correction) {
  height: 0;
  overflow: hidden;
  padding: 0 !important;
  border: 0;
}
.timerecording .tbody .col-1.time {
  display: flex;
  justify-content: center;
}
.timerecording .tbody .col-1.time select,
.timerecording .tbody .col-1.time input {
  text-align: center;
}
.timerecording .tbody input,
.timerecording .tbody select {
  display: block;
  max-width: 100%;
  height: 20px;
  line-height: 20px;
  padding: 0 3px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background: #fff;
}
.timerecording .tbody select {
  font-family: sans-serif;
  font-size: 13.5px;
}
.timerecording .tbody select.large {
  width: 100%;
}
.timerecording .tbody input[type="text"] {
  width: 100%;
}
.timerecording .tbody input[type="time"],
.timerecording .tbody input.number:not(.readonly) {
  width: 60px;
}
.timerecording .tbody .text-center input {
  text-align: center;
  margin: 0 auto;
}
.timerecording .tbody .readonly {
  border: 0;
  outline: none;
  background: none;
  cursor: default;
}
.timerecording .tbody [disabled=""]:not(optgroup),
.timerecording .tbody [readonly=""].timerecord_edit,
.timerecording .tbody [readonly=""].hours_edit {
  background: #f9f9f9;
  color: #555;
}
.timerecording .tbody option.disabled {
  display: none;
}
.timerecording .tbody:hover {
  background: #f9f9f9;
}
.timerecording .tbody .easyTecOrder {
  width: 150px;
}
.timerecording .tbody .col-1 i {
  padding: 0 6px;
}
.timerecording .tbody .time input {
  width: 40px;
}
.timerecording .tbody i {
  cursor: pointer;
}
.timerecording .tbody i.delete {
  color: #bc0d47;
}
.timerecording .tbody i.disabled {
  color: #999;
  cursor: unset;
}
.timerecording .tbody .imported {
  background: #cff;
}
.timerecording .tbody button.add_preset {
  float: right;
}
.timerecording .tbody .week {
  position: absolute;
  left: 0;
  top: 2px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 20px;
  text-align: center;
  color: #fff;
  font-size: 11px;
  line-height: 1;
  padding: 5px 0;
  background: #6F7E82;
  z-index: 1;
}
.timerecording .tbody .week span {
  font-size: 12px;
}
.timerecording .tbody .week-1 {
  height: 126px;
}
.timerecording .tbody .week-2 {
  height: 99px;
}
.timerecording .tbody .week-3 {
  height: 73px;
}
.timerecording .tbody .week-4 {
  height: 47px;
}
.timerecording .row.weekborder {
  border-top: 1px solid #6F7E82;
  margin-top: -1px;
}
.timerecording div.time {
  position: relative;
}
.timerecording .disable_overlay {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background: transparent;
}
#ordersModal .modal-dialog {
  width: 1350px;
  max-width: 100%;
  overflow: auto;
}
#ordersModal .modal-body,
#ordersModal .modal-header {
  min-width: 1230px;
}
#ordersModal .modal-dialog.hdb-fields {
  width: 1500px;
}
#ordersModal .modal-dialog.hdb-fields .modal-body,
#ordersModal .modal-dialog.hdb-fields .modal-header {
  min-width: 1450px;
}
#ordersModal .modal-content {
  width: 100%;
  overflow: auto;
  margin-left: 50px;
}
#ordersModal .btn-ok {
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 25px;
}
#ordersModal .row {
  padding-left: 0;
}
#ordersModal .col-1 {
  width: 5.5%;
  padding: 0 1px;
}
#ordersModal .col-1.big {
  width: 6%;
}
#ordersModal .col-1.select {
  min-width: 80px;
}
#ordersModal .col-1.bigger {
  min-width: 100px;
}
#ordersModal .col.icon {
  min-width: 25px;
}
#ordersModal .thead .col.icon {
  height: 25px;
}
#ordersModal .tbody input {
  padding: 0 1px;
}
#ordersModal input.number:not(.readonly) {
  width: 100%;
}
#ordersModal .modal-sm {
  width: 720px;
  min-width: 720px;
}
#ordersModal .modal-sm .modal-body,
#ordersModal .modal-sm .modal-header {
  min-width: 670px;
}
#ordersModal .modal-sm .col-1 {
  width: 11%;
}
#ordersModal .modal-sm .col-1.big {
  width: 12%;
}
#ordersModal .modal-sm .col-1.select {
  width: 20%;
}
#ordersModal .modal-sm .col-1.bigger {
  width: 28%;
}
#ordersModal .modal-dialog.modal-sm.hdb-fields {
  width: 870px;
}
#ordersModal .modal-dialog.modal-sm.hdb-fields .modal-body,
#ordersModal .modal-dialog.modal-sm.hdb-fields .modal-header {
  min-width: 820px;
}
#ordersModal .add_hours {
  display: inline-block;
  color: green;
  margin-top: 15px;
  cursor: pointer;
  border: 0;
  background: none;
}
#ordersModal .del_hours:not(.disabled) {
  color: red;
  cursor: pointer;
}
#remarkModal .modal-dialog {
  width: 700px;
  max-width: 100%;
  overflow: auto;
}
#remarkModal .modal-content {
  width: 100%;
  overflow: auto;
  margin-left: 50px;
}
.modal-dialog.preset .col-form-label {
  padding: 5px 12px 0 12px;
}
.modal-dialog.preset .input_time .input-group-text {
  padding: 0 10px;
}
.timerecording_preset_container {
  min-height: 244px;
  margin-top: 20px;
}
.timerecording_preset_container .row.mb-2 {
  padding: 5px 0;
  margin: 0 !important;
}
.missing {
  color: #bc0d47;
}
input.missing,
select.missing {
  color: #000;
  background: #fcc !important;
}
#profile_tr_presets .col {
  max-width: 15%;
}
.hideondesktop {
  display: none;
}
@media only screen and (max-width: 1470px) {
  .col-1.sumweek {
    display: none;
  }
}
@media only screen and (max-width: 1280px) {
  #main .content {
    height: auto;
  }
  #main .container.overflow.timerecording {
    padding: 0 10px;
    overflow: scroll;
  }
  #main .container.overflow.timerecording .content-swap {
    display: flex;
    width: 100%;
    height: auto;
    min-height: 700px;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding: 100px;
  }
  #main .container.overflow.timerecording .content-swap .thead,
  #main .container.overflow.timerecording .content-swap .tbody {
    flex-direction: column;
    flex-wrap: nowrap;
    padding: 10px;
    margin: 0;
  }
  #main .container.overflow.timerecording .content-swap .thead {
    position: sticky;
    left: 0;
    min-width: 100px;
    z-index: 1;
  }
  #main .container.overflow.timerecording .content-swap .tbody {
    min-width: 200px;
    flex-direction: column;
    padding: 10px 15px;
    background: #f9f9f9;
    scroll-snap-type: x;
    scroll-snap-align: start;
  }
  #main .container.overflow.timerecording .content-swap .tbody:nth-child(odd) {
    background: #eee;
  }
  #main .container.overflow.timerecording .content-swap .tbody input,
  #main .container.overflow.timerecording .content-swap .tbody select {
    height: 38px;
  }
  #main .container.overflow.timerecording .content-swap .tbody input:focus,
  #main .container.overflow.timerecording .content-swap .tbody select:focus {
    border-color: #86b7fe;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
  }
  #main .container.overflow.timerecording .content-swap .tbody select {
    appearance: none;
    text-align: left;
    padding: 0 10px;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3E%3C/svg%3E");
    background-position: right 0.75rem center;
    background-repeat: no-repeat;
    background-size: 16px 12px;
  }
  #main .container.overflow.timerecording .content-swap .tbody .time input,
  #main .container.overflow.timerecording .content-swap .tbody .time select {
    min-width: 65px;
  }
  #main .container.overflow.timerecording .content-swap .tbody .time span {
    line-height: 34px;
    padding: 0 3px;
  }
  #main .container.overflow.timerecording .content-swap .tbody input[type="text"].timerecord_edit:not(.number) {
    width: 100%;
    padding: 0 10px;
  }
  #main .container.overflow.timerecording .content-swap .tbody input[type="checkbox"].timerecord_edit {
    width: 20px;
  }
  #main .container.overflow.timerecording .content-swap .tbody input.number.readonly {
    text-align: left;
  }
  #main .container.overflow.timerecording .content-swap .tbody .col-1 i {
    padding: 8px;
  }
  #main .container.overflow.timerecording .content-swap .tbody.weekend:not(.visible) {
    width: 0;
    min-width: unset !important;
  }
  #main .container.overflow.timerecording .content-swap .col-1 {
    width: 100%;
    padding: 0;
    height: 50px;
  }
  #main .container.overflow.timerecording .content-swap .col-1.text-center {
    text-align: left !important;
  }
  #main .container.overflow.timerecording .content-swap .col-1.text-center input {
    margin: 0;
  }
  #main .container.overflow.timerecording .content-swap .col-1.text-center input[type="checkbox"] {
    margin-left: 10px;
  }
  #main .container.overflow.timerecording .content-swap .col-1.icon {
    text-align: left;
  }
  #main .container.overflow.timerecording .content-swap .col-1.time {
    justify-content: flex-start;
  }
  #main .container.overflow.timerecording .content-swap .col-1.time select {
    padding: 0 10px;
  }
  .timerecording .thead .col-1.auto {
    flex: 1;
  }
  .timerecording .tbody .week {
    display: none;
  }
  .timerecording .tbody .col-1 {
    align-content: center;
  }
  .timerecording .tbody .col-1.auto {
    flex: 1;
  }
  .row.filter label.sum {
    font-size: 1em;
  }
  .row.filter div.sum {
    font-size: 1.5em;
  }
  #ordersModal .modal-content {
    margin-left: 0;
    overflow-x: scroll;
  }
  .timerecording_preset_container {
    overflow-x: auto;
  }
  .timerecording_preset_container .thead,
  .timerecording_preset_container .timerecording_preset {
    min-width: 600px;
  }
  .hideondesktop {
    display: revert;
  }
  .hideonmobile {
    display: none;
  }
}
@media only screen and (max-width: 740px) {
  #remarkModal .modal-dialog,
  #remarkModal .modal-content {
    margin: 0;
  }
  #remarkModal .tox-tinymce {
    max-width: 100%;
  }
}
@media only screen and (max-width: 500px) {
  #main .container.overflow.timerecording .content-swap .tbody {
    min-width: calc(100% - 100px);
  }
}
/*
 * HDB-Konverter
 */
#main .hdb .progressbar_container,
#main .hdb .new_files,
#main .hdb .toggler {
  margin-top: 50px;
}
#main .hdb .progressbar {
  height: 30px;
  border: 1px solid #c6cfd1;
  border-radius: 5px;
  background: #fff;
}
#main .hdb #progress {
  width: 0;
  height: 30px;
  background: #449d44;
  background: linear-gradient(to bottom, #449d44 0%, #398039 100%);
}
#main .hdb .toggler {
  position: relative;
  font-size: 18px;
  font-weight: 500;
  padding: 10px 0 10px 30px;
  cursor: pointer;
  border-bottom: 1px solid #c6cfd1;
}
#main .hdb .toggler::before {
  position: absolute;
  left: 0;
  top: 16px;
  content: '';
  width: 10px;
  height: 10px;
  border-right: 1px solid #5d767b;
  border-bottom: 1px solid #5d767b;
  transform: rotate(45deg);
}
#main .hdb .toggler.active::before {
  top: 22px;
  transform: rotate(-135deg);
}
#main .hdb .archive {
  display: none;
  max-height: 0;
  opacity: 0;
  transition: 0.5s;
}
#main .hdb .archive.open {
  display: block;
  opacity: 1;
  max-height: 470px;
  overflow-y: auto;
}
#main .hdb .files_container .inside {
  max-width: 550px;
  padding-bottom: 50px;
  margin-top: 20px;
  border-bottom: 1px solid #c6cfd1;
}
#main .hdb .files_container .inside h4 {
  margin-bottom: 10px;
}
#main .hdb .files_container .inside .file {
  margin: 10px 0;
}
#main .hdb .files_container .inside .time {
  padding-right: 20px;
}
#main .hdb .files_container .inside a {
  float: right;
  width: 70px;
  padding: 3px 0;
  color: #fff;
  text-decoration: none;
  text-align: center;
  background: #a61250;
  border-radius: 5px;
}
/*
.result .scroll_container {
    height: calc(100vh - 230px);
    overflow-x: auto;
    overflow-y: auto;
    margin-top: 10px;

    .head {
        position: sticky !important;
        top: 0 !important;
        width: 100%;
        z-index: 3;
        margin-top: 0;
    }
}
.result.overflow {
    .table_container {
        width: 1800px;
        margin-bottom: 30px;
    
        .head {
            position: sticky !important;
            top: 0 !important;
            width: 100%;
            z-index: 3;
            margin-top: 0;
            .row div { background: #eee; }
            .col-3 { text-align: left; }
        }
        .open .costcenters, .open .accounts {
            overflow: initial;
        }
        .row {
            width: 100%;
            position: relative;
            flex-wrap: nowrap;

            .fixed {
                position: sticky !important;
                left: 0 !important;
                z-index: 2;
            }
        }
        .client, .category {
            .row {
                padding-right: 15px;
                .fixed { background: #fff; }
            }
            &.sum .col-3.fixed { background: #eee; }
            .row:not(.first):hover .fixed { background: #eee; }
        }
        .client.open .row.first {
            .fixed { background: @light-green; }
        }
    }
    &.distance {
        .table_container {
            width: max-content;;
        }
        .col-1 { width: 120px; }
        .col-3 { width: 270px; }
    }
}
.result.group.overflow {
    .table_container {
        width: max-content;
        min-width: 100%;
    }
}*/
