#menu ul,
#menu li,
#menu span,
#menu a {
  margin: 0;
  padding: 0;
  position: relative;
  z-index: 2;
}
#menu:after,
#menu ul:after {
  content: '';
  display: block;
  clear: both;
}
#menu a {
  color: #ffffff;
  display: inline-block;
  font-family: 'Lucida Grande', 'Lucida Sans Unicode', Helvetica, Arial, Verdana, sans-serif;
  font-size: 12px;
  min-width: 35px;
  text-align: center;
  text-decoration: none;
/*  text-shadow: 0 -1px 0 #333333;*/
}
#menu ul {
  list-style: none;
}
#menu > ul > li {
  float: left;
}
#menu > ul > li.active a {
/*  background: #646464 url(images/grad_dark.png) repeat-x left bottom;*/
  background: -moz-linear-gradient(top, #646464 0%, #4a4a4a 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #646464), color-stop(100%, #4a4a4a));
  background: -webkit-linear-gradient(top, #646464 0%, #4a4a4a 100%);
  background: -o-linear-gradient(top, #646464 0%, #4a4a4a 100%);
  background: -ms-linear-gradient(top, #646464 0%, #4a4a4a 100%);
  background: linear-gradient(to bottom, #646464 0%, #4a4a4a 100%);
  filter: progid:dximagetransform.microsoft.gradient(startColorstr='#646464', endColorstr='#4a4a4a', GradientType=0);
  box-shadow: inset 0 0 10px #222222, inset 0 10px 10px #222222;
  -moz-box-shadow: inset 0 0 10px #222222, inset 0 10px 10px #222222;
  -webkit-box-shadow: inset 0 0 10px #222222, inset 0 10px 10px #222222;
  filter: none;
}
#menu > ul > li.active a:hover {
  background: -moz-linear-gradient(top, #646464 0%, #4a4a4a 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #646464), color-stop(100%, #4a4a4a));
  background: -webkit-linear-gradient(top, #646464 0%, #4a4a4a 100%);
  background: -o-linear-gradient(top, #646464 0%, #4a4a4a 100%);
  background: -ms-linear-gradient(top, #646464 0%, #4a4a4a 100%);
  background: linear-gradient(to bottom, #646464 0%, #4a4a4a 100%);
  filter: progid:dximagetransform.microsoft.gradient(startColorstr='#646464', endColorstr='#4a4a4a', GradientType=0);
  filter: none;
}

/* TR: basic menu design */
#menu > ul > li a {
  box-shadow: inset 0 0 0 1px #8a8a8a;
  -moz-box-shadow: inset 0 0 0 1px #8a8a8a;
  -webkit-box-shadow: inset 0 0 0 1px #8a8a8a;
/*  background: #4a4a4a url(images/grad_dark.png) repeat-x left top;*/
  background: -moz-linear-gradient(top, #3C997A 0%, #6EB7B5 50%, #A0CFC0 51%, #3C997A 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #3C997A), color-stop(50%, #6EB7B5), color-stop(51%, #A0CFC0), color-stop(100%, #78#3C997A));
  background: -webkit-linear-gradient(top, #3C997A 0%, #6EB7B5 50%, #A0CFC0 51%, #3C997A 100%);
  background: -o-linear-gradient(top, #3C997A 0%, #6EB7B5 50%, #A0CFC0 51%, #3C997A 100%);
  background: -ms-linear-gradient(top, #3C997A 0%, #6EB7B5 50%, #A0CFC0 51%, #3C997A 100%);
  background: linear-gradient(to bottom, #3C997A 0%, #6EB7B5 50%, #A0CFC0 51%, #3C997A 100%);
/*  filter: progid:dximagetransform.microsoft.gradient(startColorstr='#8a8a8a', endColorstr='#787878', GradientType=0);*/
  border-bottom: 0px solid #5d5d5d;
  border-top: 0px solid #5d5d5d;
  border-right: 0px solid #5d5d5d;
  line-height: 34px;
  padding: 0 30px;
  filter: none;
  letter-spacing:1px;
  color:#F9FCC6;
}
/* TR: mouse on main line */
#menu > ul > li a:hover {
  background: #8a8a8a url(images/grad_dark.png) repeat-x left bottom;
  background: -moz-linear-gradient(top, #646464 0%, #4a4a4a 50%, #3b3b3b 51%, #525252 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #646464), color-stop(50%, #4a4a4a), color-stop(51%, #3b3b3b), color-stop(100%, #525252));
  background: -webkit-linear-gradient(top, #646464 0%, #4a4a4a 50%, #3b3b3b 51%, #525252 100%);
  background: -o-linear-gradient(top, #646464 0%, #4a4a4a 50%, #3b3b3b 51%, #525252 100%);
  background: -ms-linear-gradient(top, #646464 0%, #4a4a4a 50%, #3b3b3b 51%, #525252 100%);
  background: linear-gradient(to bottom, #646464 0%, #4a4a4a 50%, #3b3b3b 51%, #525252 100%);
  filter: progid:dximagetransform.microsoft.gradient(startColorstr='#8a8a8a', endColorstr='#787878', GradientType=0);
  filter: none;
  color:#FFFFFF;
}
/* menu: main-line's first one */
#menu > ul > li:first-child a {
  border-radius: 5px 0 0 5px;
  -moz-border-radius: 5px 0 0 5px;
  -webkit-border-radius: 5px 0 0 5px;
  border-left: 1px solid #5d5d5d;
}
/* menu: main-line's last one */
#menu > ul > li:last-child a {
 border-radius: 0 5px 5px 0;
  -moz-border-radius: 0 5px 5px 0;
  -webkit-border-radius: 0 5px 5px 0;
}

#menu .has-sub:hover ul {
  display: block;
  color: #FFFFFF;
}
/* TR: sub-menu position */
#menu .has-sub ul {
  display: none;
  position: relative;
  top: 0px;
  left: 0px;
  min-width: 100%;
  text-align: center;
  color: #FFFFFF;
  /* IE7 */

  *width: 100%;
}
#menu .has-sub ul li {
  text-align: center;
}
/* TR: mouse on main >> child */
#menu .has-sub ul li a {
  border-top: 0 none;
  border-left: 1px solid #5d5d5d;
  display: block;
  line-height: 120%;
  padding: 9px 5px;
  text-align: center;
  color: #FFFFFF;
  /* TR: sub menu background color */
    background: #8a8a8a url(images/grad_dark.png) repeat-x left bottom;
  background: -moz-linear-gradient(top, #646464 0%, #4a4a4a 50%, #3b3b3b 51%, #525252 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #646464), color-stop(50%, #4a4a4a), color-stop(51%, #3b3b3b), color-stop(100%, #525252));
  background: -webkit-linear-gradient(top, #646464 0%, #4a4a4a 50%, #3b3b3b 51%, #525252 100%);
  background: -o-linear-gradient(top, #646464 0%, #4a4a4a 50%, #3b3b3b 51%, #525252 100%);
  background: -ms-linear-gradient(top, #646464 0%, #4a4a4a 50%, #3b3b3b 51%, #525252 100%);
  background: linear-gradient(to bottom, #646464 0%, #4a4a4a 50%, #3b3b3b 51%, #525252 100%);
  filter: progid:dximagetransform.microsoft.gradient(startColorstr='#8a8a8a', endColorstr='#787878', GradientType=0);
  filter: none;
}
/* TR: sub-menu hover */
#menu .has-sub ul li a:hover {
color: #FF85C5;
}
/* TR: sub-menu last-child round */
#menu .has-sub ul  li:last-child a {
 border-radius: 0 0 5px 5px;
  -moz-border-radius: 0 0 5px 5px;
  -webkit-border-radius: 0 0 5px 5px;
}