@charset "utf-8";

body {
	background-color:#2d6c8e;
	margin:0;
	padding:0;
	font-family: Verdana, Arial, sans-serif;
	font-size: small;
}

h4 {
	font-size:14px;
}

.upper {
	text-transform:uppercase;
}

.alink {
	text-decoration:none;
	color:#666;
}

.alink:hover {
	color: #555;
}

/* Estructura principal: marco-principal, cabecera, marco-contenido, pie */
#marco-principal {
	width: 970px;
	margin: 0 auto;
	padding: 0;
	position: relative;
}

#cabecera, #cabecera a {
	text-align: right;
	height: 80px;
	background: url(../img/cabecera/cap.jpg) no-repeat top left;
	color: #FFF;
	font-weight: bold;
	text-decoration: none;
	border: 0px solid red;
}

#menu {
	position: absolute;
	left: 0;
	top: 100px;
	z-index: 999;
	overflow: visible;
	margin: 0; padding: 0;
}
#menu .opc-menu-on, #menu .opc-menu-off:hover {
	background: url(../img/menu/bck-opc-on.png) repeat-y top left;
	height: 95px;
	padding: 5px 0;
	margin-bottom: 10px;
}
#menu .opc-menu-off, #menu .opc-menu-dummy {
	background: url(../img/menu/bck-opc-off.png) repeat-y top left;
	height: 95px;
	padding: 5px 0;
	margin-bottom: 10px;
}

.submenu {
	display: none;
	position: relative;
	top: -103px; left: 33px;
	background-color: #4e96bd; /*5098be;*/
	padding: 5px 10px;
	min-height: 139px; width: 430px;
	font-weight:bold;
}
.submenu a {
	color: #DDD;
	text-decoration:none;
}
.submenu a:hover {
	color: #FFF;
}
.submenu .apartado {
	color:white;
	text-decoration:underline;
}
#menu .opc-menu-off:hover .submenu {display:block}

#marco-contenido {
	width: 937px; min-height: 470px;
	position: relative;
	margin-left: 33px;
	padding: 10px 0;
	text-align: left;
	color: #666;
	background-color:#FFF;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	-webkit-box-shadow: 1px 2px 5px #999; 
	-moz-box-shadow: 1px 2px 5px #999;
}

#leyenda {
	clear: right;
	padding: 5px 20px 5px 0;
	text-align: right;
	font-size: smaller;
}

#pie {
	text-align: center;
	padding: 10px 0;
	color: #FFF;
	font-weight: bold;
	font-size: 12px;
}

/* Estructura de contenido: buscar, paciente, navegacion y datos */
#buscar {
	float:right;
	padding-right: 20px;
}

#paciente {
	padding-left: 20px;
}

#navegacion {
	width: 240px;
	border: 1px solid #999;
	float: left;
	margin-left: 20px;
	#margin-top: -15px;
	padding: 0 10px;
	min-height: 400px; #padding-top: 8px;
}

.nodo {
	padding: 3px;
	margin: 0 -10px;
	font-family: "Arial Narrow", Arial, Helvetica;
	color: #5B5B5B;
	cursor: pointer;
}

.epi, .epi-activo {
	border-top: 1px solid #666;
	border-bottom: 1px solid #666;
	padding-left: 89px;
	#padding-top: 2px;
}

.epi {
	background: url(../img/nodos/episodio-off.png) no-repeat top left;
	background-color: #C1C1C1;
	color: #5B5B5B;
}

.epi-activo {
	background: url(../img/nodos/episodio-on.png) no-repeat top left;
	background-color: #5B5B5B;
	color: white;
}

.masepi {
	background: url(../img/nodos/mas-episodio.png) no-repeat top left;
	background-color: #f4f7f6;
}

.pro, .pro-activo{
	padding-left: 83px;
	#padding-top: 3px;
}

.pro, .maspro {
	background-color: #f4f7f6;
}

.pro {
	background: url(../img/nodos/proceso-off.png) no-repeat top left;
}

.pro-activo {
	background: url(../img/nodos/proceso-on.png) no-repeat top left;
	background-color: #DADADA;
}

.maspro {
	background: url(../img/nodos/mas-proceso.png) no-repeat top left;
}

.mip, .mip-activo {
	padding-left: 100px;
	#padding-top: 3px;
}

.mip, .masmip {
	background-color: #f4f7f6;
}

.mip {
	background: url(../img/nodos/micro-off.png) no-repeat top left;
}

.mip-activo {
	background: url(../img/nodos/micro-on.png) no-repeat top left;
	background-color: #DADADA;
}

.masmip {
	background: url(../img/nodos/mas-micro.png) no-repeat top left;
}

.tra, .tra-activo {
	padding-left: 130px;
	#padding-top: 3px;
}

.tra {
	background: url(../img/nodos/tratamiento-off.png) no-repeat top left;
	background-color: #F6F6F6;
}

.tra-activo {
	background: url(../img/nodos/tratamiento-on.png) no-repeat top left;
	background-color: #DADADA;
}

.mastra {
	background: url(../img/nodos/mas-tratamiento.png) no-repeat top left;
}

.com {
	background: url(../img/nodos/complicacion-off.png) no-repeat top left;
	padding-left: 132px;
	background-color: #F6F6F6;
	#padding-top: 3px;
}

.com-activo {
	background: url(../img/nodos/complicacion-on.png) no-repeat top left;
	padding-left: 132px;
	background-color: #DADADA;
	#padding-top: 3px;
}

.cat {
	background: url(../img/nodos/cateter-off.png) no-repeat top left;
	padding-left: 76px;
	background-color: #F6F6F6;
	#padding-top: 3px;
}

.cat-activo {
	background: url(../img/nodos/cateter-on.png) no-repeat top left;
	padding-left: 74px;
	background-color: #DADADA;
	#padding-top: 3px;
}

.cha {
	background: url(../img/nodos/charlson-off.png) no-repeat top left;
	padding-left: 119px;
	background-color: #F6F6F6;
	#padding-top: 3px;
}

.cha-activo {
	background: url(../img/nodos/charlson-on.png) no-repeat top left;
	padding-left: 119px;
	background-color: #DADADA;
	#padding-top: 3px;
}

.tas {
	background: url(../img/nodos/intervencion-off.png) no-repeat top left;
	background-color: #F6F6F6;
}

.tas-activo {
	background: url(../img/nodos/intervencion-on.png) no-repeat top left;
	background-color: #DADADA;
}

.res {
	background: url(../img/nodos/respuesta-off.png) no-repeat top left;
	background-color: #F6F6F6;
	padding-left: 144px;
	#padding-top: 3px;
}

.res-activo {
	background: url(../img/nodos/respuesta-on.png) no-repeat top left;
	background-color: #DADADA;
	padding-left: 144px;
	#padding-top: 3px;
}

#datos {
	width: 600px;
	float: right;
	margin-right: 20px;
	#margin-top: -15px;
	padding: 0 10px 10px 10px;; #padding-top: 8px;
}

#maestros, #estadisticas, #consultas {
	width: 880px;
	margin: 0 auto;
	padding: 0 10px;
}

#datos, #maestros, #estadisticas, #consultas, .submenustats {
	border: 1px solid #999;
	-webkit-box-shadow: 1px 2px 5px #999; 
	-moz-box-shadow: 1px 2px 5px #999;
}

#menustats {
	position: absolute;
	right: 20px;
	top: 40px;
	z-index: 999;
	overflow: visible;
	margin: 0; padding: 0;
	text-align: right;
	cursor: pointer;
}

.trigger {
	position: relative;
	right: 10px;
}

.submenustats {
	display: none;
	position: relative;
	top: 0px; right: 0px;
	background-color: #F0F0F0;
	padding: 5px 10px;
	width: 600px;
	font-size: smaller;
	font-weight: bold;
}
#menustats:hover .submenustats {display: block}

.tablemenustats {
	width: 100%;
	text-align: left;
}

.tablemenustats td {
	width: 50%;
}

.tablemenustats td a {
	color: #999;
	text-decoration:none;
}

.tablelistastats {
	margin-bottom: 20px;
	margin-left: 30px;
}

.pietablelistastats {
	border-top: 1px dotted #666;
	margin-top: 20px;
}

/* Elementos comunes */
/* Campos de entrada de datos */
.inputtext {
	border: 1px solid #999;
}

.inputtextobl {
	border: 1px solid #AA4422;
	background-color: #FFCCFF; 
/*	border: 1px solid #006699;
	background-color: #CCFFFF;*/
}

.inputblanco {
	border: 0;
}

.buscar{
	font-size: 10px;
	color: #666;
	padding-left: 1em;
}

.botonsubmit {
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-box-shadow: 1px 2px 5px #999; 
	-moz-box-shadow: 1px 2px 5px #999;
	border: 1px solid #333;
	background-color: #999;
	color: black;
}

.botonsubmitoff {
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-box-shadow: 1px 2px 5px #999; 
	-moz-box-shadow: 1px 2px 5px #999;
	border: 1px solid #333;
	background-color: #AAA;
	color: grey;
}

div .campo {
	float:left; padding-right: 1em;
}

div .camposubmit {
	clear:left;
}

/* FONT: Mensajes de error, peque */
.error {
	color:#CC0000;
}

.peque {
	font-size:smaller;
	margin:0px;
}

.subrayado {
	border-bottom: 1px dotted #000;
}

.sep {
	margin-top: 1em;
	border-bottom: 1px dotted #666;
}

/* Clear floats */
.clear {
	clear: both;
	width: 100%; height: 1px;
	margin: 0; padding: 0;
}

/* Otros Elementos */

#form-login {
	margin: 0 auto;
	padding: 20px;
	width: 400px;
}
#form-login fieldset {padding: 10px 40px;}
#form-login legend {font-weight: bold;}

#form-contrasenya, #form-codigo {
	margin: 0 50px;
	padding: 20px;
	width: 450px;
}
#form-contrasenya fieldset, #form-codigo fieldset {padding: 10px 40px;}
#form-contrasenya legend, #form-codigo legend {font-weight: bold;}

#form-nuevo-usuario {
	margin: 0 auto;
	padding: 20px;
	width: 620px;
}
#form-nuevo-usuario fieldset {padding: 10px 40px;}
#form-nuevo-usuario legend {font-weight: bold;}


.cabeceratabla {
	border-bottom: 1px dotted #666;
	padding-right: 0.5em;
}
