﻿@import "gridstack.css";
@import "widgets.css";
#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;
}

#blazor-error-ui .dismiss {
  cursor: pointer;
  position: absolute;
  right: 0.75rem;
  top: 0.5rem;
}

html, body, div {
  margin: 0;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, hgroup, menu, nav, section {
  display: block;
}

body {
  line-height: 1;
}

ol, ul {
  list-style: none;
  margin-bottom: 1.3rem;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
  content: "";
  content: none;
}

a {
  text-decoration: none;
  color: var(--font-color);
}

.spacer {
  margin-top: 20px;
}

/*Not removed because these css are for js file*/
.ui-priority-secondary, .ui-widget-content .ui-priority-secondary, .ui-widget-header .ui-priority-secondary {
  font-weight: bold;
  opacity: 5;
}

.ui-datepicker .ui-datepicker-title select {
  height: 3rem;
  background-color: #ededed;
}

.ui-datepicker .ui-datepicker-prev,
.ui-datepicker .ui-datepicker-next {
  top: unset;
  background-color: #ededed;
}

.ui-datepicker .ui-datepicker-prev-hover,
.ui-datepicker .ui-datepicker-next-hover {
  top: unset;
}

.ui-datepicker .ui-datepicker-prev.ui-state-disabled,
.ui-datepicker .ui-datepicker-next.ui-state-disabled {
  cursor: not-allowed !important;
  pointer-events: all !important;
}

* {
  box-sizing: border-box;
}

body {
  padding: 0 0 0 32rem;
  font-family: "Readex Pro", Helvetica, cursive;
  font-size: 1.8rem;
  color: var(--font-color);
  background: var(--background-secondary);
}

@media screen and (max-width: 1000px) {
  body {
    padding: 0 0 0 25rem;
  }
}
@media screen and (max-width: 800px) {
  body {
    padding: 8rem 0 0 0;
  }
}
body.has-popup {
  overflow: hidden;
}

.container {
  margin: 0 auto;
  width: 130rem;
  max-width: calc(100% - 5rem);
}

.container--small {
  width: 68rem;
}

.anchor-link {
  cursor: pointer;
}

.date-picker {
  z-index: 8 !important;
}

.file-label {
  position: relative;
  width: 100%;
  border: 0.1rem solid #9F9FB1;
  border-radius: 1rem;
  cursor: pointer;
}

.file-label input {
  opacity: 0;
  visibility: hidden;
}

.file-label .text {
  position: absolute;
  top: 50%;
  left: 1rem;
  font-weight: 400;
  transform: translateY(-50%);
}

.file-label::after {
  content: "\ea13";
  position: absolute;
  top: 50%;
  right: 1.5rem;
  font-size: 1.8rem;
  color: var(--font-color);
  transform: translateY(-50%);
}

.translate-rows-container .form__row:first-child {
  margin-bottom: 0;
}

.diagram-container {
  width: 100%;
  height: calc(100vh - 18rem);
  margin-bottom: 2rem;
  border: 1px solid var(--border-color);
}

.diagram-node > .default-node {
  padding: 1rem;
  border: 1px solid var(--accent-color);
  background: var(--accent-font-color);
  color: var(--accent-color);
}

.diagram-node > .default-node.selected {
  color: var(--accent-font-color);
  background: var(--accent-color);
}

.node__buttons {
  margin-left: auto;
  align-items: center;
  text-wrap: nowrap;
}

.node__buttons .btn {
  bottom: 1rem;
}

.errorMessage {
  color: #947600;
}

.file-label::after {
  position: absolute;
  top: 50%;
  right: 1.5rem;
  font-size: 1.8rem;
  color: #022873;
  transform: translateY(-50%);
}

.file-label::after {
  content: "\f15b";
}

.file-label {
  position: relative;
  width: 100%;
  border: 0.1rem solid #9F9FB1;
  border-radius: 1rem;
  cursor: pointer;
}

.icon:before, .date-picker::after, .form__field--time::after, .file-label::after, .autocomplete::after, .mobile-menu__close a::before {
  display: inline-block;
  font-family: "icons-1647267483000";
  font-style: normal;
  font-weight: 900;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.btn--primary, .button--primary {
  background: #022873;
}

.table-container {
  margin: -1.5rem;
  overflow: auto;
}

.table-container ::-webkit-scrollbar {
  display: none;
}

@media screen and (max-width: 1150px) {
  .table-container {
    margin-top: 2rem;
  }
}
.table {
  margin: 1.5rem;
  position: relative;
  width: calc(100% - 3rem) !important;
  text-align: left;
}

.table::after {
  content: "";
  z-index: -1;
  position: absolute;
  top: 5.8rem;
  left: 0;
  width: 100%;
  height: calc(100% - 5.8rem);
  border-radius: 1rem;
  box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.07);
}

@media screen and (max-width: 1150px) {
  .table::after {
    top: 0;
  }
}
.table--no-links tbody tr td {
  padding: 1.5rem 3rem;
  color: #022873;
}

.table--no-links tbody tr td .icon {
  color: #BF0404;
}

.table--no-links tbody tr:hover td {
  background: #FFF !important;
}

.table--no-links tbody tr:nth-child(even):hover td {
  background: #F7F7FB !important;
}

.table--border tbody {
  border: 0.1rem solid #E5E6F6;
}

.table--border tbody tr:last-child td:first-child {
  border-bottom-left-radius: 0 !important;
}

.table--border tbody tr:last-child td:last-child {
  border-bottom-right-radius: 0 !important;
}

.table--fullwidth {
  width: 100%;
}

.table th,
.table td {
  max-width: 30rem;
  word-wrap: break-word;
}

.table th {
  padding: 2rem 3rem;
  white-space: nowrap;
}

.table thead,
.table tbody {
  z-index: 2;
  position: relative;
}

.table thead {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -0.04rem;
}

@media (max-width: 1150px) {
  .table thead {
    display: none;
  }
}
.table tbody tr td {
  background: #FFF;
  transition: all ease-in-out 0.2s;
}

.table tbody tr td a:not(.icon):not(.table__link) {
  display: inline-block;
  padding: 2rem 3rem;
  width: 100%;
  color: #022873;
}

.table tbody tr td a.table__link {
  color: #022873;
}

@media screen and (max-width: 450px) {
  .table tbody tr td a:not(.icon):not(.table__link) {
    padding: 1.5rem;
  }
}
.table tbody tr td a:not(.icon) .icon {
  color: #BF0404;
}

.table tbody tr:nth-child(even) td {
  background: #F7F7FB;
}

.table tbody tr:first-child td:first-child {
  border-top-left-radius: 1rem;
}

@media screen and (max-width: 1150px) {
  .table tbody tr:first-child td:first-child {
    border-top-left-radius: 0;
  }
}
.table tbody tr:first-child td:last-child {
  border-top-right-radius: 1rem;
}

@media screen and (max-width: 1150px) {
  .table tbody tr:first-child td:last-child {
    border-top-right-radius: 0;
  }
}
.table tbody tr:last-child td:first-child {
  border-bottom-left-radius: 1rem;
}

@media screen and (max-width: 1150px) {
  .table tbody tr:last-child td:first-child {
    border-top-right-radius: 0;
  }
}
.table tbody tr:last-child td:last-child {
  border-bottom-right-radius: 1rem;
}

@media screen and (max-width: 1150px) {
  .table tbody tr:last-child td:last-child {
    border-bottom-right-radius: 0;
  }
}
.table tbody tr:hover td {
  background: #E5E6F6;
}

@media (max-width: 1150px) {
  .table tbody tr {
    display: flex;
    flex-wrap: wrap;
  }
}
@media (max-width: 1150px) {
  .table tbody tr td {
    position: relative;
    padding-top: 2.5rem;
    flex: 0 0 33.3333333333%;
    max-width: inherit;
  }
  .table tbody tr td::before {
    content: attr(data-title);
    position: absolute;
    top: 2rem;
    left: 3rem;
    font-weight: 700;
  }
}
@media (max-width: 950px) {
  .table tbody tr td {
    flex: 0 0 50%;
  }
}
@media (max-width: 450px) {
  .table tbody tr td {
    flex: 0 0 100%;
  }
  .table tbody tr td::before {
    left: 1.5rem;
  }
}
.overview-section:not(:nth-last-child(2):not(.overview-section_withborder)) {
  padding-bottom: 5rem;
  margin-bottom: 5rem;
  border-bottom: 0.2rem solid #DBDFEC;
}

.overview-section__title {
  margin-bottom: 1rem;
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -0.1rem;
}

.overview-section__title::after {
  content: ".";
}

.overview__inner {
  display: flex;
  flex-wrap: wrap;
  margin: -12.5px -5px;
  max-width: 50rem;
}

.overview__inner > div,
.overview__inner > a,
.overview__inner > span,
.overview__inner > button,
.overview__inner > input {
  width: calc(50% - 10px);
  margin: 12.5px 5px;
}

.overview__inner > div.overview__item__full {
  width: calc(100% - 10px);
}

.overview__title {
  margin-bottom: 0.5rem;
}

@media screen and (max-width: 350px) {
  .overview__inner {
    display: flex;
    flex-wrap: wrap;
    margin: -12.5px;
  }
  .overview__inner > div,
  .overview__inner > a,
  .overview__inner > span,
  .overview__inner > button,
  .overview__inner > input {
    width: calc(100% - 25px);
    margin: 12.5px;
  }
}
.overview__title {
  font-weight: 700;
}

.overview__content {
  margin-top: 0.5rem;
}

.overview__item {
  overflow-wrap: break-word;
}

.popup .form__field--buttons A,
.blazored-modal-container .form__field--buttons A {
  display: inline-block;
}

.popup .form__field--buttons, .blazored-modal-container .form__field--buttons {
  margin-top: 3rem !important;
  flex-direction: row !important;
  align-items: center !important;
}

.blazored-modal .form__field--wide {
  width: calc(100% - 6rem) !important;
}

/*.popup__inner, .popup .blazored-modal, .blazored-modal-container__inner, .blazored-modal-container .blazored-modal {
    width: auto !important;
}*/
.validation-message > div,
.validation-message > span {
  margin: 2rem 0;
  padding: 2rem;
  color: #947600;
  background: #fffbeb;
  border-radius: 1rem;
}

.validation-message--error > div,
.validation-message--error > span {
  color: #BF0404;
  background: #f0c7c7;
}

.validation-message--success > div,
.validation-message--success > span {
  color: #48c774;
  background: #dfffea;
}

.error {
  width: 50%;
  margin: auto;
}

.annonymousPage {
  padding: 4rem 5rem 5rem 5rem;
}

.Modal__buttons {
  margin-top: 1rem;
}
