html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html, body {
  min-height: 100%;
}

body.layout-root {
  margin: 0;
}

.layout-header,
.layout-footer {
  flex: 0 0 auto;
}

.layout-content {
  flex: 1 1 auto;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

.select2-container {
  max-width: 100%;
}

select.w-auto + .select2-container {
  width: auto !important;
  min-width: 4.5rem;
}

select.form-select + .select2-container .select2-selection--single {
  height: calc(2.25rem + 2px);
  padding: .375rem 2.25rem .375rem .75rem;
  border: 1px solid #ced4da;
  border-radius: .375rem;
  box-sizing: border-box;
}

select.form-select-sm + .select2-container .select2-selection--single {
  height: calc(1.8125rem + 2px);
  padding: .25rem 2rem .25rem .5rem;
  border-radius: .25rem;
  box-sizing: border-box;
}

select.form-select + .select2-container .select2-selection__rendered,
select.form-select-sm + .select2-container .select2-selection__rendered {
  color: #212529;
  line-height: 1.5;
  padding-left: 0;
  padding-right: 0;
}

select.form-select + .select2-container .select2-selection__arrow,
select.form-select-sm + .select2-container .select2-selection__arrow {
  height: 100%;
  right: .75rem;
}

.select2-dropdown,
.select2-results,
.select2-results__options {
  overflow-x: hidden !important;
}

.select2-results__option {
  white-space: normal;
  word-break: break-word;
}

.select2-selection__rendered {
  overflow: hidden;
  text-overflow: ellipsis;
}

.select2-search--dropdown .select2-search__field {
  width: 100% !important;
  box-sizing: border-box;
  min-width: 0;
}

.select2-container--open .select2-dropdown {
  box-sizing: border-box;
}