.error {
    width: 100%;
    background-color: lightcoral;
    text-align: center;
    font-size: large;
    color: black;
}

.message {
    width: 100%;
    background-color: lightgreen;
    text-align: center;
    font-size: large;
    color: black;
    position: relative;
    z-index: -1;
}

header,
.bgHeader,
footer {
    background-color: #005EB8;
    color: #FFF;
}

.dark-button {
    text-decoration: none;
    background-color: black;
    color: white;
    padding: 10px;
    border: 1px solid gray;
    margin-right: 10px;
}

div>a.light-button {
    text-decoration: none;
    background-color: white;
    color: black;
    padding: 10px;
    border: 1px solid gray;
    margin-right: 10px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    text-align: left;
    margin: 0px;
}

.row {
    display: flex;
    flex-direction: row;
}

.align-items-center {
    align-items: center;
}

.justify-content-between {
    justify-content: space-between;
}

.pad {
    padding-left: 2%;
    padding-right: 2%;
    margin: 0px;
}


.row {
    display: flex;
    flex-direction: row;
}

a {
    color: white;
}

a:visited {
    color: white
}

/* mouse over link */
/* a:hover {
    color: hotpink;
} */

/* selected link */
a:active {
    color: blue;
}

.nav-item {
    display: flex;
    margin: 2%;
    min-width: 100px;
}

.link-group {
    display: flex;
    flex-direction: row;
    justify-content: left;
    width: 60%;
}

.summary-button {
    min-width: 256px;
}

@keyframes fade {
    0% {
        opacity: 1
    }

    100% {
        opacity: 0;
    }
}

.fading {
    animation-name: fade;
    animation-direction: foreward;
    animation-duration: 2s;
    animation-delay: 5s;
    animation-fill-mode: both;
}

.active {
    /* background-color: lightgray;
    color: black; */
    font-weight: bold;
}

button.active {
    /* background-color: white;
    color: black; */
    font-weight: bold;
}

.active a:link {
    /* background-color: white;
    color: black; */
    font-weight: bold;
}

.active a .dropbtn {
    /* color:black */
    font-weight: bold;
}

.body-link {
    color: blue
}

.body-link:visited {
    color: blue
}

/* Navbar container */
.navbar {
    overflow: hidden;
    background-color: #333;
    font-family: Arial;
}

/* Links inside the navbar */
.navbar a {
    float: left;
    font-size: 16px;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}

/* The dropdown container */
.dropdown {
    float: left;
    overflow: hidden;
    list-style: none;
    align-content: center;
}

/* Dropdown button */
.dropdown .dropbtn {
    font-size: 16px;
    border: none;
    outline: none;
    color: white;
    padding: 14px 16px;
    background-color: inherit;
    font-family: inherit;
    /* Important for vertical align on mobile phones */
    margin: 0;
    /* Important for vertical align on mobile phones */
}

/* Add a red background color to navbar links on hover */
.navbar a:hover,
.dropdown:hover .dropbtn {
    background-color: #f9f9f9;
    color: black;
}

/* Dropdown content (hidden by default) */
.dropdown-content {
    display: none;
    position: absolute;
    /* top: 13vh; */
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 999;
}

/* Links inside the dropdown */
.dropdown-content a {
    float: none;
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}

/* Add a grey background color to dropdown links on hover */
.dropdown-content a:hover {
    background-color: #ddd;
}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
    display: block;
}

.central-modal {
    display: none;
    position: fixed;
    min-height: 30vh;
    max-height: 90vh;
    min-width: 30vw;
    left: 50%;
    top: 50%;
    padding-bottom: 32px;
    transform: translate(-50%, -50%);
    background-color: inherit;
    border: 2px solid grey;
    z-index: 9;
}

.add-button {
    position: fixed;
    top: 128px;
    right: 32px;
    padding: 10px;
    background-color: #005EB8;
    color: white;
    border-radius: 5vw;
    font-size: large;
}

body {
    background-color: white;
}

.modal-header {
    background-color: #005EB8;
    padding: 2%;
    color: white;
}

.modal-button {
    width: 128px;
    height: 32px;
    position: absolute;
    left: 10px;
    border-radius: 5vw;
    bottom: 10px;
}

.wide-form {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 575px;
    justify-content: left;
}

.form-item {
    display: flex;
    flex-direction: column;
    margin-right: 20px;
}

.modal-action {
    width: 128px;
    height: 32px;
    position: absolute;
    right: 10px;
    bottom: 10px;
    border-radius: 5vw;
    background-color: #005EB8;
    color: white;
}

.another {
    position: absolute;
    right: 150px;
    bottom: 10px;
}

.modal-body {
    padding: 2%;
}

.footer-row {
    background-color: #005EB8;
    color: #FFF;
    text-align: center;
    height: 30px;
    line-height: 30px;
    bottom: 0;
    position: fixed;
    width: 100%;
}

.header-row {
    top: 0;
    height: 96px;
    position: sticky;
}

.footer-padding {
    height: 35px;
}

* {
    scroll-margin-top: 100px;
}

.filter-button {
    font-size: 16px;
    border: none;
    outline: none;
    color: white;
    padding: 4px 6px;
    background-color:  #005EB8;
    font-family: inherit;
    margin: 1px;
}