

@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;
}
body {
    background-image: url("/img/background_light.svg");
    background-repeat: repeat;
}

[data-bs-theme="dark"] body {
    background-image: url("/img/background_dark.svg");
}

dd, dl {
    margin: 0 !important;
}

.ts-wrapper,
.ts-dropdown,
.ts-control,
.ts-control > input {
    background-image: none !important;
    box-shadow: none !important;
    background-color: var(--bs-body-bg) !important;
    color: var(--bs-body-color) !important;
    border-color: var(--bs-border-color) !important;
}

.ts-dropdown .option:hover,
.ts-dropdown .option.active {
    background-color: var(--bs-primary) !important;
    color: white !important;
}

.nav-item .dropdown-item.active {
    background-color: rgba(0, 0, 0, 0.4);

}

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

.nav-button.active {
    background-color: rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
    text-decoration: none;
}

.dropdown-menu {
    padding: 0px;
    overflow: hidden;
}

a {
    color: #0077cc;
}


.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

.footer {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px;
}

.hidden-label {
    margin-left: 10px;
    margin-bottom: 5px;
    opacity: 0.5;
    transform: translateY(35px);
    transition: transform 0.3s, opacity 0.5s;
    pointer-events: none;
}

.hidden-label.required::before {
    content: '* ';
}

.hidden-label:has(+ input:not(:placeholder-shown)), .hidden-label:has(+ input:focus), .hidden-label:has(+ textarea:not(:placeholder-shown)) {
    opacity: 1;
    transform: translateY(0px);
}

.validation-summary-errors ul {
    margin: 0px;
    padding: 0px;
    list-style: none;
}

.autoWidthImage {
    width: 100%;
    height: auto;
}

/* Nav link as button: hover, focus and active states like native buttons */
.nav-button {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.65rem;
    margin: 0 0.15rem;
    border-radius: 0.375rem;
    transition: background-color .12s ease, transform .08s ease, box-shadow .12s ease;
    border: 1px solid transparent;
    cursor: pointer;
    user-select: none;
}

/* Hover / mouse-over */
.nav-button:hover {
    background-color: rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
    text-decoration: none;
}

/* Active (mouse down) */
.nav-button:active {
    transform: translateY(0);
    box-shadow: none;
    background-color: rgba(0, 0, 0, 0.08);
}

/* Accessible focus (keyboard) */
.nav-button:focus,
.nav-button:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(13,110,253,0.15);
}

/* Slight color adaptation for dark link text */
.nav-button.text-dark:hover {
    color: inherit;
}

/* Reduce hover effect on very small screens (no hover) */
@media (pointer: coarse) {
    .nav-button:hover {
        transform: none;
        box-shadow: none;
        background-color: transparent;
    }
}

.table-rounded {
    border-radius: 0.5rem;
    overflow: hidden;
}


.table-hover.table-hover-clickable tr td {
    cursor: pointer
}

.table td.action,
.table th.action {
    white-space: nowrap;
    width: 1%;
    min-width: 40px;
}

.table th {
    text-wrap: nowrap;
}


.table td ul.simple-list {
    list-style-type: none;
    padding-left: 0px;
    line-height: 1.6rem;
    text-wrap: pretty !important;
}


.table tr {
    line-height: 3rem;
}

.btn-table-right {
    padding: 0.3rem;
    margin: 0.5rem;
    line-height: 1rem;
}

.dropdown.dropdown-absolute {
    position: absolute;
}

.modal-dialog {
    max-width: 700px;
}

.btn.btn-nowrap {
    white-space: nowrap
}

.dropdown-menu {
    line-height: 2rem;
}

.copy-toast {
    opacity: 0;
    transition: opacity ease-out 1s;
}
