/*
  jQuery qMegaMenu Plugin Examples CSS
  Author: Shane Holland + some of the intern's overrides
*/

body {
    font-family: "Droid Sans",Arial,sans-serif !important;
}


#portals ul.mega-menu {
  list-style: none;
/*  background-color: #405F89;
  background-image: -webkit-gradient(linear, left top, left bottom, from(#405f89), to(#173467));
  background-image: -webkit-linear-gradient(#405f89, #173467);
  background-image: linear-gradient(to bottom, #405f89, #173467);
  background-image: ms-linear-gradient(top, #2F2727, #1a82f7);*/
   	
  
  	/* Safari 4-5, Chrome 1-9 */
		background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#405f89), to(#173467));		
		/* Safari 5.1, Chrome 10+ */
		background: -webkit-linear-gradient(top, #405f89, #173467);		
		/* Firefox 3.6+ */
		background: -moz-linear-gradient(top, #405f89, #173467);		
		/* IE 10 */
		background: -ms-linear-gradient(top, #405f89, #173467);		
		/* Opera 11.10+ */
		background: -o-linear-gradient(top, #405f89, #173467);
  border: 1px solid transparent;
  border-radius: 10px;
}

#footer {
  background: -webkit-gradient(linear, left top, left bottom, from(#374257), color-stop(#405292), to(#374257));
  background: -webkit-linear-gradient(top, #374257, #405292, #374257);
  background: linear-gradient(to bottom, #374257, #405292, #374257);
}

ul.mega-menu div.mm-item-content {
  margin-left: 5px;
  border: #eee;
}

.mm-content-base {
  background-color: #e5e5e5;
  width: 100%;
}

.mega-menu .sf-menu > li > ul {
  display: none;
}

.mega-menu-link {
  font-size: 15px;
  text-decoration: none;
  padding: .5em;
}

#portals a.mm-item-link:link,
#portals a.mm-item-link:visited,
#portals li.mm-item.expanded a.mm-item-link {
  font-size: 16px;
  margin: 0;
  padding: 9px 28px;
  -webkit-transition: all 0.125s;
  transition: all 0.125s;
}

#portals .mm-item {
  border-left: 1px solid #556B8F;
  border-right: 1px solid #17274A;
}

#portals .mm-item + .mm-item + .mm-item + .mm-item + .mm-item ~ .mm-item {
  border-right: transparent;
}

#portals .mm-item.homeIcon {
  border-left: transparent;
}

#portals .mega-menu .mm-item:last-of-type {
  border-right: transparent;
}

#portals ul.mega-menu a.mm-item-link-hover,
#portals ul.mega-menu li.mm-item.expanded a.mm-item-link,
#portals .mega-menu-sub > li > .mega-menu-link {
  background-color: #142C54;
  color: #fff;
  /*border-radius: 10px;*/
}

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

#portals ul.mega-menu.responsive-web > li:last-of-type {
  float: none;
}

/*#portals .mega-menu .mega-menu-sub {
  border: 1px solid #2857a6;
}*/
#portals .sf-menu ul {
  -webkit-box-shadow: 2px 2px 6px #2857a6;
  box-shadow: 2px 2px 6px #2857a6;
}

#portals .mega-menu {
  padding: 0;
  font-size: 0;
}

#portals .mm-item-content {
  font-size: 14px;
  left: 0;
  width: 100%;
}

#portals .homeIcon > a {
  display: inline-block;
  position: relative;
  background: url(/data/images/icon_home.png) center no-repeat;
  height: 43px;
  width: 24px;
  padding: 0 25px;
  vertical-align: middle;
}

#portals .homeIcon {
  font-size: 18px;
}



ul.mega-menu li.mm-item a.mm-item-link span.mm-item-expand {
  margin-left: 15px;
  position: relative;
  top: -2px;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-top: 5px solid #bbb;
}

ul.mega-menu li.mm-item.expanded a.mm-item-link span.mm-item-expand,
ul.mega-menu li.mm-item.opened a.mm-item-link span.mm-item-expand {
  margin-left: 15px;
  position: relative;
  top: -7px;
  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 #538ddf;
}

/*ul.mega-menu a.mm-item-link-hover:link, 
ul.mega-menu a.mm-item-link-hover:visited,
ul.mega-menu li.mm-item.expanded a.mm-item-link {
	color:#2A83ED;
	background-color: #142C54;
  	border: 1px solid #2A83ED;
  	border-radius: 5px;
}*/
/* flyout menu styles */
.mega-menu .sf-menu {
  display: inline-block;
  float: none;
  *display: inline;
  *zoom: 1;
  margin-bottom: 0px;
  width: 100%;
  box-sizing: border-box;
}

.mega-menu .sf-menu a {
  border-color: transparent;
  color: #fff;
}

.mega-menu .sf-menu li:hover > a,
.mega-menu .sf-menu li.sfHover > a,
#portals .mega-menu-sub > li > .mega-menu-link:hover {
  background-color: #1e427d;
  border-color: #173467;
  border-radius: 10px;
  color: #FF9;
}

.mega-menu .sf-menu li {
  background: #142C54;
  -webkit-transition: none;
  transition: none;
  margin-bottom: 1%;
  display: inline-block;
  margin-top: 2%;
  width: 23%;
  font-weight: bold;
  vertical-align: middle;/*Vertically align MM items*/
}

ul.mega-menu-sub.sf-menu {
  padding:0;/*Centers all MM itens in div*/
}

.mega-menu .sf-menu ul li {
  background: #142C54;
}

.mega-menu .sf-menu ul ul li {
  background: #777;
}

.mega-menu .sf-menu li:hover,
.mega-menu .sf-menu li.sfHover {
  background: #142C54;
  /*border-radius: 5px;*/
  /* only transition out, not in */
  -webkit-transition: none;
  transition: none;
}

/* styling for both css and generated arrows */
.mega-menu .sf-arrows .sf-with-ul:after {
  content: '';
  position: absolute;
  top: 50%;
  right: 1em;
  height: 0;
  width: 0;
  /* order of following 3 rules important for fallbacks to work */
  margin-top: -5px;
  margin-right: -3px;
  border-color: transparent;
  border-left-color: #909090;
  /* edit this to suit design (no rgba in IE8) */
  border-left-color: rgba(102, 102, 102, 0.5);
  /*	border-top-color: #909090; */
  /*	border-top-color: rgba(102,102,102,.5);*/
}

.mega-menu .sf-arrows li:hover .sf-with-ul:after,
.mega-menu .sf-arrows li.sfHover .sf-with-ul:after {
  content: '';
  position: absolute;
  top: 50%;
  right: 1em;
  height: 0;
  width: 0;
  /* order of following 3 rules important for fallbacks to work */
  margin-top: -5px;
  margin-right: -3px;
  border-color: transparent;
  border-left-color: silver;
  /* edit this to suit design (no rgba in IE8) */
  border-left-color: rgba(128, 128, 128, 0.5);
  /*	border-top-color: silver; */
  /*	border-top-color: rgba(255,255,255,.5);*/
}

.mega-menu .sf-arrows > li > .sf-with-ul:focus:after,
.mega-menu .sf-arrows > li:hover > .sf-with-ul:after,
.mega-menu .sf-arrows > .sfHover > .sf-with-ul:after {
  border-left-color: #909090;
  /* IE8 fallback colour */
}

/* styling for right-facing arrows */
.mega-menu .sf-arrows ul .sf-with-ul:after {
  margin-top: -5px;
  margin-right: -3px;
  border-color: transparent;
  border-left-color: #909090;
  /* edit this to suit design (no rgba in IE8) */
  border-left-color: rgba(102, 102, 102, 0.5);
}

.mega-menu .sf-arrows ul li > .sf-with-ul:focus:after,
.mega-menu .sf-arrows ul li:hover > .sf-with-ul:after,
.mega-menu .sf-arrows ul .sfHover > .sf-with-ul:after {
  border-left-color: silver;
}

/*** alter arrow directions ***/
.mega-menu .sf-vertical.sf-arrows > li > .sf-with-ul:after {
  margin-top: -5px;
  margin-right: -3px;
  border-color: transparent;
  border-left-color: #909090;
  /* edit this to suit design (no rgba in IE8) */
  border-left-color: rgba(102, 102, 102, 0.5);
}

.mega-menu .sf-vertical.sf-arrows > li:hover > .sf-with-ul:after,
.mega-menu .sf-vertical.sf-arrows > li.sfHover > .sf-with-ul:after {
  margin-top: -5px;
  margin-right: -3px;
  border-color: transparent;
  border-left-color: silver;
  /* edit this to suit design (no rgba in IE8) */
  border-left-color: rgba(255, 255, 255, 0.5);
}

.mega-menu .sf-vertical.sf-arrows li > .sf-with-ul:focus:after,
.mega-menu .sf-vertical.sf-arrows li:hover > .sf-with-ul:after,
.mega-menu .sf-vertical.sf-arrows .sfHover > .sf-with-ul:after {
  border-left-color: silver;
}

.a-link span {display: block; height: 100%; width: 100%;}
.a-link{ padding: 0px 31px !important;}

#footer .rs-link-active, #footer .rs-link-active:hover, #footer .rs-link:active, #footer .rs-link:hover, #footer .rs-link:link, #footer .rs-link{font-size:1.25em; color:#fff;}
.homeIcon:hover a, #portals .homeIcon > a:hover {
    background-color: transparent !important;
    border-color: transparent !important;
	}


@media only screen and (max-width: 960px) {
  .mm-item.homeIcon:hover {
    background: #142C54;
  }
#portals .homeIcon > a {
  display: inline-block;
  position: relative;
  background: url(/data/images/icon_home.png) left no-repeat;
  height: 43px;
  width: 24px;
  padding: 0 25px;
  vertical-align: middle;
  width: 60%;
  left: 32px;
  width: calc(100% - 32px);
  padding: 0px 0px 0px 0% !important;
}

}

@media only screen and (min-width: 960px) {
  /*#portals .homeIcon > a {
    padding: 0;
    left: -16px;
    background: url("/data/images/icon_home.png") no-repeat scroll center center transparent;
    margin: 0 45% !important;
    width: 100%;
  }
  .homeIcon.homeIcon{
    padding-right: 2%;
  }*/
	

}

/**/