﻿:root {
  --rz-root-font-size: 14px;
  --rz-profile-menu-top-item-background-color: white;
  --rz-profile-menu-toggle-button-color: black;
  --rz-sidebar-width: 250px;
  --rz-footer-padding: 5px;
  --rz-footer-background-color: gray;
  --rz-footer-color: white;
}

#blazor-error-ui {
  background: lightyellow;
  bottom: 0;
  box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
  display: none;
  left: 0;
  padding: 0.6rem 1.25rem 0.7rem 1.25rem;
  position: fixed;
  width: 100%;
  z-index: 1000;
}

h1:focus {
  border: none;
  user-select: none;
  outline: none;
}

.logo {
  width: var(--rz-sidebar-width);
  display: inline-flex;
  align-items: center;
  min-height: var(--rz-header-min-height);
  cursor: pointer;
  padding: 10px;
  user-select: none;
}
.logo.close {
  width: 50px;
}
.logo.close b {
  display: none;
}
.logo img {
  height: 30px;
}
.logo b {
  font-size: 20px;
}

.rz-header {
  background-color: white;
  color: black;
}
.rz-header h1 {
  margin: 0px;
  font-size: 24px;
  margin-right: 10px;
  user-select: none;
}
.rz-header .rz-breadcrumb {
  margin-top: 5px;
}
.rz-header a, .rz-header a:hover, .rz-header a:focus {
  color: black;
}

.preview {
  position: absolute;
  right: 0px;
  height: 100%;
  top: 0px;
  box-sizing: border-box;
  z-index: 100;
  background-color: #afafaf;
  padding: 20px;
  opacity: 1;
}
.preview > div {
  height: 100%;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
}
.preview > div img {
  height: 100%;
}

.drag-target {
  background-color: var(--rz-grid-selected-background-color);
}

#ddUpload {
  left: 0;
  --rz-upload-button-bar-background-color: transparent;
  --rz-upload-button-bar-padding: 0;
}

#ddUpload .rz-fileupload-buttonbar .rz-fileupload-choose {
  width: 100%;
  text-align: center;
  font-size: 16px;
  padding: 100px 0;
}

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

.toolbar .rz-form-field-content {
  margin-block: 0px;
}

.add-button {
  background-color: var(--rz-info);
  color: var(--rz-on-info);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  padding: 5px;
  padding-right: 10px;
  margin-left: 10px;
  border-radius: 5px;
}

.import-button {
  background-color: var(--rz-base-dark);
  color: var(--rz-on-base-dark);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  padding: 5px;
  padding-right: 10px;
  margin-left: 10px;
  border-radius: 5px;
}

.flex-fill {
  flex: 1 auto;
}

.dokument-edit .rz-dialog-content {
  display: flex;
  flex: 1 auto;
  flex-direction: column;
}
.dokument-edit .file-viewer {
  height: 100%;
}
.dokument-edit .rz-card {
  border: #efefef 1px solid;
}
.dokument-edit .rz-card h3 {
  border-bottom: #efefef 1px solid;
}

.chat-panel {
  height: 100%;
  display: flex;
  flex-direction: column;
  background-color: #dbecff !important;
}
.chat-panel > ul {
  flex: 1 auto;
  list-style: none;
  margin: 0px;
  padding: 0px;
  gap: 5px;
  overflow: auto;
  display: flex;
  flex-direction: column;
}
.chat-panel > ul li {
  display: flex;
  gap: 10px;
  padding-left: 40px;
  position: relative;
}
.chat-panel > ul li > div {
  display: flex;
  flex-direction: column;
}
.chat-panel > ul li > div b {
  color: var(--rz-info-darker);
}
.chat-panel > ul li > div i {
  font-size: 10px;
}
.chat-panel .chat-footer {
  display: inline-flex;
  margin-top: 10px;
}
.chat-panel .chat-footer textarea {
  flex: 1 auto;
}
.chat-panel .iniciale {
  position: absolute;
  left: 0px;
}

.chat-pocet {
  position: absolute;
  top: 0px;
  right: 5px;
  font-size: 10px;
}

.rz-dialog-content {
  height: 100%;
}

.rz-footer {
  display: inline-flex;
  align-items: center;
}
.rz-footer img {
  width: 24px;
}
.rz-footer i {
  font-size: 10px;
  margin-left: auto;
  font-style: normal;
}

.iniciale {
  border-radius: 50%;
  background-color: var(--rz-info);
  padding: 5px;
  height: 30px;
  width: 30px;
  text-align: center;
  display: inline-block;
  text-transform: uppercase;
  color: var(--rz-on-info);
}

.login-page {
  height: 100vh;
  display: flex;
  align-items: center;
  background-color: #3f2f4f;
}
.login-page .card {
  min-width: 400px;
}
.login-page .card .form-group:last-child {
  text-align: right;
}
.login-page .card-header img {
  width: 100px;
}
.login-page .card-header > div {
  position: absolute;
  top: -50px;
  right: 30px;
  background: #f7f7f7;
  padding: 10px;
  border-radius: 5px;
}
.login-page .input-group-text {
  background-color: var(--rz-info);
  color: var(--rz-on-info);
}
.login-page input[type=submit] {
  background-color: var(--rz-info);
  color: var(--rz-on-info);
}
.login-page .twofa-input {
  display: none;
}
.login-page .twofa .twofa-input {
  display: flex;
}
