/* Structure
------------------------------------------*/
#hmenu,
#hmenu ul {
	list-style: none;
}
#hmenu {
	margin: 0 auto;
	padding: 0;
	float: left;
	margin-left: 5px;
	margin-top: 0;
	font-family: sans-serif;
}

#hmenu > li {
	float: left;
}
#hmenu li a {
	display: block;
	font-size: 15px;
	min-height: 16px;
	min-width: 80px;
	text-align: center;
	font-weight: bold;
	margin: 0px 7px 0 7px;
	padding: 9px 10px 9px 10px;
	text-decoration: none;
	transition: all 0.3s ease;
}
.noborder a{
	border-right:0 !important;
}
#hmenu li .lastli {
     border: 0;
}
#hmenu ul {
	position: absolute;
	display: none;
	z-index: 9999;
	
}
#hmenu li:hover ul.children {
	display: block;
	padding: 0;
	margin-left: 0;
	
}

/* Main menu
------------------------------------------*/
#hmenu {
	font-size: 17px;
}
#hmenu > li > a {
	color: #fff;
}
#hmenu > li:hover > a {
	/*opacity: 0.8;*/	opacity: 1;	
}#hmenu > li.testar:hover > a, #hmenu > li.last:hover > a, #header.docked #hmenu > li.testar:hover a {	color: #FFF;}
#hmenu .current-menu-item {
	font-weight: bold;
}
/* Submenu
------------------------------------------*/

#hmenu ul li a{ border: 0; }

#hmenu ul {
	margin: 0;
	padding: 0;
}
#hmenu ul li a {
	color: #495BA4;
	min-width: 160px;
}
#hmenu ul li:hover a {
	color: #333;
}

#hmenu ul:hover { display:block; } 

#hmenu .menu-item-has-children a:hover + ul {
	display: block;
}
#hmenu .sub-menu {
	padding: 15px;
	border-radius: 7px;
	background-color: #fff;
	box-sizing: border-box;
}
#hmenu .sub-menu:before {
  content: "";
  position: absolute;
  top: -webkit-calc(0% - 6px); 
  top: calc(0% - 6px); 
  left: 45px;
  height: 15px;
  width: 15px;
  background: white;
  transform: rotate(45deg);
  border-bottom:inherit;
  border-right:inherit;
  box-shadow:inherit;
}
.sub-menu {
	padding: 10px 10px;
	min-width: 160px;
	max-width: 320px;
}
.sub-menu::after {
	clear: both;
}
#fmenu .sub-menu a {
	text-transform: uppercase;
	color: #a4abcd !important;
	width: auto !important;
	margin: 0 !important;
	font-weight: normal !important;
	font-size: 0.8em !important;
}
#fmenu .sub-menu {
	line-height: 1.1em;
}
.menu-item-description {
	color: #999;
	display: block;
    padding: 7px 0 15px;
    border-bottom: 1px solid #ddd;
	font-weight: normal !important;
}
.menu-item-description:last-child {
	border-bottom: 0 !important;
}
.sub-menu a {
	text-align: left !important;
	font-size: 14px;
	padding: 4px 0 !important;
	color: #495BA4;
	font-weight: bold;
}
.sub-menu a:before {
	content: '>';
	color: #a7c8e0;
	padding: 0 4px 0 0;
}
.sub-menu a:hover {
	color: #333;
	background: #fff;
}

.sub-menu .current-menu-item {
	background: none !important;
}

@media screen and (max-width: 960px) {
    #hmenu {
		font-size: 26px !important;
		line-height: 30px !important;
		margin: 0;
		position: relative;
		float: none;
			padding: 10px 20px;
		background-color: rgba(0,0,0,0.8);
	border-radius: 0px;
	}
	#hmenu > li {
	margin: 7px 0;
	float: none;
	border-bottom: 1px solid #555;
	}
	#hmenu > li:last-child {
	border-bottom: 0;
	}
	#hmenu li a {
	padding: 7px;
	}
	#hmenu li a {
    font-size: 18px;
    margin: 2px 4px;
}
	#hmenu > li:hover {
	background-color: #495ba3;
	color: #eee;
	transition: all 0.25s linear;
}
#hmenu > li:hover > a {
	color: #999;
	
}
#hmenu .current-menu-item {
	background: none !important;
}
}


@media screen and (max-width: 960px) {
#hmenu > li > a {
	color: #fff;
	display: block;
}
#hmenu > li:hover > a {
	color: #fff;
	background-color: #495ba3;
}
#hmenu .sub-menu {
	border-radius: 0;
	width: 100%;
	max-width: 89%;
}
.menu-item-description {
    line-height: 1.35em;
    font-size: 0.8em;
}

}