/* 

Screen stylesheet for smmgardens.com.

	| Created January 2005. 
	| Last updated June 2008.

Site design copyright James Muspratt 2005-2008.
http://jamesmuspratt.com 

*/



/* Create fixed width column in center of browser window, specify some global styles */

body {
	margin:0;
	padding:0;
	/*background:#d1ddd5;*/
	background-color:#5D8029;
	text-align:center;
    font-family: verdana, helvetica, arial, geneva, sans-serif;
	color:#3C5615;
	}
body * {	
	margin:0;
	padding:0;
	border:none;
	}
	
#wrap {
	text-align:left;
	margin:0 auto 0px auto;
	position:relative;
	width:790px;
	}
	
a, a:link, a:visited {
	color:#4A6620; 
	padding-bottom:1px;
/*	border-bottom:1px solid #5D8029; */
	border-bottom:1px solid #cfcbb5;
	font-weight:900; text-decoration:none;
	}
a:hover, a:active {background-color:#fbffb4; border-bottom:1px solid #838884;}
strong {font-weight:900;}
em {font-style:italic;}

/* Replace the h1 in the header div with the background image at the top of every page */
#header {
	margin:0;
	width:790px;
	height:200px;
	}
#header h1 {
	width:790px;
	height:200px;
	}	
#header h1 a {
	display:block;
	width:790px;
	height:200px;
	border:0;	
	text-indent:-9999px;
	background:#fff url(header.jpg) no-repeat left top;
	}

/* Navigation sidebar */

/* "You are here" effect */ 
#home #nav_home a, #consultations #nav_consultations a, #transformations #nav_transformations a, 
#lectures #nav_lectures a, #civicplanting #nav_civicplanting a, #bio #nav_bio a, #links #nav_links a {
	color:#3C5615;
	font-weight:900;
	background:transparent url(diamond.gif) no-repeat center right;
	}

/* Place and style navigation links */
ul#nav {	
	position:absolute;
	top:200px;
	left:0;
	margin:0 13px 20px 30px;
	list-style-type:none;
	text-indent:0;
	width:170px;
	border-right:1px solid #d1ddd5;
	}
ul#nav li {
	text-align:right;
	margin:5px 0 6px 0;
	font-size:10px;
	}
ul#nav li a {
	font-size:13px;
	font-weight:normal;
	display:block;
	border:0;
	margin:0 8px 0 4px;
	padding:2px 12px 2px 2px;
	}
ul#nav a:hover {
	color:#4A6620;
	background-color:#fbffb4;
	}
ul#nav li p {
	margin:0;
	padding:0 12px 0 0;
	}


/* Set styles and positioning for all "main" elements
(everything that's not in the header, nav, or footer) */
#main {
	margin:0;
	padding:0 40px 100px 222px;
	font-size:11px;
	background: #fff url(main.jpg) repeat-y center top;
	}
#main .clear {
	clear:both;
	}
#main p.clear {
	height:0;
	width:0;
	margin:0;
	}
#main img {
	border:2px solid #b6c3ba;
	margin:0 0 15px 0;
	}
#main img + p {
	margin-top:5px;
	}

#main img.left {
	margin:0 25px 15px 0;
	float:left;
	}
#main img.right {
	margin:0 0 15px 25px;
	float:right;
	}
#main p {
	margin:0 0 15px 0;
	line-height:16px;
	}
#main p + h2, #main ul + h2 {
	margin-top:25px;
	}
#main h2 {
    font-family: georgia, "Times New Roman", times, serif;
    font-weight:normal;
    font-size:18px;
	color:#6f6a4b;
	margin:0 0 5px 0;
	}
#main h3 {
	font-size:10px;
	color:#6f6a4b;
	border-bottom:1px dotted #6f6a4b;
	font-family:arial, helvetica, verdana, sans-serif;
	letter-spacing:1px;
	text-transform:uppercase;
	margin:22px 0 10px 0;
	padding:2px 0;
	}
#main h4 {
	margin:10px 0 2px 0;
	font-size:11px;
	color:#666;
	}
/*Gotta make an exception to the above for the 
Getting the Most... article: */

#consultations #main h4 {
	margin:3px 0 15px 0;
	}

#main ul, #main ol {
	margin:8px 0 8px 20px;
	}
#main ul li, #main ol li {
	margin:0 0 8px 0;
	line-height:15px;
	}
	
#main div.right {
	float:right;
	margin-left:20px;
	width:200px;	
	}
#main .callout {
	margin:20px 0 20px 0;
	border:1px solid #d1ddd5;
	background-color:#f6f6f6;
	}
#main .callout h2 {
	margin:5px 8px 2px 10px;
	font-size:18px;
	}
#main .callout p {
	margin:10px;
	}

/*Transformation page thumbnails*/

#transformations h2, #transformations h3 {
	clear:both;
	}

#main ul.thumbs {
	text-indent:0;
	list-style:none;
	}
#main ul.thumbs li {
	float:left;
	margin:2px 50px 10px 0;
	width:170px;
	text-align:center;
	}
#main ul.thumbs a {
	margin:0;
	line-height:12px;
	border:none;
	}
#main ul.thumbs a img {
	border:none;
	margin:0;
	padding:10px 10px 5px 10px;
	background: transparent url(http://www.smmgardens.com/css/thumb_bg.jpg) no-repeat 0 0;
	}
#main ul.thumbs a:hover img {
	background-color:#fbffb4;
	background-image:none;
	}

/* Unique elements here and there */

#contact {
	width:500px;
	}
#contact p {
	text-align:right;
	}
a#jump {
	padding-left:15px;
	background:transparent url(uparrow.gif) no-repeat 0 3px;
	}
a:hover#jump {
	background-color:#fbffb4;	
	}

a.pdf {
	display:block;
	background:transparent url(pdf.gif) no-repeat 10px 10px;
	padding:20px 20px 20px 70px;
	margin:10px 0 20px 0;
	border:1px solid #B8C5A5;
	}

a.pdf:hover {
	background-color:#fbffb4;
	}

/* 3 April 2005: originally intended for table of lectures, these styles
are now used on the tough-plants-handout,php article */
body table {
	margin:10px 0;
    background-color:#f6f6f6;
    width:500px;
	}
body table th {
	color:#fff;
	font-weight:900;
	text-align: left;
    padding:7px;
    background-color:#5d8029;
	}
body table tr {
	width:500px;
	}
body table tr td {
    padding:5px;
	border-bottom:1px solid #d1ddd5;
	}
	
	
/* Footer styles */
	
#footer {
	width:790px;
	margin:0;
	padding:0 0 40px 0;
	background: #fff url(footer.jpg) no-repeat center bottom;
	}
#footer p {
	margin:0 80px 0 80px;
	padding:5px 0 0 0;
	border-top:1px solid #d1ddd5;	
	font-size:10px;
	text-align:right;
	}