/*************************************************************************************
 CSS DROPDOWN SETTINGS
-----------------------

MAIN SETTINGS (NO NEED TO EDIT IN MOST CASES) 
**************************************************************************************/

#cssdd ul, #cssdd ul ul { /* all lists */
	margin: 0;padding: 0;
	list-style: none;
	line-height: 1px;
	}

#cssdd a {
	display: block;
	width: 100px;
}

#cssdd ul li { /* all list items */
	position: relative;
	float: left;
	width: 100px; /* width needed or else Opera goes nuts */
	margin:0; padding:0;
}

#cssdd ul li ul { /* second-level lists */
	position: absolute;
	width: 100%;
	left: -999em; /* using left instead of display to hide menus because display: none isn't read by screen readers */
}

#cssdd ul li ul ul { /* third-and-above-level lists */
	margin: -1em 0 0 100%;
}

/*HIDING AND SHOWING NAVIGATION LISTS ---> */
/*hide*/
#cssdd ul li:hover ul ul, #cssdd ul li:hover ul ul ul, #cssdd ul li:hover ul ul ul ul, #cssdd ul li:hover ul ul ul ul ul,
#cssdd ul li.sfhover ul ul, #cssdd ul li.sfhover ul ul ul, #cssdd ul li.sfhover ul ul ul ul, #cssdd ul li.sfhover ul ul ul ul ul {
	left: -999em;
	}
	
/*show*/
#cssdd ul li:hover ul, #cssdd ul li li:hover ul, #cssdd ul li li li:hover ul, #cssdd ul li li li li:hover ul,
#cssdd ul li.sfhover ul, #cssdd ul li li.sfhover ul, #cssdd ul li li li.sfhover ul, #cssdd ul li li li li.sfhover ul { /* lists nested under hovered list items */
	left: auto;
	}

/*************************************************************************************
DESIGN SETTINGS (EDIT THIS PART) 
**************************************************************************************/
/*  TEXTS - level 1 --->	*/
#cssdd ul li h2 {margin:0; padding:0px;}
#cssdd ul li a  {
	font-family:Tahoma;     /* font-family or font */
	font-size:11px;     /* font size */
	color:#666666;     /* font color */
	text-align:center;	/* aligning text (left, right, justify) */
	text-decoration:none;     /* decoration (underline, none, ...) */
	text-indent:0px;   /* indents text from navigation's left border.  DO NOT USE MARGIN OR PADDING INSTEAD, BECAUSE THOSE DOESN'T WORK IN MOZILLA! */
	line-height:25px;  /* height of each button */
	}
#cssdd ul li a:hover {
	color:#333333;     /* font color */
	text-decoration:none;     /* decoration (underline, none, ...) */
	}
/*  TEXTS - level 2 and deeper--->	*/
#cssdd ul li ul li a {  /* mouse is NOT OVER */ 
	font-family:Tahoma;     /* font-family or font */
	font-size:11px;     /* font size */
	color:#888888;     /* font color */
	text-align:left;	/* aligning text (left, right, justify) */
	text-decoration:none;     /* decoration (underline, none, ...) */
	text-indent:12px;   /* indents text from navigation's left border.  DO NOT USE MARGIN OR PADDING INSTEAD, BECAUSE THOSE DOESN'T WORK IN MOZILLA! */
	line-height:18px;  /* height of each button */
	}
#cssdd ul li ul li a:hover {/* mouse is OVER */ 
	color:#CC0000;     /* font color */
	text-decoration:none;     /* decoration (underline, none, ...) */
	}
/* If you need to change settings to levels 3 and/or deeper, simply copy and paste the 2 previous sets for level2 and put them in here.
For each level ad extra "ul li" into the ID selector. Example: "#cssdd ul li ul li ul li a" is for level3  */

/*  BACKGROUNDS AND BORDERS - level 1 --->	*/	
#cssdd ul li { /* mouse is NOT OVER */ 
	background-color:#ffffff;
	 /*border:1px solid #aaaaaa;     border (size style color) */
	/* or use different border for each side if needed
	border-top:1px solid #aaaaaa;
	border-right:1px solid #aaaaaa;
	border-bottom:1px solid #888888;
	border-left:1px solid #888888;
	*/
	}
#cssdd ul li a:hover { /* mouse is OVER */ 
	background-color:#cccccc;
	}
	
/*  BACKGROUNDS AND BORDERS - level 2 and deeper --->	*/	
#cssdd ul li ul li { /* mouse is NOT OVER */   
	background-color: #FFCC00;
	border:1px solid #aaaaaa;     /* border (size style color) */
	/* or use different border for each side if needed
	border-top:1px solid #aaaaaa;
	border-right:1px solid #aaaaaa;
	border-bottom:1px solid #888888;
	border-left:1px solid #888888;
	*/
	margin-top:-1px;    /* overflowing 2 borders to make just one  (can try 'margin-top:0;' to see the difference) */
	} 
#cssdd ul li ul li a:hover { /* mouse is OVER */ 
	background-color:#FFFFFF;
	} 

/* POSITION ADJUSTMENT level 3 and deeper  ---> */
/* sometimes level3 navigation and deeper is not aligned verticaly with its parent level. Use this for an adjustment. */ 
/* negative values should work as well if needed */
#cssdd ul ul ul {
	position: absolute;
	top: 16px;	  /* horizontal position adjustment */
	left:0px;     /* vertical position adjustment */
	}
	
/*	SPECIFIC LENGTH OF EACH MENU GROUP - level 1 ---> */
#cssdd #cssdd-group-1 li, #cssdd #cssdd-group-1 li a, #cssdd #cssdd-group-1 li ul li  { width:87px; }
#cssdd #cssdd-group-2 li, #cssdd #cssdd-group-2 li a, #cssdd #cssdd-group-2 li ul li { width:78px; }
#cssdd #cssdd-group-3 li, #cssdd #cssdd-group-3 li a, #cssdd #cssdd-group-3 li ul li { width:65px; }
#cssdd #cssdd-group-4 li, #cssdd #cssdd-group-4 li a, #cssdd #cssdd-group-4 li ul li { width:90px; }
#cssdd #cssdd-group-5 li, #cssdd #cssdd-group-5 li a, #cssdd #cssdd-group-5 li ul li { width:46px; }

/* SPECIFIC LENGTH OF EACH MENU GROUP - level 2 and deeper ---> */
#cssdd #cssdd-group-3 li ul li, #cssdd #cssdd-group-3 li ul li a { width:80px;}


/* CLEANING FLOW (breaks the flow - first object after this navigation in HTML will be positioned on the next line after navigation on screen) ---> */
div.nav-cleaner { clear: left; margin-top:-20px; }
