/* Start of CMSMS style sheet 'homepage' */
/*****************
browsers interpret margin and padding a little differently, 
we'll remove all default padding and margins and
set them later on
******************/
* {
margin:0;
padding:0;
}

/*
Set initial font styles
*/
body {
   text-align: left;
   font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
   font-size: 80%;
   line-height: 1em;
}

/*
set font size for all divs,
this overrides some body rules
*/
div {
   font-size: 1em;
}

/*
if img is inside "a" it would have 
borders, we don't want that
*/
img {
   border: 0;
}

/*
default link styles
*/
/* set all links to have underline and bluish color */
a {
   color: #b9ba2e;
   text-decoration: none;
/* css validation will give a warning if color is set without background color. this will explicitly tell this element to inherit bg colour from parent element */
}

/* remove underline on hover and change color */
a:hover {
   color: #1f7225;
   text-decoration: none;
}

/*****************
basic layout 
*****************/
body {
   background: #FFFFFF url(images/cms/background.jpg) no-repeat center top; 
   color: #666666;
}

/* center wrapper, min max width */
div#pagewrapper {
   margin: 0 auto;       /* this centers wrapper */
   width: 980px;   /* IE wont understand these, so we will use javascript magick */
   background: #FFFFFF url(images/cms/home_bg.gif); 
   color: 666666;
}

/*** top ***/
div#top {
   height: 68px;    /* adjust according your image size */ 
   background: #FFFFFF url(images/cms/searchbar.jpg); 
}

/*** top links ***/
div#toplinks {
   float: left;
   color: #000000;
   padding-left: 10px;
}

/*** flash header ***/
div#flashheader{
   height: 146px;    /* adjust according your image size */ 
}

/*** header ***
we will hide text and replace it with a image
we need to assign a height for it so that the image wont cut off
*/
div#header {
   height: 122px;    /* adjust according your image size */          
}

div#header h1 a {
/* you can set your own image here */
   background: url(uploads/images/linkhomeheader.gif) no-repeat ; 
   display: block;
   height: 122px;             /* adjust according your image size */
   text-indent: -999em;  /* this hides the text */
   margin-bottom:-10px;/* garys hack to clear gap in IE6 */
   text-decoration:none; /* old firefox would have shown underline for the link, this explicitly hides it */
}

/* position for the search box */
div#search {
   float: right;
   text-align: right;
   color: #308729;
   padding-right: 10px;
   padding-top: 4px;
}

/* position for the top links */
div#toplinks{
   float: left;
   width: 27em;    /* enough width for the search input box */
   text-align: left;
   padding-top: 12px;
}

div#toplinks a{
   color: #ffffff;
   text-decoration: none;
}

div#toplinks a:hover {
   color: #b9ba2e;
   text-decoration: none;
}

div#toplinks li{
   list-style-type: none;
   display: inline;
}

div#content {
   margin: 0em; 
}

div#main {
   padding-top: 10px;
   width: 570px;
   float: left;
   padding-right: 10px;
   padding-left: 10px;
}

div#homephotos {
   width: 150px;	
   float: left;
   padding-right: 10px;
   padding-left: 10px;
}

div#homephotos img {
   padding-bottom: 10px;
}

div#homearea {
    width: 275px;
    float: left;
   padding-left: 10px;
}

div#homenews {
    width: 570px;
    float: left;
    margin-left: 10px;
}

div#homenews p {
   padding-top: 5px;
}

div#homenews a {
  font-weight: bold;
}

div#homenewsheader {
    background: url(images/cms/newsheader.gif) no-repeat left;
    width: 550px;
    display: block;
    height: 81px;
}

div#homenewsmain {
    width: 548px;
    float: left;
    padding: 10px;
    border: 1px solid #1f7225;
}

div#homenewsfoot {
    float: right;
    height: 15px;

    font-weight: bold;
}

div#newsmain {
   padding-top: 10px;
   width: 500px;
   float: right;
   padding-right: 10px;
   padding-left: 10px;
}

div#navlogo {
    background: url(images/cms/nav_top.jpg) no-repeat ; 
    height: 194px;
    width: 199px;
    margin-left: 10px;
}

div#freetext {
    border: 1px solid #1f7225;
    padding: 5px 10px;
    margin-top: 10px;
    margin-bottom: 10px;
}

div#main a {
   font-weight: bold;
}

div#main li {

}

div#main a: hover {
   font-weight: bold;
}

div#sidebar {
   float: right;        /* set sidebar on the left side. Change to right to float it right instead. */
   width: 219px;     /* sidebar width, if you change this please also change #main margins */
   display: inline;  /* FIX IE double margin bug */
   margin-right: 0;
}

div#footer {
   background: #ffffff;
   clear: both;
   color: #1f7225;
   height: 115px;
}

div#footadd {
   height: 25px;
   padding-top: 35px;
}

div#footlines {
   height: 40px;
   background: url(images/cms/footer.gif) no-repeat ; 
}

div#footer p {
   text-align: center;  /* centered text */
   margin: 0;
}

div#footer p a {
   color: #b9ba2e; /* needed becouse footer link would be same color as background otherwise */
}

div#footer a {
   font-weight: bolder;
   color: #b9ba2e;
   text-decoration: none;
}

div#footer a:hover {
   font-weight: bolder;
   color: #1f7225;
   text-decoration: none;
}

div#footerone {
   width: 320px;
   float: left;;
   margin-top: 11px;
}

div#footertwo {
   width: 320px;
   float: left;
   margin-top: 11px;
}

div#footerthree {
   width: 320px;
   float: left;
   margin-top: 3px;
}

/* as we hid all hr for accessibility we create new hr with extra div element */
div.hr {
   height: 1px;
   padding: 1em;
   border-bottom: 1px dotted black;
   margin: 1em;
}

/* relational links under content */
div.left49 {
  width: 49%; /* 50% for both left and right might lead to rounding error on some browser */
}

div.right49 {
  float: right;
  width: 49%;
  text-align: right;
}

div#pollheader {
  width: 201px;
  height: 36px;
   margin-left: 10px;
    background: url(uploads/images/quickpoll.gif);
}

div#polls {
    padding: 10px;
    border: 1px solid #1f7225;
   width: 179px;
   margin-left: 10px;
   margin-top: 10px;
}

.pollinput {
   margin-left: 10px;
}

div.polloption{
   margin-bottom: 5px;
}

div#homeleft {
	width: 275px;
	float: left;
}

div#homeright {
	width: 275px;
	float: right;
}

div#testimonial {
	width: 260px;
	color: #FFFFFF;
	background-color: #207325;
	padding: 10px;
	margin-bottom: 20px;
}

div#homenews {
	width: 280px;
    float: left;
    margin-left: 10px;
}

div#homenews p {
   padding-top: 5px;
}

div#homenews a {
  font-weight: bold;
}

div#homenewsheader {
    background: url(uploads/images/linknewsheader.jpg) no-repeat left;
    width: 280px;
    display: block;
    height: 81px;
}

div#homenewsmain {
	width: 258px;
    float: left;
    padding: 10px;
    border: 1px solid #1f7225;
}

div#homenewsfoot {
    float: right;
    height: 15px;

    font-weight: bold;
}

div#newsmain {
   padding-top: 10px;
   width: 500px;
   float: right;
   padding-right: 10px;
   padding-left: 10px;
}

div#homemap {
	width: 275px;
	float: right;
}

div#haveyoursay {
	width: 275px;
	float: right;
	margin-top: 20px;
	margin-bottom: 20px;
}

div#joingroup {
	width: 275px;
	float: right;
}

/********************
CONTENT STYLING
*********************/
div#content {

}

/* HEADINGS */
div#content h1 {
   font-size: 2em; /* font size for h1 */
   line-height: 1em;
   margin: 0;
}
div#content h2 {
   color: #297723; 
   font-size: 100%; 
   text-align: left; 
/* some air around the text */
   padding-bottom: 1px;
/* and some air under the border */
   margin: 0 0 0.5em 0;

}
div#content h3 {
   color: #297723; 
   font-size: 100%;
   line-height: 1.3em;
   margin: 0 0 0.5em 0;
}
div#content h4 {
   color: #297723; 
   font-size: 100%;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
div#content h5 {
   color: #297723; 
   font-size: 100%;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
h6 {
   color: #297723; 
   font-size: 100%;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
/* END HEADINGS */

/* TEXT */
p {
   font-size: 1em;
   margin: 0 0 1.5em 0; /* some air around p elements */
   line-height: 1.4em;
   padding: 0;
}

blockquote {
   border-left: 10px solid #ddd;
   margin-left: 10px;
}
strong, b {
/* explicit setting for these */
   font-weight: bold;
}
em, i {
/* explicit setting for these */
   font-style:italic;
}

/* Wrapping text in <code> tags. Makes CSS not validate */
code, pre {
 white-space: pre-wrap;       /* css-3 */
 white-space: -moz-pre-wrap;  /* Mozilla, since 1999 */
 white-space: -pre-wrap;      /* Opera 4-6 */
 white-space: -o-pre-wrap;    /* Opera 7 */
 word-wrap: break-word;       /* Internet Explorer 5.5+ */
 font-family: "Courier New", Courier, monospace;
 font-size: 1em;
}

pre {
   border: 1px solid #000;  /* black border for pre blocks */
   background-color: #ddd;
   margin: 0 1em 1em 1em;
   padding: 0.5em;
   line-height: 1.5em;
   font-size: 90%;
}

/* Separating the divs on the template explanation page, with some bottom-border */
div.templatecode {
  margin: 0 0 2.5em;
}

/* END TEXT */

/* LISTS */
/* lists in content need some margins to look nice */
div#main ul,
div#main ol,
div#main dl {
   font-size: 1.0em;
   line-height: 1.4em;
   margin: 0 0 1.5em 0;
}

div#main ul li,
div#main ol li {
   margin: 0 0 0.25em 3em;
}

/* definition lists topics on bold */
div#main dl dt {
   font-weight: bold;
   margin: 0 0 0 1em;
}
div#main dl dd {
   margin: 0 0 1em 1em;
}

div#main dl {
  margin-bottom: 2em;
  padding-bottom: 1em;
  border-bottom: 1px solid #c0c0c0;
}

/*contact form message box width - gary's hack */
.contactform textarea{
width:250px;
height:100px;
border: 1px solid #000000;
}

.contactform input {
   border: 1px solid #000000;
   width:250px;
}

.contactform input {
   border: 1px solid #000000;
}

#submitbut{
   background-color: #000000;
   border: 0px;
   color: #FFFFFF;
   margin-left: 5px;
   padding-left: 1px;
   padding-right: 1px;
   padding-bottom: 1px;
}

#cntnt01searchinput {
   margin-top: 6px;
   border: 1px solid #000000;
}


/* END LISTS */
/* End of 'homepage' */

