/* 
	Buffalo Triathalon Club
	Master Screen CSS
	Alison Endacott
	August 2009
	
	COLORS
	
	
 */

/* ------------------------ 
		reset
------------------------ */
 
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, ins, kbd, q, s, samp,
small, strike, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend, caption {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-weight: inherit;
	font-style: inherit;
	font-size: 100%;
	font-family: inherit;
	vertical-align: baseline;
}

	

	ol, ul {
		list-style: none;
	}
	/* tables still need 'cellspacing="0"' in the markup */
	table {
		border-collapse: separate;
		border-spacing: 0;
	}
		caption, th, td {
			text-align: left;
			font-weight: normal;
		}

	body {
		line-height: 1.5;
		color: #292929;
		background: #261c1d url(/content/v1/us/img/bg.jpg) repeat-x top;
		font-size: 62.5%;
		font-family: Georgia, "Times New Roman", Times, serif;
	}
	
		a,a:link
		a:visited
		a:hover
		a:active {
		
			color: #03A1A1;
			text-decoration: none;
			border-bottom: 1px dotted #ccc;
		}
		
			a:hover {
				border-bottom: 1px solid #03A1A1;
			}
			
		img,
		a img,
		a:hover img {
			border: 0!important;	
		}
	
		#innerContent a {
			border: 0!important;	
		}
		
			#innerContent a:hover {
				text-decoration: underline;	
			}
	
		 #accessibility {
			position: absolute;
			left: -9999px;
		 }
		
	#container {
		 width: 964px;
		 margin: 0 auto;
	}
		 
/* ------------------------ 
		head
------------------------ */
 #head {
	background: url(/content/v1/us/img/bg-header.gif) no-repeat top;
	margin-top: 15px;
	height: 247px;
	position: relative;
 }
 
 	h1 {
		position: absolute;
		top: -10px;
		right: 32px;
	}
	
		h1 a,
		h1 a:hover {
			border: 0!important;
		}
		
	p#tagline {
		position: absolute;
		left: -9999px;
	}
	
	#updates {
		position: absolute;
		bottom: 70px;
		left: 10px;
		color: #fff;
		padding: 10px;
		font-size: 1.1em;
	}
	
	#navigation {
		position: absolute;
		top: 199px;
		left: 10px;
		width: 940px;
		padding: 0 20px;
	}
	
		#navigation li {
			float:left;
			_display: inline;
			font-size:25px;
			margin-right:20px;
			padding-bottom:10px;
		}
		
			#navigation li a {
				color: #fff;	
			}
			
				#navigation a:hover {
					border-bottom: 1px solid #fff
				}
				
		/* single drop down styles */		
		#navigation ul { /* all lists */
			list-style: none;
			z-index: 90;
			border-bottom: 4px solid #7d2126;
			border-top: 0;
			margin: 0;
			padding: 14px 0 0 0;
			background: ;
			clear: both;
			background: #a4161c url(/content/v1/us/img/navarrow.gif) no-repeat 0 0;
			top: 28px;
			_width: 200px;
		}

	/* drop down */

	#navigation ul li {
		display: block;	
		text-indent: 0;
		float: none;
		padding: 0;
		display: block;
		text-indent: 0;
		*height: 1%;
		margin: 0;
		border-left: 4px solid #7d2126;
		border-right: 4px solid #7d2126;
	}
		#navigation ul a,
		#navigation ul span {
			margin: 0;
			padding: 8px 15px;
			
			background: transparent;
			color: #fff;
			height: auto;
			text-indent: 0;
			font-size: 12px;
			border: 0;
			display: block;
			text-decoration: none;
			width: 135px;
		}
		
			#navigation ul a:hover {
				background: #801217;
				border: 0;
				}
				
		#navigation li ul { /* second-level lists */
			position: absolute;
			z-index: 99999;
			left: -999em;  /*using left instead of display to hide menus because display: none isn't read by screen readers */
			
			*margin-left: -80px;
			}
		
		#navigation li:hover ul, #navigation li.sfhover ul { /* lists nested under hovered list items */
			left: auto;
		}			
		
		/* IE 7 drop down fix, nav will stick when you change focus on the page otherwise */
			#navigation li.hover,
			#navigation li:hover,
			#navigation a:hover {
				*position: static;
			}

 
/* ------------------------ 
		content
------------------------ */
 #content {
	background: url(/content/v1/us/img/bg-content.gif) no-repeat bottom;
	padding: 10px;
	font-size: 1.1em;
 	min-height: 300px;
	_height: 300px;
 }
 
	h2 {
		font-size: 2.5em;
		padding-bottom: .2em;
		font-weight: normal;
	}
	
	h3 {
		font-size: 2em;
		font-weight: normal;
	}

 	#innerContent {
		width: 598px;
		float: left;
		_display: inline;
		padding: 10px 30px;
		font-size: 1.1em;
	}
	
		#innerContent h2 {
			color: #b41920;
		}
		
		#innerContent p {
			padding: .5em 0;
		}
		
		#innerContent ul,
		#innerContent ol {
			margin-left: 20px;
			padding: 2px 0;
			list-style: disc;
		}
		
		#innerContent img.team {
			border: 10px solid #e8d0d1;
		}
	
	#sideBar {
		width: 284px;
		float: left;
		_display: inline;
	}
	
		#sideBar h2 {
			color: #03a3a3;	
			margin: 0 15px;
		}
		
		/* event list */
		
		#eventList h2 {
			background: url(/content/v1/us/img/events.gif) no-repeat right;	
			margin-bottom: 15px;
		}
		
		#eventList dl {
			clear: both;
			padding-left: 15px;
		}
		
			#eventList dt {
				color: #3b3b3b;
				font-size: 1.7em;
				text-align: right;
				display: block;
				width: 148px;
				float: left;
				_display: inline;
				line-height: 1;
			}
				#eventList a {
					color: #3b3b3b;	
					border-bottom: 1px dotted #3b3b3b;
					border: 0!important;
				}
			
			#eventList dd.date {
				position: relative;
				left: 12px;
				float: right;
				display: block;
				width: 99px;
				height: 37px;
				background: url(/content/v1/us/img/rightFold.gif) no-repeat;
				color: #fff;
				padding: 4px 0 4px 20px;
				font-size: 1.1em;
			}
			
		#sideBar #newsletter {
			color: #fff;
			clear: both;
			margin: 15px 0;
			padding: 10px 15px;
			*padding-top: 5px;
			background: #03a3a3 url(/content/v1/us/img/newsletter.gif) no-repeat 240px 10px;
		}
		
			#sideBar #newsletter h3 a {
				color: #fff;
				border: 0;
				padding-right: 20px;
				background: url(/content/v1/us/img/pdf_blue.gif) no-repeat right;
			}
			
	/* sponsors */
	
	#sponsors li {
		display: block;
		background: #c7ebeb;
		margin: 5px;
		padding: 5px;
		text-align: center;
	}
	
		#sponsors li img{
			display: block;
			margin: 0 auto;
		}
	
	/* photos */
	#photos {
		background: #e8d0d1;
		width: 597px;
		margin-left: -28px;
		padding: 10px 30px 0 30px;
	}
	
		#photos dl {
			float: left;
			_display: inline;
			padding-right: 15px;
		}
		
			#photos dt,
			#photos dd {
				float: left;
				_display: inline;
				padding-right: 5px;
			}
			
			#photos img {
				border: 2px solid #d3bdbe;	
			}
	
	#viewAllPhotos {
		clear: both;
		margin-bottom: 20px;
	}
	
		#viewAllPhotos a {
			display: block;
			width: 159px;
			height: 40px;
			color: #fff;
			background: url(/content/v1/img/viewAllPhotos.gif) no-repeat;
			position: relative;
			left: -42px;
			top: 34px;
			border: 0;
			padding-left: 40px;
			padding-top: 1px;
			font-size: 14px;
		}
	
/* news/events */

#newsDate {
	padding: 0 0 1em 0;
	margin-top: -20px;
	color: #999;
}

#viewAllArticles {
	margin-top: 1em;	
}

	#viewAllArticles a {
		display: block;
		width: 159px;
		height: 40px;
		color: #fff;
		background: url(/content/v1/img/redArrowLeft.gif) no-repeat;
		position: relative;
		left: -40px;
		border: 0;
		padding-left: 40px;
		padding-top: 1px;
		font-size: 14px;	
	}
	
	#newsArticles #search {
		padding-bottom: 20px;
		
	}
	
		#search dl {
			float: left;	
			padding-top: .2em;
		}
	
		#search dt,
		#search dd {
			float: left;
			_display: inline;
			padding-right: 10px;
		}
		
		#search dd {
			padding-right: 15px;
		}
		
			#news_article_content {
				width: 280px;
			}
			
			#search input {
				float: left;		
			}
	
	#eventListPage dl {
		clear: both;
		position: relative;
		padding-top: 15px;
		padding-bottom: .5em;
		margin-bottom: 1em;
		border-bottom: 1px dotted
	}
	
		#eventListPage dt {
			font-size: 18px;
		}
	
		#eventListPage dd.date {
			position: absolute;
			top: 0;
			left: 0;
			font-size: 11px;
		}
		
/* contact page */

fieldset dl {
	padding: .5em 0;	
}

	dd textarea,
	dd input{
		width: 350px;	
	}
	
	dd textarea {
		height: 75px;	
	}
	
	dd.checkbox input {
		width: auto;	
	}
	
	input.button {
		color: #fff;
		background: #8a1319;
		font-size: 14px;
		font-family: Georgia, "Times New Roman", Times, serif;
		border: 0;
		padding: 3px 5px;
	}
	
/* ------------------------ 
		footer
------------------------ */
#footer {
	padding: 30px;
	background: #000 url(/content/v1/us/img/bg-footer.gif) no-repeat top;	
	font-family: Arial, Helvetica, sans-serif;
	font-size: 1.1em;
}

	#footer li {
		display: inline;
		padding-right: 20px;
	}
	
		#footer a {
			color: #c7ebeb;	
			border: 0;
		}
		
			#footer a:hover {
				color: #fff;	
			}
			
	#copyright {
		color: #fff;	
	}
	
	p#madsprocket {
		float:right;
			margin-right: 20px;
			margin-top: -35px;
			text-align: center;
			}
	
				p#madsprocket img {
					display: block;
					text-align: center;
				}

/* ------------------------ 
		EASY CLEARING 
------------------------ */
.clear { clear:both;}
.clearfix:after {
	content:".";
	display:block;
	height:0;
	clear:both;
	visibility:hidden;
}
.clearfix {display: inline-table;}
/* Hides from IE-mac \*/
* html .clearfix {
height:1%;
}
*+html .clearfix {
height:1%;
}
.clearfix {
display:block;
}
/* End hide from IE-mac */
