  #menu
  {
    position: relative;
    margin-top: 8px;
    border-top: 1px solid #eee;
    padding-top: 20px;
    padding-bottom: 16px;
    background: url('../img/menu_shadow.gif') bottom repeat-x;
    _background-image: none;
    clear: both;
    _z-index: 20;
  }

  #search_field
  {
    position: absolute;
    margin: 0;
    padding: 0;
    right: 10px;
    top: 12px;
    padding: 4px 10px;
    background: #f5f5f5;
  }
  
  #search_field .field
  {
    width: 150px;
    font-family: Tahoma;
  }
  
  #search_field .inactive
  {
    color: #aaa;
  }
  
  #menu UL
  {
    margin: 0;
    padding: 0;
  }
  
  #menu H2
  {
    display: none;
  }


    .ui-tabs-hide {
      display: none;
    }

  .ui-tabs-nav .ui-tabs-selected A
  {
    color: #000;
  }

  .ui-tabs-nav A:hover, .ui-tabs-nav A:focus, .ui-tabs-nav A:active
  {
    cursor: pointer;
  }
  
  #first_level
  {
    margin: 4px 0 0 0;
    padding: 0;
    list-style-type: none;
    position: relative;
    max-width: 1500px;
    margin-left: 20px !important;
  }
  
  #first_level LI
  {
    display: inline;
    position: relative;
    margin-right: 4px;
  }
  
  #first_level LI .button
  {
    padding: 5px 20px;
    position: relative;
    color: white;
    background: url('../img/button_bg.gif') 0 100% #25871a;
    height: 1%;
    margin: 0;
  }
  
  #first_level LI .button:hover
  {
    background: url('../img/button_bg_hover.gif') 0 100% #3fa833;
  }
  
  #first_level LI.param .button
  {
    background: url('../img/button_bg_param.gif') 0 100% #25871a;
  }
  
  #first_level LI.param .button:hover
  {
    background: url('../img/button_bg_param_hover.gif') 0 100% #3fa833;
  }
  
  #first_level LI.ui-tabs-selected .button,
  #first_level LI.ui-tabs-selected .button:hover
  {
    background: url('../img/button_bg_active.gif') 0 100% #5a61be;
    text-decoration: none;
    cursor: default;
  }
  
  #first_level LI .corner
  {
    position: absolute;
    right: 0;
    top: 0;
    background: url('../img/menu_corner.gif') no-repeat 0 0;
    width: 10px;
    height: 9px;
  }
  
  @media all and (min-width:0px) {
    #first_level LI 
    {
      background: url('../img/button_bg.gif') 0 100% #25871a;
      padding: 5px 0;
    }
  #first_level LI.param
  {
    background: url('../img/button_bg_param.gif') 0 100% #25871a;
  }

    #first_level LI A.button
    {
      cursor: pointer;
    }
    
    #first_level LI:hover
    {
      background: url('../img/button_bg_hover.gif') 0 100% #3fa833;
    }
  #first_level LI.param:hover
  {
    background: url('../img/button_bg_param_hover.gif') 0 100% #3fa833;
  }
    
    #first_level LI.ui-tabs-selected
    {
      background: url('../img/button_bg_active.gif') 0 100% #5a61be;
    }
    
    #first_level LI A.button,
    #first_level LI.ui-tabs-selected .button,
    #first_level LI.ui-tabs-selected .button:hover,
    #first_level LI .button:hover
    {
      background: url('../img/menu_corner.gif') no-repeat right top !important;
    }
    
    #first_level LI .corner
    {
      display: none;
    }
  }
  
  #second_level
  {
    text-align: left;
    clear: both;
    margin: 0;
    margin-top: 5px;
    padding: 6px 0;
    background: url('../img/adv_menu_bg.gif') 0 100% #5a61be;
    position: relative;
    z-index: 30;
  }
  
  #second_level .basket
  {
    position: absolute;
    right: 20px;
    top: .45em;
  }
  
  #second_level .basket A
  {
    color: white;
    background: url('/img/basket.gif') no-repeat 0 3px;
    padding-left: 20px;
  }
  
  #second_level UL
  {
    padding-left: 20px;
  }
  
  #second_level LI
  {
    display: inline;
    margin-right: 5px;
    color: white;
  }
  
  #second_level LI .link
  {
    color: white;
    padding: 6px 0;
  }
  
  #second_level .count
  {
    color: #fff;
    font-size: 80%;
    position: absolute;
    _position: normal;
    cursor: pointer;
  }
  
/*
*
* All notebooks
*
*/

  
  #second_level LI.block
  {
    margdin-left: 10px;
    display: inline;
    margidn: 0;
    padding: 0;
    paddidng: 0 5px;
    margin-right: 20px;
    _margin-right: 5px;
  }
  
  #second_level LI.block A.link
  {
    display: inline;
    color: #fff;
    paddinfg: 0 5px;
    _height: 1%;
    zoom: 1;
     margin: 0;
    padding: 0;
  }
  
  #second_level LI.block A.link:hover
  {
    color: #fff;
  }

  #second_level .all_wares
  {
    position: absolute;
    top: 2em;
    _tdop: 1.9em;
    margin: 0;
    padding: 0;
    display: none;
    background: #5a61be;
    padding: 10px 0;
    border: 1px solid #3a419e;
    border-top: none;
    z-index: 1;
  }
  
  #second_level .all_wares LI
  {
    margin: 0;
    padding: 0;
  }
  
  #second_level .all_wares A
  {
    color: #fff !important;
    margin: 0 10px;
    display: block;
  }
