﻿/* Mega Menu Styles */
ul.dnnmega{width: 100%;list-style: none;}
ul.dnnmega ul{padding:0;}
/*WAM - removed z-index*/
ul.dnnmega li{/*float:left;*/list-style: none none;position: relative;}

ul.dnnmega li.root {line-height:33px;height:38px;display:block;text-align:left;margin:0 6px 0 0;background:url(images/rootItemR.png) no-repeat right 6px;}/*border-right: 1px solid rgb(215, 213, 213) margin:0 10px 0 0;margin:0 20px 0 0;*/
ul.dnnmega li.root span{display:block;line-height:33px;height:38px;background:url(images/rootItemL.png) no-repeat 0 6px;margin:0 15px 0 0;padding:6px 0 0 15px;}/*padding:6px 0 0 15px;*/
ul.dnnmega li.root>span{color:White;}

ul.dnnmega li.root a {color: #FFF;background:none no-repeat right 6px;}/*url(images/rootItemR.png)*/
ul.dnnmega li.root a:hover{color: #E4E87E;text-decoration:none;background:none no-repeat right 6px;}/*#c11820 or #D27405 or #A90810 or #14759E   color: #b64f11;  url(images/rootItemR_Hover.png)    border: 1px solid rgb(204, 204, 204); border-radius: 4px 4px 4px 4px;*/
ul.dnnmega li.root a:hover span{background:none no-repeat 0 6px;}/*url(images/rootItemL_Hover.png)*/

ul.dnnmega li.root img.mmArrow {/*margin-left: 5px;*/ visibility:hidden; /*visibility:hidden;  Test to remove down arrow */}

/*test
.mmHasChild a:hover{border-bottom: 2px solid rgb(228,232,126);} 
ul.dnnmega .megaborder .M a:hover{border-bottom: none;} 
*/

body ul.dnnmega li.mmItemHover a,
body ul.dnnmega li.mmItemHover a:hover{color: #E4E87E;background:none no-repeat right 3px;position:relative;z-index:1230;}/*#c11820 or #D27405 or #A90810 or #14759E color: #b64f11; url(images/rootItemR_Hover_Child.png)*/
body ul.dnnmega li.mmItemHover a span,
body ul.dnnmega li.mmItemHover a:hover span{background:none no-repeat 0 3px;} /*url(images/rootItemL_Hover_Child.png)  border-bottom: 2px solid rgb(228,232,126);*/

ul.dnnmega li a {display:inline-block;}

ul.dnnmega li:hover a, ul.dnnmega li a:hover { background-position: left bottom; }

/*ul.dnnmega li .megaborder {position: absolute;font-family: Verdana, Geneva, sans-serif;top:46px;z-index: 1200;display: none; background: url(images/child-arrow-2.png) no-repeat rgb(245, 245, 245) top right; border: 1px solid rgb(204, 204, 204); border-radius: 4px 4px 4px 4px;padding: 5px 10px 12px;} */ /*--Hidden for those with js turned off-- backgound: none; ---- moved to skin files*/
/*the following can replace the above backgound: none; with commenting the TL TR ... coming lines*/
/*background: none repeat scroll 0% 0% rgb(245, 245, 245); border: 1px solid rgb(204, 204, 204); border-radius: 0px 0px 4px 4px;padding: 5px 10px 12px;

ul.dnnmega .megaborder .TL{background:url(images/PanelBGTL.png) no-repeat 0 0;height:15px;margin:0 15px 0 0;}
ul.dnnmega .megaborder .TR{background:url(images/PanelBGTR.png) no-repeat right 0;}
ul.dnnmega .megaborder .M{display:block;background:#fefefe url(images/PanelBG.jpg) repeat-x 0 bottom;border-top:0;border-bottom:0;min-height:135px;}
ul.dnnmega .megaborder .ML{background:url(images/PanelBGML.png) repeat-y 0 0;padding:0 0 0 3px;}
ul.dnnmega .megaborder .MR{background:url(images/PanelBGMR.png) repeat-y right 0;padding:0 3px 0 0;}
ul.dnnmega .megaborder .BL{background:url(images/PanelBGBL.png) no-repeat 0 0;height:15px;margin:0 15px 0 0;}
ul.dnnmega .megaborder .BR{background:url(images/PanelBGBR.png) no-repeat right 0;}*/



/*--Sub nav heading style--*/
ul.dnnmega .megaborder ul li.category{/*background:url(images/SubPage-Border.jpg) repeat-y right 0;*/margin:0 0 15px 0;} /*column separator removed */
ul.dnnmega .megaborder ul li.mmLast{background:none;}
ul.dnnmega .megaborder ul li.mmRightColumn{background:none;}
ul.dnnmega .megaborder ul li.category a, 
ul.dnnmega .megaborder ul li.category a span{background: none;height:auto;}


ul.dnnmega li.category {display:block;width:160px;/*float:left;*/} /*width:180px;*/
ul.dnnmega li.category a{display:block;padding:0;margin:0;}
ul.dnnmega li.category a span{display:block;font-size:12px;font-weight:bold;/*font-family:Verdana,Arial,"Trebuchet MS",sans-serif;*/color:#686868;border-bottom:1px dotted #b9b9b9;margin:0 14px 0 18px;padding:0;}/*border-bottom:1px solid #e5e4e4; font-size:18px; changed and font-family:Verdana,Arial,"Trebuchet MS",sans-serif; added  font-family:Verdana,Arial,"Trebuchet MS",sans-serif; moved to skin for fonts and rtl*/
ul.dnnmega li.category a:hover span{color:#599A3E;}/*#c11820 or #D27405 or #A90810 or #14759E color:#b64f11;*/

ul.dnnmega li.category ul{padding:8px 0 0 0;}

ul.dnnmega li.category li.leaf, ul.dnnmega li.category li.mmLast{clear:left;float:none;position:static;/*background:url(images/MegaMenuLI.png) no-repeat 16px 8px;*/padding:0 10px 0 10px;} /*padding:0 0 0 15px;*/
ul.dnnmega li.category li.leaf a span{font-size:11px;line-height:22px;border:0; font-weight:normal;color:#333;}
ul.dnnmega li.category li.leaf a:hover span{color:#599A3E;}

ul.dnnmega img.mmIcon {max-height: 24px; margin-right: 5px; vertical-align: middle;}
ul.dnnmega li.root > a > span img.mmIcon {height: 16px;}
/*--Sub nav heading link style--*/
