html {
    margin: 0;
    padding: 0;
}
body {
    margin: 0;
    padding: 0;
    background-color: #C7CDDA;
    background-size: 100% auto;
    background-repeat: no-repeat;
    font-family: sans-serif;
    font-size: larger;
    line-height: 1.2em;
}
@media all and (max-width: 800px) {
    body {
        background-image: url("i/bg800.jpg");
        font-size: 100%;
    }
}
@media all and (min-width: 801px) and (max-width: 1280px) {
    body {
        background-image: url("i/bg1280.jpg");
    }
}
@media all and (min-width: 1281px) and (max-width: 1600px) {
    body {
        background-image: url("i/bg1600.jpg");
    }
}
@media all and (min-width: 1601px) {
    body {
        background-image: url("i/bg1920.jpg");
    }
}

.container {
    position: absolute;
    top:5%;
    left:5%;
    width: 90%;
    height: 90%;
    background: rgba(0, 0, 0, .15);
    color: white;
    overflow: auto;
    border-radius: 4px;
}
.inner-container {
    position: relative;
    margin: 2em;
}
.thumbs a {
    border: 1px solid lightblue;
    padding: 1px;
    display: block;
    float: left;
    margin:0 5px 5px 0;
}
.thumbs a:hover {
    border-color: white;
}
.container span {
    background: rgba(0, 0, 0, .35);
}
.left {
    float:left;
}
#ovl {
    z-index:1000;
    background: rgba(0, 0, 0, .9);
    width:100%;
    height:100%;
    position: absolute;
    top:0;
    left:0;
}
#ovl > div, #ovl > div > div {
    height:100%;
}
#ovl .left, #ovl .right, #ovl .image {
    position: relative;
}
#ovl a.arrow {
    opacity: .15;
    text-decoration: none;
    width: 100%;
    height: 100%;
    background-position: center center;
    background-repeat: no-repeat;
    display: block;
}
#ovl a.arrow:hover {
    opacity: 1;
}
#ovl .left a.arrow {
    background-image: url("i/arrow-left.png");
}
#ovl .right a.arrow {
    background-image: url("i/arrow-right.png");
}
.image {
    background-position: center center;
    background-repeat: no-repeat;
}
.image .desc {
    position: absolute;
    color:white;
    left:0;
    bottom: 0;
    padding: 1em;
    background: rgba(0, 0, 0, .6);
    width: 100%;
    border-radius: 1em 1em 0 0;
}
#close {
    position: absolute;
    display: block;
    padding:.3em;
    right:0;
    top:0;
    color:lightblue;
    font-size:xx-large;
    text-decoration: none;
}
#close:hover {
    color:white;
}