.menu, .menu ul, .menu li {
	list-style: none;
}

.menu ul {
	padding: 0;
	margin: 0 0 0 18px;
}

.menu {
	padding: 4px;
	margin: 0px;
}

.menu > li {
	margin: 4px 0;
}

.menu > li li {
	margin: 2px 0;
}

.menu a {
	color: #333;
	display: block;
	outline: none;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
	text-decoration: none;
}

.menu a .caret {
	float: right;
	width: 0;
	height: 0;
	display: inline-block;
	vertical-align: top;
	border-top: 4px solid #000;
	border-right: 4px solid transparent;
	border-left: 4px solid transparent;
	content: "";
    margin-top: 8px;
	margin-left: 2px;
}

.menu a:hover .caret {
	border-top-color: #fff;
}

.menu li.open > a > .caret {
	border-top: none;
	border-bottom: 4px solid #000;
	border-right: 4px solid transparent;
	border-left: 4px solid transparent;
}

.menu li.open > a:hover > .caret {
	border-bottom-color: #fff;
}

.menu a:hover, .menu > li > a:hover {
	background-color: #5D5D5D;
	color: #f5f5f5;
}

.menu  li.active > a  {
	background-color: #4D90FE;
	color:#ffffff;
}

.menu li a {
	font-size: 12px;
	line-height: 18px;
	padding: 2px 10px;
}

.menu > li > a {
	font-size: 14px;
	line-height: 20px;
	padding: 4px 10px;
}
