* {
  margin: 0;
}
html, body {
  height: 100%;
}

#wrapper {
  min-height: 100%;
  height: auto !important;
  height: 100%;
  margin: 0 auto -205px; /* the bottom margin is the negative value of the footer's height */
}
#subwrapper{
	
}
#footer, .push {
  height: 205px; /* .push must be the same height as .footer */
}

/*

Sticky Footer by Ryan Fait
http://ryanfait.com/

*/

body {
	color:#293795;
	font-family:arial,sans-serif;
	font-size: 12px;
	/*padding:12px;*/
	line-height:22px;
}

p{
	margin-top:5px;
}
#wrapper {
	width: 1000px;
}
#subwrapper{
	
}
#header {
  background-image: url('../images/backgroundheader.jpg'); 
  background-position: top;
  background-repeat: no-repeat;
  height: 220px;
  padding-top: 28px;
  float: left;
}

/* The hover element, dynamically created */
div.ahover {
    position: absolute;
    z-index: 99;
    background: #293795;
    -moz-border-radius:6px;
}


#menu {
  width: 794px;
  float: left;
  padding-left: 103px;
}

#mainmenu {
  background-image:url('../images/menubkgd.gif');
	float:left;
	margin: 0px;
  width: 730px;
  padding-top: 6px;
  height: 34px;
}

#menuleftcorner {
  background-image:url('../images/menuleftcorner.gif');
	width: 10px;
	height: 40px;
	width: 12px;
	float: left;
}

#menurightcorner {
  background-image:url('../images/menurightcorner.png');
  height: 40px;
  width: 12px;
  float: left;
}

.menu li {
	float: left;
	list-style: none;
	text-align: center;
}

.menu a {
  padding-top: 4px;
	color:white;
  font-size:16px;
  width: 110px;
  margin-left: 5px;
  display: block;
  height: 24px;
  text-decoration: none;
  /* this is for the ahover element */
  /* see http://code.google.com/p/jquery-ahover/wiki/Documentation */
  position: relative;
  z-index: 100;
}

.menu li.active a {
    background: #293795;
    -moz-border-radius:6px;
  /*border-bottom: 1px white solid;*/
}

#headerimage {
	display: block;
  width: 770px;
  float: left;
  padding-left: 115px;
}

#page {
  width: 1000px;
  min-height: 500px;
  float: left;
}

#pageheaderblocks {
  margin: 0 auto;
  width: 770px;
}

#pageheaderblocks div {
	float:left;
	height:140px;
	margin-bottom:10px;
	margin-top:10px;
	padding:17px 20px 0;
	width:340px;
}
#pageheaderblockleft {
	background-image:url('../images/yellowbackground.png');
	margin-right: 10px;
	background-repeat: repeat-x;
}

#pageheaderblockright {
  background-image:url('../images/greybackground.png');
  background-repeat: repeat-x;
}
#pageheaderfull {
	background-image:url(../images/grey2.png);
	background-repeat:repeat-x;
	background-color:#e7e6e6;
	height:180px;
	margin:auto;
	padding:27px 30px 0;
	width:710px;
}
#pagecontent {
  width: 770px;
  margin: 0px auto;
}

#content {
	float:left;
	margin-top:20px;
	margin-bottom:15px;
	padding-right:12px;
	text-align:justify;
	width: 518px;
}

#contentblock {
	float:left;
	margin-bottom:15px;
	margin-top:20px;
	padding:0 6px;
	text-align:justify;
}
#contentrightblock {
	background-color:#E7E6E6;
	float:left;
	margin-top:30px;
	padding:4px;
	width:232px;
}

#contentbottom {
	display: block;
	margin: 1px 0px 0px;
	width: 762px;
	float: left;
	background-color:#e7e6e6;
	padding: 4px 4px 8px 4px; 
	height: 100%;
}


#duocontentbottom {
	background-color:#E7E6E6;
	display:block;
	float:left;
	height:100%;
	margin:1px 0 6px;
	padding:4px 4px 10px;
	width:377px;
}
#contentbottom img, #farmers , #contentblock img, #content img, #duocontentbottom img {
	float: left;
	margin-right:10px;
}


#footer {
   margin: 30px auto 0px auto;
	width: 1000px; 
/*	height: 100px;*/
	
}

#footertext {
  background-image:url('../images/bkgdfooter.gif');
  background-position:  left bottom;
  background-repeat: repeat-x;
  padding-bottom: 48px;
  padding-top: 50px;
  text-align: center;
  color: #dfdfdf;
  font-size: 10px;
  margin-top:100px;
}

h1, h2, h3 {
	font-family: Trebuchet MS, arial, tahoma, sans-serif;
}

h1{
  color: #1ea1ff;
  font-size:26px;
  margin-top: 9px;
  margin-bottom: 0px;
  /*margin-left: 12px;*/
  font-weight: normal; 
}

h2 {
	color:#339900;
	font-weight:normal;
	margin-top:5px;
}
h3{
  color:#293795;
  font-size:16px;
}
#contentblock h3{
	padding-top:10px;
}
#contentrightblock h3, 
#contentbottom h3, 
#duocontentbottom h3{
	background-image:url(../images/titlebkgd.gif);
	background-repeat:repeat-x;
	color:#293795;
	height:26px;
	margin-bottom:4px;
	padding:3px 0 5px 10px;
}

.emphasize {
	font-weight: bolder;
}

#contentrightblock img {
	/*float: right;*/
}
a.readmore, 
#pagecontent a:visited, 
#pagecontent a:link{
	color:#44ba0e;
	text-decoration:underline;
}
a.readmore:hover,
#pagecontent a:hover {
	color:#1EA1FF;
	text-decoration:underline;
}
#spacer{
	margin-top: 10px;
}
.spacer{
	padding:0 4px
}
.project{
	border-bottom:1px dotted #293795;
	margin-top:5px;
	margin-bottom:5px;
}
a.titlelink{
	font-weight:bold;
	text-decoration:underline;
	color:#44ba0e;
}
a.titlelink:hover{
	font-weight:bold;
	text-decoration:underline;
	color:#1EA1FF;
}



/*video, applet {
  float: left;
  margin-right: 20px;
  margin-bottom: 20px;
  }
*/

iframe {
  margin-top: 20px;
}
#top{
	float:right;
}
#block{
	display:block;
	float:left;
	line-height:27px;
}




/* Galleria stuff */

  
  /* BEGIN DEMO STYLE */
  .caption{
    font-style:italic;
    color:#887;
    float: left;
    text-align: center;
    width: 230px;
  }
  .demo{
    position:relative;
    margin-top:2em;
  }
  
  .gallery_demo{
    width:230px;
    margin:0 auto;
    float: left;
  }
  .gallery_demo li{ 
    width:30px;
    height:20px;
    margin: 0 2px;

    float: left;
    list-style: none;
    text-align: center;
  }
  
  .gallery_demo li div .caption{
    font:italic 0.7em/1.4
  }
  
  #main_image{
    margin:0 auto 0px auto;
    height:200px;
    width:220px
  }
  
  #main_image img{
    margin-bottom:10px;
  }
  
  .nav{
    padding-top:15px;
    clear:both;
    font:80% ;
    letter-spacing:3px;
    text-align: center;
    width: 230px;
  }
  
  .info{text-align:left;width:700px;margin:30px auto;border-top:1px dotted #221;padding-top:30px;}
  .info p{margin-top:1.6em;}
  
#tagline {
	font-size:14px;
	margin-top: 6px;
	text-align:center;
}
#show{
	width: 100%;
	height: 120px;
	float:left;
}

