@import url("open-iconic/font/css/open-iconic-bootstrap.min.css");

html,
body {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

a,
.btn-link {
  color: #0366d6;
}

.svg-close {
  width: 80px;
  background-color: #d9d9d9;
  cursor: pointer;
}

.svg-close:hover {
  opacity: 0.9;
}

.btn-primary {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

.form-control {
  border-color: #9d9d9d;
}

.form-control[disabled] {
  cursor: default;
  background-color: rgba(0, 0, 0, 0.04);
  color: #555555;
  border-color: rgba(0, 0, 0, 0.1);
}

.modal-fullform {
  width: 90%;
  max-width: none;
  height: 50%;
}

.invalid-focus:focus {
  border: 1px solid #dc35458f !important;
}

.invalid-not-focus:not(:focus) {
  box-shadow: 0 0 0 0.2rem #ff00793b !important;
}

.success-focus:focus {
  box-shadow: 0 0 0 0.2rem #00ffaa3b;
}

.success-not-focus:not(:focus) {
  border: 1px solid #35dcab8f !important;
}

.required-not-focus:not(:focus) {
  border: 1px solid #e21a3d !important;
}

.invalid-message {
  color: #e21a3d;
  list-style: 14px;
  font-size: 12px;
}

.nav-item {
  cursor: pointer;
}

.nav-link:focus,
.nav-link:hover {
  color: #000000;
}

.input-action {
  padding-left: 10px;
  cursor: pointer;
  color: cornflowerblue;
  float: right;
  font-size: small;
  text-decoration: underline;
  margin-top: 0.1rem !important;
}

.input-action:hover {
  color: #007bff;
}

.fade-visible.show {
  opacity: 0.8 !important;
}

.multi-select {
  box-sizing: border-box;
  list-style: none;
  margin: 0;
  padding: 0 5px;
  width: 100%;
  display: inline-block;
  height: auto;
  cursor: text;
}

.multi-select-input {
  background: transparent;
  border: none;
  outline: 0;
  box-shadow: none;
  -webkit-appearance: textfield;
}

.multi-select-item-remove {
  color: #999;
  cursor: pointer;
  display: inline-block;
  font-weight: bold;
  margin-right: 2px;
}

.multi-select-item {
  background-color: #ebebeb;
  border: 1px solid #aaa;
  border-radius: 4px;
  cursor: default;
  float: left;
  margin-right: 5px;
  margin-top: 5px;
  padding: 0 5px;
}

.dt-editor {
  border: 1px solid rgba(0, 0, 0, 0.2);
  overflow-y: scroll;
  overflow-x: hidden;
  height: 100vh;
}

.text-ellipsis {
  overflow: hidden;
  text-overflow: ellipsis;
}

app {
  user-select: none;
}

.app-content {
  position: relative;
  display: flex;
  overflow: hidden;
}

.top-row {
  display: flex;
  align-items: center;
}

.main {
  flex: 1;
}

.main .top-row {
  background-color: #151515;
}

.main .top-row > a,
.main .top-row .btn-link {
  white-space: nowrap;
}

.resize-handle {
  display: block;
  position: absolute;
  top: 34px;
  right: 0;
  bottom: 0;
  background: black;
  opacity: 0;
  width: 3px;
  cursor: col-resize;
  z-index: 1500;
  border-right: 2px solid transparent;
}

.resize-handle:hover,
.header--being-resized .resize-handle {
  opacity: 0.5;
}

.table {
  color: #000000;
}

.table-fixed thead,
.table-fixed tbody,
.table-fixed tr {
  display: contents;
}

table.table-fixed {
  position: absolute;
  overflow-y: auto;
  overflow-x: auto;
  width: 100%;
  height: 100%;
  border-collapse: collapse;
  display: grid;
  grid-template-columns: inherit;
  grid-auto-rows: min-content;
}

table.table-fixed caption {
  width: 100%;
  padding: 1rem;
  text-align: center;
}

table.table-fixed thead {
  width: 100%;
}

table.table-fixed thead th {
  background-color: white;
  position: sticky;
  top: 0;
  z-index: 1;
}

table.table-fixed tbody {
  width: 100%;
}

table.table-fixed tfoot {
  width: 100%;
  background-color: white;
  font-weight: bold;
}

table.table-scroll {
  overflow-y: auto;
  overflow-x: auto;
  display: block;
  margin-bottom: 0;
  position: absolute;
  height: 100%;
}

table.table-scroll caption {
  display: table;
  width: 100%;
  padding: 1rem;
  text-align: center;
}

table.table-scroll thead {
  width: 100%;
  display: table;
  position: sticky;
  top: 0;
  background-color: white;
  table-layout: fixed;
  z-index: 1000;
}

table.table-scroll tbody {
  display: table;
  width: 100%;
  table-layout: fixed;
}

table.table-scroll tfoot {
  display: table;
  width: 100%;
  table-layout: fixed;
  background-color: white;
  font-weight: bold;
}

td {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  position: relative;
}

tr.pad td::before {
  content: "";
  height: 2rem !important;
  display: block;
}

.table {
  background-color: white;
}

.table th {
  padding: 0.45rem;
  width: auto;
  text-overflow: ellipsis;
  overflow-x: clip;
  white-space: nowrap;
  position: relative;
}

.table tr.selected td {
  white-space: pre-wrap !important;
}

.table tr.edited {
  --bs-table-accent-bg: #f4ecc299;
}

table thead .sorting_desc:before {
  opacity: 1 !important;
}

table thead .sorting_asc:after {
  opacity: 1 !important;
}

table thead .sorting {
  white-space: nowrap;
  cursor: pointer;
}

.table thead th.sorting:before {
  right: 5px;
  content: "\2191";
  opacity: 0.3;
  position: absolute;
}

.table thead th.sorting:after {
  right: 10px;
  content: "\2193";
  opacity: 0.3;
  margin-left: 10px;
  position: absolute;
}

.list-group {
  position: absolute;
  left: 0;
  right: 0;
  max-height: 300px;
  overflow-y: scroll;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.2);
  z-index: 2;
}

.list-group.is-dropdown {
  top: 1px;
  z-index: 1000;
}

.list-group-item {
  background-color: #fff;
  border: none;
}

.list-group-item:hover {
  background-color: #f5f5f5;
}

.list-group-item.selected,
tr.selected td {
  background-color: #eaf2ef;
  color: #000000;
}

.list-group-item.dark-selected,
tr.dark-selected {
  background-color: #495057 !important;
  color: #000000;
}

.content {
  padding-top: 1.1rem;
  background-color: #3f3f3b;
  height: 100vh;
}

.navbar-toggler {
  background-color: rgba(255, 255, 255, 0.1);
}

.valid.modified:not([type="checkbox"]) {
  outline: 1px solid #26b050;
}

.invalid {
  outline: 1px solid red;
}

.validation-message {
  color: red;
}

#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: 2000 !important;
}

#components-reconnect-modal {
  z-index: 2000 !important;
}

#blazor-error-ui .dismiss {
  cursor: pointer;
  position: absolute;
  right: 0.75rem;
  top: 0.5rem;
}

.content {
  padding-top: 0px;
}

@media (max-width: 767.98px) {
  .main .top-row:not(.auth) {
    display: none;
  }

  .main .top-row.auth {
    justify-content: space-between;
  }

  .main .top-row a,
  .main .top-row .btn-link {
    margin-left: 0;
  }
}

@media (min-width: 768px) {
  .main .top-row {
    position: sticky;
    top: 0;
  }

  .main > div .content {
    padding-left: 2rem !important;
    padding-right: 1.5rem !important;
  }

  .navbar-toggler {
    display: none;
  }
}

.top-row .navbar-nav .nav-link {
  padding-right: 1rem;
  padding-left: 1rem;
}

.d-sidebar-none {
  visibility: hidden;
  position: absolute;
  opacity: 0;
  text-align: left;
}

.sidebar:hover {
  width: 160px;
  transition: width 0.5s;
  transition-delay: 0.1s;
}

.sidebar {
  color: white;
  position: relative;
  height: calc(100vh - 93px);
  width: 43px;
  z-index: 100;
  transition: width 0.2s;
}

.sidebar:hover .d-sidebar-none {
  visibility: visible;
  opacity: 1;
  position: relative;
  font-size: initial;
  transition: opacity 0.8s;
  transition-delay: 0.2s;
}

.sidebar .navbar-brand {
  font-size: 1.1rem;
}

.sidebar .oi {
  width: 2.4rem;
  font-size: 1.1rem;
  vertical-align: text-top;
  top: -2px;
  text-align: center;
}

.sidebar .nav-item {
  font-size: 0.9rem;
}

.sidebar .nav-link {
  color: black;
  border-left: 2px solid black !important;
  padding: 0.5rem 0.5rem;
  display: inline-flex;
  width: 160px;
}

.sidebar .nav-link:hover {
  color: white;
  border-left: 2px solid white !important;
}

.sidebar .nav-link.active {
  color: white;
  border-left: 2px solid white !important;
}

.nav-link {
  display: inline-block;
  color: #555555;
  min-width: 100px;
  text-align: center;
  border-bottom: 2px solid transparent;
}

.nav-link.is-left {
  text-align: left;
}

.nav-link:hover {
  color: #000000;
  border-bottom: 2px solid #000000 !important;
}

.nav-link.active {
  color: #000000;
  border-bottom: 2px solid #000000 !important;
}

.nav-link.is-anchor {
  color: #fbfbfb;
  border-bottom: 2px solid transparent !important;
}

.nav-link.is-anchor.active {
  color: #fbfbfb;
  border-bottom: 2px solid #fbfbfb !important;
}

.hasTooltip {
}

.hasTooltip .tooltip-text {
  position: absolute;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.8s;
  color: #000;
  text-decoration: none;
  padding: 3px;
  border-radius: 8px;
  z-index: 10000;
  background-color: var(--bs-gray-dark);
}

.hasTooltip .tooltip-text.tooltip-text-after::after {
  content: " ";
  position: absolute;
  bottom: 100%;
  left: 10%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: transparent transparent var(--bs-gray-dark) transparent;
  outline: 20px transparent solid;
}

.hasTooltip:hover .tooltip-text {
  display: block;
  visibility: visible;
  opacity: 1;
  border: 1px solid #ccc;
  padding: 1rem;
  width: max-content;
}

.switch {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 auto;
  flex: 0 0 auto;
  background-color: transparent;
  position: relative;
  width: 40px;
  height: 38px;
  cursor: pointer;
  -webkit-box-ordinal-group: 3;
}

.switch.is-disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.switch-line {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  height: 16px;
  width: 28px;
  border-radius: 17px;
  overflow: hidden;
  background-color: #fff;
  border: 1px solid #9d9d9d;
  -webkit-transition: opacity 0.3s ease;
  -o-transition: opacity 0.3s ease;
  transition: opacity 0.3s ease;
}

.switch-line.checked {
  border: 1px solid #00984a;
  background-color: #00984a;
}

.switch-circle {
  position: absolute;
  top: 13px;
  left: 9px;
  width: 12px;
  height: 12px;
  display: block;
  background-color: #9d9d9d;
  border-radius: 50%;
  overflow: hidden;
  -webkit-transform: translate(0);
  -ms-transform: translate(0);
  transform: translate(0);
  -webkit-transition: -webkit-transform 0.3s ease;
  transition: -webkit-transform 0.3s ease;
  -o-transition: transform 0.3s ease;
  transition: transform 0.3s ease;
  transition: transform 0.3s ease, -webkit-transform 0.3s ease;
}

.switch-circle.checked {
  background-color: #fff;
  transform: translate(11px);
}

.template-list {
  position: relative;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group-scrolled {
  max-height: 350px;
  overflow-y: auto;
}

button.close {
  padding: 0;
  background-color: transparent;
  border: 0;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.close {
  float: right;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  color: #000;
  text-shadow: 0 1px 0 #fff;
  opacity: 0.5;
}

.modal {
  background: rgba(0, 0, 0, 0.6);
}

.modal-header {
  border-bottom: none;
  justify-content: center;
}

.modal-footer {
  border-top: none;
}

.modal-header .close {
  padding: 1rem 1rem;
  margin: -1rem -1rem -1rem auto;
}

.td-tooltip {
  position: absolute;
  top: 0px;
  background-color: wheat;
  right: 0px;
  z-index: 1000;
  display: none;
  white-space: pre-line;
  padding: 1rem;
  max-width: 70%;
  max-height: 30vh;
  overflow-y: auto;
}

td:hover .td-tooltip {
  display: block;
}

.border-start {
  border-left-color: #212529 !important;
}

.overlay {
  position: absolute;
  width: 100%;
  background-color: white;
  display: block;
  z-index: 1050;
  opacity: 0.5;
  top: 0;
  left: 0;
  height: 100%;
}

.blurin {
  -moz-animation: blurin 3s;
  -webkit-animation: blurin 3s;
  animation: blurin 3s ease infinite;
}

@-webkit-keyframes blurin {
  0% {
    -webkit-filter: blur(0px);
  }

  100% {
    -webkit-filter: blur(10px);
  }
}

@keyframes blurin {
  0% {
    filter: blur(0px);
  }

  100% {
    filter: blur(10px);
  }
}

.input-group-prepend {
  margin-right: -1px;
}

.input-group-append {
  margin-left: -1px;
}

.input-group-prepend,
.input-group-append {
  display: flex;
}

.input-group-prepend .btn,
.input-group-append .btn {
  position: relative;
  z-index: 0;
}

.input-group-prepend .btn + .btn,
.input-group-append .btn + .btn,
.input-group-prepend .btn + .input-group-text,
.input-group-append .btn + .input-group-text,
.input-group-prepend .input-group-text + .input-group-text,
.input-group-append .input-group-text + .input-group-text,
.input-group-prepend .input-group-text + .btn,
.input-group-append .input-group-text + .btn {
  margin-left: -1px;
}

.input-group > .input-group-prepend > .btn,
.input-group > .input-group-prepend > .input-group-text,
.input-group > .input-group-append:not(:last-child) > .btn,
.input-group > .input-group-append:not(:last-child) > .input-group-text,
.input-group
  > .input-group-append:last-child
  > .btn:not(:last-child):not(.dropdown-toggle),
.input-group
  > .input-group-append:last-child
  > .input-group-text:not(:last-child) {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.input-group > .input-group-append > .btn,
.input-group > .input-group-append > .input-group-text,
.input-group > .input-group-prepend:not(:first-child) > .btn,
.input-group > .input-group-prepend:not(:first-child) > .input-group-text,
.input-group > .input-group-prepend:first-child > .btn:not(:first-child),
.input-group
  > .input-group-prepend:first-child
  > .input-group-text:not(:first-child) {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.form-group .input-group {
  flex-wrap: nowrap;
}

.ck-editor__top {
  position: sticky;
  top: 55px;
  z-index: 5000;
}

.ck-sticky-panel__content {
  position: sticky;
}

.ck.ck-editor__top {
  position: sticky !important;
}

.navigation {
  background: #fbfbfb;
  border-bottom: 1px #ebebeb solid;
  border-top: 1px #ebebeb solid;
}

.btn {
  min-width: 100px;
  cursor: pointer;
}

.btn-append {
  min-width: auto;
  font-size: 11px;
  border-color: #9d9d9d;
  outline: none;
}

.btn-secondary,
.btn-secondary:focus {
  color: #000000;
  background-color: #d9d9d9;
  border-color: #d9d9d9;
  border-radius: 4px !important;
}

.btn-secondary:hover {
  color: #000000;
  background-color: #cccccc;
  border-color: #cccccc;
}

.btn-secondary:active {
  color: #000000;
  background-color: #848484;
  border-color: #848484;
}

.btn-secondary.disabled {
  color: #000000;
  background-color: #d9d9d9;
  border-color: #d9d9d9;
  opacity: 0.6;
}

.btn-check:focus + .btn-secondary,
.btn-secondary:focus,
.btn-check:active + .btn-secondary,
.btn-secondary:active,
.btn-secondary:active:focus,
.btn-check:focus + .btn-primary,
.btn-primary:focus,
.btn-check:active + .btn-primary,
.btn-primary:active,
.btn-primary:active:focus {
  box-shadow: none;
}

.btn-primary {
  background-color: #00984a;
  border-color: #00984a;
}

.btn-primary:hover {
  background-color: #007f3e;
  border-color: #007f3e;
}

.btn-check:focus + .btn-primary,
.btn-primary:focus {
  background-color: #007f3e;
  border-color: #007f3e;
}

.btn-primary.disabled {
  background-color: #c0decf;
  border-color: #c0decf;
}

.btn-text {
  background: none;
  border: none;
  text-decoration: none;
  cursor: pointer;
  padding: 0;
  font-size: 13px;
  line-height: 12px;
  color: #0052cc;
}

.btn-text .oi {
  color: inherit;
  font-size: 11px;
  padding-left: 4px;
}

.oi-menu {
  color: #000000;
}

.rewards {
  background: #f5f5f5;
  color: #000000;
}

.alert.is-fixed {
  position: fixed;
  z-index: 9999;
  top: 109px;
  min-width: 400px;
  left: 50%;
  transform: translateX(-50%);
}

.checkbox-input {
  display: none;
}

.checkbox-custom {
  position: relative;
  width: 18px;
  height: 18px;
  border: 1px solid #9d9d9d;
  border-radius: 4px;
  margin-right: 11px;
  background-color: transparent;
}

.checkbox-input:checked + .checkbox-custom::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 45%;
  transform: translate(-50%, -50%) rotate(-45deg);
  width: 10px;
  height: 6px;
  border-bottom: 2px solid #000;
  border-left: 2px solid #000;
}

.dropdown-divider {
  border: none;
  border-top: 1px solid #d9d9d9;
  margin: 0;
  opacity: 1;
}

.badge-container {
  width: 100%;
  display: flex;
  border-radius: 4px;
  background-color: #ebeced;
  border: 1px solid #9d9d9d;
}

.badge-container .input-badge {
  min-width: 52px;
  padding: 12px 2px;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 38px;
  color: #212c2f;
  font-size: 13px;
  font-weight: 400;
  line-height: 12px;
}

.badge-container .form-control {
  border: none;
  border-radius: 0 4px 4px 0;
}

.collection-label {
  background: none !important;
  padding: 0 !important;
}

.collection-label h6 {
  margin: 0;
  padding: 0;
  font-size: inherit;
  font-weight: normal;
  line-height: normal;
}

.collection-item {
  background: none !important;
  margin: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.collection-item .form-group {
  margin-bottom: 0 !important;
}

.collection-wrapper .form-group {
  padding-left: 0 !important;
}
