/*
AUTHOR: Osvaldas Valutis, www.osvaldas.info
* MODIFY: Paun Es Durlic www.paundurlic.com
* 25. III 2018.
* upgrade: 
* 27. III 2018
*/
.audioplayer
{	
	width: 150px;
	height: 2em; 
	color: black; 
	border: 1px solid #336600;
	position: relative;
	z-index: 1;
	font-family: arial;
	font-size:10px;
	background: #B0B000; 
	
	background: -webkit-gradient( linear, left top, left bottom, from( #B0B000 ), to( #99CC00 ) );
	background: -webkit-linear-gradient( top, #B0B000, #99CC00 );
	background: -moz-linear-gradient( top, #B0B000, #99CC00 );
	background: -ms-radial-gradient( top, #B0B000, #99CC00 );
	background: -o-linear-gradient( top, #B0B000, #99CC00 );
	background: linear-gradient( top, #B0B000, #99CC00 ); 

	-webkit-box-shadow: inset 0 1px 0 rgba( 255, 255, 255, .15 ), 0 0 1.25em rgba( 0, 0, 0, .5 ); /* 20 */
	-moz-box-shadow: inset 0 1px 0 rgba( 255, 255, 255, .15 ), 0 0 1.25em rgba( 0, 0, 0, .5 ); /* 20 */
	box-shadow: inset 0 1px 0 rgba( 255, 255, 255, .15 ), 0 0 1.25em rgba( 0, 0, 0, .5 ); /* 20 */
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
}
.audioplayer-mini
	{
		width: 2.5em; /* 40 */
		margin: 0 auto;
	}
.audioplayer > div
	{
		position: absolute;
	}
.audioplayer-playpause
	{
		width: 2.5em; /* 40 */
		height: 100%;
		text-align: left;
		text-indent: -9999px;
		cursor: pointer;
		z-index: 2;
		top: 0;
		left: 0;
	}
.audioplayer:not(.audioplayer-mini) .audioplayer-playpause
		{
			border-right: 1px solid #555;
			border-right-color: rgba( 255, 255, 255, .1 );
		}
.audioplayer-mini .audioplayer-playpause
		{
			width: 100%;
		}
.audioplayer-playpause:hover,
.audioplayer-playpause:focus
		{
			background-color: #3366; /*#222;*/
		}
.audioplayer-playpause a
		{
			display: block;
		}
.audioplayer:not(.audioplayer-playing) .audioplayer-playpause a
		{
			width: 0;
			height: 0;
			border: 0.5em solid transparent; /* 8 */
			border-right: none;
			border-left-color: #fff;
			content: '';
			position: absolute;
			top: 50%;
			left: 50%;
			margin: -0.5em 0 0 -0.25em; /* 8 4 */
		}
.audioplayer-playing .audioplayer-playpause a
		{
			width: 0.75em; /* 12 */
			height: 0.75em; /* 12 */
			position: absolute;
			top: 50%;
			left: 50%;
			margin: -0.375em 0 0 -0.375em; /* 6 */
		}
.audioplayer-playing .audioplayer-playpause a:before,
.audioplayer-playing .audioplayer-playpause a:after
			{
				width: 40%;
				height: 100%;
				background-color: #fff;
				content: '';
				position: absolute;
				top: 0;
			}
.audioplayer-playing .audioplayer-playpause a:before
			{
				left: 0;
			}
.audioplayer-playing .audioplayer-playpause a:after
			{
				right: 0;
			}
.audioplayer-time
	{
		width: 3.17em; /* 70 */
		height: 100%;
		line-height: 2em; /* 38 */
		text-align: center;
		z-index: 2;
		top: 0;
	}
/* polozaj brojki tekuceg vremena*/
.audioplayer-time-current
		{
			left: 2.03em; /* 40 */
		}
.audioplayer-time-duration
		{
			right: 2.2em; /* 40 */
		}
.audioplayer-novolume .audioplayer-time-duration
			{
				border-right: 0;
				right: 0px;
			}
/* podloga za traku zvuka */			
.audioplayer-bar
	{
		height: 0.875em; 
		background-color: Olive; 
		cursor: pointer;
		z-index: 1;
		top: 50%;
		right: 5.6em; 
		left: 5.2em; 
		margin-top: -0.438em; 
	}
.audioplayer-novolume .audioplayer-bar
		{
			right: 4.375em; /* 70 */
		}

/* traka zvuka */		
.audioplayer-bar div
		{
			width: 0;
			height: 100%;
			position: absolute;
			left: 0;
			top: 0;
		}
/* podloga spinera */		
.audioplayer-bar-loaded
		{			
			background: olive;
			z-index: 1;
		}
/* spiner reprodukcije zvuka */		
.audioplayer-bar-played
		{
			background: yellow; 
			z-index: 2;
		}
/*polozaj zvucnika*/		
.audioplayer-volume
	{
		width: 2.5em; /* 40 */
		height: 100%;
		text-align: left;
		text-indent: -9999px;
		cursor: pointer;
		z-index: 2;
		top: 0;
		right: 0;
	}
.audioplayer-volume:hover,
.audioplayer-volume:focus
		{
			/*opacity: 0.5;
			background-color: yellow; #222;*/
		}
/* ikona zvucnika */		
.audioplayer-volume-button
		{
			width: 100%;
			height: 100%;
		}
/* ikona zvucnika */		
.audioplayer-volume-button a
			{
				width: 0.313em; /* 5 */
				height: 0.375em; /* 6 */
				background-color: #fff;
				display: block;
				position: relative;
				z-index: 1;
				top: 40%;
				left: 35%;
			}
.audioplayer-volume-button a:before,
.audioplayer-volume-button a:after
				{
					content: '';
					position: absolute;
				}
.audioplayer-volume-button a:before
				{
					width: 1px;
					height: 0;
					border: 0.5em solid transparent; /* 8 */
					border-left: none;
					border-right-color: #fff; 
					z-index: 2;
					top: 50%;
					right: -0.25em;
					margin-top: -0.5em; /* 8 */
				}

/* talasi desno od zvucnika */				
.audioplayer:not(.audioplayer-mute) .audioplayer-volume-button a:after
				{
					/* "volume" icon by Nicolas Gallagher, http://nicolasgallagher.com/pure-css-gui-icons */
					width: 0.313em; /* 5 */
					height: 0.313em; /* 5 */
					border: 0.25em double #fff; /* 4 */
					border-width: 0.25em 0.25em 0 0; /* 4 */
					left: 0.663em; /* 9 */
					top: -0.063em; /* 1 */
					
					-webkit-border-radius: 0 0.938em 0 0; /* 15 */
					-moz-border-radius: 0 0.938em 0 0; /* 15 */
					border-radius: 0 0.938em 0 0; /* 15 */
					-webkit-transform: rotate( 45deg );
					-moz-transform: rotate( 45deg );
					-ms-transform: rotate( 45deg );
					-o-transform: rotate( 45deg );
					transform: rotate( 45deg );
				}

/*traka jacine zvuka; ide na gore */
.audioplayer-volume-adjust
		{
			height: 3.25em; /* 100 */
			width: 20px;
			cursor: default;
			position: absolute;
			left: 5px;
			right: -1px;
			top: -9999px;		
			background: yellow; /*#222;*/ 
			
			background: -webkit-gradient( linear, left top, left bottom, from( #336600 ), to( #99CC00 ) );
			background: -webkit-linear-gradient( top, #336600, #99CC00 );
			background: -moz-linear-gradient( top, #336600, #99CC00  );
			background: -ms-radial-gradient( top, #336600, #99CC00  );
			background: -o-linear-gradient( top, #336600, #99CC00  );
			background: linear-gradient( top, #336600, #99CC00  );
			
			-webkit-border-top-left-radius: 2px;
			-webkit-border-top-right-radius: 2px;
			-moz-border-radius-topleft: 2px;
			-moz-border-radius-topright: 2px;
			border-top-left-radius: 2px;
			border-top-right-radius: 2px; 
		}
.audioplayer-volume:not(:hover) .audioplayer-volume-adjust
			{
				opacity: 0;
			}
.audioplayer-volume:hover .audioplayer-volume-adjust
			{
				top: auto;
				bottom: 104%;
				
			}
/*jezicak jacine*/			
.audioplayer-volume-adjust > div
			{
				width: 30%;
				height: 80%;
				background-color: #336600; /*#222; */
				cursor: pointer;
				position: relative;
				z-index: 1;
				margin: 30% auto 0;
			}
.audioplayer-volume-adjust div div
				{
					width: 100%;
					height: 100%;
					position: absolute;
					bottom: 0;
					left: 0;
					background: yellow; 
				}
.audioplayer-novolume .audioplayer-volume
		{
			display: none;
		}

.audioplayer-play,
.audioplayer-pause,
.audioplayer-volume a
	{
		-webkit-filter: drop-shadow( 1px 1px 0 #000 );
		-moz-filter: drop-shadow( 1px 1px 0 #000 );
		-ms-filter: drop-shadow( 1px 1px 0 #000 );
		-o-filter: drop-shadow( 1px 1px 0 #000 );
		filter: drop-shadow( 1px 1px 0 #000 );
	}

/* osnova i jezicak spina zvuka */	
.audioplayer-bar,
.audioplayer-bar div,
.audioplayer-volume-adjust div
	{
		-webkit-border-radius: 1px;
		-moz-border-radius: 1px;
		border-radius: 1px;
	}
.audioplayer-bar,
.audioplayer-volume-adjust > div
	{
		/*-webkit-box-shadow: -1px -1px 0 rgba( 0, 0, 0, .5 ), 1px 1px 0 rgba( 255, 255, 255, .1 );
		-moz-box-shadow: -1px -1px 0 rgba( 0, 0, 0, .5 ), 1px 1px 0 rgba( 255, 255, 255, .1 );
		box-shadow: -1px -1px 0 rgba( 0, 0, 0, .5 ), 1px 1px 0 rgba( 255, 255, 255, .1 );*/
	}
.audioplayer-volume-adjust div div,
.audioplayer-bar-played
	{
		/*-webkit-box-shadow: inset 0 0 5px rgba( 255, 255, 255, .5 );
		-moz-box-shadow: inset 0 0 5px rgba( 255, 255, 255, .5 );
		box-shadow: inset 0 0 5px rgba( 255, 255, 255, .5 );*/
	}
.audioplayer-volume-adjust
	{
		/*-webkit-box-shadow: -2px -2px 2px rgba( 0, 0, 0, .15 ), 2px -2px 2px rgba( 0, 0, 0, .15 );
		-moz-box-shadow: -2px -2px 2px rgba( 0, 0, 0, .15 ), 2px -2px 2px rgba( 0, 0, 0, .15 );
		box-shadow: -2px -2px 2px rgba( 0, 0, 0, .15 ), 2px -2px 2px rgba( 0, 0, 0, .15 );*/
	}
.audioplayer *,
.audioplayer *:before,
.audioplayer *:after
	{
		-webkit-transition: color .25s ease, background-color .25s ease, opacity .5s ease;
		-moz-transition: color .25s ease, background-color .25s ease, opacity .5s ease;
		-ms-transition: color .25s ease, background-color .25s ease, opacity .5s ease;
		-o-transition: color .25s ease, background-color .25s ease, opacity .5s ease;
		transition: color .25s ease, background-color .25s ease, opacity .5s ease;
	}