.dj-megamenu {
    padding: 0 !important;
    margin: 0 !important;
    list-style: none;
    height: 35px;
    background: #fff url(../images/three_0.gif) repeat-x;
    position: relative;
    z-index: 500;
    font-family: arial, verdana, sans-serif;
    width: auto;
}
.dj-megamenu li.dj-up {
	position: relative;
    display: block;
    float: right;
    padding: 0 !important;
    margin: 0 !important;
}
.dj-megamenu li a.dj-up_a {
    display: block;
    float: right;
    height: 35px;
    line-height: 33px;
    color: #ccc;
    text-decoration: none;
    font-size: 11px;
    font-weight: bold;
    padding: 0 15px 0 0;
    cursor: pointer;
    background: url(../images/three_0.gif) right top no-repeat;
}
.dj-megamenu li a.dj-up_a span {
    float: left;
    display: block;
    padding: 0 0 0 15px !important;
    height: 35px;
    background: url(../images/three_0.gif) left top no-repeat;
    color: inherit !important;
}
.dj-megamenu li a.dj-up_a span.dj-drop {
    padding: 0 0 0 25px !important;
    background: url(../images/three_0a_rtl.gif) no-repeat left top;
}
.dj-megamenu li a.dj-up_a small.subtitle {
	color: #AAAAAA;
    display: block;
    font-size: 9px;
    line-height: 1;
    margin-top: -12px;
}
.dj-megamenu li:hover a.dj-up_a,
.dj-megamenu li.hover a.dj-up_a, .dj-megamenu li.active a.dj-up_a {
    color: #fff;
    background: url(../images/three_1.gif) right top no-repeat;
}

.dj-megamenu li:hover a.dj-up_a span,
.dj-megamenu li.hover a.dj-up_a span, .dj-megamenu li.active a.dj-up_a span {
    background: url(../images/three_1.gif) no-repeat left top;
}

.dj-megamenu li:hover a.dj-up_a span.dj-drop,
.dj-megamenu li.hover a.dj-up_a span.dj-drop, .dj-megamenu li.active a.dj-up_a span.dj-drop {
    background: url(../images/three_1a_rtl.gif) no-repeat left top;
    padding-bottom: 3px;
}

.dj-megamenu li.separator > a {
    cursor: default;
}

.dj-megamenu li a.dj-up_a span span.image-title {
	background: none;
	padding: 0 5px 0 0 !important;
	margin: 0 5px 0 0;
	display: inline-block;
	float: none;
	height: auto;
}
.dj-megamenu li a img {
	border: 0;
	margin: 0;
	max-height: 24px;
	vertical-align: top;
}

/* Default list styling */
.dj-megamenu li:hover,
.dj-megamenu li.hover {
    position: relative;
    z-index: 200;
}
/* Hide submenus */

.dj-megamenu li div.dj-subwrap, .dj-megamenu li:hover div.dj-subwrap li div.dj-subwrap,
.dj-megamenu li.hover div.dj-subwrap li div.dj-subwrap {
    position: absolute;
    right: -9999px;
    top: -9999px;
    height: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}
/* Show first level submenu */
.dj-megamenu li:hover div.dj-subwrap,
.dj-megamenu li.hover div.dj-subwrap {
	right: 1px;
    top: 35px;
    background: #50b5d0;    
    border: 1px solid #0b4d97;
    height: auto;
    z-index: 300;
}
/* Show higher level submenus */
.dj-megamenu li:hover div.dj-subwrap li:hover > div.dj-subwrap,
.dj-megamenu li.hover div.dj-subwrap li.hover > div.dj-subwrap {
    right: 100%;
    top: -2px;
    background: #50b5d0;
    border: 1px solid #0b4d97;
    height: auto;
    z-index: 400;
}

/* Submenu elements styles - drop down */
.dj-megamenu li div.dj-subcol {
	float: right;
}
.dj-megamenu li ul.dj-submenu {	
    padding: 0px;
    margin: 5px;
    height: auto;
    width: auto;
}
.dj-megamenu li ul.dj-submenu > li {
    display: block;
    height: auto;
    position: relative;
    width: auto;
}
.dj-megamenu li ul.dj-submenu > li > a {
    display: block;
    font-size: 11px;
    font-weight: normal;
    line-height: 13px;
    color: #000;
    text-decoration: none;
    border: 1px solid #50b5d0;
    padding: 3px 5px;
}
.dj-megamenu li ul.dj-submenu > li > a small.subtitle {
	color: #eef;
    display: block;
    font-size: 9px;
    line-height: 1;
}
.dj-megamenu li ul.dj-submenu > li:hover > a,
.dj-megamenu li ul.dj-submenu > li.hover > a {
	background: #3f96a9;
    color: #fff;
}
.dj-megamenu li ul.dj-submenu > li > a:hover {	
    border-color: #fff;
}
.dj-megamenu li ul.dj-submenu > li > a.active {
    background: #3f96a9;
    color: #fff;
}

.dj-megamenu li ul.dj-submenu > li.parent > a {
    background: #50b5d0 url(../images/arrow_rtl.gif) 2% 6px no-repeat;
}
.dj-megamenu li ul.dj-submenu > li.parent:hover > a,
.dj-megamenu li ul.dj-submenu > li.parent.hover > a {
    background: #3f96a9 url(../images/arrow_over_rtl.gif) 2% 6px no-repeat;
    color: #fff;
    border-color: #fff;
}
.dj-megamenu li ul.dj-submenu > li.parent > a.active {
    background: #3f96a9 url(../images/arrow_over_rtl.gif) 2% 6px no-repeat;
    color: #fff;
}
.dj-megamenu li ul.dj-submenu > li.parent:hover > a.active,
.dj-megamenu li ul.dj-submenu > li.parent.hover > a.active {
    border-color: #fff;
}

/* Submenu elements styles - tree */
.dj-megamenu li ul.dj-subtree {
	list-style: none outside;
	padding: 0 !important;
    margin: 5px 20px 5px 0 !important;
}
.dj-megamenu li ul.dj-subtree > li {
	list-style: square outside;
	padding: 0;
    margin: 0;
    color: #3f96a9;
}
.dj-megamenu li ul.dj-subtree > li > a {
	display: inline-block;
    font-size: 10px;
    font-weight: normal;
    line-height: 12px;
    color: #222;
    text-decoration: none;
    padding: 2px 0;
}
.dj-megamenu li ul.dj-subtree > li > a:hover {
	background: transparent;
	color: #fff;
}
.dj-megamenu li ul.dj-subtree > li.active > a {
	text-decoration: underline;
}
.dj-megamenu li ul.dj-subtree > li > a small.subtitle {
	color: #3f96a9;
    display: block;
    font-size: 0.9em;
    line-height: 1;
}

/* modules loaded into menu */
.dj-megamenu .modules-wrap {
	padding: 5px;
}
.dj-megamenu .modules-wrap p {
	display: block !important;
	padding: 0 !important;
}