﻿/* =========================================================
 This rule resets a core set of elements so that they will appear consistent across browsers. Without this rule, content styled with an h1 tag, for example, 
 would appear in different places in Firefox and Internet Explorer because each browser has a different top margin default value. By resetting these values to 0, 
 the elements will initially be rendered in an identical fashion and their properties can be easily defined by the designer in any subsequent rule. 
 ==========================================================*/
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6 {
	margin: 0px;
	padding: 0px;
	border: 0px;
	outline: 0px;
	font-size: 100%;
}
a {
	outline: 0;
}
/* ======================================================
 The body is the outermost layout component and contains the visible page content. Setting properties for the body element will help to create consistent styling of 
 the page content and more manageable CSS. Besides using the body element to set global properties, it is common to use the body element to set the background color of the 
 page and create a centered container for the page content to display. 
 =======================================================*/
body {
	text-align: center; /* Centers the page content container in IE 5 browsers. */;
	padding: 0px 0px 0px 0px;
	background-color: #FFFFFF;
	line-height: 1.2em;
	font-size: 1.1em;
	color: #2d2e2e;
	font-family: "Palatino Linotype";
	margin: 0px 0px 0px 0px;
/* The image used */background-image: url('../images/preseliback3.jpg');
	background-size: cover;
/* Full height */height: 100%; /* Center and scale the image nicely */;
	background-position: center;
	background-repeat: no-repeat;
}
}
body img {
	border: 0px;
	text-decoration: none;
	max-width: 100%;
	height: auto;
	width: auto\9; /* ie8 */
}
/* =====================================
Commonly used to style page titles. 
========================================*/
h1, h2, h3 {
	color: #2d2e2e;
	margin: 5px 0px 5px 10px;
	font-family: "Palatino Linotype", Georgia, "Times New Roman", Times, serif;
}
h1 {
	font-size: 1.7em;
	line-height: normal;
}
h2 {
	font-size: 1.3em;
}
h3 {
	font-size: 1.1em;
}
/*================================
Link Styles unless specified separately
=================================*/
a, a:link {
	color: #2d2e2e;
	font-weight: bold;
	text-decoration: none;
}
a:visited {
	color: #2d2e2e;
	font-weight: bold;
	text-decoration: none;
}
a:hover {
	color: #008000;
	text-decoration: underline;
}
a:focus {
	color: #008000;
}
a:active {
	color: #008000;
}
/*=======================================================
 This is a container for the page content. It is common to use the container to constrain the width of the page content and allow for browser chrome to avoid the need for 
 horizontal scrolling. For fixed layouts you may specify a container width and use auto for the left and right margin to center the container on the page. IE 5 browser require 
 the use of text-align: center defined by the body element to center the container. For liquid layouts you may simply set the left and right margins to center the container 
 on the page. 
 ============================================================*/
#outerWrapper {
	background-color: #fff;
	width: 964px;
	text-align: left; /* Redefines the text alignment defined by the body element. */;
	margin: 0px auto 0px auto;
}
/* ===================
Style rules for Site Name 
=================== */
#outerWrapper #sitename {
	background-color: #0F3901;
	text-align: center;
	margin: 0px 0px 15px 0px;
	font-weight: bold;
	font-family: "Times New Roman", Times, serif;
	color: #FFFFFF;
	letter-spacing: .5em;
}
.title {
	font-size: 2em;
	margin-bottom: 10px;
}
.tagline {
	font-size: 1em;
	font-style: italic;
	margin-top: 2px;
	margin-bottom: 2px;
}
/* ===================
Style rules for header image 
=================== */
#outerWrapper #header {
	margin: 0 0px 0 0px;
	padding: 0px;
	border: 2px #0F3901 solid;
}
/*=======================================
Wrapper for the content columns
========================================*/
#contentWrapper {
	clear: both;
	
	background-repeat: repeat-y;
}
#leftColumn1 {
	float: left;
	width: 150px;
	padding: 10px 10px 10px 10px;
}

/*========================================
Top Navigation
=========================================*/
#outerWrapper #cssmenu {
	background-color: #008000;
	min-height: 3em;
	padding: 12px 5px 5px 20px;
	border-bottom: 2px #000000 solid;
}
#outerWrapper #cssmenu ul {
	list-style-type: none;
	width: 90%;
	margin: 0px;
	padding: 0px;
}
#outerWrapper #cssmenu li {
	float: left;
}
#outerWrapper #cssmenu a {
	color: #FFFFFF;
	text-decoration: none;
	margin: 0px 1px;
	padding: 5px 10px 5px 10px;
	display: block;
}
#outerWrapper #cssmenu a:hover {
	background-color: #FFFFFF;
	color: #000000;
	border-radius: 6px;
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
}

.livestock {
	color: #2D2E2E;
	background-color: #FFFFFF;
	padding: 2px 2px 2px 2px;
	width: 200px;
	font-size: 14px;
	font-family: "Palatino Linotype", Georgia, "Times New Roman", Times, serif;
}
.livestock ul {
	margin: 0px;
	padding: 0px;
	list-style-type: none;
	width: 150px;
	border-bottom-style: solid;
	border-bottom-width: 1px;
	border-bottom-color: #FFFFFF;
}
.livestock ul li {
	position: relative;
	margin-top: 2px;
	margin-bottom: 2px;
}
.livestock ul li ul {
	position: absolute;
	left: 149px;
	top: 0px;
	display: none;
}
.livestock ul li a {
	border: 1px #808080 solid;
	display: block;
	text-decoration: none;
	color: #2D2E2E;
	background-color: #FFFFFF;
	padding: 2px 2px 2px 5px;
	font-size: 14px;
}
/* Fix IE. Hide from IE Mac \*/
* html
ul li { float: left; height: 1%; }

* html
ul li a { height: 1%; }

/* End */

.livestock ul li a:hover {
	color: #2D2E2E;
	background-color: #C0C0C0;
}
.livestock li ul li a {
	padding: 2px 2px 2px 5px;
	background-color: #FFFFFF;
}
.livestock li.over ul {
	display: block;
}
.livestock li:hover ul {
	display: block;
}


.gallery {
	color: #2D2E2E;
	background-color: #FFFFFF;
	padding: 2px 2px 2px 2px;
	width: 100px;
	font-size: 14px;
	font-family: "Palatino Linotype", Georgia, "Times New Roman", Times, serif;
}
.gallery ul {
	margin: 0px;
	padding: 0px;
	list-style-type: none;
	width: 100px;
	border-bottom-style: solid;
	border-bottom-width: 1px;
	border-bottom-color: #FFFFFF;
}
.gallery ul li {
	position: relative;
	margin-top: 2px;
	margin-bottom: 2px;
}
.gallery ul li ul {
	position: absolute;
	left: 99px;
	top: 0px;
	display: none;
	width:150px;
}
.gallery ul li a {
	border: 1px #808080 solid;
	display: block;
	text-decoration: none;
	color: #2D2E2E;
	background-color: #FFFFFF;
	padding: 2px 2px 2px 5px;
	font-size: 14px;
}
/* Fix IE. Hide from IE Mac \*/
* html
ul li { float: left; height: 1%; }

* html
ul li a { height: 1%; }

/* End */

.gallery ul li a:hover {
	color: #2D2E2E;
	background-color: #C0C0C0;
}
.gallery li ul li a {
	padding: 2px 2px 2px 5px;
	background-color: #FFFFFF;
}
.gallery li.over ul {
	display: block;
}
.gallery li:hover ul {
	display: block;
}

/*================================
Left sidebar navigation menu
==================================*/
/* menu styles*/
.headerbar {
	font: bold .9em "Palatino Linotype";
	color: #ffffff;
	background: #0F3901;
	margin-bottom: 10px; /*bottom spacing between header and rest of content*/;
	text-transform: uppercase;
	padding: 4px 0px 4px 10px;
	letter-spacing: .1em;
}
#outerWrapper #contentWrapper #leftColumn1 ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
	margin-bottom: 0; /*bottom spacing between each UL and rest of content*/
}
#outerWrapper #contentWrapper #leftColumn1 ul li {
	padding-bottom: 2px; /*bottom spacing between menu items*/
}
/* Possible new selectors left navigation submenu */
#outerWrapper #contentWrapper #leftColumn1 ul ul {
	padding-left: 3px;
}
#outerWrapper #contentWrapper #leftColumn1 ul ul li a {
	padding: 3px 0 3px 5px;
	font-size: 80%;
	font-weight: bold;
	margin-top: 3px;
	border-left-style: solid;
	border-left-width: medium;
	border-left-color: #0F3901;
}
#outerWrapper #contentWrapper #leftColumn1 ul li a {
	font: .85em "Palatino Linotype";
	color: #003300;
	background: #FFFFFF;
	display: block;
	padding: 5px 0;
	line-height: 17px;
	padding-left: 8px; /*link text is indented 8px*/;
	text-decoration: none;
	font-weight: bold;
}
#outerWrapper #contentWrapper #leftColumn1 ul li a:visited {
	color: #003300;
}
#outerWrapper #contentWrapper #leftColumn1 ul li a:hover {
	color: #FFFFFF;
	background-color: #000000;
	font-weight: bold;
}
/* colored box  */
#outerWrapper #contentWrapper #leftColumn1 .sidebox {
	border: 2px solid #0F3901;
	margin: 25px 5px 3px 5px;
	padding: 0px 3px 15px 3px;
	background: #ffffff;
	color: #2D2E2E;
	font-size: .85em;
	line-height: normal;
}
/* right-hand - colored box  heading */
#outerWrapper #contentWrapper #leftColumn1 .sideboxheading {
	background: #003300;
	color: #FFFFFF;
	font-weight: bold;
	text-align: center;
	margin-top: 3px;
	padding: 2px;
}
#outerWrapper #contentWrapper #leftColumn1 .sidebox a:link {
	background: #FFFFFF;
	color: #2D2E2E;
	font-weight: bold;
	text-decoration: none;
}
#outerWrapper #contentWrapper #leftColumn1 .sidebox a:visited {
	background: #FFFFFF;
	color: #2D2E2E;
	font-weight: bold;
	text-decoration: none;
}
#outerWrapper #contentWrapper #leftColumn1 .sidebox a:hover {
	background: #FFFFFF;
	color: #008000;
	font-weight: bold;
	text-decoration: underline;
}
#outerWrapper #contentWrapper #leftColumn1 .sidebox a:active {
	background: #FFFFFF;
	color: #1534B3;
	font-weight: bold;
	text-decoration: none;
}
/* ===================================
Contains the main page content. When using a multiple  column layout the margins will be set to account for the floated columns' width, margins, and padding. 
======================================*/
#content {
	padding: 10px 10px 10px 10px;
	margin: 0px 0px 0px 250px;
}
/* ===============================================
Using floated elements and a clear float class is a common method to accomplish multiple column tableless layouts. If floated elements are used without being 
cleared the elements following will wrap around the floated element. This class should be applied to an element after the last floated element and before the 
close of the container with floated elements. 
==================================================*/
.clearFloat {
	display: block;
	clear: both;
}
/*=================================================
Footer Styles 
==================================================*/
#outerWrapper #footer {
	background-image: url('../images/footerimage.jpg');
	background-color: #FFFFFF;
	border-top: solid 1px #9bb6d2;
	padding: 10px 10px 10px 10px;
	border-top-color: #244619;
	color: #FFFFFF;
}
/* removes the top and bottom margins*/
#outerWrapper #footer p {
	margin-top: 0px;
	margin-bottom: 0px;
	text-align: center;
	font-size: .85em;
}
#footer a:link {
	color: #FFFFFF;
}
#footer a:visited {
	color: #666666;
}
#footer a:hover, #outerWrapper #footer a:focus {
	color: #996633;
}
#footer a:active {
	color: #999999;
}
/*============================================
Floating images left, right or centered on page
=============================================*/
.imglft {
	padding: 5px 10px 5px 0px;
	float: left;
}
.imgrgt {
	padding: 5px 0px 5px 10px;
	float: right;
}
.imgctr {
	display: block;
	margin: 0px auto;
}
/*Make Image Scalable - Assign this class to any image to make it scale with the browser window size*/
img.scalable {
	height: auto !important;
	width: auto !important;
	max-width: 100%;
}
/*=====================================
Misc Typographic styles
======================================*/
.ctr {
	text-align: center;
}
.smltxt {
	font-size: small;
}
/*=============
form styles 
==============*/
form fieldset {
	padding: 1em;
	font: 80%/1 sans-serif;
	border: 2px solid #000000;
	width: auto;
	border-radius: 8px;
	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	box-shadow: 3px 3px 6px #dddddd;
	-moz-box-shadow: 3px 3px 6px #dddddd;
	-webkit-box-shadow: 3px 3px 6px #dddddd;
}
form fieldset label {
	width: 15%;
	margin-right: 0.5em;
	padding-top: 0.2em;
	text-align: right;
	font-weight: bold;
}
form fieldset legend {
	padding: 0.2em 0.5em;
	color: #000000;
	font-size: 90%;
	text-align: right;
	font-variant: small-caps;
}
.cf {
	border: 1px #353c48 solid;
	background-image: url('../images/form-bg.jpg');
	background-repeat: repeat;
}
.button {
	font: normal 90% Verdana, serif;
	height: 22px;
	border: 1px solid #CDBB99;
	background-color: #4A3527;
	color: #ffffff;
	border-radius: 6px;
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
}
input:focus {
	border: 2px solid #993300;
}
