html,
body {
    margin: 0;
    padding: 0;
/*    background: url("../images/subtle_dots.png") repeat;*/
    font-family: "roboto", arial, sans-serif;
}

#stage {
    position: relative;
    width: 1020px;
    height: 600px;
    background-color: white;
    margin: 2em auto;
	overflow:hidden;
}

#ref-background {
    position: absolute;
    top: 0;
    left: 0;
    /*background-image: url("../_ref/ref_splash-4.png");*/
    opacity: 1;
    width: 1020px;
    height: 600px;
    /* z-index: -1; */
}

#load-container {
    position: absolute;
    top: 0;
    right: 0;
}

#load-btn {
    font-size: 2em;
    margin: 2em;
    position: absolute;
}

.screen-content {
    width: 1020px;
    height: 600px;
}




/* ---- custom player controls ---- */

#play-head {
    position: absolute;
    width: 27px;
    padding-top: 8px;
    cursor: pointer;
    /* top: -11px; */
}

#player-controls {
    /* left: 54px; */
    background: rgba(255, 255, 255, 0.68);
    bottom: 0px;
    padding-bottom: 4px;
    padding-left: 4%;
    padding-top: 4px;
    position: absolute;
    visibility: hidden;
    width: 96%;
    z-index: 2000;
}
.show {
    visibility: visible;
}
#play-overlay {
    position: absolute;
    width: 1020px;
    height: 600px;
    background-color: rgba(255, 255, 255, 0.8);
    z-index: 2400;
    top: 0;
    left: 0;
}
#playtouch-btn {
    position: relative;
    top: 50%;
    left: 50%;
    margin-left: -181px;
    margin-top: -40px;
    cursor: pointer;
}

#scrubber {
    /*width: 783px;*/
	/*height: 27px;*/
	/*margin-top: 8px;*/
	height:20px;
	width:700px;
    display: inline-block;
    vertical-align: middle;
	border-left:1px solid #4c7b91;
	border-right:1px solid #4c7b91;
}

#player-buttons,
.control-button {
    display: inline-block;
    vertical-align: middle;
}

#player-buttons {
    margin-right: 15px;
    /* padding-bottom: 0px; */
    margin-bottom: 4px;
}

.control-button {
    width: 34px;
    height: 39px;
    margin: 0;
    overflow: hidden;
    padding: 0;
    cursor: pointer;
}

.control-button.menu-button, .return-button {
	background:#f1f1f1;
	border:1px solid #c3c3c3;
	border-radius:5px;
	height:26px;
	width:80px;
	text-align:center;
	color:#3f7189;
	font-size:12px;
	font-weight:bold;
	text-transform:uppercase;
	padding-top:11px;
}

.return-button {
	width:auto;
	display:inline-block;
	padding:11px 20px 0;
	cursor: pointer;
}

#prev-lesson {
    background: url("../images/video-player-buttons.png") left;
	display:inline-block;
}

#next-lesson {
    background: url("../images/video-player-buttons.png") right;
	display:inline-block;
}

#close-screen {
    position: absolute;
    right: 15px;
    top: 15px;
    z-index: 10;
    cursor: pointer;
}


/* ---- jquery ui player styles ---- */

.ui-slider,
.ui-slider-handle {
    /* width: auto; */
    /* height: 19px; */
}

.ui-widget-content {
    background-color: transparent;
}

.ui-slider {
    background-image: url("../images/player/video-player-track.png");
    border: 0;
    /* border-right: 2px solid rgba(0, 67, 99, 0.4); */
    /* border-left: 2px solid rgba(0, 67, 99, 0.4); */
    border-radius: 0;
}

.ui-slider-horizontal .ui-state-default {
    border: 0;
    background: url("../images/player/video-player-head-pause.png") no-repeat scroll 50% 50%;
}

.player-paused {
    background: url("../images/player/video-player-head.png") no-repeat scroll 50% 50% !important;
}

.player-rewind {
    background: url("../images/player/video-player-head-rewind.png") no-repeat scroll 50% 50% !important;
}


/* ---- ---- */


/* Progressbar */

#preload-window {
    position: relative;
    top: 200px;
    visibility: hidden;
    opacity: 0;
}

#preload {
    text-align: center;
    margin-top: 20px;
}

#progressbarwrapper {
    display: block;
    text-align: center;
    position: relative;
    padding-top: 5px;
}

#progressbar {
    height: 25px;
    width: 225px;
    display: inline-block;
    border-radius: 8px;
    border: 2px solid #a3ac7d;
    -webkit-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.5);
    -moz-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.5);
    box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.5);
}

.ui-progressbar .ui-widget-header {
    border: 1px solid #b5bf8d;
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#e6ead9+43,b5bf8d+97 */
    background: #e6ead9;
    /* Old browsers */
    background: -moz-linear-gradient(top, #e6ead9 43%, #b5bf8d 97%);
    /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(43%, #e6ead9), color-stop(97%, #b5bf8d));
    /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #e6ead9 43%, #b5bf8d 97%);
    /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #e6ead9 43%, #b5bf8d 97%);
    /* Opera 11.10+ */
    background: -ms-linear-gradient(top, #e6ead9 43%, #b5bf8d 97%);
    /* IE10+ */
    background: linear-gradient(to bottom, #e6ead9 43%, #b5bf8d 97%);
    /* W3C */
    -ms-filter: "progid: DXImageTransform.Microsoft.gradient( startColorstr='#e6ead9', endColorstr='#b5bf8d', GradientType=0)";
    /* IE8-9 */  
}


/* ---- screen styles ----*/

#play-strip {
    position: absolute;
    width: 100%;
    height: 0;
    top: 175px;
    background: url(../images/lesson120/ABO-120-pretest-title-bkg.jpg) top left no-repeat;
    text-align: center;
    display: none;
}

#play-strip img {
    /*position: absolute;*/
    margin-top: 21px;
    margin-right: 50px;
    cursor: pointer;
    visibility: hidden;
}

#screen-title {
    position: relative;
    top: 58px;
    left: 54px;
    font-size: 1.5em;
    z-index: 10;
    color: #004363;
    width: 55%;
}

#screen-title:after {
    content: "";
    position: absolute;
    top: 1.3em;
    left: 0;
    height: 3px;
    width: 350px;
    background-image: -webkit-gradient(linear, left top, right top, color-stop(0%, rgba(255, 155, 0, 1)), color-stop(82%, rgba(255, 155, 0, 1)), color-stop(100%, rgba(255, 155, 0, 0)));
    background-image: -moz-linear-gradient(left, rgba(255, 155, 0, 1) 0%, rgba(255, 155, 0, 1) 82%, rgba(255, 155, 0, 0) 100%);
    /* FF3.6+ */
    background-image: -webkit-gradient(linear, left top, right top, color-stop(0%, rgba(255, 155, 0, 1)), color-stop(82%, rgba(255, 155, 0, 1)), color-stop(100%, rgba(255, 155, 0, 0)));
    /* Chrome,Safari4+ */
    background-image: -webkit-linear-gradient(left, rgba(255, 155, 0, 1) 0%, rgba(255, 155, 0, 1) 82%, rgba(255, 155, 0, 0) 100%);
    /* Chrome10+,Safari5.1+ */
    background-image: -o-linear-gradient(left, rgba(255, 155, 0, 1) 0%, rgba(255, 155, 0, 1) 82%, rgba(255, 155, 0, 0) 100%);
    /* Opera 11.10+ */
    background-image: -ms-linear-gradient(left, rgba(255, 155, 0, 1) 0%, rgba(255, 155, 0, 1) 82%, rgba(255, 155, 0, 0) 100%);
    /* IE10+ */
    background-image: linear-gradient(to right, rgba(255, 155, 0, 1) 0%, rgba(255, 155, 0, 1) 82%, rgba(255, 155, 0, 0) 100%);
    /* W3C */
    -ms-filter: "progid: DXImageTransform.Microsoft.gradient( startColorstr='#ff9b00', endColorstr='#00ff9b00',GradientType=1 )";
    /* IE8-9 */
}

#screen-description {
    position: relative;
    top: 85px;
    left: 54px;
    font-size: 1em;
    color: black;
    z-index: 10;
    font-weight: 400;
    width: 33%;
}
#screen-description a {
    text-decoration: none;
    color: inherit;
}
#screen-description .inactive {
    color: #999;
}

#screen-description span, .screen-description span {
    font-weight: 500;
}

#screen-number {
    position: absolute;
    bottom: 20px;
    right: 15px;
    z-index: 2001;
    color: #696b6b;
    font-size: 12px;
    margin: 0;
}

a img {
    border: 0;
}