
/* ==============Lillin - container / navigation ==========*/


#topnavcont	 {
	width:850px; 	
	float:left; 
	border-bottom:1px solid #c30;
	font-size:12px;
	font-family: Arial, Helvetica, sans-serif;
	padding: 0;
	margin: 0;
	height: 32px;
	background-color: #e0be62;

}
#topnav {
	margin: 0;/* indents ul from edge of container */
	padding: 0;
	float: left;
}
.pinkback{
	background-image: url(../images/structural/bkg/pink.jpg);
}
.greenback{
	background-image: url(../images/structural/bkg/green.jpg);		
}
.blueback{
	background-image: url(../images/structural/bkg/blue.jpg);	
}
.beigeback{
	background-image: url(../images/structural/bkg/beige.jpg);		
}
#topnav li {
	float:left;	/* causes the list to align horizontally instead of stack */
	position:relative; /* positioning context for the absolutely positioned drop-down */
	list-style-type:none; 
	height: 32px;
	border-left: 1px solid #999;
	margin: 0;
	padding: 0;
	white-space: nowrap;
	width: 167px;
	font-weight: bold;
	text-align: center;
	}
#topnav li:first-child {
	border-left: none; /*the first vertical line on the menu */
}
#topnav a {
	display:block; /*makes list items in drop down highlight and wrapped lines indent correctly */
	font-size: 12px;
	text-decoration:none;
	line-height: 32px;
	margin: 0;
	color:#5a5a5a;	
	float: left;

	}
#topnav a{  /* a fix for IE5/Mac that fixes link size problem ... first, links float left, then unfloat left in all but IE5/Mac */
	float: none;

}

#topnav a:hover {
	color:#663333;
	background-color:#f2d6a5;
	margin: 0;
	}
/* top nav horizontal menu ends here */

/* ==========TOP NAV- Drop Down Starts here ==============================*/

#topnav li ul {
	margin: 0px; 
	position:absolute;
	width:169px;
	left:-1px;
	top: 32px;
	display: none;
	padding:0px;
}

#topnav li:hover ul, #topnav li.hover ul {	
	display: block;
	border-top: 1px solid #999;
}	

#topnav li ul li, #topnav li ul li {
	width:100%;
	border-left:1px solid #999;
	border-bottom:1px solid #999;
	border-right:1px solid #999;
	padding:0;
	background-color: #F3E9D1;
	text-align: center;
	font-weight: normal;
}
#topnav li ul li:first-child {
	border-left:1px solid #999; /*the first vertical line on the menu */

}
#topnav li ul{ 
	display:none;
}


/* the drop-down ends here */


/*=======BEGIN Footer=================================================*/

#footer{
	width:850px;
	background-color: #7c3123;
	padding: .3em 0 .2em 0;
	text-align: center;
	margin-top: 100px;
	background-image: url(../images/structural/footer.jpg);
	background-repeat: repeat-x;
}
.c1{	
	width: 200px;
	text-align: center;
}
.c2{
	text-align: center;
}
.c3{	
	width: 200px;
	text-align: center;
}
#footer h2{
	font-size: 16px;
	border-bottom:none;
	margin: 2px 0;
	padding:0 5px 0 9px;
	font-weight: normal;
	color: #D2AD78;
}
#footer h3{
	font-size: 12px;
	margin: 6px 0 6px 0;
	padding:0 5px 0 9px;
	font-weight: normal;
	color: #D2AD78;
}

#footer h3.lillian{
	font-size: 24px;
	margin: 6px 0 6px 0;
	color: #9f4808;
	padding:0 5px 0 9px;
	font-weight: bold;
}
#footer p{
	font-family: Arial, Helvetica, sans-serif;
	font-size: 25px;
	margin: 6px 0 6px 0;
	color: #9f4808;
	padding:0 5px 0 9px;
	font-weight: bold;
}
#footer a:link {
	color: #9f4808;
	text-decoration: none;
}
#footer a:visited {
	color: #9f4808;
	text-decoration: none;
}

#footer a:hover {
	color: #D2AD78;
}
#footer a:active {
	color: #D2AD78;
	color: #9f4808;
}
/*==================================================END Footer=================================================*/





/* THE HACK ZONE - */
/* hack for IE (all flavors) so the menu has a vertical line on the left */
* html #topnav {
	float:left; /* makes the ul wrap the li's */
	border-left:1px solid #999; /* adds the rightmost menu vertical line to the ul */
	margin-left:0px; /* IE doubles the given value above - why? */
	}
/* add a top line to drops and pops in IE browsers - can't read :first-child */
* html  #topnav li ul {
	border-top:1px solid #069;
	border-left:0px; /* stops the drop inheriting the ul border */
	}
/* the Tantek hack to feed IE Win 5.5-5.0 a lower value to get the pop-out to touch the drop-down */
* html #topnav li ul li ul { 
  left:9.85em; 
  voice-family: "\"}\""; 
  voice-family:inherit;
  left:10em;
  }
/* and the "be nice to Opera" rule */
html>body #topnav li ul li ul {
  left:10em;
  }

/* an Opera-only hack to fix a redraw problem by invisibly extending the ul */
/* the first-level drop stays open for 100px below the bottom but at least it works */
/* this can be reduced to as little as 22px if you don't have pop-outs */
/* the pop-out menu stays open for 22px below the bottom but at least it works */


@media all and (min-width: 0px){
   body #topnav li ul {padding-bottom:200px;}
   body #topnav li ul li ul {padding-bottom:22px;}
   body #topnav li ul li ul li ul li:hover {visibility:visible;} /* same effect as display:block in this situation */

}
   
/*end Opera hack */
/* end of hack zone */
/* END OF LIST-BASED MENU */

/* finally after feeding values to all others, we deal with MAc5 IE */
/* IE5 Mac can't do drop-downs so we need to present the info in a different way*/
/* we present the drop down choices in a row and never show any second-level drops */
 /* this stylesheet is read by IE5 Mac only - hack omits 'url' and leave no space between @import and ("   */

@import("ie51_menu_hack.css"); 


/* =====================END OF TOP NAVIGATION ===============================*/
/*===========================================

/*==================================================START:Clearfix=================================================*/


/* here follows the brillant "no-extra-markup" clearing method devised by Tony Aslett - www.csscreator.com */
/* simply add the clearfix class to any containter that must enclose floated elements */
/* read the details of how and why this works at http://www.positioniseverything.net/easyclearing.html */

.clearfix:after {
    content: ".";              /* the period is placed on the page as the last thing before the div closes */
	display: block;          /* inline elements don't respond to the clear property */ 
    height: 0;                  /* ensure the period is not visible */
    clear: both;               /* make the container clear the period */
    visibility: hidden;}	     /* further ensures the period is not visible */


.clearfix {display: inline-block;}   /* a fix for IE Mac */

/* next a fix for the dreaded Guillotine bug in IE6 */
/* Hides from IE-mac \*/
* html .clearfix {height: 1%;}
.clearfix {display: block;}

/*=======================================END Clearfix ============================================*/

