#tabsArea{  background: #f0f0f0; border-left: 1px solid #ddd; border-right: 1px solid #ddd; }
.bgLeft{  margin-left: -1px}
.bgTop{ background: url(http://www.a24.ru/xtpl/i/tabs_bg_tp.png) 0 0 repeat-x; margin-right: -1px; }
.bgTopLeft{ background: url(http://www.a24.ru/xtpl/i/tabs_bg_tp_left.png) 0 0 no-repeat; padding-left: 1px; /*position: relative;*/ height:90px; }


#tabs ul{ list-style: none; float: left; width: 100%; z-index: 999; position: relative; }

#tabs li { float: left; min-width: 76px; /* be nice to Opera */ width: 14.2%; position:relative; }
#tabs a, #tabs a span { display: block; text-align: center; text-decoration: none;  }
#tabs .tabs-selected a, #tabs .tabs-selected a:hover, #tabs ul li:hover a, #tabs ul li.sfHover a{ background: url(http://www.a24.ru/xtpl/menu/tabright0.png) 100% 0 no-repeat; }
#tabs a:focus, #tabs a:active{ background: url(http://www.a24.ru/xtpl/menu/tabright1.png) 100% 0 no-repeat; }
#tabs a:focus span, #tabs a:active span{ background: url(http://www.a24.ru/xtpl/menu/tableft1.png) 0 0 no-repeat; }
#tabs a { background: url(http://www.a24.ru/xtpl/menu/tabright.png) 100% 0 no-repeat; }
#tabs a span { height: 86px; /* IE 6 treats height as min-height */ min-height: 86px; }
*>#tabs a span { /* hide from IE 6 */ width: auto; height: auto; }
#tabs .tabs-selected a span, #tabs .tabs-selected a:hover span, #tabs ul li:hover a span, #tabs ul li.sfHover a span{ background: url(http://www.a24.ru/xtpl/menu/tableft0.png) 0 0 no-repeat; }
#tabs a span{ background: url(http://www.a24.ru/xtpl/menu/tableft.png) 0 0 no-repeat; }
#tabs a:hover, #tabs a:focus, #tabs a:active { cursor: pointer; outline: 0;}


#tabs ul ul{ left: -999em; position: absolute; background: #fff url(http://www.a24.ru/xtpl/menu/sm_bg.gif) 0 0 repeat-x; /*IE6 needs this*/ 
float: none; width: 210px; _width: 250px; padding: 20px 20px 10px; border: 1px solid #ccc; border-top: 0; z-index: 20; }
#tabs ul ul ul{ padding: 0; width: 200px; background: #fff; }
#tabs li li { display: block; width: 100%; z-index: 31; border-top: 1px solid #ddd; cursor:pointer; cursor: hand}
#tabs li li li{ margin-top: -1px; }
#tabs li li a { padding-left: 10px; color: #000; float: left; background: none !important; 
text-decoration: none; width: auto; text-align: left; padding: 8px 0 8px 10px; }
#tabs li li li a{ padding: 5px 0 5px 20px; width:auto; }
#tabs li li a:hover{ color: #CC0000;  } 
#tabs ul li:hover, #tabs ul li.sfHover{ background: #fff; }

#tabs ul li:hover ul, #tabs ul li.sfHover ul { right: 0px; top: 86px; left:auto}
#tabs li:hover li ul, #tabs li.sfHover li ul  { left: -999em; }
#tabs li li:hover ul, #tabs ul li li.sfHover ul { right: 210px; top: -1px; left:auto }
.sf-sub-indicator { display:none !important; }