/**
 * jQuery yMenu
 *
 * @url         http://www.mewsoft.com/jquery/ymenu/
 * @author      Dr. Ahmed Amin Elsheshtawy, Ph.D. <sales@mewsoft.com>
 * @version     1.0
 * @date        02.07.2011
 * @Copyright 2011 Mewsoft Corp. http://www.mewsoft.com
 * @Released under the MIT and GPL licenses.
 */

 /* Menu container */
#menu {
    font-size: 1.2em;
    margin-top: 1px;
}

#menu ul {
    width: 210px; /* sets the width of the main root menu */
    position: relative; /*Relative to the containing division */
    z-index: 10; /*We need to adjust the z-index values in order to display the successive lists properly */
    margin: 0;
    padding: 0;
    list-style: none; /* Removes the dots from the default Bullet styles */
    background-color: #b1c2cf;   /* Menu background color #66839f*/
    border-top: 1px solid #b1c2cf;
    border-left: 1px solid #b1c2cf;
}

#menu ul li {
    border-bottom: 1px solid #b1c2cf;
    border-right: 1px solid #b1c2cf;
    background-color: #006bb6;
    text-align: left;
    position: relative;
    z-index: 12;
    margin: 0px;
    padding: 0px 0px;
}

#menu ul li ul {
    display: none;
    position: absolute;
    z-index: 15;
    top: -1px;
    left: 210px; /* set this to the same as the width of the menus*/
    margin: 0px;
    text-align: left;
    width: 210px; /* Set the width of the sub menus */
}

#menu ul li a:link, #menu ul li a:visited, #menu ul li a:active {
    text-align: left;
    color: #fff;
    font-weight: bold;
    background-color: #006bb6;
    padding: 8px;
    margin: 0px;
    text-decoration: none;
    z-index: 15;
    overflow: auto;
    display: block;
}

#menu ul li:hover {
    border-bottom: 1px solid #b1c2cf;
    border-right: 1px solid #b1c2cf;
    background: #58788f url(../images/ymenu-hover-red.png) repeat-x scroll; /* hover menu item background color */
}

#menu ul li a:hover {
    background-color:#aac2e6; /* #a4d498;*/
    color: #000;
}

.ymenu-folder {
    background: url(../images/ymenu-arrow-right.gif) no-repeat scroll 98% center ;
}
.ymenu-folder-hover {
    background: url(../images/ymenu-arrow-right-open.gif) no-repeat scroll 98% center ;
}

#menu ul li ul li {
    text-align: left;
}

#menu ul li:hover > ul {
    display: block;
}

/* Fix for Space between list items in IE 6 */
#menu a, #menu ul li a {display: inline-block;} 
#menu a{display: block;}

/* yMenu ends */

