/* AVALON LTD CSS DOC
AUTHOR: Borden Li - BORDESIGN
------------------------------------------------------------------------------------------*/





/* HTML STYLE
------------------------------------------------------------------------------------------*/

body, html {
	font-family:Verdana, Arial, Helvetica, sans-serif;
	line-height: 1.4;
	font-size: 11px;
	color: #5e5e5e;
	background: #ffffff
				url(../images/bg.gif)
				repeat-x;
	padding: 0px;
	margin: 0px;

}




a {
	color: #ff0000;
	text-decoration: none;
}

a:hover {
	color: #0997d8;
	text-decoration:underline;
}


a:visited {
	color: #FF0000;
	}

img {
	border: 0px none;
}

p {
	color: #5e5e5e;
}



h1 {
	padding: 0px;
	margin: 0px;
}


h2 {
	padding: 0px;
	margin: 0px;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 18px;
	font-weight: bold;
	color: #666666;
}

/*h4 {
	padding: 0px;
	margin: 0px;
	background:	#ffffff
				url(../images/arrow.gif)
				0px 5px
				no-repeat;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 14px;
	color: #666666;
	padding-left: 15px;
	margin-top: 5px;
}*/

h4 {
	padding: 0px;
	margin: 0px;
	background:	#e1e1e1
				url(../images/arrow.gif)
				0px 5px
				no-repeat;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 14px;
	color: #666666;
	padding-left: 15px;
	margin-top: 5px;
}


h3 {
	width: 355px;
	display: block;
	border-top: 1px solid #666666;
	padding: 0px;
	margin: 0px;
	font-size: 12px;
	font-weight: normal;
	color: #666666;
	padding: 1px;
}

h5 {
	padding: 0px;
	margin: 0px;
	font-size: 16px;
	font-weight: bold;
	color: #f70c27;
}

h6 {
	padding: 0px;
	margin: 0px;
	background:	#e1e1e1
				url(../images/arrow.gif)
				0px 5px
				no-repeat;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 14px;
	color: #666666;
	padding-left: 15px;
	margin-top: 5px;
	margin-left: 2px;
	margin-right: 2px;
	display: block;
	width: 345px;
}

strong {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
}


.quotetxt {
	font-family: Arial, Helvetica, sans-serif;
	color: #f70c27;
	font-size: 16px;
	font-weight: bold;
	line-height: 27px;
}


.quotesign {
	font-family: Arial, Helvetica, sans-serif;
	color: #f70c27;
	font-size: 30px;
	font-weight: bold;
	line-height: 27px;
}

.quotesign2 {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 16px;
	font-weight: bold;
}
/* HEADER
------------------------------------------------------------------------------------------*/
#header {
}


/* NAV
------------------------------------------------------------------------------------------*/
#menu{
	height: 25px;
	width: 760px;
	position: absolute;
	z-index: 999;/*must have*/
	background: #ffffff;
	
}

#nav-flow{
 float: right;
}

#left-flow{
 float: left;
}

#nav,
#nav ul { /* all lists */
	padding: 0;
	margin: 0;
	list-style: none;
}

#nav li { /* all list items */
	float: left;
	position: relative;
	width: 10em;
}

#nav li a.navlink { /* Primary Item Link */
	display: block;
	height: 0px !important;
	height /**/:25px; /* IE 5/Win hack */ 
	padding: 25px 0 0 0;
	overflow: hidden;
	background-repeat: no-repeat;
}

#nav li a:hover,
#nav li a.over { /* Primary Item Link Hover */
	background-position: 0 -25px;
}

#nav li#about,
#nav li#about a.navlink { width: 104px; background-image: url(../images/nav/about.gif); }

#nav li#services,
#nav li#services a.navlink { width: 104px; background-image: url(../images/nav/services.gif); }

#nav li#geotechnical,
#nav li#geotechnical a.navlink { width: 114px; background-image: url(../images/nav/geo.gif); }

#nav li#contact,
#nav li#contact a.navlink { width: 104px; background-image: url(../images/nav/contact.gif); }

ul.subnav { /* second-level lists */
	position: absolute;
	background: #ffffff;
	width: 160px;
	/* left: -999em; using left instead of display to hide menus because display: none isn't read by screen readers */
	display: none; /* temporary fix for issue with positioning method in IE7 */
	z-index: 100;
}

#nav li>ul { /* to override top and left in browsers other than IE, which will position to the top right of the containing li, rather than bottom left */
	top: auto;
	/* left: -999em; */
	display: none;
}

#nav li li { /* Secondary Item */
	float: left;
	border: 1px solid #a5a5a5;
	border-top: 0 none;
	background-image: none;
	width: 158px;
	\width: 160px;
	w\idth: 158px;
	background: transparent
		url(../images/nav/subnav.gif);
}

#nav li li a { /* Secondary Item Link */
	padding: 6px 10px;
	display: block;
	color: #333333;
	text-decoration: none;
	width: 138px;
	\width: 140px;
	w\idth: 138px;
}

#nav li ul a:hover { /* Secondary Item Link Hover */
	background: transparent
				url(../images/nav/subnav_over.gif);
	color: #ffffff;
}

#nav li:hover ul, li.over ul { /* lists nested under hovered list items */
	left: auto;
	display: block;
}

/* DISPLAY
------------------------------------------------------------------------------------------*/

.why_avalon {
display:block;
height:42px; 
width:365px;
background:url(../images/whyavalon.jpg) 0 0 no-repeat;
margin-top: 40px;
margin-bottom: 15px;
}

.why_avalon:hover {background-position:0 -45px;}

.contact_avalon {
display::block;
height:45px;/*this is the height of the button inside the sprite */
width:233px; 
background:url(../images/btn-contact.png) 0 0 no-repeat;
float:right;
margin: 5px;
text-indent: -99999px;
}

.contact_avalon:hover {background-position:0 -49px;}




/* CONTENT BLOCK
------------------------------------------------------------------------------------------*/
.homeimg {margin-top:42px;
margin-bottom:20px;

}

#main-container {
	width: 760px;
	margin: auto;
	text-align: left;
}

#header-left {
 	width: 325px;
}

#header-right {
	width: 450px;
	float: right;
	padding: 0px;
	margin: 0px;
}

#content-container {
	width: 760px;
	marginl: auto;
	background: #ffffff;
	margin-top: 2px;
	border-top: 5px solid #f70c27;
	position: relative;
	left: 0px;
	top: 25px;
}

#content-container ul {
	list-style: none;
	padding: 0px;
	margin: 0px;
}

#content-container li {
	background:	#ffffff
			url(../images/circle.gif)
			0px 5px
			no-repeat;
	padding-left: 10px;
	font-size: 10px;
}


#content-container p {
	text-align: left;
	padding-bottom: 5px;
}

#left-bar {
    background:#ffffff;
    float:left;
	padding-top: 10px;
	padding-bottom: 10px;
	padding-left: 10px;
	padding-right: 0px;
    width:365px;
    }
	
#right-bar {
    background:#ffffff;
    float:right;
	padding-top: 10px;
	padding-bottom: 10px;
	padding-right: 10px;
	padding-left: 0px;
    width:365px;

    }

.red {
	color: #f70c27;
}

/* Banner
------------------------------------------------------------------------------------------*/
#banner-container {
	/*border-top: 1px solid #eaeaea;
	border-bottom: 1px solid #easeaea;*/


	width: 720px;
	float: left;
	clear: both;
	padding: 10px;
	background: url(../images/contact-footer-bg.jpg);
	height: 50px;
	position: relative; 
	margin: 40px 0 0 0;
}

/* FOOTER
------------------------------------------------------------------------------------------*/

#footer-container {
	border-top: 1px solid #eaeaea;
	text-align: left;
	width: 740px;
	clear: both;
	padding: 0px;
	background: #ffffff;
	color: #666666;
	font-size: 10px;
	font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif;
	height: 36px;
	position: relative;
	top: 35px;
}

#footer {
	text-align: center;
	width: 740px;
	margin: auto;
	padding-left: 0px;
	padding-top: 5px;
}

#footer a{
	color: #999999;
}

#footer a:hover{
	color: #ff0000;
}

#footer a:visited{
	color: #999999;
}

/* PRINT
------------------------------------------------------------------------------------------*/
#printlogo {
	display: none;
}
