body {
	margin: 0 auto;
	padding: 0;
	border: 0;
	font-family: verdana,arial,helvetica,geneva,sans-serif;
	font-size: 76%;
	line-height: 150%;
	background: #CCCCCC url(../images/bg.gif);
	text-align: center;
	color: #000;
}

table,td,p {
	font-size: 1em;
	line-height: 150%;
}

a 			{ color: #E73018;}
a:hover 	{ color: #B5B5B5;}

p,form 	{ margin: 0; padding: 0; }
img 		{ border: none; }
	
h1,h2,h3,h4 {
	font-family: "Trebuchet MS","Lucida Sans",arial,helvetica,sans-serif;
	margin: 0;
	padding: 0;
	color: #73866B;
}

/*page divisions*/
#wrapper {
	text-align: left;
	margin: 0 auto;
	width: 752px;
	background: #fff;
	border: solid 1px #E73018;
	border-top-width: 0;
}

#header {
	color: #B5B5B5;
	background: #fff;
	border-bottom: 3px solid #fff;
	position: relative;
}

#header #tagline {
	position: absolute;
	top: 125px;
	left: 190px;
	font: italic bold .9em georgia,times,serif;
	border-left: solid 3px #fff;
	border-right: solid 3px #fff;
}

#header #tagline p {
	text-align: center;
	line-height: 14px;
	width: 33em;
	color: #666;
}


#myh1, #myh1 span { 
	height: 139px; 
	width:750px; 
	background-image: url(../images/header.gif);
} 

	
#organic #myh1, #organic #myh1 span { 
	background-image: url(../images/header_farming.gif);
} 	

.replace { 
	position: relative; 
	margin: 0; 
	padding:; /* hide overflow:hidden from IE5/Mac */ /* \*/ 
	overflow: hidden; /* */ 
} 
	
.replace span { 
	display: block; 
	position: absolute; 
	top: 0; 
	left: 0; 
	z-index:1; /*for Opera 5 and 6*/ 
} 
	
#header h1 {
	text-align: center;
	line-height: 90px;
}

#strip {
	border-top: 5px solid #B5B5B5;
	border-bottom: 5px solid #E73018;
	line-height: 2px;
	height: 2px;
	font-size: 1px;
}

/*
#hnav {
	width: 100%;
	background: #000;
	font-size: 93%;
	line-height: normal;
	border-top: 2px solid #E73018;
	border-bottom: 5px solid #808080;
	padding-bottom: 15px;
}

#hnav ul {
	margin: 0;
	margin-left: 100px;
	padding: 0px 10px 0;
	list-style: none;
}

#hnav li {
	display: inline;
	margin: 0;
	padding: 0;
}

#hnav a {
	float: left;
	background: #E73018 url(../images/corner_right.gif) no-repeat left top;
	margin: 0;
	padding: 0 0 0 15px;
	text-decoration: none;
}

#hnav a span {
	float: left;
	display: block;
	background: url(../images/corner_left.gif) no-repeat right top;
	padding: 5px 25px 6px 10px;
	font-weight: bold;
	color: #fff;
}

*/

/* Commented Backslash Hack hides rule from IE5-Mac \*/
/* #hnav a span {float:none;} */
/* End IE5-Mac hack */

/*
#hnav a:hover span {
	color: #000;
}

#hnav a:hover {
	background-position: 0% -28px;
}

#hnav a:hover span {
	background-position: 100% -28px;
}

head:first-child+body #hnav a:hover {
	background-color: #B5B5B5;
}

* html #hnav a:hover {
	background-color: #B5B5B5;
}
*/



/*nav with logos*/
#nav {
	width: 100%;
	background: #000;
	font-size: 93%;
	line-height: normal;
	border-top: 2px solid #E73018;
	border-bottom: 5px solid #808080;
	padding-bottom: 15px;
	height: 38px;
}

#nav ul {
	margin: 0;
	margin-left: 10px;
	padding: 0px 10px 0;
	list-style: none;
}

#nav li {
	margin: 0;
	padding: 0;
	display:inline;
}
	
#nav a {
	background: url(../images/corner_hnav.gif) top left no-repeat;
	padding-left: 15px;
	float: left;
}

#nav a:hover {
	background: url(../images/corner_hnav_mo.gif) top left no-repeat;
}

/* Commented Backslash Hack hides rule from IE5-Mac \*/
* html #nav a {
	float: none; }
/*end ie5 mac hack*/

#content {
	background: #fff url(../images/bg_menu.gif) repeat-y 100% 100%;
	color: #000;
	padding: 10px 0 10px 15px;
}

#content #left-content {
	margin-right: 155px;
	min-height: 150px;
}

* html #content #left-content {
	height: 150px;
}

#content #left-content ul {
	margin-top: 0;
}

#content h2 {
	padding: 10px 0;
	margin: 0 0 10px 0;
	font-size: 1.8em;
	font-weight: bold;
	text-align: center;
	border-bottom: solid 1px #666;
	border-right: solid 40px #E73018
}



#content h3 {
	padding: 5px 0;
	margin-top: 8px;
	font-size: 1.3em;
	font-weight: bold;
}

#content h4 {
	padding: 5px 0;
	margin-top: 8px;
	font-size: 1.1em;
	font-weight: bold;
	color: #000;
	letter-spacing: 2px;
}

#content p {
	padding: 5px 0 5px 0;
}

#content p.cap {
	text-transform: uppercase;
	font-family: arial,helvetica,sans-serif;
	font-size: 1.2em;
	font-weight: bold;
	text-align: center;
	padding-top: 15px;
}

#content p.center {
	text-align: center;
}

#content p.stressed {
	font-style: italic;
	font-weight: bold;
	font-size: 1.1em;
	padding: 5px;
	margin: 5px auto;
	border: solid 1px #E73018;
	background: #eee;
}

#content img.frimg {
	float: right; 
	margin:0 10px 2px 5px;
}

#content div.studtype {
	border: solid 1px #666;
	padding: 5px;
	text-align: center;
	background: #E73018;
	color: #fff;
	font-weight: bold;
	margin: 5px auto;
	width: 25em;
	text-transform: uppercase;
}

/*right floating navigation menu*/
#menu {
	float: right;
	width: 140px;
	background: #73866B;
}

#menu h3 {
	background: #B5B5B5;
	color: #000;
	font-size: 1.2em;
	margin-right: 10px;
	margin-bottom: 5px;
	padding: 2px 2px 2px 5px;
	border: solid 1px #666666;
	border-left-width: 0;
}

#menu ul, #menu ul li { 
	list-style: none; 
	margin: 0; 
	padding: 0; 
}

#menu ul li a { 
	background: transparent url(../images/bullet.gif) no-repeat 5px 4px; 
	color: #fff;
	font-size: .9em;
	text-align: left;
	width: 120px; 
	text-decoration: none; 
	display: block; 
	padding-left: 19px;
	line-height: 15px;
	margin: 7px 0;
}

* html #menu ul li a { 
	width: 100%; 
	w\idth: 120px;
}

#menu ul li a:hover { 
	background: transparent url(../images/bullet_mo.gif) no-repeat 5px 4px; 
	color: #000; 
}

/*set the current active page*/
#home #menu-home a,#research #menu-research a,#perendale #menu-perendale a,#wiltshire #menu-wiltshire a,#ultimatesheep #menu-ultimate a,#performance #menu-perf a,#stud #menu-stud a,#contactus #menu-contact a,#ramsales #menu-ram a,#texel #menu-texel a, #organic #menu-organic a {	
	background: transparent url(../images/bullet_mo.gif) no-repeat 5px 4px; }

#menu .block {
	width: 20px;
	height: 20px;
	margin-top: 60px;
	margin-left: 58px;
	display: none;
}

.gray {
	background: #B5B5B5;
}

#menu #validate {
	margin: 10px auto;
	text-align: center;
	padding: 15px 0;
	border-bottom: dotted 2px #fff;
	border-top: dotted 2px #fff;
}

#menu #validate img {
	display: inline;
	margin: 2px auto;
}

/*Footer division*/
#footer {
	background: #666666;
	color: #fff;
	padding: 10px 0;
	font-size: .9em;
	border-top: solid 3px #B5B5B5;
}


#footer ul#links {	
	margin: 10px 0;
	padding: 10px 0;
	list-style: none;
	text-align: center;
	border-bottom: dotted 2px #fff;
}	

#footer #links li {
	display: inline;
	margin: 0;
	padding: 0;
}

#footer #links li a {
	padding: 0 10px;
	border-right: solid 1px #B5B5B5;
	font-size: .9em;
	font-weight: bold;
   height: 0; /** so crappy IE5 displays padding and borders **/
   line-height: 15px;
}

#footer #links li a.nopipe {
	border-right-width: 0;
}

#footer span#foot-left  {
	float: left;
	padding-left: 5%;
	font-size: .9em;
	width: 45%;
	border-right: dotted 2px #fff;
}

#footer span#foot-right {
	float: right;
	padding-right: 5%;
	width: 40%;
	font-size: .9em;
	text-align: right;
}

#footer span#foot-left a {
	color: #B5B5B5;
}

#footer span#foot-left a:hover {
	color: #fff;
}

/* Form stuff */
#form-wrapper {
	width: 26em;
	margin: auto;
	text-align: center;
}

* html #form-wrapper {
	margin-left: 10em;
	ma\rgin: auto;
}

#form-wrapper fieldset { 
	width: 26em; 
	padding: 0.5em 1em;
	border: solid 1px #B5B5B5;
	margin-bottom: 1em;
}

#form-wrapper legend { 
	font-weight: bold;
	font-style: italic;
	font-family: georgia,times,serif;
	border: solid 1px #808080;
	padding: 3px;
	background:#B5B5B5; 
}
	
#form-wrapper label { 
	float: left; 
	position: relative; 
	width: 10em; 
	margin: .5em 10px;
	display: inline; 
}

#form-wrapper label.long { width : 21em; }

#form-wrapper label input { 
	display: inline; 
	left: 100%; 
	top: 0; 
	width: 10em;
	border: solid 1px #808080;
	background: #eee;
}

#form-wrapper input.button {
	background: #73866B;
	font-weight: bold;
	color: #fff;
	border: solid 1px #000;
}
	
#form-wrapper label.long input 	{ width: 21em; } 

#form-wrapper textarea, #form-wrapper input.button  { 
	margin-left: 3.5em; 
	margin-top: 5px;
}
	
#form-wrapper textarea { 
	border: solid 1px #808080;
	background: #eee;
}	

table#perf {
	width: 95%;  
	border: solid 1px #000;
	padding: 0px;
	border-collapse: collapse;
	text-align: center;
}

table#perf th {
	padding: 5px 7px;
}

table#perf th.title,table#perf tr.title {
	background: #000; 
	color:#fff;
}

table#perf td.bord-left, table#perf td.bord-right {
	border: solid 1px #999;
	border-left-width: 0;
	border-bottom-width: 0
}

table#perf td.border-right {
	border-right-width: 0;
}	

table#perf td.performance {
	background: #B5B5B5;
	color: #000;
	text-align: left;
	padding: 3px;
	border-right: solid 1px #000;
}

table#perf td.bold {
	font-weight: bold;
	font-size: 1.1em;
	font-style: italic;
}	


table#silflocks {
	width: 30em; 
	border-collapse: collapse; 
	border: solid 1px #666;
	margin: 10px auto;
}

table#silflocks th {
	background: #000; color: #fff;
	font-size: 1.1em;
}

table#silflocks td {	
	padding: 3px}

/*definition lists used in faqs*/	
dl {
	padding: 0;
	margin: 0;
}	

dt {
	font-weight: bold;
	font-style: italic;
	padding: 0 0 5px 0;
}

dd {
	padding: 0;
	margin: 0;
	margin-left: 10px;
}

div.clear {
	line-height: 1px;
	font-size: 1px;
	clear:both;
}


/*AVALON GROUP HOMEPAGE*/	

#group #myh1, #group #myh1 span { 
	background-image: url(../images/header_group.gif);
} 	

#group #content {
	background-image: none;
	margin-right: 1.5em;
}	
	
div.logo-container {
	background: transparent;
}

div.logo-float {
	float: left;
	width: 239px;
	margin: 0 auto;
	text-align: center;
}

div.logo-float img {
	border: solid 1px #000;
	margin: 0 auto;
	display: block
}
  
div.logo-float p {
	text-align: center;
	font-family: georgia,"Times New Roman",times,serif;
	font-weight: bold;
	font-style: italic;
}

div.logo-float img.visual {
	border-width: 0;
	margin-top: 5px;
	margin-left: 2px;
}


#rotatorcontainer {
	width: 420px;
	margin: 0 auto;
	text-align: center;
	border: solid 1px red;
}


#rotator {
	width: 350px;
	height: 300px;
	list-style-type: none;
	margin: 0 auto!important;
	padding: 0;
	text-align: center!important;
}
#rotator li {
	padding: 0!important;
	margin: 0 auto!important;	
	text-align: center!important;
}
#rotator img {
	display: inline!important;
	margin: 0 auto!important;
	text-align: center!important;
}