/* code rules */
body {
	/* background-color:#036; */
}

h1, h2, h3, h4, h5, h6 {
	margin: 0px;
	padding: 0px;
}
h2{
 	font-size: 114%;
 	color: #006699;
}

h3{
	text-align:center;
	 font-size: 100%;
	 color: #334d55;
}
h5{
 font-size: 90%;
 font-weight:bolder;
 text-decoration:underline;
 color: #333333;
}
h6{
 font-size: 80%;
 font-weight:bolder;
 color:#FF0000;
}
ul{
	list-style:none;
}
li{
	margin-left:-40px;
}

a:link, a:visited, a:hover {
	color:#006699;
	text-decoration: none;
}

/*-------------------*/

#outer_wrapper {
/* because "min-width" is not supported by IE, these pages use a script from PVII */
min-width:740px;
/* this is to "minimize" an IE bug related to background painting, but because it creates a gap below the footer, the same declaration is also added to #footer */
width:100%;
/* faux-column technique, this is the left one */
}
#wrapper {
/* faux-column technique, this is the right one */
width: 1024px;
margin-left:auto;
margin-right:auto;
}


#main_header_old {
text-align:right;
font-size:small;
height: 120px;
float: left;
background-image:url(images/header.gif);
/* this is to "give layout" to the element and fix some peek-a-boo bug in  IE (v6 sp2) */
width:100%;
/* the above declaration creates an horizontal scroll bar in IE, this is to get rid of it */
margin:0 -1px;
padding-top: 2px;
}

#main_header {
width: 100%;
height: 120px;
display:inline;
}

.main_header_left_edge {
display:inline;
background-image:url(/images/bowlingtourneycom_header_01.gif);
width: 29px;
min-height: 100px;
}

.main_header_left_logo {
background-image: url(/images/bowlingtourneycom_header_02.gif);
width: 371px;
min-height: 100px;
}

.main_header_middle {
background-image:url(/images/bowlingtourneycom_header_03.gif);
min-height: 100px;
}

.main_header_right_image {
background-image:url(/images/bowlingtourneycom_header_04.gif);
width: 353px;
min-height: 100px;
}

.main_header_right_edge {
background-image: url(/images/bowlingtourneycom_header_05.gif);
width: 31px;
min-height: 100px;
}

.logo img {
margin-left: 5px;
}

.header_global {
background-image:url(images/header_global.gif);
background-repeat: no-repeat;
height: 23px;
color:#FFFFFF;
text-align: center;
}

.header_global a {
color:#AE0000;
}

.header_overlay {
height: 120px;
}

#header_login {
font-size: small;
height: 25px;
}

#header_login input {
font-size:xx-small;
}

#global_links {
font-family:Verdana, Arial, Helvetica, sans-serif;
font-size: small;
color: #ffffff;
text-align:center;
height: 31px;
/* this is to "give layout" to the element and fix some peek-a-boo bug in  IE (v6 sp2) */
/* the above declaration creates an horizontal scroll bar in IE, this is to get rid of it */
margin-top: -8px;
}

.global_spacer_left {
background-image:url(/images/global_links_01.gif);
width: 30px;
height: 31px;
}

.global_spacer_center {
background-image:url(/images/global_links_03.gif);
height: 31px;
}

.global_spacer_center a {
padding-right: 10px;
padding-left: 10px;
text-align: center;
}

.global_spacer_right {
height: 31px;
background-image:url(/images/global_links_05.gif);
width: 30px;
}

#t_sponsors {
height: 50px;
border-top: 2px solid #000000;
border-bottom: 2px solid #000000;
background-image:url(images/t_sponsors_bckgrnd.gif);
/* this is to "give layout" to the element and fix some peek-a-boo bug in  IE (v6 sp2) */
width:100%;
margin: 0 -1px;
/* the above declaration creates an horizontal scroll bar in IE, this is to get rid of it */
}
#t_sponsors h5{
color:#000000;
font-size: 80%;
}
#container {
float:left;
width:100%;
/* IE doubles the margins on floats, this takes care of the problem */
display:inline;
/* this is where Ryan Brill (author of the ALA's article) and I go in "opposite directions" */
}
#left {
float:left;
margin-top: 10px;
width:190px;
background-color: #071E40;
background-repeat:repeat;
/* IE doubles the margins on floats, this takes care of the problem */
display:inline;
}
#main {
/* the width from #left (150px) + the negative margin from #container (200px) */
margin: 10px 170px 10px 200px;
background-color: #ffffff;
}

#photobox {
/* the width from #left (150px) + the negative margin from #container (200px) */
margin: 10px 210px 10px 200px;
}
#photobox img{
	padding-right: 5px;
	margin-top: 5px;
	float:left;
}

/* good to know: if #sidebar is to be shorter than #main, then there is no need for this rule */
#sidebar {
float: right;
background-color: #ffffff;
}
#sidebar img{
	padding: 1px 1px 1px 1px;
	background-color: #E8E8E8;
	border: none;
}
#sidebar li{
	margin-bottom:10px;
}
#sidebar p {
/* this is to make sure IE (v6 sp2) *displays* this element (same problem as #header, but using a different fix) */
position:relative
}
#footer {
/* see #outer_wrapper  */
width:100%;
/* this is to clear #container */
clear:both;
border-top:1px solid #000000;
border-bottom:1px solid #000000;
background:#355282;
color: #cccccc;}
/* this is the class that is applied to 2 structural hacks in the markup. The first "meaningless" element is used to clear #left in NN6 and the last one is used to clear #container in NN4 */
.clearing {height:0;clear:both}


/* Leftside Box Style Information */
#headlines{
	background-color: #B8C7DB;
	border: 1px solid #2C4875;
	padding: 0px;
	font-size: 80%;
	margin-bottom:10px;
}
.bulletins{
	overflow:auto;
	height: 75px;
	padding-top: 1px;
	margin-left: -3px;
	border-top: 1px solid #B8C7DB;
	border-bottom:1px solid #B8C7DB;
	background-color: #F8F6F2;
	font-size: 100%;
}
.bulletins a{
color:#006699;
}

.bulletins li{
font-family:Verdana, Arial, Helvetica, sans-serif;
font-size: 90%;
margin-top: 3px;
}
#search{
color: #ffffff;
	background-color:#F7F7F7;
	font-size: x-small;
}

#search a{
text-align: center;
display: block;
color:#FF0000;

}
#search a:hover{
background-color: #cccccc;
}

.search_box_header{
background-image:url(images/Locate_Tournament.gif);
height: 25px;
}
.search_box_header h3{
font-size: 90%;
margin-left: -30px;
font-family:Verdana, Arial, Helvetica, sans-serif;
color:#0066FF;
}

#search select{
	font-size: 10px;
	 margin: 0px;
 	padding: 0px;
}

#search input{
	font-size: 10px;
	 margin: 0px;
 	padding: 0px;
}

#search label{
	display: block;
	margin: 0px;
	padding: 0px;
}

#user_login {
color: #ffffff;
background-color:#F7F7F7;
font-size: small;
}

.user_login_header{
background-image:url(/images/login_register.gif);
height: 25px;
}

.need_to_login {
margin-left: 15px;
}

.user_login_main {
padding-top: 5px;
background-image:url(images/left_nav_text_background.gif);
padding-bottom: 5px;
}

.user_login_main form {
margin-top: -5px;
margin-left: 10px;
}

.user_login_main input {
font-size: x-small;
}

.state_listing {
color:#CCCCCC;
font-weight: bold;
padding-top: 5px;
background-image:url(images/left_nav_text_background.gif);
}
.state_listing form{
margin: 0 auto;
padding-left: 25px;
}
.sidebar_ads {
	padding: 1px;
}
.sectionLinks{
	font-family:Verdana, Arial, Helvetica, sans-serif;
	font-size: x-small;
}

.sectionLinks a:hover{
	background-color:#506078;
}
.sectionLinks a {
display:block;
}
.sectionLinks ul {
margin-top: 0;
margin-bottom: 0px;
}
.sectionLinks li {
color:#FFCC33;
border-bottom: 1px solid #003399;
}

.sectionLinks a:link, .sectionLinks a:hover, .sectionLinks a:visited{
color:#FFCC33;
font:Verdana, Arial, Helvetica, sans-serif;
}

.header_ads img{
	margin-top: 5px;
	margin-right: 25px;
	border: 1px solid #000000;
	text-decoration: none;
}
.header_ads a{
	text-decoration: none;
}
.news_header{
border-bottom: 1px solid #2C4875;
background-image:url(images/news_header.gif);
}
.news_header h3{
font-family:Verdana, Arial, Helvetica, sans-serif;
color:#FFCC33;
}
.featured_tournaments_box_header{
background-image:url(images/featured_tournaments.gif);
height: 25px;
}

.bowling_info_box_header{
background-image:url(images/bowling_information.gif);
height: 25px;
}

.featured_links_box_header{
background-image:url(images/featured_links.gif);
height: 25px;
}

.other_links_box_header{
background-image:url(images/other_links.gif);
height: 25px;
}

.left_nav_bottom {
height: 25px;
background-image:url(images/left_nav_bottom.gif);
}

.left_text {
font-size: x-small;
background-image:url(images/left_nav_text_background.gif);
}

.left_text a {
color:#FFCC33;
}

.left_text hover {
color:#FFCC33;
background-color: #526075;
}

.left_text ul {
color:#FFCC33;
margin-left: 50px;
margin-right: 5px;
}

.box_header h3{
font-family:Verdana, Arial, Helvetica, sans-serif;
margin-left: 10px;
font-size: 90%;
text-align:left;
color:#0066FF;
}
.box_header_mid{
margin-left: -10px;
border-top: 1px solid #000000;
border-bottom: 1px solid #000000;
background-image:url(images/box_header.gif);
}
.box_header_mid h3{
margin-left: 10px;
font-size: 90%;
text-align:left;
color:#ffffff;
}

/* photobox Information */

.photobox_text {
/* the width from #left (150px) + the negative margin from #container (200px) */
margin: 10px 10px 10px 0px;
}
.photobox_list {
padding-left: 15px;
}
.photobox_text h4{
text-align:center;
}
.photobox_text ul{
list-style: disc;
}
.thumbnail {
width: 90%;
text-align:center;
margin: 0 auto;
padding: 0px 5px 5px 5px;
border: 3px solid #000000;
}

.thumbnail img{
display: inline;
margin: auto;
}
/* end photobox */

/* Tournament Registration Form */


#registration {
background-color: #ffffff;
width: 450px;
margin: 0 auto;
}
.reg_header{
background-color: #2C4875;
text-align:center;
color: #ffffff;
border: 1px solid #172E54;
margin-bottom: 3px;
}
.reg_field label{
float:left;
width: 150px;
font-weight: bold;
}

.reg_field input {
margin-bottom: 5px;
}
.reg_field select {
margin-bottom: 5px;
}

/* end Tournament Registration Form */

/* Tournament Listings */

#listing_background {
width: 80%;
margin: 0 auto;
background-image:url(images/listing_bkgnd.gif);
border: 1px solid #000000;
padding-bottom: 10px;
}

.listing_header {		/* header for page */
text-align:center;
background-color:#999999;
border-bottom: 2px solid #000000;
}

.listing_header h5 {
text-decoration: none;
}

.t_listings {		
width: 90%;
margin: 0px auto 0px auto;
font-size: 12px;
border: 3px solid #000000;
background-image:url(images/tournament_bckgnd.gif);
}
.t_listings hr{
width: 97%;
color:#000066;
}
.t_listing_date {
border-bottom: 1px solid #000000;
background-color:#cccccc;
}

.t_listing_info {
}

/* Photobox Order Form */


#photobox_order {
width: 70%;
margin: 0 auto;
}

.photobox_header {
margin: 5px auto 0px 0px;
border: 1px solid #000000;
background-color: #999999;
text-align: center;
}

.photobox_footer {
padding: 2px;
margin-top: 5px;
border: 1px solid #000000;
background-color: #999999;
text-align: center;
}

.photobox_body {
padding: 0px 0px 5px 5px;
background-color: #e4e4e4;
border: 1px solid #000000;
}

.photobox_field {
padding-top: 2px; 
font-size: 75%;
font-weight:bold;
}

.photobox_field input{
margin-left: 5px;
}

.photobox_options {
width: 50%;
}
.photobox_insert {
width: 50%;
float: right;
}


/* end Pohotobox Order Form */

/* News Article Styles */


.article {
margin-right: 260px;
font-family:"Times New Roman", Times, serif;
font-size: small;
}

.questions {
font-size: 85%;
}

.questions li{
padding-bottom: 5px;
}

.article_post{
text-align:center;
font-size: 85%;
}

.article_post_left{
padding-left: 30px;
margin-top: 15px;
margin-bottom: 5px;
width: 90%;
text-align:left;
font-size:85%;
}

/* News Article Program CSS */
.nav {
		font-family:Arial, Helvetica, sans-serif;
		color: #000000;
		font-size: 11px;
		height: 25px;
		background: #ffffff;
	}

.news_title {
		background: #ffffff;
		color: #000000;
		font-size: 14px;
		font-weight: bold;
		height: 25px;
		}

.news_postby {
		background: url('./images/subgrad_bg_02.jpg') repeat;
		color: #000000;
		font-size: 10px;
		}

.news_body {
		background: #ffffff;
		color: #000000;
		font-size: 12px;
		}

.news_body a:link
{
		color: #000000;
		font-size: 12px;
}

.news_body a:visited
{
		
		color: #000000;
		font-size: 12px;
}

.news_body a:hover, .tfoot a:active
{
		color: #146397;
		font-size: 12px;
}

.news_commlinks {
		background: url('./images/subgrad_bg_02.jpg') repeat;
		color: #000000;
		font-size: 10px;
		height: 25px;
		}

.news_commlinks a:link
{
		color: #000000;
		font-size: 10px;
		height: 25px;
		text-decoration: none;
}

.news_commlinks a:visited
{
		color: #000000;
		font-size: 10px;
		height: 25px;
		text-decoration: none;
}

.news_commlinks a:hover, .tfoot a:active
{
		color: #cccccc;
		font-size: 10px;
		height: 25px;
		text-decoration: none;
}


/*COPYRIGHT MUST REMAIN VISABLE! */
.copyright {
		color: #000000;
		font-size: 10px;
		text-align: center;
		}

.copyright a:link
{
		color: #000000;
		font-size: 10px;
		text-align: center;
}

.copyright a:visited
{
		color: #000000;
		font-size: 10px;
		text-align: center;
}

.copyright a:hover, .tfoot a:active
{
		color: #000000;
		font-size: 10px;
		text-align: center;
}

.text {
		color: #000000;
		font-size: 12px;
		text-align: center;
		font-weight: bold;
		}

hr {
        border-top: 1px dashed #146397;
        border-bottom: 1px solid #146397;
        height: 2px;
		width: 98%;
		background-color: #7CADCE;
    }
input.submit {
		border: 1px solid #2C4875;
		background: #7CADCE;
		font-size: 10px;
		font-weight: bold;
		}
		
/* bowling links */

.b_links li{
margin-left: 5px;
padding-bottom: 5px;
font-size: 115%;
}

#main_filler{
display:inline;
}

.article_box {
width: 200px;
float: left;
border: 1px dotted #000000;
}

.recent_tournaments{
width: 200px;
float:left;
margin-left: 210px;
border: 1px dotted #000000;
}

.new_box{
width:200px;
border: 1px solid #000000;
}

.about-bt{
font-family:Verdana, Arial, Helvetica, sans-serif;
font-size: small;
margin-right: 260px;
}

.about-bt li{
margin-bottom: 3px;
font-size:90%;
}
.about-bt strong{
font-size: 100%;
}

#right_main {
float: right;
width: 250px;
}

/* news article snippet on index.php */
.news_articles {
width: 250px;
background-image:url(images/new_article_background.gif);
border: 1px solid #000000;
padding-bottom: 5px;
}
.news_articles li {
color: #000000;
}

#current_headline {
font-size: small;
margin-right: 255px;
}

#current_headline h3 {
width: 50%;
margin: 0 auto;
text-align: center;
color: #000000;
font-size: 150%;
}

#current_headline hr {
width: 90%;
}

.press_releases {
margin-right: 260px;
padding: 5px;
}

.press_releases li {
margin-bottom: 5px;
}

.news_articles ul{
margin: 10px 5px 10px 0px;
border-top: 1px dotted #000000;
border-bottom: 1px dotted #000000;
}

.news_articles li{
list-style: none;
margin-left: 5px;
font-family:Verdana, Arial, Helvetica, sans-serif;
font-size: 65%;
margin-bottom: 5px;
color:#336699;
}
.news_articles a:hover {
text-decoration:underline;
}


.news_articles h3{
color: #000000;
text-align:center;
text-decoration:underline;
}

.news_articles h4{
color:#000066;
text-decoration:underline;
text-align:center;
margin-top: 5px;
font-size: 85%;
}

.news_articles h5{
font-size: 75%;
text-align: center;
text-decoration:none;
}

.news_articles img{
float:right;
width: 150px;
}

.news_article_text {
font-family:Verdana, Arial, Helvetica, sans-serif;
font-size: 80%;
border: 1px dashed #000099;
border-bottom: 1px dashed #000099;
background-image:url(images/new_article_background.gif);
}

.news_article_text p {
margin: 3px;
}

.news_article_text a{
font-size: 70%;
color:#0066CC;
}

/* end news snippet */

/* Acutal Press Release Page */

.news_article_actual {
margin: 0 auto;
margin-right: 260px;
font-size: small;
}

.news_article_actual h4{
color:#000066;
font-size: 110%;
text-decoration:underline;
margin-top: 15px;
}

.news_article_actual h5{
font-size: 80%;
text-decoration:none;
}

.news_article_actual img{
float:right;
margin-top: 15px;
width: 150px;
}

.news_article_actual_text {
font-family:Verdana, Arial, Helvetica, sans-serif;
font-size: 85%;
}

.news_article_actual_text a{
color:#0066CC;
}

/* Bowling Center Directory Listings */

#alley_listing_background {
margin-right: 600px;
margin: 0 auto;
border: 1px solid #000000;
padding-bottom: 10px;
}

.alley_listing_header {		/* header for page */
text-align:center;
background-color:#999999;
border-bottom: 2px solid #000000;
}

.alley_listing_header h5 {
text-decoration: none;
}

.alley_listings {		
width: 95%;
background-image:url(images/new_article_background.gif);
margin: 10px auto 0px auto;
font-size: 85%;
border: 1px solid #000000;
padding-left: 5px;
}

.alley_listings h4{
text-decoration:underline;
color:#000099;
margin-bottom: -15px;
}
.alley_phone {
color:#CC0000;
}

/* Bowlers Links */
.bowlers_links {
margin: 10px;
margin-right: 260px;
border: 2px dotted #000099;
padding-left: 5px;
background-image:url(images/new_article_background.gif);
}

.bowlers_links p {
margin-bottom: 10px;
}

.bowlers_links h4 {
font-size: 110%;
text-decoration:underline;
}

.bowlers_links ul {
margin-top: 2px;
font-size: 105%;
}
/* BowlingTourney.com Contest Information */
 #contest {
 margin:right: 105px;
 }
 .contest_header h2{
 text-align:center;
 text-decoration:underline;
 color:#FF0000;
 font-size: 150%;
 }
 .contest_rules {
 width: 80%;
 margin: 0 105px 0 auto;
 }
 .contest_rules h3 {
  color: #000000;
 text-decoration:underline;
 text-align:left;
 }
 .contest_rules p{
 font-size: 80%;
}
#balls {
float: right;
display: block;
width: 100px;
}

#upcoming_events{
/*width: 250px;*/
height: 200px;
}

.upcoming_events_header {
/*height: 250px;*/
/*background-image:url(images/upcoming_events_header.gif);*/
}

.upcoming_list_container {
/*background-image:url(images/upcoming_events_background.gif);*/
}

.upcoming_list {
overflow:auto;
height: 175px;
font-size: x-small;
margin-left: 10px;
margin-right: 10px;
}

.upcoming_events_bottom {
height: 25px;
/*background-image:url(images/upcoming_events_bottom.gif);*/
margin-bottom: 5px;
}

#bt_news{
/* margin-right: 201px; */
}

.last_five {
	width:: 100%;
/*width: 250px;*/
}

.last_five_header {
/*height: 25px;
background-image:url(images/last_five_header.gif);*/
}

.last_five_articles {
/*background-image:url(images/last_five_background.gif);*/
}

.last_five_list {
overflow:auto;
height: 175px;
font-size: x-small;
margin-left: 10px;
margin-right: 10px;
}

.last_five_bottom {
height: 25px;
/*background-image:url(images/last_five_bottom.gif);*/
}

#user_registration {
width: 100%;
font-size: small;
}

#user_registration input {
font-size: x-small;
}