@use "sass:map";
.btn-xs {
  --bs-btn-padding-y: 0.2rem;
  --bs-btn-padding-x: 0.33rem;
  --bs-btn-font-size: 0.75rem;
  --bs-btn-border-radius: 0;
}

html, body {
  height: 100%;
}

body {
  font: Roboto, Arial, Helvetica, sans-serif 14px/1.2;
}
body header.navbar {
  background: #343a40;
}
body header.navbar a, body header.navbar button {
  color: #fff;
}
body header.navbar a:hover, body header.navbar button:hover {
  color: #a1c6fe;
}
body header.navbar .navbar-toggler {
  border: 0;
}
body header.navbar .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'><path stroke='rgb(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/></svg>");
}
body header.navbar .language-top .dropdown .dropdown-toggle {
  border: 0;
  padding: 0.5rem 1rem;
}
body header.navbar .dropdown .dropdown-menu {
  background: #343a40;
}
body .debug-marker {
  position: relative;
  background: #dc3545;
  height: 20px;
  line-height: 20px;
}
body .btn-default {
  color: #343a40;
  background-color: #fff;
  border-color: #ced4da;
}
body .btn-default:hover {
  color: #212529;
  background-color: #fff;
  border-color: #adb5bd;
}
body .btn-default:active {
  color: #212529;
  background-color: #f8f9fa;
  border-color: #adb5bd;
}

.footer {
  height: 60px;
  background-color: #ECEFF1;
  padding-top: 20px;
}

.overlayed {
  position: relative;
}
.overlayed:after {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 100;
  background: rgba(255, 255, 255, 0.8);
}

.page-summary {
  margin: 20px 0;
}

/* user forms */
.custom-login-form .control-label {
  display: block;
}
.custom-login-form .sub-action {
  float: right;
  font-weight: normal;
}

.custom-social-form {
  margin-top: 20px;
}
.custom-social-form .auth-clients {
  margin: 10px 0 0;
  padding: 0;
}

/* menu */
.top-navbar .nav > button.logout {
  padding: 15px;
  border: none;
}
.top-navbar .nav > button.logout:focus {
  text-decoration: none;
  outline: none;
}
.top-navbar .nav > button.logout:hover {
  text-decoration: none;
}

/* page */
.not-set {
  color: #999;
  font-style: italic;
}

.confirm-content {
  margin: 60px auto;
  max-width: 600px;
}
.confirm-content .confirm-form {
  margin-top: 20px;
}

/* add sorting icons to EntitiesGridView sort links */
a.asc:after, a.desc:after {
  display: inline-block;
  position: relative;
  top: 1px;
  padding-left: 5px;
  font: "Font Awesome 5 Free";
}
a.asc:after {
  content: "\f15e";
}
a.desc:after {
  content: "\f15d";
}

.sort-numerical a.asc:after {
  content: "\e153";
}
.sort-numerical a.desc:after {
  content: "\e154";
}

.sort-ordinal a.asc:after {
  content: "\e155";
}
.sort-ordinal a.desc:after {
  content: "\e156";
}

/* labels */
.status-active {
  color: #388e3c;
}

.table .item.status-active, .table .item .status-active {
  color: #388e3c;
}

.status-inactive {
  color: #999;
}

.table .item.status-inactive, .table .item .status-inactive {
  color: #999;
}

.remote-details .waiting-icon {
  display: none;
  margin-right: 10px;
}
.remote-details.waiting .waiting-icon {
  display: inline;
  animation: rotation 2s infinite linear;
}

.label-creator {
  padding: 2px;
  background: #81c784;
  color: #fff;
}

.label-performer {
  padding: 2px;
  background: #64b5f6;
  color: #fff;
}

.label-verifier {
  padding: 2px;
  background: #ff9800;
  color: #fff;
}

.text-admin {
  color: #ff1744;
}

.text-moder {
  color: #FF6D00;
}

.text-user {
  color: #388e3c;
}

.text-guest {
  color: #FBC02D;
}

/* modal */
.modal .modal-header {
  background: #f8f9fa;
}
.modal.type-primary .modal-header {
  background: #6ea8fe;
  color: #fff;
}
.modal.type-warning .modal-header {
  background: #fd9843;
  color: #fff;
}
.modal.type-danger .modal-header {
  background: #e35d6a;
  color: #fff;
}
.modal.type-info .modal-header {
  background: #6edff6;
  color: #fff;
}
.modal .modal-footer .btn-footer-close {
  color: #343a40;
  background: #fff;
  border: 1px solid #ced4da;
}
.modal .modal-footer .btn-footer-close:hover {
  color: #212529;
  background: #fff;
  border-color: #adb5bd;
}
.modal .modal-footer .btn-footer-close:active {
  color: #212529;
  background: #f8f9fa;
  border-color: #adb5bd;
}
.modal .modal-dialog[data-type=danger] .modal-header {
  background: #ffa7b0;
}
.modal .modal-dialog[data-type=warning] .modal-header {
  background: #ffcfa7;
}
.modal .modal-dialog[data-type=success] .modal-header {
  background: #a8eacb;
}
.modal .modal-dialog[data-type=info] .modal-header {
  background: #cbf6ff;
}

/* tables */
table .row-actions a {
  text-decoration: none;
}

/* forms */
form .required label.control-label:after {
  content: " * ";
  color: #D32F2F;
}
form .form-explanation {
  margin: 0;
  font-size: 85%;
  color: #aaa;
}
form.form-horizontal .form-group {
  margin-bottom: 1rem;
}

.select2-blocks .select2-selection__rendered .select2-selection__choice {
  display: block;
  float: none;
  width: auto;
  margin: 5px 6px 0 6px;
}

.field-task-priority select {
  width: 100px;
}

.field-project-classesids .select2-selection--multiple.select2-blocked-list .select2-selection__rendered {
  padding-top: 30px;
}
.field-project-classesids .select2-selection--multiple.select2-blocked-list .select2-selection__clear {
  position: absolute;
  right: 0;
  top: 0;
}
.field-project-classesids .select2-selection--multiple.select2-blocked-list .select2-selection__choice {
  float: none;
  margin: 5px 6px;
}
.field-project-classesids .select2-selection--multiple .select2-selection__choice:hover {
  border-color: #c4e3fc;
  background-color: #0d86e7;
}

.hint-block {
  display: block;
  margin-top: 5px;
  color: #999;
}

.error-summary {
  color: #D32F2F;
  background: #fdf7f7;
  border-left: 3px solid #FF6659;
  padding: 10px 20px;
  margin: 0 0 15px 0;
}

.alert-inline {
  margin: 0;
  padding: 2px 6px;
}

/* CRUD elements */
.column-labels {
  columns: 2;
}
.column-labels label {
  display: block;
}
.column-labels.header-hidden .control-label {
  display: none;
}

.clickable {
  cursor: pointer;
  color: #337ab7;
}

.item-page .view-menu {
  margin: 20px 0;
  padding: 10px 0;
  background: #F4F8FA;
  /*border: 1px solid $bar-accent;*/
}
.item-page .view-menu li > a {
  padding: 5px 10px;
}
.item-page .view-menu li > a.btn {
  margin-left: 5px;
}
.item-page .view-menu li > a:hover, .item-page .view-menu li > a:focus {
  background-color: #8bb5ca;
  border-color: #689fba;
  color: #fff;
}
.item-page .view-menu .nav-sections a:link, .item-page .view-menu .nav-sections a:active, .item-page .view-menu .nav-sections a:visited {
  color: #000;
}
.item-page .view-menu .nav-sections a:hover {
  background: #8bb5ca;
  color: #fff;
}
.item-page .view-menu .nav-sections a.btn:link, .item-page .view-menu .nav-sections a.btn:active, .item-page .view-menu .nav-sections a.btn:visited, .item-page .view-menu .nav-sections a.btn:hover {
  color: #fff;
}
.item-page .view-menu .divider {
  margin: 0 5px;
  height: 30px;
  width: 1px;
  background: #8bb5ca;
}
.item-page.object-class-index .class-image {
  overflow: hidden;
}
.item-page.directory-index .directory-images {
  column-count: 3;
  line-height: 1.8;
}
@media (max-width: 992px) {
  .item-page.directory-index .directory-images {
    column-count: 2;
  }
}
@media (max-width: 600px) {
  .item-page.directory-index .directory-images {
    column-count: 1;
  }
}
.item-page.project-index .project-classes {
  column-count: 2;
  line-height: 1.8;
}
@media (max-width: 992px) {
  .item-page.project-index .project-classes {
    column-count: 1;
  }
}
@media (max-width: 600px) {
  .item-page.project-index .project-classes {
    column-count: 1;
  }
}
.item-page.task-view .header {
  margin-bottom: 40px;
}
.item-page.task-view .task-status {
  font-size: 110%;
  margin-bottom: 20px;
}
.item-page.task-view .current-status {
  margin-top: 20px;
}
.item-page.task-view .comments {
  margin: 0;
}

.view-section {
  margin-top: 40px;
}
.view-section .section-lead {
  margin-bottom: 20px;
  overflow: hidden;
}
.view-section .section-lead .section-header {
  margin: 0;
  float: left;
}
.view-section .section-lead .section-menu {
  float: left;
  margin: 0 0 0 40px;
  list-style: none;
}
.view-section .section-lead .section-menu li {
  float: left;
}
.view-section .section-lead .section-menu a {
  display: block;
  padding: 0 5px;
  text-decoration: underline;
  height: 20px;
  line-height: 20px;
}

.flash-list {
  margin-bottom: 20px;
}
.flash-list .section {
  margin-top: 20px;
}

/* main page panels */
.dashboard-table .grid-view td {
  white-space: normal;
}

/* item page */
.dashboard-section {
  margin-top: 30px;
}
.dashboard-section.row {
  margin-bottom: -20px;
}
.dashboard-section .dashboard-panel {
  margin-bottom: 20px;
}
.dashboard-section .dashboard-panel .inner {
  padding: 20px 15px;
  /*background: $bar-bg; border: 1px solid $bar-accent;*/
}

/* grid */
.grid-view th, .grid-view td {
  white-space: nowrap;
}
.grid-view .filters input, .grid-view .filters select {
  min-width: 50px;
}
.grid-view .wrappable {
  white-space: normal;
}
.grid-view table tr td.preview {
  max-width: 150px;
  max-height: 150px;
  overflow: hidden;
}
.grid-view table tr td.preview img {
  max-width: 150px;
  max-height: 150px;
}
.grid-view .total-row {
  font-weight: bold;
  font-size: 1.6rem;
}

/* markup stat page */
.stat-index .grid-view tbody, .stat-index .select2, .stat-index input {
  font-size: 12px;
}

.daily-stat .user-column {
  background: #DCEDC8;
  border-color: #AED581;
}
.daily-stat .total-row {
  font-weight: bold;
}

.task-stat .pagination {
  font-size: 12px;
}
.task-stat .summary {
  margin: 20px 0;
  font-size: 16px;
}
.task-stat .performers-list {
  margin-top: 10px;
}
.task-stat .performers-list ul {
  padding-left: 10px;
}
.task-stat .edit-mark {
  display: none;
  position: absolute;
  top: -1px;
  right: -3px;
  z-index: 2;
  font-size: 25px;
  color: #D32F2F;
}
.task-stat .stat-all-form {
  margin: 20px auto 60px;
}
.task-stat .stat-list {
  font-size: 0;
}
.task-stat .stat-list .item {
  font-size: 12px;
  display: inline-block;
  float: none;
  vertical-align: top;
}
.task-stat .stat-list .card {
  position: relative;
  margin: 10px 0;
  padding: 20px;
  min-height: 150px;
  background-color: #ECEFF1;
  border: 1px solid #CFD8DC;
}
.task-stat .stat-list .card.card-performed {
  background-color: #FFF9C4;
  border-color: #FFF176;
}
.task-stat .stat-list .card.card-marked {
  background-color: #DCEDC8;
  border-color: #AED581;
}
.task-stat .stat-list .card.card-unknown {
  background-color: #FFCDD2;
  border-color: #E57373;
}
.task-stat .stat-list .card.card-edited .edit-mark {
  display: block;
}
.task-stat .stat-list .card .markup-info {
  margin-top: 20px;
  font-weight: bold;
  font-size: 16px;
}
.task-stat .stat-list .card .markup-info .mark-number {
  font-size: 18px;
}
.task-stat .stat-grid .performers-list {
  margin: 0;
  padding-left: 14px;
}
.task-stat .stat-grid .performers-cell {
  position: relative;
}
.task-stat .stat-grid .markup-cell {
  text-align: center;
}
.task-stat .stat-grid .row-performed {
  background-color: #FFF9C4;
}
.task-stat .stat-grid .row-marked {
  background-color: #DCEDC8;
}
.task-stat .stat-grid .row-unknown {
  background-color: #FFCDD2;
}
.task-stat .stat-grid .row-unknown {
  background-color: #FFCDD2;
}
.task-stat .stat-grid .row-edited .edit-mark {
  display: block;
}

.images-list {
  margin-bottom: -60px;
}
.images-list .item {
  margin-bottom: 60px;
}
.images-list .item .image {
  margin-top: 10px;
  text-align: center;
}
.images-list .item .image img {
  max-width: 200px;
  max-height: 200px;
}

@media (max-width: 767px) {
  .nav li > form > button.logout {
    display: block;
    text-align: left;
    width: 100%;
    padding: 10px 15px;
  }
}
/* static pages */
article section a {
  text-decoration: underline;
}
article section .on-top {
  vertical-align: top;
  cursor: pointer;
  font-size: 12px;
  font-weight: normal;
  line-height: 1;
  color: #777;
}

#support-manual section {
  margin: 10px 0;
}
#support-manual h1 {
  margin: 0 0 30px;
}
#support-manual h2 {
  margin: 30px 0 20px;
}
#support-manual h3 {
  margin: 30px 0 20px;
}
#support-manual h4 {
  margin: 30px 0 10px;
}
#support-manual .alert > p + p {
  margin-top: 10px;
}

/*# sourceMappingURL=theme.css.map */
