﻿body {
    padding-top: 10px;
    padding-bottom: 20px;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 280px;
}

.thumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.thumb {
    width: 300px;
    height: 300px;
    overflow: hidden;
    border: 1px solid #ddd;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fafafa;
}

    .thumb img {
        max-width: 100%;
        max-height: 100%;
        display: block;
    }

.thumb-title {
    font-size: 16px;
    color: #666;
    margin-top: 4px;
    text-align: center;
    max-width: 160px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.empty {
    color: #999;
    margin-top: 12px;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

    .nav a, .nav button {
        padding: 6px 10px;
        border: 1px solid #ccc;
        background: #f7f7f7;
        border-radius: 4px;
        text-decoration: none;
        color: #333;
    }

        .nav a.disabled {
            pointer-events: none;
            opacity: 0.5;
        }

.photo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    background: #000;
}

    .photo-wrap img {
        max-width: 95vw;
        max-height: 80vh;
        display: block;
    }

.caption {
    color: #666;
    margin-top: 8px;
}
