ul {
  padding: 0;
  margin: 0 0 9px 10px;
}

ul ul {
  margin-bottom: 0;
}
#menucontainer {
	position: absolute;
	width: 100%;
	top: 170px;
	font-family: Verdana, Geneva, sans-serif;
	font-size: 12px;
}
.menubar {
	/*background:#222222 url(../../images/siteHeaderPattern.png);*/
    width:600px; /* WIDTH OF THE MAIN MENU BAR */
    height:40px;
	margin-left: auto;
	margin-right: auto;
    padding: 10px 0 10px 0;
	z-index:1000000000;
}
#mycustommenu {
    display:inline-block;
    width:600px; /* WIDTH OF THE MAIN MENU BAR */
    padding:0;
	z-index:1000000000;
}
#mycustommenu li {
    margin-right:6px;
    float:left;
    position:relative;
    list-style:none;
	text-shadow:0 2px 2px #000 0.5; /* rgba(0,0,0, .7); */
}
#mycustommenu a {
    background: #9999ff;
	font-weight:bold;
    color:#fff!important;
    text-decoration:none;
    display:block;
    padding:5px 6px 7px 6px;
	border-top:1px solid transparent; /* f8f8f8 */
    border-radius:5px; /*some css3*/
    -moz-border-radius:5px;
    -webkit-border-radius:5px;
    text-shadow:0 2px 2px #000 0.5; /* rgba(0,0,0, .7); */
}

/* selected menu element */
#mycustommenu .current a, #mycustommenu li:hover > a {
    background:#ccc; /* 3b3b3b 365eaf */
    color:#000!important; /* fed327 */
    border-top:1px solid transparent; /* #555555 */
    box-shadow:0 2px 2px rgba(0,0,0, .7); /*some css3*/
    -moz-box-shadow:0 2px 2px rgba(0,0,0, .7);
    -webkit-box-shadow:0 2px 2px rgba(0,0,0, .7);
    text-shadow:0 2px 2px #000 0.5; /* rgba(255,255,255, 0.7); */
}

/* sublevels */
#mycustommenu ul li:hover a, #mycustommenu li:hover li a {
    background:none;
    border:none;
    color:#fff !important; /* 000 */
}
#mycustommenu ul li a:hover {
    background:#ccc; /* 365eaf 222222 url(../images/bg.png) repeat-x 0 -100px; */
    color:#000!important; /* fed327 */
    border-radius:5px; /*some css3*/
    -moz-border-radius:5px;
    -webkit-border-radius:5px;
    text-shadow:0 2px 2px rgba(0,0,0, 0.7);
}

#mycustommenu ul li:first-child > a {
    -moz-border-radius-topleft:10px; /*some css3*/
    -moz-border-radius-topright:10px;
    -webkit-border-top-left-radius:10px;
    -webkit-border-top-right-radius:10px;
}
#mycustommenu ul li:last-child > a {
    -moz-border-radius-bottomleft:10px; /*some css3*/
    -moz-border-radius-bottomright:10px;
    -webkit-border-bottom-left-radius:10px;
    -webkit-border-bottom-right-radius:10px;
}

/* drop down */
#mycustommenu li:hover > ul {
    opacity:1;
    visibility:visible;
}
#mycustommenu ul {
    opacity:0;
    visibility:hidden;
	white-space: nowrap;
    width:auto!important;
    position:absolute;
    background:#7490c7; /* 3b3b3b url(../images/bg.png) repeat-x 0 0; */
    border:1px solid #000; /* 7788aa */
	margin: 0;
    border-radius:10px; /*some css3*/
    -moz-border-radius:10px;
    -webkit-border-radius:10px;
    box-shadow:0 2px 2px rgba(0,0,0, .5);
    -moz-box-shadow:0 2px 2px rgba(0,0,0, .5);
    -webkit-box-shadow:0 2px 2px rgba(0,0,0, .5);
    -moz-transition:opacity .25s linear, visibility .1s linear .1s;
    -webkit-transition:opacity .25s linear, visibility .1s linear .1s;
    -o-transition:opacity .25s linear, visibility .1s linear .1s;
    transition:opacity .25s linear, visibility .1s linear .1s;
}
#mycustommenu ul li {
    float:none;
    margin:0;
}
#mycustommenu ul a {
    font-weight:normal;
    text-shadow:0 2px 2px #000 0.7; /* rgba(255,255,255, 0.7);*/
}
#mycustommenu ul ul {
	width: auto;
    left:130px; /* POSITION OF THE FIRST CHILD MENU */
    top:0px;
}
#mycustommenu ul ul ul {
	width: auto;
    left:80px; /* POSITION OF THE SECOND CHILD MENU */
    top:0px;
}