body {
    margin: 0;
    line-height: 1.5;
    color: #212529;
    background-color: #fff;
}

/*********** MAIN *************/
/* The containing div for the main nav element. */
/* Defined separately to have the browser do the heavy lifting of calculating flexbox sizes + positions. */
.main-nav-container {
    background: #00509b;
    color: #fff;
    flex-basis: 190px;
    /* Width of the grey bar. MUST be set here,
                            because the aside used for the actual nav is on another stacking z level/context */
    flex-shrink: 0;
}

/* The actual class for the nav bar element. */
/* Makes it actually stick to the side. */
.main-nav {
    position: fixed;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 20px 10px 10px;
}

.main-nav-padding {
    flex-grow: 1;
}

.main-wrapper {
    background: #f8f9fa;
    display: flex;
    height: 100%;
    min-height: 100vh;
}

.menu-list a {
    font-family: sans-serif;
    font-size: 1rem;
    font-weight: 400;

    border: 1px solid transparent;
    border-radius: .25rem;
    cursor: pointer;

    -webkit-transition: color .2s ease-in-out, background-color .2s ease-in-out;
    transition: color .2s ease-in-out, background-color .2s ease-in-out;
}

.is-dark a {
    color: #f8f9fa;
}

.is-dark .menu-list a:hover {
    color: #f8f9fa;
    font-family: sans-serif;
    font-size: 1rem;
    font-weight: 400;
    background-color: rgba(0, 0, 0, .15);
}

.is-dark .menu-list .is-active {
    color: #f8f9fa;
    font-family: sans-serif;
    font-size: 1rem;
    font-weight: 400;
    background-color: rgba(0, 0, 0, .15);
}

a .is-symbol {
    margin-right: 10px;
    font-size: 1.3rem;
}

/***** content wrapper ******/
.main-content-wrapper {
    flex-grow: 1;
    display: flex;
}

/***** subnav ******/
.subnav-container {
    padding: 30px 20px;
    flex-basis: 200px; /* again, explicit width to have the browser do all the heavy lifting */
    flex-shrink: 0;
}

.subnav {
    position: fixed;
}

.subnav a {
    font-size: 0.95rem;
}

.subnav a .is-symbol {
    margin-right: 7px;
    font-size: 1.1rem;
}

.menu-list a:hover {
    background: transparent;
    border-color: rgba(0, 0, 0, .125);
    text-decoration: none;
}

.menu-list a.is-active {
    color: #4a4a4a;
    background: transparent;
    border-color: rgba(0, 0, 0, .125);
    text-decoration: none;
}

.menu-list a.is-active .fa-solid {
    color: #ff8f29;
}
.menu-list a.is-active .fas { /*TODO: remove old font-awesome fas */
    color: #ff8f29;
}

.main-content.has-subnav {
    width: calc(100% - 450px);
    margin-left: 450px;
}

/***** content *******/
.main-content {
    padding: 30px 60px 20px 20px;
}

.content-column {
    padding: 10px 30px;
}

.content-title {
    font-size: 1.5rem;
}

.content-card {
    background: #fff;
    background-clip: border-box;
    border: 1px solid rgba(0, 0, 0, .125);
    border-radius: .25rem;
    padding: 20px;
    margin-bottom: 20px;
}


.columns.in-form {
    margin-bottom: 0;
}

.switch-table {
    margin-top: 20px;
}

.switch-table tr {
    padding-bottom: 20px;
}

.switch-table td {
    padding: 10px 20px;
    font-size: 1.1rem;
}

/* Fixing Datatables */

.dataTables_wrapper {
    clear: none;
}

.dataTables_wrapper .dataTables_info {
    clear: none;
}

table.dataTable {
    clear: none;
}

/* Dialog */
.red-submit {
    background: #f14668 !important;
}

.small-chart {
    height: 60px;
    margin-bottom: 10px;
}

.nyi a {
    color: rgba(0, 0, 0, 0.5) !important;
    pointer-events: none;
}

.nyi a:after {
    content: "NYI";
    font-size: 50%;
    color: rgba(255, 100, 100, 0.5);
    position: absolute;
}

.nyi a:hover {
    cursor: no-drop;
}

.nyi ul {
    border-left: 1px solid rgba(0, 0, 0, 0.5) !important;
}

/* Datatable */
table.dataTable thead .sorting, table.dataTable thead .sorting_desc, table.dataTable thead .sorting_asc {
    background-image: none !important;
}

.disable_link {
    color: rgba(0, 0, 0, 0.5) !important;
    pointer-events: none;
    cursor: no-drop;
}

.menu-label {
    color: inherit;
}

.table tr.selected {
    background-color: #ff8f29 !important;
    color: #fff;
}

.table tr.selected td {
    background-color: #ff8f29 !important;
    color: #fff;
}

.table tr.is-disabled {
    background: repeating-linear-gradient(
            -45deg,
            #fff,
            #fff 10px,
            rgba(255, 143, 41, 0.3) 10px,
            rgba(255, 143, 41, 0.3) 20px
    );
    color: #555555;
}

.table tr.is-disabled.is-selected {
    background: repeating-linear-gradient(
            -45deg,
            rgba(255, 143, 41, 0.8),
            rgba(255, 143, 41, 0.8) 10px,
            rgba(255, 143, 41, 1) 10px,
            rgba(255, 143, 41, 1) 20px
    );
    color: #fff;
}

th {
    padding-left: 10px !important;
}

.jBox-Confirm-button-submit {
    border-bottom-right-radius: 4px;
    background: #ff8f29 !important;
    color: #fff;
}

/* button styling */
.new_button:hover {
    background: rgba(100, 255, 100, 0.2) !important;
}

.edit_button:hover {
    background: rgba(255, 255, 0, 0.2) !important;
}

.disable_button:hover {
    background: rgba(255, 0, 0, 0.2) !important;
}

.enable_button:hover {
    background: rgba(100, 255, 100, 0.2) !important;
}

.delete_button:hover {
    background: rgb(255, 0, 0) !important;
    color: #fff !important;
}

.show_changelog:before {
    content: "" !important; /* workaround for icon bug */
}
.bg-img {
    background-image: url("https://senpart.de/assets/img/hausamsee/IMG_1364.webp");
}
.login-logo {
    width: 20em;
    margin-bottom: 3em;
}