/* IE hack that won't w3c validate */
#page, #header, #content, #footer, .fadeupper, .fadelower { _height: 1%; }

option { margin: 0 3px !important; padding: 0 2px !important; }
* { margin: 0; padding: 0; }

/* FG, BG */
body { background: #554444; color: #000; font: 11px/150% Georgia; text-align: left; min-width: 760px; margin-bottom: 20px; overflow: auto; }

/* Heading */
h1, h2, h3, h4 { margin: 7px 0 7px 0; }
	h1 { font-size: 21px; color: #332222; font-family: Georgia; font-weight: normal; clear: both; }
	h2 { font-size: 14px; color: #777766; font-family: Verdana; font-weight: normal; text-transform: uppercase; }
	h2.bottomborder { border-bottom: 1px solid white; width: 80%; padding-bottom: 10px; margin-bottom: 10px; }
	h3 { font-size: 16px; color: #800000; font-style: italic; font-weight: normal }
	h4 { font-size: 11px; color: #800000; font-family: Georgia; }
	p { line-height: 150%; margin-bottom: 10px; font-family: Georgia; }

/* Link */
a { text-decoration: none; }
	a:link, a:visited { color: #64202C; }
	a:hover, a:active, a:focus { color: #888844; }

/* winery */	a.winery, a.winery:link, a.winery:visited, a.winerySelected { background: url(/i/nav/nav_winery.gif) 0px 0px no-repeat; width: 67px; }
				a.winery:hover, a.winerySelected, a.winerySelected:visited { background: url(/i/nav/nav_winery_on.gif) 0px 0px no-repeat; }

/* vineyards */ a.vineyards, a.vineyards:link, a.vineyards:visited, a.vineyardsSelected { background: url(/i/nav/nav_vineyards.gif) 0px 0px no-repeat; width: 86px; }
				a.vineyards:hover, a.vineyardsSelected, a.vineyardsSelected:visited { background: url(/i/nav/nav_vineyards_on.gif) 0px 0px no-repeat; }

/* wine */		a.wine, a.wine:link, a.wine:visited, a.wineSelected { background: url(/i/nav/nav_wines.gif) 0px 0px no-repeat; width: 66px; }
				a.wine:hover, a.wineSelected, a.wineSelected:visited { background: url(/i/nav/nav_wines_on.gif) 0px 0px no-repeat; }

/* team */		a.team, a.team:link, a.team:visited, a.teamSelected{ background: url(/i/nav/nav_team.gif) 0px 0px no-repeat; width: 83px; }
				a.team:hover, a.teamSelected, a.teamSelected:visited { background: url(/i/nav/nav_team_on.gif) 0px 0px no-repeat; }

/* trade */		a.trade, a.trade:link, a.trade:visited, a.tradeSelected { background: url(/i/nav/nav_trade.gif) 0px 0px no-repeat; width: 98px; }
				a.trade:hover, a.tradeSelected, a.tradeSelected:visited { background: url(/i/nav/nav_trade_on.gif) 0px 0px no-repeat; }

/* club */		a.club, a.club:link, a.club:visited, a.clubSelected { background: url(/i/nav/nav_club.gif) 0px 0px no-repeat; width: 88px; }
				a.club:hover, a.clubSelected, a.clubSelected:visited { background: url(/i/nav/nav_club_on.gif) 0px 0px no-repeat; }

/* news */		a.news, a.news:link, a.news:visited, a.newsSelected { background: url(/i/nav/nav_news.gif) 0px 0px no-repeat; width: 123px; }
				a.news:hover, a.newsSelected, a.newsSelected:visited { background: url(/i/nav/nav_news_on.gif) 0px 0px no-repeat; }

/* Form */
input, select, textarea { font-size: 11px; font-family: Verdana, Arial; padding-top: 1px; padding-bottom: 1px;}
	.formNameError { background: url('/i/icons/excla.gif') no-repeat right; color: #990000; }
	td.formName, .formNameError { padding-right: 25px; }
	input.radio { vertical-align: middle; }
	input.formInputText, textarea.formInputText { width: 500px; }
	input.formInputDate { width: 80px; }
	select { padding: auto; margin: auto; }

/* List Item */
ul, ol { margin-top: 10px; margin-bottom: 10px; }
	ul { list-style-type: square; margin-left: 15px; }
	ol { margin-left: 20px; }
	ul li, ol li { margin-bottom: 5px; }

/* Structure */
#container { width: 780px; margin: 0 auto 0 auto; background-image: url('/i/layout/bgfade.gif'); background-repeat: repeat-y; }
#page { width: 760px; margin: 0px 10px 0px 10px; }
	#header { background: #200000; height: 225px;}
		#header div { float: left; }
		#logo { background: #200000; width: 149px; }
		#photo { background: #000; }
	#navigation { }
		#navigation ul { list-style-type: none; overflow: hidden; margin: 0; padding: 0; }
		#navigation ul li { float: left; margin: 0; padding: 0; }
		#navigation ul.global li { height: 33px; background: #64202C; }
		#navigation ul.global a { display: block; height: 33px; line-height: 33px; }
		#navigation ul.global a span { display: none; }

		#navigation .secondary { height: 27px; line-height: 27px; }
		#navigation .secondary a { padding: 6px 12px 7px 12px; text-decoration: none; color: #ccc; }
		#navigation .secondary a:hover,
		#navigation .secondary a.selected { color: #FFFFFF; }

	#content { clear: both; background: #DDDDCC; overflow: auto; }
		#content, .fadeupper, .fadelower { min-height: 250px; }
		.fadeupper { background: url(/i/layout/fade_upper.gif) no-repeat top left; overflow: auto; }
		.fadelower { background: url(/i/layout/fade_lower.gif) no-repeat bottom left; overflow: auto; padding-bottom: 80px; }
		#content .bounds { padding: 30px 20px 0 25px; }
		#content .adminbounds { padding: 30px 20px 0 25px; }
			#left { width: 100%; float: left; margin: 0 -440px 0 0; }
			#left .boundsright { margin-right: 439px; }
			#left .boundswidth { width: 250px;}
			#right { float: right; width: 439px; border-left: 1px solid #BBB8AA; min-height: 150px;}
				#right .bounds { padding: 0 0 0 9px; }
			#wide { width: 60% }
			#wide .bounds { padding: 0 0 20px 0; }

    ul#legend { font-family: Verdana, Arial, sans-serif; list-style-type: none; margin-left: 0px; }
    ul#legend span { margin-right: 4px; }

	#footer { background: #888877; color: #99998D; overflow: auto; }
		#footer ul { list-style-type: none; margin: 0 0 0 180px; padding: 7px 0px 0px 0px; }
		#footer ul li { float: left; margin: 0; padding: 0; }
		#footer a, #footer a:visited { color: #BBBBB3; text-decoration:none; }
		#footer a:hover { color: #fff; }
		
	#bottom { margin-top: -1px; }

	legend { font-weight: bold; margin: 10px 0px 10px 5px; padding: 0px 5px; }
	* html legend { background: #DDDDCC; }
	fieldset { border: 1px dotted silver; padding: 12px; }

/* Table */
table { margin-bottom: 10px; border-collapse: collapse; border-color: #ffffff; }
	caption { display: none; }
	td.abstract { color: #333; padding-bottom: 12px; border-bottom: 1px dotted #fff; padding: 12px; }
	td.abstract strong { display: block; color: #555; border-bottom: 1px solid #999999; }
	th { text-align: left; padding: .5em }
	td { padding: .5em 1em .5em .25em; font: 100% Verdana; vertical-align: top; }
	td.odd, tr.odd { background-color: #CFCFBF;  }
	td.pageListItem { padding: 1px 9px 3px 0px; }
	td.wcAppChunk { font-weight: bold; border-top: 1px solid #483030; }
	div.wcAppFloatHalf { width: 48%; float: left; }
	div.wcAppFloatThird { width: 33%; float: left; }
	div.wcAppFloatQuarter { width: 24%; float: left; }

/* Utility */
.alignRight { text-align: right; }
	.clear { clear: both !important; }
	.left { float: left; }
	.right { float: right; }
	.right img { margin: 0 0 1em 1em; }
	.stretch { width: 98%; }


/* Admin */
div.adminMenuChunk, div.adminMenuChunkGd { float: left; width: 28%; margin: 0px 13px 19px 0px; padding: 0px 10px 19px 9px; background: #EAEAD8; height: 18em; }
	div.adminMenuChunkGd { background: #FFFFFF; }
	.messageError { font-weight: bold; background-color: #EEEEEE; border: 1px solid #990000; color: #990000; padding: 3px 3px 5px 3px; }
	.messageSuccess { font-weight: bold; background-color: #EEEEEE; border: 1px solid #009900; color: #009900; padding: 3px 3px 5px 3px; }
	#adminUtility { float: right; margin: 9px 33px 0px 0px; }
	#sitepages { width: 61%; height: 18em; }
	#sitepages ul { list-style-type: none; margin: 0; padding: 0; margin-bottom: 5px; }
	#sitepages li.global { float: left; width: 130px; list-style-type: none; font-weight: bold; margin: 0px 0px 12px 0px; padding: 0px; }
	#sitepages li.global li { font-weight: normal; margin: 0; padding: 0; }
	tr.aliInactive { color: #888888; }
	#filter td, #filter th { margin: 0; padding: 0; padding-right: 10px;  }

/* Wines */
#winetypes { list-style-type: none; margin: 10px 0 0 0; padding: 0; font-size: 13px; font-weight: normal; }
	#winetypes li { margin: .25em .25em 0 0; padding: .25em .25em 0 0; }
	#winetypes .selected a,
	#winetypes .selected a:visited { font-weight: bold; }
	#winelist, #winelist p { }
	#winelist div { clear: both; overflow: auto; _height: 1%; margin-bottom: 10px; }
	#winelist h5 { font-size: 11px; color: #666666; }
	#winelist b, #winelist strong { color: #333333; }
	#winelist ul { margin-bottom: 0; padding-bottom: 0;  }
	#winelist li { font-family: Arial; font-size: 11px; line-height: 1.3em;  }
	#winelist a,
	#winelist a:visited { text-decoration: underline; }

/* team / management */
div.management { width: 30%; float: left; margin: 0px 3% 0px 0px; height: 191px; }
	div.management img { margin-bottom: 3px; }

table.distributor { margin-bottom: 15px; border-collapse: collapse; width: 98%; }
table.distributor td { font-family: verdana; font-size: 11px; padding: 4px 4px }
table.distributor thead td { font-weight: bold; border-bottom: 1px solid #200000; text-align: left; }
table.distributor tbody td { border-bottom: 1px solid #BFBF9A; }