/* ---(Universal)----------------------------------------------- */

body {
	background: #336699 url("../i/pagebg.gif") fixed bottom repeat-x;
	font-family: verdana, tahoma, serif;
	font-size: 1em;
	line-height: 1.1em;
	margin: 0;
	padding: 0;
	}	
	
a:link, a:visited {
	text-decoration: underline;
	color: #3366FF;
	}

a:hover {
	color: #CC6600;
	text-decoration: none;
	}

/* ---(Header)----------------------------------------------- */
	
#wrapper {
	float: left;
	background: #fff url("../i/leftside_bg.gif") repeat-y;
	font-size: 82%;
	border-right: 1px solid #264D74;
	border-bottom: 3px solid #264D74;
	margin: 0;
	padding: 0 0 3em 0;
	width: 761px;
	}
	
#tagline  {
	background: #000 url("../i/tagline.gif") no-repeat;
	color: white;
	text-indent: -10000px;
	margin: 0;
	height: 28px;
	}
	
h1 {
	background: url("../i/iplogo.gif") no-repeat;
	margin: 0;
	width: 161px;
	height: 138px;
	}
	
h1 a {
	display: block;
	text-decoration: none;
	text-indent: -10000px;
	width: 161px;
	height: 138px;
	}
	
#leftside {
	float: left;
	width: 161px;
	}
	
#leftside ul {
	margin: -25px 0 0 0;
	padding-left: 27px;
	}
	
#leftside ul li {
	list-style-type: none;
	margin: 0 0 5px 0;
	padding: 0;
	}
	
#leftside ul li a {
	display: block;
	text-decoration: none;
	text-indent: -10000px;
	height: 26px;
	}
	
#leftside ul li#memberships a { background: url("../i/leftnav_memberships_off.gif") no-repeat; }
#leftside ul li#services a { background: url("../i/leftnav_services_off.gif") no-repeat; }
#leftside ul li#competitions a { background: url("../i/leftnav_competitions_off.gif") no-repeat; }
#leftside ul li#photo a { background: url("../i/leftnav_photogallery_off.gif") no-repeat; }
#leftside ul li#about a { background: url("../i/leftnav_aboutus_off.gif") no-repeat; }
#leftside ul li#contact a { background: url("../i/leftnav_contactus_off.gif") no-repeat; }

.memberships #leftside ul li#memberships a { background: url("../i/leftnav_memberships_on.gif") no-repeat; }
.services #leftside ul li#services a { background: url("../i/leftnav_services_on.gif") no-repeat; }
.competitions #leftside ul li#competitions a { background: url("../i/leftnav_competitions_on.gif") no-repeat; }
.photo #leftside ul li#photo a { background: url("../i/leftnav_photogallery_on.gif") no-repeat; }
.about #leftside ul li#about a { background: url("../i/leftnav_aboutus_on.gif") no-repeat; }
.contact #leftside ul li#contact a { background: url("../i/leftnav_contactus_on.gif") no-repeat; }

#main {
	float: left;
	margin-left: 15px;
	width: 566px;
	}

/* ---(Footer)----------------------------------------------- */

#footer {
	clear: both;
	color: white;
	font-size: 75%;
	line-height: 1.4em;
	margin: 0 0 0 161px;
	padding: 8px 0 45px 0;
	}

#footer a {
	color: white;
	}
	
#footer a:hover {
	background: #264D74;
	color: #ffe9ac;
	}
	
/* ---(Text)----------------------------------------------- */

p {
	margin-top: 0;
	margin-bottom: 1em;
	}
	
	
p#breadcrumb {
	color: #787878;
	font-size: 90%;
	border-bottom: 1px solid #999;
	margin-top: 0;
	margin-bottom: 1.5em;
	padding-bottom: .5em;
	}
	
ul {
	margin-bottom: 1em;
	padding-left: 2em;
	}
	
h2 {
	float: left;
	background-position: 15px 12px;
	background-repeat: no-repeat;
	background-color: #cc6600;
	text-indent: -10000px;
	height: 85px;
	margin-top: 0px;
	margin-bottom: 25px;
	padding: 0;
	width: 599px;	
	}
	
.about h2 { background-image: url("../i/header_aboutus.gif"); }
.contact h2 { background-image: url("../i/header_contactus.gif"); }
.competitions h2 { background-image: url("../i/header_competitions.gif"); }
.memberships h2 { background-image: url("../i/header_memberships.gif"); }
.photo h2 { background-image: url("../i/header_photogallery.gif"); }
.services h2 { background-image: url("../i/header_services.gif"); }


.home h2, h3 {
	background-color: #fff;
	color: #cc6600;
	font-family: georgia, sans-serif;
	font-size: 130%;
	font-weight: normal;
	margin: 1em 0 .5em 0;
	padding: 0;
	}
	
h3 {
	margin-top: 1.5em;
	}

.home #main h2 {
	float: none;
	background: none;
	text-indent: 0;
	width: auto;
	height: auto;
	}
	
/* ---(Front Page)----------------------------------------------- */
	
.home #main {
	float: left;
	margin-left: 13px;
	padding-top: 18px;
	padding-right: 17px;
	voice-family: "\"}\"";
	voice-family: inherit;
	width: 307px;
	}
	
#rightside {
	float: left;
	margin-left: 4px;
	padding-top: 18px;
	width: 246px;
	}
	
.home #rightside img {
	margin-bottom: 12px;
	}
	
dl {
	margin: 0;
	padding-top: 0;
	}
	
dt {
	color: black;
	}
	
.home #rightside dt {
	float: left;
	clear: left;
	width: 65px;
	}
	
dd {
	margin-bottom: .75em;
	margin-left: 0;
	}
	
/* ---(Other)----------------------------------------------- */
	
a img { border: 0; }
	
.rule {
	border-bottom: 1px solid #ccc;
	margin: 1.5em 0 1.5em 0;
	height: 1px;
	}
	
.rule hr {
	display: none;
	}
	
.rightimg {
	float: right;
	clear: right;
	padding: 10px;
	}
	
#rightcolumn {
	float: right;
	width: 290px;
	}
	
#rightcolumn h3 {
	margin-top: 0;
	}
	
img.bigphoto { display: block; border: 2px solid black; margin-bottom: .5em; }
	
/* ---(Tables)----------------------------------------------- */


table { width: 580px; font-size: 100%;}
table td, table th {padding: 3px;}
thead th { font-family: georgia, sans-serif; font-weight: normal; color: #cc6600; text-align: left; }
thead { padding-bottom: .5em;}

table.memberships { font-size: 90%; padding-top: 1.5em;}
table.memberships th { font-family: "lucinda grande", verdana, tahoma, sans-serif; font-weight: bold; }
table.memberships th, table.memberships td { text-align: center; }

table.memberships th.onemonth,
table.memberships th.threemonth,
table.memberships th.sixmonth,
table.memberships th.oneyear {
	width: 21%;
	}
	
table.memberships th.onemonth, p.onemonth { color: #666633; }
table.memberships th.threemonth { color: #336666; }
table.memberships th.sixmonth { color: #333366; }
table.memberships th.oneyear { color: #663333; }

table.memberships td.onemonth { background-color: #F0EAC3; }
table.memberships td.threemonth { background-color: #CAF0E7; }
table.memberships td.sixmonth { background-color: #DCDDF3; }
table.memberships td.oneyear { background-color: #D8B1AD; }

table.memberships td.description { padding-top: 1em; text-align: left; }
table.memberships td.type { text-align: right; white-space: nowrap; }

table.photos { border-collapse: collapse; }
table.photos td img { border: 1px solid; }

