/* 
	Dance Elite Master Stylesheet
	Author:  Michael "Spell" Spellacy, Senior UI Developer
	Company: Dance Elite
*/

@import "nav.css"; /* Primary Navigation */

@media screen, projection {

	/* ====== Global Element Rules ====== */

	body, form, fieldset, address, legend, h1, h2, h3, h4, h5, h6, div { 
	margin: 0;
	padding: 0; 
	}

	html {
	min-width: 776px;
	}

	body {
	padding: 1em 0 1em;
	font: 62.5%/1.5 Verdana, Arial, Helvetica, Sans-Serif, Myuen;
	background: #d5cfaf url(../images/body-bgtile.gif) repeat;
	}
	
	a:link {
	color: #369;
	}

	a:visited {
	color: #909;
	}
	
	a:hover {
	color: #c48792;
	text-decoration: none
	}

	a:active {
	color: #909;
	}
	
	h1, h2, h3, h4, h5, h6 {
	font: 2.0em "Times New Roman", Times, serif italic;
	color: #455367;
	margin: 10px 0;
	text-shadow: 1px 1px 0 #ccc;
	}

	h1 {
	font-size: 1.9em;
	margin-bottom: 10px;
	}

	h2 {
	font-size: 1.7em;
	color: #c48792;
	}

	h3, h4, h5, h6  {
	color: #ccc;
	font-size: 1.4em;
	}
	
	h3 {
	color: #000;
	}

	.ui-accordion-header {
	cursor: pointer;
	}

	.ui-state-default {
	background: url(../images/ico-arrow-off.gif) left center no-repeat;
	padding-left: 18px;
	}

	.ui-state-active {
	background: url(../images/ico-arrow-on.gif) left center no-repeat;
	padding-left: 18px;
	}

	object, embed, video {
	display: block;
	}

	img, fieldset, abbr, accronym {
	border: none;
	}

	input, textarea {
	font-family: Arial, Verdana, sans-serif, Myuen, Gulim;
	}

	q:before, q:after {
	content: ""; 
	}

	/* Form and/or Page messages */

	.docalert, .docalert a {
	color: #c00;
	font-style: italic;
	text-decoration: nome;
	}

	.docalert a:hover {
	text-decoration: none;
	}

	/* Used to accessibly hide elements (display: none may cause issues with screen readers) */

	.wai, #header img {
	position: absolute;
	top: 0;
	left: 0;
	width: 0;
	height: 0;
	text-indent: -999em;
	}

	.seo {
	display: none;
	}

	/* First and last element */

	.last, li.last a  {
	border-right: none !important;
	}

	/* ====== Layout ====== */

	#wrapper {
	position: relative;
	margin: 0 auto;
	border-left: 1px solid #000;
	border-top: 1px solid #000;
	border-right: 1px solid #000;
	width: 776px;
	background: #fff url(../images/wrapper-bgtile.gif) top right repeat-y;
	-webkit-border-top-right-radius: 12px;
	-webkit-border-top-left-radius: 12px;
	-moz-border-radius-topright: 12px;
	-moz-border-radius-topleft: 12px;
	border-top-right-radius: 12px;
	border-top-left-radius: 12px;
	}

	/* ====== Header ====== */

	#header {
	position: relative;
	margin-bottom: 20px;
	width: 776px;
	height: 97px;
	background: #af9664 url(../images/hdr-logo.jpg) left top no-repeat;
	-webkit-border-top-right-radius: 12px;
	-webkit-border-top-left-radius: 12px;
	-moz-border-radius-topright: 12px;
	-moz-border-radius-topleft: 12px;
	border-top-right-radius: 12px;
	border-top-left-radius: 12px;
	}

	#header address {
	position: absolute;
	right: 0;
	bottom: 5px;
	width: 450px;
	font-weight: bold;
	text-shadow: 1px 1px 0 #000;
	color: #fff;
	}

	/* ====== Content Container ====== */

	/* Main Content */

	#article {
	float: left;
	padding: 15px;
	width: 565px;
	font-size: 1.1em;
	min-height: 785px;
	background: url(../images/content-bgtile.jpg) right bottom no-repeat;
	zoom: 1;
	height: 1%;
	}

	#article ul, #article ol {
	margin: 5px 0 5px 15px;
	padding: 5px 0 0 15px;
	}

	#article li {
	padding-bottom: 10px;
	}
	
	/* Forms */

	#article fieldset {
	margin: 1em 0;
	border: 1px #bd9b6b dashed;
	padding: 1em;
	}

	#article fieldset div {
	margin: 10px;
	}

	#article legend {
	background: #fff;
	font-weight: bold;
	}

	#article label {
	float: left;
	display: block;
	padding-right: 1em;
	width: 15em;
	line-height: 20px;
	text-align: right;
	color: #455367;
	}

	#article input, #article select {
	width: 200px;
	}

	#article textarea {
	width: 344px;
	height: 100px;
	}

	#article input:focus, #article textarea:focus, #article select:focus {
	background: #eee;
	}

	#article #submit {
	float: right;
	margin: 0 2em;
	width: 100px;
	}

	#article .errortext {
	color: #c00;
	}
	
	/* Home page */

	body#default #article img#photo {
	float: right; 
	margin: 5px 0 20px 20px;
	border: 1px #000 solid;
	}

	/* Latest News */

	#latestnews {
	width: 350px;
	}

	#latestnews p {
	margin: 0 0 10px 5px;
	}

	#latestnews a {
	font-weight: bold;
	}

	#latestnews span {
	display: none;
	}

	#latestnews em {
	display: block;
	margin-top: 4px;
	font-style: normal;
	}

	body#article div#latestnews p {
	margin: 0 0 10px 0;
	}

	body#article div#latestnews a {
	font-weight: normal;
	}

	body#article div#latestnews {
	width: 565px;
	}

	body#article div#latestnews em {
	color: #999;
	}

	/* Data Table (General) */

	table.datagrid {
	margin-bottom: 15px;
	border: 1px #000 solid;
	width: 100%;
	border-collapse: collapse;
	background: #f0f0f0;
	}

	table.datagrid caption {
	padding-bottom: 15px;
	text-align: left;
	}

	table.datagrid thead tr {
	color: #fff;
	background: #5e7796;
	}

	table.datagrid thead tr th {
	padding: 0.4em 0.6em 0.4em 0.6em;
	border-right: 2px #fff groove;
	border-bottom: 2px #fff groove;
	width: 33%;
	}

	table.datagrid tbody tr {
	border: 2px #fff groove;
	}

	table.datagrid tbody th, table.datagrid tbody td {
	padding: 0.6em;
	border-bottom: 2px #fff groove;
	border-right: 2px #fff groove;
	}

	table.datagrid tbody td {
	vertical-align: top;
	background: #e9ecee;
	}
	
	table.datagrid tbody td div {
	position: relative;
	}
	
	table.datagrid tbody td span {
	position: absolute;
	display: block;
	float: right;
	top: 0;
	right: 0;
	background: yellow;
	width: 20px;
	height: 20px;
	text-align: center;
	border: 1px #000 solid;
	margin-left: 5px;
	}

	table.datagrid tbody tr.odd, table.datagrid tbody tr.odd td{
	background: #c4cfdb;
	}

	/* Data Table (Calendar) */

	table.calendar {
	margin-bottom: 15px;
	border: 1px #000 solid;
	width: 90%;
	border-collapse: collapse;
	}

	table.calendar caption {
	padding-bottom: 15px;
	text-align: left;
	}

	table.calendar thead tr {
	background: #5e7796;
	color: #fff;
	}

	table.calendar thead tr th {
	padding: 0.4em 0.6em 0.4em 0.6em;
	border-right: 2px #fff groove;
	border-bottom: 2px #fff groove;
	}

	table.calendar tbody tr {
	border: 2px #fff groove;
	}

	table.calendar tbody th, table.calendar tbody td {
	border-bottom: 2px #fff groove;
	border-right: 2px #fff groove;
	padding: 0.6em;
	width: 16%;
	line-height: 17px;
	}

	table.calendar tbody td {
	vertical-align: top;
	height: 100px;
	background: transparent;
	}

	table.calendar tbody td.yellow, .yellowlegend {
	background: #F6EB14;
	}

	table.calendar tbody td.blue, .bluelegend {
	background: #6FCCDD;
	}

	table.calendar tbody td.purple, .purplelegend {
	background: #BA529F;
	}

	table.calendar tbody td.orange, .orangelegend {
	background: #F58120;
	}

	table.calendar tbody td.green, .greenlegend {
	background: #69BD45;
	}

	#calendar-legend {
	margin-bottom: 20px;
	}

	#calendar-legend ul {
	margin: 0;
	padding: 0;
	list-style: none;
	}

	#calendar-legend li {
	margin: 0 0 3px 0;
	border: 1px dashed #CCC;
	padding: 0;
	width: 100px;
	height: 22px;
	line-height: 22px;
	text-align: center;
	}

	/* Gallery */

	.thumbnailtitle {
	font-size: 0.9em;
	}

	.imagequicklist {
	color: #000000;
	width: 125px
	}

	table#GalleryNavigation td {
	padding-right: 10px;
	font-size: 0.9em;
	font-weight: bold
	}

	table#GalleryNavigation a {
	text-decoration: none
	}

	table#GalleryNavSelect {
	font-size: 1.1em;
	}

	/* ====== Tertiary Navigation ====== */

	#aside {
	float: left;
	margin-top: 15px;
	width: 181px;
	}

	#aside h2 {
	margin: 2px 0 4px 1px;
	border-top: 1px #fff solid;
	border-bottom: 1px #fff solid;
	padding: 8px 4px;
	width: 172px;
	background: #EDD9AD url(../images/aside-heading-bg.gif) left top no-repeat;
	font: bold 0.9em Verdana, Arial, Helvetica, Sans-Serif, Myuen;
	text-shadow: none;
	color: #000;
	}

	#aside p {
	margin: 0px 8px 8px 8px;
	width: 164px;
	font-size: 0.9em;
	}

	#aside img {
	margin: 8px 15px 10px 15px;
	border: none;
	}

	#aside a {
	font-weight: bold;
	text-decoration: none;
	}
	
	body#classes #wrapper {
	background-image: none;
	}
	
	body#classes #article {
	width: auto;
	}
	
	body#classes #aside {
	display: none;
	}

	/* Footer */

	#footer {
	clear: both;
	margin: 0 auto;
	border: 1px #000 solid;
	padding: 5px 5px 10px;
	width: 766px;
	background: #bd9b6b;
	font-size: 0.9em;
	text-align: center;
	-webkit-border-bottom-right-radius: 12px;
	-webkit-border-bottom-left-radius: 12px;
	-moz-border-radius-bottomright: 12px;
	-moz-border-radius-bottomleft: 12px;
	border-bottom-right-radius: 12px;
	border-bottom-left-radius: 12px;
	}

	#footer p {
	margin: 0;
	padding-top: 5px;
	}

	#footer em {
	font-style: normal;
	}

	#footer a {
	color: #000;
	text-decoration: none;
	}

	#footer a:hover {
	color: #ccc;
	}

	.printpage {
	padding-left: 34px;
	background: url(../images/ico-print.gif) no-repeat;
	}

	/* ====== CSS Hacks ====== */

	#wrapper:after, #footer:after {
	clear: both; 
	content: "."; 
	display: block; 
	height: 0; 
	visibility: hidden;
	}

}

@media print {

}

