/* CSS Document */

body {
	background:  url(../images/bg_gray.gif) repeat-x left top;
	margin: 0;
	padding: 0;
	text-align: left;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: small;
	color: #343434;
}

h1 {
	position: absolute;
	top: 105px;
	left: 295px;
	margin: 0;
	padding: 0;
	/*display: block;
	overflow: hidden;
	height: 0px !important; 
	height /**/:30px; /* for IE5/Win only */
}


h2, h3 {
	margin: 0;
	padding: 0 0 5px 0;;
	font-weight: normal;
}


h2 { font-size: 120%;  color: #39A7DA; }
h3 { font-size: 100%;  color: #808080; }


p {
	font-size: 85%;
	line-height: 1.6em;
}

a {
	color: #39A7DA;
	text-decoration: none;
}

a:hover, a:visited, a:active {
	text-decoration: underline;
}



#wrapper {
	width: 840px;
	position: relative;
	margin: 20px auto 0 auto;
	padding: 177px 0 0 0;
	text-align: left;
	background: url(../images/background.gif) no-repeat left top;
}

#wrapperhome {
	width: 840px;
	position: relative;
	margin: 20px auto 0 auto;
	padding: 177px 0 0 0;
	text-align: left;
	background: url(../images/backgroundhome.gif) no-repeat left top;
}

#main-body {
	width: 536px;
	float: right;
	display: inline;
	background-color: #FFF;
	margin: 0 13px 0 0;
	padding: 0;
	}
	
	#main-bodyhome {
	width: 571px;
	float: right;
	display: inline;
	background-color: #FFF;
	margin: -10px 13px 0 0;
	padding: 0;
	}


#sidebar-left {
	display: inline;
	float: left;
	width: 217px; /*for Win/IE5 */
	voice-family: "\"}\"";
	voice-family: inherit;
	width: 195px; /*actual value */
	background-color: #FFF;
	margin-left: 22px; 
	font-size: 85%;
	padding: 0;
}

#sidebar-left p {
	line-height: 1.3em;
	padding-left: 10px;
	font-size: 90%;
	
}

#sidebar-left a {
	color: #39A7DA;
	text-decoration: none;
}

#sidebar-left a:hover, a:visited, a:active {
	text-decoration: underline;
}


#mainnav {
	margin: 0 10px 30px 0;
	padding: 0 0 50px 0;
	border-bottom: 1px solid #999;
	list-style: none;
	display: block;
	overflow: hidden;
}

#mainnav li {
	margin: 6px 0 0 0; 
	padding: 0;
    list-style: none;
	display: block;
	}

#mainnav li a {
	display: block;
	padding: 25px 0 0 0;
	overflow: hidden;
	height: 0px !important; 
	height /**/:25px; /* for IE5/Win only */
	}
	
#mainnav a:hover {
	background-position: 0 0;
	}

#mainnav a:active, #mainnav a.selected {
	background-position: 0 0;
	}	
	
#subnav {
	position: absolute;
	top: 150px;
	left: 290px;
	margin: 0;
	padding: 0;
	width: 500px;

}
	
#aboutus a  {
	width: 182px;
	background: url(../images/m_aboutus.gif) left -25px no-repeat;
	
	}
	
#products a  {
	width: 182px;
	background: url("../images/m_products.gif") left -25px no-repeat;
	}
	
#portfolio a  {
	width: 182px;
	background: url("../images/m_portfolio.gif") left -25px no-repeat;
	}
	
#contactus a  {
	width: 182px;
	background: url("../images/m_contact.gif") left -25px no-repeat;
	}
	
#home a  {
	width: 182px;
	background: url("../images/m_home.gif") left -25px no-repeat;
	}

#content {
	float: left;
	width: 354px;
}

#content div {
	padding: 20px 15px 20px 7px;
	margin: 0;
}

	#content div ul {
			margin: 0 0 30px 0px;
			padding: 0;
			}
		
	#content div ul li {
			background: url(../images/icn_arrow.gif) no-repeat 0 50%;
			padding: 0 0 0 15px;
			list-style-type: none;
			font-size: 85%;
			margin-bottom: 5px;
			}
			
	#homecontent {
	float: left;
	width: 373px;
	margin-top: 25px;
}

	#homecontentcontent div {
	padding: 20px 15px 20px 7px;
	margin: 0;
}

#homeimage {
		position: absolute;
		top: -85px;
		left: 300px;
} 


#sidebar-right {
	width: 182px;
	float: right;
	display: inline;
	padding: 0;
	margin: 0;
}

#sidebar-right div {
	padding: 20px 0;
	margin: 0;
	background: url(../images/divider.gif) left 20px no-repeat;
}

#sidebar-right div p {
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size: 140%;
	color: #999;
	line-height: 1.2em;
	margin: 0 10px;
}


.homeimage {
	padding-top: -85px;
}

#footer {
	clear: both;
	text-align: left;
	color: #B1B0B0;
	margin: 0 11px 0 10px;
	padding: 20px 0;
	background: url(../images/bg_footer.gif) repeat-x bottom left;
}

#footer p {
	margin-left: 255px;
	font-size: 85%;
}
