.fileinput-button {
  position: relative;
  overflow: hidden;
  display: inline-block;
}
.fileinput-button input {
  position: absolute;
  top: 0;
  right: 0;
  margin: 0;
  opacity: 0;
  -ms-filter: 'alpha(opacity=0)';
  font-size: 200px !important;
  direction: ltr;
  cursor: pointer;
}

.editableTableEntry {
	width: 100%;
	height:100%;
	border-width: 0px;
  background-color: transparent;
}

.notiz-save-button {
    display: none;
}
.notiz-show-button {
    display: inline-block;
}


.dropzoneUpload {
    border: 2px dashed var(--bs-gray-500);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    color: var(--bs-gray-500);
    font-size: 18px;
    z-index: 20000;
}
.dropzoneUpload.dragover {
    border-color: var(--bs-primary);
    color: var(--bs-primary);
}

.segmentLoading {
  text-align: center;
  color: var(--bs-gray-500);
  z-index: 20000;
  border: 1px solid var(--bs-gray-500);
  border-radius: 10px;
  padding: 20px;
}

.offcanvas {
  z-index: 1560;
  width:500px;
}

div.backgroundContainer {
  height: 100%;
  width: 100%;
  background-color: black;
      display: block;
    z-index: 1550;
  position: fixed;
  bottom: 0;
  right: 0;
  opacity: 0.6;
}

div.overlayWhiteFull {
  height: 100%;
  width: 100%;
  background-color: white;
      display: block;
    z-index: 1550;
  position: fixed;
  bottom: 0;
  right: 0;
}

.signaturePositionBackground{
  text-align: center;
  height: 100%;
  width: 100%;
  background-color: black;
      display: none;
    z-index: 1550;
  position: fixed;
  bottom: 0;
  right: 0;
  background-color: rgba(0 , 0 , 0 , 0.6);
}

.signature-container{
  text-align: center;
    display: inline-block;
    background-color: white;
    margin: 10px;
}
.signature-container img {
    display: inline-block;
    margin: 2%;
}

#savedSignature {
  z-index:1559;
  display:none;
  /*border:0px solid black;*/
  width:200px;
  height:40px;
  position: absolute;
}

#signature-field {
  z-index: 1580;
  border: 3px dashed var(--bs-gray-500);
  border-radius: 10px;
    position: absolute;
    width: 600px;
    height: 300px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(255, 255, 255);
    display: none;
    flex-direction: column; /* Stellt Elemente in einer Spalte an */
    align-items: center;    /* Zentriert die Elemente horizontal */
    justify-content: center; /* Zentriert die Elemente vertikal */
}

#signature-cursor {
  z-index: 1560;
  border: 3px dashed var(--bs-gray-500);
  border-radius: 10px;
    position: fixed;
    width: 220px;
    height: 60px;
    background-color: rgba(0, 0, 0, 0.45);
    pointer-events: none;
    display:none;
}

#signature-cursor #signature-buttons {
    pointer-events: auto;
    display:none;
}

#saveSignatureToDocumentButton{
  position: absolute;
  flex-direction: column; /* Stellt Elemente in einer Spalte an */
  align-items: center;    /* Zentriert die Elemente horizontal */
  justify-content: center; /* Zentriert die Elemente vertikal */
  display:none;
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.5);
}


#fullscreenLoader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3000; /* Höherer z-index als das Modal */
  background-color: #ffffff;
}

#fullscreenIframe {
  display: none; /* Standardmäßig ausgeblendet */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 6100; /* Höherer z-index als das Modal */
  background-color: rgba(0, 0, 0, 0.5); /* Halbtransparenter Hintergrund */
}
#fullscreenIframe iframe {
  width: 100%;
  height: 100%;
  border: none;
}
#closeIframe {
  position: absolute;
  top: 40px;
  right: 15px;
  z-index: 1110; /* Höherer z-index als das iFrame */
}
#signatureIframe {
  position: absolute;
  top: 40px;
  left: 15px;
  z-index: 1110; /* Höherer z-index als das iFrame */
}

.pdfPicture{
  border:1px solid gray;
  margin:2%;
  width:90%;
  box-shadow: 2px 2px 1px rgba(0, 0, 0, 0.3);
}

.pdfPicture:hover {
    transform: scale(1.02); /* Vergrößert das Bild um 20% */
}

/* width */
.notizTextfeld::-webkit-scrollbar {
  width: 10px;
}

/* Track */
.notizTextfeld::-webkit-scrollbar-track {
  background: #f1f1f1;
}

/* Handle */
.notizTextfeld::-webkit-scrollbar-thumb {
  background: #888;
}

/* Handle on hover */
.notizTextfeld::-webkit-scrollbar-thumb:hover {
  background: #555;
}

.nav_link_extra {
  color: white !important; /* Textfarbe auf Weiß ändern */
}
.nav_link_extra.active {
  color: black !important; /* Textfarbe auf Weiß ändern */
}

.nav-link-extra {
  color: white !important; /* Textfarbe auf Weiß ändern */
}

.nav-link-extra.active {
  color: black !important; /* Textfarbe auf Weiß ändern */
}

.background-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../assets/pic_wpmodul_fullhd.jpg');
  background-size: cover;
  background-position: center;
  filter: blur(2px);
  z-index: -2;
  background-attachment: fixed;
}

.background-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Abgedunkelt */
  z-index: -1;
}

/* Vollbild-Styles für die Karte */
.card.fullscreen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw; /* Volle Breite des Viewports */
  height: 100vh; /* Volle Höhe des Viewports */
  z-index: 1050; /* Über alles legen */
  background-color: white; /* Optional: Hintergrundfarbe */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Optional: Schatten */
  padding: 20px;
  overflow: auto; /* Scrollbar bei Bedarf */
}

.card.transition-enabled {
  transition: all 0.3s ease-in-out;
}

/* KANBANBOARD */
/*@import url("https://fonts.googleapis.com/css2?family=Neucha&display=swap");*/
/*Google Fonts darf nicht verwendet werden*/


.body * {
  /*box-sizing: content-box;*/
  background-size: cover;
  background-position: 50% 60%;
  background-attachment: fixed;
  //*overflow-y: hidden;*/
}

.input_add_card{
    width: 100%;
}

.h1 {
  color: gray;
}

.h4 {
  color: gray;
}

.ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.li {
  color: black;
  font-size: 16px;
}

.header_list {
  margin-top: 40px;
  margin-bottom: 40px;
}

.header-column-modal {
  box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.15);
  background-color: #F6F8F9; /* цвет бумаги */
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.3) 10%, transparent 90%);
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1); /* Мягкая тень */
  border-radius: 5px;
  padding: 5px;
  margin-right: 5px;
  width: 180px;
  height: 70px;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  display: flex;
  flex-direction: column; /* Размещаем элементы вертикально */
  /* align-items: center;  Выравниваем по центру */
  justify-content: flex-start; /* Текст прижат к верху */
  /*text-align: center;  Центрируем текст внутри */
}

.header-column-modal p {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin: 0; /* Убираем стандартные отступы */
  padding-top: 5px; /* Добавляем небольшой отступ сверху */
  padding-left: 5px;
}

.drag-list {
  display: flex;
  align-items: flex-start;
}

.header_item {
  min-width: 230px;
  height: 30px;
  background-color: brown;
  border: 1px solid gray;
}

/* Columns */
.drag-column {
  text-decoration: none;
  flex: 1;
  margin-right: 20px;
  margin-bottom: 0;
  position: relative;
  overflow-x: hidden;
  min-width: 230px;
  padding: 5px;
}

.to-do-column .header,
.to-do-column .solid,
.to-do-column .solid:hover,
.to-do-column .over {
  background-color: var(--to-do);
}

.doing-column .header,
.doing-column .solid,
.doing-column .solid:hover,
.doing-column .over {
  background-color: var(--doing);
}

.done-column .header,
.done-column .solid,
.done-column .solid:hover,
.done-column .over {
  background-color: var(--done);
}

.on-hold-column .header,
.on-hold-column .solid,
.on-hold-column .solid:hover,
.on-hold-column .over {
  background-color: var(--on-hold);
}

.header {
  display: flex;
  justify-content: center;
  border-radius: 10px;
  margin: 10px;
}

/* Drag and Drop */
.over {
  padding: 50px 10px;
}

.drag-item-list {
  min-height: 50px;
}

.drag-item {

}


.drag-item:focus {
  outline: none;
  background-color: white;
  color: black;
}

#header_columns_container {
  position: relative;
}
.drag-hint {
  z-index: 1000;
  background-color: rgba(0, 123, 255, 0.7);
  width: 4px;
  position: absolute;
  pointer-events: none;
}


/* Add Button Group */
.add-btn-group {
  display: flex;
  justify-content: space-between;
}

.add-btn {
  margin: 10px;
  padding: 5px 10px;
  display: flex;
  align-items: center;
  cursor: pointer;
  width: fit-content;
  border-radius: 5px;
  transition: all 0.3s ease-in;
  user-select: none;
}

.add-btn:hover {
  background-color: rgba(255, 255, 255, 0.9);
  color: black;
}

.add-btn:active {
  transform: scale(0.97);
}

.solid {
  display: none;
}

.solid:hover {
  transition: unset;
  filter: brightness(95%);
  color: white;
}

.plus-sign {
  font-size: 1.5rem;
  margin-right: 5px;
  position: relative;
  top: -3px;
}

.add-container {
  margin: 10px;
  padding: 5px 10px;
  border-radius: 10px;
  background-color: rgba(255, 255, 255, 0.9);
  min-height: 100px;
  display: none;
}

.add-item {
  width: 100%;
  min-height: 100px;
  height: auto;
  background-color: white;
  border-radius: 10px;
  margin: 5px auto;
  resize: none;
  color: black;
  padding: 10px;
}

.add-item:focus {
  outline: none;
}

.button_delete {
  color: red;
  margin-bottom: 0;
  display: flex;
  justify-content: end;
}

.my_modal_dialog {
    max-height: 80vh; /* Ограничиваем высоту */
    overflow-y: auto; /* Добавляем вертикальную прокрутку */
    max-width: 90%; /* Увеличиваем ширину на 90% */
    width: 60%; /* Устанавливаем ширину на 80% от экрана */
}

.cursor {
  cursor: pointer;
}

.my_form_control{
  width: 90%;
}

.new_checkbox_inp{
  max-width: 100%;
}
.btn_frist {
  color: #fefffe;
  background-color: #6b757d;
}

/* ============== Activity ================= */
.activityInputDiv {
  display: flex;
  align-items: center;
  width: 100%;
  margin-bottom: 25px;
}

.activityPersonAvatar {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #3279B7;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  margin-right: 10px;
}

.activityInputContainer {
  display: flex;
  align-items: center;
  width: 100%;
  border: 1px solid #ccc;
  border-radius: 5px;
  padding: 5px;
}

.form-control_activity {
  flex-grow: 1;
  border: none;
  outline: none;
}

.sendIcon {
  cursor: pointer;
  padding: 5px;
  font-size: 18px;
  color: blue;
  transition: 0.2s;
  overflow: hidden;
}

.sendIcon:hover {
  color: darkblue;
}

.form_check_input {
  appearance: auto !important;
  display: inline-block !important;
  width: 20px !important;
  height: 20px !important;
  opacity: 1 !important;
}

.big_red_icon {
  font-size: 100px;     /* Устанавливаем большой размер шрифта */
  color: red;           /* Красный цвет текста */
  font-weight: bold;    /* Жирный шрифт */
  margin: 0;            /* Убираем отступы */
  text-align: center;   /* Центрируем по горизонтали */
  display: inline-block;/* Чтобы п тег вел себя как инлайн-блок */
}
/* ================================ */

.custom-hr-danger {
  border: none;
  height: 4px;
  background-color: red;
}


/* scrollbar */
#columns-container {
    overflow-y: scroll; /* Показывает скроллбар всегда */
    max-height: 100vh; /* Или другая фиксированная высота */
}

#columns-container::-webkit-scrollbar {
    width: 8px;
}

#columns-container::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 4px;
}


/*======== TEXT EDITOR =========== */

.editor-container {
    width: 100%;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 10px;
    margin-top: 10px;
}

.toolbar {
    background: #f0f0f0;
    padding: 5px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid #ddd;
}

.toolbar button, .toolbar select, .toolbar input {
    padding: 5px;
    font-size: 14px;
    cursor: pointer;
}

#editor {
    min-height: 200px;
    padding: 10px;
    outline: none;
    font-size: 16px;
    border: none;
}

/* ======= Render docoments ========= */

/* Основной контейнер для документов */
.documents-container {
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
}



/* ================================== */

/* Media Query: Laptop */
@media screen and (max-width: 1800px) {
  .main-title {
    font-size: 2rem;
  }

  .my_modal_dialog {
    width: 80%;
  }
}

/* Media Query: Large Smartphone (Vertical) */
@media screen and (max-width: 600px) {
  .body {
    overflow-y: auto;
  }

  .drag-container {
    margin: 0;
  }

  .drag-list {
    display: block;
  }

  .drag-column {
    margin: 10px;
  }

  .my_modal_dialog {
    width: 90%;
  }
}


.custom-divider-line {
  display: flex;
  align-items: center;
  text-align: center;
  width: 100%;
  color: #6c757d;
}

.custom-divider-line::before,
.custom-divider-line::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid;
}

.custom-divider-line.text-muted::before,
.custom-divider-line.text-muted::after {
  border-color: #6c757d;
}

.custom-divider-line i {
  margin: 0 10px;
  color: #6c757d;
  font-size: inherit;
}


.text-md {
  font-size: 1.2rem;
}

/* ALEX */
.my_nav-tabs .nav-link {
  color: white;
}

.gray-icon_x {
    fill: #6c757d; /* или любой другой серый цвет */
    /* или */
    color: #6c757d;
    stroke-width: 1.5px;  /* Толщина линии */
    stroke-linecap: round;
}

.btn-close {
    background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3E%3Cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3E%3C/svg%3E") center/1em auto no-repeat;
    opacity: 0.5;
    transition: opacity 0.15s ease;
}

.btn-close:hover {
    opacity: 1;
}

/* ALEX */
.my_nav-tabs .my_nav-link.active {
  background-color: white;
  color: #2966A9;
  border-color: #dee2e6 #dee2e6 white;
}

/* Стиль для всех браузеров на основе WebKit (Chrome, Safari, Edge) */
.custom-progress {
  background-color: #F0F0F0; /* Цвет фона (незаполненной части) */
  border-radius: 3px; /* Закругление углов */
}

/* Стиль для заполненной части в WebKit */
.custom-progress::-webkit-progress-bar {
  background-color: #F0F0F0; /* Цвет фона */
}

.custom-progress::-webkit-progress-value {
  background-color: #008001; /* Цвет заполненной части (можете изменить) */
  border-radius: 3px; /* Закругление углов заполненной части */
}

/* Стиль для Firefox */
.custom-progress::-moz-progress-bar {
  background-color: #008001; /* Цвет заполненной части */
  border-radius: 3px;
}

.custom-progress {
  color: #0078D7; /* Для некоторых старых версий Firefox */
}
