/*--------------------------------------------
Style sheet for Twelvetrees.co.uk
Author: Clive Walker
Website: http://www.cvwdesign.co.uk
---------------------------------------------*/
 
 /*----- Resets -----*/
 
* {
	margin:0;
	padding:0;
}

img {
	border:none;
}

/* ----- The big boys ----- */

html {
	height:100%;
	overflow-y:scroll;
}
/*fix for Firefox, Opera scrollbar jump*/

body {
	font:76%/1.6 Arial, Helvetica, sans-serif;
	min-width:900px;
	background:#F0E5DB url(../images/bg1.gif);
	text-align:center;
	border-top:5px solid #007B3A;
}

/*body { overflow: -moz-scrollbars-vertical; } alternative fix for Firefox scrollbar jump */
 
/* ----- Main layout elements ----- */

#wrapper {
	width:958px;
	text-align:left;
	background:#FBF9F7;
	border:1px solid #AA8455;
	margin:0 auto;
}

#header {
	height:160px;
	border-bottom:1px solid #D9BDA4;
	background:#FBF9F7;
}

#navigation {
	width:958px;
	float:right;
}

#content {
	width:940px;
	float:right;
	margin-right:10px;
}

#mainContent {
	width:540px;
	float:left;
	padding-top:0;
	padding-bottom:20px;
	margin:0;
}

/* ----- Paddings -----*/

#secondaryContent {
	width:380px;
	display:inline;
	float:right;
	background:#FBF9F7;
	padding-top:15px;
}

#footer {
	clear:both;
	border-top:1px solid #D9BDA4;
	background:#F0E5DB url(../images/grass-footer.jpg) repeat-y left bottom;
	text-align:right;
	color:#007B3A;
	font-size:90%;
	padding:5px 20px 5px 15px;
}

#footer #info {
	width:540px;
	float:left;
	text-align:left;
}

#footer #credits {
	float:right;
	width:300px;
}

/* ----- Link styles ----- */

a:link, a:visited {
	color:#007B3A;
	text-decoration:underline;
}

a:hover {
	text-decoration:none;
}

a:active {
	color:#DCEEC4;
	text-decoration:none;
}

#footer a {
	color:#007B3A;
}

/* ----- Navigation ----- */

#navigation ul {
	float:left;
	width:958px;
	list-style:none;
	text-transform:uppercase;
	margin:0;
	padding:0;
}

#navigation ul li {
	float:right;
	background:url(../images/tab-right.gif) no-repeat right bottom;
}

#navigation li a {
	line-height:2.5em;
	background:url(../images/tab-left.gif) no-repeat left bottom;
	text-decoration:none;
	color:#FFF;
	float:left;
	display:block;
	width:7em;
	padding:0 2.2em 0 2em;
}

#navigation ul a:hover, #home li.home a, #contact li.contact a, #photogallery li.photogallery a, #woodburners li.woodburners a{
	color:#FC0;
}

#navigation ul a:hover {
	text-decoration:underline;
}

#secondaryContent * * {
	padding-left:0;
	padding-right:0;
}

/* ----- Headings ----- */

h1, h2, h3 {
	font-weight:400;
	border-bottom:1px solid #DCEEC4;
	padding-bottom:5px;
	color:#007B3A;
	font-family:"Trebuchet MS", Arial, Helvetica, sans-serif;
}

h1, h2, h3, p {
	margin:1em 0;
}

h1 {
	font-size:1.6em;
	margin-top:0;
}

h2 {
	font-size:1.6em;
}

h3 {
	font-size:1.2em;
}

#secondaryContent h2 {
	font-size:1.1em;
	margin:0;
}

/* ----- Main text styles -----*/

p, li {
	font-size:1em;
}

#mainContent p, #secondaryContent p {
	line-height:1.5em;
	font-size:100%;
}

/* ----- Lists ----- */

ul.mainList {
	background:#F5EDE6 url(../images/ul-top-corner-bg.gif) no-repeat left top;
	font-size:120%;
	margin-right:20px;
	margin-left:20px;
	list-style:none;
	padding-top:10px;
	padding-bottom:0;
	padding-right:20px;
	color:#91623C;
}

ul.mainList li {
	list-style:url(none) none;
	margin-bottom:10px;
	border-bottom:1px dashed #D2AF91;
	margin-left:20px;
}

ul.mainList .bottom {
	border-bottom-style:none;
	background:url(../images/ul-bottom-corner-bg.gif) no-repeat left bottom;
	margin:0 -20px 0 0;
	padding:0 0 10px 20px;
}

.galleryList {
	list-style-type:none;
	margin-left:20px;
}

.galleryList li {
	float:left;
	width:160px;
	margin-right:10px;
	margin-bottom:10px;
	color:#666;
	min-height:165px;
}

.galleryList img {
	display:block;
	border:1px solid #DCEEC4;
}

.galleryList a:hover img, .highlighted a:hover img {
	border:1px solid #B8DC87;
}

/* ---- Paragraphs ----- */

#mainContent .p1 {
	font-size:120%;	
	color:#91623C;
}

#content .highlighted, #content .lesshighlighted {
	background:#DCEEC4 url(../images/top-bg.gif) no-repeat left top;
	color:#007B3A;
	font-size:150%;
	line-height:1.6;
	margin-bottom:10px;
	padding:10px;
}

#content .highlighted .p2 {
	font-size:80%;
}

#content .highlighted .p3 {
	font-size:70%;
	border-top: 1px solid #8EC840;
	padding-top: 5px;
}

#secondaryContent .highlighted .bottom, #secondaryContent .highlighted .bottom2 {
	background:url(../images/bottom-bg.gif) no-repeat left bottom;
	margin-left:-10px;
	margin-right:-10px;
	padding-right:10px;
	padding-left:10px;
	padding-bottom:20px;
	margin-bottom:-10px;
	font-size:70%;
}

#secondaryContent .highlighted .bottom2 {
	font-size:100%;
}

blockquote {
	font-family:Georgia, "Times New Roman", Times, serif;
	margin-left:20px;
	margin-right:20px;
	border-top:1px solid #F4F4F4;
	border-bottom:1px solid #F4F4F4;
}

/* ----- Floats and clears ----- */

.fleft {
	float:left;
	margin-right:10px;
}

.fright {
	float:right;
	margin-left:10px;
}

.clearboth {
	clear:both;
}

/* ----- Styles for 2 column layout ----- */

#error #secondaryContent {
	display:none;
}

#error #mainContent {
	width:600px;
}

/* ----- Others ----- */

.highlighted img {
	border:1px solid #FFF;
	margin-right:5px;
}

.center {
	text-align:center;
}

.amp {
	font-family:Georgia, "Times New Roman", Times, serif;
}

/*---- Contact form ----*/

#contact form

 {  /* set width in form, not fieldset (still takes up more room w/ fieldset width */
	margin: 0 0 10px 10px;
	padding: 0;
	/*min-width: 500px;*/
	max-width: 100%;
	width: 95%;
	font-size: 110%;
}

#contact form fieldset {
	padding: 10px;        /* padding in fieldset support spotty in IE */
	margin: 0;
	border: 1px solid #DCEEC4;
}

#contact form label { 
	display: block;  /* block float the labels to left column, set a width */
	float: left; 
	width: 150px; 
	padding: 0; 
	margin: 5px 0 0; /* set top margin same as form input - textarea etc. elements */
	text-align: right; 
}

#contact form fieldset legend {
	font-size:1.1em; /* bump up legend font size, not too large or it'll overwrite border on left */
	color: #009900;
	letter-spacing: 1px;
                       /* be careful with padding, it'll shift the nice offset on top of border  */
}

#contact form input, #contact form textarea, #contact form select {
	/* display: inline; inline display must not be set or will hide submit buttons in IE 5x mac */
	width:auto;      /* set width of form elements to auto-size, otherwise watch for wrap on resize */
	margin:5px 0 0 10px; /* set margin on left of form elements rather than right of
                              label aligns textarea better in IE */
}

#contact form input#reset {
	margin-left:0; /* set margin-left back to zero on reset button (set above) */
}

textarea { overflow: auto; }

#contact form small {
	display: block;
	margin: 0 0 5px 160px; /* instructions/comments left margin set to align w/ right column inputs */
	padding: 1px 3px;
	font-size: 88%;
}

#contact form .required {
	font-weight:bold;} /* uses class instead of div, more efficient */

#contact form br {
	clear:left; /* setting clear on inputs didn't work consistently, so brs added for degrade */
}
