/* The wrapper div should be wrapped around the page content and be at least 100% page height for the iPade, iPhone and iPod Touch */
html, body {padding:0; margin:0; height:100%;}
.wrapper {/*height:100%;*/}
/* ================================================================ 
This copyright notice must be untouched at all times.

The original version of this stylesheet and the associated (x)html
is available at http://www.cssplay.co.uk/menus/cssplay-touch-multi-level-two.html
Copyright (c) Stu Nicholls. All rights reserved.
This stylesheet and the associated (x)html may be modified in any 
way to fit your requirements.
=================================================================== */
.menu {width:988px;/* height:70px;*/ text-align:left; position:relative; z-index:100; padding-bottom:30px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
-o-user-select: none;
user-select: none;
-ms-touch-action: none;
}

.menu ul {margin:0; padding:0; list-style:none; white-space:nowrap; text-align:left; /*border-radius:8px;*/}
.menu ul {display:inline-block;}

.menu li {display:block; position:relative;}

.menu ul ul {position:absolute; left:-9999px; /*top:70px;*/ padding:10px 0; z-index:0;
-webkit-transition: opacity 0.5s;
-o-transition:0.5s;
-moz-transition:0.5s;
transition: opacity 0.5s;
}
.menu ul ul ul {left:100%; top:auto; margin-top:-35px;}
.menu ul li.left > ul {left:auto; right:0; top:70px;}
.menu ul li.left ul li > ul {left:auto; right:100%; top:auto; margin-top:-35px;}

.menu > ul {margin:0 auto; width: 100%;}
.menu > ul > li {float:left; position:relative;}

.menu ul {background:#5A903F;}
.menu ul ul {background:#5A903F;}
.menu ul ul ul {background:#5A903F;}
.menu ul ul ul ul {background:#5A903F;}

.menu ul,
.menu ul ul,
.menu ul ul ul,
.menu ul ul ul ul {
background-image: -webkit-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0.5) 100%);
background-image: -moz-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0.5) 100%);
background-image: -ms-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0.5) 100%);
background-image: -o-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0.5) 100%);
background-image: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.5) 100%);
/*box-shadow:0px 5px 5px rgba(0,0,0,0.4);*/
}
.menu a {display:block; font:normal 12px/24px arial, sans-serif; color:#fff; text-decoration:none; /*border-radius:8px;*/ padding:5px 25px; position:relative; z-index:10;} /*padding: 0 20px*/
.menu > ul > li > a {line-height:32px; font-size: 125%; font-weight: bold;}
.menu > ul > li > b {display:block; position:relative; width:100%; margin-top:-70px; height:70px; background: url(trans.gif); z-index:100;
-webkit-transition:0.75s;
-o-transition:0.75s;
-moz-transition:0.75s;
transition:0.75s;
}
.menu ul ul > li > b {display:block; position:relative; margin-top:-25px; width:100%; height:25px; background: url(trans.gif); z-index:100;
-webkit-transition:0.75s;
-o-transition:0.75s;
-moz-transition:0.75s;
transition:0.75s;
}

.menu li:hover > b {width:0;}
.menu li.left ul a {text-align:right;}

.menu li:hover > a,
.menu ul li:hover > a {color:#ff0; text-decoration:underline;}

.menu ul li a.hassub {background:url(down.gif) no-repeat right center;}
.menu li.left ul li a.hassub {background:url(down.gif) no-repeat left center;}

.menu > ul {*display:inline;}

.menu ul ul,
.menu ul ul ul,
.menu ul li.left > ul,
.menu ul li.left ul li > ul {left:-9999px; right:auto; opacity:0;}

.menu ul li:hover > ul {left:0; opacity:1;}
.menu ul ul li:hover > ul {left:100%; opacity:1;}
.menu ul li.left:hover > ul {left:auto; right:0; opacity:1;}
.menu ul li.left ul li:hover > ul {left:auto; right:100%; opacity:1;}

.menu ul li:hover > a.hassub {background:url(right.gif) no-repeat right center;}
.menu li.left ul li:hover > a.hassub {background:url(left.gif) no-repeat left center;}
