/*
 * Licensed to the Apache Software Foundation (ASF) under one
 * or more contributor license agreements.  See the NOTICE file
 * distributed with this work for additional information
 * regarding copyright ownership.  The ASF licenses this file
 * to you under the Apache License, Version 2.0 (the
 * "License"); you may not use this file except in compliance
 * with the License.  You may obtain a copy of the License at
 *
 *   http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the License is distributed on an
 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 * KIND, either express or implied.  See the License for the
 * specific language governing permissions and limitations
 * under the License.
 */

/* Menu Control css */

.menustyle {
    font: 11px arial, helvetica, lucida-sans, sans-serif;
    line-height: 15px; 
    height: 28px; 
    background: #d0d0d0; 
    color: #d0d0d0; 
    padding: 0; 
    margin: 0;
}
.menustyle .menubar {
    list-style-type: none; 
    margin: 0; 
    padding: 0; 
} 
.menustyle .topitem {
    background: #d0d0d0; 
    font-weight: normal;
    float: left;
    display: block;
    margin-top: 1px;
    margin-left: 0px;
} 
.menustyle .topitem a, .menustyle .topitem a:visited {
    font-weight: normal;
    color: #000; 
    padding-left: 12px; 
    padding-right: 12px; 
    padding-top: 4px; 
    padding-bottom: 4px; 
    display: block; 
    text-decoration: none; 
    border: 1px solid #d0d0d0; 
    vertical-align: middle;
}
.menustyle .topitem a:hover {
    font-weight: normal;
    text-decoration: none;     
    color: blue; 
    border-top: 1px solid #f0f0f0; 
    border-left: 1px solid #f0f0f0; 
    border-bottom: 1px solid #707070; 
    border-right: 1px solid #707070; 
}
/* Uncomment to highlight the selecte menu item
.menustyle .selected {
    font-weight: normal; 
    background: #afaea9 repeat-x left; 
}
*/
.menustyle img.link {
    vertical-align: middle;
}
.menustyle ul.submenu {
    list-style-type: none; 
    position: absolute; 
    margin: 0; 
    padding: 0; 
    display: none; 
    width: 160px;  
    z-index: 255;
    border-top: 1px solid #f0f0f0; 
    border-left: 1px solid #f0f0f0; 
    border-bottom: 1px solid #909090; 
    border-right: 1px solid #909090;  
} 
.menustyle ul.submenu li {
    padding: 0; 
    margin: 0; 
    font-size: 11px;
} 
.menustyle ul.submenu li a, .menustyle ul.submenu li a:visited {
    vertical-align: middle;
    padding: 3px 3px 0px 16px; 
    color: #000; 
    border: 1px solid #d0d0d0; 
    text-decoration: none; 
    margin: 0;
}
.menustyle ul.submenu li img {
    vertical-align: middle;
}
.menustyle ul.submenu li a:hover {
    vertical-align: middle;
    padding: 3px 3px 0px 16px; 
    text-decoration: none; 
    background: #fff; 
    color: #000; 
    border: 1px solid #3699dd; 
}
.menustyle li:hover ul, .menustyle li.over ul {
    margin: 0;
    padding: 4px;
    display: block; 
    background: #d0d0d0;
    zoom: 1;
}
.menustyle li>ul {
    top: auto; left: auto;
}
