﻿
/* CMS Menu Style - Horizontal */


/* #################### */
/* ## FUNCTION STYLE ## */
/* ## Do Not Edit.   ## */
/* #################### */

/* Remove all list stylings. */
.CMSMenu ul {
	margin: 0;
	padding: 0;
	border: 0;
	list-style-type: none;
	display: block;
}

.CMSMenu li {
	margin: 0;
	padding: 0;
	border: 0;
	display: block;
	/* Move all main list items into one row, by floating them. */
	float: left;
	/* Position each li, creating potential IE overlap problem. */
	position: relative;
	/* So we need to apply explicit z-index here... */
	z-index: 5;
}

.CMSMenu li:hover {
	/* ...and here. This makes sure active item is always above anything else in the menu. */
	z-index: 10000;
	/* Required to resolve IE7 :hover bug (z-index above is ignored if this is not present) */
	white-space: normal;
}

.CMSMenu li li {
	/* Items of the nested menus are kept on separate lines. */
	float: none;
}

.CMSMenu ul ul {
	/* initially hide all submenus. */
	visibility: hidden;
	position: absolute;
	z-index: 10;
	/* While hidden, always keep them at the top left corner to avoid scrollbars. */
	left: 0;
	top: 0;
}

.CMSMenu li:hover > ul {
	/* Display submenu them on hover. */
	visibility: visible;
	/* 1st level go below their parent item. */
	top: 100%;
}

.CMSMenu li li:hover > ul {
	/* 2nd+ levels go on the right side of the parent item */
	top: 0;
	left: 100%;
}

/* Float clear - force containment of floated li inside of ul. */
.CMSMenu ul:after {
	content: ".";
	height: 0;
	display: block;
	visibility: hidden;
	overflow: hidden;
	clear: both;
}

.CMSMenu ul {
	/* IE7 float clear. */
	min-height: 0;
}

/* Sticky menus.
	Expand menu hit area so that menus will not disappear when your mouse moves a bit
	outside the submenu. YOU SHOULD NOT STYLE the background or this feature may not work properly! */
.CMSMenu ul ul {
	/* Required for sticky to work in IE6 and IE7 - due to their (different) hover bugs. */
	background-image: url(empty.gif);
	padding: 10px 30px 30px 30px;
	margin: -10px 0 0 -30px;
	/* Uncomment this if you want to see the "safe" area. */
	/*background: #F00;*/
}

/* Inner sticky menus. */
.CMSMenu ul ul ul {
	padding: 30px 30px 30px 10px;
	margin: -30px 0 0 -10px;
}



/* ########################## */
/* ## DESIGN STYLE         ## */
/* ## Edit your heart out. ## */
/* ########################## */

.CMSMenu {
	margin-top:10px;
	padding-left:1em;
	float:left;
	background: url(bgMenu.png);
}

.CMSMenuIE6 {
	background: white !important;
}
.CMSMenu >  ul ul li {
	white-space:nowrap;
	background: url(bgMenuSub.png);
}

.CMSMenu ul ul {
}

.CMSMenu a {
	color:#666666;
	font-variant:small-caps;
	text-decoration: none;
	display: block;
	position: relative;
	padding:.2em .3em;
}

.CMSMenu a:hover, .CMSMenu li:hover > a {
	white-space:nowrap;
}

/* Create borders around each item. */
.CMSMenu li li {
}

/* Remove the top border on all but first item in the list. */
.CMSMenu ul ul > li + li {
	border-top: 0;
}

/* Inset 2nd+ submenus, to show off overlapping. */
.CMSMenu li li:hover > ul {
	top: 5px;
	left: 90%;
}

