:root {
  --bs-body-font-size: 14px;
}

p .badge {
  vertical-align: text-top;
}

.sidebarThemesGrid a:not(.active) {
  opacity: 0.5;
}

#page-loader {
  opacity: 0.75;
}

.mfp-bg {
  z-index: 10420;
}

.mfp-wrap {
  z-index: 10430;
}

.tableBartaInvoices > tbody > tr:nth-child(4n+1) > td {
  --bs-table-color-type: var(--bs-table-striped-color);
  --bs-table-bg-type: var(--bs-table-striped-bg);
}

input.datepicker {
  z-index: auto !important;
}

@media screen and (max-width: 767px) {
  .block-header {
    padding-right: 1rem;
    padding-left: 1rem;
  }
}

@media screen and (max-width: 767px) {
  .block-content {
    padding-right: 0.75rem;
    padding-left: 0.75rem;
  }
}

/* */
select.js-select2.border-success {
  /**
   * a select2 lenyilo resze nem kapja meg a select-en levo class-okat,
   * mint pl. az autok szuroben, hogy az adott select nem ures, ezert itt potoljuk
   **/
}
select.js-select2.border-success + .select2-container > .selection > .select2-selection {
  --bs-border-opacity: 1;
  border-color: rgba(var(--bs-success-rgb), var(--bs-border-opacity)) !important;
}

select.js-select2 + .select2-container .select2-selection__arrow {
  width: 80px;
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
  background: rgb(255, 255, 255);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgb(255, 255, 255) 66%);
}
select.js-select2 + .select2-container .select2-selection__arrow > b {
  left: auto !important;
  right: 15px;
  width: auto !important;
  height: auto !important;
  font-size: 0 !important;
  line-height: 0 !important;
  border: none !important;
  margin: 0 !important;
  transform: translate(0%, -50%);
}
select.js-select2 + .select2-container .select2-selection__arrow > b:after {
  font-family: "Font Awesome 6 Free", serif;
  font-size: 12px !important;
  line-height: 1em !important;
  content: "\f078";
}
select.js-select2:not(.form-select-sm) + .select2-container > .selection > .select2-selection {
  min-height: 38px;
}
select.js-select2:not(.form-select-sm) + .select2-container > .selection > .select2-selection > .select2-selection__rendered {
  font-size: 1rem;
}
select.js-select2:not(.form-select-sm) + .select2-container > .selection > .select2-selection > .select2-selection__arrow {
  height: 36px;
}
select.js-select2.form-select-sm + .select2-container > .selection > .select2-selection {
  height: 31px;
}
select.js-select2.form-select-sm + .select2-container > .selection > .select2-selection > .select2-selection__rendered {
  font-size: 0.875rem;
  height: 29px;
  padding-left: 10px;
}
select.js-select2.form-select-sm + .select2-container > .selection > .select2-selection > .select2-selection__arrow {
  height: 29px;
}

.select2-search__field {
  width: 100% !important;
}
.select2-search__field::placeholder {
  color: #343a40;
  opacity: 1;
}

select.js-select2 + span.select2 {
  width: 100% !important;
}

/* */
.select2-container--default .select2-results > .select2-results__options {
  max-height: 500px;
}
.select2-container--default .select2-results > .select2-results__options > li {
  font-size: 0.9rem;
}
/* */
select.form-select option:disabled {
  font-weight: bold;
  color: #000000;
}

.block-header.block-header-cursor-pointer {
  cursor: pointer;
}

table.table.filtered tbody tr:not(.show),
table.table tbody tr.filterTableHide {
  display: none;
}

table.table.filtered tbody tr td {
  --bs-table-bg-type: none !important;
}

table.table.filtered tbody tr.filteredOdd td {
  --bs-table-bg-type: var( --bs-table-striped-bg ) !important;
}

/* */
#modal-pdfjsexpress .modal-dialog {
  max-width: 50vw !important;
}
@media screen and (max-width: 1023px) {
  #modal-pdfjsexpress .modal-dialog {
    max-width: 90vw !important;
  }
}
#modal-pdfjsexpress #modal-pdfjsexpress-iframe-wrap {
  width: 100%;
  height: 90vh;
}

#modal-mgmt-invoice-search .modal-dialog {
  max-width: 60vw !important;
}
@media screen and (max-width: 1023px) {
  #modal-mgmt-invoice-search .modal-dialog {
    max-width: 90vw !important;
  }
}

/* */
.keyupsearchWrap {
  position: relative;
  z-index: 100;
}
.keyupsearchWrap > div {
  position: absolute;
  top: 10px;
  left: 0;
  width: 100%;
  border: var(--bs-border-width) solid #d1d8ea;
  border-radius: var(--bs-border-radius);
  background-color: #ffffff;
}

/* Coloris JS color picker lib */
.clr-field {
  width: 100%;
}
.clr-field > button {
  right: 5px !important;
  width: 24px !important;
  height: 24px !important;
  border-radius: var(--bs-border-radius);
}

/* */
@media screen and (max-width: 767px) {
  .block-header.block-options-xs-fixed .block-options {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--bs-gray-800);
    text-align: center;
    padding: 10px 0;
    z-index: 100;
  }
}

/* */
.carsListTableRowLeftBorder {
  display: inline-block;
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  border-right: 1px solid var(--bs-table-border-color);
  border-left: 1px solid var(--bs-table-border-color);
}
.carsListTableRowLeftBorder > span {
  display: inline-block;
  position: absolute;
  left: 0;
  width: 100%;
}
.carsListTableRowLeftBorder > span:first-of-type {
  top: 0;
  height: 50%;
}
.carsListTableRowLeftBorder > span:last-of-type {
  top: 50%;
  height: 50%;
}
.carsListTableRowLeftBorder:not(.double) > span:first-of-type {
  top: 0;
  height: 100%;
}
.carsListTableRowLeftBorder:not(.double) > span:last-of-type {
  display: none;
}

/* */
.attachmentsWrapDivider {
  font-size: 0;
  line-height: 0;
  height: 10px;
}

/* */
.increaseDateButtons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 5px;
  padding-top: 5px;
}
.increaseDateButtons > div > button {
  display: block;
  width: 100%;
}