
:root {
  --messages-bg-color: #353641;
  --messages-fg-color: var(--color-white);
  --messages-border-radius: 2px;
  --messages-border-width: 0.3125rem;
  --messages--status-color: #42a877;
  --messages--warning-color: #e0ac00;
  --messages--error-color: #e34f4f;
  --messages__link-color: var(--color-sunglow);
  --messages__link--hover-color: var(--color-white);
  --messages__icon-size: 1rem;
  --messages__text-margin: calc(var(--messages__icon-size) + var(--space-l));
  --warn1: #0f809b;
  --orange: #c48f14;  color: rgb(103, 115, 114);
  --red: #ae1e17;
  --green: #578600;
}
.gtranslate_wrapper {
  margin-bottom:4px;
}
.views-exposed-form .form-item--no-label,
.views-exposed-form__item.views-exposed-form__item.views-exposed-form__item--actions {
  margin-block: 0; /* neutralize the original */
  align-self: auto; /* reset */
  margin-top: calc(var(--line-height-form-label) + var(--space-s) + var(--space-xs));
}
.node-title a, .field--name-uid a, li.taxonomy-term a, .single-comment-title a.permalink, span a.username, .c-text-color{color:#545668;text-decoration:none}
.node-title a::hover {color:var(--gin-color-primary);}
.warn1 {color:var(--warn1);}
.warn2 {color:var(--orange);}
.warn3 {color:var(--red);}
.bwarn {border-left: 3px solid #aeaeae;}
.bwarn2 {border-left: 3px solid var(--orange);}
.bwarn3 {border-left: 3px solid var(--red);}
.bwarnG {border-left: 3px solid var(--green);}
.green {color:var(--green);}
.orange {color:var(--orange);}
.tabs-wrapper{margin-bottom:10px;}
.inline-block{display:inline-block}
.node-view-mode-teaser{margin-bottom:5px;}
.file-count{display:inline-block;min-width:25px}
.horizontal-layout {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.form-wrapper summary{margin-bottom:10px;}
.form-item--uid-0-target-id.help-icon__description-container div.help-icon{display:none;}
.d-none{display:none;}
a.use-ajax .button.np{margin-inline:0}
.taxonomy-terms {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  list-style: none;
  list-style-type: none;
  margin: 0;
  padding: 0;
}
.comment-link{
  list-style: none;
  list-style-type: none;}
.v-align {
  display: flex;
  align-items: center;
  height: 100%; /* Ensure full height of the column */
}
.v-bottom {
  display: flex;
  align-items: flex-end;
  height: 100%; /* Ensure full height of the column */
}
.primary{color: var(--gin-color-primary);}
.h-align {
  display: flex;
  justify-content: center;
  text-align: center;
  height: 100%;
}
.vh-align {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 100%;
}
.h-40{min-height:40px;}
.h-72{min-height:72px;}
.fs-l{font-size: var(--gin-font-size-l);}
.fs-xl{font-size: var(--gin-font-size-xl);}
.border-top{border-top:1px solid}
.pm{padding: var(--gin-spacing-m)}
.pm-5{padding: 5px}
.ps{padding: var(--gin-spacing-s)}
.text-right{text-align:right}
.node-content table, #block-gin-custom-content table {
  margin-block:0
}
#views-exposed-form-hauptansicht-page-4 {
  display: flex;
  align-items: flex-end;
  gap: 0.5rem;
}
body[class*="path-node-add"],
body[class*="path-node-"][class*="-edit"] {
  --gin-spacing-s: 0px !important; /* override variable to zero */
}
.bord-bottom {
  border-bottom: 1px solid #ced6dd;
}
.fw-bold{font-weight:600}
.special-note  {
    background: #fff8e6;
}
.node-btop-l{border-top:1px solid #bbb ;margin:10px 0;}
.node-btop{background-color: #dae6bf;height: 5px;margin:6px}
.border-light{border: 1px solid #d2d2d2;border-radius: 3px;}
.section-video video {
  vertical-align: middle;
  width: 100%;
}
.has-tooltip {
  position: relative;
  cursor: help;
}
.has-tooltip::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%;               /* Position above the trigger */
  /*left: 50%;*/
  transform: translateX(-50%);
  background: #333;
  color: #fff;
  padding: 0.4em 0.6em;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}
.has-tooltip:hover::after {
  opacity: 1;
}
.video-container {
  width: 100%;
  max-width:1280px;
  margin: 10px auto 10px;
  padding: 20px;
  text-align: center;
  background: #fff;
  border-radius: 8px;
  border: 1px solid var(--border);
}
.video-container video {
  vertical-align: middle;
  width: 100%;
}
.term-title-next2 {
  font-size: 1.1rem;
  line-height: 1;
  float: left;
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 2px 5px 2px 0;
}

.term-title-next2 i {
  font-size: 1.1em;
  color: var(--color-primary);
}
@media (min-width: 768px) {
#block-gin-custom-local-tasks{display: flex;justify-content: end;margin-bottom:4px}
}
.messagess .messages--info::before {
  content: "";
  position: absolute;
  left: 0.7em;
  top: 25%;
  width: 17px;
  height: 17px;
  background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3e%3crect width='20' height='20' fill='%23cccccc'/%3e%3crect x='4' y='4' width='12' height='12' fill='%2300cc00'/%3e%3c/svg%3e") no-repeat center center;
  background-size: auto;
  background-size: 17px 17px;
  transform: translateY(-50%);
}
.messagess .messages--Kommunikation::before, .messages--status::before  {
  content: "";
  position: absolute;
  left: 0.5em;
  top: 50%;
  width: 17px;
  height: 17px;
  background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3e%3crect width='20' height='20' fill='%23cccccc'/%3e%3crect x='4' y='4' width='12' height='12' fill='%2300cc00'/%3e%3c/svg%3e") no-repeat center center;
  background-size: auto;
  background-size: 17px 17px;
  transform: translateY(-50%);
}
.messagess .messages--warning::before {
  content: "";
  position: absolute;
  left: 0.5em;
  top: 50%;
  width: 17px;
  height: 17px;
  background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3e%3crect width='20' height='20' fill='%23cccccc'/%3e%3crect x='4' y='4' width='12' height='12' fill='%23e69500'/%3e%3c/svg%3e") no-repeat center center;
  background-size: 17px 17px;
  transform: translateY(-50%);
}

.messagess .messages--error::before {
  content: "";
  position: absolute;
  left: 0.5em;
  top: 50%;
  width: 17px;
  height: 17px;
  background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3e%3crect width='20' height='20' fill='%23cccccc'/%3e%3crect x='4' y='4' width='12' height='12' fill='%23cc0000'/%3e%3c/svg%3e") no-repeat center center;
  background-size: 17px 17px;
  transform: translateY(-50%);
}
.fade-out-message {
  position: fixed !important;
  top: 5px;
  right: 20px;
  z-index: 9999;
  min-width:300px;
  max-width: 600px;
  min-height:
  padding: 10px 15px;
  border-radius: 5px !important;
  background-color: #f2f4f8;
  box-shadow: 0px 4px 6px rgba(17, 4, 4, 0.26);
  opacity: 0;
  transition:
    opacity 0.5s ease-in-out,
    transform 0.5s ease-out !important;
  border: 1px solid var(--gin-color-primary);
  min-height:50px;
  display: flex;
  align-items: center; /* vertical centering */
  padding: 10px 10px 10px 0;
}

/* On show: slide down */
.fade-out-message.fade-in {
  opacity: 1;
}

/* On hide: only fade out, no slide */
.fade-out-message.fade-out {
  opacity: 0;
  pointer-events: none;
}


.messages-listc {
  list-style: none;
}

.field .messages-listc,
.form-wrapper .messages-listc {
  margin-block-end: 0;
}


.notbar {
  position: relative;
  color: var(--messages-fg-color);
  font-size: 1.2rem;
  text-shadow: none;
  margin: 1rem 0;
  padding: 14px 14px 14px 64px;
  border-radius: 4px;
}
.notbar svg {
  display: inline-block;
}

.notbar::before {
  position: absolute;
  left: 0;
  top: 0;
  width: 53px;
  text-align: center;
  height: 100%;
  line-height: 53px;
    font-family: "Font Awesome 5 Pro";
  font-size: 30px;
  border-radius: 4px;
}
.ncalendar {
  background-color: #458080;
}

.ncalendar::before {
  content: "\f133";
  background-color: #326666;
}
.ncomment {
  background-color: #008673;
}
.ncomment::before {
  content: "\f3e5";
  background-color: #006859;
}
.nwarning {
  background-color: #c8a314;
}
.nwarning::before {
  content: "\f071";
  background-color: #bd8e00;
}
.nlist {
  background-color: #89ad32;
}
.nlist::before {
  content: "\f0ae";
  background-color: #759625;
}
.nclock {
  background-color: #458080;
}
.nclock::before {
  content: "\f017";
  background-color: #326666;
}
.nnew {
  background-color: #148140;
}
.nnew::before {
  content: "\f09e";
  background-color: #227342;
}
.nuser-clock {
  background-color: #c8a314;
}
.nuser-clock::before {
  content: "\f4fd";
  background-color: #bd8e00;
}
.nuser-ban {
  background-color: #ad6032;
}
.nuser-ban::before {
  content: "\f506";
  background-color: #753d1c;
}
.nforbidden {
  background-color: #ad6032;
}
.nforbidden::before {
  content: "\f90f";
  background-color: #753d1c;
}
.nhouse-leave {
  background-color: #ad6032;
}
.nhouse-leave::before {
  content: "\f90f";
  background-color: #753d1c;
}
.nhouse-info {
  background-color: #1e7e9b;
}
.nhouse-info::before {
  content: "\f6a8";
  background-color: #30628e;
}
.nfolder {
  background-color: #55867b;
}
.nfolder::before {
  content: "\f07b";
  background-color: #066856;
}
.icon-ereigniss:before {
  font-family: "Font Awesome 5 Pro";
  content: "\f5f2";
  font-weight: 600;
  font-style:normal;
}
.icon-info-square:before {
  font-family: "Font Awesome 5 Pro";
  content: "\f30f";
  font-weight: 600;
  font-style:normal;
}
.icon-forbid:before {
  font-family: "Font Awesome 5 Pro";
  content: "\f5ec";
  font-weight: 600;
  font-style:normal;
}
.icon-pending:before {
  font-family: "Font Awesome 5 Pro";
  content: "\f251";
  font-weight: 600;
  font-style:normal;
}
.icon-comment:before {
  font-family: "Font Awesome 5 Pro";
  content: "\f4b6";
  font-weight: 600;
  font-style:normal;
}
.fad.fa-info-square::before{
  content: "\f30f";
  color:white;
}
.fad.fa-info-square::after{
  opacity: 1;
}
.fad.fa-do-not-enter::after {
  content: "\10f5ec";
  color: white;
}
.auftrag-inline-items {
  display: inline-flex;
  align-items: center;
  gap: 0.5em; /* Space between flag, icon, loader */
}

.dots-loader {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.dots-loader span {
  width: 10px;
  height: 10px;
  background-color: var(--orange); /* Or your color hex, e.g. #ff9800 */
  border-radius: 50%;
  display: inline-block;
  animation: dots-animation 1.5s infinite ease-in-out;
}

.dots-loader span:nth-child(2) {
  animation-delay: 0.2s;
}
.dots-loader span:nth-child(3) {
  animation-delay: 0.4s;
}

/* Animation for the dots */
@keyframes dots-animation {
  0%, 80%, 100% {
    transform: scale(0); /* Scale down */
    opacity: 0.5; /* Semi-transparent */
  }
  40% {
    transform: scale(1); /* Scale up */
    opacity: 1; /* Fully visible */
  }
}

.contain-content, .comment{
  background-color: var(--gin-bg-layer);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border-radius: var(--gin-border-s);
  padding: var(--gin-spacing-s);
}
.comment-form__title {
  display: none;
}
details.comment-accordion summary{cursor:pointer}
.comment{margin-bottom:4px}
.comment-header {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  border-bottom: 1px solid #bbb;
}
h2.comments-title{padding:6px;}
mark,
ins {
  display: inline-block;
  background-color: var(--gin-color-primary);
  color: #ffffff;
  padding: 2px 4px;
  text-decoration: none;
}
.comment-user-picture {
  width: 80px;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3e%3cpath fill='%23cccccc' d='M224 256A128 128 0 1 0 224 0a128 128 0 1 0 0 256zm-45.7 48C79.8 304 0 383.8 0 482.3C0 498.7 13.3 512 29.7 512H418.3c16.4 0 29.7-13.3 29.7-29.7C448 383.8 368.2 304 269.7 304H178.3z'/%3e%3c/svg%3e");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 60% auto;
}

.comment-user-picture img[src*="nopics.png"] {
  opacity: 0;
  width: 0;
  height: 0;
  display: none;
  position: absolute;
}
.single-comment-body {
  margin: 0 5px;
}
.single-comment-body .links.inline li {
  padding: 0;
}
.single-comment-body .links.inline a {
  background-color: #545668;
  color: #ffffff;
  padding: 4px 10px;
  transition: all 0.3s ease-in-out;
  border-radius: 5px;
  font-size: 0.9rem;
  text-decoration:none;
  margin-right:3px;
}
.highlight-thread {
  background: #fffbe2;
  border-left: 3px solid #ffc107;
  transition: background 1s;
}
#installButton {
    position: fixed;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #007986;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease;
    z-index: 9999; /* Ensure it's above other elements */
    width: 90%; /* Responsive width */
    max-width: 200px; /* Cap width */
    font-weight: 600;
}

#installButton:hover {
  background-color: #005f68;
}

#parentElement {
  pointer-events: none; /* Prevent interference */
}
#views-exposed-form-kalender-page-1,#views-exposed-form-kalender-page-2{display:none}
/* Add this to your theme's CSS */

/* Toolbar layout fixes for small screens */
@media screen and (max-width: 768px) {
  /* Reorganize toolbar layout */
  .fc .fc-header-toolbar.fc-toolbar {
    display: grid !important;
    grid-template-areas:
      "title"
      "nav"
      "views";
    gap: 0.5rem;
    padding: 0.5rem;
  }

  /* Title placement */
  .fc .fc-toolbar-chunk:nth-child(2) {
    grid-area: title;
    text-align: center;
    width: 100%;
  }

  /* Navigation buttons (prev/next/today) */
  .fc .fc-toolbar-chunk:nth-child(3) {
    grid-area: nav;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
  }

  /* View buttons (month/week/day) */
  .fc .fc-toolbar-chunk:first-child {
    grid-area: views;
    display: flex;
    justify-content: center;
  }

  /* Adjust title size */
  .fc .fc-toolbar-title {
    font-size: 1.25em !important;
    margin: 0;
    padding: 0.5rem 0;
  }

  /* Make buttons more touch-friendly */
  .fc .fc-button {
    padding: 0.4em 0.65em;
    font-size: 0.9em;
  }

  /* Ensure button groups stay together */
  .fc .fc-button-group {
    display: flex !important;
  }

  /* Optional: Add some spacing between button groups */
  .fc .fc-toolbar-chunk .fc-button-group + .fc-button {
    margin-left: 0.5rem;
  }
}

/* Extra small screens */
@media screen and (max-width: 480px) {
  .fc .fc-toolbar-title {
    font-size: 1.1em !important;
  }

  .fc .fc-button {
    padding: 0.3em 0.5em;
    font-size: 0.85em;
  }
}

/* Ensure buttons remain clickable and visible */
.fc .fc-button {
  min-width: 44px; /* Minimum touch target size */
  white-space: nowrap;
}

/* Optional: Add some visual breathing room */
.fc {
  padding: 0.5rem;
}
