/*
Name: Default
Media: Screen,Projection
Version: 1
Created: 2006-05-17
Updated: 2006-05-18
Author: Dan Conaghan
Intended for: http://www.apisbooks.com/
*/

/* Standard Elements */ 

body {
	margin: 0;
	padding: 0 0 2em 0;
	text-align: center;
	color: #3e3e3e;
	font: small/normal Arial, Helvetica, sans-serif;
	}


 
	
a:link, 
a:visited {
	color: #00aae2;
	text-decoration: none;
	}

a:hover, 
a:active {
	color: #002974;
	background-color: #f3f3f3;
	}

h1 {
	margin: 2em 94px 1.2em 47px;
	font-size: 1.35em;
	font-weight: normal;
	color: Gray;
	letter-spacing: .05em;
}

h2 {
	margin: 1.5em 94px 1em 47px;
	font-size: 1.1em;
	color: Gray;
	letter-spacing: .05em;
	}

p, 
dl, 
address {
	font-size: .85em;
	font-style: normal;
	line-height: 1.7em;
	letter-spacing: .05em;
	}

kyb {
	padding: .2em;
	border: 1px solid #ccc;
	border-right-color: #666;
	border-bottom-color: #666;
	}


/* Layout DIVs */

#wrapper {
	width: 780px;
	margin: 0 auto;
	padding: 0;
	text-align: left;
	background: transparent url("../images/page_bg.gif") repeat-y;
	}

#header {
	position: relative;
	width: 770px;
	height: 110px;
	margin-left: 5px;
	/*background: transparent url("../images/header_bg.gif") no-repeat top center;*/
	}

#links {
	float: left;
	width: 240px;
	margin-top: 6.5em;
	/*background-color: #dde;*/
	}

#content {
	float: right;
	width: 520px; /*background-color: #ded;*/
	min-height: 450px;
	height: expression( this.scrollHeight < 450? "450px" : "auto" );
	}

#footer {
	clear: both;
	height: 2.85em;
	padding: 2.15em 57px 0 82px;
	color: #7e7e7e;
	font: 0.9em Tahoma, Arial, Helvetica, sans-serif;
	letter-spacing: normal;
	background: url("../images/footer_bg.gif") no-repeat bottom center;
	/*border: 1px solid blue;*/
	}



/* Navigation */

#menu {
	background: #dcdcdc;
	border-bottom: 3px solid #dcdcdc;
	font-size: .85em;
	margin: 3px 5px 0 5px;
	}

#nav, 
#nav li, 
#sub-nav {
	list-style: none;
	margin: 0;
	padding: 0;
	}

#nav {
	padding: 4px 0 3px 0;
	text-align: center;
	background: transparent url("../images/menu_bg.gif") no-repeat top left;
	border-bottom: 3px solid #fff;
	}

#nav li {
	display: inline;
	margin-right: .75em;
	}

#nav li.last {
	margin-right: 0;
	}

#nav li a {
	color: #002569;
	padding: 4px 1.8em 3px 1.8em;
	text-decoration: none;
	}

#nav li a:hover {
	color: #fff;
	background-color: #002569;
	}

/*\*//*/
#navigation ul li a {
	display: inline-block;
	white-space: nowrap;
	width: 1px;
}

#navigation ul {
	padding-bottom: 0;
	margin-bottom: -1px;
}
/**/


#sub-nav {
	margin-left: 49px;
	}

#sub-nav a:link, 
#sub-nav a:visited {
	width: 172px;
	display: block;
	padding: .4em 0 .4em 18px;
	font-size: .9em;
	text-decoration: none;
	background: transparent url("../images/sub-nav_bg.gif") no-repeat 9px center;
	border-bottom: 1px solid #ddd;
	}

#sub-nav a:hover, 
#sub-nav a:active {
	text-decoration: none;
	background-color: #f3f3f3;
	background-image: url("../images/sub-nav_bg_a.gif");
	}

#sub-nav {
	width: 190px;
	border-top: 1px solid #ddd;
	}



/* Contextual Elements */

#logo {
	position: absolute;
	top: 8px;
	left: 30px;
	}
	
#logo a {
	display: block;
	width: 159px;
	height: 99px;
	float: left; /* fix IE5 */
	overflow: hidden;
	background: transparent url(../images/logo_white.gif) 0 0 no-repeat;
	text-indent: -9999px;
	border: none;
	}

#logo2 {
	position: absolute;
	top: 8px;
	left: 200px;
	}
	
#logo2 a {
	display: block;
	width: 159px;
	height: 99px;
	float: left; /* fix IE5 */
	overflow: hidden;
	background: transparent url(../images/bee2.gif) 0 0 no-repeat;
	text-indent: -9999px;
	border: none;
	}	
	
#content p {
	margin-right: 94px;
	margin-left: 47px;
	}

#content ul {
	margin: 1em 94px 1em 47px;
	line-height: 1.7em;
	font-size: .85em;
	}

#content dl, 
#content address {
	margin: 1em 94px 1em 47px;
	}

.image {
	position: relative; /* IE/PC Peekaboo fix */
	display: block;
	margin-right: 54px;
	margin-left: 7px;
	padding: 1em 40px 1em 40px;
	background: #eaeaea url("../images/corner_tl.gif") no-repeat top left;
	}

#content .image p {
	margin: 0;
	}

.image img {
	position: relative; /* IE/PC Peekaboo fix */
	float: left;
	margin: 0 1em 0 0;
	border: 2px solid #fff;
	}

.image .tr {
	position: absolute;
	top: 0;
	right: 0;
	width: 4px;
	height: 4px;
	background: url("../images/corner_tr.gif") no-repeat top right;
	}

* html .image .tr {
	margin-right: 54px;
	}

.image .bl {
	position: absolute;
	bottom: 0px;
	left: 0;
	width: 4px;
	height: 4px;
	background: url("../images/corner_bl.gif") no-repeat bottom left;
	}

/** html .image .bl {
	margin-left: -20px;
	}*/

.image .br {
	position: absolute;
	bottom: 0;
	right: 0;
	width: 4px;
	height: 4px;
	background: url("../images/corner_br.gif") no-repeat bottom right;
	}



/* Footer */

#footer p {
	margin: 0;
	letter-spacing: normal;
	}

#footer dl {
	float: right;
	margin: 0;
	}

#footer dt, 
#footer dd {
	display: inline;
	}

#footer dt {
	color: #666666;
	}

#footer dd {
	margin-right: 25px;
	margin-left: 0;
	letter-spacing: normal;
	}



/*--- Other ---*/

.stupid-saf {
	clear: left;
	}

div.clearer {
	clear: both;
	}

.hide, 
.print {
	display: none;
	}