/************************************************************/
/*   Design:   KL Web and Graphic Design                    */
/*   Date:     July 21, 2009                                */
/************************************************************/

body {
	font-size:62.5%;
	background-color:#999;
	font-family: Arial, Helvetica, sans-serif;
} /*Font-size: 1.0em = 10px when browser default size is 16px*/

.container {
	width:978px;
	padding-top:10px;
	padding-bottom:20px;
	margin:0 auto;
	font-size:1.0em;
}

.header {
	clear:both;
	width:958px;
	height:146px;
	background-color:rgb(218,218,218);
	border:10px solid #45C3D2;
	font-size:1.0em;
	margin:0px 0px 12px 0px;
}

.main {
	clear:both;
	width:958px;
	padding:10px 0 20px 0;
	border-left:solid 10px #45C3D2;
	border-right:solid 10px #45C3D2;
	background-color:#45C3D2;
	font-size:1em;
}

/********************/
/*  NAVIGATION BAR  */
/********************/

/* MAIN MENU */

.navbar {
	float:left;
	width:958px;
	height:3.1em;
	border:solid 10px #45C3D2;
	background-color:#CCC;
	font-size:130% !important /*Non-IE6*/;
	font-size:120% /*IE6*/;
	font-weight:bold;
	background-image: url(../img/navbar-bkg.jpg);
}

.navbar ul {list-style-type:none;
}

.navbar ul li {
	float:left;
	background-color:#CCC;
	background-image: url(../img/navbar-bkg.jpg);
}

.navbar ul li a {
	display:block;
	height:3.1em;
	line-height:3.1em;
	padding:0 16px 0 16px;
	text-decoration:none;
	color:#000;
}

.navbar ul li:hover {
	position:relative;
}

/*Color main cells hovering mode*/
.navbar ul li a:hover {
	background-color:#CFF;
	background-image: url(../img/navbar2-bkg.jpg);
	text-decoration:none;
} 

.navbar ul li ul {display:none; border:none;}


/*Color main subcells hovering mode*/
.navbar ul li:hover a {
	background-color:#CFF;
	background-image: url(../img/navbar2-bkg.jpg);
	text-decoration:none;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #C4C4C4;
	border-right-width: 1px;
	border-right-style: solid;
	border-right-color: #C4C4C4;
} 

.navbar ul li:hover ul {
	display:block;
	width:7.3em;
	position:absolute;
	z-index:1000;
	top:3em;
	margin-top:0.1em;
	left:0;
	padding:0px 16px 0px 16px;
}

/*Color subcells normal mode*/
.navbar ul li:hover ul li a {
	white-space:normal;
	display:block;
	width:7.5em;
	height:auto;
	line-height:1.3em;
	margin-left:-17px;
	padding:10px 16px 10px 16px;
	background-color:rgb(235,235,235);
	background-image: url(../img/navbar-bkg.jpg);
	font-weight:normal;
	color:#333;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #C4C4C4;
	border-right-width: 1px;
	border-right-style: solid;
	border-right-color: #C4C4C4;
}

/*Color subcells hovering mode*/
.navbar ul li:hover ul li a:hover {
	background-color:#CFF;
	background-image: url(../img/navbar2-bkg.jpg);
	text-decoration:none;
} 

.navbar ul li a:hover ul {
	display:block;
	width:10.0em;
	position:absolute;
	z-index:1000;
	top:3.0em; left:0px;
	margin-top:0.1em; 
}

/*Color subcells hovering mode*/
.navbar ul li a:hover ul li a:hover {
	background-color:rgb(225,225,225);
	text-decoration:none;
} 



/************/
/*  CONTENT */
/************/

.top-bkg-img {	background-image:url(../img/content-top-bkg.gif);
				background-repeat:repeat-x;
}
.left-bkg-img {background-image:url(../img/content-left-bkg.gif);
				background-repeat:repeat-y;
}
.corner-bkg-img {background-image:url(../img/content-corner-bkg.gif);
				background-repeat:no-repeat;
}
.content {
	display:inline; /*Fix IE floating margin bug*/	;
	float:left;
	width:678px;
	background-color:rgb(255,255,255);
	font-size:1em;
	overflow:visible;
	padding-bottom:0px;
	margin-bottom:0px;
}
.content-1col {
	display:inline; /*Fix IE floating margin bug*/	;
	float:left;
	width:958px;
	background-color:rgb(255,255,255);
	font-size:1em;
	overflow:visible;
	padding-bottom:0px;
	margin-bottom:0px;

}


/***************/
/* SUBCONTENT  */
/***************/

.subcontent {
	display:inline /*Fix IE floating margin bug*/;
	float:right;
	width:270px;
	background-color:rgb(255,255,255);
	font-size:1em;
	overflow:visible;
	padding-bottom:0px;
	margin-bottom:0px;
}


/************/
/*  FOOTER  */
/************/

.footer {
	clear:both;
	width:958px;
	padding:1.0em 0 1.0em 0;
	border-left:solid 10px #45C3D2;
	border-right:solid 10px #45C3D2;
	border-bottom:solid 10px #45C3D2;
	background-image:url(../img/footer.JPG);
	background-color:#CCC;
	font-size:1.1em !important /*Non-IE6*/;
	font-size:1.0em /*IE6*/;
	overflow:visible !important /*Non-IE6*/;
	overflow:hidden /*IE6*/;
}

.footer p {
	clear:both;
	line-height:1.3em;
	text-align:center;
	color:#000;
	font-weight:normal;
	font-size:110%;
}


/******************/
/*  CLEAR FLOATS  */
/******************/
.container:after, .header:after, .header-top:after, .header-bottom:after, .navbar:after, .main:after, .content:after, 
.content div:after, .subcontent:after, .subcontent div:after, .footer:after {
	content:".";
	display:block;
	height:0;
	clear:both;
	visibility:hidden;
}

p:after {
	content:".";
	display:block;
	height:0; /*clear:both Do not use here to avoid paragraphs clearing next to images;*/  
	visibility:hidden;
}
