/* Главное меню */

#_menu
{
	position:relative;
	left:20px;
	top:20px;
	padding-left: 10px !important;	
	display: inline-block;
	
	border-bottom-style:solid;
	border-bottom-width: 1px;
	border-bottom-color: #EE2E2E;
    font: bold 12px/25px Arial, Helvetica;		
}
#_menu > ul
{
        width: 680px;
        margin: 0;
        padding: 0 0 0 0;
        list-style: none;
		
		/*		
        background: #FFF;
        background: -moz-linear-gradient(#444, #111);
    	background: -webkit-gradient(linear,left bottom,left top,color-stop(0, #111),color-stop(1, #444));
        background: -webkit-linear-gradient(#444, #111);
        background: -o-linear-gradient(#444, #111);
        background: -ms-linear-gradient(#444, #111);
        background: linear-gradient(#444, #111);		
        -moz-border-radius: 50px;
        border-radius: 50px;		
        -moz-box-shadow: 0 2px 1px #9c9c9c;
        -webkit-box-shadow: 0 2px 1px #9c9c9c;
        box-shadow: 0 2px 1px #9c9c9c;			
		*/
}


#_menu > ul li
{
	float: left;
	position: relative;
	
}

#_menu > ul > li
{
	background-image: url(red_cubic.png);
	background-repeat: no-repeat;
	background-position: left center;	
	padding: 0 0 0 0;
}

#_menu > ul > li > a:hover
{
	color:#000 !important;
}


#_menu > ul a
{
        float: left;
        height: 25px;
        padding: 0 20px;
		/*
        color: #999;
		*/
		color:#999;
        text-transform: uppercase;		
        text-decoration: none;
		/*
        text-shadow: 0 1px 0 #000;
		*/
}



#_menu > ul li:hover > a
{
		/*
        color: #fafafa;
		color: rgb(0, 153, 255);		
		color: #F7264B;
		*/
		color:#CCC;
}

*html #_menu > ul li a:hover /* IE6 */
{
        color: #CCC;
}

#_menu > ul li:hover > ul
{
        display: block;
}

/* Подменю */

#_menu > ul ul
{
    list-style: none;
    margin: 0 0 0 0;
    padding: 0;
    display: none;
    position: absolute;
    top: 25px;
    left: 0;
    z-index: 99999;
	/*
    background: #444;
	*/
	background:#666;	
    background: -moz-linear-gradient(#666, #444);
    background: -webkit-gradient(linear,left bottom,left top,color-stop(0, #111),color-stop(1, #444));
    background: -webkit-linear-gradient(#666, #444);
    background: -o-linear-gradient(#666, #444);
    background: -ms-linear-gradient(#666, #444);
    background: linear-gradient(#666, #444);	
    -moz-border-radius: 5px;
    border-radius: 5px;
}

#_menu > ul ul li
{
    float: none;
    margin: 0;
    padding: 0;
    display: block;
	
    -moz-box-shadow: 0 1px 0 #111111, 0 2px 0 #777777;
    -webkit-box-shadow: 0 1px 0 #111111, 0 2px 0 #777777;
    box-shadow: 0 1px 0 #111111, 0 2px 0 #777777;
}

#_menu > ul ul li:last-child
{
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;
}

#_menu > ul ul a
{
    padding: 10px;
        height: auto;
    line-height: 1;
    display: block;
    white-space: nowrap;
    float: none;
        text-transform: none;
}

*html #_menu > ul ul a /* IE6 */
{
        height: 10px;
        width: 150px;
}

*:first-child+html #_menu > ul ul a /* IE7 */
{
        height: 10px;
        width: 150px;
}

#_menu > ul ul a:hover
{
	/*
    background: #0186ba;
	background: #04acec;
	*/
		background: #BF090F;

        background: -moz-linear-gradient(#FB4E4E,  #BF090F);
        background: -webkit-gradient(linear, left top, left bottom, from(#FB4E4E), to(#BF090F));
        background: -webkit-linear-gradient(#FB4E4E,  #BF090F);
        background: -o-linear-gradient(#FB4E4E,  #BF090F);
        background: -ms-linear-gradient(#FB4E4E,  #BF090F);
        background: linear-gradient(#FB4E4E,  #BF090F);			
}

#_menu > ul ul li:first-child a
{
    -moz-border-radius: 5px 5px 0 0;
    border-radius: 5px 5px 0 0;
}

#_menu > ul ul li:first-child a:after
{
    content: '';
    position: absolute;
    left: 19px;
    top: -8px;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    /*border-bottom: 8px solid #444;*/
    border-bottom: 8px solid #444;
}

#_menu > ul ul li:first-child a:hover:after
{
  /*  border-bottom-color: #04acec; */
  	border-bottom-color: #FB4E4E;
}

#_menu > ul ul li:last-child a
{
    -moz-border-radius: 0 0 5px 5px;
    border-radius: 0 0 5px 5px;
}

#_menu > ul:after
{
        visibility: hidden;
        display: block;
        font-size: 0;
        content: " ";
        clear: both;
        height: 0;
}

* html #_menu > ul             { zoom: 1; } /* IE6 */
*:first-child+html #_menu > ul { zoom: 1; } /* IE7 */
