.rsbtn_doh {
	position: relative;
	display: block;
}

/************************************************ GENERAL CLASSES */

/**
 * These are a couple of classes that apply to many object or redefine elements
 */
.rsbtn_doh a,
.rsbtn_doh span {
	position: relative;
	display: block;
	text-decoration: none;
}

/**
 * Use the predefined CSS sprite for all graphical elements.
 */
.rsbtn_doh .rsimg {
	background: transparent url(img/ReadSpeakerSampleSkin.png) no-repeat scroll 0 0;
}

/**
 * All the player elements should float.
 */
.rsbtn_doh .rspart {
	float: left;
	margin-left: 2px;
}

.rsbtn_doh .rsdefloat {
	clear: both;
}

/**
 * This goes for all buttons
 */
.rsbtn_doh .rspart.rsbutton {
	background-color: #999;
	width: 18px;
	height: 18px;

	/**
	 * This is just to make the rollover effect a little smoother.
	 */
	-moz-transition: background-color .2s ease;
	-webkit-transition: background-color .2s ease;
	-o-transition: background-color .2s ease;
	transition: background-color .2s ease;
}

/**
 * Add a subtle rollover effect to the buttons.
 */
.rsbtn_doh .rspart.rsbutton:hover {
	background-color: #aaa;
}

/**
 * Add a little pressed-down effect as well
 */
.rsbtn_doh .rspart.rsbutton:active {
	background-color: #888;
}

/**
 * Hide all text labels. They will still be visible to non-CSS browsers
 */
.rsbtn_doh .rspart .rsbtn_btnlabel {
	display: none;
}

/************************************************ PLAYER BOX */
.rsbtn_doh .rsbtn_box {
	margin: 1px;
}

/************************************************ LISTEN BUTTON + ICON */
.rsbtn_doh .rsbtn_play {
	float: left;
	margin: 1px 0;
}

.rsbtn_doh .rsbtn_left .rsbtn_text {
	background: transparent none no-repeat scroll 0 0;
	padding-left: 20px;
}

/************************************************ EXPANDING AREA */
.rsbtn_doh .rsbtn_exp.rsimg.rspart {
	background: none;
	float: left;
	display: none;
}

/**
 * We want the expanding area to be visible only when the player
 * is expanded, hence the .rsexpanded class.
 */
.rsbtn_doh.rsexpanded .rsbtn_exp.rsimg {
	display: block;
}

/************************************************ PLAY/PAUSE BUTTON */
.rsbtn_doh .rsbtn_pause {
	background-position: 0 -34px;
}

.rsbtn_doh.rspaused .rsbtn_pause,
.rsbtn_doh.rsstopped .rsbtn_pause {
	background-position: 0 -16px;
}

/************************************************ STOP BUTTON */
.rsbtn_doh .rsbtn_stop {
	background-position: 0 -52px;
}

/************************************************ PROGRESS CONTAINER */
.rsbtn_doh .rsbtn_progress_container {
	border: 1px solid #999;
	width: 50px;
	height: 8px;
	margin-top: 4px;
	margin-left: 4px;
	background-image: none;
}

/************************************************ PROGRESS DRAG HANDLE */
.rsbtn_doh .rsbtn_progress_handle.rsimg {
	position: absolute;
	background-color: #666;
	top: -3px;
	left: -2px;
	width: 4px;
	height: 14px;
	background-image: none;
}

/************************************************ PROGRESS BAR */
.rsbtn_doh .rsbtn_progress_played {
	position: absolute;
	height: 100%;
	background-color: #ccc;
	background-image: none;
}

/************************************************ VOLUME BUTTON */
.rsbtn_doh .rsbtn_volume {
	margin-left: 4px;
	background-position: 0 -70px;
}

/************************************************ VOLUME SLIDER CONTAINER */
.rsbtn_doh .rsbtn_volume_container {
	position: absolute;
	display: none;
	top: 100%;
	width: 16px;
	height: 40px;
	border: 1px solid #999;
	background: #fff;
}

/************************************************ VOLUME SLIDER SLIDER AREA */
.rsbtn_doh .rsbtn_volume_slider {
	width: 6px;
	height: 30px;
	margin: 5px;
	background: #ccc;
}

/************************************************ VOLUME SLIDER SLIDE HANDLE */
.rsbtn_doh .rsbtn_volume_handle.rsimg {
	position: absolute;
	top: -2px;
	left: -3px;
	width: 12px;
	height: 4px;
	background: #666;
}

/************************************************ SETTINGS BUTTON */
.rsbtn_doh .rsbtn_settings {
	background-position: 0 -88px;
}

/************************************************ CLOSE BUTTON */
.rsbtn_doh .rsbtn_closer {
	margin-left: 4px;
	background-position: 0 -106px;
}

/************************************************ POPUP BUTTON */
/**
 * This is the style of the listen button that popups when the user
 * makes a text selection on the page.
 */
.rsbtn_doh.rspopup {
	position: absolute;
	background: #fff;
	border: 1px solid #555;
	box-shadow: 0 0 5px #777;
	display: none;
}
