:root {
    --main-color: #186fbc;
    --main-hover-color: #125196;
    --main-shadow: 0 1px 2px 0 rgb(60 64 67 / 30%), 0 2px 6px 2px rgb(60 64 67 / 15%);
    --hover-shadow: 0 1px 2px 0 rgb(60 64 67 / 45%), 0 2px 6px 2px rgb(60 64 67 / 20%);
    --border-color: #aaa;
    --border-color-hover: #186fbc;
}

html {
  height: 100%;
  background-color: #e8e8e8;
  font-family: roboto;
  background-image: url('/images/watermark_bg.png');
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: 30%;
  background-position: right bottom;
}
body {
  display: flex;
  flex-direction: column;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  height: 100%;
}
:root {
  --mdc-theme-primary: #186fbc;
}
.tid-card-container .mdc-card.mdc-card--wide {
  margin: 0 auto;
}
.tid-card-container {
  margin-top: 80px;
}
.tid-card-container .mdc-card.mdc-card--wide {
  max-width: 400px;
  background-color: white;
}
.mdc-card__primary {
  background-color: #fff;
}
[v-cloak] {
  display: none;
}
section.error {
  background-color: red;
  color: white;
  margin: 5px;
  padding: 5px;
}
.news_feed {
  position: absolute;
  margin-left: 140px;
  margin-right: 100px;
}
.mdc-card__horizontal-block {
  margin-top: 7px;
  background-color: white;
}
.mdc-persistent-drawer {
  position: fixed;
  height: 100vh;
  z-index: 1;
}
.toolbar_spacer {
  height: 80px;
}
.mdc-persistent-drawer__header-content {
  padding-top: 120px;
}
.logo {
  border: 0;
  max-width: 75%;
  margin: 20px auto;
}
.logo_ech {
  border: 0;
  max-width: 100%;
}
.menu-button {
  margin: auto 0;
}
material-icons mdc-toolbar__icon {
  margin: auto 0;
}
.mdc-toolbar__icon:last-of-type {
  padding-right: 0;
}
#page {
  margin: 0 auto;
  padding-top: 35px;
  max-width: 1000px;
}
.mdc-persistent-drawer ~ #page {
  margin-left: 16px;
  margin-right: 16px;
}
@media screen and (min-width: 480px) {
  .mdc-persistent-drawer--open ~ main {
    margin-left: 256px;
    margin-right: 16px;
  }
}
@media screen and (min-width: 480px) {
  .mdc-persistent-drawer--open ~ #content {
    margin-left: 256px;
    margin-right: 16px;
  }
}
@media screen and (max-width: 1054px) {
  #page {
    margin: 0 auto;
  }
}
@media screen and (max-width: 1054px) {
  .mdc-persistent-drawer--open ~ main {
    margin: 0 auto;
  }
}
@media screen and (max-width: 1052px) {
  .mdc-persistent-drawer ~ main {
    margin-right: 16px;
    margin-left: 16px;
  }
}
.mdc-persistent-drawer--open .mdc-persistent-drawer__drawer {
  overflow-y: auto;
}
.mdc-list-item mdc-persistent-drawer--selected:hover {
  color: #1a79cc;
}
main {
  padding-top: 35px;
  padding-bottom: 25px;
}
.mdc-toolbar__icon:last-of-type {
  padding-right: 16px;
  margin: auto 0;
}
a.material-icons.mdc-toolbar__icon {
  margin-left: 16px;
}
.mdc-fab {
  right: 25px;
  bottom: 25px;
  position: fixed;
  background-color: #d23f31;
  z-index: 1;
}
.mdl-button--raised.mdl-button--colored {
  background-color: #186fbc;
  color: #fff;
}
.mdl-button--raised.mdl-button--colored:hover {
  background-color: #186fbc;
  color: #fff;
}
.mdl-grid {
  padding: 8px;
  max-width: 959px;
}

.mdc-persistent-drawer .mdc-list-item {
  font-size: 1rem;
}
input.form-control {
  border: solid 1px #dcdcdc;
}
select.form-control {
  border: solid 1px #dcdcdc;
}
.responsive {
  text-overflow: ellipsis;
  width: 200px;
  white-space: nowrap;
  overflow: hidden;
  padding: 10px;
}
.mdl-data-table {
  max-width: 1173px;
}
.mdc-button {
  margin-top: 20px;
}
.mdc-button-add {
  background-color: #186fbc;
}
.submit {
  margin-top: 75px;
}
.mdc-button-add {
  color: white;
  margin: 0 auto;
}
.mdc-select {
  margin: auto 0;
}
.benutzergruppen-card {
  float: left;
  margin-left: 25%;
  width: 700px;
}
.mdl-data-table__cell--non-numeric {
  overflow: hidden;
  text-overflow: ellipsis;
}
.mdl-data-table__cell--non-numeric sorting_1 {
  overflow: hidden;
  text-overflow: ellipsis;
}
.mdl-data-table__cell--non-numeric {
  overflow: hidden;
  text-overflow: ellipsis;
}
.mdl-button--raised.mdl-button--colored:hover {
  background-color: #428ff4;
}
.linkback-button {
  background-color: #186fbc;
  border: none;
  margin-right: -15px;
}
.mdc-textfield__input {
  resize: none;
}
.mdl-data-table td,
.mdl-data-table th {
  text-align: left;
}
.checkbox-label-fix {
  display: table-cell;
  vertical-align: middle;
}
.checkbox-fix {
  display: table-cell;
  vertical-align: middle;
}
.text-align-left {
  text-align: left;
}
.controller_logistik #page {
  max-width: 1172px;
  margin: 0 auto;
}
.action_show #page {
  max-width: 1300px;
  margin: 0 auto;
}
.controller_kostenstelle #page {
  max-width: 1025px;
  margin: 0 auto;
}

.controller_zeiterfassung.action_index #page,
.controller_zeiterfassung.action_index .mdl-grid,
.controller_macros.action_index #page,
.controller_macros.action_index .mdl-grid {
  max-width: none;
}
.controller_zeiterfassung.action_index main {
  padding-bottom: 0;
}

.full-width #page {
  max-width: none;
}
.full-width #page .mdl-grid {
  max-width: none;
}

.controller_zeiterfassung.action_index #work-filter div.filter-item {
  width: 200px;
  height: 32px;
  /*float: left;*/
  position: relative;
  line-height: 32px;
  display: inline-block;
}
/*.controller_zeiterfassung.action_index #work-filter > div.filter-item {
    width: 20%;
    height: 32px;
    float: left;
    position: relative;
    line-height: 32px;
}
@media screen and (max-width: 900px) {
    .controller_zeiterfassung.action_index #work-filter > div.filter-item {
        width: 33%;
    }
}
@media screen and (max-width: 500px) {
    .controller_zeiterfassung.action_index #work-filter > div.filter-item {
        width: 50%;
    }
}
@media screen and (max-width: 300px) {
    .controller_zeiterfassung.action_index #work-filter > div.filter-item {
        width: 100%;
    }
}*/
.controller_zeiterfassung.action_index #work-filter > div select,
.controller_zeiterfassung.action_index #work-filter > div input[type='text'] {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  max-height: 25px;
  min-height: 25px;
}
.controller_zeiterfassung.action_index #work-filter > div .clear-link {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: 26px;
  font-size: 36px;
  color: #333333;
}
.controller_zeiterfassung.action_index
  #work-filter
  > div
  select#work-mandant
  option,
.controller_zeiterfassung.action_index
  #work-filter
  > div
  select#work-user
  option {
  font-family: monospace;
}
.controller_zeiterfassung .zeiterfassung-form > div,
.controller_macros .zeiterfassung-form {
  column-count: 2;
}
@media screen and (max-width: 500px) {
  .controller_zeiterfassung .zeiterfassung-form > div,
  .controller_macros .zeiterfassung-form {
    column-count: 1;
  }
}
.controller_zeiterfassung .zeiterfassung-form > div label, 
.controller_macros .zeiterfassung-form > div label {
  display: inline-block;
  width: 120px;
}

.alnright {
  text-align: left !important;
}
.table-width {
  width: 1000px;
}
.mdl-data-table td,
.mdl-data-table th {
  text-align: left !important;
}
.title-padding {
  padding: 18px;
}
.wrap {
  width: 500px;
}
#table_id_irrläufer .wrap {
  white-space: normal !important;
}
#table_id_irrläufer {
  width: 1300px !important;
}
.link-back {
  cursor: pointer;
  height: 28px;
  width: 28px;
  margin: auto 0;
}
tr.delayed td {
  background-color: #cccc33;
}
tr.canceled td {
  background-color: #cc3333;
}
td.center {
  text-align: center;
}
#table_id_passwörter {
  width: 100%;
}
@media screen and (max-width: 900px) {
  #table_id_passwörter {
    width: 30%;
  }
  .mobilfirst {
    display: none;
  }
}
.mdc-temporary-drawer__drawer {
  display: -webkit-box;
  -webkit-transition: all 0.195s ease;
  -webkit-transform: translateX(-400px);
}
.mdc-temporary-drawer--open .mdc-temporary-drawer__drawer {
  -webkit-transform: none;
}

.tid-datetimepicker-dialog .date-preview,
.tid-datetimepicker-dialog .time-input-container {
  text-align: center;
  margin-bottom: 20px;
}
.tid-datetimepicker-dialog .time-input-container input {
  font-size: 20px;
  width: 40px;
}
.tid-datetimepicker-dialog .time-input-container input:first-child::after {
  font-size: 20px;
  content: ':';
}

/* navbar */
.m-6 {
  margin-top: -6px;
}

.m-15 {
  margin-top: -15px;
}

.icon-el {
  margin: 0 10px 0 10px;
}

.main-left-nav .mdc-list-item {
  padding-right: 0;
}

.main-left-nav:last-child {
  margin-bottom: 2rem;
}

/* CSS for Inventory */

.inventar-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.inventory-main h1 {
  margin-bottom: 30px;
  font-size: 34px;
}

#inventory-excel-btn {
  border-radius: 8px;
  font-size: 16px;
  font-weight: 400;
  text-transform: none !important;
}

#inventory-excel-btn a {
  color: #fff;
  text-decoration: none;
}

/* table */
.inventory-table-container {
  overflow-x: auto;
}

.inventory-table {
  border: none !important;
  border-collapse: collapse;
  border-radius: 8px;
  box-shadow: 0 8px 6px -6px rgba(0, 0, 0, 0.2);
  width: 100%;
  margin: 0 0 1em;
}

.invetory-table tbody {
  border-left: 1px solid #e9ecef !important;
  border-right: 1px solid #e9ecef !important;
}

.inventory-table-body {
  border-left: 1px solid #e9ecef !important;
  border-right: 1px solid #e9ecef !important;
}

.inventory-table thead {
  width: 100%;
}

.inventory-table thead tr {
  height: 40px;
  background-color: #1a79cc;
  text-align: center !important;
}

/* reset weird padding added by datables */

.inventory-table table.dataTable thead > tr > th.sorting_asc,
.inventory-table table.dataTable thead > tr > th.sorting_desc,
.inventory-table table.dataTable thead > tr > th.sorting,
.inventory-table table.dataTable thead > tr > td.sorting_asc,
.inventory-table table.dataTable thead > tr > td.sorting_desc,
.inventory-table table.dataTable thead > tr > td.sorting {
  padding-right: 10px !important;
}

#multiPrintIcon {
  cursor: pointer;
}

.inventory-table td {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: center;
  padding: 1em;
}

.border-radius-left {
  border-top-left-radius: 6px;
}

.border-radius-right {
  border-top-right-radius: 6px;
}

.invetory-table td {
  display: flex;
}

.inventory-table thead th {
  color: #fff;
  font-size: 15px;
  letter-spacing: 0.5px;
}

.inventory-table tbody tr:nth-of-type(even) {
  background-color: #f3f3f3;
}

@media screen and (max-width: 1500px) {
  .inventory-table thead th {
    font-size: 13px;
  }
}

/* CSS for Inventory/add */
.inventory h1 {
  font-size: 34px;
  margin-bottom: 2.4rem;
}

.inventory-form {
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.inventory-input {
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
}

.inventory-input input {
  height: 16px;
  width: 150px;
  border: none;
  border-bottom: 1px solid rgb(118, 118, 118);
  font-size: 1.1rem;
}

.inventory-input label {
  font-size: 1.1rem;
  font-weight: 500;
  width: 50px;
  padding-right: 85px;
}

.prefilled-input {
  background-color: #dee2e6;
}

.inventory-input-field:focus,
.inventory-input-field:focus {
  outline: none;
  border-bottom: 2px solid #186fbc;
}

.label-active {
  color: #186fbc;
  font-weight: 500;
}

#bemerkungen:focus,
#bemerkungen:active {
  outline: none;
  border: 1px solid #186fbc;
}

.submit-btn-container {
  margin-left: 0;
}

.inventory-table a {
  text-decoration: none;
}

/* Layout horizontally on smaller screens */
@media screen and (max-width: 1080px) {
  .inventory h1 {
    text-align: center;
  }
  .inventory-form {
    flex-direction: column;
    justify-content: space-evenly;
  }
  .side-by-side {
    width: 30%;
  }
}

/* Inventory history table */

.history-table {
  border-collapse: collapse;
  border: none !important;
}

.history-table th {
  font-size: 18px !important;
}

.history-table td {
  font-size: 16px;
}

/* cron log */

.controller_cronlog .header-container {
  display: flex;
  justify-content: space-between;
  background-color: #fff;
}

.cron-log-header h1 {
  font-size: 34px;
  margin-bottom: 30px;
}


/* cron log filters */

.cron-log-btns {
  margin-top: 10px;
  background: #186fbc;
  border-radius: 8px;
  border: none;
  font-size: 15px;
  color: #fff;
  padding: 0.75em;
  cursor: pointer;
  transition: all 0.2s ease-in;
}

.cron-log-btns:hover {
  background: #125a99;
}

.controller_cronlog.action_index #page,
.controller_cronlog.action_index .mdl-grid {
  max-width: none;
}
.controller_cronlog.action_index main {
  padding-bottom: 0;
}

.controller_cronlog.action_index #cron-filter div.filter-item {
  width: 200px;
  height: 32px;
  position: relative;
  line-height: 32px;
  display: inline-block;
}

.controller_cronlog.action_index #cron-filter > div select,
.controller_cronlog.action_index #cron-filter > div .datepicker {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  max-height: 25px;
  min-height: 25px;
}

.controller_cronlog.action_index #cron-filter > div .clear-link {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: 26px;
  font-size: 36px;
  color: #333333;
}

.controller_cronlog #select-filters {
  margin-bottom: 15px;
}

.reset-search-container {
  margin-top: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.controller_cronlog .dataTables_wrapper input[type='search']{
  border: 1px solid rgb(97, 95, 95);
  width: 30%;
}

.controller_cronlog .dataTables_filter label {
  font-size: 15px;
}

.auto-refresh-container {
  margin-top: 1em;
  font-size: 15px;
  background-color: #fff;
  display: flex;
  flex-direction: column;
}

.auto-refresh-container p {
  font-size: 15px;
}

#refresh-timer {
  border-radius: 6px;
  border: 1px solid rgb(97, 95, 95);
}

/* table */
.cron-log-table-container {
  overflow-x: auto;
}

.cron-log-table {
  border: none !important;
  border-collapse: collapse;
  border-radius: 8px;
  box-shadow: 0 8px 6px -6px rgba(0, 0, 0, 0.2);
  width: 100%;
  margin: 0 0 1em;
}

.cron-log-table tbody {
  border-left: 1px solid #e9ecef !important;
  border-right: 1px solid #e9ecef !important;
}

.cron-log-table-body {
  border-left: 1px solid #e9ecef !important;
  border-right: 1px solid #e9ecef !important;
}

.cron-log-table thead tr {
  height: 40px;
  background-color: #1a79cc;
  text-align: center;
}

.cron-log-table td {
  max-width: 20%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: center;
  height: 40px;
  font-size: 14px;
}

.cron-log-table thead th {
  color: #fff;
  font-size: 16px;
  letter-spacing: 0.5px;
}

.cron-log-table tbody tr:nth-of-type(even) {
  background-color: #f3f3f3;
}

.complete-log-icon {
  font-size: 28px !important;
  color: #1a79cc;
  cursor: pointer;
}

.cron-log-success {
  color: #4f8a10;
  background-color: #dcf8aa;
}

.cron-log-warning {
  color: #9f6000;
  background-color: #feefb3;
}

.cron-log-error {
  color: #d8000c;
  background-color: #ffd2d2;
}

.cron-log-table tbody tr:nth-of-type(even) .cron-log-success {
  background-color: #dff2bf;
}

.cron-log-table tbody tr:nth-of-type(even) .cron-log-warning {
  background-color: #f8e69e;
}

.cron-log-table tbody tr:nth-of-type(even) .cron-log-error {
  background-color: #fdbcbc;
}

@media screen and (max-height: 1100px) {
  .cron-log-header {
    margin: 0;
  }
  .cron-log-table th {
    font-size: 14px !important;
  }
  .cron-log-main h1{
    font-size: 1.8rem;
  }
  .controller_cronlog .mdc-button {
    margin-top: 5px;
  }
  .cron-log-table td {
    font-size: 14px;
    height: 40px;
  }
  #cron-log-btns {
    padding: 0.2em;
    margin: 0;
  }
}

.cron-log-complete h1 {
  font-size: 32px;
}

/* modal window for lock file deletion */

.controller_cronlog .modal {
  --gap: 15px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--gap);
  background: rgba(0, 0, 0, 0.4);
}

.controller_cronlog .modal-inner {
  background: #fff;
  width: 100%;
  max-width: 800px;
  overflow: hidden;
  border-radius: 4px;
}

.controller_cronlog .modal-top {
  color: #fff;
  display: flex;
  align-items: center;
  background: #186fbc;
}

.controller_cronlog .modal-title {
  flex-grow: 1;
  padding: 0 var(--gap);
  font-size: 1.25rem;
}

.controller_cronlog .modal-close {
  display: flex;
  align-items: center;
  cursor: pointer;
  padding: var(--gap);
  background: none;
  border: none;
  outline: none;
  color: #fff;
}

.controller_cronlog .modal-content {
  padding: var(--gap) var(--gap);
  line-height: 1.5;
}

.controller_cronlog .modal-content p {
  font-size: 18px;
}

.controller_cronlog .modal-bottom {
  text-align: right;
  padding: 0 15px 15px 15px;
  font-size: 18px;
}

/* NAVBAR Vacations */

.nav-vacations-container {
  color: #333;
  border-radius: 6px;
  z-index: 1000;
  position: fixed;
  text-align: left;
  background: #fff;
  border: 2px solid #228be6;
  top: 5rem;
  right: 1rem;
  padding: 1em;
  opacity: 1;
}

.vacation-type-splitted {
  border-top: 1px solid var(--mdc-theme-primary);
  padding-top: 1rem;
}

.nav-vacations-container p {
  font-size: 1.3rem;
}

.nav-vacation-icon-container {
  margin-right: 3rem;
  display: flex;
  align-items: center;
}

.vacation-icon {
  cursor: default;
}

#vacation-counter {
  font-size: 1.2rem;
}

.mdc-fake-label {
  font-size: 0.83rem;
  color: rgba(0, 0, 0, 0.38);
  display: block;
}

.flex-row {
  display: flex;
}

.mdc-select-container {
  display: flex;
  position: relative;
}

.tooltip {
  position: relative;
  display: inline-block;
}

.tooltip span {
  color: var(--mdc-theme-primary);
}

.tooltip span:not(.material-icons) {
  border: 1px solid var(--mdc-theme-primary);
}

.tooltip .tooltiptext {
  visibility: hidden;
  width: 10vw;
  padding: 1em;
  background-color: #fff;
  color: #333;
  text-align: center;
  border-radius: 6px;
  position: absolute;
  z-index: 1;
  bottom: 100%;
  left: 50%;
  margin-left: -60px;
}

.tooltip:hover .tooltiptext,
.tooltip:active .tooltiptext {
  visibility: visible;
}

.mdc-fab-link {
  display: inline-flex !important;
  text-decoration: none;
}

/* fallback */
@font-face {
  font-family: 'Material Icons';
  font-style: normal;
  font-weight: 400;
  src: url("/css/fonts/material_icons.woff2") format("woff2");
}

.material-icons {
  font-family: 'Material Icons';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: 'liga';
  -webkit-font-smoothing: antialiased;
}

div.dataTables_processing {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 200px;
  margin-left: -100px;
  margin-top: -26px;
  text-align: center;
  padding: 2px;
}

div.dataTables_processing > div:last-child {
  position: relative;
  width: 80px;
  height: 15px;
  margin: 1em auto;
}

div.dataTables_processing > div:last-child > div {
  position: absolute;
  top: 0;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: rgba(13, 110, 253, 0.9);
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
}

div.dataTables_processing > div:last-child > div:nth-child(1) {
  left: 8px;
  animation: datatables-loader-1 0.6s infinite;
}

div.dataTables_processing > div:last-child > div:nth-child(2) {
  left: 8px;
  animation: datatables-loader-2 0.6s infinite;
}

div.dataTables_processing > div:last-child > div:nth-child(3) {
  left: 32px;
  animation: datatables-loader-2 0.6s infinite;
}

div.dataTables_processing > div:last-child > div:nth-child(4) {
  left: 56px;
  animation: datatables-loader-3 0.6s infinite;
}

@keyframes datatables-loader-1 {
  0% {
    transform: scale(0);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes datatables-loader-3 {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(0);
  }
}

@keyframes datatables-loader-2 {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(24px, 0);
  }
}

#log-table_wrapper div.dataTables_processing {
  top: 70%;
}

.password-col,
.username-col {
    cursor: pointer;
}

.default-table {
    border: none !important;
    border-collapse: collapse;
    border-radius: 5px;
    box-shadow: 0 8px 6px -6px rgba(0, 0, 0, 0.2);
    width: 100%;
    margin: 0 0 1em;
}

.default-table thead tr {
    background-color: var(--mdc-theme-primary);
    height: 40px;
    text-align: center;
    color: #fff;
}

.default-table thead th:first-of-type {
    border-top-left-radius: 4px;
}

.default-table thead th:last-of-type {
    border-top-right-radius: 4px;
}

.default-table th {
    color: #fff;
}

.default-table tbody tr:nth-of-type(even) {
    background-color: #f3f3f3;
}

.default-table td {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: center;
    padding: 0.8em;
}
