* {
  box-sizing: border-box;
}

:root {
  --blue-pencil: #114eb7;
  --blue-pencil-hover: #093074;
  --red-trash: #df1212;
  --red-trash-hover: #af0f0f;
  --checkbox-done: #5e8000;
  --google-blue: #4285f4;
  --grey-text: #545454;
  --white-text: #ffffff;
  --white-background: #ffffff;
  --selected-table-row: #0d6efd80;
  --separator-color: #2d333a;
  --border-light: #dee2e6;
  --shaddow: #ddd;
  --backdrop-background: #000000;
  --supplier-name-hover: #114eb7;
  --table-background: #f5f5f5;
  --btn-border-light: #ced4da;
  --border-selected-color: #acb1b6;
  --border-white: #ffffff;
  --gradient-black: #000000;
  --gradient-white: #ffffff;
  --shadow-black: #00000026;
  --black-text: #000000;
  --grey-select: #807777;
  --border-list: #ccc;
  --border-circle: #3498db;
  --blue-btn-disabled: #95bee9;
  --border-btn-disabled: #89bcf3;
  --archived-background: #ababab;
  --border-dark: #00000033;
}

html {
  scroll-behavior: smooth;
}

.btn-group-sm > .btn {
  padding: 0.05rem 0.4rem;
}

.table td,
.table th {
  vertical-align: middle !important;
}

.table-responsive-container .col-sm-12:has(table) {
  display: block;
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.w-subject {
  min-width: 180px;
}

.w-subject-admin {
  min-width: 300px;
}

.w-min {
  width: fit-content;
  min-width: 125px;
}

.w-icon {
  width: 50px;
}

.max-order-w {
  max-width: 8px;
}

* {
  font-family: Montserrat, sans-serif;
}

.w-table {
  min-width: 100%;
}

#cb_done {
  accent-color: var(--checkbox-done);
}

.tooltip {
  pointer-events: none !important;
}

.sign-in__separator {
  font-size: 0.9rem;
  text-align: center;
  position: relative;
  margin: 15px 0;
  color: var(--separator-color);
  background: var(--white-background);
  padding: 0 10px;
  z-index: 1;
  width: 100%;
}

.sign-in__separator::before,
.sign-in__separator::after {
  content: '';
  flex: 1;
  border-top: 1px solid var(--border-light);
  position: absolute;
  top: 50%;
  width: 40%;
}

.sign-in__separator::before {
  left: 0;
}

.sign-in__separator::after {
  right: 0;
}

.sign-in--form {
  display: flex;
  flex-direction: column;
  align-items: center;
}

a.btn-google {
  display: flex;
  font-size: 14px;
  color: var(--grey-text);
  background-color: var(--white-background);
  box-shadow: 0 1px 2px 1px var(--white-background);
  font-family: Roboto, sans-serif;
  width: 210px;
  height: 38px;
  justify-content: space-between;
  align-items: center;
  padding-left: 0;
}

.btn-google:hover {
  color: var(--white-text);
  background-color: var(--google-blue);
}

.google-icon__container {
  width: 34px;
  height: 34px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--white-background);
  border-radius: 0.25rem;
  margin-left: 1px;
}

.actions-cell {
  min-width: 90px;
  text-align: center;
}

.action-icon {
  margin: 10px;
}

.fa.action-icon {
  font-size: 17px;
}

.form-control-file {
  border: 1px solid var(--border-light);
  border-radius: 0.25rem;
  padding: 0.375rem 0.75rem;
}

.dataTables_info {
  text-align: left;
  margin-left: 2rem;
}

div.dataTables_wrapper div.dataTables_paginate ul.pagination {
  width: 100%;
  justify-content: center;
}

div.table-responsive div.row div.dataTables_paginate ul.pagination {
  justify-content: center;
}

.dataTables_length,
.dataTables_filter {
  text-align: left !important;
}

.dataTables_length {
  margin: 10px 0;
}

.dataTables_filter {
  margin-bottom: 10px;
}

div.table-responsive
  > div.dataTables_wrapper
  > div.row
  > div[class^='col-']:last-child {
  padding-left: 0;
}

.col-md-7,
.col-md-5 {
  padding: 0;
}

.paginate_button.previous,
.paginate_button.next {
  width: 110px;
}

.form-control-sm::placeholder {
  color: transparent;
}

.navbar-nav {
  margin-left: 0 !important;
}

.container {
  display: flex;
  flex-wrap: wrap;
  padding: 0;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.navbar-btn {
  margin: 0 !important;
}

.dropdown-menu-right {
  top: 50px;
  left: -31px;
  right: auto;
}

.gap {
  gap: 5px;
}

.odd.selected,
.even.selected {
  background-color: var(--selected-table-row);
}

table.dataTable > tbody > tr.odd.selected > td.select-checkbox:before,
table.dataTable > tbody > tr.odd.selected > th.select-checkbox::after,
table.dataTable > tbody > tr.even.selected > td.select-checkbox:before,
table.dataTable > tbody > tr.even.selected > th.select-checkbox::after {
  border: 1px solid transparent !important;
}

.logo {
  width: 60px;
}

.blue-pencil-icon {
  color: var(--blue-pencil);
  cursor: pointer;
}

.red-trash-icon {
  color: var(--red-trash);
  cursor: pointer;
}

.table-bg tbody tr:nth-of-type(odd) {
  background-color: var(--table-background);
}

.excel-table {
  width: 100%;
  height: 100vh;
}

.nav-fit-content {
  width: fit-content;
}

.table-row-sm td {
  padding: 3px 8px !important;
}

.cursor-pointer {
  cursor: pointer;
}

.odd.selected,
.even.selected {
  background-color: var(--selected-table-row) !important;
}

.embed-height {
  height: calc(95vh - 220px);
}

.legend-hide {
  display: none;
}

.width-fit-content {
  width: fit-content;
}

.mt-select {
  margin-top: 14px;
}

.table-bg tbody tr:nth-of-type(even).archived,
.table-bg tbody tr:nth-of-type(odd).archived {
  background-color: var(--archived-background);
}

.result-list {
  position: absolute;
  border: 1px solid var(--border-list);
  overflow-y: auto;
  overflow-x: hidden;
  z-index: 10;
  background-color: var(--white-background);
  padding: 0.5rem 1rem 0 1rem;
  border-radius: 0.25rem;
}

.result-list li {
  cursor: pointer;
  padding: 0.2rem 0.5rem;
  list-style-type: none;
  border-radius: 0.5rem;
}

.clear-filter {
  position: absolute;
  transform: translateY(-50%);
  border-radius: 50%;
  border: none;
  color: var(--red-trash);
  background-color: transparent;
  cursor: pointer;
  font-size: 28px;
}

.clear-filter:active,
.clear-filter:focus {
  outline: none !important;
}

.clear-filter:hover {
  color: var(--red-trash-hover);
}

.form-control.is-invalid {
  background-image: none;
}

.active-item {
  background-color: var(--selected-table-row);
}

@media (min-width: 768px) {
  .dataTables_filter {
    text-align: right !important;
  }

  .fa.action-icon {
    font-size: 20px;
  }

  .w-subject {
    width: 280px;
  }

  .col-md-5,
  .pagination li {
    text-align: center;
  }

  div.dataTables_wrapper div.dataTables_paginate ul.pagination {
    width: 100%;
    padding-right: 2rem;
    justify-content: flex-end !important;
  }

  .create {
    height: 500px;
  }
}

@media (min-width: 1024px) {
  .navbar-btn {
    margin-left: 0.5rem !important;
  }

  .container {
    justify-content: flex-end;
  }

  .navbar-nav {
    margin-left: 2rem;
  }

  .dropdown-menu-right {
    right: 0;
    left: auto;
  }

  .fit-content {
    max-width: 150px !important;
  }
}

.pdf_container {
  display: flex;
  width: 100%;
}

.pdf_button {
  width: 100%;
}

h1,
.h1 {
  font-size: 1.75rem;
  font-weight: bold;
}

.h2,
h2 {
  font-size: 1.5rem;
  font-weight: bold;
}

body {
  font-size: 0.875rem;
  padding-right: 0 !important;
}

.content-wrapper {
  top: 14px;
  position: relative;
  padding-bottom: 50px;
}

.table.dataTable td.dataTables_empty,
table.dataTable th.dataTables_empty {
  padding: 15px 0;
}

table.dataTable.table-sm th:not(.sorting_asc):before,
table.dataTable.table-sm th:not(.sorting_desc):after {
  display: none;
}

table.dataTable.table-sm .sorting:before,
table.dataTable.table-sm .sorting_asc:before {
  right: 0.45em;
}

table.dataTable.table-sm .sorting_asc:after {
  display: none;
}

table.dataTable.table-sm .sorting_desc:before {
  display: none;
}

.text-white .nav-link:not(.active) {
  color: var(--white-text);
}

.fw-bold {
  font-weight: bold;
}

/* mage big modal dialogs even biggr, but caped max width */
@media (min-width: 1024px) {
  .modal-xxl {
    width: 95vw !important;
    max-width: none !important;
  }
}

.w-140px {
  width: 140px;
}

@media (max-width: 1200px) {
  legend {
    font-size: calc(1.275rem + 0.3vw);
  }

  h1,
  .h1 {
    font-size: calc(1.375rem + 1.5vw);
  }

  h2,
  .h2 {
    font-size: calc(1.325rem + 0.9vw);
  }

  h3,
  .h3 {
    font-size: calc(1.3rem + 0.6vw);
  }

  h4,
  .h4 {
    font-size: calc(1.275rem + 0.3vw);
  }

  .display-1 {
    font-size: calc(1.725rem + 5.7vw);
  }

  .display-2 {
    font-size: calc(1.675rem + 5.1vw);
  }

  .display-3 {
    font-size: calc(1.575rem + 3.9vw);
  }

  .display-4 {
    font-size: calc(1.475rem + 2.7vw);
  }

  .close {
    font-size: calc(1.275rem + 0.3vw);
  }
}

@media (max-width: 1440px) {
  .large {
    height: 85vh;
  }
}
