body {
    font-family: arial;
    font-size: 15px;
    margin: 10px;
}
[x-cloak] {
    display: none;
}
nav {
    display: flex;
    column-gap: 2px;
    border-bottom: 1px solid;
}
nav a {
    display: block;
    padding: 7px 30px;
    background-color: #ca862f;
    border-radius: 7px 7px 0px 0px;
    text-decoration: none;
    color: #fff;
    font-size: 17px;
}
nav a.active {
    background-color: brown;
}
#logincontainer {
    background-color: #d47741;
    border-radius: 10px;
    width: 400px;
    height: 300px;
    margin: 10px auto;
    padding: 20px;
}
#logincontainer label, .settings-container label {
    display: block;
    margin: 20px 0px;
    width: max-content;
}
#logincontainer label span {
    display: inline-block;
    width: 130px;
}
.settings-container label span {
    display: inline-block;
    width: 180px;
}
#logo, .textcenter {
    text-align: center;
}

.dogtable {
    border-top: 1px solid #333;
    margin-top: 10px;
    min-width: 500px;
}
.dogtable th.sortcol {
    background-color: #919fe3;
    color: #fff;
}
.dogtable tr:nth-child(even) {
    background-color: #fff;
}
.dogtable tr:nth-child(odd) {
    background-color: #E2E4FF;
}
.dogtable tr:hover {
    background-color: #eee;
}
.dogtable td, .dogtable th {
    padding: 6px;
}
.dog-cell.center {
    text-align: center;
}
button {
    padding: 5px 20px;
}
.dog-cell button {
    padding: 0px 5px;
}
button.active {
    color: red;
}

#tabs {
    margin-top: 10px;
}
#tabs > div {
    display: inline;
}
#form-container {
    display: grid;
    grid-template-columns: 55% auto;
    column-gap: 10px;
}
#form-right h3 {
    font-weight: normal;
    font-size: 17px;
    padding-left: 2px;
}
span.image-name {
    display: inline-block;
    margin: 10px 10px 10px 0px;
}
.photoname {
    width: 150px;
}
header h2, .field-container {
    font-size: 17px;
    margin: 10px 0px;
    padding: 15px 20px;
    border-radius: 10px;
}
.field-container.vert {
    display: grid;
    row-gap: 10px;
}
.field-container.flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
textarea {
    width: 95%;
    height: 180px;
    font-size: 15px;
    resize: vertical;
}
select {
    font-size: 15px;
    padding: 3px;
}
#preview .dogcontainer {
    width: 800px;
    display: grid;
    grid-template-columns: auto auto;
    border-top: 1px solid #9E2E2E;
    border-bottom: 1px solid #9E2E2E;
    margin: 10px 0px 20px 0px;
    padding: 15px 0px;
    font-family: "Source Sans Pro", sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.625;
}
#preview .dogimage {
    vertical-align: top;
    max-width: 400px;
    margin-right: 15px;
}
#preview h5 {
    margin: 0px;
}
#preview .dogtext {
    font-size: 15px;
    vertical-align: top;
    padding: 0px 5px;
    text-align: left;
}

#settings h2 {
    padding: 15px;
}
.settings-container {
    padding: 0px 20px;
}
#rescueform textarea {
    display: block;
    margin: 10px 0px;
    width: 50%;
}

#galleryFilter input {
    width: 65px;
}

.cursor {
    cursor: pointer;
}
.flex {
    display: flex;
}
.flex.spread  {
    align-items: center;
    justify-content: space-between;
}
.flex.colgap20 {
    column-gap: 20px;
}
.relative {
    position: relative;
}
.fixed {
    position: fixed;
}
.ulink {
    cursor: pointer;
}
.ulink:hover {
    text-decoration: underline;
}
:required:invalid {
    background-color: #fff4ce;
}