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 {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.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;
}

/* Általános Choices kinézet Bootstrap 5.3 form-select-hez igazítva */
.choices__inner {
    border-radius: 0.375rem; /* Ugyanaz mint Bootstrap .form-select */
    border: 1px solid #ced4da; /* Bootstrap szín */
    padding: 0.375rem 0.75rem;
    min-height: auto;
    font-size: 1rem;
    line-height: 1.5;
    background-color: #fff;
    color: #212529;
    box-shadow: none;
}

.choices__list--single {
    padding: 0;
}

.choices__input {
    padding: 0;
    margin: 0;
}

.choices__list--dropdown,
.choices__list[aria-expanded] {
    border: 1px solid #ced4da;
    border-radius: 0.375rem;
    box-shadow: none;
    font-size: 1rem;
}

.choices__item--selectable {
    padding: 0.375rem 0.75rem;
}

.choices__list--dropdown .choices__item--selectable.is-highlighted,
.choices__list[aria-expanded] .choices__item--selectable.is-highlighted {
    background-color: #e9ecef; /* Bootstrap hover szín */
}

.choices[data-type*="select-one"]::after {
    content: "";
    height: 0;
    width: 0;
    border-left: .3em solid transparent;
    border-right: .3em solid transparent;
    border-top: .3em solid;
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

table.dataTable tfoot select {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}
