:root {
    --bs-body-bg-image: url("images/eye.png");
    --bs-body-bg-image-dark: url("images/eye.png");
    --bs-body-bg-cover: url("images/cover-1.jpg");
    --bs-body-bg-cover-dark: url("images/cover-1.jpg");
    --bs-body-bg-image-size: cover;
    --bs-body-bg-image-size-dark: cover;
    --bs-app-header-bg: rgba(29, 40, 53, .95);
    --bs-app-header-border-color: var(--bs-theme);
    --bs-app-sidebar-mobile-bg: rgba(38, 51, 66, .95);
    --bs-body-font-size: 1rem;
}

html:after {
    background-image: none;
}

body:before {
    background-position: center;
    background-repeat: no-repeat;
}

body:not(.app-init) .spinner-border {
    animation: spinner-border .75s linear infinite !important;
}

a {
    color: rgba(var(--bs-table-color), var(--bs-link-opacity, 1));
    text-decoration: none;
}

h1 {
    outline: 0;
}

fieldset {
    display: contents;
}

.app-content {
    flex: 1;
    height: 100%;
    margin-left: 11.25rem;
    padding: 3rem 5rem 5rem;
}

.app-header {
    border-bottom: 1px solid rgba(0, 63, 92, 1);
    border-top: 1px solid rgba(0, 63, 92, 1);
}

.app-footer {
    border-top: 1px solid rgba(0, 63, 92, 1);
}

.btn-disabled:active {
    pointer-events: none;
}

.btn-disabled:hover {
    color: unset;
    border-color: unset;
    background-color: unset;
}

.form {
    margin: auto;
    max-width: 22.5rem;
    margin-bottom:1.5rem;
}

.form-header {
    font-size: 1.25rem;
    font-weight: 300;
    margin-bottom: 1rem;
    text-align: center;
}

span.highlight {
    color: #3cd2a5;
}

/* hide the spinner by default */
button .spinner {
    display: none;
}

button .spinner-border {
    display: none;
}

button.htmx-request .spinner-border {
    display: block;
}

button.htmx-request .submit-text {
    display: none;
}

.validation-message {
    padding-top: 0.25rem !important;
    padding-left: 0.5rem !important;
    color: var(--bs-danger);
}

button[type="submit"] {
    height: 42px;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}


.notification-error {
    color: #e00000;
    list-style-type: none;
    padding-left: 0px;
}

.notification-info {
    list-style-type: none;
    padding-left: 0px;
}

.app-header {
    height: 3.5rem;
}

.app-header .brand {
    padding: 1.5rem;
}

.app-header .brand .brand-logo .brand-img {
    margin-right: .5rem;
}

.app-header .brand .brand-logo {
    font-size: 1rem;
}

.app-header .app-top-nav .menu {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    padding-top: .5rem;
}

.app-top-nav .menu .menu-item .menu-link .menu-icon {
    margin-right: .25rem;
}

.app-sidebar {
    width: 11rem;
    /*border-right: 1px solid rgba(0, 63, 92, 1);*/
}

@media (min-width: 768px) {
    .app-top-nav {
        all: unset;
        height: 2.875rem;
        display: flex;
        flex: 5;
        align-items: center;
    }
}

.brand-img-text {
    font-size: 1.25rem;
}

.login {
    min-height: 100vh;
    padding: 10rem 1rem;
    display: flex;
    align-items: start;
}

.content-shift-left {
    transform: translateX(-5rem);
}

.app-without-header {
    padding-top: 7.125rem;
}

.pace {
    display: none;
}

.error-page {
    min-height: unset;
    padding: 4rem 0;
    display: flex;
    align-items: center
}

.error-page .error-page-content {
    margin: 0 auto;
    position: relative;
    padding: 0 1rem;
    text-align: center
}

.inventory-text {
    font-family: Consolas, serif;
}

.table>:not(caption)>*>* {
    padding: .5rem 0 .5rem 1rem;
}

.table-container {
    max-height: 70vh;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.table-container::-webkit-scrollbar {
    display: none;
}

/*.table thead th {*/
/*    position: sticky;*/
/*    top: 0;*/
/*    z-index: 1;*/
/*}*/

.th-left {
    border-top: 0;
    padding: .5rem;
}

.th-center {
    border-top: 0;
    padding: .5rem;
    vertical-align: middle;
    text-align: center;
}

.td-center {
    vertical-align: middle;
    text-align: center;
}

.systems-table th, .systems-table td {
    width: 11%;
}

.distributors-table th, .distributors-table td {
    width: 25%;
}

.inventory-table th, .inventory-table td {
    width: 14%;
}

.users-table th, .users-table td {
    width: 8.3%;
}

form .fa-copy:hover {
    opacity: 1;
    color: #3cd2a5;
    cursor: pointer;
}

.form-select:not([multiple]) option {
    color: var(--bs-body-color) !important;
    background-color: #0d2733;
}

.modal {
    --bs-modal-width: 600px;
}

.modal-title {
    padding-bottom: unset;
    font-size: 1.25rem;
}

/* shift centered modal up */
.modal-dialog-centered {
    margin-top: -20rem;
}

.form-shift-right {
    transform: translateX(-9rem);
}
