
/* the audio link itself */
.hideable {
    display: none;
}

main.content .audioLinkEnabled, #uobcms-content .audioLinkEnabled, #uobcms-content-nonav .audioLinkEnabled {
    background: #f0f0f3; /*#2858bb;*/
    -webkit-border-radius: 7px;
    -moz-border-radius: 7px;
    border-radius: 7px;
	border: 1px solid #e3e3e8;
    color: #333; /*white;*/
    display: inline-block;
    text-decoration: none;
    position: relative;
    padding: 3px 5px 0 3px;
}

.audioList li {
    list-style-type: none;
    list-style-image: none;
    margin: 0 0 10px 0;

}

/* only applied to enabled links */
main.content .audioLinkEnabled .audioLink, #uobcms-content .audioLinkEnabled .audioLink, #uobcms-content-nonav .audioLinkEnabled .audioLink {
    background: url("http://www.bristol.ac.uk/cmsimages/button-arrow.png") no-repeat scroll right center #c0cfde; /*#95cce0;*/
    display: block;
    border: none !important;
    padding: 0.5em 80px 0.5em 0.5em;
	min-height: 19px;
	min-width: 200px;
    margin: 0 34px 0 0;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    color: #333; /*#006;*/
    font-weight: normal;
}

main.content .audioLinkEnabled .audioLink:hover, #uobcms-content .audioLinkEnabled .audioLink:hover, #uobcms-content-nonav .audioLinkEnabled .audioLink:hover {
	background-color: #ccdbeb;
}

main.content .playing .audioLink, #uobcms-content .playing .audioLink, #uobcms-content-nonav .playing  .audioLink{
    /*background-color: #0f9;*/
    background-image: url("http://www.bristol.ac.uk/scripts/audio/pause.png");
}

main.content .paused .audioLink,#uobcms-content .paused .audioLink, #uobcms-content-nonav .paused .audioLink{
    background-color: #d0d3d7; /*#cae5ef;*/
}

/* applies to all links */
main.content .audioLinkEnabled a, #uobcms-content .audioLinkEnabled a, #uobcms-content-nonav .audioLinkEnabled a {
    color: #000; /*#b4d7fb;*/
    font-weight: normal;
    font-size: 90%;
    text-decoration: none;
    border: none;
}

main.content .audioLinkEnabled .stopLink, #uobcms-content .audioLinkEnabled .stopLink, #uobcms-content-nonav .audioLinkEnabled .stopLink {
    position: absolute;
    right: 3px;
    top: 3px;
    border: none;
    background: url("http://www.bristol.ac.uk/scripts/audio/stop.png") no-repeat center center #e5aa3d; /*#95cce0;*/
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    width: 33px;
    height: 33px;

}

main.content .audioLinkEnabled .stopLink span, #uobcms-content .audioLinkEnabled .stopLink span, #uobcms-content-nonav .audioLinkEnabled .stopLink span {
    display: block;
    width: 0;
    height: 0;
    overflow: hidden;
}

main.content .audioLinkEnabled .stopLink:hover, #uobcms-content .audioLinkEnabled .stopLink:hover, #uobcms-content-nonav .audioLinkEnabled .stopLink:hover {
	background-color: #f0b440;
}

.dLink {
    bottom: 2px;
    font-size: 80%;
    position: absolute;
    right: 10px;
}

main.content .dLink:hover, #uobcms-content .dLink:hover, #uobcms-content-nonav .dLink:hover  {
	text-decoration: underline;
}

/* Dynamically added controls */
.audioControls {
    position: relative;
    width: 100%;
    height:18px;
    background: #204797;
    border: solid 1px #fff;
    margin-top: 2px;
	cursor: pointer;
}

.audioOverlay {
    width: 100%;
    height: 20px;
    position: absolute;
    background: transparent;
    z-index: 500;
}

.audioTiming {
    position: relative;
    width: 100%;
    height: 20px;
    font-size: 60%;
    margin: 4px 6px 0;
}

.audioTiming div {
    float: left;
}

.muteButton {
    margin-left: 10px;
    color: #95cce0 !important;
}

.progressIndicator {
  position: absolute;
  background: #666;
  width: 0px;
  height: 18px;
  z-index: 200;
}

.loadingIndicator {
  position: absolute;
  background: #999;
  width: 0;
  height: 18px;
  z-index: 100;
}

.audioPlaying {
    /*
    position: absolute;
    left: 100px;
    */
}

.audioLoading {
    /*
    position: absolute;
    left: 160px;
    */
}

/* Flashblock specific CSS - do we want to support this feature? */
/* Flash Movie container - shouldn't be visible; but does determine where Flashblock (and possibly other Flashblockers) display their interface */
.movieContainer {
  width: 0px;
  height: 0px;
  /* alternatively it can be hidden off screen... */
  position: fixed;
  left: -100px;
}

/* Use this to display the Flash movie on screen in case of failure, so that it can be used to enable Flash in the case that a Flash-blocker is being used */
.swf_timedout {
  width: 0;
  height: 0;
  display: block;
  /* and moved back as and when necessary */
  position: absolute;
  left: 0;
}

/* misc extras */
.audioPlaylist, .audioPlaylist li {
	list-style-type: none;
	list-style-image: none;
	margin: 0 0 10px 5px;
	/* fix display bug in IE7 */
	/*width: 100%;*/
	overflow: hidden;
}