* {
    box-sizing: border-box;
}

:root {
    --color-blue: #0d6efd;
    --color-lightgrey: #eee;
    --color-white: #fff;
    --color-border: #ccc;
    --color-note: #fffdcc;
}

.hljs {

  border: 1px solid var(--color-border);
  border-radius: .25rem;
  box-shadow: 2px .15rem .25rem rgba(0,0,0,.2) !important;
}


html {
  font-family: "Cantarell", sans-serif;
  font-weight: 400;
	font-size: 0.8em;
}
body {
  height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
	/*background-image: linear-gradient(135deg, #f2f2f2 25%, #ffffff 25%, #ffffff 50%, #f2f2f2 50%, #f2f2f2 75%, #ffffff 75%, #ffffff 100%);
	background-size: 7.00px 7.00px;*/
	background-color: #bbb;
	text-align: center; 
  color: #333;
    scrollbar-width: thin; /* Optionen: auto, thin, none */
    scrollbar-color: #ddd #fff; /* Farbe des Daumens und des Tracks */
}

a {
  color: #FF745B;
  text-decoration: none;
}

input {
	font-family: 'Cantarell', sans-serif; 
	color: #333;
}

input:focus {
    outline: none;
}

form {
  margin: 0;
  padding: 0;
}

textarea {
  flex: 1;
	font-family: 'Cantarell', sans-serif; 
	color: #333;
	font-size: 1em;
	resize: none;
}

textarea:focus {
    outline: none;
}

.flex {
  display: flex;
}

.border {
  border: 1px solid var(--color-border);
}

.border-top {
  border-top: 1px solid var(--color-border);
}

.col {
  flex: 1 0 0%;
  display: flex;
  flex-direction: column;
}

.container {
  flex: 1;
  display: flex;
  align-self: flex-start !important;
  margin: .45rem;
  width: calc(100vw - 1rem);
}

.image-container {
  padding: .5rem;
  border-radius: .25rem;
}
.overlay-backgroun
d {
  display: none;
}

.offcanvas {
  position: fixed;
  z-index: 999;
  top: 0;
  left: -310px;
  width: 300px;
  height: 100%;
  background-color: #F8F9FA;
  transition: left 0.3s ease-in-out;
  border-right: 1px solid var(--color-border);
  box-shadow: 0 .5rem .5rem rgba(0,0,0,.5) !important;
}
.offcanvas a {
  height: 40px;
}
.offcanvas-header {
  display: flex;
  justify-content: space-between;
  background-color: #f2f2f2;
  border-bottom: 1px solid var(--color-border);
  padding: .5rem;
}
.mobile {
  display: none;
}
.toolbar {
  display:flex;
  background-color: var(--color-lightgrey);
  padding: .5rem;
  gap: .5rem;
  border-top: 1px solid var(--color-border);
}

.bg-active {
  background-color: var(--color-lightgrey) !important;
}

.mobile-menu-button {
  display: none;
}

.w-100 {
  width: 100%;
}
.button-avatar {
  flex: 1;
  display: inline-flex; /* Flexbox verwenden */
  align-items: center; /* Vertikal zentrieren */
  justify-content: center;
  text-align: center ;
  text-decoration: none;
  vertical-align: middle;
  padding: .25rem;
  margin-left: 0;
  background-color: transparent;
  border: 0;
  cursor: pointer;
  color: #fff;
	font-family: 'Cantarell', sans-serif; 
  transition: background-color 0.5s ease;
  width: 100%;
}

.sidebar {
  width: 400px;
  border: 1px solid var(--color-border);
  min-width: 255px;
  display: flex;
  flex-direction: column;
  height: calc(100vh - 1rem);
  box-shadow: 2px .15rem .25rem rgba(0,0,0,.2) !important;
  margin-right: .5rem;
  background-image: linear-gradient(135deg, #f2f2f2 25%, #ffffff 25%, #ffffff 50%, #f2f2f2 50%, #f2f2f2 75%, #ffffff 75%, #ffffff 100%);
	background-size: 7.00px 7.00px;
}

.content {
  flex: 1;
  height: calc(100vh - 1rem);
  box-shadow: 2px .15rem .25rem rgba(0,0,0,.2) !important;
  border: 1px solid var(--color-border);
  background-image: linear-gradient(135deg, #f2f2f2 25%, #ffffff 25%, #ffffff 50%, #f2f2f2 50%, #f2f2f2 75%, #ffffff 75%, #ffffff 100%);
	background-size: 7.00px 7.00px;
} 

.messenger-container {
  border-top: 1px solid var(--color-border);
  height: calc(100vh - 257px);
  overflow: auto;
  padding: .5rem;
  
}
.message-input-container {
  padding: .5rem;
  background-color: var(--color-lightgrey);
  border-top: 1px solid var(--color-border);
  gap: .5rem;
}
.message {
  border: 1px solid var(--color-border);
  background-color: #fff;
  /*box-shadow: 2px .25rem .35rem rgba(0,0,0,.2);*/
  margin-bottom: .5rem;
  width: 100%;
}

.form-signin {
  padding: 1rem;
  border: 1px solid var(--color-border);
  background-color: #fff;
  box-shadow: 2px .25rem .35rem rgba(0,0,0,.2);
}

.input-group {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  width: 100%;
  gap: .5rem;
}

.form-input {
  display: block;
  width: 275px;
  padding: .375rem;
  line-height: 1.5;
  color: #333;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid var(--color-border);
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;

  transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

.button-container {
  background-color: var(--color-lightgrey);
  padding: .5rem;
}

.button-primary {
  display: inline-flex; /* Flexbox verwenden */
  align-items: center; /* Vertikal zentrieren */
  justify-content: center;
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
  cursor: pointer;
  border: 1px solid transparent;
  padding: .375rem;
  margin-left: 0;
  background-color: #C34156;
  color: #fff;
	font-family: 'Cantarell', sans-serif; 
  font-size: 1em;
  transition: background-color 0.5s ease;
  width: 100%;
}

.button-primary:hover{
  background-color: #FF745B;
  border: 1px solid transparent;
}

.button-secondary {
  background-color: #fff;
  display: inline-flex; /* Flexbox verwenden */
  align-items: center; /* Vertikal zentrieren */
  text-align: left;
  justify-content: center;
  text-decoration: none;
  vertical-align: middle;
  cursor: pointer;
  border: 1px solid var(--color-border);

  padding: .375rem;
  margin-left: 0;
  color: #333;
	font-family: 'Cantarell', sans-serif; 
  font-size: 1em;
  transition: background-color 0.5s ease;
  width: 100%;
}

.button-secondary:hover{
  background-color: #eee;
  border: 1px solid var(--color-border);
}

.button-borderless {
  background-color: #fff;
  display: inline-flex; /* Flexbox verwenden */
  align-items: center; /* Vertikal zentrieren */
  text-align: left;
  justify-content: center;
  text-decoration: none;
  vertical-align: middle;
  cursor: pointer;
  padding: .5rem;
  margin-left: 0;
  color: var(--color-blue);
	font-family: 'Cantarell', sans-serif; 
  font-size: 1em;
  transition: background-color 0.5s ease;
  width: 100%;
  border: none;
}

.button-borderless:hover{
  background-color: #eee;
}

.card-footer {
  background-color: #eee;
}

.card-header {
  background-color: #eee;
}

.column {
  flex: 1 0 0%;
  /*display: flex;*/
}

.text-danger {
  color: #C34156;
}

.registration-success {
  width: 300px;
  padding: 1rem;
  background-color: #fff;
  border: 1px solid var(--color-border);

  box-shadow: 2px .25rem .35rem rgba(0,0,0,.2);
}

.avatar {
  border-radius: .25rem;
  border: 1px solid var(--color-border);
  box-shadow: 2px .25rem .35rem rgba(0,0,0,.2);
}

/* -------------------------------------------------------------------------- *\
   SHADOWS
\* -------------------------------------------------------------------------- */
.shadow {
  box-shadow: 0 .5rem 1rem rgba(0,0,0,.15) !important;
}
.shadow-sm {
  box-shadow: 2px .15rem .25rem rgba(0,0,0,.1) !important;
}
.shadow-inner {
  box-shadow: inset 0 0 16px rgba(0, 0, 0, 0.3);
}
.shadow-active {
  box-shadow: inset 0 0 16px rgb(195, 64, 86);
  background-color: #FF745B;
}

/* -------------------------------------------------------------------------- *\
   BORDERS
\* -------------------------------------------------------------------------- */
.border-active {
  border: 1px solid #C34156;
}

.m-0 {
  margin: 0;
}

.mb-0 {
  margin-bottom: .25rem;
}
.mb-1 {
  margin-bottom: .5rem;
}
.mb-2 {
  margin-bottom: .75rem;
}
.mb-3 {
  margin-bottom: 1rem;
}
.mb-4 {
  margin-bottom: 1.5rem;
}

.mt-0 {
  margin-top: .25rem;
}
.mt-1 {
  margin-top: .5rem;
}
.mt-2 {
  margin-top: .75rem;
}
.mt-3 {
  margin-top: 1rem;
}
.mt-4 {
  margin-top: 1.5rem;
}

.p-0 {
  padding: 0 !important;
}

.p-1 {
  padding: .25rem;
}

.p-2 {
  padding: .5rem;
}

.p-3 {
  padding: .75rem;
}

.p-4 {
  padding: 1rem;
}
.w-70 {
  width: 70% !important;
}

.w-75 {
  width: 75% !important;
}

.note-container {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)); 
  gap: 1rem;
  padding: 1rem;
  overflow: auto;
  max-height: calc(100vh - 47px);
}

.card {
  border: 1px solid var(--color-border);
  /*box-shadow: 0 .25rem .25rem rgba(0,0,0,.15);*/
}

.card-header{
  border-bottom: 1px solid var(--color-border);
}

.note {
  border: 1px solid var(--color-border);
  box-shadow: 2px .15rem .25rem rgba(0,0,0,.2);
  background-color: var(--color-note);
  height: 400px;
  display: flex;
  flex-direction: column;
}

.note-title {
  overflow: hidden; 
  white-space: nowrap; 
  text-overflow: ellipsis;
  padding: 1rem;
  border-bottom: 1px dashed var(--color-border);
  height: 40px;
  text-align: left; 
}

.note-content {
  flex: 1;
  overflow: auto; 
  text-align: left; 
  padding: 1rem;
  scrollbar-color: #eee #fffdcc; /* Farbe des Daumens und des Tracks */
}

.note-footer {
  border-top: 1px dashed #ccc; 
  padding-top: .25rem;
}

#popover {
    position: absolute;
    background-color: #fffd;
    border: 1px solid #444;
    padding: .5rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    max-width: 275px;
    backdrop-filter: blur(3px); /* Blur-Effekt auf den Hintergrund */
    font-size: 1em;
}

.tab-container {
  display: flex;
  gap: .5rem;
  padding-top: .5rem;
  border-bottom: 0;
  background-color: #ddd;
  overflow: hidden;
  border-bottom: 1px solid var(--color-border);
  justify-content: center;
  align-items: center;
}

.tab-content {
  display: flex;
  gap: .5rem;
  flex: 1;
}

.tab-header {
  display: flex;
  width: 100%;
  padding: .5rem;
  justify-content: center;
  align-items: center;
  border-bottom: 1px solid var(--color-border);
  background-color: var(--color-lightgrey);
}

.tab {
  flex: 1;
  border-top: 1px solid var(--color-border);
  border-left: 1px solid var(--color-border);
  border-right: 1px solid var(--color-border);
  margin-bottom: 0;
  margin-top: 0;
  background-color: #eee;
  text-align: center;
  cursor: pointer;
  color: var(--color-lightgrey);
  text-decoration: none;
  transition: background-color 0.5s ease, border-color 0.5s ease;
}

.tab:hover{
  background-color: #fff;
  border-top: 1px solid var(--color-border);
  border-left: 1px solid var(--color-border);
  border-right: 1px solid var(--color-border);
}

.tab-active {
  flex: 1;
  border-top: 1px solid var(--color-border);
  border-left: 1px solid var(--color-border);
  border-right: 1px solid var(--color-border);
  margin-bottom: 0;
  margin-top: 0;
  background-color: #fff;
  color: #C34156;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.5s ease;
  box-shadow: 2px .15rem .25rem rgba(0,0,0,.2);
}

.tab-link {
  color: var(--color-blue);
  text-decoration: none;
  border: none;
  height: 100%;
  width: 100%;
  background-color: transparent;
  cursor: pointer;
  font-family: "Cantarell", sans-serif;
  font-size: 1em;
  padding: .5rem;
}

.tab-sidebar {
  border-right: 1px solid var(--color-border);
  display: flex; 
  flex-direction: column;
  background-color: #fff;
  width: 350px;
}

.pallet-list {
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  overflow: auto; 
  gap: .5rem; 
  min-width: 255px;
}

.pallet-item {
  border: none;
  background-color: #fff;
  width: 100%;
  cursor: pointer;
  color :#333;
  transition: background-color 0.5s ease-out;
  font-family: "Cantarell", sans-serif;
  font-size: 1em;
}

.pallet-item:hover {
  background-color: #eee;
}
.pallet-articles {
  flex: 1; gap: .5rem; 
  width: 74%; 
  overflow: auto; 
  background-color: #fff;
}

.debug {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  width: 100%;
  height: 56px;
  border-bottom: 1px solid var(--color-border);

  background-color: #fbb;
}

.header-bar {
  display: flex;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  text-align: left;
  background-color: var(--color-lightgrey);
}

.list-item {
  display: flex;
  text-align: left;
	font-family: 'Cantarell', sans-serif; 
  font-size: 1em;
}

.link {
  text-decoration: none;
  border: 0;
  background-color: transparent;
  padding-top: .25rem;
  color: var(--color-blue);
}

.link:hover {
  text-decoration: underline;
  cursor: pointer;
}

.collapse-container {
  background-color: #fff;
  text-align: left;
}

.collapse-header {
  display: flex;
  align-items: center;
  padding: .25rem;
  cursor: pointer;
  transition: background-color 0.5s ease;
  border-bottom: 1px dashed var(--color-border);
}
.collapse-header:hover {
  background-color: #eee;
}
.collapse-title {
  flex: 1;
  margin: 0;
  text-align: left;
  overflow: hidden; 
  white-space: nowrap; 
  text-overflow: ellipsis;
}

.collapse-icon {
  font-weight: bold;
}

.collapse-content {
  display: none;
  padding: 0;
  background-color: #fff;
}

.collapse-content #task-image{
  padding: 0;
}

.collapse-content #link{
  padding: 0;
}

.collapse-sidebar-content {
  display: none;
  text-align: left;
}

.collapse-sidebar-footer {
  text-align: left;
  border-bottom: 1px dashed var(--color-border);
  border-top: 1px dashed var(--color-border);
}

.task-container {
  display: flex;
  justify-content: space-evenly;
  background-color: var(--color-lightgrey);
  border-bottom: 1px solid var(--color-border);
}

.task-content {
  display: flex;
  background-color: #fff;

}

.task-footer {
  display: flex;
  border-top: 1px solid var(--color-border);
  background-color: var(--color-lightgrey);
}

.dropdown {
  position: relative;
  display: block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #eee;
  min-width: 120px;
  z-index: 1;
  border: 1px solid var(--color-border);
  box-shadow: 2px .15rem .25rem rgba(0,0,0,.2);
  text-align: left;
  top: -1px;
  left: -1px;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown-content a {
  color: #333;
  padding: 10px;
  text-decoration: none;
  display: block;
  transition: background-color 0.5s ease;

}

.dropdown-content a:hover {
  background-color: #f2f2f2;
}

/* Stil für das Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(255, 255, 255, 0.8);
}

.modal-content {
    background-color: #F8F9FA;
    margin: 10% auto;
    border: 1px solid #dadee2;
    width: 570px;
}

.modal-title {
    text-align: center;
    display: inline;
    width: 100%;
    margin: 5px;
    font-weight: bold;
}

.modal-header {
    background-color: #eee;
    display: flex;
    flex-direction: row;
    padding: .5rem;
    border-bottom: 1px solid #ccc;
}

.modal-body {
    background-color: #fff;
    padding: .5rem;
    height: 350px;
}

.modal-input {
    margin-bottom: .5rem;
    width: 100%;
}
.modal-input:last-child {
    margin-bottom: 0;
}

.close {
    color: #333;
    float: right;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

#notification {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100px;
    position: fixed;
    top: 0;
    padding: 1.5rem;
    border: 1px solid #ccc;
    box-shadow: .15rem .15rem .25rem rgba(0, 0, 0, 0.9);
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
    z-index: 1000;
    width: 350px;
    background-color: #fff;
    background-size: 5px 5px;
}

#notification-progress {
    height: .25rem;
    background-color: #FF745B;
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
}

@media screen and (max-width: 768px) {
  .modal-content {
      width: 95%;
      margin-top: .5rem;
  }
}
