@charset "utf-8";

:root {
    --primary-hex: #002f5d;
    --secondary-hex: #6c6c6c;
    --light-grey: #eee;
    --dark-grey: #222;
    --black: #000;
    --white: #fff;
    --green: #448600;
    --red: #e00;
    --gold: #AF9300;
    --s24green: #86bc24;
    --button-color: var(--primary-hex);
    --link-color: var(--primary-hex);
}

body {
    font-size: 1rem;
    font-family: sans-serif;
    color: var(--black);
}

main {
    padding-top: 83px; /*68px;*/
}

h1 {
    font-size: 2rem;
    font-weight: 600;
    margin: .75rem 0 .5rem 0;
    color: var(--primary-hex);
}

h2 {
    font-size: 1.5rem;
    /* margin-top: 3rem; */
    color: var(--primary-hex);
}

h3 {
    font-size: 1.33rem;
    font-weight: 600;
    margin-top: 2rem;
}

ul a {
    color: var(--link-color);
}

    ul a:hover {
        text-decoration: none;
    }

ul.no-list-icon,
li.no-list-icon {
    list-style-type: none;
}

.fl-left {
    float: left;
}

.fl-right {
    float: right;
}

main.col-lg-10,
footer.col-lg-10 {
    width: calc(100% - 17.5rem);
}

a {
    color: var(--primary-hex);
    text-decoration: underline;
}

    a:hover {
        color: var(--primary-hex);
        text-decoration: none;
    }

.nav-link.active {
    background-color: var(--light-grey);
}

/*
 * Header
 */
header.navbar {
    background-color: var(--white);
}

/*
 * Sidebar
 */

#sidebarMenu {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 100;
    padding: 83px 0 0; /* Height of navbar */
    box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
}

    #sidebarMenu .nav-link {
        font-weight: 500;
        color: var(--black);
        padding: .5rem;
    }

        #sidebarMenu .nav-link .feather {
            color: var(--secondary-hex);
            width: 22px;
            height: 18px;
        }

        #sidebarMenu .nav-link:hover,
        #sidebarMenu .nav-link.active {
            color: var(--link-color);
            font-weight: 700;
        }

            #sidebarMenu .nav-link:hover .feather,
            #sidebarMenu .nav-link.active .feather {
                color: inherit;
            }

.sidebar-heading {
    font-size: .75rem;
}

.sidebar-sticky {
    overflow-x: hidden;
    overflow-y: auto;
}

/*
 * Navbar
 */

.navbar-toggler {
    top: .85rem;
    right: 1rem;
    color: var(--link-color);
    font-size: 1.5rem;
}

    .navbar-toggler:focus {
        box-shadow: unset;
    }

.navbar-nav {
    flex-direction: row-reverse;
    margin-right: 24px;
}

    .navbar-nav .nav-item {
        margin-left: 1rem;
    }

.navbar-brand {
    padding-top: 1rem;
    padding-bottom: 1rem;
    background-color: inherit;
    box-shadow: unset;
}

.navbar-brand,
#sidebarMenu {
    width: 17.5rem;
}

.navbar .nav-link:focus,
.navbar .nav-link:hover {
    color: var(--link-color);
    text-decoration: underline;
}

.navbar a:not(.btn-primary) {
    color: var(--black);
}

/*
 * Footer
 */

footer {
    position: sticky;
    bottom: 0;
    z-index: 100;
    background-color: var(--dark-grey);
    color: var(--white);
    height: auto;
    display: block;
    box-shadow: 0 -.5rem 1rem rgba(var(--bs-body-color-rgb),.15);
    padding-right: 1rem !important;
    padding-left: 1rem !important;
}

    footer .container {
        max-width: 100%;
        padding: 0;
    }

    footer p {
        margin-bottom: 0;
    }

/*
 * Responsive behavior
 */

@media (max-width: 1199.98px) {
    main.col-lg-10,
    footer.col-lg-10 {
        width: calc(100% - 15rem);
    }

    .navbar-brand,
    #sidebarMenu {
        width: 15rem;
    }

    main {
        padding-top: 83px; /*62px;*/
    }

    #sidebarMenu {
        padding-top: 77px;
    }
}

@media (max-width: 767.98px) {
    #sidebarMenu,
    main.col-lg-10,
    footer.col-lg-10 {
        width: 100%;
    }

    main {
        padding-top: 150px;
    }

    #sidebarMenu {
        padding-top: 125px;
    }

    .navbar-nav {
        width: 100%;
        margin-bottom: 1rem;
    }

    .navbar-brand {
        padding-bottom: 1rem;
        width: 15rem;
    }

    footer {
        flex-shrink: 0 !;
        max-width: 100%;
    }

        footer .fl-right {
            clear: both;
            float: left;
        }
}

@media (max-width: 599.98px) {
    .fl-right {
        float: none;
        display: block;
    }
}

/* Ticket-Tabellen (greift in SingleTicket.razor.css nicht) */

.table-wrap {
    margin-bottom: 1rem;
}

.s24-ticket-content table {
    width: 100%;
}

.s24-ticket-content th,
.s24-ticket-content td,
.s24-version-info-item-section th,
.s24-version-info-item-section td {
    border: 1px solid var(--bs-gray-400) !important;
    padding: 0.5em;
    vertical-align: top;
}

.s24-ticket-content th,
.s24-version-info-item-section th {
    background-color: #fafafa !important;
}

.s24-ticket-content img {
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
}

/* Print-Button */
.s24-icon-only {
    background-color: transparent;
    border: 0;
    padding: 0;
    color: var(--primary-hex);
}

.s24-print-btn {
    float: right;
}

.s24-jira-link {
    margin-right: 1em;
}