:root {
    --blue: #006ab1;
    --red: #bc1220;
    --yellow: #ffdc00;
    --green: #1ea02d;
}

html, body {
    font-family: "Open Sans" ,system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-size: 14px;
    height: 100%;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.form-control {
    font-size: 16px;
}

.col-12-overwrite .row > *{
    flex: 0 0 auto !important;
    width: 100% !important;
}

#page-wrapper {
    background-image: url("../images/background_default-wC4pmdp.svg");
    background-size: cover;
    background-position: 50% 50%;
}

.page-content {
    min-height: 75vh;
    padding-top: 2rem;
    padding-bottom: 3rem;
}

@media (min-width: 480px) {
    #page-wrapper {
        min-height: 100%;
        display: flex;
        flex-direction: column;
    }
}

.heading-container {
    padding-top: 1rem;
    padding-bottom: 1rem;
    display: flex;
    flex-wrap: wrap;
}

#page-footer {
    padding-top: 2rem;
    padding-bottom: 2rem;
    margin-top: auto;
    background: #222;
    color: #f1f4f5;
}

#page-footer a {
    color: white;
}

.footer-logo {
    max-width: 76px;
    margin-right: 14px;
    margin-top: 5px;

    img {
        width: 100%;
        max-width: 100%;
        height: auto;
    }
}

.fa-circle-bg-white {
    &::before {
        background: white;
        border-radius: 100em;
    }
}

.navbar-nav .nav-link.active, .navbar-nav .nav-link.show {
    color: var(--red);
    font-weight: 700;
}

.float-right {
    float: right !important;
}

@media (max-width: 991px) {
    .navbar-expand-lg .navbar-nav .nav-link {
        padding-left: var(--bs-navbar-nav-link-padding-x);
        padding-right: var(--bs-navbar-nav-link-padding-x);
    }
}


.extra-td-link {
    vertical-align: middle;
    position: relative;
    z-index: 5;
}

.pointer-events-none {
    pointer-events: none !important;
}

.icon-show-password [class^="col"] {
    position: relative;

    i {
        position: absolute;
        top: 1.25rem;
        right: 1rem;
        padding: 0.5rem;
        transform: translateY(-50%);
        color: darkblue;
        transition: all 0.2s;
    }

    input.is-invalid + i {
        margin-right: 1.5rem;
    }
}

.extra-height-button {
    min-height: 36.5px;
}

.mw-800 {
    max-width: 800px;
}

.table-sticky-thead {
    th {
        background: lavender;
    }
}

.sticky-header-wrapper thead {
    display: table;
    table-layout: fixed;
}

.sticky-header-wrapper th {
    padding: 0.5rem 0.5rem;
    color: #000;
    border-bottom-width: var(--bs-border-width);
    box-shadow: inset 0 0 0 9999px var(--bs-table-bg-state, var(--bs-table-bg-type, var(--bs-table-accent-bg)));
    background: lavender;
}

.checklist-striped li {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    padding-left: 2rem;
    background-color: white;
    border-bottom: 1px solid lightgray;
    margin-bottom: 0;
}

.checklist-striped li:nth-child(odd) {
    background-color: #ECEDEE;
}

.checklist-striped li:last-child {
    border-bottom: 0;
}

.table-responsive {
    th:not(.checkbox-tc), td:not(.checkbox-tc) {
        min-width: 120px;

        &.action-column {
            width: 1%;
        }
    }
    td {
        vertical-align: top;
    }
}

table tr.highlight td {
    background-color: var(--bs-highlight-bg);
    box-shadow: none;
}

.responsive-table-action{
    position: fixed;
    display: block;
    left: 0;
    text-align: center;
    z-index: 5;
    width: 100%;
    font-size: 1.3rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
    bottom: 0;
}

.search-widget .search-btn {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.search-widget .clear-search-btn {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.search-widget input {
    border-radius: 0;
}

.mobile-icon-button {
    @media screen and (max-width: 575px) {
        color: transparent !important;
        font-size: 0 !important;
        user-select: none !important;

        &.mobile-icon-primary i {
            color: var(--bs-primary);
            font-size: var(--bs-btn-font-size);
            margin: 0 !important;
        }
    }
}

#scrollToTopBtn {
    position: fixed;
    bottom: -50px;
    right: 20px;
    z-index: 100;
    padding: 9px 16px;
    font-size: 18px;
    background-color: #1a1a1a;
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
//display: none;
    opacity: 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, transform 0.2s ease, opacity 0.2s ease, bottom 0.2s ease;
}

#scrollToTopBtn.scrollToTopShow {
    opacity: 1;
    bottom: 20px;
}

#scrollToTopBtn:hover,
#scrollToTopBtn:focus {
    background-color: #333;
    transform: translateY(-2px);
    outline: none;
}

.col-form-label {
    font-weight: bold;
}

.navbar-brand {
    img {
        width: 100%;
        height: auto;
        max-width: 181px;
    }
}

.navbar > .container {
    min-height: 67px;
}

@media screen and (max-width: 991px) {
    html .navbar .navbar-brand img {
        width: calc(100vw - 11.2rem);
    }
}

label.required {
    display: flex;

    &:after {
        content: "*";
        color: red;
        margin-left: 0.25rem;
    }
}

.mh-100vh {
    min-height: 100vh;
}

.mh-custom-vh {
    /*height: -webkit-fill-available;*/
    min-height: 81vh;
}

.content-check {
    padding: 0 !important;

    >.container {
        max-width: 100% !important;
    }
}



.question-section label {
    text-align: left;
}

label.required::after {
    content: none; /* Remove the red star */
    display: none; /* Ensure it doesn't take up space */
}

/* Align "Zurück" and "Weiter" buttons on the same line */
.d-flex.justify-content-between {
    display: flex;
    justify-content: space-between;
    align-items: center; /* Vertically align buttons */
    margin-top: 20px;
}

/* Style for the "Zurück" button */
.btn-outline-primary {
    border: 2px solid var(--blue);
    color: var(--blue);
    font-size: 16px;
    padding: 10px 20px;
    border-radius: 5px;
    height: 50px; /* Match height with "Weiter" button */
}

.btn-outline-primary:hover {
    background-color: var(--blue);
    color: #fff;
}

/* Style for the "Weiter" button */
#form_antworten {
    background-color: var(--blue);
    color: #fff;
    font-size: 16px;
    padding: 10px 20px;
    border-radius: 5px;
    border: none;
    height: 50px; /* Match height with "Zurück" button */
}

#form_antworten:hover {
    background-color: var(--blue);
}

/*!* Align topic title and buttons *!*/
/*.d-flex.align-items-center {*/
/*    display: flex;*/
/*    justify-content: space-between;*/
/*    align-items: center;*/
/*}*/

/* Style for the topic title */
.text-white {
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    margin: 0; /* Remove default margin */
}

/* Add space between listed topics */
ul.list-unstyled > li {
    margin-bottom: 0.5em; /* Adjust spacing between topics */
}

/* Style the links in the listed topics */
ul.list-unstyled > li a {
    color: #fff;
    font-size: 14px;
}

/* Hover effect for the links */
ul.list-unstyled > li a:hover {
    color: rgb(202, 202, 202)
}

.progress-bar {
    background-color: var(--blue);
}

.drag-only {
    cursor: move !important;
}

.btn-primary {
    background-color: var(--blue);
}
