html{
	margin: 0px; 
	}
body {
	font-family: Arial, Helvetica, sans-serif;
	font-size:80%;
	background-color: #9ba805;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 10px;
	margin-left: 0px;
	background-image: url(../img/agri_background.jpg);
	background-repeat: repeat-x;
	background-position: left top;
}
/* ---------------------------------------------------- */
/* HEADING H1,H2,H3,H3,H4,H5,H6
/* ---------------------------------------------------- */

h1, h2, h3, h4, h5, h6 {
	font-family: Arial, Helvetica, sans-serif;
	font-weight: 300;
	color: #333333;
}

h1 {
	font-size:1.45em
}  

h2 {
	font-size:1.3em;
	margin-right: 20px;
	margin-left: 5px;
	margin-bottom: 5px;
	padding-bottom: 10px;
	margin-top: 0px;
	padding-top: 0px;
	padding-left: 0px;
}  
h3 {
	font-size:1.15em;
	margin-top: 0px;
	padding-top: 0px;
} 
 
h4 {font-size:1em}

/* ---------------------------------------------------- */
/* GENERAL SETTINGS
/* ---------------------------------------------------- */

a img {border: none;
}

div.clear {
	clear: both;
	height: 10px;
}

p {
	margin-top: 0px;
	line-height: 1.4em;
	font-size: 1em;
	margin-right: 5px;
	margin-left: 5px;
}

a {
	color: #637213;
	text-decoration: none;
}

a:hover {text-decoration: underline;
}

ol {list-style: decimal; line-height: 15px;
}

strong, em {
	font-family: Geneva, Arial, Helvetica, sans-serif;
}

strong {font-weight: bold;
}

em {font-style: italic;
}
/* ---------------------------------------------------- */
/* WEBSITE CONTENT STARTS HERE
/* ---------------------------------------------------- */
#wrapper {
	width: 980px;
	margin-right: auto;
	margin-left: auto;
	margin-top: 5px;
	margin-bottom: 10px;
	clear: both;
}

/* ---------------------------------------------------- */
/* HEADER
/* ---------------------------------------------------- */

#header {
	height: 248px;
	background-image: url(../img/agri_header.jpg);
	background-repeat: no-repeat;
	width: 980px;
	margin-right: auto;
	margin-left: auto;
}
#pagetop {
	background-image: url(../img/agri_content_top.jpg);
	height: 17px;
	margin-right: auto;
	margin-left: auto;
}

html>body #page {
height: auto; /* for not-IE */
}

#page {
	font-size: 80%;
	color: #EDEBE4;
	clear: both;
	background-image: url(../img/agri_content_body.jpg);
	background-repeat: repeat-y;
	height: 400px; /* for IE */
	min-height: 400px; /* for not-IE */
	margin-right: auto;
	margin-left: auto;
	top: 80px;
	width: 980px;
}
#pagebase {
	background-image: url(../img/agri_content_bottom.jpg);
	background-repeat: no-repeat;
	height: 23px;
	margin-right: auto;
	margin-left: auto;
}



#content {
	font-size: 1.2em;
	clear: both;
	padding-right: 20px;
	padding-left: 10px;
	padding-bottom: 20px;
	width: 870px;
	margin-right: auto;
	margin-left: auto;
	color: #333333;
   }


/* ---------------------------------------------------- */
/* BREADCRUMB
/* ---------------------------------------------------- */
#breadcrumb {
	padding-top: 10px;
	padding-right: 10px;
	padding-bottom: 10px;
	padding-left: 10px;
	clear: both;
	font-size: 10px;
	color: #505E13;
}

.breadcrumb a {
	color: #6F8715;
}
#maincol {
	line-height: normal;
	margin-bottom: 20px;
	margin-right: 10px;
	margin-left: 10px;
	margin-top: 10px;
}

/* ---------------------------------------------------- */
/* LEFT COL
/* ---------------------------------------------------- */
   
#leftcol {
	float: left;
	width: 230px;
	text-align: justify;
	margin-top: 0px;
	margin-bottom: 2px;
	border-right-width: 1px;
	border-right-style: dotted;
	border-right-color: #999999;
   }
#leftcol1 {
	float: left;
	width: 250px;
	text-align: center;
	margin-top: 5px;
	margin-bottom: 2px;
	clear: both;
}

  #leftcol h3 {
	text-align: left;
   } 

/* ---------------------------------------------------- */
/* RIGHT COL
/* ---------------------------------------------------- */

#rightcol {
	float: right;
	line-height: normal;
	margin-top: 0px;
	margin-bottom: 2px;
	width: 630px;
	clear: left;
   }
#rightcol  p {
	padding-right: 10px;
	padding-left: 10px;
}
#rightcol h2, #content h2  {
	margin-left: 15px;
	padding-left: 0px;
}


/* ---------------------------------------------------- */
/* RETURN TO TOP LINK
/* ---------------------------------------------------- */

#up {
	color: #000000;
	margin-left: 20px;
	text-align: right;
	margin-right: 20px;
	clear: both;
}

#up a {
	color: #BA8D4C;
	font-weight: bold;
	text-align: right;
	font-size: 1.2em;
}
#up a:hover {
	color: #342923;
	text-decoration: underline;
}
#footerwrapper {
	color: #FFFFFF;
	height: 90px;
	background-image: url(../img/agri_footer_bottom.jpg);
	background-repeat: no-repeat;
	clear: both;
	background-position: 0px bottom;
}

/* ---------------------------------------------------- */
/* FOOTER
/* ---------------------------------------------------- */

#footer {
	color: #272727;
	height: 70px;
	padding-left: 40px;
	padding-right: 20px;
	background-image: url(../img/agri_footer_top.jpg);
}

#footer a:link, #footer a:visited,
#footer a:hover, #footer a:active, #footer a:focus {
	color: #272727;
}

#credit  {
	float: right;
	width: 70px;
	height: 75px;
	padding-top: 0px;
	padding-right: 40px;
}

#footer a:link, #footer a:visited,
#footer a:hover, #footer a:active, #footer a:focus {
	color: #333333;
}

/* ---------------------------------------------------- */
/* FOOTER MENU
/* ---------------------------------------------------- */
.footermenu {
	display: inline;
	list-style-type: none;
	position: relative;
	top: 30px;
	font-size: 10px;
	float: right;
	padding-right: 5px;
}
.footermenu  li {
	list-style-type: none;
	display: inline;
	padding-right: 5px;
	padding-left: 0px;
	text-align: left;
	margin-left: 0px;
}

.footermenu ul {
	list-style-type: none;
	display: inline;
	padding-left: 0px;
	text-align: left;
	margin-left: 0px;
}
#footer ul {
	list-style-type: none;
	margin-left: 0px;
	padding-left: 0px;
	position: relative;
	width: 600px;
	padding-top: 30px;

}

/* ---------------------------------------------------- */
/* MAIN MENU NAVIGATION
/* ---------------------------------------------------- */

#top-nav{
	height: 60px;
	margin-right: auto;
	margin-left: auto;
	background-color: #031C21;
	background-image: url(../img/agri_nav.jpg);
	background-repeat: no-repeat;
	margin-top: 0px;
	margin-bottom: 0px;
	padding-right: 50px;
	padding-left: 50px;
}

#top-nav-inner{
	width: 800px;
	margin: 0 auto;
	padding: 0 0 0 40px;
}

#nav, #nav ul {
	margin: 0 auto;
	padding: 0;
	list-style: none;
	line-height: 1.9;
	z-index: 99;
}

#nav a {
	display: block;
	margin: 0;
	text-decoration: none;
	color: #333333;
	font-size: 13px;
	font-style: normal;
	font-weight: bold;
	font-variant: normal;
	padding-top: 17px;
	padding-right: 1em;
	padding-bottom: 17px;
	padding-left: 0.7em;
}

#nav a:hover{
	text-decoration: underline;
	color: #FFFFFF;
	background-image: url(../img/agri_nav_hover.jpg);
	background-repeat: repeat;
}

#nav li {
	float: left;
	margin: 0 0.5em;
	text-align: left;
}


#nav li ul {
	position: absolute;
	width: 12em;
	left: -999em;
}

#nav li:hover ul, #nav li.sfhover ul {
	left: auto;
}

#nav li ul li a{
	width: 12em;
	padding: 8px 1em;
	text-align: left;
	background-color: #636E10;
	background-repeat: repeat-x;
	background-position: left top;
	color: #FFFFFF;
}

#nav li ul li a:hover{
	color: #FFFFFF;
	background-color: #636E10;
}

/* ---------------------------------------------------- */
/* SECOND LEVEL NAVIGATION
/* ---------------------------------------------------- */

#nav li ul ul {
	margin: -1em 0 0 10em;
}

#nav li:hover ul ul, #nav li.sfhover ul ul {
	left: -999em;
}

#nav li:hover ul, #nav li li:hover ul, #nav li.sfhover ul, #nav li li.sfhover ul {
	left: auto;
}


/* ---------------------------------------------------- */
/* NEWS ITEMS
/* ---------------------------------------------------- */

.newsitem {
	color:#333333;
	float:left;
	font-family:Arial, Helvetica, sans-serif;
	list-style-image:none;
	list-style-position:outside;
	list-style-type:none;
	margin-bottom:10px;
	padding-bottom:10px;
	width:220px;
	border-bottom-width: 1px;
	border-bottom-style: dotted;
	border-bottom-color: #124258;
	font-size: 11px;
	text-align: left;
}


.newsitem a {
	padding-left: 10px;
	font-size: 11px;
	color: #9CA806;
}

/* ---------------------------------------------------- */
/* RSS FEEDS
/* ---------------------------------------------------- */
.rssfeeds {
	text-align: center;
	font-size: 10px;
	font-weight: bold;
	text-transform: uppercase;
}

/* ---------------------------------------------------- */
/* CALENDAR DATE
/* ---------------------------------------------------- */
.entrydate .dateMonth
{
	font-size:10px;
	text-align:center;
	color:#FFFFFF;
	margin:0;
	padding-top: 4px;
	padding-right: 0;
	padding-bottom: 0;
	padding-left: 0;
	text-transform: uppercase;
	font-weight: bold;
}

.entrydate .dateDay
{
  font-family:Times New Roman,Helvetica,Sans-Serif;
  font-size:21px;
  font-weight:700;
  text-align:center;
  color:#888;
  margin:0;
  padding:3px 0 0;
}

.entrydate .dateYear
{
  font-size:9px;
  padding:0 0 0 1pt;
}

.entrydate
{
	background:transparent url(../img/date.png) repeat scroll 0 0;
	float:right;
	height:53px;
	margin-left:5px;
	width:49px;
	margin-right: 5px;
}
.newsdate {
	background-image: url(../img/newsicon.gif);
	background-repeat: no-repeat;
	padding-left: 15px;
	background-position: 0px 2px;
	height: 24px;
	font-size: 12px;
	font-weight: bold;
	color: #666666;
}
/* ---------------------------------------------------- */
/* CONTACT SUCCESS & ERROR
/* ---------------------------------------------------- */

p.success {
	border:1px dotted #B6B098;
	color:#474432;
	font-weight:bold;
	padding:0.5em;
	background-color: #C8C4B0;
}

p.info {
	background:#E5E5FF;
	border:1px dotted #36F;
	color:#36F;
	font-weight:bold;
	padding:0.5em;
}

p.error {
	background:#FFE5E5;
	border:1px dotted #F33;
	color:#F33;
	font-weight:bold;
	padding:0.5em;
}

/* ---------------------------------------------------- */
/* IMAGE GALLERY IMAGES
/* ---------------------------------------------------- */

#thumbnails img {
	margin-right: 5px;
	margin-left: 5px;
	padding: 3px;
	border: 1px solid #DDDACD;
	margin-bottom: 20px;
}
#mainimg {
	padding: 5px;
	border: thin double #DDDACD;
	margin-bottom: 20px;
}
#thumbnails {
	margin-top: 20px;
}
div.galleryImg {
	float:left;
	height:100px;
	margin:5px;
	text-align:center;
	width:100px;
	border: 1px solid #A078AD;
}

/* ---------------------------------------------------- */
/* CONTACT FORM
/* ---------------------------------------------------- */

label
{
	width: 5em;
	float: left;
	text-align: left;
	margin-right: .8em;
	display: block
}
#contactSubmit {
	margin-left: 75px;
	height: 30px;
	width: 100px;
	color: #031A28;
	font-weight: bold;
	text-transform: uppercase;
	padding-top: 0px;
	padding-right: 0px;
	padding-bottom: 5px;
	padding-left: 0px;
}
#message {
	height: 100px;
}



input,textarea
{
	color: #001725;
	border: 1px solid #CCCCCC;
	background-color: #FFFFFF;
	width: 250px;
	font-size: 12px;
	padding-top: 10px;
	padding-right: 5px;
	padding-bottom: 5px;
	padding-left: 10px;
}
fieldset
{
	width: 22em;
	padding: 14px;
}


legend
{
	color: #000000;
	border: 1px solid #781351;
	background-color: #CCCCCC;
	font-weight: bold;
	padding-top: 2px;
	padding-right: 6px;
	padding-bottom: 2px;
	padding-left: 6px;
} 
#submit, .submit {
	-moz-border-radius:5px 5px 5px 5px;
	background-color:#8CA926;
	border-color:#A6C438 #6F8E18 #6F8E18 #A6C438;
	border-style:solid;
	border-width:2px;
	color:#FFFFFF !important;
	cursor:pointer;
	display:block;
	float:left;
	font-weight:bold;
	text-decoration:none;
	text-transform:capitalize;
	width: 70px;
	margin-top: 0;
	margin-right: 7px;
	margin-bottom: 0;
	margin-left: 70px;
	padding-top: 3px;
	padding-right: 9px;
	padding-bottom: 4px;
	padding-left: 6px;
}
/* ---------------------------------------------------- */
/* LINE
/* ---------------------------------------------------- */

.line {
	border-top-width: 1px;
	border-top-style: solid;
	border-top-color: #E7E7E7;
	width: 95%;
	margin-top: 10px;
	margin-right: auto;
	margin-bottom: 20px;
	margin-left: auto;
}

/* ---------------------------------------------------- */
/* WEATHER FORM
/* ---------------------------------------------------- */

.weather {
	text-align: center;
	border-top-width: 1px;
	border-top-style: dotted;
	border-top-color: #333333;
}

.weather input {
	color: #001725;
	border: 1px solid #CCCCCC;
	background-color: #FFFFFF;
	width: 130px;
	font-size: 10px;
	padding-top: 5px;
	padding-right: 1px;
	padding-bottom: 5px;
	padding-left: 2px;
}
.weather #sendbutton {
	height: 22px;
	width: 69px;
	margin-left: 0px;
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: none;
	border-left-style: none;
	padding: 0px;
	margin-top: 10px;
	margin-bottom: 10px;
}
.weather img {
	margin-bottom: 10px;
	margin-top: 20px;
}
.safetysystem {
	background-image: url(../img/ohs_system_login.jpg);
	background-repeat: no-repeat;
	height: 230px;
	padding-left: 0.5em;
}


/* ---------------------------------------------------- */
/* ONLINE SAFETY LOGIN
/* ---------------------------------------------------- */
.safetysystem input {
	width: 200px;
	background-color:#FFFFFF;
	border:1px solid #CCCCCC;
	color:#001725;
	padding-top: 2px;
	padding-right: 5px;
	padding-bottom: 5px;
	padding-left: 2px;
	margin-bottom: .5em;
	margin-top: 0.5em;
}
.safetysystem  h3 {
	padding-top: 4em;
}


#loginbutton 

 {
	height: 22px;
	width: 69px;
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: none;
	border-left-style: none;
	padding: 0px;
	float: left;
	margin-top: 0.5em;
	margin-left: 1em;
}
.transport a {
	color: #FFFFFF;
	background-image: url(../img/transport.jpg);
	background-repeat: repeat;
}
