/* Root = Horizontal, Secondary = Vertical */
ul#dsm {
  margin: 0;
  border: 0 none;
  padding: 0;
  width: 902px; /*For KHTML*/
  list-style: none;
  height: 36px;

}

ul#dsm li {
  margin: 0;
  border: 0 none;
  padding: 0;
  float: left; /*For Gecko*/
  display: inline;
  list-style: none;
  position: relative;
 /* height: 28px;*/

}

ul#dsm ul {
  margin: 0;
  border: 0 none;
  padding: 0;
  width: 160px;
  list-style: none;
  display: none;
  position: absolute;
  top: 36px;
  left: 0;

}

ul#dsm ul:after /*From IE 7 lack of compliance*/{
  clear: both;
  display: block;
  font: 1px/0px serif;
  content: ".";
  height: 0;
  visibility: hidden;
}

ul#dsm ul li {
  width: 160px;
  float: left; /*For IE 7 lack of compliance*/
  display: block !important;
  display: inline; /*For IE*/

}

/* Root Menu */
ul#dsm a {
 border-right: 1px solid #92ABBF;
 /* border: 1px solid #356AA0;
  
  border-bottom-color: #356AA0;*/
  padding: 0 18px ;
  float: none !important; /*For Opera*/
  float: left; /*For IE*/
  display: block;
  /*background: #356AA0;*/
  color:#E2E2E2;
  font: bold 1.4em "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
  text-decoration: none;
  height: auto !important;
  height: 1%; /*For IE*/
  line-height:36px;
}

/* Root Menu Hover Persistence */
ul#dsm a:hover,
ul#dsm li:hover a,
ul#dsm li.iehover a {
background:url(http://www.thdhellas.gr/templates/ks-THD/images/mainNav_bg.jpg) repeat-x;
  color: #FFF;
}

/* Root Menu Hover Persistence */
ul#dsm a:hover.top,
ul#dsm li:hover a.top,
ul#dsm li.iehover a.top {
background:url(http://www.thdhellas.gr/templates/ks-THD/images/mainNav_bg.jpg) repeat-x;
  color: #FFF;
  padding-right:18px
}

ul#dsm a.top {
background:none/*url(http://www.thdhellas.gr/templates/ks-THD/images/mainNav_bg.jpg) repeat-x*/;
color:#E2E2E2;
padding-right:18px

}

/* 2nd Menu */
ul#dsm li:hover li a,
ul#dsm li.iehover li a {
  float: none;
  background: #223E54;
  color: #ccc;
border-top: 1px dotted #2B547E;
line-height:26px;
width: 110%;
}

/* 2nd Menu Hover Persistence */
ul#dsm li:hover li a:hover,
ul#dsm li:hover li:hover a,
ul#dsm li.iehover li a:hover,
ul#dsm li.iehover li.iehover a {
  background: #21496A;
  color: #FFF;
}

/* 3rd Menu */
ul#dsm li:hover li:hover li a,
ul#dsm li.iehover li.iehover li a {
  background: #223E54;
  color: #ccc;
border-top: 1px dotted #2B547E;
line-height:26px;
}

/* 3rd Menu Hover Persistence */
ul#dsm li:hover li:hover li a:hover,
ul#dsm li:hover li:hover li:hover a,
ul#dsm li.iehover li.iehover li a:hover,
ul#dsm li.iehover li.iehover li.iehover a {
  background: #21496A;
  color: #FFF;
}

/* 4th Menu */
ul#dsm li:hover li:hover li:hover li a,
ul#dsm li.iehover li.iehover li.iehover li a {
  background: #223E54;
  color: #ccc;
border-top: 1px dotted #2B547E;
line-height:26px;
}

/* 4th Menu Hover */
ul#dsm li:hover li:hover li:hover li a:hover,
ul#dsm li.iehover li.iehover li.iehover li a:hover {
  background: #21496A;
  color: #FFF;
}

ul#dsm ul ul,
ul#dsm ul ul ul {
  display: none;
  position: absolute;
  top: 0;
  left: 160px;
}

/* Do Not Move - Must Come Before display:block for Gecko */
ul#dsm li:hover ul ul,
ul#dsm li:hover ul ul ul,
ul#dsm li.iehover ul ul,
ul#dsm li.iehover ul ul ul {
  display: none;
}

ul#dsm li:hover ul,
ul#dsm ul li:hover ul,
ul#dsm ul ul li:hover ul,
ul#dsm li.iehover ul,
ul#dsm ul li.iehover ul,
ul#dsm ul ul li.iehover ul {
  display: block;
}
/* uncomment if using okto template or it's modifications */
#dsm {overflow:visible}

