tr.topbar td { height: 40px; line-height: 40px; background: url(/images/bg_top_red.gif) bottom left repeat-x; color: #fff; font-weight: bold; vertical-align: top; }

html, body { height: 100%; }
body { _width: expression(document.body.clientWidth < 1002? "1000px" : "100%"); min-width: 980px; }

/* ***** Major Groups ***** */
table.main { height: 100%; text-align: center; _width: expression(document.body.clientWidth < 962? "960px" : "100%"); min-width: 960px; }
body.home table.main tr.central td { text-align: center; vertical-align: middle; }
table.main tr.central td { vertical-align: top; }
td.upper { height: auto; vertical-align: top; }
td.lower { height: 40px; vertical-align: bottom; }

h2 { font-size: 1.2em; }

/* ***** Top/Bottom/Search Bar Content ***** */
tr.topbar td { height: 40px; }
tr.topbar a:link, tr.topbar a:visited { color: #fff;  }
tr.topbar a:active, tr.topbar a:hover { color: #ccc; }
tr.topbar table { width: 100%; height: 40px; }
tr.topbar img.fav_star { margin: 8px 0 -4px 0; }
tr.topbar td.user_info { text-align: left; padding-left: 10px; }
tr.topbar td.menu_links { text-align: right; padding-right: 10px; vertical-align: middle; }

tr.bottombar td { background: #0F2A57; color: #fff; text-align: center; height: 40px; }
body.home tr.bottombar td { height: 270px; }
body.home tr.bottombar td tr td { height: auto; background: none; text-align: center; }

tr.bottombar td.edging { width: 50%; }
tr.copyright td  { padding: 8px 0; color: #fff; font-size: 12px; vertical-align: middle; }
tr.copyright a.copyright { color: #fff;  }
tr.copyright a.copyright:hover { color: #ccc; }

td.featured_title { font-weight: bold; width: 421px; padding: 8px 0; vertical-align: middle; }

tr.searchbar td { background: #ededed url(/images/searchbar_bg.png) top left repeat-x; height: 77px; text-align: left; vertical-align: top; }
tr.searchbar td tr td { background: none; height: auto; }
tr.searchbar .links { padding-left: 10px; color: #000; font-weight: bold; }
tr.searchbar .links { padding-left: 10px; color: #000; font-weight: bold; }
tr.searchbar a:link, tr.searchbar a:visited { color: #000; }
tr.searchbar a:hover { color: #666; }

tr.searchbar .search_button { margin: 12px 2px 0 10px; }
tr.searchbar td.searchbox { text-align: right; width: 350px; min-width: 350px; }
tr.searchbar td.searchbox input#txtSearch { margin: 7px 0 0 8px; line-height: 17px; font-size: 14px; padding: 3px; width: 240px; height: 20px; }
tr.searchbar td.searchbox input#txtCityZip { margin: 4px 0 0 8px; line-height: 17px; font-size: 14px; padding: 3px; width: 180px; height: 20px; }

/* ***** Login Page ***** */
table.login td { padding: 2px; }
table.login .lesser { font-size: 80%; }

/* ***** Content Section ***** */
.text { margin: 0 auto; width: 800px; text-align: left; }
table.text td { text-align: left; }

tr.central a:link, tr.central a:visited { color: #0000ff; }
tr.central a:hover { color: #D61010; }

table.singleblock { width: 800px; margin: 0 auto; }

/* ***** Home Page ***** */
table.home_content { width: 701px; margin: 0 auto; }
tr.content_header td { height: 200px; text-align: center; }
table.section_tabs td { padding-right: 9px; }
table.section_tabs td.last { padding-right: 0; }

table.searchbox { width: 701px; height: 78px; background: top left no-repeat url(/images/bg_home_search.gif);  text-align: left; vertical-align: top; }
table.searchbox td { padding: 1px 0 0 10px; vertical-align: top; }
table.searchbox td.search_button { vertical-align: top; padding-top: 29px; }
table.searchbox #txtSearch { width: 240px; }
table.searchbox #txtCityZip { width: 240px; }
tr.search_titles { height: 36px; }
tr.central table.searchbox tr.search_titles td { vertical-align: top; text-align: left; }
tr.central table.searchbox tr.search_inputs td { vertical-align: top; padding-top: 2px; text-align: left; }

tr.text_links td { color: #000; text-align: center; padding: 10px 0; font-weight: bold; }
tr.text_links a:link, tr.text_links a:visited { color: #000; }
tr.text_links a:hover { color: #666; }

input.top-textbox { font-size: 14px; height: 20px; line-height: 20px; margin-left: 8px; margin-top: 4px; vertical-align: baseline; padding: 3px; }
table.home_content input.top-textbox { line-height: 20px; height: 25px; }

/* ***** Search Headers ***** */
tr.results_header td { color:#000000; font-size:14px; font-weight:bold; line-height:22px; }
tr.results_header .search_term { color:#D61010; }
tr.results_header td.page_info { text-align: right; }
tr.results_header td.search_detail { }
tr.central tr.results_header td.featured_header { width: 172px; text-align: center; vertical-align: bottom; }

/* ***** Search Results ***** */
body.search tr.central td { vertical-align: top; }
td.resultcontent { padding: 15px 20px 20px 20px; height: auto; }
.resultcontent td { text-align: left; }

.three_col_center img.ad { border: 1px solid black; }

tr.listing { min-height: 100px; _width: expression(document.body.clientWidth < 622? "620px" : "100%"); min-width: 620px; }
tr.listing td { padding: 3px; font-size: 11px; line-height: 1.3em; }
tr.listing td td { padding: 0; background: none; border: none; font-size: 11px; line-height: 1.3em; }
td.icons { text-align: center; }
td.description { min-width: 350px; }
td.description div.biz_name { font-weight: bold; min-width: 350px; }
td.spacer { height: 5px; line-height: 5px; }
body.search img.fav { margin-bottom: 5px; }

table.addr_detail { height: 100%; min-height: 60px; }
table.addr_detail tr td.addr_lower { vertical-align: bottom; height: 16px; }

tr.lis-gold td { border: solid 3px #000000; background: #FDC03E url('/images/back_gold.jpg') top left repeat-x; }
tr.lis-silver td { border-top : solid 1px #21498C; border-bottom : solid 1px #21498C; border-right : solid 1px #21498C; background: #B5CFE7 url('/images/back_silver.jpg') top left repeat-x; }
tr.lis-bronze td { border-top : solid 1px #81A1D6; border-bottom : solid 1px #81A1D6; border-right : solid 1px #81A1D6; background: #EFFBFF url('/images/back_bronze.jpg') top left repeat-x; }
tr.lis-online td { background:#EFECEC; border-top : solid 1px #E1E0E0; border-bottom : solid 1px #E1E0E0; border-right : solid 1px #E1E0E0; }
tr.lis-none td { background:#FFFFFF; border-top : solid 1px #E1E0E0; border-bottom : solid 1px #E1E0E0; border-right : solid 1px #E1E0E0; }
tr.lis-fav td { background:#E3F3E3; border-top : solid 1px #E1E0E0; border-bottom : solid 1px #E1E0E0; border-right : solid 1px #E1E0E0; }

div.favbox { margin: 5px; }
div.editbox { margin: 0px 5px 5px 5px; }

/***** NEW Classes used in Display of Listings *****/
.lis-gold		{ background: #FDC03E; }
.lis-silver		{ background: #D7D5D5; }
.lis-bronze		{ background: #FFF2E2; }
.err-message 	{ font-size:13px; color:#FF0000; font-weight: bold; }
.err-tips 		{ font-size:13px; color:#000000; line-height: 24px; }

.lis-phone	{ width: 150px; }
.lis-addr { width: 180px; }
.description { min-width: 350px; }

tr.lis-gold td.lis-left			{ border-right: solid 1px #000000; }
tr.lis-gold td.lis-middle		{ border-left: solid 1px #000000; border-right: solid 1px #000000; }
tr.lis-gold td.lis-right			{ border-left: solid 1px #000000; }
tr.lis-silver td.lis-left		{ border-left: solid 1px #21498C; } 
tr.lis-bronze td.lis-left		{ border-left: solid 1px #81A1D6; } 
tr.lis-online td.lis-left		{ border-left: solid 1px #E1E0E0; } 
tr.lis-fav td.lis-left		{ border-left: solid 1px #E1E0E0; } 
tr.lis-none .lis-left			{ border-left: solid 1px #E1E0E0; }
tr.listing td.lis-left { width: 30px; max-width: 36px; min-width: 30px; }
tr.listing td.lis-upper { border-bottom: none; }
tr.listing td.lis-lower { border-top: none;  vertical-align: bottom; }

div.infobox { position: relative; height: auto; padding-bottom: 1.5em; }
div.bottomlinks { position: absolute; bottom: 0; }

/* ***** Section Classes ***** */
.sidebar { font-size: 11px; line-height: 1.4em; background: #F5F5F5; vertical-align: top; width: 180px; text-align: left; padding: 10px; border: solid 1px #000; }
.sidebar hr { margin: 5px 0; line-height: 5px; }
.three_col_center { padding: 0 20px; }

/* ***** Stats Classes ***** */
table.statsbox { width: 450px; margin: 1em auto; border: solid 1px #000; background: #fafafa; }
table.statsbox td { padding: 5px; }
table.statsbox h1 { text-align: center; }

/* ***** Featured Businesses ***** */
body.search table.featured td { width: 172px; text-align: center; vertical-align: top; }

/* ***** iFrame ***** */
body.iframe { background: #fff; color: #0F2A57; text-align: center; width: auto; min-width: inherit; }
body.iframe table.main { width: 100%; min-width: inherit; }
body.iframe tr.topbar td { background: none; }
body.iframe tr.central a:link, body.iframe tr.central a:visited { color: #ccc; }
body.iframe tr.central a:hover { color: #eee; }
body.iframe h3 { margin: 0; }

table.editblocks { width: 400px; height: 300px; margin: auto; }
table.editblocks td { width: 400px; height: 100px; }
table.editblocks td.closed { background: url(/images/edit_closed_off.gif) top left no-repeat; }
table.editblocks td.report { background: url(/images/edit_report_off.gif) top left no-repeat; }
table.editblocks td.submit { background: url(/images/edit_submit_off.gif) top left no-repeat; }
table.editblocks tr#rowData td { height: 200px; text-align: center; }

/* ***** Common Form Bits ***** */
td.section	{ padding: .5em 0 .25em 0; font-size: 16px; }
.textbox	{ border: 1px solid #0F2A57; font-size:10pt; color: #000000; font-weight:normal; margin-bottom: .25em; padding: 2px; }
.button		{ border: 1px solid #000; font-size:10pt; background-color:#0F2A57; color: #FFFFFF; font-weight: normal; padding: .25em 2em; margin-top: 1em; }
.button:hover, .button_hover	{ background: #ae1f23; }
.note		{ color:#AE1F23; }

/***** Contact Us Stuff *****/

p.contact-indent { padding-left: 240px; }

/***** XMAS Classes *****/

.xmas_bg        { background: url(/images/bg_xmas.jpg) top left; }
table td.xmas_title     { background: url(/images/bg_xmas_title.jpg) top left; }

a.xmas			{ color:#0000FF; text-decoration:none; }
a.xmas:hover	{ color:#ff0000; text-decoration:none; }

a.xmas2			{ color: #ffffff; font-weight:bold; text-decoration:none; }
a.xmas2:hover	{ color: #c0ff00; font-weight:bold; text-decoration:none; }

.xmas-name { font-size:25px; color: #145400; color: #AF1201; font-family: Times New Roman, Georgia, Serif; font-weight:bold; padding-top:12px; padding: 12px 20px 0 0; line-height:30px;}
.xmas-discount { font-size:14px; color: #000000; }
.xmas-address { font-size:14px; color: #ffffff; font-weight:bold; line-height:20px;}

.xmas-title-1 	{ font-size:18px; font-weight:bold; color: #ff0000; line-height:20px;}
