html, body {
    background-color: black;
    color: white;
    margin: 0;
    overflow: hidden;
    height: 100%;

    font-family: Arial, sans-serif;
    font-size: 13px;
    line-height: 1.4em;
}

a {
    color: white;
    text-decoration: underline;
}
a:hover {
    color: #bbbbbb;
}

.ns {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

p {
    margin: 0 0 5px;
}

pre {
    background: black;
    padding: 5px;
    margin: 0 0 10px;
    font-family: monospace;

    -webkit-touch-callout: default;
    -webkit-user-select: default;
    -khtml-user-select: default;
    -moz-user-select: default;
    -ms-user-select: default;
    user-select: default;
}

#error {
    font-size: 30px;
    text-align: center;
    position: relative;
    top: 40%;
}

#container {
    height: 100%;
    position: relative;
}
#video, #adv, #preview {
    width: 100%;
    height: 91%;
    z-index: 2147483647;
}
#adv, #preview {
    cursor: pointer;
}

#video.pause {
    cursor: pointer;
}
#pause-big, #play-big {
    position: absolute;
    width: 100px;
    height: 100px;
    left: 50%;
    top: 50%;
    margin: -65px 0 0 -50px;
    z-index: 2147483647;
    cursor: pointer;
}
#pause-big {
    background: url('/public/img/pause-big.png') no-repeat 0 0;
}
#play-big {
    background: url('/public/img/play-big.png') no-repeat 0 0;
}

#preview {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
}

#adv-timer {
    position: absolute;
    bottom: 60px;
    right: 0;
    width: 140px;
    height: 40px;
    line-height: 40px;
    font-size: 30px;
    background-color: black;
    border: 1px solid white;
    border-right: none;
    text-align: center;
    cursor: default;
}
#adv-title {
    position: absolute;
    top: 0;
    left: 0;
}

#progress {
    position: absolute;
    bottom: 30px;
    width: 100%;
    height: 10px;
    background: #333333;
    z-index: 2147483647;
    cursor: pointer;
}
#played {
    height: 10px;
    background: #bbbbbb;
    border-right: 2px solid #b1050f;
    width: 0;
}

#controls {
    position: absolute;
    bottom: 0;
    background-color: black;
    width: 100%;
    z-index: 2147483647;
}
#play, #pause, #replay {
    float: left;
    width: 30px;
    height: 30px;
    cursor: pointer;
}

#play {
    background: url('/public/img/play.png') no-repeat 0 0;
    margin-left: 10px
}
#pause {
    background: url('/public/img/pause.png') no-repeat 0 0;
}
#replay {
    background: url('/public/img/replay.png') no-repeat 0 0;
    margin-left: 10px
}

#play:hover, #pause:hover, #replay:hover {
    opacity: 0.5;
}

#volume {
    float: left;
    width: 130px;
    height: 30px;
    margin-left: 10px;
}
#volume-trigger {
    cursor: pointer;
    float: left;
    width: 32px;
    height: 30px;
    background: url('/public/img/volume.png') no-repeat 0 0;
}
#volume-trigger:hover {
    opacity: 0.5;
}
#volume-trigger.mute {
    background-position: 0 100%;
}
#volume-progress {
    cursor: pointer;
    float: left;
    width: 70px;
    height: 6px;
    margin-top: 12px;
    background-color: #333333;
	position: relative;
}
#volume-progress-level {
    background-color: #bbbbbb;
    width: 100%;
    height: 100%;
    border-right: 2px solid #b1050f;
	position: absolute;
}
#volume-max {
    float: left;
    line-height: 30px;
    margin-left: 5px;
    font-size: 10px;
    cursor: pointer;
}
#volume-max:hover {
    color: #b1050f;
}


.show {
    display: block;
}
.hide {
    display: none;
}
.pointer, #adv-timer.pointer {
    cursor: pointer;
}
.red {
    color: #b1050f;
}

#info, #brand, #full-screen, #normal-screen {
    float: right;
    height: 30px;
    font-size: 12px;
    line-height: 30px;
    color: white;
}
#brand {
    cursor: pointer;
    margin: 0 10px;
}
#brand:hover {
    opacity: 0.5;
}
#info {
    padding: 0;
    width: 30px;
    background: url('/public/img/info.png') no-repeat 0 0;
    cursor: pointer;
}
#info:hover {
    opacity: 0.5;
}
#info-text {
    position: absolute;
    top:10px;
    left:10px;
    right:10px;
    bottom:50px;
    padding: 8px 12px;
    background: #333333;
    color: white;
    z-index: 2147483647;
}
#info-text > .close {
    position: absolute;
    right: 5px;
    top: 0;
    cursor: pointer;
    font-size: 30px;
    line-height: 30px;
}
#info-text > .close:hover {
    opacity: 0.5;
}
#full-screen {
    width: 30px;
    height: 30px;
    background: url('/public/img/full-screen.png') no-repeat 0 0;
    cursor: pointer;
    margin: 0 10px;
}
#full-screen:hover {
    opacity: 0.5;
}
#normal-screen {
    width: 30px;
    height: 30px;
    background: url('/public/img/normal-screen.png') no-repeat 0 0;
    cursor: pointer;
    margin: 0 10px;
}
#normal-screen:hover {
    opacity: 0.5;
}

#timer {
    height: 30px;
    float: left;
    cursor: default;
}
#timer > div {
    font-size: 11px;
    line-height: 30px;
    padding: 0 2px;
    float: left;
}
