/*** ESSENTIAL STYLES ***/
#primary-menu, #primary-menu * {
	margin: 0;
	padding: 0;
	list-style: none;
}
#primary-menu li {
	position: relative;
}
#primary-menu ul {
	position: absolute;
	display: none;
	top: 100%;
	left: 0;
	z-index: 99;
}
#primary-menu > li {
	float: left;
}
#primary-menu li:hover > ul,
#primary-menu li.sfHover > ul {
	display: block;
}

#primary-menu a {
	display: block;
	position: relative;
}
#primary-menu ul ul {
	top: 0;
	left: 100%;
}


/*** DEMO SKIN ***/
#primary-menu {
	float: left;
	margin-bottom:10px;
}
#primary-menu ul {
	box-shadow: 2px 2px 6px rgba(0,0,0,.2);
	min-width: 190px; /* allow long menu items to determine submenu width */
	*width: 190px; /* no auto sub width for IE7, see white-space comment below */
}
#primary-menu a {
	text-decoration: none;
	zoom: 1; /* IE7 */
    color: #fff;
    cursor: pointer;
    padding-right: 7px;
	padding-left:7px;
    text-decoration: none;

}

#primary-menu li {
	background-color: #008dc2;
	white-space: nowrap; /* no need for Supersubs plugin */
	*white-space: normal; /* ...unless you support IE7 (let it wrap) */
	-webkit-transition: background .2s;
	transition: background .2s;
  background-image: url("../images/vmenubg.jpg");
  background-position: center center;
  background-repeat: repeat-x;
  margin-bottom: 1px;
  color: #fff;
  height: 29px;
  line-height: 29px;
  width: 190px;

	
}

#primary-menu li:hover,
#primary-menu li.sfHover , 
#primary-menu li.current-menu-item {
	background-color: #CFDEFF;
	/* only transition out, not in */
	-webkit-transition: none;
	transition: none;
  background-image: url("../images/menujp.jpg");
  background-repeat: repeat-x;
  background-position: center center;
  color:#000;	
}

#primary-menu li a:hover,
#primary-menu > li.sfHover > a , 
#primary-menu li.current-menu-item a {
 color:#000;
}


/* adding sf-vertical class in addition to sf-menu creates a vertical menu */
/* eg. <ul class="sf-menu sf-vertical"> ... */
#primary-menu.sf-vertical {
	
  width: 100%;
  /* If you want the width of the closed menu to expand to its
  widest top-level menu item (like its "Supersubs" submenus do),
  replace the width rule above with the following two rules. */

  /*
  min-width: 12em;
  *width: 12em;
  */
}
#primary-menu.sf-vertical ul {
	left:	100%;
	top: 0;
}
.rtl #primary-menu.sf-vertical ul {
	left:	auto;
	right:	100%;	
}
#primary-menu.sf-vertical > li {
  float: none;
}
#primary-menu.sf-vertical li {
  width: 100%;
}

