.flex-h {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    column-gap: 1rem;
}

.flex-h.start {
    justify-content: flex-start;
}

.flex-v {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    row-gap: 1rem;
}

.flex-v.sbetween,
.flex-h.sbetween {
    justify-content: space-between;
}

.flex-v.nowrap,
.flex-h.nowrap {
    flex-wrap: nowrap;
}

.flex-v.left {
    align-items: flex-start;
}

.flex-h.left {
    justify-content: flex-start;
}

.flex-h.right {
    justify-content: flex-end;
}

.flex-h.top {
    align-items: flex-start;
}

.flex-v.top {
    justify-content: flex-start;
}

.flex-v.reverse {
    flex-direction: column-reverse;
}

.flex-h.reverse {
    flex-direction: row-reverse;
}

.flex-v.nogrow > *,
.flex-h.nogrow > * {
    flex-grow: 0;
    width: max-content;
}

.flex-v.stretch > *,
.flex-h.stretch > * {
    align-self: stretch;
}

.selfcenter {
    align-self: center;
}

.scroll {
    max-height: 40rem;
    overflow-y: auto;
}

.fullwidth {
    width: 100%;
}
.nogap {
    gap: 0;
}

.card {
    border-radius: 0.5rem;
    box-shadow: 0.1rem 0.2rem 0.4rem 0 grey;
    padding: 0.5rem 1rem;
}

.background {
    background-color: #cccccc;
    padding: 0.5rem;
}

.rounded {
    border-radius: 5px;
}

.bottom-sticky {
    position: sticky;
    bottom: 0;
    background: #eee;
    padding: 1rem !important;
    align-self: flex-end;
}

.justify-bottom {
    flex-grow: 1;
    flex-basis: 0px;
}

.save,
a.save.button {
    color: #fff;
    background-color: green;
    border-color: green;
}

.cancel {
    color: #fff;
    background-color: #cc2244;
    border-color: #cc2244;
}

.message {
    font-size: 1.4rem;
}

.loader {
    border-radius: 50%;
    border-width: 0.5rem;
    border-style: solid;
    border-color: #eee;
    border-top-color: #3498db;
    width: 2rem;
    height: 2rem;

    -webkit-animation: spin 2s linear infinite; /* Safari */
    animation: spin 2s linear infinite;
}

/* Safari */
@-webkit-keyframes spin {
    0% {
        -webkit-transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.incidentid {
    overflow-x: hidden;
}

textarea,
button,
select,
input,
a.button {
    padding: 0.25rem 0.5rem;
    border: 0.0625rem black solid;
    border-radius: 5px;
}

#body,
#app {
    width: 100%;
}
html,
#body,
#app {
    height: max-content;
    min-height: 100vh;
    justify-content: flex-start;
}

#body.flex-v > :first-child,
#app.flex-v > :first-child {
    padding-top: 1rem;
}

#body.flex-v > :last-child,
#app.flex-v > :last-child {
    padding-bottom: 1rem;
}

#body.flex-v > *,
#app.flex-v > * {
    padding: 0 1rem;
}

h1 {
    font-size: 2rem;
}
h2 {
    font-size: 1.5rem;
}
h3 {
    font-size: 1.25rem;
}

nav {
    background-color: #821518;
    color: white;
}

#app.flex-v > nav {
    padding: 1rem;
}

nav img {
    max-height: 4.5rem;
    object-fit: scale-down;
}

nav a {
    color: white;
    text-decoration: none;
}

a {
    color: #44f;
    text-decoration: underline;
}

a.button {
    text-decoration: none;
}

/* 
.row {
    display: flex;
}

.row > .col, .row.c2 > .col {
    flex: 1 1 50%;
}

.col {
    flex: 1 1 50%;
    display: flex;
    flex-direction: column;
} */
