/**
 * Stylesheet
 *
 * 
 */


/* NORMALIZING styles
-------------------------------------------*/
body, div, ul, li, dl, dt, dd, td, h1, h2, h3, h4, h5, h6 {
	font-size: 100%;
}

div, span, img, form, h1, h2, h3, h4, h5, h6, fieldset {
	margin: 0px;
	padding: 0px;
	background-color: transparent;
	border: 0px;
}
table{
	border: 0px;
}





/* MAIN styles
-------------------------------------------*/
body{
	margin: 0px;
	padding: 0px;
	background: #98c3bf url(../images/bg_body.gif) repeat-x;
	font: normal normal 14px/1.5 Arial, Helvetica, sans-serif;
	color: #333333;
	text-align:center;
}

h1{
	font: normal normal 21px/1.5 Arial, Helvetica, sans-serif;
	color: #333333;
	margin: 0px 0px 0px 0px;
}

h2{
	font: normal bold 18px/1.5 Arial, Helvetica, sans-serif;
	color: #5c442a;
	margin: 0px 0px 10px 0px;
}

h3{
	font: normal bold 18px/1.5 "trebuchet MS", trebuchet, verdana, sans-serif;
	color: #f37d00;
	margin: 0px 0px 10px 0px;
}
h4{
	font: normal bold 14px/1.5 Arial, Helvetica, sans-serif;
	color: #473b35;
	margin: 0px 0px 0px 0px;
}
p {
	padding: 0px 0px 5px 0px;
	margin: 0px 0px 5px 0px;
}


td{
	vertical-align: top;
}


a:link{color: #00a3e1;text-decoration: none;font-weight: bold;}
a:visited{color: #00a3e1;text-decoration: none;font-weight: bold;}
a:hover{color: #5cc34c;text-decoration: none;font-weight: bold;}
a:active{color: #00a3e1;text-decoration: none;font-weight: bold;}

dt{
	font-weight: bold;
}

hr {
	border: 0;
	width: 100%;
	color: #ccc;
	background-color: #ccc;
	height: 1px;
	margin: 0px;
	padding: 0px;
}

.clr {
	clear: both;
	height: 0px;
}


/* CSS FLOAT CLEAR: http://positioniseverything.net/easyclearing.html
-------------------------------------------*/
.clearfix:after {
content: "."; 
display: block; 
height: 0; 
clear: both; 
visibility: hidden;
}
  
 .clearfix {
display: inline-block;
}  

    /* Holly Hack Targets IE Win only \*/
    * html .clearfix {height: 1%;}
	.clearfix {display: block;}
    /* End Holly Hack */



/* MALARKEY IMAGE REPLACEMENT: http://www.stuffandnonsense.co.uk/archives/mir_image_replacement.html
-------------------------------------------*/
.mir {letter-spacing : -1000em; text-indent: -1em;}
	/* Just for Opera, but hide from MacIE */
		/*\*/html>body .mir { letter-spacing : normal; text-indent : -999em; overflow : hidden;}
	/* End of hack */




/* CONTAINER styles
-------------------------------------------*/
#container{
	width: 943px;
	position:relative;
	margin: 12px auto 0px;
	background: url(../images/bg_content.gif) repeat-y center top;
	text-align: left;
}

/* HEADER styles
-------------------------------------------*/
#header{
	position: relative;
	height: 120px;
	background: #fff;
}

#header img{
	position: absolute;
	left: 40px;
	top: 0px;
}

#header h1.mir{
	/*background: url(../images/logo_kdl_subheading.gif) no-repeat;*/
	height: 110px;
	width:  857px;
	position: absolute;
	left: 171px;
	top: 2px;

}
#header p.mir{
	background: url(../images/logo_kdl_subheading_add.gif) no-repeat;
	height: 13px;
	width:  262px;
	position: absolute;
	left: 171px;
	top: 53px;

}

ul#mainNav, ul#mainNav li{
	margin: 0px;
	padding: 0px;
	list-style: none;
}
	ul#mainNav {
		display: block;
		width: 881px;
		height: 70px;
		background: transparent url(../images/bg_nav.png) 0 0 no-repeat;
		position: relative;
		top: 110px;
		padding: 0 31px 0 31px;
	}
	ul#mainNav li{
		display: inline;
	}
	
		ul#mainNav li a{
			display: block;
			float: left;
			height: 70px;
			background: transparent url(../images/bg_nav.png) 0 0 no-repeat;
		}

			ul#mainNav li.nav_home a{
				background: transparent url(../images/bg_nav.png) -31px 0 no-repeat;
				width: 80px;
			}
				body.home ul#mainNav li.nav_home a{
					background: transparent url(../images/bg_nav.png) -31px -70px no-repeat !important;
				}
				ul#mainNav li.nav_home a:hover{
					background: transparent url(../images/bg_nav.png) -31px -140px no-repeat;
				}

			ul#mainNav li.nav_about a{
				background: transparent url(../images/bg_nav.png) -111px 0 no-repeat;
				width: 100px;
				
			}
				body.about ul#mainNav li.nav_about a{
					background: transparent url(../images/bg_nav.png) -111px -70px no-repeat !important;
				}
				ul#mainNav li.nav_about a:hover{
					background: transparent url(../images/bg_nav.png) -111px -140px no-repeat;
				}

			ul#mainNav li.nav_services a{
				background: transparent url(../images/bg_nav.png) -210px 0 no-repeat;
				width: 100px;
			}
				body.books ul#mainNav li.nav_services a{
					background: transparent url(../images/bg_nav.png) -210px -70px no-repeat !important;
				}
				ul#mainNav li.nav_services a:hover{
					background: transparent url(../images/bg_nav.png) -210px -140px no-repeat;
				}

			ul#mainNav li.nav_contact a{
				background: transparent url(../images/bg_nav.png) -310px 0 no-repeat;
				width: 110px;
			}
				body.contact ul#mainNav li.nav_contact a{
					background: transparent url(../images/bg_nav.png) -310px -70px no-repeat !important;
				}
				ul#mainNav li.nav_contacta:hover{
					background: transparent url(../images/bg_nav.png) -310px -140px no-repeat;
				}
				
			ul#mainNav li.nav_afford a{
				background: transparent url(../images/bg_nav.png) -419px 0 no-repeat;
				width: 300px;
			}
				body.reference ul#mainNav li.nav_afford a{
					background: transparent url(../images/bg_nav.png) -419px -70px no-repeat !important;
				}
				ul#mainNav li.nav_afford a:hover{
					background: transparent url(../images/bg_nav.png) -419px -140px no-repeat;
				}

			/*ul#mainNav li.nav_kids a{
				background: transparent url(../images/bg_nav.png) -671px 0 no-repeat;
				width: 161px;
			}
				body.kids ul#mainNav li.nav_kids a{
					background: transparent url(../images/bg_nav.png) -671px -70px no-repeat !important;
				}
				ul#mainNav li.nav_kids a:hover{
					background: transparent url(../images/bg_nav.png) -671px -140px no-repeat;
				}

			ul#mainNav li.nav_teens a{
				background: transparent url(../images/bg_nav.png) -832px 0 no-repeat;
				width: 80px;
			}
				body.teens ul#mainNav li.nav_teens a{
					background: transparent url(../images/bg_nav.png) -832px -70px no-repeat !important;
				}
				ul#mainNav li.nav_teens a:hover{
					background: transparent url(../images/bg_nav.png) -832px -140px no-repeat;
				}*/


/* CONTROL PANEL styles
-------------------------------------------*/

dl,dt,dd{
margin: 0;
padding: 0;
}
dl#controlPanel{
width: 397px;
position: absolute;
right: 31px;
top: 0;
}
dl#controlPanel dt{
height: 31px;
line-height: 31px;
float: left;
position:relative;
margin: 0 2px 0 0;
}
dl#controlPanel dt.tab a{
	display: block;
	background: #62cafb url(../images/bg_tab_l.gif) no-repeat left -31px;
	padding: 0;
	color: #fff;
}
dl#controlPanel dt.tab a span{
	display: block;
	background: url(../images/bg_tab_r.gif) no-repeat right -31px;
	padding: 0 8px 0 8px;
}
dl#controlPanel dt.tab a.current{
	background-color: #86837f;
	background-position: left 0px;
}
dl#controlPanel dt.tab a.current span{
	background-position: right 0;
}

dl#controlPanel dt a{
padding: 0 8px 0 8px;
}
dl#controlPanel dd form{
	position:absolute;
	top: 31px;
	height:21px;
	background: #86837f url(../images/bg_controlPanel_form.gif) no-repeat right top;
	padding: 10px;
	width: 377px;
}
#locationSearchButton, #siteSearchButton{
	position: absolute;
	right: 10px;
}
#locationSearchField,#siteSearchField{
	width: 243px;
}
dl#controlPanel form#siteSearch{
	z-index: 1000;
}
dl#controlPanel form#locationSearch{
	z-index: 5000;
}




/* mainBody styles
-------------------------------------------*/

#mainBody{
	background: #fff url(../images/bg_content_sidebar.gif) repeat-y center top;
	margin: 1px 31px 0 31px;
	padding: 20px 20px 10px 20px;
}
body.home #mainBody{
	background: none;
}




/* CONTENT styles
-------------------------------------------*/


#content{
	float: right;
	width: 628px;
	position: relative;
	margin: 20px 0px 0px 0px;
}
body.home #content{
	float: none;
	width: 100%;
}
#content h2{
	margin: 30px 0 20px;
	
}
body.home #content h2{
	display: none;
}

body.afford #content h2 {
	margin: 10px -19px 0px -11px;
	padding: 20px 0px 0px 15px;
	height:50px;
	/*width:644px;*/ /* 659-15px padding */

	position:relative;
}

body.about #content h2 {
	margin: 10px 0px 0px -11px;
	padding: 20px 0 0 15px;
	height:50px;
	/*width:644px;*/ /* 659-15px padding */
	color:#5c442a;
	position:relative;
}

body.services #content h2 {
	margin: -21px -19px 0px -11px;
	padding: 20px 0 0 15px;
	height:50px;
	/*width:644px;*/ /* 659-15px padding */
	color:5c442a;
	position:relative;
}

body.contact #content h2 {
	margin: 0px -19px 0px -11px;
	padding: 27px 0 0 15px;
	height:50px;
	/*width:644px;*/ /* 659-15px padding */
	color:5c442a;
	position:relative;
}



#content h3{
	padding: 0 0 0 10px;
	border-bottom: 3px solid #352c27;
}
body.kids #content h3{
	padding: 0;
	margin-right:10px;
	border: none;
	float: left;
}
	body.kids #content h3.right{
		margin-right:0px;
}

#content_one{
	width: 45%;
	float: left;
	margin: 20px 0px 0px 0px;
}
#content_two{
	width: 45%;
	float: left;
	margin: 20px 0px 0px 15px;
	padding: 0 0 0 15px;
	background: url(../images/dotted_line_vert.gif) 0 0 repeat-y;
}

/*body.kids #content #kidsLinks{
	background: url(../images/kids_pgrElephant.jpg) no-repeat right top;
	padding: 69px 0 0 0;
}*/

ol, ul{
	padding:0 0 0 20px;
	margin:10px 0;
}
* html ol, *:first-child+html ol,
* html ul, *:first-child+html ul{ /* ie6,7 spacing */
	margin:0 0 0 30px;
	padding:0;
}

ol li,
ul li{
	padding:0 0 5px 0;
	margin:0;
}

/* flashHolder styles
-------------------------------------------*/
#flashHolder{
	margin:0px 20px 50px 0;
}
body.home #content #flashHolder{
	float: left;
	width: 557px;
}
body.teens #content #flashHolder{
	width: 628px;
}




/* featuredItems styles
-------------------------------------------*/

#featuredItems{
	margin-bottom: 10px;
}
#featuredItems ul, #featuredItems li{
	margin: 0;
	padding: 0;
}
#featuredItems h3{
	margin: 0 0 15px 0;
}
#featuredItems ul p,
#featuredItems ul h4
{
	text-align: left;
	margin: 0;
	width:234px;
	float:right;
}
body.home #featuredItems ul p,
body.home #featuredItems ul h4
{
	width:180px;
}
#featuredItems a img{
	border: solid 3px #d8d6cd;
	padding: 1px;
	float: left;
}
#featuredItems a:hover img{
	border: solid 3px #039be2;
	padding: 1px;
}
#featuredItems p{
	text-align: right;
	margin-right: 10px;
}
#featuredItems ul li{
	padding: 0px 10px 10px;
	margin-bottom:10px;
	background: transparent url(../images/dotted_horizontal.gif) repeat-x center bottom;
}
body.home #featuredItems{
	clear: both;
}
body.home #featuredItems ul{
	background: transparent url(../images/dotted_horizontal.gif) repeat-x center bottom;
	clear: both;
	margin-bottom:10px;
	padding-bottom:10px;
}
body.home #featuredItems ul li{
	background:none;
	padding:0;
	width:270px;
	margin-bottom:0;
	margin-right:5px;
	margin-left:5px;
	float:left;
	display:inline;
}
body.teens #featuredItems{
	width: 344px;
	float: right;
}



/* secondaryContent styles
-------------------------------------------*/

#secondaryContent{
	clear: both;
}

#secondaryContent .box{
	float: left;
	padding: 5px 10px;
	margin-right: 5px;
	margin-left: 5px;
	display:inline;
}
#secondaryContent #dyk{
	color: #fff;
}
#secondaryContent #dyk p{
	margin: 0;
	padding: 0;
}
#secondaryContent #dyk p span{
	font-style: italic;
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size: 14px;
	line-height: 1.3;
}
* html #secondaryContent #dyk p{ /* for IE italics bug */
	overflow:visible;
	width:100%;
	height:1%;
}
* html body.kids #secondaryContent #dyk p{ /* for IE italics bug */
	width:383px;
}
body.kids #secondaryContent #dyk p span{
	font-style: italic;
	font-size:13px;
}
body.kids #secondaryContent #dyk{
	background: url(../images/bg_rounded_brown.gif) no-repeat;
	padding-top:5px;
}
body.kids #secondaryContent #dyk div{
	background: url(../images/bg_rounded_brown.gif) no-repeat left bottom;
}
body.kids #secondaryContent #dyk div p{
	background: url(../images/dyk_heading.gif) no-repeat 20px center;
	padding: 10px 30px 15px 215px;
}
#secondaryContent #recommendedReading img{
	float: left;
	margin-right: 12px;
}

body.home #secondaryContent .box{
	width: 242px; /* 280px-20(padding)-10(margin)-8(border)*/
	height: 138px;
	border: solid 4px #433025;
}
body.home #secondaryContent img.box{
	width: 262px; /* 280px-8(border)*/
	height: 148px;
	padding: 0;
}
body.home #secondaryContent #dyk{
	background: #433025;
}
body.home #secondaryContent h3{
	border-bottom: solid 1px #eae6dc;
}
body.home #secondaryContent #dyk h3{
	border-bottom-color: #805436;
}
body.teens #secondaryContent h3{
	border:none;
	color: #ffd306;
	margin: 0;
}
body.teens #secondaryContent img.box{
	float: left;
	padding: 0;
	margin: 0 3px;
	display:inline;
}
body.teens #secondaryContent #dyk{
	background: url(../images/bg_dyk_teens.jpg) no-repeat;
	width: 182px;
	height: 146px;
}
body.teens #secondaryContent #dyk a{
	background-image: url(../images/teens_dykArrow.gif);
	color: #7e3800;
}
body.teens #secondaryContent #dyk a:hover{
	color: #ffd306;
}



/* SIDEBAR styles
-------------------------------------------*/
#sidebar{
	width: 190px;
	float: left;
	margin: 50px 0px 0px 0px;
}
#sidebar h4{
	color: #83735c;
	font-weight: bold;
	font-size: 13px;
}
#sidebar ul, #sidebar li{
	list-style: none;
	margin: 0;
	padding: 0;
}
#sidebar ul{
	margin-bottom: 30px;
		font-size: 13px;
}
#sidebar ul li{
	background: transparent url(../images/dotted_horizontal.gif) repeat-x center bottom;
	padding: 5px 0 5px 5px;
		padding-left: 2px;
}
#sidebar ul ul{
	margin-bottom: 0px;
}
#sidebar ul ul li{
	padding: 0;
	padding-left: 5px;
	background: none;
}
* html #sidebar ul ul li{
	display: inline-block; /* for IE spacing */
}
#sidebar ul ul li a{
	font-weight: normal;
	padding: 0 0 0 12px;
	background: url(../images/greenarrow.gif) no-repeat left .5em;
}
#sidebar ul ul li a:hover{
	background: url(../images/greenarrow.gif) no-repeat left 2px .5em;
}
#sidebar ul li a{
	display: block;
}
#sidebar ul li.current a{
	color: #5cc34c;
	background: url(../images/greenarrow.gif) no-repeat right center;
}



/* CATEGORY TREE stlyes 
-------------------------------------------*/

.category_tree li {
	margin-left: 10px;
	padding-left: 1em;
	text-indent: 0em;
	color: #666;
}

.category_tree li.booklist {
	list-style: circle;
	background: #EBF5FA;
}

.category_tree li.subcategory {
	list-style: disc;
	background: #fff;
}




/* SHARED styles
-------------------------------------------*/

.blueArrow{
	background: url(../images/linkarrow_bgwhite.gif) no-repeat right center;
	padding-right: 15px;
}
.blueArrowBrownBg{
	background: url(../images/linkarrow_bgbrown.gif) no-repeat right center;
	padding-right: 15px;
}
.rss{
	background: url(../images/rss_icon.gif) no-repeat left center;
	padding-left: 18px;
}
a.infoLink{
	font-size: 10px;
	color: #7a716c;
	text-decoration: underline;
	font-weight: normal;
}
	a:hover.infoLink{
		color: #352c27;
	}
.hide{
	display: none;
}
.floatRight{
	float: right;
}
.floatLeft{
	float: left;
}



/* FOOTER styles
-------------------------------------------*/

#footer{
	clear: both;
	padding: 35px 0 0;
	background: #98c3bf url(../images/bg_footer_sidebar.gif) no-repeat center top;
	position: relative;


	
}
body.home #footer{
	background: #98c3bf url(../images/bg_footer.gif) no-repeat center top;
	color: #ffffff;text-decoration: none;font-weight: bold;
}
#footer p{
	clear: left;
	text-align: center;
	
}

#secondaryNav a, p#legal a{
	padding: 0 8px 0 8px;
	/*background: url(../images/pipe.gif) no-repeat left center;*/
}
#footer p#legal{
	padding-top:15px;
}
#footer p#legal span{
	padding: 0 8px 0 0;
	font-weight: bold;
	color: #8e7558;
}
#footer p#tagline{
	color: #b3a077;
	font-style: italic;
	font-size:16px;
	font-family: "Trebuchet MS", Trebuchet, Helvetica, Arial, sans-serif;
}
ul#secondaryNav, ul#secondaryNav li{
	list-style: none;
	padding: 0;
	margin: 0;
	position: relative;
	text-align: center;
	
}

/******** bottom line *********/
ul#secondaryNav{
	margin: 0 77px 0 0;
	color: #7a7c7a;text-decoration: none;font-weight: normal;


}
ul#secondaryNav li{
	display: inline;
	
}
	
ul#secondaryNav li.first a{
	background: none;
	color: #ffffff;text-decoration: none;font-weight: bold;
}

ul#secondaryNav li.test a{
	background: none;
	color: #ffffff;text-decoration: none;font-weight: bold;
}

ul#fontSize, ul#fontSize li{
	list-style: none;
	margin: 0;
	padding: 0;
	
}
ul#fontSize{
	background: url(../images/bg_fontSize.gif) no-repeat;
	width: 77px;
	height: 25px;
	margin: 0 0 0 10px;
	position: absolute;
	top: 30px;
	right: 90px;
}
ul#fontSize li{
	float: left;
	display: block;
	
}
ul#fontSize li a{
	display: block;
	width: 25px;
	height: 25px;
	
}
ul#fontSize li.normal a:hover{
	background: url(../images/bg_fontSize.gif) no-repeat 0 -25px;
}
ul#fontSize li.bigger a{
	width: 27px;
}
ul#fontSize li.bigger a:hover{
	background: url(../images/bg_fontSize.gif) no-repeat -25px -25px;
	
}
ul#fontSize li.biggest a:hover{
	background: url(../images/bg_fontSize.gif) no-repeat -52px -25px;
	
}

#notice {
	color: green;
	font-weight: bold;
}

#error {
	color: red;
	font-weight: bold;
}
