#hmenu{
	margin:0;
	padding: 0px 0px 0px 0px;
	list-style: none;
	position: relative;
}
#hmenu li{
	float: left;
	padding: 7px 0px 7px 0px;
	position: relative;
	line-height: 0;
}
#hmenu a{
	float: left;
	padding: 0px 25px;
	color: #CFCFCF;
	text-transform: uppercase;
	font: bold 12px/25px Arial, Helvetica;
	text-decoration: none;
	text-shadow: 0 1px 0 #000;
}
#hmenu li:hover > a{
	color: #fafafa;
}
#hmenu li:hover{
/*	background: #0186ba;
	background: -moz-linear-gradient(#04acec,  #0186ba);	
	background: -webkit-gradient(linear, left top, left bottom, from(#04acec), to(#0186ba));
	background: -webkit-linear-gradient(#04acec,  #0186ba);
	background: -o-linear-gradient(#04acec,  #0186ba);
	background: -ms-linear-gradient(#04acec,  #0186ba);
	background: linear-gradient(#04acec,  #0186ba);*/
}
*html #hmenu li a:hover{ /* IE6 */
	color: #fafafa;
}
#hmenu li:hover > ul{
	display: block;
}
/* Sub-hmenu */
#hmenu ul{
    list-style: none;
    margin: 0;
    padding: 0;    
    display: none;
    position: absolute;
    top: 38px;
    left: 0;
    z-index: 99999;    
	background: #444; /*Фон выпадающего списка*/
}
#hmenu ul ul{
	top: 0;
	left: 160px;
}
#hmenu ul li{
    float: none;
    margin: 0px;
    padding: 0px;
    display: block;  
}
#hmenu ul li:last-child{   
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;    
}
#hmenu ul a{
  
	padding: 10px;
	height: 10px;
	width: 140px;
	height: auto;
    line-height: 1;
    display: block;
    white-space: nowrap;
    float: none;
	text-transform: none;
}
*html #hmenu ul a{ /* IE6 */  
	height: 10px;
}
*:first-child+html #hmenu ul a{ /* IE7 */
	height: 10px;
}
#hmenu ul a:hover{ /* Подсветка и градиент */
    background: #0186ba;
	background: -moz-linear-gradient(#04acec,  #0186ba);	
	background: -webkit-gradient(linear, left top, left bottom, from(#04acec), to(#0186ba));
	background: -webkit-linear-gradient(#04acec,  #0186ba);
	background: -o-linear-gradient(#04acec,  #0186ba);
	background: -ms-linear-gradient(#04acec,  #0186ba);
	background: linear-gradient(#04acec,  #0186ba);
}
#hmenu ul li:first-child > a:after{
    content: '';
    position: absolute;
    left: 30px;
    top: -8px;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 8px solid #444;
}

#hmenu ul ul li:first-child a:after{
    left: -8px;
    top: 12px;
    width: 0;
    height: 0;
    border-left: 0;	
    border-bottom: 5px solid transparent;
    border-top: 5px solid transparent;
    border-right: 8px solid #444;
}

#hmenu ul li:first-child a:hover:after{
	border-bottom-color: #04acec; /*Вертикальный уголок*/
}
#hmenu ul ul li:first-child a:hover:after{
    border-right-color: #04acec; /*Горизонтальный уголок*/
    border-bottom-color: transparent; 	
}
/* Clear floated elements */
#hmenu:after {
	visibility: hidden;
	display: block;
	font-size: 0;
	content: " ";
	clear: both;
	height: 0;
}

* html #hmenu             { zoom: 1; } /* IE6 */
*:first-child+html #hmenu { zoom: 1; } /* IE7 */