﻿/* Root = Horizontal, Secondary = Vertical */
ul#dsm {
	margin: 0 0 0 0;
	border: 0 none;
	padding: 0;
	width: 750px; /*For KHTML*/;
	list-style: none;
	height: 52px;
}

ul#dsm li {
  margin: 0;
  border: 0 none;
  padding: 0;
  float: left; /*For Gecko*/
  display: inline;
  list-style: none;
  position: relative;
  height: 52px;

}

ul#dsm ul {
	margin: 0;
	border: 0 none;
	padding: 27px 0 0 0;
	width: 160px;
	list-style: none;
	display: none;
	position: absolute;
	top: 24px;
	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: 1px solid #356AA0;
	border-right-color: #356AA0;
	border-bottom-color: #356AA0; */
	background-position: right;
	padding: 14px 10px 0 8px;
	background-image: url('menubg1a.png');
	float: none !important; /*For Opera*/;
	float: left; /*For IE*/;
	display: block; /* background: #356AA0; */;
	color: white;
	font: 16px Arial, Helvetica, sans-serif;
	text-decoration: none;
	height: 38px !important; /* height: auto !important; */;
	height: 1%;
	background-repeat: no-repeat;
}

/* Root Menu Hover Persistence */
ul#dsm a:hover,
ul#dsm li:hover a,
ul#dsm li.iehover a {
  /* background: #2C578F; */
  background:url(menubg1b.png) repeat-x right top;
  color: #FFF;
}

/* Root Menu Hover Persistence */
ul#dsm a:hover.top,
ul#dsm li:hover a.top,
ul#dsm li.iehover a.top {
  /* background: #2C578F url('arrow_h.gif') right 7px no-repeat; */
  /* padding-right:12px; */
  background:url(menubg1b.png) repeat-x right top;
  color: #FFF; 
  /* padding-right:12px */
}

ul#dsm a.top {
/* background: #356AA0 url('arrow_h.gif') right 7px no-repeat; */
/* color: #ccc; */
/* padding-right:12px */

}

/* 2nd Menu */
ul#dsm li:hover li a,
ul#dsm li.iehover li a {
  float: none;
   background:url(menubg2a.png) repeat-x left top; 
/*	background:#D6DBE1; */
  color: #1D528E;
}

/* 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:url(menubg2b.png) repeat-x left top;
  color: #FFF;
}

/* 3rd Menu */
ul#dsm li:hover li:hover li a,
ul#dsm li.iehover li.iehover li a {
  background: #356AA0;
  color: #ccc;
}

/* 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: #2C578F;
  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: #356AA0;
  color: #ccc;
}

/* 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: #2C578F;
  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}
