/******************************************************************************
 * Biotech main stylesheet.
 * Note: Internet Explorer hacks are in a separate file (all_ie.css)
 * Author: Neal Krouse (krousen@comcast.net)
 *
 * Table of Contents for navigation:
 * _general
 *
 * _wrapper
 *
 * _branding
 *
 * _navigation
 *
 * _content
 *
 * _primary content
 *
 * _secondary content
 *
 * _ternary content
 *
 * _footer
 *
 ******************************************************************************/
 
 
/*-----------------------------------------------------------------------------
 *	SITE COLORS:
 *
 *----------------------------------------------------------------------------*/
 
 
/* _general
------------------------------------------------------------------------------*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	font-weight: inherit;
	font-style: inherit;
	font-size: 100%;
	font-family: inherit;
	vertical-align: baseline;
}

/* Tables still need 'cellspacing="0"' in the markup. */
table { border-collapse: separate; border-spacing: 0; }
caption, th, td { text-align: left; font-weight: normal; }

/* Remove possible quote marks (") from <q>, <blockquote>. */
blockquote:before, blockquote:after, q:before, q:after { content: ""; }
blockquote, q { quotes: "" ""; }

/* no list-markers by default, since lists are used more often for semantics */
ul,ol { list-style:none }

/* link underlines tend to make hypertext less readable, 
   because underlines obscure the shapes of the lower halves of words */
:link,:visited { text-decoration:none }

/* whoever thought blue linked image borders were a good idea? */
a img,:link img,:visited img { border:none }

/* Clearing floats without extra markup
   Based on How To Clear Floats Without Structural Markup by PiE
   [http://www.positioniseverything.net/easyclearing.html] */

.clear:after, .container:after
{
	content: "."; 
	display: block; 
	height: 0; 
	clear: both; 
	visibility: hidden;
}
.clear, .container { height: 1%; }
.clear, .container { display: block; }

html 
{ 
	/* Rule removes Page Shift by
	 * adding vertical scrollbars to every page */
	min-height: 100%; 
	margin-bottom: 1px; 
	/* target Firefox because the above code doesn't work */
	overflow:-moz-scrollbars-vertical; 
}

body
{
	font-family: arial, sans-serif;
	line-height: 1.5;
	/* Unitless for proper inheritance */
	background-color: black;
}

/* This is where you set your desired font size. The line-height 
   and vertical margins are automatically calculated from this. 
   
   You have to add an extra calculation here because of IE, so that 
   all users may resize text manually in their browsers.
   
   The top one is for IE: The percentage is of 16px (default IE text size)
   10px is 62.5%, 12px is 75%, 13px is 81.25%, and so forth).
   The second value is what all other browsers see (the wanted font size). */
   
body   { font-size: 12px; }  /* Compliant browsers */

h1,h2,h3,h4,h5,h6 { 
	font-family: arial, sans-serif;
	font-weight: bold;
	clear: both; 
	line-height: 1.1;
	color: #009344;
 }

h1 { font-size: 1.6em; margin-bottom: 1em; }
h2 { font-size: 1.3em; margin-bottom: .5em; }
h3 { font-size: 1.1em; }
h4 { font-size: 1em; }
h5 { font-size: 1em; }
h6 { font-size: 1em; }


strong { font-weight: bold; }
em { font-style: italic; }
p { margin-bottom: 1em; }
.small { font-size: .8em; }
.large { font-size: 1.2em; }
a:link
{
	color: #009344;
	text-decoration: underline;
}
a:visited 
{ 
	color: #88b853;
	text-decoration: underline; 
}
a:hover { 
	color: black;
	text-decoration: underline; 
}

/* _wrapper
------------------------------------------------------------------------------*/
#wrapper
{
	width: 928px;
	height: 555px;
	position: relative;
	margin: 73px auto 0;
}

#top
{
	position: absolute;
	top: 0;
	left: 0;
	width:1%;
	z-index: 100;
}

#skipnav
{
	position: relative;
	text-indent: -9000em;
	overflow: hidden;
}
 

/* _branding
------------------------------------------------------------------------------*/
#branding
{
	height: 181px;
	position: relative;
	background-image: url(headbkgn.gif);
	background-repeat: no-repeat;
	background-position: left top;
}

#logo
{
	position: absolute;
	top: 12px;
	left: 0;
	width: 367px;
	height: 159px;
	overflow: hidden;
}

#logo a { outline: none; }

#banners
{
	position: absolute;
	width: 401px;
	height: 145px;
	left: 400px;
	top: 15px;
	overflow: hidden;
}

#betterbusinessbureau
{
	position: absolute;
	width: 78px;
	height: 126px;
	top: 33px;
	right: 13px;
}

#betterbusinessbureau a
{
	display: block;
	width: 78px;
	height: 126px;
	text-indent: -999em;
	outline: none;
}



#betterbusinessbureau a[href ^='http://'], #betterbusinessbureau a[href ^='https://']
{
	padding-right: 0;
	background-image: none;
}


/* _navigation
------------------------------------------------------------------------------*/
#nav
{
	position: absolute;
	top: 181px;
	left: 220px;
}

#nav li
{
	display: inline-block;
	margin-right: 4px;
	height: 22px;
}

#nav li a
{
	display: block;
	line-height: 22px;
	color: white;
	text-transform: uppercase;
	font-weight: bold;
	background-color: #009344;
	padding: 0 6px;
	text-decoration: none;
}

#nav li a:hover
{
	color: black;
	background-color: #88b853;
}

.activejs #nav li a:hover
{
	color: white;
	background-color: #009344;
}

#home_page #nav #home a,
#insects_page #nav #insects a,
#rodents_page #nav #rodents a,
#commercial_page #nav #commercial a,
#green_page #nav #green a,
#termites_page #nav #termites a,
#pests_page #nav #pests a,
#bed_bugs_page #nav #bed_bugs a,
#contact_us_page #nav #contact_us a
{
	background-color: #d3e175;
	color: black;
}


/* _content
------------------------------------------------------------------------------*/
#content
{
	background-image: url(contenttile.gif);
	background-repeat: repeat-y;
	background-position: left top;
	padding-bottom: 2em;
	height: auto;
}



/* _primary content
------------------------------------------------------------------------------*/
#primary
{
	width: 634px;
	float: right;
	display: inline;
	position: relative;
	margin-right: 75px;
	margin-top: 47px;
}

.bugs #primary
{
	margin-top: 48px;
}

#bugs
{
	margin-bottom: 24px;
	margin-left: 160px;
	font-size: 1.17em;
	font-weight: bold;
}

#bugs li
{
	display: inline;
	margin-right: 8px;
}

#bugs li a:link,
#bugs li a:visited 
{
	color: #009344;
	text-decoration: underline;
}
#bugs li a:hover { 
	color: black;
	text-decoration: underline; 
}


#text
{
	width: 357px;
	float: right;
	display: inline;
}

#pics
{
	float: left;
	display: inline;
}


/* add icons to links */
a[href ^="mailto:"]
{
	padding-right: 20px;
	background-image: url(icon_mailto.gif);
	background-repeat: no-repeat;
	background-position: right center;
}

a[href ^='http://'], a[href ^='https://']
{
	padding-right: 18px;
	background-image: url(icon_external.gif);
	background-repeat: no-repeat;
	background-position: right center;
}

a[href $='.pdf']
{
	padding-right: 18px;
	background-image: url(icon_pdf.gif);
	background-repeat: no-repeat;
	background-position: right center;
}



/* _secondary content
------------------------------------------------------------------------------*/
#secondary
{
	width: 180px;
	float: left;
	display: inline;
	padding-left: 6px;
	padding-top: 80px;
	background-image: url(secondarybkgn.gif);
	background-repeat: no-repeat;
	background-position: left top;
}


#secondary ul
{
	text-align: center;
}

#secondary li
{
	float: left;
	display: inline;
	width: 180px;
	margin-bottom: 2px;
}
#secondary ul a
{
	height: 25px;
	width: 180px;
	display: block;
	background-color: #009344;
	color: #d3e175;
	line-height: 25px;
	text-decoration: none;
	outline: none;
}

#secondary ul a:hover
{
	color: black;
	background-color: #88b853;
}

#secondary ul a.current,
#testimonials_page #testimonials a
{
	color: #009344;
	background-color: white;
	background-image: url(icon_check.gif);
	background-repeat: no-repeat;
	background-position: left top;
}


/* _ternary
------------------------------------------------------------------------------*/
#ternary
{
	width: 0;
	float: left;
	display: none;
}


/* _footer
------------------------------------------------------------------------------*/
#footer
{
	color: white;
	font-size: .9em;
	text-align: center;
	padding-top: 2em;
	clear: both;
}

#footer p
{

}

#footer p a
{

}

#footer p a:hover
{

}