
/*******************************************************
/* Cores
/*******************************************************/

#menuContextual ul li label, #menuContextual ul li a, #menuContextual ul li a:visited
{
    color: #1084ac;
}

#menuContextual ul .subMenuContextualArea a:hover
{
    color: #1084ac;
}

/*******************************************************
/* Sub Menu contextual
/*******************************************************/

#menuContextual ul .subMenuContextualArea
{        
    background-color: #EEEEEE;
}

#menuContextual ul .subMenuContextualArea label, #menuContextual ul .subMenuContextualArea a, #menuContextual ul .subMenuContextualArea a:visited
{
    color: #575654;
    font-weight: normal;
}

#menuContextual ul li label, #menuContextual ul li a, #menuContextual ul li a:visited
{
    text-decoration: underline;
	font-weight: bold;
	text-decoration: none;
}

#menuContextual ul ul 
{
	border-bottom: 0;
}

#menuContextual ul ul li:hover
{
	background-color: White;
}

#menuContextual li ul:after
{
	background-color: White;
}

/* Seta superior */
#menuContextual ul ul li:first-child:after
{
	content: '';
	position: absolute;
	
	top: -7px; 
	left: 85px; /*half of square's length*/
	/*same dimension as the line-height of .breadcrumb a */
	width: 12px;
	height: 12px;
	/*as you see the rotated square takes a larger height. which makes it tough to position it properly. So we are going to scale it down so that the diagonals become equal to the line-height of the link. We scale it to 70.7% because if square's: 
	length = 1; diagonal = (1^2 + 1^2)^0.5 = 1.414 (pythagoras theorem)
	if diagonal required = 1; length = 1/1.414 = 0.707*/
	transform: scale(0.707) rotate(135deg);
	/*we need to prevent the arrows from getting buried under the next link*/
	z-index: 1;
	/*background same as links but the gradient will be rotated to compensate with the transform applied*/
	background-color: White;
	
	border-top: solid 0.5px Lightgray;
	border-right: solid 0.5px Lightgray;
	
	box-shadow: 
		1px -1px 0 1px LightGray, 
		1px -1px 0 1px LightGray;
	/*
		5px - for rounded arrows and 
		50px - to prevent hover glitches on the border created using shadows*/
	border-radius: 0 5px 0 50px;
}

/**  hacks para IE6, IE7, IE8 e IE9 */
#menuContextual ul ul li:first-child:after
{
	width: 0px\9; 
	height: 0px\9;
	box-shadow: none\9;
	border: 0\9;
}

/** remove a seta do sub menu a direita */
#menuContextual ul ul ul li:first-child:after
{
	width: 0px; 
	height: 0px;
	box-shadow: none;
	border: 0;
}

#menuContextual ul li.secaoAtual > ul:after
{
	display: none;
}

#menuContextual .secaoAtual:hover
{
    background-color: White;
}

#menuContextual .secaoAtual
{
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 0;
}

#menuContextual .secaoAtual > a
{
    padding: 0 5px 5px 15px;
}

#menuContextual ul li.secaoAtual > ul
{
	position: static;
	display: block;
	width: 190px;
	border-left: 0;
	border-right: 0;
	border-bottom: 0;
}

#menuContextual li.secaoAtual > ul > li:last-child
{
	border-bottom: 0;
}
