


/*  
Theme Name: design54.de - the online portfolio
Theme URI: http://www.ohg-boelcke.de/
Description: Offizierheimgesellschaft Boelcke e.V.
Author: Michael Schaback
Last update: 14. Januar 2010
*/



/*  Main Navbar  */


#navigationshilfe
{
clear: both;
margin: 2em .5em 2em 0;
padding: .3em 0 .3em 1.3em;
background: #fff;
}

#mainnavigation
{
margin: 0 .4em 0 .2em;
padding: 0;
background: #fff;
}

#nav 
{
background: #fff;
font-size: 1.1em;
}
	
#nav, 
#nav ul 
{
list-style: none;
line-height: 1em;
}

#nav a
{
display: block;
text-decoration: none;
border: none;
}
 
#nav a:hover
{
display: block;
text-decoration: underline;
border: none;
}

#nav li 
{
float: left;
list-style: none;
border-right: 1px solid #ccc;
}

#nav li.last 
{
float: left;
list-style: none;
border-right: 1px solid #fff;
}

#nav a, 
#nav a:visited 
{
display: block;
font-weight: bold;
color: #900;
padding: .6em 1.1em;
}

#nav a:hover,
#nav a:active 
{
background: #fff;
}	

.current_page_item a, #home .on  
{
background: #fff;
}
	

/*  Dropdown Menus for child pages  */		


#nav li ul 
{/*first level dropdown*/
position: absolute;
z-index: 10;
left: -999em;
height: auto;
width: 174px;
border-bottom: 1px solid #666;
}
	
#nav li ul ul
{/*second level dropdown*/
margin: -2em 0 0 172px;
}

#nav li:hover ul ul, 
#nav li.sfhover ul ul 
{
left: -999em;
}

#nav li li
{
width: 172px;
border-top: 1px solid #fff;
border-right: 1px solid #fff;
border-left: 1px solid #fff;
background: #999;
}

#nav li li a, #nav li li a:visited 
{
font-weight: normal;
font-size: 0.9em;
color: #FFF;
}

#nav li li a:hover, 
#nav li li a:active 
{
background: #840000;
}	
	
#nav li:hover ul, 
#nav li li:hover ul, 
#nav li li li:hover ul, 
#nav li.sfhover ul, 
#nav li li.sfhover ul, 
#nav li li li.sfhover ul 
{
left: auto;
}

a.main:hover 
{
background: none;
}
