/*Menu principal-----------------------------------------*/
#menup{
	width:auto;
	margin: 0;
	padding: 0 0 0 0;
	list-style: none;  
	background: #111;
	background: -moz-linear-gradient(#4e4e4e, #767676); 
    background: -webkit-gradient(linear,left bottom,left top,color-stop(0, #767676),color-stop(1, #4e4e4e));	
	background: -webkit-linear-gradient(#4e4e4e, #767676);	
	background: -o-linear-gradient(#4e4e4e, #767676);
	background: -ms-linear-gradient(#4e4e4e, #767676);
	background: linear-gradient(#4e4e4e, #767676);
	-moz-border-radius: 0px;
	border-radius: 0px;
	-moz-box-shadow: 0 2px 1px #9c9c9c;
	-webkit-box-shadow: 0 2px 1px #9c9c9c;
	box-shadow: 0 2px 1px #9c9c9c;
}

#menup .endmenu{
	-webkit-border-top-right-radius: 6px;
	-webkit-border-bottom-right-radius: 6px;
	-moz-border-radius-topright: 6px;
	-moz-border-radius-bottomright: 6px;
	border-top-right-radius: 6px;
	border-bottom-right-radius: 6px;
	background-color:#3a3a3a;
}

#menup li{
	float: left;
	padding: 10px 0 10px 0;
	position: relative;
}

#menup a{
	float: left;
	height: 20px;
	padding: 0 14px;
	color:#CCC;
	text-transform: uppercase;
	font-size: 13px;
	font-family: Arial, Helvetica, sans-serif; 
	text-decoration: none;
	text-shadow: 0 1px 0 #000;
}

#menup li:hover > a{
	color: #fafafa;
}

*html #menup li a:hover{ /* IE6 */
	color: #fafafa;
}

#menup li:hover > ul{
	display: block;
}

/* Sub-menu */

#menup ul
{
    list-style: none;
    margin: 0;
    padding: 0;    
    display: none;
    position: absolute;
    top: 30px;
    left: 0;
    z-index: 99999;    
    background: #444;
    background: -moz-linear-gradient(#444, #111);
    background: -webkit-gradient(linear,left bottom,left top,color-stop(0, #111),color-stop(1, #444));
    background: -webkit-linear-gradient(#444, #111);    
    background: -o-linear-gradient(#444, #111);	
    background: -ms-linear-gradient(#444, #111);	
    background: linear-gradient(#444, #111);
    -moz-box-shadow: 0 0 2px rgba(255,255,255,.5);
    -webkit-box-shadow: 0 0 2px rgba(255,255,255,.5);
    box-shadow: 0 0 2px rgba(255,255,255,.5);	
    -moz-border-radius: 0px;
    border-radius: 0px;
}

#menup ul ul
{
  top: 0;
  left: 150px;
}

#masters
{
  top: 0;
  left: 190px;
  background-color:#F00;
}

#menup ul li
{
    float: none;
    margin: 0;
    padding: 0;
    display: block;  
    -moz-box-shadow: 0 1px 0 #111111, 0 2px 0 #777777;
    -webkit-box-shadow: 0 1px 0 #111111, 0 2px 0 #777777;
    box-shadow: 0 1px 0 #111111, 0 2px 0 #777777;
}

#menup ul li:last-child
{   
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;    
}

#menup ul a
{    
    padding: 10px;
	height: 10px;
	height: auto;
    line-height: 1;
    display: block;
    white-space: nowrap;
    float: none;
	text-transform: none;
}

*html #menup ul a /* IE6 */
{    
	height: 10px;
}

*:first-child+html #menup ul a /* IE7 */
{    
	height: 10px;
}

#menup ul a:hover
{
    background: #55ad3e;
	background: -moz-linear-gradient(#55ad3e,  #397329);	
	background: -webkit-gradient(linear, left top, left bottom, from(#55ad3e), to(#397329));
	background: -webkit-linear-gradient(#55ad3e,  #397329);
	background: -o-linear-gradient(#55ad3e,  #397329);
	background: -ms-linear-gradient(#55ad3e,  #397329);
	background: linear-gradient(#55ad3e,  #397329);
}

#menup ul li:first-child > a
{
    -moz-border-radius: 5px 5px 0 0;
    border-radius: 5px 5px 0 0;
}

#menup ul li:first-child > a:after
{
    content: '';
    position: absolute;
    left: 30px;
    top: -8px;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 8px solid #444;
}

#menup ul ul li:first-child a:after
{
    left: -8px;
    top: 12px;
    width: 0;
    height: 0;
    border-left: 0;	
    border-bottom: 5px solid transparent;
    border-top: 5px solid transparent;
    border-right: 8px solid #444;
}

#menup ul li:first-child a:hover:after
{
    border-bottom-color: #55ad3e; 
}

#menup ul ul li:first-child a:hover:after
{
    border-right-color: #4c9a37; 
    border-bottom-color: transparent; 	
}


#menup ul li:last-child > a
{
    -moz-border-radius: 0 0 5px 5px;
    border-radius: 0 0 5px 5px;
}

/* Clear floated elements */
#menup:after 
{
	visibility: hidden;
	display: block;
	font-size: 0;
	content: " ";
	clear: both;
	height: 0;
}

* html #menup             { zoom: 1; } /* IE6 */
*:first-child+html #menup { zoom: 1; } /* IE7 */
/* Fin Menu principal-----------------------------------------*/





/*Menu Secundario-----------------------------------------*/
#menu, #menu ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

#menu {
	width: 960px;
	margin: -3px auto;
	background: #363636;
	color: #eee;
	
	background: -webkit-gradient(linear, left top, left bottom, from(#4e4e4e), to(#767676)); 
	background: -moz-linear-gradient(top,  #4e4e4e,  #767676);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#4e4e4e', endColorstr='#767676', GradientType=0);
	border-radius: 6px;
	box-shadow: 0 1px 1px #777;
}

#menu:before,
#menu:after {
	content: "";
	display: table;
}

#menu:after {
	clear: both;
}

#menu {
	zoom:1;
}

#menu li {
	float: left;
	box-shadow: 1px 0 0 #444;
	position: relative;
}

#menu a {
	float: left;
	padding: 11px 18px;
	color:#CCC;
	text-transform: uppercase;
	font-size: 13px;
	font-family: Arial, Helvetica, sans-serif; 
	text-decoration: none;
	text-shadow: 0 1px 0 #000;
}

#menu li:hover > a {
	color:#FFF;
}

*html #menu li a:hover { /* IE6 only */
	color: #FFF;
}


/*submenu------------------------------------------------------------------------------*/
#menu ul {
	margin: 20px 0 0 0;
	_margin: 0; /*IE6 only*/
	opacity: 0;
	visibility: hidden;
	position: absolute;
	top: 38px;
	left: 0;
	z-index: 1;    
	background: #444;
	color: #eee;
	
	background: -webkit-gradient(linear, left top, left bottom, from(#444), to(#111)); 
	background: -moz-linear-gradient(top,  #444,  #111);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#444', endColorstr='#111', GradientType=0);
	box-shadow: 0 -1px 0 rgba(255,255,255,.3);	
	border-radius: 3px;
	transition: all .2s ease-in-out;  
}

#menu li:hover > ul {
	opacity: 1;
	visibility: visible;
	margin: 0;
}

#menu ul ul {
	top: 0;
	left: 150px;
	margin: 0 0 0 20px;
	_margin: 0; /*IE6 only*/
	box-shadow: -1px 0 0 rgba(255,255,255,.3);		
}

#menu ul li {
	float: none;
	display: block;
	border: 0;
	_line-height: 0; /*IE6 only*/
	box-shadow: 0 1px 0 #111, 0 2px 0 #666;
}

#menu ul li:last-child {   
	box-shadow: none;    
}

#menu ul a {    
	padding: 10px;
	width: 130px;
	_height: 10px; /*IE6 only*/
	display: block;
	white-space: nowrap;
	float: none;
	text-transform: none;
}

#menu ul a:hover {
	background-color: #55ad3e;
	background-image: linear-gradient(#55ad3e, #397329);
	background-image: -webkit-gradient(#55ad3e, #397329);
	
	background: -webkit-gradient(linear, left top, left bottom, from(#55ad3e), to(#397329)); 
	background: -moz-linear-gradient(top,  #55ad3e,  #397329);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#55ad3e', endColorstr='#397329', GradientType=0);
}

#menu ul li:first-child > a {
	border-radius: 3px 3px 0 0;
}

#menu ul li:first-child > a:after {
	content: '';
	position: absolute;
	left: 40px;
	top: -6px;
	border-left: 6px solid transparent;
	border-right: 6px solid transparent;
	border-bottom: 6px solid #444;
}

#menu ul ul li:first-child a:after {
	left: -6px;
	top: 50%;
	margin-top: -6px;
	border-left: 0;	
	border-bottom: 6px solid transparent;
	border-top: 6px solid transparent;
	border-right: 6px solid #3b3b3b;
}

#menu ul li:first-child a:hover:after {
	border-bottom-color: #55ad3e; 
}

#menu ul ul li:first-child a:hover:after {
	border-right-color: #479034; 
	border-bottom-color: transparent; 	
}

#menu ul li:last-child > a {
	border-radius: 0 0 3px 3px;
}
/* Fin Menu Secundario-----------------------------------------*/


/*
	13 DICIEMBRE 2016
	GERBER BARILLAS
	
*/


/*modificacion de menu de Biologia */

