img {
    vertical-align: bottom;
}

#page-container {
    overflow: hidden;
    position: absolute;
    
    width: 100%;
    height: 100%;
}

#bottom-tray {
    bottom: -70px;
    position: absolute;
    width: 100%;

    z-index: 5;

    -moz-transition: bottom 0.5s ease-in-out;
    -webkit-transition: bottom 0.5s ease-in-out;
    -o-transition: bottom 0.5s ease-in-out;
    transition: bottom 0.5s ease-in-out;

    background-image: url('../img/tray.png');
}

#play-button {
    float: left;
    display: block;

    width: 62px;
    height: 62px;

    cursor: pointer;

    background-repeat: no-repeat;
    background-position: 15px 15px;
}

#play-button:active {
    background-position: 15px 17px;
}

.play {
    background-image: url('../img/play.png');
}

.pause {
    background-image: url('../img/pause.png');
}

#close-button {
    float: right;
    display: block;

    width: 62px;
    height: 62px;

    cursor: pointer;

    background-image: url('../img/close.png');
    background-repeat: no-repeat;
    background-position: 15px 15px;
}

#close-button:active {
    background-position: 15px 17px;
}

#fullscreen-button {
    float: right;
    display: block;

    width: 62px;
    height: 62px;

    cursor: pointer;

    background-image: url('../img/fullscreen.png');
    background-repeat: no-repeat;
    background-position: 15px 15px;
}

#fullscreen-button:active {
    background-position: 15px 17px;
}

#slide-data {
    float: left;
    line-height: 32px;
    padding: 15px;

    font-family: 'Open Sans', sans-serif;
    text-shadow: 0px 0px 3px #000000;
}

#slidecounter {
    float: left;
    color: #a9a9a9;
}

#slidecaption {
    float: left;
    color: #ffffff;
    margin-left: 10px;
}

#prevslide {
    left: -100px;

    -moz-transition: left 0.5s ease-in-out;
    -webkit-transition: left 0.5s ease-in-out;
    -o-transition: left 0.5s ease-in-out;
    transition: left 0.5s ease-in-out;

    position: absolute;
    top: 50%;
    height: 100px;
    width: 100px;
    margin-top: -50px;
    display: block;

    cursor: pointer;

    background-image: url('../img/prev.png');
    background-repeat: no-repeat;
}

#nextslide {
    right: -100px;

    -moz-transition: right 0.5s ease-in-out;
    -webkit-transition: right 0.5s ease-in-out;
    -o-transition: right 0.5s ease-in-out;
    transition: right 0.5s ease-in-out;

    position: absolute;
    top: 50%;
    height: 100px;
    width: 100px;
    margin-top: -50px;
    display: block;

    cursor: pointer;

    background-image: url('../img/next.png');
    background-repeat: no-repeat;
}

#prevslide:active, #nextslide:active { 
    margin-top:-48px; 
}