/* Variables substitution: $bg-color: #eff3ee; */

body {
  margin: 0 auto;
  height: 100%;
  padding: 0 0.3em;
  font-size: 0.9rem;
  overflow-x: hidden;
  min-height: 100%;
  color: rgba(0, 0, 0, 0.87);
}

body.no-scroll {
  height: 100%;
  overflow: hidden;
  position: fixed;
  overscroll-behavior: contain;
}

body h1 {
  font-size: 2rem;
}

body h2 {
  text-align: center;
  font-size: larger;
}

body .center {
  text-align: center;
}

body .navbar {
  padding: 0 10px;
  margin: 0 -0.3em;
}

body .navbar-brand {
  margin-right: 8px;
}

a {
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

#root {
  height: 100%;
}

button {
  box-sizing: border-box;
}

input[type='button'] {
  box-sizing: border-box;
}

textarea,
select,
button {
  font-size: 15px;
}

.navbar-nav .dropdown-menu {
  overflow-x: hidden !important;
}

.bi {
  display: inline-block;
  content: '';
  background-repeat: no-repeat;
  background-size: 1rem 1rem;
}

ul.dropdown-menu li {
  padding: 0 5px;
}

@media (max-width: 850px) {
  .jumbotron {
    padding: 1rem 2rem;
  }
  .top-container {
    flex-direction: column;
  }
  .top-left-content {
    width: 100%;
  }
  .top-right {
    width: 100%;
  }
}

.fakeimg {
  height: 200px;
  background: #aaa;
}

.navbar-nav .dropdown-menu {
  max-height: 500px;
  overflow-y: auto;
}

.fl-wc {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 0.25em 0;
}

.fl-gc {
  display: flex;
  align-items: center;
  gap: 5px;
}

.fl-gcc {
  display: flex;
  align-items: flex-start;
  gap: 0px;
  flex-direction: column;
  font-size: 13px;
}

.flex-wrap-center {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.flex-field-group {
  display: flex;
  gap: 5px;
}

.flex-field-group.f-1 {
  flex: 1;
}

.flex-field-group .form-control:not(:first-child) {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.flex-field-group .input-group-text {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

@media (max-width: 500px) {
  .navbar-nav .dropdown-menu {
    overflow-y: auto;
  }
  .flex-field-group.f-1 {
    width: 100%;
  }
}

td input[type='text'] {
  width: 5em;
}

input.w-auto[type='text'] {
  width: auto;
}

.table td,
.table th {
  vertical-align: middle !important;
  text-align: center;
  line-height: normal;
}

.pointer {
  cursor: pointer;
}

.user-form-container h1 {
  padding-bottom: 0.5em;
}

table tfoot {
  font-weight: bold;
}

table.boxed tbody tr:hover:not(.selected),
table.table tbody tr:hover:not(.selected) {
  background-color: rgba(46, 255, 4, 0.12);
}

table.table-hover tbody tr:hover {
  background-color: rgba(46, 255, 4, 0.12);
}

.control_btn {
  font-weight: bold;
  font-size: x-large;
}

i[data-click-action],
span[data-click-action] {
  cursor: pointer;
  padding: 6px;
  color: inherit;
  line-height: 1;
}

.brown {
  color: brown;
}

.bg-gainsboro {
  background-color: gainsboro;
}

.bg-mediumseagreen {
  background-color: mediumseagreen;
}

.gainsboro {
  color: gainsboro;
}

.rosybrown {
  color: rosybrown;
}

.cadetblue,
.hover-cadetblue:hover {
  color: #17a2b8;
}

.indianred,
.hover-indianred:hover {
  color: indianred;
}

.hover-bg-indianred:hover {
  background-color: indianred;
}

.cornflowerblue,
.hover-cornflowerblue:hover {
  color: cornflowerblue;
}

.hover-bg-cornflowerblue:hover {
  background-color: cornflowerblue;
}

.forestgreen,
.hover-forestgreen:hover {
  color: forestgreen;
}

.x-large {
  font-size: x-large;
}

span.rs-fix[class*='fi-rs-'] {
  padding-right: 1.7rem;
}

.rs-fix[class*='fi-rs-']::before {
  position: absolute;
  margin: 3px;
}

.hidden {
  display: none;
}

.right {
  float: right;
}

button.icon-action {
  outline: none;
  border: none;
  background-color: inherit;
  padding: 0 4px;
  line-height: 1em;
}

button {
  white-space: nowrap;
}

input[type='search'] {
  outline-offset: unset;
  -webkit-appearance: none;
}

input,
span {
  outline: none;
}

.inline-block {
  display: inline-block;
  margin: 0.5em 0.5em 0.5em 0;
}

.accordion {
  background-color: #eee;
  color: #444;
  cursor: pointer;
  padding: 18px;
  text-align: left;
  border: none;
  outline: none;
  transition: 0.4s;
}

.active.accordion:hover {
  background-color: #ccc;
}

.accordion-panel {
  display: none;
  overflow: hidden;
}

.x-modal {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 15px;
  overflow: auto;
  background-color: rgba(150, 150, 150, 0.7);
  backdrop-filter: blur(4px);
}

.modal__dialog {
  position: relative;
  padding: 5px 10px 10px;
  margin: 25px auto auto;
  border-radius: 4px;
  background-color: #fff;
}

.modal__close {
  font-size: x-large;
  font-weight: 700;
  position: absolute;
  top: 0px;
  right: 10px;
  padding: 0;
  border: none;
  color: #ccc;
  background-color: transparent;
  background-image: none;
  transform: translateZ(0) scale(1.5);
  transition: transform 0.4s ease-in-out, opacity 0.4s ease-in-out;
}

.modal__close:hover {
  opacity: 1;
  text-shadow: none;
  transform: rotate(180deg) translateZ(0) scale(1.5);
}

.modal__close:focus {
  outline: 0;
}

.modal__header {
  border-bottom: 1px solid #e2e2e2;
}

.modal__title {
  margin: 0 0 15px;
}

.modal__content {
  padding: 10px 0;
  font-size: 13px;
  line-height: 1.6;
  color: #555;
  max-width: 100%;
  overflow-x: auto;
}

.modal__footer {
  padding-top: 10px;
  border-top: 1px solid #e2e2e2;
  text-align: right;
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.modal--fullscreen {
  padding: 5px;
}

.modal--fullscreen .modal__dialog {
  width: 100%;
  max-width: none;
  height: 100%;
  border-radius: 0;
}

.x-modal.is-modal-active {
  display: flex;
  z-index: 1051;
}

@-webkit-keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

.table-footer {
  font-weight: bold;
}

.table-wrapper {
  margin: 5px 0px 5px;
  overflow: auto;
  overflow-y: hidden;
}

.table-wrapper:not([class*=no-shadow]) {
  box-shadow: 0px 25px 40px rgba(0, 0, 0, 0.2);
}

.fl-table {
  border-radius: 5px;
  font-size: small;
  font-weight: normal;
  border: none;
  border-collapse: collapse;
  width: auto;
  max-width: 100%;
  white-space: nowrap;
  background-color: white;
  overflow: hidden;
}

.fl-table td,
.fl-table th {
  text-align: center;
  padding: 4px;
}

.fl-table td {
  border-right: 1px solid #999;
  font-size: small;
}

.fl-table thead th {
  color: #000;
  background: #ddd;
}

.fl-table tr:nth-child(even) {
  background: #f8f8f8;
}

@media (max-width: 767px) {
  .fl-table.responsive {
    display: block;
    width: 100%;
  }
  .table-wrapper .fl-table.responsive {
    overflow-y: auto;
  }
  .fl-table.responsive thead,
  .fl-table.responsive tbody,
  .fl-table.responsive thead th {
    display: block;
  }
  .fl-table.responsive thead th:last-child {
    border-bottom: none;
  }
  .fl-table.responsive thead {
    float: left;
  }
  .fl-table.responsive tbody {
    width: auto;
    position: relative;
    overflow-x: auto;
  }
  .fl-table.responsive td,
  .fl-table.responsive th {
    padding: 20px 0.625em 0.625em 0.625em;
    height: 60px;
    vertical-align: middle;
    box-sizing: border-box;
    overflow-x: hidden;
    overflow-y: auto;
    width: 120px;
    font-size: 13px;
    text-overflow: ellipsis;
  }
  .fl-table.responsive thead th {
    text-align: left;
    border-bottom: 1px solid #f7f7f9;
  }
  .fl-table.responsive tbody tr {
    display: table-cell;
  }
  .fl-table.responsive tbody tr:nth-child(odd) {
    background: none;
  }
  .fl-table.responsive tr:nth-child(even) {
    background: transparent;
  }
  .fl-table.responsive tr td:nth-child(odd) {
    background: #f8f8f8;
    border-right: 1px solid #e6e4e4;
  }
  .fl-table.responsive tr td:nth-child(even) {
    border-right: 1px solid #e6e4e4;
  }
  .fl-table.responsive tbody td {
    display: block;
    text-align: center;
  }
}

.zui-table {
  border: solid 1px #ddeeee;
  border-collapse: collapse;
  border-spacing: 0;
  background-color: white;
}

.zui-table thead th {
  background-color: #ddefef;
  border: solid 1px #ddeeee;
  color: #336b6b;
  padding: 10px;
  text-align: left;
  text-shadow: 1px 1px 1px #fff;
}

.zui-table tbody td {
  border: solid 1px #ddeeee;
  color: #333;
  padding: 10px;
  text-shadow: 1px 1px 1px #fff;
}

.darkmode.enabled::before {
  content: '\f185';
  font-size: 18px;
}

.darkmode::before {
  content: '\f186';
  font-size: 15px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-weight: 900;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  color: #fff;
}

.darkmode {
  position: fixed;
  background: #000;
  width: 30px;
  height: 30px;
  right: 15px;
  bottom: 15px;
  cursor: pointer;
  border-radius: 3px;
  z-index: 999;
}

.darkmode.enabled {
  background: #f9a900;
}

.account-title,
.color-white {
  color: white;
}

.white-space-normal {
  white-space: normal !important;
}

select option[disabled] {
  display: none;
}

.card-item {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.card-item .item-icon img {
  width: 50px;
}

.card-item .item-title {
  font-size: large;
}

.card-item:hover .item-title {
  text-decoration: underline;
}

.nav-item > .dropdown-menu.show {
  right: 0;
  left: auto;
}

nav > .section {
  display: flex;
  align-items: center;
}

#form-login,
#form-forgot {
  width: 55%;
  margin: 0 auto;
}

.one-line-flex-group {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.one-line-flex-group > div {
  margin-bottom: 0.2rem;
}

.form-check > label {
  cursor: pointer;
}

input.form-control[data-doc_number] {
  width: 4rem;
  flex: unset;
}

span.delete_btn,
.modal__close {
  font-family: roboto;
}

span.delete_btn:hover,
.modal__close:hover {
  color: red;
}

.navbar-dark .navbar-nav .nav-link {
  color: white;
}

form.flex-wrap-center input.form-control,
form.flex-wrap-center select.form-control,
form.flex-wrap-center .input-group-prepend {
  padding: 0;
  text-align: center;
}

form.flex-wrap-center select.form-control {
  cursor: pointer;
}

form.flex-wrap-center .form-group button.btn {
  padding: 0.31rem 0.5rem;
}

td.text.description {
  text-align: left;
  font-size: small;
  border: 1px solid lightgray;
}

.section-buttons-right {
  margin-top: 0.5rem;
  display: flex;
  justify-content: flex-end;
}

.section-buttons-right span.btn,
.section-buttons-right a.btn {
  display: flex;
  align-items: center;
}

.section-buttons-right span.btn i,
.section-buttons-right span.btn span,
.section-buttons-right a.btn i,
.section-buttons-right a.btn span {
  margin-right: 5px;
}

.section-buttons-right span.btn:not(:last-child),
.section-buttons-right a.btn:not(:last-child) {
  margin-right: 0.25rem !important;
}

.list-group .list-group-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: row-reverse;
  padding: 0.5rem 1.25rem 0.25rem;
}

.gg-btn {
  align-items: center;
  border: none;
  display: inline-flex;
  justify-content: center;
  outline: none;
  position: relative;
  z-index: 0;
  -webkit-font-smoothing: antialiased;
  background: none;
  border-radius: 50%;
  cursor: pointer;
}

i[class^='fi-rs-']::before,
i[class*=' fi-rs-']::before,
span[class^='fi-rs-']::before,
span[class*='fi-rs-']::before {
  font-size: inherit;
}

.gg-btn::before {
  content: '';
  display: block;
  opacity: 0;
  position: absolute;
  transition-duration: 0.15s;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  z-index: -1;
  bottom: 0;
  left: 0;
  right: 0;
  top: 0;
  border: 1px solid gainsboro;
  transform: scale(0);
  transition-property: transform, opacity;
}

.gg-btn::before.hover-cornflowerblue {
  border-color: cornflowerblue;
}

.gg-btn::before.hover-indianred {
  border-color: indianred;
}

.gg-btn::before.hover-forestgreen {
  border-color: forestgreen;
}

.gg-btn::before.hover-cadetblue {
  border-color: cadetblue;
}

.gg-btn:hover::before {
  opacity: 0.9;
  transform: scale(1.1);
  background-color: #f5f5f5;
}

td.flex-btns {
  align-items: center;
  justify-content: end;
}

.italic {
  font-style: italic;
}