.htmlplayer, .htmlplayer-error {
    width: 640px;
    height: 360px;
}

.htmlplayer {
    position: relative;
    overflow: hidden;
}

.htmlplayer .canvas {
    background: black;
    z-index: 0;
}

.htmlplayer-error {
    background: url('../img/player/bgerror.png');
    position: relative;
}

    .htmlplayer-error p {
        position: absolute;
        width: 620px;
        top: 235px;
        text-align: center;
        padding: 0 10px;
        color: #ccc;
        font-size: 16px;
        text-shadow: 0 1px 2px black;
    }

        .htmlplayer-error p a {
            color: white;
            text-decoration: none;
        }

        .htmlplayer-error p a:hover {
            color: #BE003C;
        }

.htmlplayer .overlay {
    display: block;
}

.htmlplayer .meta, .htmlplayer .title, .htmlplayer .controls, .htmlplayer .canvas {
    position: absolute;
    width: 640px;
    height: 360px;
}

.htmlplayer .meta {
    left: 0;
    top: 0;
    width: 99px;
    height: 335px;
    background: url('../img/player/bgmeta.png');
}

    .htmlplayer .meta a {
        float: right;
        clear: right;
        width: 25px;
        height: 25px;
        text-indent: -9999px;
    }

        .htmlplayer .meta a:hover nobr {
            display: block;
        }

    .htmlplayer nobr {
        height: 25px;
        background: url('../img/overlay/transwhite80.png');
        line-height: 25px;
        position: absolute;
        font-size: 1.1em;
        color: black;
        padding: 0 10px;
        text-indent: 0;
        display: none;
    }

    .htmlplayer .meta nobr {
        left: 99px;

    }

        .htmlplayer .comment nobr {
            top: 0;
        }

.htmlplayer .title {
    left: 99px;
    top: 255px;
    width: 541px;
    height: 80px;
    background-image: url('../img/player/bgtitle.png');
}

    .htmlplayer .headers {
        position: absolute;
        left: 135px;
        bottom: 15px;
        width: 400px;
    }

    .htmlplayer h2, .htmlplayer h3 {
        color: black !important;
    }

    .htmlplayer h2 {
        font-size: 1.6em !important;
        font-weight: bold;
        margin-bottom: 3px;
    }

    .htmlplayer h3 {
        font-size: 1.2em !important;
    }

.htmlplayer .controls {
    left: 0;
    bottom: 0;
    width: 640px;
    height: 25px;
    background: black;
}

    .htmlplayer .controls div {
        height: 25px;
        float: left;
    }

        .htmlplayer .controls div .control {
            z-index: 1;
        }

    .htmlplayer .loader {
        background: url("../img/player/loader.gif") no-repeat 3px center black;
        color: white;
        font-size: 1.4em;
        line-height: 25px;
        padding-left: 25px;
        top: 0;
        position: absolute;
        z-index: 100;
        width: 640px;
    }

    .htmlplayer .controls div.controls-inner {
        float: none;
        height: auto;
    }

    .htmlplayer .playpause, .htmlplayer .mute, .htmlplayer .fullscreen {
        width: 25px;
        cursor: pointer;
    }

    .htmlplayer .scrubber, .htmlplayer .volume {
        cursor: pointer;
    }

    .htmlplayer .volume {
        /* HACK to prevent the fullscreen button from falling off */
        width: 116px !important;
    }

    .htmlplayer .scrubber {
        width: 383px;
        background: black;
        position: relative;
    }

    .htmlplayer .value, .htmlplayer .control, .htmlplayer .scrubber .time {
        position: absolute;
    }

    .htmlplayer .scrubber .value {
        width: 0px;
        background: #be003c;
    }

    .htmlplayer .time {
        color: #f2f2f2;
        font-size: 1.1em;
        font-weight: bold;
        line-height: 25px;
    }

    .htmlplayer .scrubber .time {
        right: 10px;
        z-index: 0;
    }

    .htmlplayer .control {
        width: 10px;
        background: white;
        left: 0px;
        cursor: move;
        display: none;
    }

        .htmlplayer .scrubber:hover .control, .htmlplayer .volume:hover .control {
            display: block;
        }

    .htmlplayer .time.total {
        width: 50px;
        background: #2a2a2a;
        color: #bdbdbd;
        text-align: center;
    }

    .htmlplayer .fullscreen nobr {
        right: 0;
        bottom: 25px;
    }

        .htmlplayer .fullscreen:hover nobr {
            display: block;
        }

