table {
	border-collapse: collapse;
}
body {
	background-color: #eeeeee;
	color: white;
	background-image: url(images/bg_black.png);
	background-repeat: repeat-y;
	background-position: center;
	width: 800px;
	margin-left: auto;
	margin-right: auto;
	padding: 0;
	font-family: 'Tahoma', sans-serif;
}
h1 {
	color: #00A7D4;
	text-align: center;
}
div.pageheading {
	position: absolute;
	background-color: black;
	background-image: url(images/bg_black.png);
	background-repeat: repeat-y;
	top: 0;
	/*padding+width=800px, padding is for logo*/
	width: 800px;
	height: 110px;
	margin-left: auto;
	margin-right: auto;
	overflow: hidden;
}
div.pageheading img {
	float: left;
	height: 110px;
	width: 193px;
	margin-left: 20px;
	margin-right: 20px;
}
div.pageheading h1 {
	padding-top: 10px;
}
div.page {
	position: absolute;
	background-color: black;
	background-image: url(images/bg_black.png);
	background-repeat: repeat-y;
	top: 110px;
	width: 800px;
	padding: 0;
	padding-bottom: 1.5em;
	margin-left: auto;
	margin-right: auto;
	overflow: hidden;
}
div.navbar {
	width: 130px;
	background-color: #00A7D4;
	color: black;
/*	position: absolute;
	left: 8px;
	top: 8px;
*/	padding: 0;
	margin: 0;
	overflow: hidden;
	border: 0;
	/*floating from here*/
	float: left;
	margin-left: 12px;
	margin-top: 28px;
}
div.topmenu {
	background-image: url(images/top_menu.png);
	background-position: bottom left;
	/*background-repeat: none;
	overflow: none;*/
	width: 130px;
	height: 10px;
	padding: 0;
	margin: 0;
	border: 0;
	font-size: 0;
}
div.bottommenu {
	background-image: url(images/bottom_menu.png);
	background-position: top left;
	/*background-repeat: none;*/
	width: 130px;
	height: 10px;
	padding: 0;
	margin: 0;
	border: 0;
	font-size: 0;
}
div.menu {
	width: 130px;
	font-size: 0.8em;
	background-color: #00A7D4;
	background-image: url(images/bg_menu.png);
	background-position: left;
	background-repeat: repeat-y;
	color: black;
	margin: 0;
	padding: 0px 8px 1px 8px;
	overflow: auto;
	border: 0;
	text-align: center;
}
/*IE hack*/
* html div.menu {
	width: 130px;
	padding: 0;
}
div.menu ul {
	margin: 0;
	padding: 0;
	text-align: left;
	overflow: auto;
	width: 114px;
}
/*IE hack*/
* html div.menu ul {
	width: 130px;
}
div.menu a:link {
	text-decoration: inherit;
}
div.menu a:visited {
	text-decoration: inherit;
}
div.menu ul li {
	margin: 0;
	padding: 0;
	padding-bottom: 1px;
	padding-top: 1px;
	text-indent: 0;
	list-style-type: none;
	list-style-position: outside;
	border-top: 1px solid #0093ce;
}
/*IE hack*/
* html div.menu ul li {
	margin-left: 10px;
	margin-right: 10px;
}
div.menu ul li.subitem {
	margin-left: 1em;
}
div.menu ul li.divider {
	background-color: #0093ce;
	height: 5px;
}
div.topcontent {
	background-image: url(images/top_content.png);
	background-position: bottom right;
	/*background-repeat: none;*/
	height: 12px;
	width: 633px;
	padding: 0;
	margin: 0;
	border: 0;
	font-size: 0;
}
div.bottomcontent {
	background-image: url(images/bottom_content.png);
	/*background-repeat: none;*/
	background-position: top right;
	height: 12px;
	width: 633px;
	padding: 0;
	margin: 0;
	font-size: 0;
}
div.contentcontainer {
	background-color: black;
	margin: 0;
	padding: 0;
	margin-left: 155px;
	margin-right: 10px;
	width: 633px;
	border: 0;
}
/*IE hack*/
* html div.contentcontainer {
	margin-left: auto;
	margin-right: 10px;
}
div.contentbg{
	background-image: url(images/bg_content.png);
	background-repeat: repeat-y;
	background-position: right;
	margin: 0;
	background-color: white;
	color: black;
	width: 609px;
	overflow: auto;
	padding: 1px 12px;
	border: 0;
	text-align: justify;
}
div.content{
	font-size: .9em;
	background-image: url(images/bg_egcpicture.png);
	background-repeat: no-repeat;
	background-position: 90% 75%;
	/*background-attachment: fixed;*/
	min-height: 400px;
}
body.home div.content {
	background-position: 22% top;
}
div.footer {
	clear: both;
	float: right;
	height: 1.4em;
	bottom: 0px;
	left: 8px;
	padding: 0px;
	padding-top: 4px;
	margin: 0;
	margin-right: 10px;
	text-align: right;
	font-size: x-small;
	overflow: hidden;
}
p.intro {
	font-style: italic;
	color: #00A7D4;
	text-align: center;
	font-size: 105%;
	font-weight: bold;
}
a:link { color: inherit; }
a:hover { color: inherit; }
a:active { color: inherit; }
a:visited { color: inherit; }

div.horiznav {
	background-color: #ddeeee;
	padding: 3px;
	font-size: 85%;
	border: 1px solid #00A7D4;
}
div.debug {
	clear:both;
	bottom: 0;
	text-align: left;
	width: 80%;
	font-size: small;
}
div.calendar_upcoming {
	clear:right;
	float: right;
	margin: 3px;
	padding: 4px;
	width: 275px;
	background-color: #ddeeee;
	margin-left: 1em;
}
div.calendar_upcoming h4 {
	margin: 2px;
}
table.minicalendar {
	text-align: center;
	width: 100%;
}
table.minicalendar td {
	border-bottom: 1px solid #00A7D4;
}
table.minicalendar td.date {
	width: 7.3em;/*min-width*/
	height: 2em;
}
div.news_highlights {
	text-align: left;
	clear:right;
	float: right;
	margin: 3px;
	padding: 4px;
	width: 275px;
	background-color: #ddeeee;
	margin-left: 1em;
}
div.news_highlights h4 {
	margin: 2px;
}
body.contact ul {
	font-size: 90%;
}
body.memberarea table {
	width: 100%;
	padding: 5px;
	margin: 0;
}
body.memberarea td {
	margin: 0;
	border: 1px solid #00A7D4;
	width: 33%;
}
body.memberarea table.downloadlist td.desc {
	width: 50%;
}
body.memberarea table.downloadlist td.date {
	width: 25%;
}
body.memberarea table.downloadlist td.downloadlink {
	width: 25%;
}
body.memberarea table.calendar {
	width: 100%;
	padding: 5px;
	margin: 0;
	text-align: center;
}
body.memberarea table.calendar td {
	margin: 0;
	border: 1px solid #00A7D4;
	width: auto;
	font-size: 90%;
}
body.memberarea table.calendar td.smalltext {
	font-size: 60%;
}
body.memberarea table.calendar tr {
	height: 1.75em;
}
body.memberarea table.calendar td.contact {
	font-size: 80%;
}
body.memberarea table.calendar td.date {
	width: 8.15em;/*min-width*/
}
h4 {
	margin-top: 9px;
	margin-bottom: 4px;
}
img.left {
	float:left;
	margin: 2px;
}
img.right {
	float: right;
	margin: 2px;
}
div.menu a:hover {
	font-weight: bold;
}
div.box {
	border: 1px solid #00A7D4;
	background-color: #bbeeee;
	text-align: center;
	margin-bottom: 7px;
}
div.box img {
	margin-right: auto;
	margin-left: auto;
	padding: 0;
	max-width: 180px;
}
table.gymfunhours {
	width: 80%;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
	margin-top: 3px;
	margin-bottom: 7px;
}
table.gymfunhours tr {
	height: 1.85em;
}
table.gymfunhours td {
	border: 1px solid black;
	margin: 0;
}
/* Not sure why I had this here.
 * img {
	background-image: url(images/bg_images.png);
	background-color: #dddddd;
}*/
body.home img.frontpage {
	margin-left: auto;
	margin-right: auto;
}
.hidden {
	display: none;
}
p.photogallery {
	text-align: center;
	clear: both;
	padding-left: 10px;
	padding-right: 10px;
}
p.singlephoto {
	text-align: center;
	clear: both;
	padding-top: 0px;
	padding-bottom: 0px;
	margin-top: 1px;
	margin-bottom: 1px;
	padding-left: 10px;
	padding-right: 10px;
}
div.photoback {
	float: right;
	margin-top: 7px;
	margin-right: 7px;
}
div.photodesc {
	text-align: center;
	font-size: 115%;
	padding-bottom: 7px;
}
div.uploading {
	border: 1px solid gray;
}
body.results div.event {
	border-bottom: 2px solid #0093ce;
	margin-left: 2px;
	margin-right: 2px;
}
body.results h2.event {
	text-align: left;
}
body.results div.event div.eventdate {
	float: right;
	font-size: 115%;
	font-style: italic;
	padding-right: 1.2em;
	margin-left: 2em;
	color: #888888;
}
body.results div.event div.team {
	margin-left: 27px;
	padding-left: 3px;
	border-left: 1px solid #cccccc;
}
body.results div.event p.coaches {
	font-size: 90%;
	margin: 0;
	padding: 0;
	padding-right: 1.2em;
	float: right;
	color: #888888;
}
body.results div.event p.result {
	text-align: center;
}
body.results div.event li.result span.result {
	font-size: 85%;
}
p.rsslink {
	text-align: right;
	font-size: 70%;
}
p.rsslink img {
	border: 0;
}
table.kgtimes {
	border: 1px solid #888888;
	text-align: center;
	margin-left: auto;
	margin-right: auto;
}
table.kgtimes td {
	padding-left: 4px;
	border: 1px solid #888888;
	padding-right: 4px;
}
body.editevents div.current {
        font-size: 77%;
}
body.upload div.current {
        font-size: 77%;
}
body.editstaff table {
	width: 610px;
}
body.editresults table.small {
	font-size: 65%;
	border: 1px solid black;
	margin: 0;
	padding: 0;
}
body.editresults table.small th {
	border: 1px solid gray;
}
body.editresults table.small td {
	border: 1px solid gray;
}
body.editresults table.small td input {
	width: 7em;
	font-size: 80%;
}
body.editresults div.explanation {
	margin-bottom:10px;
	float: right;
	clear: right;
	width: 200px;
	margin-top:0;
	padding-top:0;
        font-size: 70%;
}
body.management table {
	border: 1px solid #888888;
	width: 100%;
}
body.management table td {
	border-top: 1px solid #888888;
	padding: 3px;
}
body.editnews textarea {
	width: 90%;
	height: 7.5em;
}
body.staff img.staffphoto {
	float: right;
	margin-left: 5px;
}
body.staff div.staffmember p {
	margin-top: 2px;
	margin-bottom: 9px;
	padding-top: 0px;
}
body.staff div.staffmember {
	clear: both;
	margin-top: 0px;
	margin-bottom: 0px;
	border-top: 1px solid black;
}
body.staff div.name {
	font-size: 1.2em;
	font-weight: bold;
}
body.staff div.job {
	font-style: italic;
	color: #00A7D4;
	font-weight: bold;
}
input.crop {
	width: 3em;
}
td.editimage {
	font-size: 70%;
}
table.editalbum iframe {
	width: 200px;
	height: 200px;
}
table.editalbum input {
	font-siZe: 94%;
}
table.editalbum {
	width: 100%;
	padding: 2px;
	margin: 0;
}
table.editalbum td {
	margin: 0;
	border: 1px solid #00A7D4;
}
table.editalbum td.iframe {
	width: 200px;
}
table.editalbum td h4 {
	display: inline;
}
@media print {
	div {
		background-color:white;
		color: black;
	}
	div.menu {
		display:none;
	}
}

