/* pictureViewer v2.0 (2004-07-09 / 2018-12-31)
   (c) Pirmin Schmid, mailbox@pirmin-schmid.ch */
body {
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    font-weight: 400;
    font-style: normal;
    color: white;
    background-color: black;
    scroll-behavior: none;
}
h1 {
    font-size: 14px;
    font-weight: 700;
    margin: 0px;
}
h2 {
    font-size: 14px;
    font-weight: 700;
}
p {
    font-size: 14px;
    margin-bottom: 10px;
}

img {
    border: 0;
}

a {
    color: white;
    white-space: nowrap;
    text-decoration: none;
}
a:hover {
    color: white;
    white-space: nowrap;
    text-decoration: underline;
}

/* menu */
.menu {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
}
button {
    font-size: 14px;
    padding: 4px 6px;
    border-radius: 4px;
    margin-left: 6px;
    margin-right: 6px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    -webkit-transition-duration: 0.2s;
    transition-duration: 0.2s;
}
.label {
    padding: 4px 6px;
}
button.active {
    background-color: black;
    color: white;
    border: 1px solid white;
}
button.active:hover {
    color: green;
    border: 1px solid green;
    cursor: pointer;
    outline: 0;
}
button.active:focus {
    color: goldenrod;
    border: 1px solid goldenrod;
    cursor: pointer;
    outline: 0;
}
button.inactive {
    background-color: black;
    color: grey;
    border: 1px solid grey;
    cursor: not-allowed;
}
button.close {
    border: none;
    background-color: black;
    color: white;
    float: right;
    font-size: 40px;
    font-weight: bold;
}
button.close:hover,
button.close:focus {
    color: green;
    cursor: pointer;
}

input.active {}
input.inactive {
    cursor: not-allowed;
}

/* filmstrip content sidebar pair*/
.filmstrip_wrapper {
    display: grid;
    grid-gap: 1px;
    grid-template-columns: 1fr 120px;
    grid-template-areas: "filmstrip_content filmstrip_sidebar";
    background-color: black;
    color: #404040;
}
.filmstrip_content {
    grid-area: filmstrip_content;
    background-color: black;
    color: white;
    padding-top: 50px;
    height: 85vh;
    scroll-behavior: none;
}
.filmstrip_sidebar {
    grid-area: filmstrip_sidebar;
    margin-top: 20px;
    overflow-x: hidden;
    overflow-y: scroll;
    height: 90vh;
}
.filmstrip_previewbox {
    width: 100px;
    height: 100px;
}

/* grid: grid blank pair */
.grid_wrapper {
    display: grid;
    grid-gap: 1px;
    grid-template-columns: 1fr 10px;
    grid-template-areas: "grid_grid grid_blank";
    background-color: black;
    color: #404040;
}
.grid_grid {
    grid-area: grid_grid;
    background-color: black;
    color: white;
    border-radius: 5px;
    padding: 1px;
    font-size: 100%;
}
.grid_blank {
    grid-area: grid_blank;
    background-color: black;
    color: white;
    border-radius: 5px;
    padding: 1px;
    font-size: 100%;
    overflow: scroll;
    height: 600px;
}
.grid_previewbox {
    width: 120px;
    height: 120px;
    display: inline-block;
}

.header {
    grid-area: header;
    background-color: black;
}
.main_picture {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 90%;
    max-height: 90%;
}
.preview_picture {
    display: block;
    margin: auto;
    padding: 5px;
    max-width: 80px;
    max-height: 80px;
}

/* modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
}
.modal_content {
    color: white;
    background-color: black;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #808080;
    width: 80%;
}
.picture_modal_content {
    /* in addition to .modal_content */
    height: 80%;
}
.picture_modal_img {
    display: block;
    padding: 0;
    margin: 0 auto;
    max-width: 100%;
    max-height: 100%;
}
