#ajaxmenu ul {
	margin: 0;
	padding: 0;
	list-style: none;
	}

#ajaxmenu ul li {
    position: relative;
	float: left;
	display: inline;
    text-decoration: none;
    color: black;
    height:38px;
    width: 170px;
    text-align: center;
    /*background: url(../i/menu-li.gif) bottom right no-repeat;
    background: none;*/
}

#ajaxmenu ul li ul {
	position: absolute;
	left: 0; /* Set 1px less than menu width */
    top:52px;
	width:172px;

	line-height: 26px;
    background-color: #fafafa;
	}
#ajaxmenu ul li a {
	color: black;
	font-weight: normal;
    font-size: 20px;
    text-decoration: underline;
}
#ajaxmenu ul li a:hover {
	text-decoration: underline;
}

/* commented backslash \*/
* html ul li a {height:1%}
/* end hack */
#ajaxmenu li a {
	text-decoration: none;
}

/* hovered lists */
#ajaxmenu li a, #ajaxmenu li.over a {
	width: 170px;
    _width:160px;
	display: block;

}
/*Нисподающее меню*/
#ajaxmenu li li a:hover, #ajaxmenu li.over li a:hover {
	background-color: white;
    height: 30px;
    width:160px;
}

/* set dropdown */
#ajaxmenu li ul li {
    border-right: 1px solid #e2e2e2;
	border-bottom: 1px solid #e2e2e2;
	border-left: 1px solid #e2e2e2;
    width:170px;
    _width:160px;
    height: 30px;
    background: none;
    background-color: #fafafa;

}
#ajaxmenu li li a, #ajaxmenu li.over li a {
	text-align: left;
    font-weight: normal;

}
#ajaxmenu li ul li a {
	padding-right: 5px;
	padding-left: 5px;
    font-size: 12px;
    text-decoration: none;
} /* Sub Menu Styles */

#ajaxmenu li ul, #ajaxmenu li.over ul {
	display: block;
} /* The pop */
#ajaxmenu {
    font: bold 13px arial;
    padding-left: 0;
    margin-left:20px;
    margin-top:0px;
    padding-top: 15px;
    line-height:38px;
    height:38px;
}

#myajaxmenu {
	position: absolute;
	/*top:0px;*/
	/*left: 20px;*/
	display: block;
	z-index: 1000;
}

/*CSS for Simple Tree Menu*/
.treeview ul{margin: 0;padding: 0;}
.treeview li{ /*Style for LI elements in general (excludes an LI that contains sub lists)*/
list-style-type: none;margin-bottom: 3px;}
.treeview li.submenu{ /* Style for LI that contains sub lists (other ULs). */
cursor: hand !important;cursor: pointer !important;}
.treeview li.submenu ul{ /*Style for ULs that are children of LIs (submenu) */
display: none; /*Hide them by default. Don't delete. */
}
.treeview .submenu ul li{ /*Style for LIs of ULs that are children of LIs (submenu) */
cursor: default;}
