/* Reset code to remove theme inherent styling */
.dcjq-mega-menu ul.menu ul, .dcjq-mega-menu ul.menu li {
  list-style: none; 
  padding: 0; 
  margin: 0;
}

.dcjq-mega-menu ul.menu ul {
  display: none; /* Hides non-mega links */
}

.dcjq-mega-menu ul.menu .sub ul {
  display: block; /* overrides above hide */
}

/* Main menu styles */
.dcjq-mega-menu ul.menu {
  width: 100%; 
  position: relative; /* Important - required for positioning of mega menu */
  line-height: 18px;
}

.dcjq-mega-menu ul.menu li {
  float: right; 
}

.dcjq-mega-menu ul.menu li a {
  float: right; 
  display: block;
  padding: 4px 10px 3px 10px; 
  color: #000;
  font-weight: normal;
  text-decoration: none;
}

.dcjq-mega-menu ul.menu li.mega-hover a, .dcjq-mega-menu ul.menu li a:hover {
  background-color: #E5D9C3;
  color: #000; 
}

/* Arrow tag for parent links */
.dcjq-mega-menu ul.menu li a.dc-mega {
  padding-right: 10px; /* Additional padding for arrow */
  position: relative; /* Required for arrow positioning */
}

.dcjq-mega-menu ul.menu li.mega-hover a .dc-mega-icon {
background-position: 0 100%;
}

/* Mega Menu Styling */
/* Mega Drop Down Container */
.dcjq-mega-menu ul.menu li .sub-container {
  position: absolute; /* Required */
  background: url(../../../images/bg_sub_left.png) no-repeat 0 100%; 
  padding-left: 10px; 
  margin-left: 0px;
}

.dcjq-mega-menu ul.menu li .sub {
  background: url(../../../images/bg_sub.png) no-repeat 100% 100%; 
  padding: 10px 0px;
}

.dcjq-mega-menu ul.menu li .sub-container.mega .sub {
  padding: 10px 0px;
}

.dcjq-mega-menu ul.menu li .sub .row { /* Clear the sub-menu floats */
  width: 100%; 
  overflow: hidden; 
  clear: both;
}

.dcjq-mega-menu ul.menu li .sub li {
  float: none; 
  font-size: 1em; 
  font-weight: normal;
  line-height: 1.2em;
}

/* Sub-menu Headers */
.dcjq-mega-menu ul.menu li .sub li.mega-hdr { /* Sub-menu headers - i.e. 2nd level navigation */
  float: left; /* Float the sub-menus and give them a fixed width to from the mega menu rows */
  margin: 0 0px 0 0;
}

.dcjq-mega-menu ul.menu li .sub a { /* Clear the styles from the top-level links and set the font styles */
  background: none; 
  border: none; 
  text-shadow: none; 
  color: #c00; 
  padding: 8px 5px; 
  display: block; 
  float: none; 
  text-decoration: none; 
  font-size: 90%; 
}

.dcjq-mega-menu ul.menu li .sub li.mega-hdr a.mega-hdr-a:hover {
  color: #000; 
  text-shadow: none;
}

/* Style the 3rd level links */
.dcjq-mega-menu ul.menu li .sub li ul li {
  padding: 10px;
}

.dcjq-mega-menu ul.menu .sub li.mega-hdr li a {
  color: #000;
  font-weight: normal; 
  padding: 4px 0 4px 30px; 
  background-repeat: no-repeat;
  background-position: 5px 5px;
}

.dcjq-mega-menu ul.menu .sub li.mega-hdr li a:hover, .dcjq-mega-menu ul.menu .sub li.mega-hdr li a.active {
  font-weight: bold;
}

.dcjq-mega-menu ul.menu .sub li.mega-hdr li:hover {
  background-image: url(../../../images/mega_menu_over.png);
  background-repeat: repeat-y;
}

/* Styling for items with only 2 levels */
.dcjq-mega-menu ul.menu li .sub-container.non-mega .sub {
  padding: 20px 20px 20px 10px;
}
.dcjq-mega-menu ul.menu li .sub-container.non-mega li {
  width: 190px; /* Set the drop down width */
}
.dcjq-mega-menu ul.menu li .sub-container.non-mega li a {
  padding: 7px 5px 7px 22px; 
  background: url(../../../images/fly.gif) no-repeat 5px 12px;
}
.dcjq-mega-menu ul.menu li .sub-container.non-mega li a:hover {
  color: #900;
  background-image: url(../../../images/down.gif);
}