@charset "utf-8";

/**
* VIDEO MENU STYLES
*/
.menu-video-wrapper {
    position: absolute;
    left: 0;
    height: 65px;
    width: 100%;
    border-top: 1px solid #8b8989;
    border-bottom: 1px solid #8b8989;
    background-color: #222222;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#424242', endColorstr='#222222'); /* for IE */
    background: -webkit-gradient(linear, left top, left bottom, from(#424242), to(#222222)); /* for webkit browsers */
    background: -moz-linear-gradient(top, #424242, #222222); /* for firefox 3.6+ */
}

#videoPlayerWrapper ul, li {
    margin: 0;
    padding: 0;
    list-style: none;
}

#videoPlayerWrapper.player-full-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    z-index: 3;
}

#videoPlayerWrapper {
    position: relative;
    width: 100%;
    height: 100%;
    margin: auto;
}

#videoPlayer {
    z-index: 1;
    width: 100%;
    height: 100%;
}

.modal-video-player {
    z-index: 1;
    background-color: rgba(0, 0, 0, .5);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ================== */
/* VIDEO HTML5 PLAYER */
/* ================== */
#videoContainer {
    width: 100%;
    height: 467px;
    position: relative;
    overflow: hidden;
}

#watchPagePlayer {
    width: 100%;
    height: 100%;
    z-index: 1;
}

.runtimeContainer {
    position: absolute;
    bottom: 1px;
    right: 5px;
}

.videoDuration {
    font-size: 13px;
    color: #a6a3a3;
    float: left;
}

.runtimeIcon {
    float: left;
    background: url(../../img/tablet-images/watch-sprite.png) no-repeat;
    width: 20px;
    height: 20px;
    background-position: -116px -132px;
    position: relative;
    top: -3px;
    margin: 0 0 0 5px;
}

/* ====================== */
/* CONTROL BUTTONS STYLES */
/* ====================== */
#controlsWrapper {
    /*z-index: 4;*/
    bottom: 0;
}

#controlsWrapper ul {
    height: 45px;
    position: relative;
    top: 1px;
}

#controlsWrapper ul#controls, #controlsWrapper ul#audioControl {
    float: left;
}

#controlsWrapper ul#audioControl {
    display: none;
}

#controlsWrapper ul li {
    border-right: 1px solid #8b8989;
    border-left: 1px solid #8b8989;
    position: relative;
    float: left;
    height: 100%;
}

#controlsWrapper ul li#playButton, #controlsWrapper ul li#replayButton, #controlsWrapper ul li#pauseButton {
    border-left: none;
}

.control-buttons div {
    background: url(../../img/tablet-images/watch-sprite.png) no-repeat;
    position: absolute;
    top: 50%;
    left: 50%;
}

.control-buttons {
    width: 70px;
}

#playButton div {
    width: 30px;
    height: 27px;
    margin: -14px 0 0 -15px;
    background-position: -136px -132px;
}

#pauseButton div {
    background-position: -254px -132px;
    width: 27px;
    height: 30px;
    margin: -15px 0 0 -13px;
}

#replayButton div {
    background-position: -281px -132px;
    width: 26px;
    height: 30px;
    margin: -15px 0 0 -13px;
}

#controlsWrapper ul li#timeContainer {
    border-right: none;
}

#timeContainer div {
    font-weight: normal;
    width: 100%;
    text-align: center;
    color: #8b8989;
    font-size: 15px;
    position: relative;
    top: 14px;
    padding: 0 0 0 7px;
}

#timePlayed {
}

#totalTime {
    color: #8c8c8c;
}

/* ============================== */
/* MENU AND SCREEN BUTTONS STYLES */
/* ============================== */
#menuButtons {
    float: right;
}

#controlsWrapper ul li.control-buttons {
    border-right: none;
}

#controlsWrapper ul li#xtubeLogo {
    border-left: none;
}

#controlsWrapper ul li#xtubeLogo div {
    background: url(../../img/tablet-images/watch-sprite.png) no-repeat;
    width: 94px;
    height: 39px;
    background-position: -158px -162px;
    position: relative;
    top: 2px;
    right: 10px;
}

#menuButtons .control-buttons div {
    width: 21px;
    height: 18px;
    margin: -7px 0 0 -10px;
}

#fullScreen div {
    width: 30px;
    height: 30px;
    margin: -15px 0 0 -15px;
    background-position: -165px -132px;
}

#normalScreen div {
    width: 30px;
    height: 30px;
    margin: -15px 0 0 -15px;
    background-position: -196px -132px;
}

/* ============================ */
/* VIDEO BARS AND BUFFER BUTTON */
/* ============================ */
a {
    outline-style: none;
}

#playerBarContainer {
    position: relative;
    height: 20px;
    background-color: #171717;
}

#playerBarContainer div {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
}

#emptyBar {
    width: 100%;
    border-bottom: 1px solid #8b8989;
}

#loadedBar {
    background-color: #2c2c2c;
    width: 0%;
}

#playedBar {
    width: 0%;
    background: #E70018; /* for non-css3 browsers */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#E70018', endColorstr='#6B1617'); /* for IE */
    background: -webkit-gradient(linear, left top, left bottom, from(#E70018), to(#6B1617)); /* for webkit browsers */
    background: -moz-linear-gradient(top, #E70018, #6B1617); /* for firefox 3.6+ */
}

#playerBarContainer #bufferButton {
    width: 100%;
    z-index: 2;
}

#playerBarContainer #bufferButton #slider {
    position: relative;
}

#playerBarContainer #bufferButton #slider a {
    position: absolute;
    display: block;
    background: url(../../img/tablet-images/watch-sprite.png) no-repeat -266px 0;
    width: 35px;
    height: 32px;
    top: -5px;
    margin: 0 0 0 -17px;
    border: none;
}

#playerBarContainer #bufferButton #slider.collapsed a {
    background-position: -189px -201px;
    width: 24px;
    height: 25px;
    top: 0;
    margin: 0 0 0 -12px;
}

/* ================== */
/* MENU PAUSED STYLES */
/* ================== */
#menuPausedWrapper {
    z-index: 4;
    position: absolute;
    bottom: 94px;
    font-size: 16px;
    width: 100%;
}

#menuPausedWrapper #menuPausedContainer {
    position: relative;
    height: 37px;
}

.player-full-screen #closePausedMenu {
    top: -43px;
}

#closePausedMenu {
    position: absolute;
    top: -330px;
    right: 31px;
    display: none;
}

#pausedMenu {
    height: 100%;
    color: #fff;
}

#pausedMenu li {
    line-height: 2.3;
    float: left;
    height: 100%;
    text-align: center;
    width: 33%;
    white-space: nowrap;
}

#pausedMenu li div {
    width: 90%;
    margin: auto;
    height: 95%;
    border: 1px solid #8b8989;
    -webkit-border-radius: 7px;
    -moz-border-radius: 7px;
    -o-border-radius: 7px;
    border-radius: 7px;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#424242', endColorstr='#222222'); /* for IE */
    background: -webkit-gradient(linear, left top, left bottom, from(#424242), to(#222222)); /* for webkit browsers */
    background: -moz-linear-gradient(top, #424242, #222222); /* for firefox 3.6+ */
}

#pausedMenu li div.icon {
    background: url(../../img/tablet-images/watch-sprite.png) no-repeat -307px -131px;
    width: 23px;
    height: 25px;
    float: left;
    border: none;
    position: relative;
    left: 61px;
    top: 6px;
}

#pausedMenu li.active {
    color: #F90;
}

.menu-video-player li {
    cursor: pointer;
}

.quality-option-menu {
    font-family: sans-serif, arial;
    display: none;
    left: -1px;
    margin: 0;
    position: absolute;
    bottom: 46px;
    border: 1px solid #666;
    overflow: auto;
    text-align: center;
    z-index: 5;
    padding: 0 10px;
    border-bottom: none;
    background: #222;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#424242', endColorstr='#222222');
    background: -webkit-gradient(linear, left top, left bottom, from(#424242), to(#222222));
    background: -moz-linear-gradient(top, #424242, #222222);
}

.quality-option-menu a {
    display: block;
    font-size: 12px;
    padding: 4px 0;
    text-decoration: none;
    color: #fff;
}

.quality-option-menu a:hover {
    background: #8b8989;
}

.quality-option-menu:hover {
    border: 1px solid #eee;
    border-bottom: none;
}

div.currentQuality {
    text-align: center;
    font-family: sans-serif;
    font-size: 12px;
    padding: 0 10px;
    width: 90px;
}

div.currentQuality span {
    cursor: pointer;
    line-height: 45px;
    text-decoration: none;
    color: #8b8989;
    font-weight: normal;
    border: 1px solid #B0B0B0;
    padding: 1px 4px;
    background: #8b8989;
    color: #fff;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    border-radius: 2px;
}

.display-none {
    display: none;
}

#timeContainer {
    cursor: default;
} 