/* IMPORT */
@import url("https://use.fontawesome.com/releases/v5.15.4/css/all.css");

/* MAIN STYLE */
html, body {
  height: 100%;
}

body {
  margin: 0;
  font-size: 16px;
  color: #333;
  background: #fff;
  padding: 0;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-weight: lighter;
  line-height: 1.2;
}

p {
  line-height: 1.8;
  margin: 10px 0;
}

a {
  cursor: pointer;
  color: #666;
  outline: none;
}
a:hover,
a:focus {
  text-decoration: none;
  color: #111;
}

small {
  display: block;
  font-size: 65%;
}

strong, b {
  font-weight: bold;
}


/* BUTTON */
.btn {
  border-radius: 0;
  box-shadow: none;
  outline: none !important;
  box-shadow: none !important;
  font-weight: bold;
  text-transform: uppercase;
}
.btn-full {
  width: 100%;
}


/* BACKGROUND */
.bg-grey {
  background: #eee !important;
}


/* MODAL */
.modal-content {
  border-radius: 0;
  box-shadow: none;
  border: none;
}

.modal-footer {
  display: block;
}

.close {
  font-size: 40px;
  transform: rotate(-45deg);
  font-weight: lighter;
  line-height: 1;
  outline: none !important;
}


/* INFOLINE */
.infoline {
  background: #eee;
  padding: 15px 62.5px;
}

.infoline.f-top {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  border-bottom: 1px solid #333;
  padding-left: 90px;
  padding-right: 90px;
  z-index: 1000;
  min-height: 71px;
  max-height: 71px;
}

.infoline.f-bottom {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  border-top: 1px solid #333;
  z-index: 1000;
}

.infoline .zurueck_kalender {
  font-size: 25px;
  padding: 15px 25px;
  position: absolute;
  left: 0;
  margin: 0;
  top: 0;
  background: #333;
  color: #fff !important;
  min-height: 70px;
  transition: all 0.1s;
}

.infoline .zurueck_kalender:hover {
  padding: 15px 30px 15px 20px;
  background: #111;
  color: #fff !important;
}

.infoline .weiter_kalender {
  font-size: 25px;
  padding: 15px 25px;
  position: absolute;
  right: 0;
  margin: 0;
  top: 0;
  background: #333;
  color: #fff !important;
  min-height: 70px;
  transition: all 0.1s;
}

.infoline .weiter_kalender:hover {
  padding: 15px 20px 15px 30px;
  background: #111;
  color: #fff !important;
}

.infoline.f-bottom .zurueck_kalender,
.infoline.f-bottom .weiter_kalender {
  min-height: 45px;
  max-height: 45px;
  padding: 2.5px 25px;
}

.infoline.f-bottom .zurueck_kalender:hover {
  padding: 2.5px 30px 2.5px 20px;
}

.infoline.f-bottom .weiter_kalender:hover {
  padding: 2.5px 20px 2.5px 30px;
}


/* NAVIGATION */
.nav-fill .nav-item {
  line-height: 1;
  background: #f5f5f5;
  border-radius: 0;
  font-weight: 700;
  color: #333;
}
.nav-fill .nav-item:nth-child(odd){
  background: #fff;
}

.nav-fill .nav-item.active {
  background: #000;
  color: #fff;
}

.nav-fill .nav-item small {
  font-size: 75%;
  font-weight: 500;
}


/* TABLE */
.kalender {
  display: block;
  overflow: auto;
  position: absolute;
  top: 127px;
  left: 0;
  right: 0;
  bottom: 47px;
  width: 100%;
}

.kalender .spalte tr,
.kalender .spalte tr td,
.kalender .spalte tr th {
  height: 40px !important;
  vertical-align: middle;
}

.kalender .spalte td .pause {
  background: #dddddd80;
}

.kalender .spalte tr td:hover {
  background: #ddd;
  cursor: pointer;
}

.kalender .uhrzeiten {
  font-size: 14px;
  font-weight: 600;
}

.kalender .uhrzeiten .full {
  font-size: 16px;
}

.kalender .uhrzeiten .half {
  font-weight: bold;
}

.kalender div.main-spalte {
  position: relative;
}

.kalender .uhrzeiten td:hover {
  background: #fff !important;
  cursor: default !important;
}

.table-fixed {
  position: fixed;
  left: 0;
  right: 0;
  background: #fff;
  z-index: 900;
  margin-top: 1px;
  line-height: 1;
}

.table-fixed th {
  vertical-align: middle;
  min-height: 57px;
}

.berater,
.spalte-disabled-txt {
  display: block;
  font-size: 16px;
  font-weight: 400;
}

.spalte-disabled td,
.kalender .spalte-disabled .spalte tr td:hover {
  background: #eee !important;
  cursor: not-allowed !important;
}


/* FULL HOUR SCROLL */
.full_hour_scroll {
  display: block;
  position: fixed;
  right: 30px;
  top: 140px;
  z-index: 500;
}

.full_hour_scroll .full_hour_scroll_btn {
  position: absolute;
  left: -42px;
  top: 0;
  background: #fff;
  line-height: 1;
  padding: 10px;
  font-size: 22px;
  box-shadow: 0 0 10px 0 rgba(0,0,0,0.25);
  cursor: pointer;
  opacity: 0.65;
}

.full_hour_scroll .full_hour_scroll_btn:hover,
.full_hour_scroll .full_hour_scroll_btn:focus {
  opacity: 1;
  color: #fff;
}

.full_hour_scroll_content {
  min-width: 100px;
  padding: 10px;
  background: #fff;
  box-shadow: 0 0 10px 0 rgba(0,0,0,0.25);
}

.full_hour_scroll_content .nav-link {
  line-height: 1.2;
  padding: 5px;
  text-align: left;
}

.full_hour_scroll_content .nav-link.active {
  color: #111;
}


/* FORM */
.form-control {
  border-radius: 0px;
  box-shadow: none;
  border: none;
  border-bottom: 1px solid #ccc;
  padding-left: 0;
  transition: all 0.1s;
}

.form-control:focus {
  box-shadow: none;
  outline: none;
  border-color: #333;
  padding-left: 12px;
}

.form-control-plaintext {
  display: block;
  width: 100%;
  padding-top: 0;
  padding-bottom: 5px;
  margin-bottom: 0;
  line-height: 1.2;
  color: #212529;
  background-color: transparent;
  border: solid transparent;
  border-top-width: medium;
  border-right-width: medium;
  border-bottom-width: medium;
  border-left-width: medium;
  border-width: 1px 0;
}

.has-error label {
  color: #ff0000 !important;
}
.has-error .form-control,
.has-error .form-control:focus {
  border-bottom-color: #ff0000 !important;
  background: #ffdada;
}

textarea {
  resize: none
}


/* LOGIN */
.login {
  width: 320px;
  display: block;
  background: #f5f5f5;
  box-shadow: 0 0 5px 5px rgba(0,0,0,0.15);
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  padding: 15px;
}

.login .form-control {
  background: none;
}

.after-login {
  width: 640px;
  display: block;
  background: #f5f5f5;
  box-shadow: 0 0 5px 5px rgba(0,0,0,0.15);
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  padding: 15px;
}

.after-login .form-control {
  background: none;
}


/* SPEZIAL NAV */
.spezial-nav {
  margin: 15px 0;
}
.spezial-nav .spezial-nav-item {
  padding: 30px 15px;
  border: 1px solid #ccc;
  text-align: center;
  width: 100%;
  transition: all 0.25s;
}
.spezial-nav a:hover .spezial-nav-item,
.spezial-nav a.active .spezial-nav-item {
  background: #333;
  color: #fff;
}
.spezial-nav .spezial-nav-item small {
  margin-top: 5px;
}

.spezial-nav a .spezial-nav-item i {
  padding: 5px 0;
}
.spezial-nav a.active .spezial-nav-item i {
  animation: ani 1.5s infinite;
}

@keyframes ani {
  0% {
    padding: 5px 0;
  }
  50% {
    padding: 10px 0 0 0;
  }
  100% {
    padding: 5px 0;
  }
}


/* BREADCRUMB */
.breadcrumb {
  background-color: #eee;
  border-radius: 0;
}


/* CARD */
.card {
  border-radius: 0;
}

@media (min-width: 1200px) {
  .modal-lg {
    max-width: 1100px;
  }
}

/*
    ##### THEMES #####
*/

/* +++++ BLUE THEME +++++ */

.blue-theme .infoline .zurueck_kalender,
.blue-theme .infoline .weiter_kalender,
.blue-theme .nav-fill .nav-item:hover,
.blue-theme .spezial-nav a:hover .spezial-nav-item,
.blue-theme .spezial-nav a.active .spezial-nav-item {
  background: #0069b4;
  color: #fff;
}

.blue-theme .infoline.f-top,
.blue-theme .infoline.f-bottom,
.blue-theme .form-control:focus,
.blue-theme .login {
  border-color: #0069b4;
}

.blue-theme table .full,
.blue-theme .infoline i.colored-icon,
.blue-theme .full_hour_scroll .full_hour_scroll_btn,
.blue-theme .btn-termin-anlegen a {
  color: #0069b4;
}

.blue-theme .kalender .spalte tr td:hover {
  background: #c8deed;
}

.blue-theme .nav-fill .nav-item.active {
  background: #00497e;
}

/* +++++ RED THEME +++++ */

.red-theme .infoline .zurueck_kalender,
.red-theme .infoline .weiter_kalender,
.red-theme .nav-fill .nav-item:hover,
.red-theme .spezial-nav a:hover .spezial-nav-item,
.red-theme .spezial-nav a.active .spezial-nav-item  {
  background: #b40000;
  color: #fff;
}

.red-theme .infoline.f-top,
.red-theme .infoline.f-bottom,
.red-theme .form-control:focus,
.red-theme .login {
  border-color: #b40000;
}

.red-theme table .full,
.red-theme .infoline i.colored-icon,
.red-theme .full_hour_scroll .full_hour_scroll_btn,
.red-theme .btn-termin-anlegen a {
  color: #b40000;
}

.red-theme .kalender .spalte tr td:hover {
  background: #edc8c8;
}

.red-theme .nav-fill .nav-item.active {
  background: #7e0000;
}

/* +++++ GREEN THEME +++++ */

.green-theme .infoline .zurueck_kalender,
.green-theme .infoline .weiter_kalender,
.green-theme .nav-fill .nav-item:hover,
.green-theme .spezial-nav a:hover .spezial-nav-item,
.green-theme .spezial-nav a.active .spezial-nav-item {
  background: #37b400;
  color: #fff;
}

.green-theme .infoline.f-top,
.green-theme .infoline.f-bottom,
.green-theme .form-control:focus,
.green-theme .login {
  border-color: #37b400;
}

.green-theme table .full,
.green-theme .infoline i.colored-icon,
.green-theme .full_hour_scroll .full_hour_scroll_btn,
.green-theme .btn-termin-anlegen a {
  color: #37b400;
}

.green-theme .kalender .spalte tr td:hover {
  background: #cbedc8;
}

.green-theme .nav-fill .nav-item.active {
  background: #497e00;
}

/* +++++ TERMINE +++++ */

.termin {
  position: absolute;
  width: 100%;
  background: #0069b4;
  border: 1px solid #000;
  border-radius: 5px;
  padding: 0 4px;
  color: #fff;
  cursor: pointer;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.termin .result {
  position: absolute;
  bottom: 0px;
  left: 3px;
  font-size: 14px;
}

.termin .member {
  position: absolute;
  bottom: 0px;
  right: 3px;
  font-size: 12px;
}

.termin.termin-moving {
  opacity: 0.25;
}

/* +++++ NOTIZEN +++++ */

.notiz {
  position: absolute;
  width: 100%;
  background: #999999;
  border: 1px solid #000;
  border-radius: 5px;
  padding: 0px 4px;
  color: #fff;
  cursor: pointer;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.notiz.notiz-moving {
  opacity: 0.25;
}

/* +++++ PAUSEN +++++ */

.pause {
  position: absolute;
  width: 100%;
  background: #dddddd80;
}

/* +++++ TABS +++++ */

.nav-tabs {
  border: none;
}

.nav-tabs .nav-link {
  border-radius: 0;
  border: none;
  padding: 15px;
}

.nav-tabs .nav-item.show .nav-link,
.nav-tabs .nav-link.active {
  background-color: #0069b4;
  color: #fff;
}

/* +++++ SUCHE +++++ */

.search-results tbody tr {
  cursor: pointer;
}

.search-results tbody tr:hover {
  box-shadow: 0 0 0 5px rgba(0, 0, 0, .25);
  position: relative;
  z-index: 1;
}

/* +++++ LOADING +++++ */

.loading-overlay {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10000;
}

/* +++++ PRINTING +++++ */

#print {
  display: none;
}

/* +++++ Tailwind CSS +++++ */

.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.items-center {
  align-items: center;
}

.invisible {
  visibility: hidden;
}
