	fieldset {
	border: 0;
	font-size: 15px;
	font-weight: bold;
	}
	
	body {
		background: #ffe8c4 url(../images/bg.gif) repeat-x;
		font-family: Helvetica, Arial;
	}
	
	div#container {
		width: 859px;
		margin: 15px auto 0;
	}
	
		body#home div#container {
			width: 588px;
			margin-top: 8%;
		}

		body#home div#logo_container {
			background: url(../images/home_starburst_bg.png) no-repeat;
			width: 585px;
			padding-top: 45px;
			height: 109px;
		}
			
			div#beta_banner {
				position: absolute;
				top: 0;
				background-color: #CC171E;
				width: 100%;
				padding: 5px 0;
			}	
			
				div#beta_banner h5 {
					color: #fff;
					font-size: 13px;
					text-align: center;
				}
				
				div#beta_banner h5 a {
					color: #CFEAFF !important;
				}
				
				div#home_facebook {
					width: 575px;
					margin-top: 30px;
					background: transparent;
				}
	
	div#search_container {
		height: 60px;
		background: none;
		position: relative;
		top: 17px;
		float: right;
		z-index: 200;
	}
	
		body#home div#search_container {
			width: 588px;
			top: 0;
			text-align: center;
			background-color: transparent;
			margin-left: 0;
			float: none;
		}	
		
		body#home div#search_container_footer {
			width: 588px;
			height: 100px;
			background: url(../images/home_search_bg.gif) bottom no-repeat;
			margin-top: -60px;
			position: relative;
			z-index: 50;
		}
		
		body#home div#sponsor_footer {
			width: 588px;
			height: 100px;
			background: url(../images/home_search_bg.gif) bottom no-repeat;
			margin-top: -60px;
			position: relative;
			z-index: 50;
		}
	
	div#nav_container, div#content_container {
		clear: both;
	}
		
		div#nav_container {
			padding-top: 20px;
		}
		
		div#content_container {
			background: #F19D1A url(../images/subpage_top_border.gif) no-repeat top center;
			padding: 25px 25px 5px 25px;
		}
			
			div#inner_content {
				width: 744px;
				background-color: #FFF3DE;
				border-top: 2px solid #D80000;
				padding: 25px 30px 15px;
			}
		
			
			/* results page */
			
			div.event, div.event_selected {
				clear: both;
				min-height: 25px;
				padding: 11px 6px 5px 0;
				background-color: #fff;
				margin-bottom: 0px;
			}
				
				div.event { 
					margin-left: 7px;
					position:relative; 
					border-bottom: 1px solid #EEEEEE;
				}
					
					div.event:last-child { border-bottom: 0 }
				
				div.event_selected {
					background-color: #fffaf3;
					border-top: 1px solid #BEBEBE;
				}
			
			div.results_center {
				margin-bottom: 25px;
			}

			div.center_events {
				clear: both;
				background-color: #fff;
				border-top: 2px solid #EDEBE4;
				-moz-border-radius-bottomleft: 8px;
				-moz-border-radius-bottomright: 8px;
				border-bottom-left-radius: 8px;
				border-bottom-right-radius: 8px;
				padding: 4px 14px 4px 7px;
				margin-bottom: 10px;
				
			}
				
				div.center_events div.clear {
				}
			
			div.event_details_container {
				clear: both;
				padding: 3px 0;
			}
				
				div.event_notes {
					margin-left: 370px;
					width: 260px;
				}
							
			div.after_events_margin {
				margin-top: -26px;
			}
			
	div#content_footer {
		height: 22px;
		background: url(../images/subpage_bottom_border.gif) no-repeat top center;
		margin-bottom: 20px;
	}

	/* IMG and IMG replacement */
	
	h1#hp_logo, li#add_tourney, h2#home_search_title {
		text-indent: -9999px;
	}
	
	h1#hp_logo a, li#add_tourney a, h2#home_search_title {
		display: block;
		background-repeat: no-repeat;
	}
	
	h1#hp_logo a {
		width: 325px;
		height: 76px;
		background-image: url(../images/sub_logo.gif);
		float: left;
	}
	
		body#home h1#hp_logo a {
			margin: 0 auto;
			float: none;
			width: 549px;
			height: 94px;
			background-image: url(../images/hp_logo.gif);
		}
	
 	h2#home_search_title {
		background-image: url(../images/home_search_top_bg.gif);
		width: 588px;
		height: 72px;
	}
	
	 h2#sponsor_search_title {
		background-image: url(../images/sponsor_search_top_bg.gif);
		width: 588px;
		height: 72px;
	}
	
	/* Nav Lists */
	
	ul#nav li {
		display: inline;
		position: relative;
		top: 10px;
		margin-left: 30px;
		font-size: 13px;
	}
		
		ul#nav li a {
			color: #5f3a04;
			text-decoration: none;
		}
	
		ul#nav li#add_tourney {
			float: left;
			margin: 0;
			position: static;
			margin: 0 432px 8px 0;
			top: 0;
		}
			
			body#home ul#nav li#add_tourney { margin: 0 }
		
		ul#nav li#add_tourney a {
			background:url("../images/primary_button_bg.gif") repeat-x scroll 0 0 transparent;
			color:#FFFFFF;
			font-size: 16px;
			font-weight:bold;
			padding:6px 10px 7px;
			text-indent:0;
		}

			
			body#home ul#nav li#add_tourney a {
				font-size:14px;
				margin-right:115px;
				margin-top:5px;
				padding:7px 8px 5px;
			}
			
			body#home ul.footernav { margin-left: 378px; }
	
	/* type */
	
	p {
		line-height: 18px;
		margin-bottom: 12px;
		color: #3d3d3d;
		font-size: 12px;
	}
		
		div.event_notes p {
			font-size: 11px;
			line-height: 13px;
		}
	
	h2 {
		color: #CC171E;
		font-size: 12px;
		display: inline;
	}
		
		body#home h2 {
			font-size: 30px;
			display: block;
		}
	
	h3 {
		color: #FFFFFF;
		font-size: 20px;
		margin-bottom: 12px;
	}	
		
		div.center_events h3 {
			border-bottom: 2px solid #eee;
			color: #949494;
			font-size: 12px;
			margin: 10px 0 0 7px;
			padding-bottom: 3px;
		}
			
			div.center_events h3.no_events { border: 0; margin-top: 6px; }
	
	h4 {
		color: #D80000;
		font-size: 18px;
		margin-bottom: 5px;
	}
		
		div.event h4, div.event_selected h4 {
			color: #CB171E;
			float: left;
			font-size: 14px;
			margin-right: 5px;
		}
			
			body.detail div.event h4 { float: none }
		
		div.event_selected h4 { font-weight: bold; padding: 5px 0 0 8px; }
		
	
	h5 {
		color: #E68800;
		font-size: 14px;
		margin-bottom: 3px;
	}
		
		div.center_header h5 { float: left; position: relative; top: 4px; }
		h5.event_signup a {
			position:absolute;
			right:6px;
			top:36px;
		}
		
		
	h6 {
		font-size: 13px;
		color: #575757;
		margin-bottom: 3px;
	}
	
		div.signup_notes h6 { text-align: left; margin-bottom: 20px; margin-top: 20px; }
		
		div.signup_notes_HP h6  { text-align: center; margin-bottom: 20px; margin-top: -10px; }
		
	
		ul.county_buttons { float:right; margin-top:5px }
		ul.county_buttons li {
			display: inline;
			font-size: 11px;
			color: #4d4d4d;
			margin-left: 5px;
		}
		
		ul.center_info { margin-bottom: 5px }
		ul.center_info, ul.event_info { float: right }	
				body.detail ul.event_info { float: none }
			ul.event_info { margin-right: 6px }
		ul.center_info li, ul.event_info li {
			display: inline;
			font-size: 11px;
			color: #4d4d4d;
			margin-left: 5px;
		}
		
		ul.center_info li.center_add_tourney a {}
		
			ul.event_info li {
				font-size: 12px;
				height: 18px;
				color: #1c1b1b;
				padding: 2px 0 0 19px;
				display: block;
				float: left;
				background-repeat: no-repeat;
				margin-right: 6px;
			}
			
				ul.event_info li.date { background-image: url(../images/calendar.png) }
				ul.event_info li.time { background-image: url(../images/clock.png) }
				ul.event_info li.cost { background-image: url(../images/money_dollar.png); color: #0c7d07; font-weight: bold; padding-left: 15px; width: px; }
				
				ul.event_info li.more_info, ul.event_info li.hide_info {
					font-size: 12px;
					font-weight: bold;
				}
				
				ul.event_info li.more_info a, ul.event_info li.hide_info a {
					background: #FA9900 url(../images/read_more_icon.gif) no-repeat 5px 7px;
					display: block;
					padding: 8px 7px 7px 21px;
					color: #fff;
					text-decoration: none;
					margin-top: -9px;
					margin-right: -6px;
				}
					
					ul.event_info li.hide_info a {
						background-color: #f8cc89;
						background-image: url(../images/read_more_icon_over.gif);
					}		
				
				
				ul.event_more_details li.flyer a {
					background: url(../images/page_white.png) no-repeat;
					padding: 0px 0 0 20px;
					display: block;
					font-size: 12px;
					height: 18px;
				}
				

				
				
						
						/* multi-event style */
						
						ul.multi_info {}
						
						ul.multi_info li strong {
							font-weight: normal;
							font-size: 11px;
							color: #666666;
						}
					
			ul.event_more_details {
				float: left;
				width: 370px;
			}
			
			ul.event_more_details li {
				line-height: 15px;
				margin-bottom: 4px;
				color: #303030;
				font-size: 12px;
			}
				
			ul.event_more_details li.flyer a {}
	
	div.event_notes h6 {
		color: #3d3d3d;
		font-size: 11px;
		height: 12px;
		padding: 2px 0 0 13px;
		margin-bottom: 4px;
		background: url(../images/notes_icon.gif) no-repeat;
	}
	
	/* forms */
	
	form select {
		font-size: 12px;
		cursor: pointer;
		padding: 2px;
	}
	
	div#search_container form {
		display: inline;
		margin-left: 4px;
	}
	
		body#home div#search_container form {
			margin: 0 auto;	
			display: block;
			padding-left: 80px;
		}
		
	div#search_container form select {
		width: 150px;
	}
	
		body#home div#search_container form select {
			width: 150px;
			float: left;
			margin-right: 8px;
			margin-top: 22px;
		}
	
	input#sub_submit {
		position: relative;
		top: 8px;
		margin-left: 6px;
	}
		
		input#home_submit {
			float: left;
			margin-left: 2px;
		}
	
	/* Body form styles */
	
	form#body_form div#bf_col_1,
	form#body_form div#bf_col_2 { width: 377px }
	
	form#body_form div#bf_col_1 { float: left }
	form#body_form div#bf_col_2 { margin-left: 387px; }
		
		form#body_form div#bf_col_ajax_selects div#countydiv {
			display: inline;
		}
	
	form#body_form p, form#body_form div.radio_container, form#body_form div.check_container {
		margin-bottom: 12px;
		min-height: 28px;
	}
		
		form#body_form div#bf_col_ajax_selects p { margin: 0 }
		
	hr.divider {
		margin: 7px 0;
		height: 3px;
		background-color: #DDD4C2;
	}
	
	form#body_form strong {
		color: #D81313;
		font-size: 22px;
		position: relative;
		top: 8px;
	}
	
	form#body_form label {
		float: left;
		width: 148px;
		font-size: 12px;
		font-weight: bold;
		position: relative;
		top: 2px;
	}
		
		form#body_form label span {
			color:#D81313;
			display:block;
			font-size:11px;
		}
		
		form#body_form label strong { margin-right: 4px }	
	
	/* Styles for validation messages */	
	
	form#body_form label.error {
		color: #D81313;
		font-size: 12px;
		margin-left: 148px;
		margin-top: -3px;
		margin-bottom: 8px;
		border: none;
		
	}
	
	form#body_form .error { 
		border: 1px solid #D81313; 
	}
		
		form#body_form div#bf_col_ajax_selects label {
			float: none;
			width: auto;
			display: block;
			margin-bottom: 5px;
		}
			
			form#body_form div.check_container label {
				top: 8px;
			}
	
	form#body_form input, form#body_form textarea {
		font-size: 12px;
		padding: 5px 7px;
		-moz-border-radius: 5px;
		border-radius: 5px;
		-webkit-box-shadow: 0px 5px 10px -1px rgba(0,0,0,0.1);
		-moz-box-shadow: 0px 5px 10px -1px rgba(0,0,0,0.1);
		box-shadow: 0px 5px 10px -1px rgba(0,0,0,0.1);	
		border-color: #ACACAC;
		border-style: solid;
		border-width: 1px;
		width: 200px;
		font-family: Helvetica, Arial;
	}
	
		form#body_form input.bowler_info {
		font-size: 12px;
		padding: 5px 7px;
		-moz-border-radius: 5px;
		border-radius: 5px;
		-webkit-box-shadow: 0px 5px 10px -1px rgba(0,0,0,0.1);
		-moz-box-shadow: 0px 5px 10px -1px rgba(0,0,0,0.1);
		box-shadow: 0px 5px 10px -1px rgba(0,0,0,0.1);	
		border-color: #ACACAC;
		border-style: solid;
		border-width: 1px;
		width: 190px;
		font-family: Helvetica, Arial;
	}
		
		form#body_form input#file {}
		
		form#body_form input.input_date , input.bowler_dob{
			background: #fff url(../images/calendar.png) 3px 4px no-repeat;
			padding-left: 23px;
			width: 177px;
		}
		
		form#body_form textarea { height: 100px }
	
	form#body_form select {
		width: 215px
	}
		
		form#body_form div#bf_col_ajax_selects select {
			margin-bottom: 12px;
		}
			
			form#body_form div.add_select select {
				width: 77px;
				float: left;
				margin-top: 2px;
			}
		
		form#body_form div.radio_box, form#body_form div.check_box {
			padding-top: 5px;
		}	
		
			form#body_form div.check_box { margin-left: 148px }
			
				form#body_form div.check_box hr { padding: 2px 0 }
			
			form#body_form div.add_select div.radio_box {
				float: left;
				padding-left: 12px;
			}
		
		form#body_form div.radio_box input,
		form#body_form div.radio_box label,
		form#body_form div.check_box input,
		form#body_form div.check_box label {
			width: auto;
			padding: 0;
			border: none;
		}
			
			form#body_form div.check_box input { margin-bottom: 2px }
		
		form#body_form div.radio_box label, form#body_form div.check_box label {
			font-weight: normal;
			font-size: 12px;
			position: static;
			float: none;
			margin-left: 5px;
			margin-right: 7px;
		}
	
	form#body_form p#submit_p { margin-left: 148px;  }
		
		form#body_form p#submit_p input { width: 216px }
		
		form#body_form p#submit_p input:hover {}		
		
		form#body_form p#submit_p input:active {}
		
			
			form#body_form div#bf_col_ajax_selects p#submit_p {
				padding-top: 8px;
			}
		
		
		
	/* a hrefs */
	
	a:link {
		color: #BB3C40;
	}
	
	a:visited, a:hover, a:active {
		color: #AC6A6D;
	}
	
	/* datepicker styles */
	
	div#ui-datepicker-div {
		display: none;
		background-color: #FFFFFF;
		padding: 6px;
		border: 2px solid #F19D1A;
		-moz-border-radius: 5px;
		border-radius: 5px;
		cursor: default;
		margin-top: 3px;
	}
	
	a.ui-corner-all {
		font-size: 10px;
		text-transform: uppercase;
		background-color: #CB171E;
		color: #fff;
		-moz-border-radius: 2px;
		border-radius: 2px;
		padding: 2px 3px 0px 3px;
		cursor: pointer;
	}
		
		a.ui-corner-all:hover { background-color: #B4181D }
	
	a.ui-datepicker-next {
		float: right;
	}
	
	div.ui-datepicker-title {
		color: #CB171E;
		font-size: 13px;
		padding: 6px 0;
		font-weight: bold;
		text-align: center;
	}
	
	table.ui-datepicker-calendar {
		text-align: center;
	}
	
	table.ui-datepicker-calendar thead {
		font-size: 12px;
		color: #000;
		padding-bottom: 2px;
	}
	
	table.ui-datepicker-calendar tbody tr td a {
		text-decoration: none;
		display: block;
		width: auto;
		color: #CB171E;
		height: auto;
		padding: 3px;
		font-size: 13px;
		background-color: #FEF2DD;
	}
		
		table.ui-datepicker-calendar tbody tr td a:hover {
			background-color: #DDD3C2;
			color: #F50008;
		}
		
		table.ui-datepicker-calendar tbody tr td.ui-state-disabled {
			background-color: #EBEBEB;
		}
	
	table.ui-datepicker-calendar tbody tr td.ui-datepicker-today a {
		color: #fff;
		background-color: #EA9919;
		font-weight: bold;
	}
	
	/* buttons */
	
		
		a.primary, a.secondary, a.newbuttons,
		button.primary, button.secondary, 
		form#body_form p#submit_p input {
				border: 1px solid #CB171E;
				background: url(../images/primary_button_bg.gif) repeat-x;
				-moz-border-radius: 5px; /* FF1+ */
				-webkit-border-radius: 5px; /* Saf3+, Chrome */
				border-radius: 5px; /* Opera 10.5, IE 9 */
				color:#FFFFFF;
				cursor: pointer;
				font-weight: bold;
				padding: 5px;
				font-size: 13px;
				text-decoration:none;
				text-shadow:0 -1px 0 rgba(0,0,0,0.7);
		}
		
		a.primary:hover, button.primary:hover, form#body_form p#submit_p input:hover, ul#nav li#add_tourney a:hover { border-color: #8A0E12; color: #F0D9DA; }
		
		a.primary:active,
		button.primary:active,
		form#body_form p#submit_p input:active, ul#nav li#add_tourney a:active {
			outline: 0;
			background-position: 0 -32px;
		}
			
			div#search_container button.primary {
				font-size: 12px;
				padding: 2px 6px;
				margin-left: 3px;
				font-weight: bold;
			}
				
				body#home div#search_container button.primary {
					font-size:18px;
					padding:3px 9px;
					position:relative;
					right:44px;
					top:17px;
				}
		
		
		a.secondary, button.secondary {
				background: url(../images/secondary_button_bg.gif) repeat-x;
				border: 1px solid #a8a8a8;
				-moz-border-radius: 15px; /* FF1+ */
				-webkit-border-radius: 15px; /* Saf3+, Chrome */
				border-radius: 15px; /* Opera 10.5, IE 9 */
				color:#5f5f5f;
				font-size: 11px;
				font-weight: normal;
				padding: 3px 7px 2px;
				text-decoration:none;
				text-shadow:0 1px 0 rgba(255,255,255,0.8);
		}
		
		a.secondary:hover, button.secondary:hover { border-color: #9C9C9C; color: #383838;
		}
		
		a.secondary:active, button.secondary:active {
			border-color: #9C9C9C; color: #383838;
			background-position: 0 -42px;
			padding-top: 4px;
		}
		


		
	
	
	