/* Start of CMSMS style sheet 'Tobias hmeny' */
/* Horizontal menu for the CMS CSS Menu Module */
/* by Alexander Endresen */


/* The wrapper clears the floating elements of the menu */

#menuwrapper {
 text-align: center;
        }

/* Set the width of the menu elements at second level. Leaving first level flexible. */

#primary-nav li li { 
        width: 250px; 
       }


/* Unless you know what you do, do not touch this */ 
/******* top navigation *******/
#primary-nav ul {
text-align: center;
float:center;
padding:0;
margin:0;
white-space: nowrap;
font-size:10pt;
font-style: bold;
color:#000;

/*background:#efefef;*/ 
/*background: url('uploads/GrassStains/topnav_bg_grey.gif');*/ 
list-style:none;
}

#primary-nav ul li {
margin: 0 0 0 0;
padding: 0 0 0 0;
color: #000000;
text-decoration:none;
float: center;
}

#primary-nav a:hover{display:block;
background:#cccccc;
/* background: url('uploads/GrassStains/topnav_bg_green.gif');*/ 
color: #000000;
text-decoration:none;
}

#primary-nav{
text-align: center;
        list-style: none; 
	margin: 0px; 
	padding: 0px; }

#primary-nav ul { 
/* for IE */
  filter:alpha(opacity=80);
  /* CSS3 standard */
  opacity:0.8;
text-align: center;
	list-style: none; 
	margin: 0px; 
	padding: 0px; 
	}
#primary-nav ul {
	position: absolute; 
	top: auto; 
	display: none; 
	}
#primary-nav ul ul { 
	margin-top: 10px;
 	margin-left: -1px;
	left: 100%;
	top: 0px; 
	}
	
#primary-nav li { 
text-align: center;
	/*margin-left: -1px; */
	float: left; 
	}
#primary-nav li li { 
        border-bottom: 1px solid #000000;
	margin-left: 0px;
	margin-top: -1px;
	float: none; 
	position: relative; 
	}

/* Styling the basic apperance of the menu elements */


#primary-nav li a { 
        text-align: center;
        float: center;
        color:#ffffff;
	display: block;  
	padding: 4px 10px;         
	text-decoration: none;
        border-right: 0px solid #C0C0C0; 
        
	}
#primary-nav li li a{
        color:#000;
        text-align:left;
        padding: 4px 10px;
        display: block;
	border-right:none;
        background:#ffffff;
        border-bottom: 1px solid #000000; 
	}

/* Styling the basic apperance of the active page elements (shows what page in the menu is being displayed) */

#primary-nav li.menuactive { 

	}


/* Styling the basic apperance of the menuparents - here styled the same on hover (fixes IE bug) */

#primary-nav ul li .menuparent, #primary-nav ul li .menuparent:hover{ 
	background-image: url('modules/CSSSMenu/images/arrow.gif'); 
	background-position: center right; 
	background-repeat: no-repeat;
color:#000000;

	}

/* Styling the apperance of menu items on hover */

#primary-nav li:hover, #rimary-nav li.menuh, #primary-nav ul li .menuparent:hover, #primary-nav ul li. menuparent li:hover{
background:#efefef;
         /*background: url('uploads/GrassStains/topnav_bg_green.gif');*/
       color:#000000;
        }


/* The magic - set to work for up to a 3 level menu, but can be increased unlimited */

#primary-nav ul, #primary-nav li:hover ul, #primary-nav li:hover ul ul, #primary-nav li:hover ul ul ul, 
#primary-nav li.menuparenth ul, #primary-nav li.menuparenth ul ul, #primary-nav li.menuparenth ul ul ul { 
	display: none; 
	}
#primary-nav li:hover ul, #primary-nav ul li:hover ul, #primary-nav ul ul li:hover ul, #primary-nav ul ul ul li:hover ul,
#primary-nav li.menuparenth ul, #primary-nav ul li.menuparenth ul, #primary-nav ul ul li.menuparenth ul, #primary-nav ul ul ul li.menuparenth ul { 
	display: block; 
	}


/* IE Hacks */

#primary-nav li li { 
	float: left; 
	clear: both; 
	}
#primary-nav li li a { 
	height: 1%; 
	}

/* End of 'Tobias hmeny' */

