/* CSS Document */

/* ------------- "generic" styles */

body {
	padding: 0;
	color: #333;
	width:776px;
	margin-top: 20px;
	margin-bottom: 0;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	border: 1px solid;
	margin-right: auto;
	margin-left: auto;
	background-color: #eee;
}

a {
	text-decoration: none;
}

a img {	border: 0;}

p {	margin: 0 0 1em;}

/* here follows the brillant "no-extra-markup" clearing method devised by Tony Aslett - www.csscreator.com */
/* simply add the clearfix class to any container that must enclose floated elements */
/* read the details of how and why this works at http://www.positioniseverything.net/easyclearing.html */
.clearfix:after {
    content: ".";              /* the period is placed on the page as the last thing before the div closes */
	display: block;          /* inline elements don't respond to the clear property */ 
    height: 0;                  /* ensure the period is not visible */
    clear: both;               /* make the container clear the period */
    visibility: hidden;	     /* further ensures the period is not visible */
}

.clearfix {display: inline-block;}   /* a fix for IE Mac */

/* next a fix for the dreaded Guillotine bug in IE6 */
/* Hides from IE-mac \*/
* html .clearfix {height: 1%;}
.clearfix {display: block;}
/* End hide from IE-mac */
/* end of "no-extra-markup" clearing method */

/* ------------- "cordova" styles */
#header {
	background-repeat: repeat-y;
	height: 152px;
	}
	
#header.index {background-image:url(images/header.jpg);}
#header.lavender {background-image:url(images/headerlav.jpg);}
#header.goats {background-image:url(images/headergoats.jpg);}
#header.alpacas {background-image:url(images/headeralpacasheep.jpg);}
#header.sheep {background-image:url(images/headersheep.jpg);}
#header.events {background-image:url(images/headerevents.jpg);}
#header.store {background-image:url(images/headerstore.jpg);}
	
#navbar {
	height: 51px;
	background-repeat: repeat-x;
	}
#navbar li {
	float:left;
	list-style-type:none;
	}

#navbar a {
	text-decoration:none;
	color: #829039;
}

#contentarea {
	width:776px;
	background-image: url(images/content-bg.jpg);
	background-repeat: repeat-y;
	}

#maincontent {
	width:480px;
	float:left;
	font-size: 0.75em;
	margin-left: 10px;
	padding-top: 1em;
	}
	
#sidebar {
	float: left;
	font-size: 0.85em;
	width: 280px;
	padding-top: 4em;
	}

#sidebarcontent {
	width:80%;
	margin: 0 auto;
	font-size: 0.75em;
	text-align: center;
	}

#maincontent h1{
	color: #829039;
	font-size: 1.5em;
	margin-bottom: 0.5em;
	}

#maincontent h2{
	color: #829039;
	font-size: 1.2em;
	margin-bottom: 0.5em;
	}
	
#maincontent p a{
	color: #006633;
	margin-left: 1em;
	}
	
.green{
	color: #829039;
	font-size: 1em;
	}

#footer {
	clear:both;
	background-image: url(images/bottomnav-bg.jpg);
	background-repeat: repeat-x;
	height: 42px;
	}
#address {
	float:left;
	}
#email{
	float:right;
}
