/**
 * COPYRIGHT NOTICE
 * ZOOM Design SRL
 * This source code may not be redistibuted
 * without written consent from the above mentioned entity.
 * 
 * @author ZOOM <info@zoomdesign.com.ar>
 * @date 00/00/2018
 * @copyright 2018 | ZOOM Design SRL
 * @package sbox
 */

#menu {
	position: relative;
	text-align: center;
	width: 708px;
	height: auto;
	margin: auto;
	z-index: 99999;
	background-color: transparent;
}

/* Una sola línea, botones separados entre sí */
#menu ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: nowrap;
	gap: 6px;
}

#menu ul li {
	position: relative;
	float: none;
	flex: 1 1 0;
	min-width: 0;
	margin: 0px;
	padding: 0px;
}

/*----------------------------------------------------------------------------------------------------------------------------------------------------------------------*/

/* Nivel 01 - Menú Principal */
#menu ul li a {
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: #00425F;
	color: #ffffff;
	font-weight: 500;
	border: none;
	border-radius: 8px;
	margin: 0px;
	padding: 4px 6px;
	height: 58px; /* altura uniforme */
	text-align: center;
	box-sizing: border-box;
	text-decoration: none;
}

/* Fuerza blanco y negrita aunque el texto esté en un span u otro elemento interno */
#menu ul li a > * {
	color: inherit;
	font-weight: inherit;
}

.type-1, .type-2, .type-2b {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 13px;
	color: #ffffff;
	font-weight: 500;
	text-transform: none;
	line-height: 1.2em;
}

.type-3, .type-4 {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 13px;
	color: #ffffff;
	font-weight: 500;
	text-align: center;
	text-transform: none;
}

#menu ul li:hover > a {
	background-color: #72CDF4;
	color: #00425F;
}

/*----------------------------------------------------------------------------------------------------------------------------------------------------------------------*/

/* Nivel 02 - Submenú Desplegable Separado */
#menu ul li ul.nivel2 {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	width: 100%;
	margin: 0;
	padding: 6px 0 0 0; /* espacio entre el botón principal y el primer submenú */
	list-style: none;
	z-index: 999999;
}

#menu ul li:hover ul.nivel2 {
	display: block !important;
}

#menu ul li ul.nivel2 li {
	float: none;
	width: 100%;
	margin: 6px 0 0 0; /* espacio entre submenús */
	padding: 0px;
}

#menu ul li ul.nivel2 li:first-child {
	margin-top: 0; /* el primero ya recibe el espacio del padding del ul */
}

#menu ul li ul.nivel2 li a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 42px;
	margin: 0;
	padding: 0px 6px;
	border: none;
	border-radius: 8px;
	background-color: #00425F;
	opacity: 1;
	color: #ffffff;
	font-weight: 500;
	text-align: center;
	box-sizing: border-box;
	line-height: 1.2em;
	text-decoration: none;
}

#menu ul li ul.nivel2 li a:hover {
	color: #00425F;
	background-color: #72CDF4;
	opacity: 1;
}
