body {
    background-color: white;
}
h1 {
    color: #00CED1;
    margin-left: 20px;
}
h2 {
    color: #00CED1;
    margin-left: 5vw;
}
label {
    font-size: 0.8em;
    width: 100%;
    margin-right: 10px;
}
input, textarea {
    width: 100%;
    margin-right: 10px;
}
select, option {
    width: 100%;
}
.divRow {
    display: flex;
    flex-direction: row;
    width: 100%;
    max-width: 100%;
    margin-right: 10px;
}
fieldset {
    margin-bottom: 5px;
    width: 90%;
}
.form-container {
    justify-content: space-between;
}
.form-cell {
    min-width: 6em;
    max-width: 100%;
    margin-right: 5px;
    margin-left: 5px;
    margin-top: 5px;
    margin-bottom: 5px;
}
.last-cell {
    margin-right: 2%;
}

.input_with_appended_unit input {
    width: 60%;
    padding-right: 40%;
    text-align: right;
}
.input_with_appended_unit span {
    margin-left: 70%;
    position: relative;
    top: -1.7em;
    font-size: 0.8em;
}

.visit-number {
    margin-bottom: 5px;
    margin-right: 10px;
    margin-left: 10%;
    width: 30%;
}
ul.nav_bar {
    list-style-type: none;
    margin: 0;
    padding-left: 5%;
    padding: 14px 16px;
    background-color: #00CED1;
}
li {
    display: inline;
    padding: 14px 16px;
    text-align: center;
}
li a:active{
    color: #00CED1;
}
li.nav_bar a {
    display: inline;
    color: white;
    text-align: center;
    text-decoration: none;
}
li.active_nav {
    background-color: white;
    color: #00CED1;
    padding: 16px 16px;
}
li.active_nav a:visited {
    color: #00CED1;
}

.copyright {
    text-align: right;
    width: 100%;
    right: 0;
    position: fixed;
    bottom: 0;
}

.history {
    height: 8em;
    min-height: 8em;
    overflow-y: scroll;
    border: 1px solid black;
    margin-bottom: 5px;
    background-color: #00CED150;
    border: 1px solid #00CED150;
}

.data-table {
    width: 90%;
    height: 2vh;
    min-height: 7em;
    overflow-y: scroll;
    margin-left: 5px;
}

table {
    font-family: arial, sans-serif;
    border-collapse: collapse;
    width: 100%;
}

td, th {
    text-align: left;
    padding: 8px;
}

tr:nth-child(even) {
    background-color: #00CED150;
}

.scrollable {
    height: 300px;
    overflow-y: scroll;
    border-bottom: 1px solid #ddd;
}

th {
    position: sticky;
    background-color: white;
    z-index: 2;
    top: 0;
}

.flash {
    color: red;
    text-align: center;
}

select {
    background-color: #00CED150;
    border: 1px solid #00CED150;
}
select option:checked {
    background: #00CED150;
}

button {
    background-color: #00CED150;
    border: 1px solid #00CED150;
}

input, textarea {
    background-color: #00CED150;
    border: 1px solid #00CED150;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
input[type=number] {
  -moz-appearance: textfield;
}
input[type="file"]::file-selector-button {
    background-color: #00CED130;
    border: 1px solid #00CED130;
}
