/*! responsive-nav.js v1.0.14 by @viljamis */

#nav { display: none;}
#nav ul {
	margin: 0;
	padding: 0;
	list-style-image: none;
	list-style-type: none;
}
.js #nav {
	clip: rect(0 0 0 0);
	max-height: 0;
	position: absolute;
	overflow: hidden;
	zoom: 1;
}
#nav-toggle {
	font-size: 15px;
	line-height: 20px;
	font-weight: bold;
	background: url(/imagenes/template/btn-menu.png) right center no-repeat;

	width: 70px;
	height: 20px;
	display: block;
	position: absolute;
	top: 6px;
	left: 10px;
	z-index: 4;
	text-transform: uppercase;
}
@media screen and (min-width: 43.2em) {
.js #nav {
	position: relative;
	max-height: none;
}
#nav-toggle { display: none;}

/*Menu*/
.fix-menu {
	width: 100%;
	height: 50px;
	background: #f1f1f1;
} /* CAMBIAR COLOR */
.menu-wrapper {
	width: 980px;
	height: 50px;
	margin: auto;
}
.menu {
	width: 950px;
	height: 50px;
	text-align: center;
}
.menu a {
	color: #8a8a8a;
	font-size: 15px;
	font-weight: regular;
}
.menu ul { display: inline-block;}
.menu ul li { display: inline;}
.menu-lista { margin-top: 15px;}
.menu-margen-right { margin-right: 10px;}
.menu-margen-rl {
	margin-right: 25px;
	margin-left: 25px;
}
.menu-margen-left { margin-left: 10px;}
#menu-content {
	height: 0;
	width: 100% !important;
	background: #fff;
	position: relative;
	overflow: hidden;
}
#menu-content > div {
	display: none;
	width: 100% !important;
	background: #f1f1f1;
	position: relative;
}
#current { color: #245790;}

/*------------------------ Menu Inside ---------------- */

.menu-inside {
	height: 240px;
	margin: auto;
	border-top: 4px solid #ccc;
	text-align: center;
}
.menu-inside img {
	width: 100px;
	height: 100px;
	display: block;
	margin-bottom: 10px;
}
.menu-inside a {
	color: #1a3e69;
	text-decoration: none;
	font-size: 13px;
}
.menu-inside a:hover {
	text-decoration: underline;
}
.menu-box {
	width: 200px;
	height: 140px;
	margin: 15px 0 0 40px;
	float: left;
}
.menu-box p {
	color: #878787;
	font-size: 13px;
	margin: 5px 0 0 5px;
	text-align: center;
	width: 190px;
}
.menu-box-first {
	width: 200px;
	height: 140px;
	margin: 15px 0 0 0;
	float: left;
}
.menu-box-first p {
	color: #878787;
	font-size: 13px;
	margin: 5px 0 0 5px;
	text-align: center;
	width: 190px;
}
.menu-box-small {
	width: 180px;
	height: 140px;
	margin: 15px 0 0 20px;
	float: left;
}
.menu-box-small p {
	color: #878787;
	font-size: 13px;
	margin: 5px 0 0 5px;
	text-align: center;
	width: 190px;
}
.menu-box-small-first {
	width: 100px;
	margin: 15px 20px 0;
	display: inline-block;
	vertical-align: top;
}
.menu-box-small-first p {
	color: #878787;
	font-size: 13px;
	margin: 5px 0 0 5px;
	text-align: center;
	width: 190px;
}

/*------------------------ Menu Height  ---------------- */

#familia { height: 240px;}
#servicios_content { height: 180px;}
#sobre_content { height: 180px;}

/*------------------------ Menu Height  ---------------- */



.menu-expand {
	cursor: pointer;
}
/*FIN MENU*/



/* #nav{ height: 72px; right:0;}
#menu{
	background: url(/imagenes/template/background-menu.png) right top no-repeat;
	height: 68px;
	padding:0;
	position:absolute;
	bottom:0;
	right:0;
	z-index:2;
}

#nav li{
	font-size: 1.05em;
	line-height:68px;
	text-shadow: 0.1em 0.1em #fff;
	float:left;
	margin:0;
}

#nav li a, #nav li a:visited{
	display: block;
	padding: 0 15px;
}

#nav li a span, #nav li a:visited span{
	display: block;
	padding: 0 1.3em 0 0;
	color:#0069a0;
}

#nav li a:hover,#nav li.current a{
	background: #ddd;
	text-decoration: none;
	border-radius:5px 5px 0 0;
}

#nav li.current a,#nav li.current a:visited{ cursor:default;}*/

}
@media screen and (max-width: 990px) {
.menu-wrapper { width: 950px;}
}
@media screen and (max-width: 960px) {
#contenido-top-header, .menu, .menu-wrapper { width: 790px;}
.menu-margen-right { margin-right: 0px;}
.menu-margen-rl { margin: 0 12px 0 12px;}
.menu-margen-left { margin-left: 0px;}
}
@media screen and (max-width: 820px) {
#contenido-top-header, .menu, .menu-wrapper { width: 780px;}
}
@media screen and (max-width: 799px) {
#contenido-top-header, .menu, .menu-wrapper { width: 670px;}
.menu-margen-rl { margin: 0 10px 0 11px;}
}
@media screen and (max-width: 691px) {
#contenido-top-header {
	width: 96%;
	height: auto;
}
#menu-web { display: none;}
.js #nav { display: block;}
#nav.opened {
	z-index: 4;
	top: -297px;
	left: 0;
	overflow: visible;
}
#nav ul.list-menu {
	min-height: 100%;
	width: 100%;
	z-index: 4;
	background-color: #003e69;
	position: absolute;
	top: 40px;
	left: 0;
	overflow: visible;
	padding: 0;
}
#nav ul li {
	font-size: 18px;
	color: #FFF;
	line-height: 25px;
	height: auto;
	margin: 0;
	padding: 0;
	border-bottom:1px solid#005793;
}
#nav ul li:last-child{ border-bottom:none;}
#nav ul li img {
	vertical-align: middle;
	margin-right: 10px;
}
#nav ul li ul {
	background-color: #005793;
	margin: 0;
	padding: 4px 0;
	display:block;
}
#nav li ul li {
	line-height: normal;
	padding: 0;
	border: none;
	font-size: 14px;
}
#nav li a, #nav li .btn-toggle {
	color: #fff;
	display: block;
	text-decoration: none;
	padding: 8px 20px;
	cursor:pointer;
}
#nav li li a {
	padding: 6px 20px;
}
#nav li a:hover {
	box-shadow: 0 0 12px #387bbe
}
}
