:root {
    --bs-body-font-size: 0.9rem;

    --os-brand-color: #FF7757;

    --os-ontop-modal-zindex: 1056;
}

.navbar {
    --bs-navbar-toggler-font-size: 1rem;
}

.dropdown-menu {
    --bs-dropdown-font-size: 0.9rem;

    --bs-dropdown-link-hover-bg: rgba(var(--bs-secondary-rgb), 1) !important;
    --bs-dropdown-link-hover-color: white;
}

.form-select,
.form-control,
.input-group-text {
    font-size: 0.9rem;
}

.ui-slider-label,
.fs-small,
small {
    font-size: 0.75rem;
}

/*
  other font sizes - currently no need to adapt them:
  --bs-btn-font-size: 1rem;
  --bs-dropdown-font-size: 1rem;
  --bs-navbar-brand-font-size: 1.25rem;
  --bs-navbar-toggler-font-size: 1.25rem;
  --bs-pagination-font-size: 1rem;
  --bs-badge-font-size: 0.75em;
  --bs-toast-font-size: 0.875rem;
  --bs-tooltip-font-size: 0.875rem;
  --bs-popover-font-size: 0.875rem;
  --bs-popover-header-font-size: 1rem;
 */

.btn-xs, .btn-group-xs > .btn {
    --bs-btn-padding-y: 0.25rem;
    --bs-btn-padding-x: 0.4rem;
    --bs-btn-font-size: 0.875rem;
    --bs-btn-border-radius: var(--bs-border-radius-sm);

    line-height: .5;
}


.list-with-more li:nth-of-type(1n+4) {
    display: none;
}

.list-with-more.show-all li:nth-of-type(1n+4) {
    display: list-item;
}

.list-with-more.show-all li:nth-of-type(1n+4).list-with-more-link {
    display: none;
}

.list-with-more li:nth-of-type(1n+4).list-with-more-link {
    display: list-item;
}

.form-check-input {
    border-color: var(--bs-gray-500);
}

.link-dark {
    text-decoration-color: var(--bs-gray-500) !important;
}

.link-dark:hover {
    text-decoration-color: black;
}

tr.highlight,
tr.highlight th,
tr.highlight td {
    background-color: var(--bs-warning);
}


.inherit-weight * {
    font-weight: inherit !important;
}

.inherit-color * {
    color: inherit !important;
}

.dropzone-dragover::before {
    position: absolute;
    width: 100%;
    left: 0;
    z-index: 99999;

    text-align: center;

    font-family: 'FontAwesome';
    content: '\f093';
    font-size: 20pt;
    color: white;
}

.nav-link.dropzone-dragover::before {
    font-size: 15pt;
    top: 5px;
}

.dropzone-dragover::after {
    content: '';

    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    border-radius: inherit;
    z-index: 99998;

    background-color: var(--bs-success);
}