
/* ------------------------------------------------------------------
	MAIN STYLESHEET
	
	Project: Norwell Dairy
	Created: 2008-12-18
	Created by: RKD Web Studios info@rkd.ca
	
	Colours:
	
	Light Brown:		#faf8ee
	Brown:				#ebe6c0
	Norwell Blue:		#0055a5
	Rollover Blue:		#3e6bb2
	White:				#FFFFFF
	Dark Red:			#b4290d
	
------------------------------------------------------------------- */
 
html { 
	overflow-y: scroll; /* keeps vertical scroll bar in firefox at all times so page doesn't jump around */
	height: 100%;
	}

body {
	background: #ebe6c0;  /* background colour should be same as content area background colour to ensure WYSIWYG looks same as website */
	margin: 0;
	padding: 0;
	font: 62.5%/1.6em "Trebuchet MS" Arial, sans-serif;
	color: #000;
	}
	
	
	.BodyStyle { /* use this class to set body background colour so that it does not interfere with the WYSIWYG editor */
		background: url(../../images/main_bg.gif) top left repeat-x #ebe6c0;
		text-align: center;
		}

img, form { /* removes all default formatting on images and forms */
	margin: 0;
	padding: 0;
	border: 0;
	}

:focus { outline: none; } /* removes dotted outline from links */

.clear { clear: both; } /* clears all floats; apply to empty divs */


/* ---------------------
	GLOBAL STYLES - style as necessary
--------------------- */

a:link { color: #0055a5; text-decoration: underline; }
a:visited { color: #0055a5; text-decoration: underline; }
a:hover { color: #0055a5; text-decoration: none; }
a:active { color: #b4290d; text-decoration: none; }

p {
	font-size: 1.4em;
	line-height: 1.4em;
	margin: 5px 0 20px 0;
}

strong, b {
	font-weight: bold;
	}

em, i {
	font-style: italic;
	}

h1 { 
	margin: 0 0 0 0; 
	padding: 0;
	}
h2 {
	font-size: 1.6em;
	color: #b4290d;
	text-transform:uppercase;
	font-weight:bold;
	margin: 0 0 13px 0;
	}
h3 {
	font-size: 1.6em;
	color: #b4290d;
	margin: 13px 0 0 0;
	}
h4 {
	font-size: 1.6em;
	color: #b4290d;
	font-weight:bold;
	margin: 0 0 13px 0;
	}
h5 {
	font-size: 13px;
	}
h6 {
	font-size: 12px;
	}

/* styles used by WYSIWYG - style as necessary */
pre { }

address { }

/*====================
STRUCTURE
====================*/

#container {
	width: 971px;
	margin: 0 auto;
	text-align: left;
}

#header { height:131px; text-align:left; }

	#header .logo {
		position: relative;
		top: 20px;
		left: 5px;
		text-align:left;
	}
	
#splash {margin-top: 1px;}

#contentbg {
	margin: 0 auto;
	width: 100%;
	height: 370px;
	background:url(../../images/content_bg.gif) top left no-repeat;
}

#wrapper {
	width: 971px;
	float: left;
	min-height:450px;
	height:auto !important;
	height:450px;/*Needs to match the min height pixels above*/
}

	#contentarea {
	margin: 35px 0 0 327px;
	text-align:left;
		
	}
	
	#contentarea img {
		padding: 10px 10px 0 10px;
	}
	
	#contentarea ul {
		font-size: 135%;
		line-height: 1.8em;
		margin: -7px 0 10px 30px;
	}
	
	#contentarea li {
		list-style:none;
	}
	
#left {
	float: left;
	width:305px;
	margin-left: -971px;
	margin-top: 35px;
	text-align:left;
	vertical-align:top;
}


#footer {
	width: 100%;
	border-top: solid #b0ac90 1px;
	padding-top: 5px;
	margin-top: 35px;
	color: #b0ac90;
	font-size: 1.1em;
	height: 55px;
}

	#footer .left {
		float: left;
	/*	postion: relative;*/
	}
	
	#footer .right {
	float: right;
	position:relative;
	text-align: right;
	}

/*====================
LEFT SIDE SPECIFIC
====================*/

#left img {
	padding-left: 15px;
}

#left ul {
	margin: 5px 0 0 10px;
/*	line-height: 1.9em;*/
}

#left li {
	list-style-type: none;
	list-style:none;
	font-size: 1.4em;
	line-height: 1.6em;
	list-style: none;
	color:#0055a5;
	width: 295px;
	/*padding: 3px 0 3px 0;*/
/*	display:block;*/
}

	#left li a {text-decoration:none;}
	#left li a:link {text-decoration:none;}
	#left li a:hover {background: #dad4a2; width: 295px; display:block;}
	
	.current {background: #dad4a2; display: block;}

.productstitle {
	color: #b4290d;
	text-transform:uppercase;
	font-weight: bold;
	margin: 5px 0 0 0;
}


/*====================
CONTENT SPECIFIC
====================*/

.homelinks {float: left; position:relative; margin:5px 0 5px 0;}

.homelinks p {margin:0; padding:0;}

.homelinks2 {float: left; position:relative; margin:5px 0 5px 50px;}
.homelinks2 p {margin:0; padding:0;}


/*====================
MENU
====================*/

#menuholder { height: 40px; margin-left: 280px; text-align:left;}

/* DropDown */
#nav, #nav ul {
	padding: 0;
	margin: 0;
	list-style: none;
}

#nav a {
	display: block;
	/*width: 10em;*/
	text-indent: -9999px;
	height:40px;
}

#nav li {
	float: left;
	padding-right:15px;
}

#nav li ul {
	position: absolute;
	display:block;
	left: -999em;
	padding: 0;
	border: solid #002f5b 1px;
	width: 210px;
	
}

#nav li ul li {display: block;  width:100%; padding-right:0;}

/* 2nd level list link */
#nav li ul a, #nav li ul a:link { 
	color: #FFF;
	height: 25px;
	font-size: 1.4em;
	text-indent: 18px;
	text-decoration: none;
	padding: 5px 0 0 0;
	line-height: 1.3em;
	width: 100%;
		}

#nav li ul a:hover {font-weight: bold; background-color:#3e6bb2;}

#nav li:hover ul {
	left: auto;
}

#nav li:hover ul, #nav li.sfhover ul {
	left: auto;
}

#nav li:hover, #nav li.hover {  
   position: static;  
 }  

/* Rollovers */

#nav a:hover {background-position: top right;}

#nav #home a {
	background-image: url(../../images/menu/btn_home.gif);
	width: 100px;
	}

#nav #aboutus a {
	background-image: url(../../images/menu/btn_about.gif);
	width: 100px;
	}
	#nav #aboutus ul {background: #0055a5; width:210px;}
	#nav #aboutus ul li a {background-image:none; width:210;}
	
	
#nav #features a {
	background-image: url(../../images/menu/btn_features.gif);
	width: 100px;
	}
	
#nav #products a {
	background-image: url(../../images/menu/btn_products.gif);
	width: 100px;
	}
	#nav #products ul {background: #0055a5; width:210px;}
	#nav #products ul li a {background-image:none; width:100%;}

#nav #services a {
	background-image: url(../../images/menu/btn_services.gif);
	width: 100px;
	}
	#nav #services ul {background: #0055a5; width:210px;}
	#nav #services ul li a { background-image:none; width:100%;}
	
#nav #contactus a {
	background-image: url(../../images/menu/btn_contact.gif);
	width: 100px;
	}
	
	#nav #contactus ul {background: #0055a5; width:210px;}
	#nav #contactus ul li a { background-image:none; width:100%;}
	
/* ==============
PAGE TITLE
==========*/

h1 span{
	margin-left: -9999px;
	display:block;
	height: 43px;
	width: 596px;
	margin-bottom: -10px;
	}
	
	.homepage {
		background: url(../../images/title_homepage.gif) top left no-repeat;
	}

	.history {
		background: url(../../images/title_history.gif) top left no-repeat;
	}
	
	.aboutus {
		background: url(../../images/title_aboutus.gif) top left no-repeat;
	}
	
	.features {
		background: url(../../images/title_features.gif) top left no-repeat;
	}
	
	.servicecalls {
		background: url(../../images/title_servicecalls.gif) top left no-repeat;
	}
	
	.cooling {
		background: url(../../images/title_coolingrefrigeration.gif) top left no-repeat;
	}
	
	.install {
		background: url(../../images/title_installation.gif) top left no-repeat;
	}
	
	.norwelladvantage {
		background: url(../../images/title_norwelladvantage.gif) top left no-repeat;
	}
	
	.routeprogram {
		background: url(../../images/title_routeprogram.gif) top left no-repeat;
	}
	
	.sales {
		background: url(../../images/title_sales.gif) top left no-repeat;
	}
	
	.contactus {
		background: url(../../images/title_contactus.gif) top left no-repeat;
	}
	
	.aftermarket {
		background: url(../../images/title_aftermarket.gif) top left no-repeat;
	}
	
	.coolingequipment {
		background: url(../../images/title_coolingequipment.gif) top left no-repeat;
	}
	
	.cowcomfort {
		background: url(../../images/title_cowcomfort.gif) top left no-repeat;
	}
	
	.milkingequipment {
		background: url(../../images/title_milkingequipment.gif) top left no-repeat;
	}
	
	.sheepgoat {
		background: url(../../images/title_sheepgoat.gif) top left no-repeat;
	}
	
	.stabling {
		background: url(../../images/title_stabling.gif) top left no-repeat;
	}
	
	.ventilation {
		background: url(../../images/title_ventilation.gif) top left no-repeat;
	}
	
	.error {
		background: url(../../images/title_error.gif) top left no-repeat;
	}
	
	.thankyou {
		background: url(../../images/title_thankyou.gif) top left no-repeat;
	}
	
	.links {
		background: url(../../images/title_links.gif) top left no-repeat;
	}
	
/*==========
PRODUCT SHOWCASE
==================*/

#productwrap {
	width: 640px;
	height: 220px;
	float: left;
	padding: 0;
	margin: 0;
	background:url(../../images/product_bg.gif) top left no-repeat;
}

	#logo {
	position:relative;
	margin: 0 451px 0 0;
	/*height: 195px;*/
	padding: 40px 0 0 0;
	text-align: center;
	}
	
		#logo img {padding:0; margin:0;}
	
	#desc {
		float: left;
		width: 235px;
	/*	height: 250px;*/
		margin-left: -451px;
		padding-left: 15px;
	}
	
		#desc ul {
			font-size: 1.1em;
			margin-left: 0;
			margin-top: -10px;
		}
		
		#desc p {
			font-size: 1.3em;
			padding-top: 15px;
			color: #0055a5;
		}
	
	#gallery {
		float: left;
		width: 206px;
		/*height: 195px;*/
		padding: 10px 0 0 0;
		margin-left: -206px;
	}
	
		#gallery img {
		padding: 0;
		margin:0;
	}
	
		#pics {
		text-align:center;
		padding-top: 10px;
		margin: 0;
	}
	
	#pics .smallthumbs, #pics .smallthumbs a, #pics .smallthumbs a:link  {
		display: inline;
		margin: 0;
		padding-top: 3px;
	}
		
		#pics .smallthumbs img {
		padding:7px 0 0 0;
		margin: 0;
	}
	
/*============
CONTACT PAGE
===============*/

#contact {
	margin-top: 10px;
	background-color:#ddd8b0;
	width: 400px;
}

	#contact td {
		padding: 5px;
	}
	
#map {
	margin-top: 20px;
	width: 600px;
}

	#map td {
		padding: 5px;
	}
	
/*============
RKD
===============*/
.rkd {
	float: left;
	margin-left: 170px;
}

	.rkd a { color:#999; text-decoration: underline;}
	.rkd a:link {color:#999; text-decoration: underline;}
	.rkd a:active {color:#999; text-decoration: none;}
	.rkd a:hover {color:#999; text-decoration: none;}
	
#norwelladdress {
display: none;
font-size: 1.8em;
color: #0055a5;
float: left;
margin-top: 35px;
font-weight: bold;
}