@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');
@import url('switcher-resources/themes.css');
@import url('switcher-resources/theme-switcher.css');

html, body {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  scrollbar-width: thin;
  /*scrollbar-color: rgba(var(--bs-primary-rgb), 1) var(--bs-secondary);*/
}

html, body, #app {
  height: 100%;
  overflow: hidden;
}

.dxbs-popup span {
  white-space: pre-line;
}

#app {
  background-color: var(--bs-body-bg);
}

.valid.modified:not([type=checkbox]) {
  outline: 1px solid #26b050;
}

.invalid {
  outline: 1px solid red;
}

.validation-message {
  color: red;
}

.splash-screen {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-flow: column nowrap;
  height: 100vh;
  width: 100%;
  font-family: "Segoe UI", Roboto, "Helvetica Neue", "-apple-system", BlinkMacSystemFont, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  font-size: .88rem;
  font-weight: 400;
  line-height: 1.5;
  text-align: center;
  gap: 10px;
}

.splash-screen .spinner-img {
  width: 120px;
  height: 120px;
  background-image: url("../icon-512.png");
  background-size: cover;
  position: relative;
}

.splash-screen .spinner-img-border-holder{
  position: relative;
  width: 150px;
  height: 150px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.splash-screen-caption {
  font-size: 1.5rem;
  font-weight: 600;
}

.spinner-border {
  color: #980054;
  position: absolute;
  width: 150px;
  height: 150px;
  top: 0;
  left: 0;
}

#blazor-error-ui {
  background: var(--bs-body-bg);
  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;
}

#blazor-error-ui .dismiss {
  cursor: pointer;
  position: absolute;
  right: 0.75rem;
  top: 0.5rem;
}

.dx-tabs-content-panel {
  padding: 10px;
}

.clickable {
  cursor: pointer;
  /* Disable selection for everything that is clickable */
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none; /* Safari */
  -khtml-user-select: none; /* Konqueror HTML */
  -moz-user-select: none; /* Old versions of Firefox */
  -ms-user-select: none; /* Internet Explorer/Edge */
  user-select: none; /* Non-prefixed version, currently */
}

.pr-text-color {
  color: var(--bs-primary);
}

.center {
  align-self: center;
}

.btn-body-font-size {
  font-size: var(--bs-body-font-size);
}


.searchbar .dxbs-tag {
  padding: 0 !important;
  margin: 0 !important;
}

.p-075 {
  padding: 0.75rem;
}

.pb-075 {
  padding-bottom: 0.75rem;
}


.dxbl-tag-box .dxbl-tag,
.dxbl-tag-box .dxbl-tag:last-of-type {
  width: 100%;
  max-width: 100% !important;
}

.c-pr {
  color: var(--bs-primary);
}

/* Scrollbar */

/* width */
::-webkit-scrollbar {
  width: 0.5rem;
}

/* Track */
::-webkit-scrollbar-track {
  background: var(--bs-secondary);
  border-radius: 4px;
}

/* Handle */
::-webkit-scrollbar-thumb {
  border-radius: 0.25rem;
  background: rgba(var(--bs-primary-rgb), 1);
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: rgba(var(--bs-primary-rgb), 0.75);
}

/* Fixes */
.dxbs-calendar .dxbs-calendar-table-container .dxbs-calendar-table .dxbs-calendar-selected-item {
  background-color: var(--dx-calendar-table-selection-color, rgba(0, 0, 0, .5)) !important;
}

/* Calendar week */
.cw {
  line-height: 28px;
  font-size: 20px;
  font-weight: bold;
}

.cw-span{
  transform: translateX(-50%);
}

/* Header menu*/
.menu-icon {
  width: 25px !important;
  height: 25px !important;
}

.dxbl-menu-nav-bar > .dxbl-btn > .dxbl-menu-hamburger {
  width: 24px !important;
  height: 24px !important;
}

.w-max-content {
  width: max-content;
}

.dxbl-toolbar-group-separator {
  display: none;
}

.dxbl-btn-toolbar {
  height: 100%;
}

/* Header more icon */
.mobile-opt.dxbl-gridlayout .grid-header .dxbl-btn-group.dxbl-toolbar-btn-ellipsis.dxbl-toolbar-layout-block-item.dx-toolbar-first-visible-child {
  height: 100%;
  align-items: center;
  margin-right: 5px;

  .dxbl-btn-last > .dxbl-image {
    height: 1.5rem;
    width: 1.5rem;
  }
}

.w-30 {
  width: 30%;
}

.mw-25 {
  max-width: 25%;
}