body {
  background-color: #999999;
  color: #000000;
  text-align: center;
  	background-image: url(images/bodybg.png);
	background-repeat: repeat;
}
#site {
	margin-left: auto;
	margin-right: auto;
	background-color: #FFFFFF;
	font-family: Arial;
	font-size: 100%;
	text-align: left;
	width: 820px;
	background-position: bottom;
	border: 2px solid #000000;
}

#content {
	margin-left: auto;
	margin-right: auto;
	background-image: url(images/main/background.jpg);
	background-repeat: no-repeat;
	background-attachment: scroll;
	background-color: #FFFFFF;
	font-family: Arial;
	font-size: 100%;
	text-align: left;
	width: 820px;
	background-position: center top;
	/margin-top: 20px;
	clear:left;
}
#contactinfo { 
	text-align:center;
	padding-bottom:15px;
	font-weight:bold;
	text-decoration: none;
	color: #003399;
	
}

#contactinfo a { 
	text-align:center;
	padding-bottom:15px;
	font-weight:bold;
	text-decoration: none;
	
}
/*html>body #content {
	background-attachment: scroll;
}*/

img {
	border: 0;
}

#header_left {
	position: relative;
	left: 10px;
	top: 10px;
	margin-right: 10px;
}

#header_right {
	position: relative;
	left: 550px;
	
}

#header_right a:link, a:visited {
	color: 993333;
	}
	
#left_text {
	top: 200px;
	height: 300px;
	width: 330px;
	border: 1px solid #999999;
	padding: 0 0 0 20px;
	line-height: 20px;
	background-repeat: no-repeat;
	background-attachment: scroll;
	background-position:center;
	margin-right: 15px;
	background-image: url(images/large/msd_canada_bw.jpg);
	margin-top: 30px;
	margin-bottom: 30px;
	margin-left: 30px;
	background-color: #cccccc;
	}
	
#left_text p {
padding-right: 15px;
line-height: 1.1em;
}	

#left_text_small {
	top: 200px;
	height: 300px;
	width: 330px;
	border: 1px solid #999999;
	padding: 0 0 0 20px;
	line-height: 20px;
	background-repeat: no-repeat;
	background-attachment: scroll;
	background-position:center;
	margin-right: 15px;
	background-image: url(images/large/msd_canada_bw.jpg);
	margin-top: 30px;
	margin-bottom: 30px;
	margin-left: 30px;
	background-color: #cccccc;
	font-size: 14px;
	}
	
#left_text_small p {
padding-right: 15px;
line-height: 1.1em;
}

/*html>body #left_text {
	background-attachment: scroll;
	margin-top: -30px;
	background-image: url(images/large/msd_canada_bw.jpg);
	float: left;
}

	
#left_text ul {
	list-style: none;
	padding: 0;
	margin: 0;
	}
	
#left_text li {
	padding-top: 20px;
	}*/
#right_text {
	height: 200px;
	width: 180px;
	font-size: 80%;
	
	margin-top: 0px;
	padding-left: 30px;
	position: absolute;
	}

#thumbnails {
	width: 570px;
	margin-left: 240px;

	display: block;
	
	position: relative;
	
	}
	

 
 #main_image {
	height: 330px;
	width: 400px;
	margin-left: 400px;
	margin-top: -332px;
	
 }
 #text-top {

	width: 400px;
	margin-left: 400px;
	margin-top: -332px;
	margin-bottom: 15px;
 }
 #main_text {
	width: 400px;
	margin-top: -360px;
	padding: 10px;
	float:right;
	margin-right: 15px;
 	}
 	
 #main_text p {
 	font-size: 90%;
 	line-height: 1.5em;
 }
 	
 
 #footer {
	
	bottom: 0;
	width: 820px;
	border-top: 1px solid #000000;
	text-align: center;
	vertical-align: top;
	color: #626262;
	font-size: 70%;
	height: 50px;
	padding-top: -20px;
	background-color: #cccccc;
}
#footer p {
margin-top: 5px;
}

#footer p.have1 {
	margin-top: -10px;
	/margin-top: -20px;
	margin-bottom: 10px;
	}

p.have1 a:link {
	text-decoration: none;
	vertical-align: top;
	border: none;
}
p.have1 a:hover {
	color:red;
	text-decoration: none;
}
p.have1 a:active {
	color:red;
}
p.have1 a:visited {
 	color:red;
	text-decoration: none;
}
p.have1 {
	color:red;
	font-style: oblique;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	vertical-align: center;
}
p.have1 img {
	
	border: none;
	margin-bottom: -5px;
	margin-left: 5px;
}



/**** TEXT ****/
#thumbnails ul {
	list-style: none;
	position: relative;
	min-height: 250px;
	}
	
#thumbnails ul ul {
	list-style: none;
	padding: 0px; 
	margin: 0px;
	color: #000000;
	position: absolute;
	text-align: left;
  	left: -3000px;
	
}

#thumbnails ul ul li {
	padding: 0px
	margin: 0px;
}

#thumbnails ul li {
	display: inline;
	padding: 0px;
	margin: 0px;
	z-index:15;
}

#thumbnails ul li ul li {
	position: absolute;
	margin-top: -40px;
	margin-left: -230px;
	/margin-left: -260px;
	width: 240px;
	font-size: 80%;
	border: 2px solid #000000;
	background-color: #99ffcc;
	padding: 5px;
	color: #000000;
	

	
}

#thumbnails ul li a:active, #thumbnails ul li a.sel {
	color:#000000; !important;
	text-decoration:none;

	
}


#thumbnails li:hover ul, #thumbnails li.over ul {
  display: block;
  left: 0px;
  top: 40px;
  padding: 0px;
  position: absolute;
  margin-right: 50px;
}
.detail {
		margin-left: 15px;
		}

#header {
	background-color: #FFFFFF;
	position: relative;
	margin-left: auto;
	margin-right: auto;
	font-family: Arial;
	font-size: 100%;
	text-align: left;
	width: 820px;
	}
#title {
 text-align:center;
 font-style: italic;
 text-decoration: underline;
 padding-bottom: 0px;
 padding-top: 20px;
 
 }
#smphoto {
	top: 430px;
	left: 15px;
	height: 340px;
	width: 370px;
	}
#thumbnaillabel {
	/margin-top: -200px;
	font-size: 10pt;
	width: 120px;
	margin-left: 260px;
	position: absolute;
	margin-top: 0px;
	}
#bottomcontent {
position: relative;
margin: 0px;
padding: 0px;
}
#nav {
font-weight: bold;
	list-style: none;
	text-decoration: none;
	z-index: 500;
	height: 30px;
	margin-top: 30px;
	color: #990033;
	padding-left: 30px;
	border-bottom: 1pt solid #000000;
	border-top: 1pt solid #000000;
	text-align: center;
	font-size: 12pt;
	padding-left: 60px;
	padding-top: 20px;
	border-bottom: 1pt solid #000000;
	border-top: 1pt solid #000000;	
	background-image: url(images/msdnavbg.png);
}


#nav ul {

	list-style: none;
	text-decoration: none;
}
#nav a:link, #nav a:visited {
	text-decoration: none;
	color: #003399;
}
#nav a:hover{
	color: #990033;
}
#nav a {
	display: block;
	text-decoration: none;	
}

#nav li {
	float: left;
}
#nav li ul {
	position: absolute;
	
	border-left:#2A3F55 thin solid;
	border-bottom:#2A3F55 thin solid;

}

#nav li:hover ul {
	left: auto;
}
#nav li:hover ul, #nav li.sfhover ul {
	left: auto;	
}
#dairy_image {
	position: absolute;
	margin-top: -60px;

	margin-left: 70px;
		/margin-left: -320px;
}
#bottom_left {
	position: relative;
	margin-top: 180px;
	margin-left: 390px;
	margin-bottom: 15px;
}
.homepic {
margin-top: 10px;
width: 760px;
margin-left: 30px;
}
#gmap {
margin-left: 30px;
margin-bottom: 20px;
width: 350px;
}






/*MEGA MENU*/
ul#topnav {
	margin: 0; padding: 0;
	float:left;
	width: 100%;
	list-style: none;
	font-size: 1.1em;
	background: #344c00 url(nav-back.png) repeat-x;
}
ul#topnav li {
	float: left;
	margin: 0; padding: 0;
	position: relative; /*--Important--*/
}
ul#topnav li a {
	float: left;
	text-indent: -9999px; /*--Push text off of page--*/
	height: 38px;
}
ul#topnav li:hover a, ul#topnav li a:hover { background-position: left bottom; } /*--Hover State--*/
ul#topnav li:active a, ul#topnav li a:active { background-position: left bottom; } /*--active State--*/

ul#topnav a.home {
	background: url(new_home.jpg) no-repeat;
	width: 118px;
}
ul#topnav a.milking {
	background: url(new_milking.jpg) no-repeat;
	width: 175px;
}
ul#topnav a.stabling {
	background: url(new_stabling.jpg) no-repeat;
	width: 118px;
}
ul#topnav a.arch {
	background: url(new_acrh.jpg) no-repeat;
	width: 238px;
}

ul#topnav a.contact {
	background: url(new_contact.jpg) no-repeat;
	width: 141px;
}

/*SUB - MENU */
ul#topnav li .sub {
	position: absolute; /*--Important--*/
	top: 38px; left: 0;
	z-index: 99999;
	background: #344c00 url(sub_bg.png) repeat-x; /*--Background gradient--*/
	padding: 20px 20px 20px 20px;
	float: left;
	/*--Bottom right rounded corner--*/
	-moz-border-radius-bottomright: 5px;
	-khtml-border-radius-bottomright: 5px;
	-webkit-border-bottom-right-radius: 5px;
	/*--Bottom left rounded corner--*/
	-moz-border-radius-bottomleft: 5px;
	-khtml-border-radius-bottomleft: 5px;
	-webkit-border-bottom-left-radius: 5px;
	display: none; /*--Hidden for those with js turned off--*/
}
ul#topnav li .row { /*--If needed to break out into rows--*/
	clear: both;
	float: left;
	width: 100%;
	margin-bottom: 10px;
}
ul#topnav li .sub ul{
	list-style: none;
	margin: 0; padding: 0;
	width: 150px;
	float: left;
}
ul#topnav .sub ul li {
	width: 100%; /*--Override parent list item--*/
	color: #fff;
}
ul#topnav .sub ul li h2 { /*--Sub nav heading style--*/
	padding: 0;  margin: 0;
	font-size: 1.1em;
	font-weight: normal;
}
ul#topnav .sub ul li h2 a { /*--Sub nav heading link style--*/
	padding: 5px 0;
	background-image: none;
	color: #e8e000;
}
ul#topnav .sub ul li a {
	float: none;
	text-indent: 0; /*--Override text-indent from parent list item--*/
	height: auto; /*--Override height from parent list item--*/
	background: url(navlist_arrow.png) no-repeat 5px 12px;
	padding: 7px 5px 7px 15px;
	display: block;
	text-decoration: none;
	color: #ccc;
}
ul#topnav .sub ul li a:hover {
	color: #ddd;
	background-position: 5px 12px ;/*--Override background position--*/
}
#gmap2 {
margin: 20px;
}

