#page-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: clip;
}

.page-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

#content-wrap {
    flex: 1;
}

body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: var(--md-sys-color-background);
    color: var(--md-sys-color-on-background);
    line-height: 1.6;
}

#footer {
    bottom: 0;
    width: 100%;
}

.navbar {
    height: auto;
    white-space: nowrap;
    width: 100vw;
}

.container-fluid {
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (min-width: 576px) {
    .container-fluid {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 768px) {
    .container-fluid {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

/* TODO enable later
.navbar .container {


    max-width: 100%;  //Allows the container to expand up to full width
    margin-left: auto;
    margin-right: auto;
}*/

html[dir="ltr"] * {
    direction: ltr;
}

html[dir="rtl"] * {
    direction: rtl;
    text-align: right;
}

.ignore-rtl {
    direction: ltr !important;
    text-align: left !important;
}

.align-top {
    position: absolute;
    top: 0;
}

.align-center-right {
    position: absolute;
    right: 0;
    top: 50%;
}

.align-center-left {
    position: absolute;
    left: 0;
    top: 50%;
}

.align-bottom {
    position: absolute;
    bottom: 0;
}

.btn-group>label:first-of-type {
    border-top-left-radius: 0.25rem !important;
    border-bottom-left-radius: 0.25rem !important;
}

html[dir="rtl"] input.form-check-input {
    position: relative;
    margin-left: 0px;
}

html[dir="rtl"] label.form-check-label {
    display: inline;
}

.margin-auto-parent {
    width: 100%;
    display: flex;
}

.margin-center {
    margin: 0 auto;
}

#pdf-canvas {
    box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.384);
    width: 100%;
}

.fixed-shadow-canvas {
    box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.384);
    width: 100%;
}

.shadow-canvas {
    box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.384);
}

.hidden {
    display: none;
}

input:-webkit-autofill,
input:-webkit-autofill:focus {
    transition: background-color 600000s 0s, color 600000s 0s;
}

input[data-autocompleted] {
    background-color: transparent !important;
}

.btn-tooltip {
    position: absolute !important;
    display: none;
    padding: 7px;
    background-color: rgba(0, 29, 41, 0.9);
    border-radius: 3px;
    font-size: 12px;
    color: whitesmoke;
    animation: fadeup 0.15s linear;
    z-index: 10000;
}

@keyframes fadeup {
    0% {
        transform: translateY(10px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}