
html
{
	background-color: #fff;
}

.narrow-text
{
	font-weight: 400;
	text-transform: uppercase;
	font-family: 'Oswald', sans-serif;	
}

.clear
{
	clear: both;
}

#key-capture-off-screen
{
	width: 100px;
	height: 100px;
	overflow: hidden;
	position: fixed;
	top: 0;
	left: -100px;
}

div.center-menu
{
	width: 600px;
	margin: 20px auto 0 auto;
}

	div#paste-script textarea
	{
		width: 600px;
		height: 600px;
	}
	
	div.center-menu div.white-box
	{
		background-color: #fff;
		padding: 12px;
	}

/*
#bottom-bar
{
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 36px;
	line-height: 36px;
	color: #fff;
	background-color: #000;
	font-size: 16px;
	padding-left: 12px;
}
*/


 .visualizers
 {
	display: block;
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 70px;
	transform-origin: top center;
	transform: scaleY(0);
	transition: transform 100ms ease-in-out;
}

	.visualizer
	{
		display: block;
		width: 100%;
		height: 60px;
	}

	.volume-meter
	{
		width: 100%;
		height: 6px;
		overflow: hidden;
	}

		.volume-meter .gradient
		{
			height: 100%;
			width: 230px;
			background: linear-gradient(90deg, rgba(0,200,0,1) 0%, rgba(0,200,0,1) 70%, rgba(255,255,0,1) 80%, rgba(255,0,0,1) 90%);
		}


#script-container
{
	position: relative;
	padding: 130px 100px 20px 100px;
	margin-right: 230px;
	max-width: 900px;
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;	

}

	#script-text
	{
		width: 100%;
		font-size: 24px;
		font-family: Helvetica, sans-serif;
		letter-spacing: -1;
		line-height: 1.6em;
		padding-bottom: 110px;
		color: #000;
	}


span.sentence
{
	cursor: pointer;
	padding: 7px 0 0 0;
	color: #222;
}

	span.sentence:hover
	{
		/* background-color: #eee; */
		color: #555;
	}
	
	span.sentence.selected
	{
		color: #000;
		background-color: #ff0;
		xbox-shadow: 0 0 8px rgba(255,255,255,1), 0 0 12px rgba(255,255,255,1), 0 0 12px rgba(255,255,255,1), 0 0 12px rgba(255,255,255,1), 0 0 12px rgba(255,255,255,1);
		transition-property: background-color, box-shadow, border;
		transition-duration: 0.5s;
		transition-timing-function: ease-out;

		transition-property: color, border;
		transition-duration: 0.4s;
		transition-timing-function: ease-out;

		/* font-weight: bold; */
	}
	
		span.sentence.selected:hover
		{
			color: #000;
		}	


	span.sentence.recording,
	span.sentence.tempRecording
	{
		text-decoration: underline;
	}
	
	span.sentence.selected.recording,
	span.sentence.selected.tempRecording
	{
	}
	

	
	/*
	.sentence-recording
	{
		position: absolute;
		left: -50px;
		width: 40px;
		height: 40px;
		background-color: #000;
	}
	
		span.sentence:hover .sentence-recording
		{
			background-color: #f00;
		}
		*/
	
	

.controls
{
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;		
}

	.controls h2
	{
		color: #fff;
		margin: 0 0 12px 0;
		padding: 0;
		font-size: 16px;
		font-weight: normal;
		text-align: center;
	}

	.controls .button
	{
		cursor: pointer;
		margin: 12px 4px 12px 4px;
		color: #fff;
		font-size: 16px;
		opacity: 0.7;
		clear: both;
	}

		.controls .button:hover
		{
			opacity: 1;
		}
		
		.controls .button label
		{
			display: block;
			float: left;
			xpadding-top: 12px;
		}

		.controls .button .key
		{
			font-size: 10px;
			font-family: sans-serif;
			white-space: nowrap;
		}

	
	.controls .button.blank
	{
		cursor: default;
	}

		.controls .button.blank .icon
		{

			background-color: #333;
			background-image: none;
		}

		.controls .button.blank:hover
		{
			opacity: 0.7;
		}
		

	.controls .button.stopPlayback
	{
		display: none;
	}	

	.controls .button .icon
	{
		float: left;	
		font-size: 40px;
		color: #000;
		width: 48px;
		height: 48px;
		margin-right: 6px;
		background-color: #888;
		background-image: url('../img/controls-sprites-5.png');
		background-repeat: no-repeat;
		background-size: cover;
	}

		.controls .button.restart .icon
		{
			background-position: -192px 0;
		}
	
		.controls .button.record .icon
		{
			background-position: -96px 0;
		}

		.controls .button.next .icon
		{
			background-position: -48px 0;
		}

		.controls .button.reject .icon
		{
			background-position: -240px 0;
		}

		.controls .button.stopRecording .icon,
		.controls .button.stopPlayback .icon
		{
			background-position: -144px 0;
		}
		
		.controls .button.listen .icon
		{
			background-position: -336px 0;
		}

		.controls .button.save .icon
		{
			background-position: -384px 0;
		}

		.controls .button.saveAndAdvance .icon
		{
			background-position: -432px 0;
		}


#controls-recording
{
	width: 230px;
	height: 100%;
	right: 0;
	top: 0;	
	position: fixed;
	z-index: 10;
	background-color: #000;
	padding-top: 70px;
}

	#controls-recording .mode
	{
		display: none;
		padding: 8px;
	}
	
		#controls-recording .mode .state
		{
			float: left;
			color: #444;
			font-size: 40px;
			padding: 11px 0 0 20px;
		}

		#controls-recording .mode.recording .state
		{
			color: #fff;
		}


#controls-recording .options
{
	clear: both;
	margin-top: 20px;
	padding: 8px;
}

	#controls-recording .options .option
	{
		cursor: pointer;
		float: left;
		color: #fff;
		font-size: 16px;
		margin: 3px;
		opacity: 0.7;
		clear: both;
	}

		#controls-recording .options .option:hover
		{
			opacity: 1;
		}


#upload-notice
{
	position: fixed;
	bottom: -5.7em;
	left: 20px;
	background-color: #000;
	border-radius: 20px;
	color: #ddd;
	font-weight: bold;
	font-size: 13px;
	padding: 8px 20px 40px 20px;
}


iframe#downloader
{
	display: none;
	width: 1px;
	height: 1px;
}