*
{
    margin: 0;
    padding: 0;
    border: 0;
    font: inherit;
    font-size: 100%;
    font-size-adjust: none;
    letter-spacing: normal;
    /* see remark in text */
    vertical-align: middle;
    border-collapse: collapse;
    border-spacing: 0;
    list-style: none;
    /* esthetic only */
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after
{
    content: '';
    content: none;
}

body
{
    background-color: #FFF;
    width: 100%;
    height: 100%;
    margin: 0;
    overflow: hidden;
    font-size: 100%;
}

input[type=range]::-webkit-slider-runnable-track {
    height: 5px;
    background: #aaa;
}

input[type=range]::-webkit-slider-thumb {
    margin-top: -9px;
}

#viewer
{
    /*border: 1px solid #333;*/
    background-color: #EEE;
    width: 100%;
    height: 100%;
}

#viewerContent
{
    width: 100%;
    height: 100%;
}

#viewport
{
    width: 100%;
    height: 100%;
}

#slideImage
{
    visibility: hidden;
}

/* Portrait */
@media only screen and (orientation: portrait)
{
    #slideImage {
        position: absolute;
        display: block;
        max-width: 100%;
        /* min-width: 100%; */
        width: auto;
        height: auto;
        margin: auto;
        left: 0;
        right: 0;
        /* border: solid 1px red; */
    }
}

/* Landscape */
@media only screen and (orientation: landscape)
{
    #slideImage {
        position: absolute;
        display: block;
        max-height: calc(100% - 58px);
        /* min-height: calc(100% - 58px); */
        width: auto;
        height: auto;
        margin: auto;
        left: 0;
        right: 0;
        /* border: solid 1px green; */
    }
}

/*
 * progress
 */
#progress
{
    bottom: 0;
    left: 0;
    background-color: #666;
    height: 18px;
}

#progressBackground
{
    width: 100%;
}

#progressBar
{
    background-color: #CCC;
    width: 33%;
    height: 90%;
}

/*
 * controls
 */
#controls
{
    background-color: #e1e1e1;
    width: 100%;
    height: 44px;
}

#muteButton
{
    margin-top: 3px;
    margin-left: 2px;
    float: left;
    width: 20px;
    height: 22px;
}

#muteButton:focus
{
    outline: none;
}

.unMuted
{
    border-style: none;
    background: url(../images/jsPlayer_controls.png) 0 -1px;
    cursor: pointer;
}

.muted
{
    border-style: none;
    background: url(../images/jsPlayer_controls.png) 0 -25px;
    cursor: pointer;
}
#volumeSlider
{
    width: 50px;
    height: 22px;
    float: left;
    padding: 3px;
}

#volumeControl img.volumeControl
{
    width: 38px;
    height: 22px;
    background: url(../images/jsPlayer_controls.png) -20px -2px;
}

/* play / pause */
#playControls
{
    display: table;
    margin: 0 auto;
}

#rewindButton
{
    margin-top: 1px;
    float: left;
}

#rewindButton
{
    width: 36px;
    height: 24px;
    border-style: none;
    background: url(../images/jsPlayer_controls.png) -78px 0;
    cursor: pointer;
    outline: none;
}

#rewindButton:hover
{
    background: url(../images/jsPlayer_controls.png) -78px -24px;
}

#playButton
{
    margin-top: 1px;
    float: left;
    width: 36px;
    height: 24px;
}

#largePlayButton
{
    position: absolute;
    display: none;
    border-style: none;
    outline: none;
    width: 104px;
    height: 72px;
    /* margin: auto; */
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

.playStateLarge
{
    border-style: none;
    background: url(../images/controls_large_play_button.png) -112px 0;
    cursor: pointer;
    outline: none;
}

.pauseStateLarge
{
    border-style: none;
    background: url(../images/controls_large_play_button.png) -112px -74px;
    cursor: pointer;
    outline: none;
}

.playState
{
    border-style: none;
    background: url(../images/jsPlayer_controls.png) -112px 0;
    cursor: pointer;
    outline: none;
}

.pauseState
{
    border-style: none;
    background: url(../images/jsPlayer_controls.png) -112px -24px;
    cursor: pointer;
    outline: none;
}

#forwardButton
{
    margin-top: 1px;
    float: left;
}

#forwardButton
{
    width: 36px;
    height: 24px;
    border-style: none;
    background: url(../images/jsPlayer_controls.png) -146px 0;
    cursor: pointer;
    outline: none;
}

#forwardButton:hover
{
    background: url(../images/jsPlayer_controls.png) -146px -24px;
}
