/*
MadMan was here and cleaned up this markup. :)
Theme Name: Sherwood Hall Secondary School V1.1
Theme URI: http://sherwoodhall.org/
Description: The default template was desgined and running under windows server for Sherwood Hall Secondary School.
Version: 1.1
Author: Splendid Web technologies, Chennai
Author URI: http://splendidwebtech.com/
Tags: sherwood hall, w3c validated theme

	Vijaya Kumar S
	http://vijayakumar.org/

NOTE: Don't touch below code without knowing exact flow happening inside. If means, Critical errors happens in design
	
*/

#nav { font-size:12px; }

#nav, #nav ul { margin:0; padding:0; list-style-type:none; list-style-position:outside; position:relative; line-height:1.5em; }

#nav a { display:block; padding:0px 5px; color:#fff; text-decoration:none; height:26px; background:url(../images/menubgnd.jpg) left top repeat-x #5bc8f2; border-right:1px solid #aee6fe; padding-top:7px; cursor:pointer; }

#nav a:hover { background:url(../images/menuhover.jpg) left top repeat-x #ffffff; border-right:1px solid #d5c383; color:#333; }

#nav li { float:left; position:relative; }

#nav ul { position:absolute; display:none; top:32px; }

#nav li ul a { width:12em; height:auto; float:left; }

#nav ul ul{ top:auto; }	

#nav li ul ul { left:12em; margin:0px 0 0 10px; }

#nav li:hover ul ul, #nav li:hover ul ul ul, #nav li:hover ul ul ul ul{ display:none; }

#nav li:hover ul, #nav li li:hover ul, #nav li li li:hover ul, #nav li li li li:hover ul{ display:block; }
