/*
  jQuery MegaMenu Plugin
  Author: GeekTantra
  Author URI: http://www.geektantra.com
*/

.nav ul.mega-menu {
  margin: 0px auto;
  padding: 0;
  list-style: none;
  display: none;
  -webkit-user-select: none;  
  -moz-user-select: none;    
  -ms-user-select: none;      
  user-select: none;
  /* 
  	Moved font styles from body rule for Bug #11004 - MegaMenu stylesheet sets font styles on the body tag
  	http://bugtracker.qscend.com/edit_bug.aspx?id=11004
  */
  font-family: "Inika", sans-serif;
  font-size: 18px;
  text-transform: uppercase;
  cursor: pointer!important
}

.nav ul.mega-menu li.mm-item {
    margin-bottom: 0;
}

.nav ul.mega-menu li {
  margin: 0px;
  padding: 0px;
}

.nav ul.mega-menu a {
  text-decoration: none;
}

.nav ul.mega-menu li.clear-fix {
  float: none;
  clear: both;
  margin: 0px;
  padding: 0px;
  height: 0px;
  font-size: 0px;
  line-height: 0px;
}

.nav .sf-vertical {
  width: 20em; 
}

.nav .sf-menu li {
  white-space: normal!important; 
}

.nav ul.mega-menu a.mm-item-link:link, .nav ul.mega-menu a.mm-item-link:visited {
  position: relative;
  display: inline-block;
  color: #FFF;
  margin: 0px 3px 0px 0px;
  padding: 15px 40px;
  text-decoration: none;
  z-index: 10;
  font-size: 14px;
  border-top: 1px solid transparent;
  border-left: 1px solid transparent;
  border-right: 1px solid transparent;
}
*html .nav ul.mega-menu a.mm-item-link:link, *html .nav ul.mega-menu a.mm-item-link:visited {
  border-color: pink;
  -webkit-filter: chroma(color=pink);
          filter: chroma(color=pink);
}

.nav ul.mega-menu a.mm-item-link-hover:link, 
.nav ul.mega-menu a.mm-item-link-hover:visited,
.nav ul.mega-menu li.mm-item.expanded a.mm-item-link {
  color: #FFF;
  background: #2d5363;
  border-top: 1px solid #2d5363;
  /* border: none; */
  border-left: 1px solid #2d5363;
  border-right: 1px solid #2d5363;
  border-radius: 3px 3px 0px 0px;
}

.nav ul.mega-menu li.mm-item a.mm-item-link span.mm-item-expand {
	margin-left:15px;
	position:relative;
	top:-2px;
	width: 0; 
	height: 0; 
	border-left: 5px solid transparent;
	border-right: 5px solid transparent;
	border-bottom: 5px solid transparent;
	border-top: 5px solid #FFF;
	font-size: 0;
	line-height: 0;
}

.nav ul.mega-menu li.mm-item.expanded a.mm-item-link span.mm-item-expand,
.nav ul.mega-menu li.mm-item.opened a.mm-item-link span.mm-item-expand {
	margin-left:15px;
	position:relative;
	top:-7px;
	width: 0; 
	height: 0; 
	border-left: 5px solid transparent;  /* left arrow slant */
	border-right: 5px solid transparent; /* right arrow slant */
	border-top: 5px solid transparent;
	border-bottom: 5px solid #FFF; /* bottom, add background color here */
	font-size: 0;
	line-height: 0;
}

.nav ul.mega-menu li.mm-item.expanded div.mm-item-content{
	display:block !important;
	-webkit-opacity: 1 !important;
	-moz-opacity: 1 !important;
	-o-opacity: 1 !important;
	-ms-opacity: 1 !important;
	opacity: 1 !important;
    
}

.nav ul.mega-menu div.mm-item-content,
.nav ul.mega-menu div.mm-item-content-x {
  background: #FFF;
  padding: 0px;
  position: absolute;
  z-index: 1000;
}

.nav .mm-content-base {
  background: #F1EDE7;
  position: relative;
  z-index: 11;
  padding: 0;
}
.nav .mm-js-shadow {
  background: #555;
  position: absolute;
  z-index: 10;
}

/* Flyout menu style fixes */
.nav .mega-menu .sf-menu {
	display: inline-block;
	float:none;
	*display:inline;
	*zoom:1;
	margin-bottom: 0px;
}

/* Begin additions for responsive behavior */

.nav ul.mega-menu.responsive-web li.responsive-button {
	display: none;
	cursor: pointer;
	-webkit-transition: none;
	transition: none;
    background: #2a3e40;
    background-image: url("/qcore/system_images/icons/menu_toggle.png");
	background-repeat: no-repeat;
	background-position: 96% 10px;
	line-height: 12px;
	padding: 14px 4% 25px 4%;
	color: #ffffff;
	font-size: 14px;
}




@media only screen and (min-width: 961px) {

  .nav ul.mega-menu.responsive-web > li {
    display: inline-block !important;
	float:none !important;
  }
  .nav ul.mega-menu.responsive-web > li.responsive-button {
	  display: none !important;
  }

  /* Custom Styles */

.nav ul.mega-menu {
  border: 1px solid transparent;
  background: none;
  font-family: Lora, sans-serif;
  text-transform: uppercase;
  font-weight: 700;
  text-decoration: none;
  position: relative;
}

.nav ul.mega-menu a.mm-item-link:link, 
.nav ul.mega-menu a.mm-item-link:visited {
  font-size: 22px;
  color: #FFF;
  border: 1px solid transparent;
}

.nav ul ul ul.mega-menu-sub {
  display: block!important;
  opacity: 1!important;
  padding: 4px 0;
}

.nav ul.mega-menu a.mm-item-link-hover:link {
  background: none;
  color: #FFF;
  border: 1px solid transparent;
}

.nav .mm-content-base, body .nav .mega-menu .sf-menu li {
  background: #396b80;
}

.nav .sf-menu ul {
  position: static!important;
  box-shadow: none;
}

.nav ul.mega-menu li li {
padding: 5px 0;
}

.nav .mm-content-base {
  height: 150px;
  padding: 15px 20px;
  border-top: 3px solid #a5a45a;
  border-bottom: 3px solid #a5a45a;
  z-index: 10;
}

.nav .mega-menu .sf-menu {
  columns: 4;
  -webkit-columns: 4;
  -moz-columns: 4;
  width: 100% !important;
}

.nav .sf-menu a {
  color: #FFF;
  text-transform: uppercase;
  border: none!important;
  font-size: 14px;
  padding: 0;
  width: 100%;
  padding: 0px 15px;
}

.nav .sf-vertical {
  width: 17.4em!important; 
}

.nav ul.mega-menu div.mm-item-content, .nav ul.mega-menu div.mm-item-content-x {
  margin-left: -1px; 
  position: absolute;
  width: calc(100% + 2px);
  top: auto !important;
  left: 0!important;
}

/*.nav ul.mega-menu li li {
  padding-top: 10px;
}*/

.nav ul.mega-menu li li:last-child {
  border-bottom: none;
}

.nav ul.mega-menu div.mm-item-content, .nav ul.mega-menu div.mm-item-content-x {
  border: none; 
}

.nav ul.mega-menu li.mm-item a.mm-item-link span.mm-item-expand {
	display: none;
}


.nav ul ul ul.mega-menu-sub li a {
  color: #c0c193;
  font-size: .7em;
}

.nav ul.mega-menu a.mm-item-link:hover {
  color: #c0c193;
}

.sf-vertical.sf-arrows > li > .sf-with-ul:after {
    display: none;
}

.mm-item-content {
  background: #2a3e40!important;
}

}

@media only screen and (max-width: 961px) {
  .nav ul.mega-menu.responsive-web > li {
    display: none;
    background: #2a3e40;
  }

  .nav ul.mega-menu.responsive-web  >li.responsive-button {
	  display: block;
	  float:none !important;
  }
  
  .nav ul.mega-menu.responsive-web > li > a.mm-item-link {
	  display: block;
	  margin-right:0px;
	  padding: 8px 30px;
      border-bottom: 2px solid #556668;
  }
  
  .nav ul.mega-menu.responsive-web li.mm-item a.mm-item-link span.mm-item-expand {
		float:right;
		top:8px
	}
	
	.nav ul.mega-menu.responsive-web li.mm-item.opened a.mm-item-link span.mm-item-expand {
		top: 2px;
		float:right; 
	}
  
  .nav ul.mega-menu.responsive-web .mega-menu-sub > li {
	  /*border-left: 1px solid #fff;*/
  	  border-top: 1px solid #dFeEFF;
  	  border-top: 1px solid rgba(255,255,255,.5);
      padding: 2px 0px 2px 15px;
  }

  .nav ul.mega-menu.responsive-web .mega-menu-sub > li:first-child {
      border-top: none;
  }
  
  .nav ul.mega-menu.responsive-web .sf-menu a {
	  border: none;
	  display: inline-block;
	  *display: inline;
	  *zoom:1;
      width: 100%;
  }
  
  .nav ul.mega-menu.responsive-web > li.mm-item {
	/*margin-top : 5px;*/
  }

.nav ul.mega-menu.responsive-web > li.mm-item:nth-of-type(2) {
  border-top: 2px solid #556668;
}
  
  .nav ul.mega-menu.responsive-web > li.mm-item.opened > a.mm-item-link {
	position: relative;
	color: #FFF;
	padding: 8px 30px;
	text-decoration: none;
	z-index: 10;
	font-size: 14px;
	border-top: 1px solid transparent;
	border-left: 1px solid transparent;
	border-right: 1px solid transparent;
	background: #2a3e40;
	border-radius: 3px 3px 0px 0px;
  }
  
  .nav ul.mega-menu.responsive-web > li > div.mm-item-content-x {
    position:static;	
  }
  
   .nav ul.mega-menu.responsive-web > li.mm-item:not(.opened) > div.mm-item-content-x {
	display:none !important;
  }
  
  .nav ul.mega-menu.responsive-web > li > div.mm-item-content-x.opened {
	  display:block !important;
  }
  
   .nav ul.mega-menu.responsive-web div.mm-js-shadow {
	  display:none;
  }

  .nav .sf-menu li {
      background: #556566!important;
  }

  .nav .sf-menu a {
      color: #FFF!important;
      font-size: 13px;
  }

  .nav ul.mega-menu li li a:hover {
      color: #f2d9ba!important;
  }

  .nav .sf-vertical {
      width: 100%!important;
  }


}

@media screen and (max-width: 1200px) {
  .nav ul.mega-menu a.mm-item-link:link,
  .nav ul.mega-menu a.mm-item-link:visited {
    font-size: 20px; 
  }
}

@media screen and (max-width: 1130px) {
  .nav ul.mega-menu a.mm-item-link:link,
  .nav ul.mega-menu a.mm-item-link:visited {
    font-size: 18px;
  }
}

@media screen and (max-width: 1065px) {
  .nav ul.mega-menu a.mm-item-link:link,
  .nav ul.mega-menu a.mm-item-link:visited {
    padding: 15px 35px;
  }
}

@media screen and (max-width: 1015px) {
  .nav ul.mega-menu a.mm-item-link:link,
  .nav ul.mega-menu a.mm-item-link:visited {
    padding: 15px 29px;
  }
}

@media only screen and (max-width: 959px) {
  .no-csscolumns .nav .mega-menu-sub {
  width: 100%;
}

}

@media only screen and (min-width: 959px) {
 .no-csscolumns .nav .mm-item-content {
  width: 200px!important;
  position: relative!important;
}


 .no-csscolumns .nav ul.mega-menu {
  font-size: 13px;
}

 .no-csscolumns .nav .sf-menu a {
  padding-top: 0;
}

 .no-csscolumns .nav ul ul ul.mega-menu-sub {
  padding: 2px 0;
}

 .no-csscolumns .nav ul ul ul.mega-menu-sub li a {
  font-size: 12px;
}

 .no-csscolumns .nav .sf-vertical {
  width: 300px!important;
  margin-left: 0!important;
}

 .no-csscolumns .nav .mega-menu .sf-menu {
  width: 300px!important;
  margin-top: 10px;
}

 .no-csscolumns .nav .mm-content-base {
  position: absolute;
  padding: 0!important;
}


}