html,
body {
    font-family: sans-serif;
    background-color: #323232;
    color: #eee;
}

/** layout */
body > .wrapper {
    max-width: 1024px;
    width: auto;
    margin-left: auto;
    margin-right: auto;
    background:#404040;
    padding: 1em;
    border-radius: 10px;
}

body.login, 
body.home {
    margin: 0px;
    padding: 0px;
    background-image: url('/static/images/hero.jpg');
    background-size: cover;
    color: #333;
    height: 100%;
}

body.photo section.controls {
    text-align: center;
    margin-bottom: 1em;
}

a {
    color: #eee;
}
a:visited {
    color: #888;
}

/** Photo Thumb */
.photo-thumb-wrapper {
    position: relative;
    overflow: hidden;
    max-width: 100px;
    text-wrap: nowrap;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.photo-thumb {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 12px;
}
.photo-thumb-label {
    padding: 5px;
    padding-left: 6px;
    font-size: 0.8em;
    color: #ccc;
    border-radius: 4px;
    line-height: 1em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;   /* Display an ellipsis (...) for overflowing text */
}

.photo {
}
.photo-medium {
    width: 600px;
    max-width: 75%;
}
.photo-large {
    width: 100%;
    height: 100%;
    object-fit: cover;

    /* width: 100vw; */
    /* height: 100vh; */
    /* object-fit: contain; */
}

body.photo input {
    background: #202020;
    color: #fff;
}

datalist {
    outline: 2px dotted red;
}

.photo-medium,
.photo-thumb {
    /* margin: 10px; */
    /* border: 1px solid #ccc; */
    /* border-radius: 5px; */
}

ul,
li {
    list-style: none;
    padding-left: 0px;
    margin-left: 0px;
}

h2 {
    line-height: 0.8em;
}

.disabled {
    color: gray;
}

td {
    vertical-align: top;
}

input {
    border: 0px;
}

input:focus {
    outline: 1px solid navy;
}

.flash {
    background-color: #eee;
    padding: 1em;
}
.success {
    color: green;
}
.error {
    color: red;
}

.login input {
    outline: default;
}

.comment-edit {
    display: flex;
    flex: 1;
}

.comment-edit textarea {
    border-radius: 5px;
    line-height: 1.2em;
    min-height: 5em;
    min-width: 540px;
}

.comment-edit button {
    margin-top: 1em;
    padding: 0.5em;
    border-radius: 5px;
    background: #202020;
    color: #fff;
    border: 1px solid #ccc;
}

.comment {
    border-radius: 5px;
    padding: 2px;
    width: calc(100% - 10px);
    margin: 10px;
}
.comment p {
    line-height: 1em;
    margin: 0;
    font-size: .8125rem
}
.comment-author {
    font-weight: bold;
    padding-right: 10px;
    padding-top:2px;
}

.comment-body {
    color: white;
    font-size: 1.1em;
    outline: 1px solid #303030;
    background: #303030;
    width: 100%;
    padding: 6px;
    border-radius: 10px;
}

a.comment-likes {
    text-decoration: none;
}

body.faces section ul li {
    float: left;
}

body.photo .photo-description { 
    outline: 2px dashed #aaa;
    padding: 4px;
}

body.people #people_wrapper .dt-layout-row {
}

body.photo .image-wrapper {
    position: relative;
    width: 100vw;
    height: 100vh;
}

body.photo .photo-annotator {
    position: absolute;
    top: 0px;
    left: 0px;
    outline: 2px dashed red;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

@keyframes example {
    from {opacity: 0.0; }
    to { opacity: 1.0; }
}

body.photo img,
body.person img {
    /* animation-name: example; */
    /* animation-duration: 800ms; */
}

.animate-rotation {
    /* animation-name: example; */
    /* animation-duration: 800ms; */
    transition: all 300ms;
}

body.photo img {
    /* transition-duration: 0.8s; */
    /* transition-property: transform; */
}

body.person img:focus {
    outline: 2px solid yellow;
}
  
body.photos img {
    /* opacity: 0.0; */
    /* transition: all 300ms; */
}

body.photos img.loaded {
    opacity: 1.0;
    transition: all 300ms;
}

.icon-150 {
    font-size: 150%;
}
.icon-200 {
    font-size: 2em;
}
.icon-250 {
    font-size: 2.5em;
}
.icon-300 {
    font-size: 3em;
}

button.load-more {
    font-size:2em;
    width: 20em;
}

h1 {
    margin: 4px;
    font-size: 1.5em;
}
h2 {
    margin: 4px;
    font-size: 1.2em;
}
h3 {
    margin: 4px;
    font-size: 1.0em;
}