/* Mega Menu Styles */
ul.dnnmega {
  list-style: none;
  margin:0;
  padding:17px 0 0 0;
}


ul.dnnmega ul {
    padding: 5px 0;
	margin:0;
}

/*WAM - removed z-index*/
.dnnmega .breadcrumb { background:none;}
ul.dnnmega li{float:left;list-style:none;position: relative;}

ul.dnnmega li.root  {
    float: left;
    list-style-type: none;
    position: relative;
    margin: 0 0 0 2px;
    padding: 0;
}


ul.dnnmega li.root span{
    padding: 0px 15px;
    display: block;
	cursor: pointer;
}

ul.dnnmega li.mmHasChild a span:after {
  content: "\f0d7";
  font-family: FontAwesome;
  padding: 0 0 0 5px;
  font-size: 12px;
  font-weight: normal;
  line-height:1;
}
ul.dnnmega li.mmHasChild li a span:after{ content:"";}

ul.dnnmega li.root>span{color:White;}

ul.dnnmega li.root a {
    display: block;
    color: #FFF;
    line-height: 40px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    font-family: open sans;
    border-radius: 5px;
    margin: 10px 0;
}



.dnnmega li.selected a {
	border-top-style:solid;
	border-top-width:3px;
}


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;
    left:-150px;
    z-index: 1200;
    float: left;
    display: none;
    text-align: left;
    min-height: 140px;  /* SH from 180px */
	min-width:560px;
	background:#202223;
}
ul.dnnmega li.mmFirst .megaborder {
    left: 0px;
    right: inherit;
}


ul.dnnmega li.mmLast .megaborder {
    left: inherit;
    right: 0px;
}




ul.dnnmega li:nth-last-child(2) .megaborder {
    left: -300px;
    right:inherit;
}


ul.dnnmega .megaborder .M {
    display: block;
    border-top: 0px none;
    border-bottom: 0px none;
    min-height: 135px;
    padding: 10px 0 20px 10px;
	margin:0;
}


/*--Sub nav heading style--*/
ul.dnnmega ul ul ul {
	padding:0 0 0 10px;
}

ul.dnnmega .megaborder ul li.mmLast{background:none;}
ul.dnnmega .megaborder ul li.mmRightColumn{background:none;}


ul.dnnmega li.category {
    display: block;
    width: 180px;
    float: left;
    padding: 0px 10px;
	height:auto!important;
	
}

ul.dnnmega li.root .category a {
    display: block;
    padding:7px 0;
    line-height: 1.3;
    text-transform: capitalize;
    background: none;
    font-weight: 400;
    border-radius: 0;
    margin: 0;
}
ul.dnnmega li.mmItemHover .category a { background:none;}

ul.dnnmega li.category a:hover { background:none;}
ul.dnnmega li.root .category li a {
    border: medium none;
    font-weight: 400;
    margin: 0px!important;
    padding: 0px 0px 0px 12px;
	position:relative;
	text-transform: capitalize;
}

ul.dnnmega li.category li a span:before { content: "\f105"; font-family:FontAwesome; display:inline-block; font-size:12px; position:absolute; left:10px; vertical-align:top;}

ul.dnnmega .megaborder li.category a span {
    display: block;
    color: #fff;
    padding:7px 10px;
    margin: 0;
	-moz-transition: all 0.15s ease 0s;
    -webkit-transition: all 0.15s ease 0s;
    -o-transition: all 0.15s ease 0s;
    transition: all 0.15s ease 0s;
}
ul.dnnmega li.category li a span {
    color: #fff;
    text-transform: capitalize;
    padding: 8px 0 8px 0px;
    line-height: 1;
	font-weight: 300;
}



ul.dnnmega li.category li.leaf, 
ul.dnnmega li.category li.mmLast {
    clear: left;
    float: none;
    position: static;
    padding: 0px;
	margin:2px 0;
}

ul.dnnmega li.category li.leaf a span{ font-size:12px; border:0; background:none;}

ul.dnnmega img.mmIcon { max-height: 24px; margin-right: 5px; vertical-align: middle;}
ul.dnnmega li.root > a > span img.mmIcon { height: 16px;}

.dnnmega .root li a {
  background: none;
  border: none;
  border-bottom:1px solid rgba(255,255,255,0.1);
  border-radius:0;
}
.dnnmega .root li li a { border:none; }

/*---hover---*/
ul.dnnmega li a:hover{
    background: rgba(0, 0, 0, 0.15);
}
ul.dnnmega li.mmItemHover a {
    background: rgba(0, 0, 0, 0.15);
}
ul.dnnmega li.category li.leaf a:hover span {
   background:none;
}
ul.dnnmega li.category li.leaf .leaf a{
	background:none!important;
}
/*---selected---*/
ul.dnnmega li.mmBreadcrumb a{
    background: rgba(0, 0, 0, 0.15);
}

.dnnmega .root.mmBreadcrumb .category li.mmSelected li a {   
	background:none;
}
ul.dnnmega .megaborder li.mmSelected li a span { color:#fff;}



/*---Current---*/
.dnnmega .root.mmBreadcrumb li li a { border:none;}

/*---isStuck---*/
.is-sticky .dnnmega {
    padding: 0;
}

@media handheld, only screen and (max-width:960px) {

ul.dnnmega{
  display: inline-block;
  float: right;
  vertical-align:middle;
}

/* SH Decrease menu size for smaller desktop display - prevents new line wrap */
ul.dnnmega li.root a {
    font-size: 13px;
}

ul.dnnmega li.root span {
    padding: 0px 12px;
}

}


@media handheld, only screen and (max-width:850px) {

/* SH Decrease menu size for smaller desktop display - prevents new line wrap */
ul.dnnmega li.root a {
    font-size: 12px;
}

ul.dnnmega li.root span {
    padding: 0px 9px;
}

}
