/* ======================================================================================
                                    Styles for all pages
   ====================================================================================== */

*
{
	padding: 0;
	margin: 0;
}

body
{
	font-family: Arial, Helvetica, sans-serif;
	font-size: 75%;
}

a:link, a:visited
{
	color: steelblue;
	text-decoration: none;
}

a:hover
{
	color: steelblue;
	text-decoration: underline;
}

p
{
	margin-top: 0px;
	margin-left: 0px;
	margin-right: 0px;
	margin-bottom: 12px;
}

ul
{
	padding-left: 20px;
	margin-bottom: 12px;
}

li
{
	list-style-type: square;
	margin-bottom: 6px;
}

h1, h2, h3, h4
{
	margin-top: 0px;
	margin-left: 0px;
	margin-right: 0px;
}

h1
{
	margin-bottom: 12px;
}

h2
{
	margin-bottom: 9px;
}

h3
{
	margin-bottom: 6px;
}

h4
{
	margin-bottom: 3px;
}

hr
{
	height: 0px;
	border-top: solid 1px lightsteelblue;
}

table.default
{
	border-collapse:  collapse;
	margin-bottom: 12px;
	border: 1px solid lightsteelblue;
	width: 100%;
}

table.default th
{
	border: 1px solid lightsteelblue;
	background: steelblue;
	color: white;
	text-align: left;
	padding: 2px 5px 2px 5px;
}

table.default td
{
	border: 1px solid lightsteelblue;
	text-align: left;
	vertical-align: top;
	padding: 2px 5px 2px 5px;
}


/* ======================================================================================
                                    Styles for index page
   ====================================================================================== */

body#index
{
	background-color: #e0efff;
}

#page
{
	margin: 10px auto 10px auto;
	width: 920px;
	border: 1px solid lightsteelblue;
	background-color: white;
}

/* --------------------------------------------------------------------------------------
                                            Header
   -------------------------------------------------------------------------------------- */

#headerlogo
{
	float: left;
	padding-left: 30px;
	padding-right: 30px;
	padding-top: 5px;
	padding-bottom: 5px;
	border-right: 1px solid lightsteelblue;
	background-color: white;
}

#header
{
	width: 689px;
	float: left;
	height: 100px;
	background-color: white;
	background-image: url("./images/header-bg.png");
}

#swim21logo
{
	float: right;
	padding-top: 36px;
	padding-bottom: 19px;
	margin-right: 15px;
	border: none;
}

#asalogo
{
	float: right;
	padding-top: 12px;
	padding-bottom: 20px;
	margin-right: 15px;
	border: none;
}

/* --------------------------------------------------------------------------------------
                                            Top Bar
   -------------------------------------------------------------------------------------- */

#topbar
{
	color: white;
	width: 900px;
	float: left;
	border-top: 1px solid lightsteelblue;
	border-bottom: 1px solid lightsteelblue;
	height: 15px;
	padding-left: 10px;
	padding-right: 10px;
	padding-top: 3px;
	padding-bottom: 3px;
	font-weight: bold;
	background-color: dodgerblue;
}

a.topbar:link, a.topbar:visited, a.footer:link, a.footer:visited
{
	color: white;
	text-decoration: none;
}

a.topbar:hover, a.footer:hover
{
	color: white;
	text-decoration: underline;
}

/* --------------------------------------------------------------------------------------
                                       Navigation Bar
   -------------------------------------------------------------------------------------- */

#navbar
{
	margin: 10px 0px 10px 10px;
	display: inline; /* Prevent IE6 double margin bug */
	width: 155px;
	float: left;
	border-top: solid 1px white;
}

.navbttncontainer
{
	border-bottom: solid 1px white;
	width: 155px;
	float: left;
	clear: both;
	display: inline;
	background-color: dodgerblue;
}

.navbttn
{
	font-weight: bold;
	padding-left: 10px;
	padding-top: 3px;
	padding-right: 5px;
	padding-bottom: 3px;
	width: 140px;
	background-color: firebrick;
	float: left;
	display: inline;
}

.navbttn_child
{
	font-weight: normal;
	background-color: darkred;
}

.navbttn:link, .navbttn:visited
{
	color: white;
}

.navbttn_sel
{
	clear: right;
	border-left: solid 1px white;
	margin-left: 5px;
	padding-left: 4px;
}

/* --------------------------------------------------------------------------------------
                                          Content
   -------------------------------------------------------------------------------------- */

#content
{
	float: right;
	background-color: white;
	margin: 0px 0px 0px 0px;
	padding: 10px 10px 10px 0px;
	width: 735px;
	display: inline;
}

/* This is a hack for IE6 */
#minheight
{
	float: left;
	background-color: white;
	margin: 0px;
	padding: 0px;
	width: 10px;
	height: 500px;
	display: inline;
}

/* --------------------------------------------------------------------------------------
                                           Footer
   -------------------------------------------------------------------------------------- */

#footer
{
	clear: both;
	color: white;
	width: 900px;
	border-top: 1px solid lightsteelblue;
	height: 15px;
	padding-left: 10px;
	padding-right: 10px;
	padding-top: 3px;
	padding-bottom: 3px;
	background-color: dodgerblue;
}

/* ======================================================================================
                                    Styles for calendar page
   ====================================================================================== */

table.calendar
{
	border-collapse:  collapse;
	margin-bottom: 12px;
	border: 1px solid lightsteelblue;
	width: 100%;
}

td.day
{
	border: 2px solid lightsteelblue;
	width: 70px;
	text-align: center;
	padding: 2px 5px 2px 5px;
}

td.date
{
	border: 2px solid lightsteelblue;
	width: 25px;
	text-align: right;
	padding: 2px 5px 2px 5px;
}

td.time
{
	border: 2px solid lightsteelblue;
	width: 40px;
	text-align: center;
	padding: 2px 5px 2px 5px;
}

td.event
{
	border: 2px solid lightsteelblue;
	width: 210px;
	text-align: center;
	padding: 2px 5px 2px 5px;
}

td.info
{
	border: 2px solid lightsteelblue;
	padding: 2px 5px 2px 5px;
}

/* ======================================================================================
                                    Styles for results page
   ====================================================================================== */

table.compinfo
{
	border-collapse:  collapse;
	margin-bottom: 12px;
}

th.compinfo
{
	padding: 2px 10px 2px 3px;
	text-align: left;
}

td.compinfo
{
	padding: 2px 50px 2px 3px;
}

table.results
{
	border-collapse:  collapse;
	border: 1px solid lightsteelblue;
	margin-bottom: 12px;
}

th.results
{
	padding: 3px 5px 3px 5px;
	background: steelblue;
	color: white;
	border: 1px solid lightsteelblue;
}

td.results
{
	padding: 3px 5px 3px 5px;
	border: 1px solid lightsteelblue;
	vertical-align: top;
}