body#homepage {
	background: #008acf url(/themes/site_themes/qas/images/home-bg.png) repeat-x top left;
}
body {
	background: #008acf url(/themes/site_themes/qas/images/bg-tile.gif) repeat-x top left;
}

/* ============================================================= HEADER */

#header {
	background: transparent url(/themes/site_themes/qas/images/header-bg.png) no-repeat top left;
	margin: 0 auto;
	width: 804px;
	height: 166px;
}

/* ============================================================= LOGO */

#logo {
	

/*float: left;*/
	text-indent: -9999px;
	width: 275px;
	height: 110px;
	margin: 0;
	padding: 0;
}

#logo a:link, #logo a:visited, #logo a:hover, #logo a:active {


/*	background: transparent url(/themes/site_themes/qas/images/qas-logo.jpg) no-repeat 0 0;	*/
	display: block;
	width: 275px;
	height: 110px;
	text-indent: -9999px;
	margin: 0;
	padding: 0;
}

/*#logo a:hover, #logo a:active {
	background: transparent url(/themes/site_themes/qas/images/qas-logo.jpg) no-repeat 0 -200px;	
	display: block;
	width: 200px;
	height: 200px;
	text-indent: -9999px;
	margin: 0;
	padding: 0;
}*/

/* ============================================================= MAIN NAVIGATION */

ul#nav {
	z-index: 10;
	list-style-type: none;
	margin: 0 auto;
	padding: 0;
	position: relative;
	top: 12px;
	height: 30px;
	width: 780px;
	display: block;
	background: transparent url(/themes/site_themes/qas/images/nav-bg.png) no-repeat 0 0;
}

ul#nav li.top {
	display: inline;
	float: left;
}

/* ============================================================= MAIN NAVIGATION - Dropdown Headers */

a#home:link,#home:visited {
	display: block;
	height: 30px;
	width: 71px;
	background: transparent url(/themes/site_themes/qas/images/nav-sprite-2.png) no-repeat 0 0;
	text-indent: -9999px;
}

a#home:hover {
	background: transparent url(/themes/site_themes/qas/images/nav-sprite-2.png) no-repeat 0 -30px;
}

a#home:active,#home:active.active {
	background: transparent url(/themes/site_themes/qas/images/nav-sprite-2.png) no-repeat 0 -30px;
}

a#home.active {
	background: transparent url(/themes/site_themes/qas/images/nav-sprite-2.png) no-repeat 0 -30px;
}

a#about:link,#about:visited {
	display: block;
	height: 30px;
	width: 96px;
	background: transparent url(/themes/site_themes/qas/images/nav-sprite-2.png) no-repeat -71px 0;
	text-indent: -9999px;
}

a#about:hover {
	background: transparent url(/themes/site_themes/qas/images/nav-sprite-2.png) no-repeat -71px -30px;
}

a#about:active,#about:active.active {
	background: transparent url(/themes/site_themes/qas/images/nav-sprite-2.png) no-repeat -71px -30px;
}

a#about.active {
	background: transparent url(/themes/site_themes/qas/images/nav-sprite-2.png) no-repeat -71px -30px;
}

li#about-a:hover a.top {
	background: transparent url(/themes/site_themes/qas/images/nav-sprite-2.png) no-repeat -71px -30px;
}

a#services:link,#services:visited {
	display: block;
	height: 30px;
	width: 90px;
	background: transparent url(/themes/site_themes/qas/images/nav-sprite-2.png) no-repeat -167px 0;
	text-indent: -9999px;
}

a#services:hover {
	background: transparent url(/themes/site_themes/qas/images/nav-sprite-2.png) no-repeat -167px -30px;
}

a#services:active,#services:active.active {
	background: transparent url(/themes/site_themes/qas/images/nav-sprite-2.png) no-repeat -167px -30px;
}

a#services.active {
	background: transparent url(/themes/site_themes/qas/images/nav-sprite-2.png) no-repeat -167px -30px;
}

li#services-a:hover a.top {
	background: transparent url(/themes/site_themes/qas/images/nav-sprite-2.png) no-repeat -167px -30px;
}

a#products:link,#products:visited {
	display: block;
	height: 30px;
	width: 93px;
	background: transparent url(/themes/site_themes/qas/images/nav-sprite-2.png) no-repeat -257px 0;
	text-indent: -9999px;
}

a#products:hover {
	background: transparent url(/themes/site_themes/qas/images/nav-sprite-2.png) no-repeat -257px -30px;
}

a#products:active,#products:active.active {
	background: transparent url(/themes/site_themes/qas/images/nav-sprite-2.png) no-repeat -257px -30px;
}

a#products.active {
	background: transparent url(/themes/site_themes/qas/images/nav-sprite-2.png) no-repeat -257px -30px;
}

li#products-a:hover a.top {
	background: transparent url(/themes/site_themes/qas/images/nav-sprite-2.png) no-repeat -257px -30px;
}

a#partners:link,#partners:visited {
	display: block;
	height: 30px;
	width: 89px;
	background: transparent url(/themes/site_themes/qas/images/nav-sprite-2.png) no-repeat -350px 0;
	text-indent: -9999px;
}

a#partners:hover {
	background: transparent url(/themes/site_themes/qas/images/nav-sprite-2.png) no-repeat -350px -30px;
}

a#partners:active,#partners:active.active {
	background: transparent url(/themes/site_themes/qas/images/nav-sprite-2.png) no-repeat -350px -30px;
}

a#partners.active {
	background: transparent url(/themes/site_themes/qas/images/nav-sprite-2.png) no-repeat -350px -30px;
}

li#partners-a:hover a.top {
	background: transparent url(/themes/site_themes/qas/images/nav-sprite-2.png) no-repeat -350px -30px;
}

a#case-studies:link,#case-studies:visited {
	display: block;
	height: 30px;
	width: 121px;
	background: transparent url(/themes/site_themes/qas/images/nav-sprite-2.png) no-repeat -439px 0;
	text-indent: -9999px;
}

a#case-studies:hover {
	background: transparent url(/themes/site_themes/qas/images/nav-sprite-2.png) no-repeat -439px -30px;
}

a#case-studies:active,#case-studies:active.active {
	background: transparent url(/themes/site_themes/qas/images/nav-sprite-2.png) no-repeat -439px -30px;
}

a#case-studies.active {
	background: transparent url(/themes/site_themes/qas/images/nav-sprite-2.png) no-repeat -439px -30px;
}

li#case-studies-a:hover a.top {
	background: transparent url(/themes/site_themes/qas/images/nav-sprite-2.png) no-repeat -439px -30px;
}

/*---*/
a#news:link,#news:visited {
	display: block;
	height: 30px;
	width: 69px;
	background: transparent url(/themes/site_themes/qas/images/nav-sprite-2.png) no-repeat -560px 0;
	text-indent: -9999px;
}

a#news:hover {
	background: transparent url(/themes/site_themes/qas/images/nav-sprite-2.png) no-repeat -560px -30px;
}

a#news:active,#news:active.active {
	background: transparent url(/themes/site_themes/qas/images/nav-sprite-2.png) no-repeat -560px -30px;
}

a#news.active {
	background: transparent url(/themes/site_themes/qas/images/nav-sprite-2.png) no-repeat -560px -30px;
}

li#news-a:hover a.top {
	background: transparent url(/themes/site_themes/qas/images/nav-sprite-2.png) no-repeat -560px -30px;
}
/*---*/




a#contact:link,#contact:visited {
	display: block;
	height: 30px;
	width: 107px;
	background: transparent url(/themes/site_themes/qas/images/nav-sprite-2.png) no-repeat -629px 0;
	text-indent: -9999px;
}

a#contact:hover {
	background: transparent url(/themes/site_themes/qas/images/nav-sprite-2.png) no-repeat -629px -30px;
}

a#contact:active,#contact:active.active {
	background: transparent url(/themes/site_themes/qas/images/nav-sprite-2.png) no-repeat -629px -30px;
}

a#contact.active {
	background: transparent url(/themes/site_themes/qas/images/nav-sprite-2.png) no-repeat -629px -30px;
}

li#contact-a:hover a.top {
	background: transparent url(/themes/site_themes/qas/images/nav-sprite-2.png) no-repeat -629px -30px;
}

/* ============================================================= MAIN NAVIGATION - Dropdown styles */

ul#nav li.top ul.sub {
	list-style-type: none;
	position: absolute;
	top: 30px;
	width: 216px;
	margin: 0 0 0 -1px;
	padding: 10px 0 12px 0;
	background: transparent url(/themes/site_themes/qas/images/dropdown-bg-2.png) no-repeat bottom center;
	left: -9999em;
}

/*Stick dropdown for testing */
/*ul#nav li#services-a.top ul.sub {
	left: auto;
}*/

ul#nav li.top:hover ul.sub {
	left: auto;
}

ul.sub li {
	margin: 0;
	padding: 0;
	/*line-height: 1.5em;*/
}

ul.sub li a {
	color: #464646;
	/*background-color: #f2f2f2;
	color: #008acf;*/
	display: block;
	font-size: 11px;
	line-height: 8px;
	padding: 4px 5px 4px 8px;
	margin: 0 11px 0 11px;
	text-align: left;
	line-height: 15px;
}

ul.sub li a:hover {
	background-color: #d5d5d5;
	color: #282828;
	/*background-color: #098ed1;*/
	text-decoration: none;
	/*color: #fff;*/
	-moz-border-radius: 0.4em;
	-webkit-border-radius: 0.4em;
	
}

/* ============================================================= CONTENT */

#home-content {
	width: 800px;
	height: 299px;
	margin: 0 auto;
}

#content {
	width: 780px;
	/*height: 299px;*/
	margin: 0 auto;
}

#content-wrap {
	width: 820px;
	margin: 0 auto;
	background: transparent url(/themes/site_themes/qas/images/content-bg.png) repeat-y top left;
	padding-bottom: 5px;
}

#home-content-wrap {
	width: 820px;
	height: 299px;
	margin: 0 auto;
	background: transparent url(/themes/site_themes/qas/images/home-content-bg.png) no-repeat top left;
}

#featured {
	background: transparent url(/themes/site_themes/qas/images/featured-bg.png) no-repeat top left;
	margin: 0 auto;
	width: 790px;
	height: 227px;
	padding: 0 0 0 30px;
}

#main-column {
	width: 540px;
	float: left;
}

#main-content {
	width: 520px;
	float: left;
	margin: 0 0 0 10px;
}

#sidebar {
	padding: 18px 0 0 0;
	width: 220px;
	float: right;
}

/* ============================================================= Headings - Image replacement */

h2 {
	/*margin-bottom: 9px;*/
}

h3#subhead-recent-news {
	background: url(/themes/site_themes/qas/images/subhead-recent-news.gif) no-repeat;
	margin: 0 0 18px 0;
	position: relative;
	height: 15px;
	width: 122px;
	text-indent: -9999px;
}

h2#services-products {
	background: url(/themes/site_themes/qas/images/heading-services.gif) no-repeat;
	margin: 0 0 18px 0;
	position: relative;
	height: 21px;
	width: 215px;
	text-indent: -9999px;
}

h2#heading-related-products {
	background: url(/themes/site_themes/qas/images/heading-related-prod.gif) no-repeat;
	margin: 0 0 18px 0;
	position: relative;
	height: 21px;
	width: 188px;
	text-indent: -9999px;
}

/* --- Section Subheads */

h3#subhead-about-us {
	background: url(/themes/site_themes/qas/images/subhead-about-us.png) no-repeat;
	margin: 0 0 18px 0;
	height: 16px;
	width: 87px;
	text-indent: -9999px;
}

h3#subhead-services {
	background: url(/themes/site_themes/qas/images/subhead-services.png) no-repeat;
	margin: 0 0 18px 0;
	height: 16px;
	width: 77px;
	text-indent: -9999px;
}

h3#subhead-products {
	background: url(/themes/site_themes/qas/images/subhead-products.png) no-repeat;
	margin: 0 0 18px 0;
	height: 16px;
	width: 83px;
	text-indent: -9999px;
}


h3#subhead-partners {
	background: url(/themes/site_themes/qas/images/subhead-partners.png) no-repeat;
	margin: 0 0 18px 0;
	height: 15px;
	width: 78px;
	text-indent: -9999px;
}

h3#subhead-case-studies {
	background: url(/themes/site_themes/qas/images/subhead-case-studies.png) no-repeat;
	margin: 0 0 18px 0;
	height: 16px;
	width: 118px;
	text-indent: -9999px;
}


h3#subhead-contact {
	background: url(/themes/site_themes/qas/images/subhead-contact.png) no-repeat;
	margin: 0 0 18px 0;
	height: 15px;
	width: 102px;
	text-indent: -9999px;
}
/* ============================================================= Section Subnavigation */

#subnav {
	list-style-type: none;
	margin: 0 0 36px 0;
	padding: 0;
	width: 200px;
	border: 1px solid #fff;
	-moz-border-radius: 1em;
	-webkit-border-radius: 1em;
}

#subnav li {
	margin: 0;
}

#subnav li a {
	padding: 6px 20px 5px 15px;
	display: block;
}

#subnav li a:link, 
#subnav li a:visited {
	font-size: 0.9em;
	color: #464646;
	background-color: #f2f2f2;
	margin: 0;
}

#subnav li a:hover, 
#subnav li a:active {
	/*border: 1px solid #282828;*/
	text-decoration: none;
	background-color: #d5d5d5;
	color: #282828;
}

#subnav li a#top:link,
#subnav li a#top:visited {
	-moz-border-radius-topright: 1em;
	-moz-border-radius-topleft: 1em;
	-webkit-border-top-right-radius: 1em;
	-webkit-border-top-left-radius: 1em;
}

#subnav li a#bottom:link,
#subnav li a#bottom:visited {
	-moz-border-radius-bottomright: 1em; 
	-moz-border-radius-bottomleft: 1em;	
	-webkit-border-bottom-right-radius: 1em;
	-webkit-border-bottom-left-radius: 1em;
}

#subnav li a#top:hover,
#subnav li a#top:active {
	/*border-top:  1px solid #282828;
	border-left:  1px solid #282828;
	border-right:  1px solid #282828;*/
}


#subnav li a.subnav-active {
	background-color: #008ACF;
	color: #fff;
	font-weight: bold;
	text-decoration: none;
}

/* ============================================================= FOOTER */

#home-footer-wrapper {
	clear: both;
	margin: 0;
	padding: 0;
	height: auto;
}

#home-footer {
    width: 800px;
	margin: 0 auto;
	padding: 9px 0 18px 0;
}

#home-footer p {
	color: #fff;
	font-size: 11px;
	text-align: center;
	margin: 0;
	text-transform: uppercase;
}

/* ============================================================= FOOTER */

#footer-wrapper {
	clear: both;
	margin: 0;
	padding: 0;
	height: auto;
}

#footer {
    background: transparent url(/themes/site_themes/qas/images/footer-bg.png) no-repeat top center;
    width: 800px;
	margin: 0 auto;
	padding: 29px 0 18px 0;
}

#footer p {
	color: #fff;
	font-size: 11px;
	text-align: center;
	margin: 0;
	text-transform: uppercase;
}





/* ============================================================= Text styles */

.big {
	font-size: 14px;
	line-height: 22px;
	margin-bottom: 9px;
	color: #666;
}

.more {
	font-size: 11px;
	text-transform: uppercase;
}

p {
	color: #606060;
}

h3 {
	color: #008acf;
	font-weight: normal;
	line-height: 22px;
}
h4 {
	color: #008acf;
	font-weight: normal;
	line-height: 18px;
}
h2 {
	color:  #008acf;
}
h5 {
/*	text-align: right;*/
	font-size: 12px;
	color: #008acf;
}

hr {
	border: 0;
	width: 656px;
	height: 11px;
	background: transparent url(/themes/site_themes/qas/images/breadcrumb-bg.gif) no-repeat bottom center;
}

h5 span {
	color: #14649f;
}

h5 strong {
	color: #03235f;
	font-weight: normal;
}

ul {
	line-height: 1.5em;
}

div#featured div#home-news {
	margin-top:  37px;
	width: 165px;
	float: left;
	margin-right: 30px;
}
div#featured div#home-news ul li {
	margin-bottom:  .4em;
}
div#featured div#home-news ul li h4 {
	color: #0068ba;
	font-size:  1em;
	margin: 0;
}
div#featured div#home-news ul li p {
	font-size: .85em;
	margin:  0;
}
div#featured div#home-news ul {
	list-style-type: none;
	margin:  0;
	padding:  0;
	/*font-size: .85em;*/
}
div#featured div#home-news ul li a {
	font-size: .85em;
	color: #333;	
}

/*---*/

div#sidebar div#news {
	margin: 0 30px 0 0;
	width: 165px;
	float: left;
	margin-right: 30px;
}
div#sidebar div#news ul li {
	margin-bottom:  .4em;
}
div#sidebar div#news ul li h4 {
	color: #0068ba;
	font-size:  1em;
	margin: 0;
}
div#sidebar div#news ul li p {
	font-size: .85em;
	margin:  0;
}
div#sidebar div#news ul {
	list-style-type: none;
	margin:  0;
	padding:  0;
	/*font-size: .85em;*/
}
div#sidebar div#news ul li a {
	font-size: .85em;
	color: #333;	
}



/*---*/

div#featured div#home-offer {
	width:  337px;
	height:  144px;
	background:  transparent url(/themes/site_themes/qas/images/offer-bg.gif) no-repeat top left;
	float: left;
	margin-top: 20px;
	margin-right:  31px;
	padding-top:  54px;
}

div#featured div#home-offer img {
	margin:  0 auto;
	display: block;	
}

div#featured div#home-offer ul {
	list-style-type: none;
	margin: 15px auto 0;
	padding:  0 20px;
}

div#featured div#home-offer ul li {
	display: block;
	text-align: center;
	margin: 0;
	font-size: 10px;
	color: #3b3b3b;
}

div#featured div#home-offer ul li a:link strong, div#featured div#home-offer ul li a:visited strong {
	font-size: 12px;
	color: #008acf;
	font-weight: normal;
	text-decoration: none;
	line-height: 1.3em;
}	

div#featured div#home-offer ul li a:hover strong, div#featured div#home-offer ul li a:active strong {
	text-decoration: underline;
}

div#home-content {
	position: relative;
	background:  transparent url(/themes/site_themes/qas/images/home-content-bg.jpg) no-repeat top left;
	width: 780px;
	height: 300px;
}

div#home-content a#request-appt:link, div#home-content a#request-appt:visited {
	position: absolute;
	top:  187px;
	left:  33px;
	width: 299px;
	height: 32px;
	text-indent: -999px;
	display: block;
	background:  transparent url(/themes/site_themes/qas/images/btn-request-appt.gif) no-repeat 0 0;
}

div#home-content a#request-appt:hover, div#home-content a#request-appt:active {
	background:  transparent url(/themes/site_themes/qas/images/btn-request-appt.gif) no-repeat 0 -32px;
}

div#featured div#home-24-hr {
	width: 199px;
	height: 194px;	
	margin-top: 20px;
	float: left;
}
div#featured div#home-24-hr a:link, div#featured div#home-24-hr a:visited {
	width: 199px;
	height: 194px;
	background:  transparent url(/themes/site_themes/qas/images/24-hr-bg.gif) no-repeat top left;
	text-indent: -9999px;
	display: block;
}

div#sidebar div#global-24-hr {
	width: 199px;
	height: 194px;	
	margin-top: 20px;
	float: left;
}
div#sidebar div#global-24-hr a:link, div#sidebar div#global-24-hr a:visited {
	width: 199px;
	height: 194px;
	background:  transparent url(/themes/site_themes/qas/images/global-24-hr-bg.png) no-repeat top left;
	text-indent: -9999px;
	display: block;
}
.fl {
	clear: left;
	float: left;
	margin: 0 20px 18px 0;
}
.fr {
	clear: right;
	float: right;
	margin: 0 0 18px 20px;
}


.product {
	clear: left;
	border-bottom: 1px solid #eee;
	/*padding-bottom: 5px;*/
	margin-bottom: 10px;
}
.product-info {
	float: left;
}

.separator {
	clear: left;
	border-bottom: 1px solid #eee;
	margin-bottom: 20px;
}
