@charset "UTF-8";
/* CSS Document for APCPig */

@import "reset.css";

/* Text Styles */

h1, h2, h3, h4, h5, h6
{
	font-family: Geneva, Arial, Helvetica, sans-serif;
	margin-bottom: 1em;
}

p, span
{
	font-family: Georgia, "Times New Roman", Times, serif;
	margin-bottom: 1em;
}

.floatLeft {float: left;}
.floatRight {float: right;}
.clearBoth {clear: both;}
.clearDims {padding: 0; margin: 0;}

.warning
{
	font-weight: bold;
	color: #990000;
	margin: 5px 0 5px 0;
}

a {color: #000000; text-decoration: none;}
.tabCont a {color: #555; text-decoration: underline;}

/* Main Layout Divs */

body
{
	height: 100%;
	background: black;
}

div#appWrap
{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%; /* Flexible app that fills the entire browser window */
	overflow: hidden;
	
	z-index: 1000;
}

/* Defaults to the Landscape view */

div#editArea
{
	width: 80%;
	height: 100%;
	float: left;
}

div#scoreCont
{
	height: 60%;
	overflow-y: auto;
	width: 100%;
	background: white;
}

div#abcCont
{
	height: 37%;
	
	background: url(images/lightPaper.jpg);
}

div#toolArea
{
	width: 19.5%;
	height: 100%;
	/*float: right;*/
	right: 0px;
	border-left: rgba(182, 102, 31, 1) medium ridge;
	position: absolute;
	
	background: rgba(182, 102, 31, 0.898438);
}

/* Lesser Divs */

div#scoreCanvas
{
	background: white;
	margin-top: 15px;
	margin-left: 10%;
}

div#abcWarnings
{
	width: 96%;
	height: 6em;
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size: 14px;
	overflow-y: scroll;
	margin-top: 5px;
}

div#abcMidi
{
	height: 18px;
	width: 100%;
	background: rgba(182, 102, 31, 1);
	border: black solid;
	border-width: 2px 0px 2px 0px;
}

div.toolSection, div#control
{
	width: 100%;
	font-family: Geneva, Arial, Helvetica, sans-serif;
	margin: 0.6em 0 0 0.6em;
	clear: both;
}

div#control
{
	width: 95%;
	margin-left: 0px;
}

select#tuneSelector
{
	width: 96%;
	height: 6em;
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size: 14px;
	overflow-y: scroll;
	margin-top: 5px;
	background: white;
}

/* ABC Input Form and elements */

form#abcForm
{
	height: 100%;
}

form#abcForm textarea
{
	width: 100%;
	height: 100%;
	background: rgba(255, 255, 255, 0.2);
	
	font-size: 18px;
	font-family: Georgia, "Times New Roman", Times, serif;
	
	resize: none;
}

/* MIDI Bar and selector */

div#midiCont
{
	width: 100%;
}

div#midiCont embed
{
	width: 100%;
	z-index: 1000;
}

				/*			UI			*/

/* Buttons */

.sqButton30
{
	width: 30px;
	height: 30px;
	background: url(images/ui/SqButton30.png) no-repeat;
	padding-top: 0.3ex;
	text-align: center;
	font-size: 23px;
	cursor: pointer;
	margin: 5px;
}

.sqButton30:hover {background-position: -30px 0px;}
.sqButton30:active {background-position: -60px 0px;}

.sqButton20
{
	width: 20px;
	height: 20px;
	background: url(images/ui/SqButton20.png) no-repeat;
	text-align: center;
	font-size: 18px;
	cursor: pointer;
	margin: 3px;
}

.sqButton20:hover {background-position: -20px 0px;}
.sqButton20:active {background-position: -40px 0px;}

.toolSection ol li
{
	display: inline-block;
	margin: 0;
}

div.toolSection ol.block li
{
	display: block;
	width: 100%;
}

div.sqButton30 img
{
	/*-webkit-box-shadow: 0px 0px 5px black;*/
}

/* Switches */

.switch
{
	background-image: url(images/ui/SwitchSprite.png);
	width: 52px;
	height: 16px;
	cursor: pointer;
	padding: 4px;
	text-indent: 25px;
	
	color: #fff;
}

.swOn
{
	background-position: 0 0;
	text-indent: 25px;
}

.swOff
{
	background-position: 0 -25px;
	text-indent: 4px;
}

/* Dialogs */

#lightBox
{
	background: rgba(255, 255, 255, 0.8);
	width: 100%;
	height: 100%;
	z-index: -9999;
	position: absolute;
}

div#dialog
{
	border: rgba(33, 33, 33, 1) 10px solid;
	border-radius: 20px;
	-webkie-border-radius: 20px;
	-moz-border-radius: 20px;
	
	-webkit-box-shadow: 0px 5px 5px rgba(33, 33, 33, 0.5);
	-moz-box-shadow: 0px 5px 5px rgba(33, 33, 33, 0.5);
	box-shadow: 0px 5px 5px rgba(33, 33, 33, 0.5);
	
	background: rgba(183, 178, 31, 0.898438);
	width: 450px;
	margin: 7% auto 0 auto;
	padding: 20px;
	
	-webkit-transition: width, height 500ms;
}

div#newTuneVoicesContainer
{
	outline: rgba(0, 0, 0, 0.5) inset medium;
	height: 100px;
	width: auto;
	margin: 5px 0 5px 0;
	overflow-y: scroll;
}

div.newTuneVoice
{
	height: 20px;
	width: 544px;
	padding: 3px;
}

div.newTuneVoice input
{
	width: 12em;
}

/* Form Elements */

form li
{
	margin: 0.5em;
	margin-left: 0;
}


/* Tab Classes */

.tabContWrap
{
	border: #003366 medium inset;
}

.tabContWrap .tabCont
{
	width: 100%;
	height: 100%;
	display: none;
}

.tab
{
	width: auto;
	padding: 0.5em;
	display: inline-block;
	
	background: #069;
	margin-right: 1px;
	color: #CCCCCC;
	cursor: pointer;
	
	border-top-left-radius: 5px;
	-moz-border-top-left-radius: 5px;
}