.menu {
	width:195px; 
	float:left; 
	background-image:url(/templates/theme002/icon01.png); 
	background-repeat:no-repeat; 
	background-position:5px 15px; 
	padding:5px;
	background-color: #FFFFFF;
}
/* Some stylesheet reset */
.menu > ul{
	list-style: none;
	margin: 0;
	padding: 0;
	vertical-align: baseline;
	line-height: 1;
}

/* The container */
.menu > ul {
	padding:0; 
	margin:40px 0 0 0px;
}

/* The list elements which contain the links */
.menu > ul li {
	display: block;
	position: relative;
	list-style:none;
	padding:5px 0;
	/*height:25px;
	line-height: 25px;
	*/
	border-bottom:1px solid #dfefb6;
}
.menu > ul li ul li {
	padding: 0px;
}
.menu > ul li ul li:last-child {
	border-bottom: none;
}
/* General link styling */
.menu > ul li a {
	/* Layout */
	display: block;
	position: relative;
	margin: 0;
	padding: 0px 20px;
	width: 158px;

	/* Typography */	
	color: #666;
	font-size: .9em;
	font-family: Tahoma, Geneva, sans-serif;
	text-decoration: none;
	text-transform: uppercase;
	text-shadow: 0 1px 0 #fff;
	font-weight: 300;
	line-height: 20px;
}

.menu ul li > ul li a {
	/* border-top: 1px dotted #fff; */
	/* border-bottom: 1px dotted #d9d9d9; */
	background: #eaeaea;
	padding: 11px 20px;
}

/* Rounded corners for the first link of the menu/submenus */
.menu ul li > ul li:first-child>a {
	border-top-left-radius: 4px;
	border-top-right-radius: 4px;
	border-top: 0;
}

/* Rounded corners for the last link of the menu/submenus */
.menu ul li > ul li:last-child>a {
	border-bottom-left-radius: 4px;
	border-bottom-right-radius: 4px;
	border-bottom: 0;
}


/* The hover state of the menu/submenu links */
.menu > ul li>a:hover, .menu > ul li:hover>a {
	/*
	color: #fff;
	text-shadow: 0 1px 0 rgba(0, 0, 0, .3);
	background: #54cdf1;
	background: -webkit-linear-gradient(bottom, #54cdf1, #74d7f3);
	background: -ms-linear-gradient(bottom, #54cdf1, #74d7f3); 
	background: -moz-linear-gradient(bottom, #54cdf1, #74d7f3);
	background: -o-linear-gradient(bottom, #54cdf1, #74d7f3);
	border-color: transparent;
	*/
}

/* The arrow indicating a submenu */
.menu > ul .has-sub>a::after {
	content: '';
	position: absolute;
	top: 9px;
	right: 10px;
	width: 0px;
	height: 0px;

	/* Creating the arrow using borders */
	
	border: 4px solid transparent;
	border-left: 4px solid #79A018; 

}

/* The same arrow, but with a darker color, to create the shadow effect */
.menu > ul .has-sub>a::before {
	content: '';
	position: absolute;
	top: 10px;
	right: 10px;
	width: 0px;
	height: 0px;

	/* Creating the arrow using borders */
	border: 4px solid transparent;
	border-left: 4px solid #79A018;
}

/* Changing the color of the arrow on hover */
.menu > ul li>a:hover::after, .menu > ul li:hover>a::after {
	border-left: 4px solid #79A018;
}

.menu > ul li>a:hover::before, .menu > ul li:hover>a::before {
	border-left: 4px solid rgba(0, 0, 0, .25);
}


/* THE SUBMENUS */
.menu > ul ul {
	z-index: 9999;
	position: absolute;
	left: 195px;
	top: -9999px;
	padding-left: 5px;
	opacity: 0;
	/* The fade effect, created using an opacity transition */
	-webkit-transition: opacity .3s ease-in;
	-moz-transition: opacity .3s ease-in;
	-o-transition: opacity .3s ease-in;
	-ms-transition: opacity .3s ease-in;
}

/* Showing the submenu when the user is hovering the parent link */
.menu > ul li:hover>ul {
	top: 0px;
	opacity: 1;
}