/*************** clearfix ***************/

	.clearfix:after {
		content: ".";
		display: block;
		clear: both;
		visibility: hidden;
		line-height: 0;
		height: 0;
	}
	 
	.clearfix {
		display: inline-block;
	}
	 
	html[xmlns] .clearfix {
		display: block;
	}
	 
	* html .clearfix {
		height: 1%;
	}

/*************** clearfix ***************/




/*************** general reset ***************/

html {
	overflow-y: scroll;
}

html, body {
	margin: 0;
	padding: 0;
	font: 13px/1.4 Arial, Verdana;
}

a img {
	border: 0;
}

a, a:visited {
	color: #00E;
}

/*************** general reset ***************/




/*************** layout ***************/

#header {
	background: url(../img/gradient.jpg) 0 99px repeat-x;
}

#header a {
	display: block;
	width: 551px;
	height: 302px;
	margin: 0 auto;
}

#header img#gymnast {
	margin: 1em 0;
}

	#upperbar {
		height: 99px;
		background-color: #00E;
	}

	#upperbar a {
		display: block;
		width: 761px;
		height: 99px;
		margin: 0 auto;
	}

#wrap {
	width: 960px;
	margin: 0 auto;
}
	
#navigation {
	list-style-type: custom;
	list-style-image: url(../img/dot2.jpg);
	width: 55em;
	margin: 2em auto 1em;
	padding: 0;
	text-transform: uppercase;
}

	#navigation li {
		float: left;
		margin: 0 1em;
		padding-left: 8px;
	}
	
	#navigation li#home-link {
		list-style-type: none;
		list-style-image: none;
		padding: 0;
		margin-left: 0;
	}
	
	#navigation li#contact-link {
		margin-right: 0;
	}
	
	#navigation li:hover a {
		border-bottom: 1px #BBB solid;
		margin-bottom: -1px;
		color: #23408F;
	}
	
	#navigation li a {
		color: inherit;
		text-decoration: none;
	}
	
	#home #home-link, #schedule #schedule-link, #calender #calender-link,
	#gallery #gallery-link, #join #join-link, #about #about-link,#contact #contact-link {
		border-top: 1px #BBB solid;
		margin-top: -1px;
		color: #23408F;
	}
	
#content {
	border-top: 1px #BBB solid;
	padding: 0 1em;
}
	
#footer {
	border-top: 1px #BBB solid;
	margin-top: 1em;
}
/*************** layout ***************/



/*************** specific ***************/

.underline {
	text-decoration: underline;
}

table caption {
	text-align: left;
	text-decoration: underline;
	margin-bottom: 1em;
}

table.schedules caption {
	text-decoration: none;
	font-weight: bold;
	font-size: 14px;
}

table.schedules td {
	vertical-align: top;
	padding: 0 1em 1em;
}

table.schedules td table td {
	padding-bottom: 0;
}


/*************** specific ***************/
#gallery #content a.gallery {
	display: block;
	width: 166px;
	height: 163px;
	margin: 10px;
	text-align: center;
	float: left;
	text-decoration: none;
}

#gallery #content a.gallery p {
	margin-top: -2em;
	text-transform: capitalize;
}

#gallery #content img {
	max-width: 150px;
	max-height: 135px;
	border-width: 8px 8px 25px;
	border-style: solid;
	border-color: #EEE;
}

#gallery #content p {
	text-align: center;
}