html, body {
  overflow-x: hidden;
  width: 100%;
}

.login#main {
  background: rgba (255, 255, 255, 1);
}
.login#main::before {
  content: "";
  background-image: url(../img/abteilungen/khp/bg_login_KHP.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  opacity: 0.5;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  position: absolute;
  z-index: -1;
  min-height: 800px;
}

.login > #change-form {
  margin-top: 10%;
}
.login > #change-form .container .row div {
  background: #fff;
  text-align: center;
  max-width: 480px;
}
.login > #change-form .container .row div h2 {
  color: #245d92;
  font-weight: 700;
  font-size: 36px;
  font-family: "Raleway", sans-serif;
  text-transform: none;
}

.login > #change-form .container .row div p {
  color: #245d92;
}

.login > #change-form .container .row div .btn-primary {
  background: #245d92 !important;
}
.login > #footer {
  position: absolute;
  width: 100%;
  bottom: 0px;
}

.container-fluid {
  /*background: #eee;*/
}

#buttons {
  padding: 0;
}

#buttons_portal {
  padding: 0;
}

#buttons p {
  margin-top: 15px;
  line-height: 1rem;
}

#buttons_portal p {
  margin-top: 15px;
  line-height: 0.9rem;
}

@media (max-width: 991px) {
  #buttons_portal p {
    margin-top: 0px !important;
    line-height: 0.9rem;
  }
}

.nav-link a {
  color: #777;
}

#buttons a {
  color: #777;
}

#buttons_portal a {
  color: #777;
}

#buttons_portal a:hover {
  color: #777;
  text-decoration: none;
}

#buttons_portal .contact-info {
  margin-bottom: 0px;
}

#buttons .contact-info {
  margin-bottom: 0px;
}

#buttons img {
  max-width: 110px;
  height: auto;
  background: #245d92;
  border-radius: 50%;
  padding: 0px;
  margin: 10px 0;
}

#buttons_portal img {
  max-width: 110px;
  height: auto;
  /*background: #245d92;*/
  border-radius: 50%;
  padding: 0px;
  margin: 10px 0;
}

#buttons-menu-search i {
  width: 45px !important;
  height: 45px !important;
  background: #245d92;
  border-radius: 50%;
  color: #fff;
  padding: 5px 0 0;
  margin: 0px 0;
  font-size: xx-large;
}

#buttons-menu-search a {
  color: #777;
}

#homeSearchHome {
  background-color: #245d92 !important;
  padding: 3px;
  border-radius: 25%;
}

@media (max-width: 767px) {
  .login > #change-form .container .row div h2 {
    font-size: 24px;
  }

  #buttons img {
    max-width: 90px;
  }

  #buttons .contact-info i {
    margin-top: 30px;
    margin-bottom: 10px;
  }

  #buttons h2 {
    padding-bottom: 0;
  }

  #buttons h3 {
    display: none;
  }

  #buttons p {
    padding-top: 0px;
  }
}

@media (min-width: 991px) {
  #buttons img {
    max-width: 130px;
  }

  #buttons_portal img {
    margin: 10px 0 -10px 0;
    max-width: 130px;
  }
}

@media (min-width: 1200px) {
  #buttons img {
    max-width: 165px;
  }
}

.menu-item {
  width: 110px;
  /*height: 110px;*/
  border-radius: 5px;
  border: 1px solid #cecece;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  margin-bottom: 10px;
}

.menu-icon {
  display: block;
  margin-top: 0px;
}

.menu-text {
  color: #ffffff;
  font-size: 14px;
  font-weight: 900;
  line-height: 0.9rem;
}

.order-header-info-item {
  margin-right: 30px;
}

.flex-container {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 20px;
  justify-content: center;
}

.flex-container .item {
  width: 120px; /* Festgelegte Breite */
  height: 120px; /* Festgelegte Höhe */
  border: 1px solid #999595;
  border-radius: 5px;
  display: flex;
  justify-content: center; /* Horizontal zentrieren */
  align-items: center; /* Vertikal zentrieren */
}

.flex-container .item p {
  font-size: small;
  color: #333;
}

.versorgen div div,
.wissen div div {
  -webkit-transition: all ease-in-out 0.4s;
  transition: all ease-in-out 0.4s;
}

.versorgen div a div:hover {
  margin-top: -10px;
  color: #245d92;
}

#buttons .versorgen img {
  background: #245d92;
}

#contact .contact-info i {
  margin-bottom: 15px;
}

@keyframes bgcolor-danger {
  0% {
    background-color: #245d92;
  }
  25% {
    background-color: #dc3545;
  }
  50% {
    background-color: #dc3545;
  }
  75% {
    background-color: #245d92;
  }
  100% {
    background-color: #dc3545;
  }
}
@keyframes bgcolor-warn {
  0% {
    background-color: #245d92;
  }
  25% {
    background-color: #ffc107;
  }
  50% {
    background-color: #ffc107;
  }
  75% {
    background-color: #245d92;
  }
  100% {
    background-color: #ffc107;
  }
}
@keyframes bgcolor-success {
  0% {
    background-color: #245d92;
  }
  25% {
    background-color: #218838;
  }
  50% {
    background-color: #218838;
  }
  75% {
    background-color: #245d92;
  }
  100% {
    background-color: #218838;
  }
}

.ticket.danger {
  -webkit-animation: bgcolor-danger 1s infinite;
  animation: bgcolor-danger 2s infinite;
  -webkit-animation-direction: alternate;
  animation-direction: alternate;
}
.ticket.warning {
  -webkit-animation: bgcolor-warn 1s infinite;
  animation: bgcolor-warn 2s infinite;
  -webkit-animation-direction: alternate;
  animation-direction: alternate;
}
.ticket.success {
  -webkit-animation: bgcolor-success 1s infinite;
  animation: bgcolor-success 2s infinite;
  -webkit-animation-direction: alternate;
  animation-direction: alternate;
}

@media (max-height: 800px), (max-width: 576px) {
  .login > #change-form {
    margin-top: 5%;
  }
  .login > #footer {
    position: relative;
  }

  #contact .contact-info i {
    margin-bottom: 15px;
  }
}

@media (min-width: 576px) {
  .visible-xs {
    display: none;
  }
}
@media (max-width: 575px) {
  .visible-xs {
    display: block;
  }
}

@media (min-width: 768px) {
  .visible-sm {
    display: none;
  }
}
@media (max-width: 767px) {
  .visible-sm {
    display: block;
  }
}

.status-orange {
  color: #fff;
  background-color: orange;
  padding: 2px;
  text-align: center;
}

.status-green {
  color: #fff;
  background-color: green;
  padding: 2px;
  text-align: center;
}

.status-red {
  color: #fff;
  background-color: red;
  padding: 2px;
  text-align: center;
}

.status-grey {
  color: #fff;
  background-color: grey;
  padding: 2px;
  text-align: center;
}

.status-info {
  color: #fff;
  background-color: rgb(13, 202, 240);
  padding: 2px;
  text-align: center;
}

.status-green-pending {
  color: #fff;
  background-color: #90e9a3;
  padding: 2px;
  text-align: center;
}

.status-orange-pending {
  color: #fff;
  background-color: rgb(245, 205, 130);
  padding: 2px;
  text-align: center;
}

.status-red-pending {
  color: #fff;
  background-color: rgb(228, 84, 84);
  padding: 2px;
  text-align: center;
}

/**overwrite app.css mazer**/

.row {
  --bs-gutter-x: 0.5rem !important;
}

.stats-icon.orange {
  background-color: rgb(245, 205, 130);
}

.stats-icon.grey {
  background-color: rgb(108, 117, 125);
}

.stats-icon.gray {
  background-color: rgb(108, 117, 125);
}

.stats-icon.delivery {
  background-color: rgb(184, 184, 178);
}

.stats-icon.info {
  background-color: rgb(13, 202, 240);
}

.stats-icon.med {
  background-color: rgb(184, 184, 178);
  float: none !important;
}

.stats-icon.notification {
  background-color: rgb(88,88,88);
  float: none !important;
}

.stats-icon.kompressionsstrumpfe {
  background-color:rgb(179,162,11);
  float: none !important;
}


.stats-icon.primary {
  background-color: #0d6efd;
  float: none !important;
}

.stats-icon.service{
  background-color: #ffc107;
  float:none !important;
}

.stats-icon.completed{
  background-color: #28a745;
  float:none !important;
}


.stats-icon.station{
  background-color: #dc3545;
  float:none !important;
}

.btn.dark-blue{
  background-color: #245D92;
}

.stats-icon.progress{
  background-color:rgb(108, 117, 125);
  float:none !important;
}

.orange {
  color: rgb(245, 205, 130);
}
.grey {
  color: rgb(108, 117, 125);
}
.delivery {
  color: rgb(184, 184, 178);
}

.info {
  color: rgb(13, 202, 240);
}

.green {
  color: green;
}

.red {
  color: red;
}

.stats-icon.user {
  background-color: rgb(36, 93, 146);
}
.pointer {
  cursor: pointer;
}

h6 {
  line-height: normal;
}

.btn-outline-pflegeboost {
  --bs-btn-color: #245d92;
  --bs-btn-border-color: #245d92;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #245d92;
  --bs-btn-hover-border-color: #245d92;
  --bs-btn-focus-shadow-rgb: 108, 117, 125;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #245d92;
  --bs-btn-active-border-color: #245d92;
  --bs-btn-active-shadow: inset 0 3px 5px #245d92;
  --bs-btn-disabled-color: #245d92;
  --bs-btn-disabled-bg: transparent;
  --bs-btn-disabled-border-color: #245d92;
  --bs-gradient: none;
}

td {
  vertical-align: top !important;
}

.per-page-menu {
  --bs-dropdown-min-width: 4rem !important;
}

.page-item i,
.page-item svg {
  font-size: 13px;
  height: 13px;
  width: 5px !important;
}


ul.horizontal-list {
  list-style: none;
}



ul.horizontal-list li {
  display: inline-block;
}

@media (max-width: 768px) {
  .col-md-12 {
    margin-top: 10px !important;
  }

  .btn.btn-light {
    width: 100% !important;
    margin-bottom: 5px;
  }
  .search-tool {
    width: inherit !important;
  }
}

@media (max-width: 388px) {
  h6 {
    margin-left: 1.5rem;
  }
}

.stats-todo-icon.type {
  background-color: rgb(36, 93, 146);
}

.stats-todo-icon {
  align-items: center;
  background-color: #000;
  border-radius: 0.5rem;
  display: flex;
  float: left;
  justify-content: center;
}

/** medi-check **/
.stats-todo-icon.medi-check,
.stats-todo-icon.medi-check:hover,
.stats-todo-icon.medi-check:focus,
.stats-todo-icon.medi-check:active {
    background-color: #ffc107 !important;    
}

/** ticket **/
.stats-todo-icon.ticket,
.stats-todo-icon.ticket:hover,
.stats-todo-icon.ticket:focus,
.stats-todo-icon.ticket:active {
    background-color: rgb(150, 148, 255) !important;
}


/** compression **/
.stats-todo-icon.compression,
.stats-todo-icon.compression:hover,
.stats-todo-icon.compression:focus,
.stats-todo-icon.compression:active {
  background-color: rgb(179,162,11) !important;    
}

/** notification **/
.stats-todo-icon.notifcation,
.stats-todo-icon.notifcation:hover,
.stats-todo-icon.notifcation:focus,
.stats-todo-icon.notifcation:active {
  background-color: rgb(158,158,158) !important;    
}

/** order **/
.stats-todo-icon.order,
.stats-todo-icon.order:hover,
.stats-todo-icon.order:focus,
.stats-todo-icon.order:active {
  background-color: rgb(93, 218, 180) !important;    
}

/** blister **/
.stats-todo-icon.blister,
.stats-todo-icon.blister:hover,
.stats-todo-icon.blister:focus,
.stats-todo-icon.blister:active {
  background-color: rgb(87, 202, 235) !important;    
}



.status-txt-todo.new_entry {
  background-color: #6c757d;
  color: #fff;
  border-radius: 0.4em;
  padding-right: 0.5em;
}

.status-txt-todo.new_ticket_entry {
  background-color: #76b3e7;
  color: #fff;
  border-radius: 0.4em;
  padding-right: 0.5em;
}

.status-txt-todo.rejected_entry {
  background-color: #dc3545;
  color: #fff;
  border-radius: 0.4em;
  padding-right: 0.5em;
}

.status-txt-todo.delivery_different {
  background-color: #ffc107;
  color: #fff;
  border-radius: 0.4em;
  padding-right: 0.5em;
}

.status-txt-todo.unread_comments {
  background-color: #dc3545;
  color: #fff;
  border-radius: 0.4em;
  padding-right: 0.5em;
}


@media (max-width: 1399px) {
  .navi .mobile-nav-item .nav-link .hide {
    display: none;
  }
  .navi .mobile-nav-item .nav-link {
    border-radius: 0.2rem;
    margin: 10px 8px;
    color: #fff;
    padding: 0 0.5em;
    width: 12.6em;
  }
}

@media (min-width: 1400px) {
  .navi .mobile-nav-item .nav-link {
    border-radius: 0.2rem;
    margin: 10px 8px;
    color: #fff;
    padding: 0 0.5em;
    width: 15.2em;
  }
}

.navi .mobile-nav-item .collapse .nav-item .nav-link {
  width: unset;
}

.navi .mobile-nav-item.home .nav-link {
  width: 8em;
}

.mobile-nav-item .nav-link:hover {
  color: #eee;
}
.nav-menu li:hover > a,
.nav-menu > .menu-active > a {
  color: #aaa;
}

.navbar .navbar-nav .mobile-nav-item i.fa.fa-caret-down {
  margin-top: 0.5em;
}

.navi .card-content .card-body .search_mobile {
  padding: var(--bs-card-spacer-y) var(--bs-card-spacer-x);
}

.navi .card-content .card-body {
  padding: 0 var(--bs-card-spacer-x);
}

.home .nav-link {
  background-color:#245D92;
}
.medication .nav-link {
  background-color:#5DDAB4;
}
.blister .nav-link {
  background-color:#57CAEB;
}
.client .nav-link {
  background-color:#9E9E9E;
}
.ticket.bg {
  background-color:#9694FF;
}

.miscellaneous .nav-link{
  background-color:#808080;
}

.ticket .nav-link {
  background-color:#9694FF;
}

.medi-check .nav-link {
  background-color:#FFC107;
}
.compression .nav-link {
  background-color: #B3A20B;
}


.service .nav-link {
  background-color:#6b9dd3;
}

.btn-group.comment {
  width: 100%;
}
.btn-group.btn-group-toggle {
  width: 12.4em;
}
.btn-group .position-relative {
  max-width: 3.5em;
}

.form-check-input:checked {
  background-color: #5ddab4 !important;
  border-color: #5ddab4 !important;
}

select:before {
  content: "\25be or \25bc ? ";
  float: right;
  color: gray;
}
.select:after {
  content: "";
  margin: 0 0.5em;
  display: inline-block;
  border: 7px solid transparent;
  border-top: 8px solid gray;
  border-bottom: 0 none;
}

.dataTable-table,
.table {
  margin-bottom: 0px !important;
}

.notification-comment-count {
  /* circle shape, size and position */
  position: absolute;
  right: -0.7em;
  top: -0.7em;
  min-width: 1.6em; /* or width, explained below. */
  height: 1.6em;
  border-radius: 0.8em; /* or 50%, explained below. */
  border: 0.05em solid white;
  background-color: red;

  /* number size and position */
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.95em;
  color: white;
}

.chat.chat-left .chat-message-header {
  border-bottom: 1px solid #fff !important;
}

.chat-message-header {
  border-bottom: 1px solid #333;
  margin-bottom: 10px;
  font-style: italic;
  font-weight: bold;
}

.bubble {
  position: relative;
  font-family: sans-serif;
  font-size: 18px;
  line-height: 24px;
  width: 300px;
  background: #fff;
  border-radius: 40px;
  padding: 24px;
  text-align: center;
  color: #000;
}

.bubble-bottom-left:before {
  content: "";
  width: 0px;
  height: 0px;
  position: absolute;
  border-left: 24px solid #fff;
  border-right: 12px solid transparent;
  border-top: 12px solid #fff;
  border-bottom: 20px solid transparent;
  left: 32px;
  bottom: -24px;
}

.chat.chat-left .chat-message::before {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  bottom: 100%;
  left: 1.5em;
  border: 0.75rem solid transparent;
  border-top: none;

  border-bottom-color: #5a8dee;
  filter: drop-shadow(0 -0.0625rem 0.0625rem rgba(0, 0, 0, 0.1));
}

.chat .chat-message::before {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  bottom: 100%;
  right: 1.5em;
  border: 0.75rem solid transparent;
  border-top: none;
  border-bottom-color: #fafbfb;
  filter: drop-shadow(0 -0.0625rem 0.0625rem rgba(0, 0, 0, 0.1));
}

.chat .chat-message {
  max-width: none !important;
  width: 60% !important;
}

textarea#txt_comment {
  width: 60% !important;
  float: right;
}

@media (max-width: 991px) {
  textarea#txt_comment {
    width: 90% !important;
    float: right;
  }
  .chat .chat-message {
    max-width: none !important;
    width: 90% !important;
  }
}

.small-xs {
  font-size: 0.6rem !important;
}

/** Search **/
#search {
  position: fixed;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);

  -webkit-transition: all 0.5s ease-in-out;
  -moz-transition: all 0.5s ease-in-out;
  -o-transition: all 0.5s ease-in-out;
  -ms-transition: all 0.5s ease-in-out;
  transition: all 0.5s ease-in-out;

  -webkit-transform: translate(0px, -100%) scale(0, 0);
  -moz-transform: translate(0px, -100%) scale(0, 0);
  -o-transform: translate(0px, -100%) scale(0, 0);
  -ms-transform: translate(0px, -100%) scale(0, 0);
  transform: translate(0px, -100%) scale(0, 0);

  opacity: 0;
}

#search.open {
  -webkit-transform: translate(0px, 0px) scale(1, 1);
  -moz-transform: translate(0px, 0px) scale(1, 1);
  -o-transform: translate(0px, 0px) scale(1, 1);
  -ms-transform: translate(0px, 0px) scale(1, 1);
  transform: translate(0px, 0px) scale(1, 1);
  opacity: 1;
  z-index: 999;
}

@media (max-width: 390px) {
  #search input[type="search"] {
    position: absolute;
    top: 50%;
    width: auto;
    color: rgb(255, 255, 255);
    background: rgba(0, 0, 0, 0);
    font-size: 30px;
    font-weight: 100;
    text-align: center;
    border: 0px;
    margin: 0px auto;
    margin-left: -180px;
    padding-left: 30px;
    padding-right: 30px;
    outline: none;
  }
}

#search .close {
  position: fixed;
  top: 15px;
  right: 15px;
  color: #fff;
  background-color: #428bca;
  border-color: #357ebd;
  opacity: 1;
  padding: 10px 17px;
  font-size: 27px;
}

#search input[type="search"] {
  position: absolute;
  top: 40%;
  width: auto;
  border: 0px;
  color: rgb(255, 255, 255);
  background: rgba(0, 0, 0, 0);
  font-size: 60px;
  font-weight: 100;
  text-align: center;

  margin: 0px auto;
  margin-left: -350px;
  padding-left: 30px;
  padding-right: 30px;
  outline: none;
}

#search .search-nav {
  position: absolute;
  top: 40%;
  left: 47%;
  margin-top: 100px;
}

#search {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh; /* Optional: Set a specific height for the container */
}
#search input {
  width: 200px; /* Adjust the width as needed */
}

.search-input-active{
  background-color: #fbd6d7 !important;
  color: black !important;
  font-weight: bold !important;
}


#global_search button[type="submit"]:hover {
  background-color: gray !important;
  color: white !important;
  box-shadow: none !important;
}


#submenu1, #submenu2, #submenu3, #submenu4, #submenu5 {
   
  border-radius: 11px;    
  padding: 5px;         
  background-color: #f9f9f9;
  margin-left: 10px;; 
}



/* MOBILE MENU */
@media (min-width: 1200px) {
 #mobile-menu { display: none; }   
}

.mobile-menu {
  color: white;
  width: 100%;
}


.menu-toggle {
  color: black;
  border: none;
  width: 100%;
  padding: 1rem;
  font-size: 1.2rem;
  text-align: right;
  cursor: pointer;
}

.menu-items {
  list-style: none;
  padding: 0;
  margin: 0;
}

.menu-items > li {
  margin-bottom: 10px;
}

.menu-item {
  color: white;
  display: block;
  width: 100%;
  padding: 10px;
  background-color: #245D92;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  text-align: left;
  font-size: 16px;
  
}


.submenu {
  position: relative;
  list-style: none;
  padding: 0;
  /*margin: 10px 0 0 20px;*/
  display: none; /* Initially hidden */
}

.submenu-item {
  width: 100%; /* Gleiche Breite wie das übergeordnete Menü */
  padding: 10px;
  background-color: #f5f5f5;
  border: none;
  border-radius: 5px;
  text-align: left;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s ease;
}



/* Different colors for each menu item */
.menu-item-1 {
  background-color: #5DDAB4;
}

.menu-item-2 {
  background-color: #57CAEB;
}

.menu-item-3 {
  background-color: #9E9E9E; /
}

.menu-item-4 {
  background-color: #808080;
}

.menu-item-5 {
  background-color: #6B9DD3;
}

.submenu-1 .submenu-item {
  background-color: #CCEFE2;
  color: #1E7A38;
  text-align: left;
}

.submenu-1 .submenu-item:hover {
  background-color: #CCEFE2;
  color: #1E7A38;
  text-align: left;
}

.submenu-2 .submenu-item {
  background-color: #b5efff;
  color: #3b8599;
  text-align: left;
}

.submenu-2 .submenu-item:hover {
  background-color: #b5efff;
  color: #3b8599;
  text-align: left;
}

.submenu-3 .submenu-item {
  background-color: #E0E0E0;
  color: #757575;
  text-align: left;
}

.submenu-3 .submenu-item:hover {
  background-color: #E0E0E0;
  color: #757575;
  text-align: left;
}

.submenu-4 .submenu-item {
  background-color: #cecbcb;
  color: #4b4a4a;
  text-align: left;
}

.submenu-4 .submenu-item:hover {
  background-color: #cecbcb;
  color: #4b4a4a;
  text-align: left;
}

.submenu-5 .submenu-item {
  background-color: #9ab5d1;
  color: #FFFFFF;
  text-align: left;
}

.submenu-5 .submenu-item:hover {
  background-color: #9ab5d1;
  color: #FFFFFF;
  text-align: left;
}


@media (min-width: 502px) {
  .w-half{
    width: 49.5% !important;
  }
  .w-full{
    width: 100% !important;
  }
}

@media (max-width: 502px) {
  .w-half{
    width: 100% !important;
  }
  .w-full{
    width: 100% !important;
  }
}

@media (min-width: 1200px) {
  .w-half{
    width: auto !important;
  }
  .w-full{
    width: auto !important;
  }
}


.button-container {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}

@media (max-width: 1200px) {
  .delivery-date-position{
    float: right !important;
  }
}


/** client autocomplete and add client **/
.autocomplete-overlay {
  
  max-height: 200px;
  overflow-y: auto;
  position: absolute;
  background: white;
  width:100%;
  z-index: 1000;
}


.autocomplete-item {
  padding: 10px;
  cursor: pointer;
  border-bottom: 1px solid #ccc;
}


.btn-status {
 width: 100% !important;
}

.autocomplete-med-overlay {  
  max-height: 250px;
  overflow-y: auto;
  position: absolute;
  background: white;
  width:max-content;
  z-index: 1000;
  
}

.autocomplete-ticket-overlay {
  max-height: 250px;
  overflow-y: auto;
  position: absolute;
  background: white;
  width: 100%;
  z-index: 1000;
}

.autocomplete-med-item {
  padding: 10px;
  cursor: pointer;
  border-bottom: 1px solid #ccc;
}

.autocomplete-ticket-item {
  padding: 10px;
  cursor: pointer;
  border-bottom: 1px solid #ccc;
}

@media (max-width: 1200px) {
  .autocomplete-med-item .row {
    flex-direction: column; /* Stack columns on small screens */
    margin-bottom: 10px;
    width: 100%;
  }

  .btn-status {
    width: 100%; /* Full-width buttons on small screens */
  }
  .autocomplete-med-header {
      display: none !important;
  }
  .autocomplete-ticket-header {
    display: none !important;
  }
  .autocomplete-med-overlay {
      width: 100% !important;
     
  }
  .autocomplete-ticket-overlay {
    width: 100% !important; 
  }
  .txt-right {
      float: right !important;
  }
  .txt-head {
      font-weight: bold !important;
  }
  
}



.add-client {
  padding: 10px;
  cursor: pointer;
}

.add-client button {
  border: none;
  background: none;
  color: #007bff;
  cursor: pointer;
}

.autocomplete-item:hover {
  background: #f0f0f0;
}

.autocomplete-med-item:hover {
  background: #f0f0f0;
}

.bold-option {
  font-weight: bold;
}

.search-client {
  cursor: pointer;
}

.break-word {
  word-wrap: break-word; /* Zeilenumbruch bei langen Wörtern */
  word-break: break-all;  /* Zeilenumbruch auch innerhalb von Wörtern */
}

.btn-round {
  border-radius: 50% !important; /* Makes the button round */
  align-items: center !important;
  justify-content: center !important;
  font-size: 12px !important;  /* Adjust icon size */
}


/*** Style for the Scroll***/
/* Target the entire scrollbar */
::-webkit-scrollbar {
  width: 12px; /* Width of the scrollbar */
}

/* Handle of the scrollbar */
::-webkit-scrollbar-thumb {
  background-color: #888; /* Dark gray */
  border-radius: 6px; /* Rounded corners */
}

/* Track of the scrollbar */
::-webkit-scrollbar-track {
  background-color: #f1f1f1; /* Light gray */
  border-radius: 6px;
}

/* Handle hover effect */
::-webkit-scrollbar-thumb:hover {
  background-color: #555; /* Darker gray */
}

/* Styling for Firefox */
* {
  scrollbar-width: thin; /* Makes the scrollbar thinner */
  scrollbar-color: #888 #f1f1f1; /* Handle color and track color */
}



/*Star Slider CSS*/
.svg-overlay {
  position: absolute;
  top: 0;
  left:0;
  margin-left: 100px; 
  width: 500px;  /* Passe die Größe nach Bedarf an */
  height: auto;
  z-index: 10;  /* Stelle sicher, dass es über dem Hintergrundbild liegt */

  text-rendering: optimizeLegibility;
  font-smoothing: antialiased;

} 

/*
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700&display=swap');
*/
.svg-overlay text {
    /*font-family: 'Open Sans', sans-serif !important;*/
    letter-spacing: 0px;
    word-spacing: 0px;
}


.slider-container {
position: relative;
width: 100%;
max-width: 1200px;
height: 500px;
overflow: hidden;
}

.slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1; 
}

.slider-background-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* End Slider CSS*/

.stats-todo-icon.ticket,
.stats-todo-icon.notifcation,
.stats-todo-icon.medi-check,
.stats-todo-icon.blister,
.stats-todo-icon.compression,
.stats-todo-icon.order{
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  /*max-width: 150px; /* Anpassen an deine gewünschte Breite */
  display: inline-block;
}


.stats-todo-icon img {
  display: inline-block;
  vertical-align: middle;
}


    /* Vertikaler Button */
    .support-sidebar-button {
      position: fixed;
      top: 40%;
      right: 0;
      background-color: #8b2323 /* #007bff*/;
      color: white;
      padding: 10px 10px;
      border-radius: 8px 0 0 8px;
      font-size: 12px;
      font-weight: bold;
      writing-mode: vertical-rl;
      text-orientation: mixed;
      cursor: pointer;
      z-index: 1000;
      box-shadow: 0 4px 8px rgba(0,0,0,0.2);
      transition: background-color 0.3s ease;
    }

    .support-sidebar-button:hover {
      background-color: #8b2323;
      color: white;
    }


    /**New Table Style**/
    .table {display: flex;flex-direction: column;width: 100%;border: 1px solid #ccc;border-radius: 8px;/*overflow: hidden;*/}
    .table-header, .table-row {display: flex;width: 100%;border-bottom: 1px solid #cecece;box-sizing: border-box; }
    .table-header {background-color: #f5f5f5;font-weight: bold; height: 45px;}
    .table-row:nth-child(even) {background-color: #fafafa;}

    .table-cell {/*padding: 2px;*/overflow: hidden;white-space: nowrap;text-overflow: ellipsis;
      display: flex;
      align-items: center; /* Vertikale Zentrierung */
      justify-content: center; /* Horizontale Zentrierung, optional */}

    /* Spaltenbreiten */
    .col-klient {flex: 1 1 15%;min-width: 220px;}
 
    .col-betrifft {flex: 2 1 20%;display: flex;align-items: center;max-width: 200px;min-width: 200px;}
    .col-betrifft .truncate-text {overflow: hidden;text-overflow: ellipsis;white-space: nowrap;flex: 1;min-width: 0; }


    .blister-order-date {flex: 2 1 20%;display: flex;align-items: center;max-width: 200px;min-width: 200px;}
    .blister-order-date .truncate-text {overflow: hidden;text-overflow: ellipsis;white-space: nowrap;flex: 1;min-width: 0; }


    .col-anhang {flex: 1 1 10%;min-width: 80px;text-align: center;justify-content: center;}
    .col-lieferung {flex: 1 1 15%;min-width: 140px;}


    .col-lieferung .truncate-text {overflow: hidden;text-overflow: ellipsis;white-space: nowrap;flex: 1;min-width: 0; }



    .col-status {flex: 1 1 25%;min-width: 150px;justify-content: center;}
    .col-abschluss {flex: 1 1 15%;min-width: 120px;justify-content: right;}
    .table .col-status{overflow: visible !important;}


    /* Button-Gruppen Abschluss */
    .btn-group {/*display: flex;*/gap: 6px;flex-wrap: wrap;}

    .btn {display: inline-flex;align-items: center;justify-content: center;background-color: #007bff;border: none;
      border-radius: 4px;color: white;font-size: 16px;cursor: pointer;transition: background-color 0.3s;padding: 6px 10px;}

    .btn:hover {background-color: #0056b3;}
    /* Kleine Buttons (nur Icon) */
    .btn-sm {width: 32px;height: 32px;font-size: 16px;padding: 0;}

    /* Status-Button */
    .btn-status {width: 100%;height: 36px;font-size: 14px;}
    
    /* Icons verstecken auf Mobile, Text anzeigen */
    .btn .btn-text {display: none;}


  .btn-klient {width: 100%;height: 36px;background-color: #f0f0f0;border: 1px solid #ccc;padding: 8px 12px;text-align: center;
      font-size: 16px;color: #333;cursor: pointer;border-radius: 5px;display: block;white-space: nowrap;overflow: hidden;text-overflow: ellipsis;}
  .btn-klient:hover {background-color: #e0e0e0;}
  .btn-anhang .link-text {display: none; /* standardmäßig ausblenden */}


  .dropdown {position: relative;}
  .dropdown-menu {position: absolute;top: 100%;left: 0;z-index: 1000;display: none;float: left;min-width: 10rem;padding: .5rem 0;margin: .125rem 0 0;
    font-size: 1rem;color: #212529;text-align: left;list-style: none;background-color: #fff;border: 1px solid rgba(0,0,0,.15);border-radius: .25rem;}
  .show > .dropdown-menu {display: block;}


  .btn-info { color: #fff; background-color: #17a2b8 !important;  }
  .btn-secondary {color: #fff; background-color: #6c757d !important;}
  .btn-primary {color: #fff;background-color: #007bff !important;}
  .btn-success {color: #fff;background-color: #28a745 !important;}
  .btn-danger {color: #fff;background-color: #dc3545 !important;}
  .btn-warning {color: #fff;background-color: #ffc107 !important;}
  .btn-info {color: #fff;background-color: #17a2b8 !important;}
  .btn-light {color: #212529;background-color: #f8f9fa !important;}
  .btn-dark {color: #fff;background-color: #343a40 !important;;}
  
  .badge-success {color: #fff!important; background-color: #28a745 !important; }



  button .send{
  background-color: #741d2e !important;
  border-color: #741d2e !important;  
  }

  .order-header-info-item .text-muted-light {font-size: 14px !important; color: #797979 !important; font-family: sans-serif !important;}
  .order-header-info-item .font-normal {font-size: 14px !important; color: #797979 !important; font-family: sans-serif !important;}


@media (max-width: 768px){
  #selected-date{
    display: none;
  }
}

/***** Icons circle in color gray ***/
.icon-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: #e0e0e0; /* hellgrau, anpassbar */
  color: #555; /* Icon-Farbe */
}



/**@media (max-width: 768px)  **/
    @media (max-width: 1199.9px) {
      .table-header {display: none !important;}
      .table-row {flex-direction: column;border-bottom: 1px solid #ddd;padding: 12px;}
      .table-cell {display: flex;justify-content: space-between; padding: 2px 0;}

      .col-betrifft {min-width: none; max-width: none; width: 100%;white-space: normal;}
      .col-abschluss, .col-status {justify-content: flex-start;}

      .table-cell::before {display: none;}

      .btn-anhang { background: none; border: none; justify-content: flex-start; }
      .btn-anhang:hover { background: none; text-decoration: underline; }
      .btn-anhang i { display: none; /* Icon auf Mobile ausblenden */ }
      .btn-anhang .link-text { display: inline; /* Link-Text auf Mobile zeigen */}

      /* Button-Gruppe auf volle Breite */
      .btn-group { display: flex !important; gap: 8px !important; width: 100% !important;}

      .btn-group > .btn {
        flex: 1 1 0 !important;
        position: relative !important;
      }
      /* Jeder Button gleichmäßig aufteilen */
      .btn-group .btn {flex: 1 1 0; padding: 8px; font-size: 14px; text-align: center;}

      .btn-sm { width: 100%;height: auto;font-size: 14px;padding: 8px;}
      .btn .btn-icon { display: none;}
      .btn .btn-text {display: inline;margin-left: 5px;}

      .details {display: none;}
      .details.active {display: block;}

      .stats-todo-icon.ticket, 
      .stats-todo-icon.notifcation, 
      .stats-todo-icon.medi-check, 
      .stats-todo-icon.blister, 
      .stats-todo-icon.compression, 
      .stats-todo-icon.order {
        height: 50px !important;
      }
      .border-top-line{border-top: 1px solid #ddd !important;}

      .blister-order-date .truncate-text {overflow:visible !important; min-width: auto !important;}

      
      .button-text-left {
      position: absolute;
      left: 16px;
      bottom: 2px;
      font-size: 10px;
      }
      .button-text-right {
          position: absolute;
          right: 16px;
          bottom: 2px;
          font-size: 10px;
      }
  }


  #filterTypeCard label {
    margin-bottom: 0px !important;
  }
   

img.hasOpenTicket {
  background-color: #007bff;
  
  padding: 4px;  /* Abstand, damit der Hintergrund sichtbar ist */
}


.ticket-btn {
             /* Positionierung des Icons */
  display: inline-flex;         /* Inhalt flexibel anordnen */
  align-items: center;          /* Icon vertikal mittig */
  justify-content: center;      /* Icon horizontal mittig */
  width: 20px;                 /* feste Breite */
  height: 20px;                 /* feste Höhe */
  background-color: rgb(150, 148, 255) !important;    /* Hintergrundfarbe */
  border-radius: 5px;           /* abgerundete Ecken (optional) */
  text-decoration: none;        /* kein Unterstrich */
  z-index: 200;
}

.ticket-btn img {
  width: 16px;   /* Icon-Größe anpassen */
  height: 16px;
}
