/* Default style sheet for downwright.ca - 2007-Sep-24 */

/* standard elements */
html {
	min-height: 100%;
}
* {
	margin: 0;
	padding: 0;
}
a {color: green;
	text-decoration: underline;
}
a:hover {color: #7D1B7E;
	text-decoration: none;
}
img {
	border: 0;
}
body {
	background: #7E984D url(../images/bg.jpg) repeat-x left bottom;
	color: #000;
	font: normal 0.75em Utopia, sans-serif;
}
p,code,ul {
	padding-bottom: 0.75em;
}
h1 {
	padding-top: 6px;
}
h1 {
	font: normal 2.0em Utopia, sans-serif;
	color: #7D1B7E;
	margin-bottom: 4px;
}
h3 {
	color: #7D1B7E;
	padding-top: 3px;
	padding-bottom: 3px;
}
li {
	list-style: none;
}
/* misc */
.clearer {
	clear: both;
}
.left {
	float: left;
}
.right {
	float: right;
}
/* structure */
.container {
	background-color: #FFF;
	font-size: 1.2em;
	margin: 0 auto;
	padding: 0 10px 10px;
	width: 820px;
}
/* header */
.top {
	padding: 10px 10px 0;
}
/* title */
.header {
	display: none;
}
.header .left, .header .right {
	color: #EDDA74;
	height: 105px;	
}
.header .left {
	background-color: #77933D;
	font: normal 2.8em "URW Chancery L", "Trebuchet MS", sans-serif;
	line-height: 105px;
	width: 604px;
	text-align: left;	
	
}
.header .right {
	background-color: #77933D;
	overflow: auto;
	width: 212px;
}
.header .right p,.header .right h2 {
	padding: 0 16px;
}
.header .right h2 {
	padding-top: 16px; font: normal 1.2em "Trebuchet MS",sans-serif;
}
/* navigation */
.navigation {	
	display: none;
}
.navigation a {
	background: transparent url(../images/nav.jpg) left top repeat-x;
	border-right: 2px solid #D8EBD8;
	color: #333300;
	display: block;
	float: left;
	text-align: center;
	font: bold 1em sans-serif;
	line-height: 41px;
	padding: 0 18px;
	text-decoration: none;
	width: 80px;
}
.navigation a:hover {
	background: transparent url(../images/nav.jpg) left bottom; 
	color: #EDDA74;
	text-decoration: none;
}
ul.navigation a {
	display: block;
	line-height: 41px;
	float: left;
	margin: 0 10px 10px 0;
	padding: 0;
	border: 0;
	text-align: center;
	width: 164px;
}
ul.navigation a:hover {
	border: 0;
}
/* main */
.main {
	border-top: 4px solid #FFF;
	background: url(../images/bgmain.gif) repeat-y;
}
/* sub navigation */
.sidenav {
	display: none;
}
.sidenav h2 {
	color: #7D1B7E;
	font-size: 1.2em;
	line-height: 30px;
	margin: 0;
	padding-left: 12px;
}
.sidenav p {
	padding: 2px 0 2px 5%;
}
.sidenav ul {
	padding: 0;
	border-top: 1px solid #D8EBD8;
}
.sidenav li {
	border-bottom: 1px solid #D8EBD8;
}
.sidenav li a {
	background-color: #77933D;
	font-size: 1.1em;
	color: #EDDA74;
	display: block;
	padding: 2px 0 2px 5%;
	text-decoration: none;
	width: 95%;
}
.sidenav li a:hover {
	background-color: #EDDA74;
	color: #7D1B7E;	
}
/* content */
.content {
	float: left;
	height: 556px;
	margin: 10px 0;
	padding: 0 16px;
	width: 571px;
}
.content .descr {
	color: #664;
	font-size: 0.9em;
	margin-bottom: 6px;
}
.content p {
	color: #000;
}
/* footer */
.footer {
	display: none;
}
.footer a,.footer a:hover {color: #FFF;}
#Error {
	color: #FF4444;
	font-weight: normal;
}
#Error em {
	color: #FF4444;
	font-weight: italics;
}
#Good {
	color: green;
	font-weight: normal;
}
/* Added in August 2007 to accomodate our Trip West */
.content .imgright {
padding: 5px;
border: 1px solid #D8EBD8;
margin-left: 4px;
float: right;
}
.content .imgleft {
padding: 5px;
border: 1px solid #D8EBD8;
margin-right: 4px;
float: left;
}
/* Added in September 2007 for photo albums. Tested it in Wine page */
/* Modified 2007-Sep-21	*/
.captioned_photo {
	margin: .5em .5em .5em .5em;
	padding: 0;
	line-height: 1em;
}
.captioned_photo p {
	margin: 0;
	padding: .5em 0;
	font: .75em/1.75em Verdana, sans-serif;
	text-align: center;
	color: #666;
}
.captioned_photo img {
	padding: 0;
	display: block;
	margin-left: auto;
	margin-right: auto;
}
.captioned_photo_left {
	float:left;
	margin: .5em .5em .5em .5em;
	padding: 0;
	line-height: 1em;
}
.captioned_photo_left p {
	width: 85%;
	margin: 0;
	padding: .5em 0;
	font: .75em/1.75em Verdana, sans-serif;
	text-align: center;
	color: #666;
}
.captioned_photo_left img {
	margin: 0;
	padding: 0;
	display: block;
}
.captioned_photo_right {
	float:right;
	margin: .5em .5em .5em .5em;
	padding: 0;
	line-height: 1em;
}
.captioned_photo_right p {
	width: 85%;
	margin: 0;
	padding: .5em 0;
	font: .75em/1.75em Verdana, sans-serif;
	text-align: center;
	color: #666;
}
.captioned_photo_right img {
	margin: 0;
	padding: 0;
	display: block;
}
/* Added in September 2007 for "Book Reviews" */
h2.books {
	color: #7D1B7E;
	font-size: 1.5em;
	font-style: normal;
	line-height: 30px;
	margin: 0;
	padding-left: 10px;
	padding-top: 3px;
	padding-bottom: 3px;
}
h3.books {
	color: green;
	font-size: 1.0em;
	font-style: italic;
	line-height: 20px;
	margin: 0;
	padding-left: 20px;
	padding-top: 2px;
	padding-bottom: 2px;
}
table.books {
	border: none;
}
td.books {
	border: none;
	padding: 5px;
	height: 384px;
}
/* Added in September 2007 for "new" items in Index.php */
/* Discontinued using this but left it in for future use */
p.solid {border-style: solid; } 
p.double {border-style: double; } 
p.groove {
	border-style: groove;
	border-color: #7D1B7E;
	border-width: 5px;
	padding: 0px;
	margin: 3px;
} 
p.dotted {border-style: dotted; } 
p.dashed {border-style: dashed; } 
p.inset {border-style: inset; } 
p.outset {border-style: outset; } 
p.ridge {border-style: ridge; } 
p.hidden {border-style: hidden; }


#new-list {
	margin: 2px 2px 2px 232px;
	padding: 0;
}
#new-list ul {
	display: block;
}
#new-list li {
	list-style: disc;
	list-style-position: inside;
}
#new-list br {
	clear: left;
}
/* Added 2007-Sep-23 for adding new items to database */
ul.choices {
	float: left;
}
ul.choices li {
	display: inline;
	margin: 0;
	padding: 0;
}
ul.choices a {
	background: transparent url(../images/nav.jpg) left top repeat-x;
	border-right: 2px solid #D8EBD8;
	color: #333300;
	display: block;
	float: left;
	text-align: center;
	font: bold 1em sans-serif;
	line-height: 24px;
	padding: 0 6px;
	text-decoration: none;
	list-style: none;
	width: 100px;
}
ul.choices a:hover {
	background: transparent url(../images/nav.jpg) left bottom; 
	color: yellow;
}
/* Added 2007-Sep-23 to clean up submit forms like "contact us" */
fieldset {
	margin: 1.5em 0 0 0;
	padding: 0;
}
legend {
	margin-left: 1em;
	color: green;
	font-size: 1.5em;
	font-weight: bold;
}
fieldset ol {
	padding: 1em 1em 0 1em;
	list-style: none;
}
fieldset li {
	padding-bottom: 1em;
}
fieldset.submit {
	border-style: none;
}
label {
	display: block;
}
/* Added 2007-Sep-24 to accomodate radio buttons and checkboxes */
fieldset fieldset {
	margin-bottom: -2.5em;
	border-style: none;
	background-color: transparent;
	background-image: none;
}
fieldset fieldset legend {
	margin-left: 0;
	font-weight: normal;
}
fieldset fieldset ol {
	position: relative;
	top: -1.5em;
	margin: 0 0 0 11em;
	padding: 0;
}
fieldset fieldset label {
	float: none;
	width: auto;
	margin-right: auto;
}
/* Added 2007-Oct-06 for Wine of the Week, and upcoming wine pages */
.wine h1 {
	text-align: center;
	font: Utopia, sans-serif;
	font-size: 2.25em;
	color: #7D1B7E;
}
.wine p {
	font: bold Ariel, sans-serif;
	color: #000;
}
.wine em {
	color: #7D1B7E;
	font-weight: bold;
}
/* Added 2007-Nov-24 for image map testing */
.winemap {
	background: url(../images/WineRegionMap.jpg);
	width: 548px;
	height: 315px;
	clear: left;
}
// Added 2007-Dec-07
#nav, #nav ul { /* all lists */
	padding: 0;
	margin: 0;
	list-style: none;
	line-height: 1;
}
#nav a {
	display: block;
	width: 140px;
}
#nav li#northam {
	position: relative;
	top: 90px;
	left: 64px;
	height: 24px;
	float: left;
}
#nav li#europe {
	position: relative;
	top: 94px;
	left: 116px;
	height: 24px;
	float: left;
}
#nav li#southafr {
	position: relative;
	top: 248px;
	left: 16px;
	height: 24px;
	float: left;
}
#nav li#southam {
	position: relative;
	top: 232px;
	left: 112px;
	height: 24px;
	float: left;
}
#nav li#ausnz {
	position: relative;
	top: 232px;
	left: 286px;
	height: 24px;
	float: left;
}
#nav li ul { /* second-level lists */
	position: absolute;
	background: #7E984D url(../images/bg.jpg) repeat-x left bottom;
	left: -999em; /* using left instead of display to hide menus because display: none isn't read by screen readers */
}
#nav li:hover ul, #nav li.sfhover ul { /* lists nested under hovered list items */
	left: auto;
	width: 140px;
}
// Added 2007-Dec-12 for new grapesandwine page
.grapewine {
	float: left;
}
.grapewine table {
	border: 1;
	border-collapse: collapse;
}
.grapewine td {
	width: 538px;
	border: 0;
	padding: 5px;
}
.grapewine caption {
	font-style: italic;
	text-align: left;
}
.trivia {
	color: #EDDA74;
	background-color: #77933D;
}
.winery {
	background-color: #EDDA74;
}

