﻿html[data-bs-layout="expanded"] * .layout-container {
    min-width: 100%;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding-top: 70px;
    padding-bottom: 20px;
}

div.container-fluid div.alert {
    margin-bottom: 5px;
}

[data-bs-theme="dark"] > body {
    background-color: #1E1E1E;
}

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

    a.navbar-brand img {
        width: 32px;
    }

.account-balance {
    font-family: Arial;
    border: 4px solid #3070AA;
    font-weight: bold;
    border-radius: 4px;
    padding: 5px 15px 5px 15px;
    white-space: nowrap;
}

.dropdown-item i {
    margin-right: 10px;
}

.text-right {
    text-align: right;
}

table thead tr th:first-child:has(i), table tbody tr td:first-child:has(i) {
    width: 36px;
    max-width: 36px;
    text-align: center
}

@media print {
    .no-print, .no-print * {
        display: none !important;
    }

    .page-break {
        page-break-after: always;
    }

    footer {
        page-break-after: always;
    }
}

main h2 {
    margin-bottom: 15px;
    margin-top: 15px;
}

    main h2 i {
        margin-right: 10px;
    }

    main h2 span i {
        margin-right: 0px;
    }

h2 a {
    text-decoration: none;
}

h3 i {
    margin-right: 10px;
}

.grid-toolbar {
    padding: 13px 0px 10px 0px;
    border-bottom: 1px solid #F7F7F7;
    margin-bottom: 10px;
}

.toolbar {
    padding: 13px 0px 10px 0px;
    border-bottom: 1px solid #F7F7F7;
    border-top: 1px solid #F7F7F7;
    margin-bottom: 10px;
}

[data-bs-theme="dark"] * .toolbar {
    border-bottom: 1px solid #535353;
    border-top: 1px solid #535353;
}
/*
input[readonly] {
    background-color: #f2f2f2;
}

select[readonly] {
    background-color: #f2f2f2;
}
*/

[data-bs-theme="dark"] * input[readonly] {
    background-color: #f2f2f2;
}

[data-bs-theme="dark"] * select[readonly] {
    background-color: #f2f2f2;
}

input[type=date].form-control {
    flex-grow: 0;
    flex-basis: 100px;
    max-width: 150px;
}

label input[type=checkbox] {
    margin-right: 5px;
    line-height: 22px;
}

.form-group.row {
    padding: 0px 0px 10px 0px;
}

.col-form-label {
    text-align: right;
    font-weight: bolder;
}

@media screen and (max-width: 640px) {
    .col-form-label {
        text-align: left;
        font-weight: normal;
    }
}

.form-control-plaintext {
    border: 1px solid #F7F7F7;
    padding: 8px;
    border-radius: 4px;
    min-height: 42px;
}

[data-bs-theme="dark"] * .form-control-plaintext {
    border: 1px solid #525252;
}

input[readonly].form-control {
    background-color: #212529
}

select[readonly].form-select {
    background-color: #212529
}

hr {
    border-top: 1px solid #F7F7F7;
    margin-bottom: 10px;
}

footer {
}

    footer ul {
        list-style: none;
        float: right;
        text-align: right;
    }

img.powered-by {
    max-height: 48px;
}

html[data-bs-theme="dark"] * img.powered-by {
    content: url("/Images/powered-by-dark.png");
}

.accordion {
    margin-bottom: 20px;
}

fieldset {
    margin-bottom: 20px;
}

    fieldset legend {
        margin-bottom: 10px;
        border-bottom: 1px solid #F7F7F7;
    }

html[data-bs-theme="dark"] * fieldset legend {
    margin-bottom: 10px;
    border-bottom: 1px solid #535353;
}

.fieldset-toolbar {
    float: right;
    margin-top: -55px;
}

div.alert i {
    margin-right: 10px;
}

.alert-close {
    float: right;
    display: inline-block;
    margin-left: 20px;
    z-index: 2001;
}

.dropdown-item {
    cursor: pointer;
}

.dragged {
    position: absolute;
    opacity: 0.5;
    z-index: 2000;
}

.logo {
    height: 60px;
    margin: 0px;
    padding: 0px;
    margin: 10px;
}

.app-logo {
    margin: 0px 0px 0px 0px;
    padding: 0px 0px 0px 0px;
}

    .app-logo img {
        margin-top: -10px;
    }

.icon {
    height: 24px;
}

footer {
}

    footer div.footer {
    }

    footer ul {
        list-style: none;
        float: right;
        text-align: right;
    }

.form-group ul li {
    list-style: none;
    padding-bottom: 5px;
    margin-left: -30px;
}

span.sort-element {
    cursor: pointer;
}

span.sort-icon {
    cursor: pointer;
    margin-left: 10px;
    font-weight: bolder;
}

.processing_icon {
    font-size: 16px;
}

.overlay {
    background: #000;
    display: none;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    opacity: 0.5;
    z-index: 90000
}

.hidden {
    display: none;
    visibility: hidden
}

#ipaddress_button {
    margin-left: 10px;
}

div[data-ajax] {
    max-height: 404px;
    overflow-x: hidden;
    overflow-y: auto;
    white-space: nowrap;
    position: relative;
}

    div[data-ajax] > table {
        max-height: 380px;
    }

.filter-form {
    float: left;
    background-color: rgb(248, 249, 250);
    border: 1px solid #ddd;
    margin-bottom: 10px;
    height: 42px;
    min-width: 100%;
}

.table-filter-label {
    display: inline-block;
    vertical-align: middle;
    padding: 0px 10px 0px 10px;
    margin-right: -5px;
}

.table-filter-control {
    margin-left: 0px;
    display: inline-block;
    clear: both;
}

    .table-filter-control .caption {
        display: inline-block;
        vertical-align: middle;
        padding: 0px 10px 0px 10px;
        margin-right: -5px;
    }


.filter-form .selectpicker {
    margin-left: 0px;
    border-radius: 0px;
}

.recent {
}

.recent-icon {
}

.recent-caption {
}

.recent-favorite {
}


.layout-icon, .layout-icon-active {
    max-height: 16px;
    max-width: 16px;
    margin-right: 10px;
}

.layout-icon-active {
}

.theme-icon, .theme-icon-active {
    max-height: 16px;
    max-width: 16px;
    margin-right: 10px;
}

[data-bs-theme="dark"] .theme-icon {
    color: white;
    fill: white;
}

[data-bs-theme="dark"] .layout-icon {
    color: white;
    fill: white;
}

.gold {
    color: gold;
}

.input-help {
    position: relative;
    right: 10px;
    top: -31px;
    float: right;
    margin-bottom: -24px;
}

.dropdown-menu-nobo {
    padding: 0px 0px 0px 0px;
    min-width: 200px;
}
