body {
    background-color: #000000;
}

.unselectable {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.noscroll {
    position: fixed;
    overflow-y: scroll;
    width: 100%;
}

.header {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: #000000;
    text-align: center;
}

.header button {
    font: 16px Arial;
    color: #222222;
    margin: 5px;
}

.header select {
    font: 16px Arial;
    color: #222222;
    margin: 10px;
}

.header label {
    font: 16px Arial;
    color: #cccccc;
    margin: 10px;
}

#slideIdx {
    font: 14px Arial;
    color: #cccccc;
    display: block;
    top: 0;
    overflow: auto;
    height: auto;
    background-color: rgba(0, 0, 0, 0.4);
    padding: 3px;
}

#slideCap {
    background-color: rgba(0, 0, 0, 0.4);
    padding: 3px;
}

#slideCap a:link {
    color: #cccccc;
    font-weight: bold;
}

#slideCap a:visited {
    color: #cccccc;
    font-weight: bold;
}

.nav {
    position: absolute;
    top: 70px;
}

.nav label {
    width: 200px;
    height: 100%;
    position: absolute;
    top: 0;
    opacity: 0;
    z-index: 9;
    cursor: pointer;
    transition: opacity .2s;
    color: #FFF;
    text-align: center;
    display: inline-block;
    vertical-align: middle;
    font-family: "Varela Round", sans-serif;
    background-color: transparent;
    text-shadow: 0px 0px 15px rgb(119, 119, 119);
}

#slider:hover + .nav label {
    opacity: 0.5;
}

#slider {
    position: absolute;
    text-align: center;
    display: block;
}

#slider img {
    position: absolute;
    margin: auto;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    max-width: 100%;
    max-height: 100%;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.button {
    z-index: 500;
    color: #cccccc;
    font: 14px Arial;
    color: #cccccc;
    background-color: rgba(0, 0, 0, 0.4);
    padding: 3px;
    cursor: pointer;
}

.caption {
    font: 14px Arial;
    color: #cccccc;
    display: block;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: auto;
    height: auto;
}

.nav label:hover {
    opacity: 1;
}

.next {
    right: 0;
}

.prev {
    left: 0;
}

.disabled a {
    pointer-events: none;
    cursor: default;
}

.enabled a {
    pointer-events: auto;
    cursor: auto;
}

.footer {
    width: 100%;
    position: absolute;
    bottom: 0px;
}

.footerNav {
    display: inline;
    width: 100%;
    position: absolute;
    bottom: 0;
}

.footerNav label {
    font-weight: bold;
    position: absolute;
    bottom: 0;
    display: inline-block;
    vertical-align: middle;
    font-family: "Varela Round", sans-serif;
    font-size: 30px;
    opacity: 0.2;
    z-index: 9;
    cursor: pointer;
    transition: opacity .2s;
    color: #FFF;
    text-align: center;
    display: inline-block;
    vertical-align: middle;
    font-family: "Varela Round", sans-serif;
    background-color: transparent;
    text-shadow: 0px 0px 15px rgb(119, 119, 119);
}

.footerNav label:hover {
    opacity: 1;
}

.thumbnails {
    width: 100%;
    position: absolute;
    bottom: 0;
    text-align: center;
    display: table-cell;
}

.thumbnails table {
    text-align: center;
    margin: auto;
}

td img {
    height: 60px;
    max-width: 100%;
    max-height: 100%;
    margin: 5px;
}

:-webkit-full-screen {
    background-color: #000000;
    width: auto;
    height: auto;
}

:-moz-full-screen {
    background-color: #000000;
    width: auto;
    height: auto;
}

:-ms-fullscreen {
    background-color: #000000;
    width: auto;
    height: auto;
}

:fullscreen {
    background-color: #000000;
    width: auto;
    height: auto;
}

#overlay {
    visibility: hidden;
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    text-align: center;
    z-index: 1000;
}

#overlay div {
    width: 300px;
    margin: 100px auto;
    background-color: #fff;
    border: 1px solid #000;
    padding: 15px;
    text-align: center;
}

