/* START: Login Page */
body.gw-login-page {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  padding: 0;
}

.gw-login-page form {
  width: 85%;
}

body.gw-login-page .gw-header {
  display: unset;
  padding: unset;
  background-color: unset;
  height: unset;
  text-align: center;
  border-bottom: unset;
  justify-content: unset;
}

body.gw-login-page .gw-header .gw-header-center,
body.gw-login-page .gw-header .gw-header-right {
  display: none !important;
}

.gw-login-page .gw-menu {
  display: none !important;
}

.gw-login-page .gw-header .gw-logo-left {
  max-height: unset;
  height: 80px;
  width: 80px;
}

.gw-login-page .gw-content {
  margin-top: 50px;
  border: 2px solid #bcbcbc;
  background: #eeeeee7d;
  border-radius: 5px;
  padding: 25px;
}

.gw-login-page .gw-form-panel label,
.gw-login-page .gw-form-label {
  margin-top: 15px;
  margin-bottom: 5px;
}

.gw-login-page .gw-form-panel input[type="text"],
.gw-login-page .gw-form-panel input[type="number"],
.gw-login-page .gw-form-panel input[type="password"] {
  width: -webkit-fill-available;
  padding: 8px;
  border-radius: 5px;
  border: 2px solid #0069b59e;
}

.gw-login-page .gw-form-panel input[type="text"]:focus,
.gw-login-page .gw-form-panel input[type="number"]:focus,
.gw-login-page .gw-form-panel input[type="password"]:focus,
.gw-login-page .gw-form-panel input[type="text"]:focus-visible,
.gw-login-page .gw-form-panel input[type="number"]:focus-visible,
.gw-login-page .gw-form-panel input[type="password"]:focus-visible {
  border: 2px solid #0069b5;
  outline: unset;
}

.gw-form-panel input[type="checkbox"] {
  cursor: pointer;
}

.gw-form-panel input[type="checkbox"] + label {
  cursor: pointer;
}

.gw-login-page .gw-form-panel input[type="submit"] {
  display: inline-block;
  cursor: pointer;
  margin-top: 20px;
  background: #0069b5;
  color: #fff;
  font-size: 16px;
  border: unset;
  padding: 6px 16px;
  border-radius: 5px;
}
/* END: Login Page */

/* START: Header Section */
body {
  padding: 0;
}

body .gw-header {
  display: flex;
  align-items: center;
  background: #0069b5;
  padding: 4px 14px;
  justify-content: space-between;
}

body.gw-login-page #logoPanel.gw-header .gw-header-left {
  justify-content: center !important;
}

#logoPanel .gw-header-center a {
  display: inline-flex;
  flex-direction: row-reverse;
  gap: 5px;
  align-items: center;
  color: #fff !important;
}

#logoPanel .gw-header-right {
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 10px;
}

a#globalSearchLink {
  cursor: pointer;
}

#roomsPanel.gw-menu-rooms,
.gw-menu-languages {
  position: relative;
  display: flex;
  flex-direction: column;
  width: max-content;
}

#roomsPanel.gw-menu-rooms .gw-menu-label,
.gw-menu-languages .gw-current-lang {
  cursor: pointer;
  margin: 0;
}

#roomsPanel.gw-menu-rooms .gw-menu-label {
  display: none !important;
}

.gw-menu-languages ul {
  position: absolute;
  top: 21px;
  display: none;
  flex-direction: column;
  list-style: none;
  padding: 0;
  margin: 0;
  min-width: max-content;
}

#roomsPanel.gw-menu-rooms ul {
  /*  */
}

#roomsPanel.gw-menu-rooms ul.show-dropdown,
.gw-menu-languages ul.show-lang-dropdown {
  display: inline-flex;
  z-index: 99999;
}

.gw-menu-languages ul li,
.gw-menu-profile ul li {
  display: inline-block;
  border: 1px solid gray;
  border-top: none;
  background: #fff;
}

#roomsPanel.gw-menu-rooms ul li {
  display: inline-block;
}

.gw-menu-languages ul li:first-child,
.gw-menu-profile ul li:first-child {
  border-top: 1px solid gray;
}

.gw-menu-generic > ul > li:not(:first-child)::before {
  content: unset !important;
}

#roomsPanel.gw-menu-rooms ul li a,
.gw-menu-languages ul li a,
.gw-menu-profile ul li a {
  text-decoration: none;
  display: block;
  padding: 4px 24px;
}

#roomsPanel.gw-menu-rooms ul li a {
  color: #fff;
  padding: 0 8px !important;
}

.gw-menu-profile {
  position: relative;
}

.gw-menu-profile p {
  margin: 0;
  cursor: pointer;
  color: #fff;
}

.gw-menu-profile ul {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 16px;
  right: 0;
  padding: 0;
  margin: 0;
  list-style: none;
}

.gw-menu-profile ul.show-profile-dropdown {
  display: inline-flex;
  z-index: 99999;
}

.gw-header-not-authenticated-profile-menu-dropdown {
  margin: 0;
  list-style: none;
  display: inline-flex;
  gap: 20px;
}

.gw-header-not-authenticated-profile-menu-dropdown li a {
  color: #fff;
}

/* END: Header Section */

/* START: Client Room */
.gw-content {
  padding: 0 14px;
}

.gw-content-split {
  border: 2px solid #857c7c66;
  border-radius: 30px;
  margin: 20px 10px;
  padding: 0 40px;
  gap: 30px;
}

.gw-tilegrid {
  align-items: flex-start;
  text-align: left;
}

.gw-tilegrid > h2 {
  color: rgb(25 11 131);
  font-weight: 600;
  text-decoration: underline;
}

#reportsPanel .gw-tilegrid__list,
#workspacePanel .gw-tilegrid__list {
  gap: 40px;
}

#reportsPanel
  ul.gw-tilegrid__list
  li.gw-tilegrid-card
  div.gw-tilegrid-card__content,
#workspacePanel
  ul.gw-tilegrid__list
  li.gw-tilegrid-card
  div.gw-tilegrid-card__content {
  flex-direction: column-reverse;
  gap: 20px;
  background-color: #eeeeee7d;
  border: 2px solid #333333;
  border-radius: 30px;
  padding: 20px;
  width: auto;
  overflow-wrap: anywhere;
}

#reportsPanel ul.gw-tilegrid__list {
  justify-content: space-between;
}

#reportsPanel ul.gw-tilegrid__list li.gw-tilegrid-card--col4 {
  flex-grow: unset !important;
}

#reportsPanel .gw-tilegrid-card__img-wrapper,
#workspacePanel .gw-tilegrid-card__img-wrapper {
  width: 50px;
  height: 50px;
  padding: 16px;
  border: 1px solid gray;
  border-radius: 50%;
  background: #fff;
}

#reportsPanel div.gw-tilegrid-card__content img.gw-tilegrid-card__img,
#workspacePanel div.gw-tilegrid-card__content img.gw-tilegrid-card__img {
  width: 50px;
  height: 50px;
}

#actionsPanel ul.gw-tilegrid__list {
  gap: 40px;
}

#actionsPanel ul.gw-tilegrid__list li.gw-tilegrid-card.gw-tilegrid-card--col4 {
  flex-basis: unset;
}

#actionsPanel
  ul.gw-tilegrid__list
  li.gw-tilegrid-card
  div.gw-tilegrid-card__content {
  flex-direction: row;
  justify-content: unset;
  gap: 8px;
  background-color: #eeeeee7d;
  border: 2px solid #333333;
  border-radius: 5px;
  width: unset;
  height: unset;
  padding: 12px 20px;
  text-wrap: nowrap;
}

li.gw-tilegrid-card::before {
  position: unset;
  background-color: unset;
}

#actionsPanel
  ul.gw-tilegrid__list
  li.gw-tilegrid-card
  div.gw-tilegrid-card__content
  img.gw-tilegrid-card__img {
  height: 40px;
  filter: unset;
}

.gw-tilegrid-card__content {
  color: #0069b5;
  font-weight: 600;
}

#reportsPanel .gw-tilegrid-card__content p {
  white-space: nowrap; /* Prevent line breaks */
  /* overflow: hidden;  */
  text-overflow: ellipsis;
  text-align: center;
}

.gw-vertical-divider {
  width: 3px;
  color: #ccc;
  background: #5e595973;
  margin: 20px 0;
}
/* END: Client Room */

/* START: Table */
.ui-iggrid table .ui-iggrid-header {
  text-align: center;
}

.ui-iggrid th,
.ui-iggrid th.ui-state-default {
  font-weight: 700;
  border-right: unset;
  border-top: 1px solid #777;
}

.ui-widget-header.ui-state-default {
  background: #fff;
  color: #000;
}

table.ui-iggrid-table {
  width: 100% !important;
}

th.ui-iggrid-sortableheader:focus,
th.ui-iggrid-sortableheader:hover {
  background: #4897aa !important;
  color: #fff !important;
}

table.ui-iggrid-table tbody tr td:nth-child(4) {
  color: rgb(23, 23, 194);
}

table#fileGrid.ui-iggrid-table colgroup col {
  /* width: 14.28% !important; */
}

table#documentGrid.ui-iggrid-table colgroup col {
  /* width: unset !important; */
}

tbody.ui-widget-content {
  background: #fff;
  color: #000;
}

/* td img.gw-file-thumbnail {
  display: none;
  width: 80px;
  height: 80px;
} */

.ui-iggrid tr.ui-ig-altrecord,
.ui-iggrid .ui-ig-altrecord {
  background-color: #fff;
}

.ui-iggrid table.ui-iggrid-table tr:hover {
  cursor: pointer;
}

.ui-iggrid .ui-iggrid-table > tbody > tr > td:first-child,
.ui-iggrid .ui-iggrid-tablebody > tr > td:first-child,
.ui-iggrid .ui-iggrid-tablebody td {
  border-bottom: 1px solid gray !important;
}
/* END: Table */

/* START: Files Menu */
#filePanel {
  position: sticky;
  top: 0;
  background: #c3c3e5;
  padding: 0 14px;
  z-index: 9;
}

#filePanel ul {
  display: inline-flex;
  flex-wrap: wrap;
}

#filePanel ul li {
  padding: 6px 0;
  border-right: 1px solid gray;
}

#filePanel ul li:first-child {
  border-left: 1px solid gray;
}

#filePanel ul li a {
  padding: 0 10px;
}
/* END: Files Menu */

@media screen and (max-width: 864px) {
  .gw-tilegrid > h2 {
    font-size: 22px;
  }

  .gw-content-split {
    gap: 15px;
    margin: 0;
  }

  .gw-tilegrid-card__content > * {
    font-size: 16px;
  }

  #actionsPanel ul.gw-tilegrid__list {
    gap: 30px;
  }

  #actionsPanel
    ul.gw-tilegrid__list
    li.gw-tilegrid-card
    div.gw-tilegrid-card__content {
    padding: 8px 12px;
  }

  #reportsPanel .gw-tilegrid__list,
  #workspacePanel .gw-tilegrid__list {
    gap: 30px;
  }
}

@media screen and (max-width: 736px) {
  .gw-content-split {
    gap: 8px;
  }
}

@media screen and (max-width: 736px) {
  .gw-content-split {
    padding: 6px 8px;
  }
}

table.ui-iggrid-table .ui-iggrid-addrow.ui-widget-header .ui-iggrid-addrow {
  display: inline-flex;
  color: #000;
  border: 1px solid #000 !important;
  background: #efefef;
  cursor: pointer;
}

table.ui-iggrid-table tr.ui-iggrid-modifiedrecord {
  background: #ffff7f;
  color: #000 !important;
}

table.ui-iggrid-table tr.ui-iggrid-modifiedrecord td {
  color: #000;
}

.gw-tilegrid-card__content {
  height: max-content !important;
}

#calendar_view .fc-header-toolbar, #calendar_view thead.fc-head {
  position: sticky;
  z-index: 2;
}

#calendar_view .fc-header-toolbar {
  top: 0;
}

#calendar_view thead.fc-head {
  top: 30px;
}

.sticky-header {
  background-color: #f0f0f0; /* Your desired background color */
  border-bottom: 1px solid #ccc; /* Your desired border bottom */
}

/* Notizen in Data vorschau */
.notecontent, #gw-data-notes, #gw-data-description {
  padding: 5px;
  /* background-color: #f0f0f0; */
  background-color: white;
  border: 1px solid silver;
  min-width: 500px;
  width: 800px;
}

.notecontent {
  padding: 5px;
  /* display: none; */
  vertical-align: top;
  text-align: justify;
  color: black;
  /* border: none; */
  /* width: 100%; */
}

#toggleNotes, #toggleDescr{
	display: none;
}

#gw-data-notes, #gw-data-description {
	font-weight: bold;
	text-align: left;
}

#notesPanel{
	display: none;
}