body {
	margin: 10px;
	border: 1px solid #CCCCCC;
	padding: 0;
	line-height: 1.5em;
	font-family: Tahoma, Sans-serif;
	background: #fff url(../images/bg.png) repeat-x top fixed;
	min-width: 98%;
	position: absolute;
	position:relative;
	cursor: default;
}

img, div,a { behavior: url(iepngfix.htc) }

hr {
	background: #CCC;
	border: thin #CCC;
}
span.header h5{
 font-size:11px;
 font-weight:100;
}
span.pagelinks h5{
 text-align:center;
 font-weight:normal;
}
p {
	margin: 0;
	padding: 0;
}

.space-left {
	clear: left;
}

h4,h3,h5 {
	margin: 2px 0;
}

h3{
 color:#405968;
 font-family:Tahoma, Geneva, sans-serif;
 font-size:18px;
 font-weight:normal;
}

h1 {
	padding: 5px 0;
}

h4.sidebar{
 font-size:12px;
 background: #CDD9E0;
 color:#000;
 padding:0 5px;
 margin:0;
 font-family: Verdana, Geneva, sans-serif;
}

#topsection h4{
 font-size:11px;
 /*margin-top:5px;*/
 font-weight:normal;
}

#topsection h4 a{
 text-decoration:underline;
 padding:5px;
}

#topsection h4 a:hover{
 text-decoration:underline;
 background:#E8EDF0;
}

img {
	vertical-align: middle;
	max-height: 20px;
}

img.list {
	cursor: pointer;
}
a {
	cursor: pointer;
	color: #333;
	text-decoration: underline;
}

a:hover {
	text-decoration: underline;
}

a img {
	border: none;
}

a.add {
	text-decoration: none;
	padding: 5px 5px 5px 23px;
	background: url(../images/add.png) no-repeat left center;
}

a.add:hover {
	color: #093;
}

a.clean{
 text-decoration:none;
 padding:5px 5px 5px 23px;
 background:url(../images/clean.png) no-repeat;
}

a.new{
 text-decoration:none;
 padding:5px 5px 5px 23px;
 background:url(../images/new.png) no-repeat;
}
a.new2{
 text-decoration:none;
}
a.new:hover{
 color:#999;
}
a.new2:hover{
 color:#999;
}

a.ok {
	text-decoration: none;
	padding: 5px 5px 5px 23px;
	background: url(../images/ok.png) no-repeat;
}

a.modify {
	text-decoration: none;
	padding: 5px 5px 5px 23px;
	background: url(../images/modify.png) no-repeat;
}
a.anular {
	text-decoration: none;
	padding: 5px 5px 5px 23px;
	background: url(../images/delete.png) no-repeat;
}

a.ver {
	text-decoration: none;
	padding: 5px 5px 5px 23px;
	background: url(../images/view.png) no-repeat;	
}

a.select {
	text-decoration: none;
	padding: 5px 5px 5px 23px;
	background: url(../images/list.png) no-repeat;		
}

a.imprimir {
	text-decoration: none;
	padding: 5px 5px 5px 23px;
	background: url(../images/Impresora.jpg) no-repeat left center;
}


p.error{
 background:url(../images/warning.png) left center no-repeat;
 padding:5px 5px 5px 22px !important;
}

label.error{
 background:url(../images/warning.png) left center no-repeat;
 padding:5px 5px 5px 22px !important;
}

p.loading {
background:url(../images/loading.gif) no-repeat left center;
padding-left:25px !important;
margin:5px;
}


#maincontainer {
	width: 100%; /*Width of main container*/
	margin: 0 auto; /*Center container on page*/
  background:#fff;
}

#topsection{
/*height: 75px; *//*Height of top section*/
	line-height:0.5em;
	padding-bottom:5px;
}

#topsection h1{
margin: 0;
padding-top: 10px;
font-family: Arial, Helvetica, sans-serif;
font-size:29px;
font-weight:bold;
color:#415969;
}

div.userdata{
font-family: Arial, Helvetica, sans-serif;
font-size:12px;
font-weight:bold;
color:#03003B;
}

#contentwrapper {
	float: left;
	width: 100%;
  background:#fff;
    clear:both;
}

#contentcolumn {
	margin-left: 200px; /*Set left margin to LeftColumnWidth*/
}

#footer {
	width: 100%;
	height: 108px;
	border-top: 1px solid #CCC;
	color: #333333;
	text-align: center;
	padding: 4px 0;
	font-size: 70%;
    background-color:#fff;
    background: url(../images/logofooter.png) no-repeat center right;
}

#footer a {
	color: #666666;
}

.innertube {
	margin: 10px 10px 0px 10px;
	/*Margins for inner DIV inside each column (to provide padding)*/
	margin-top: 0;
}

div.innertube div.leyenda{
margin-top:10px;
border:1px dashed #999;
padding:2px 5px 5px 5px;
}

div.innertube div.leyenda a.titulo{
 text-decoration:none;
 display:block;
 width:100%;
 color: #333;
 background: url(../images/leyenda.png) no-repeat center left;
 padding-left:25px;
 
}

div.innertube div.leyenda p.titulo{
 text-decoration:none;
 display:block;
 width:100%;
 color: #333;
 background: url(../images/leyenda.png) no-repeat center left;
 padding-left:25px;
 
}


div.innertube div.leyenda a.titulo:hover{
 text-decoration:underline;
 color:#5E839B;
}

#leftcolumn{
float: left;
width: 200px; /*Width of left column*/
margin:3px;
}

#leftcolumn .innertube{
margin:0;
}

#leftcolumn ul{
margin:2px 0;
padding:0;
width:100%;
}

#leftcolumn ul li{
font-size:12px;
list-style-type:none;
}

#leftcolumn ul li a{
padding-left:10px;
border-left: 5px solid #C4D0DB;
display:block;
width:185px;
text-decoration:none;
}

#leftcolumn ul li a:hover{
text-decoration:underline;
border-left:5px solid #5E839B;
background:#E8EDF0;
}

.selectedMenu{
text-decoration:underline;
border-left:5px solid #5E839B !important;
background:#E8EDF0;
}


#leftcolumn ul li a.selected{
text-decoration:underline;
border-left:5px solid #5E839B;
background:#E8EDF0;
}

table {
	font-size: 11px;
}

table td,table tr {
	margin: 0;
	padding: 0;
}

div#items{
 width:100%;
 _width:auto;
 margin:15px 0 0 0;
 overflow: hidden;
 /*height:25px;*/
 border-bottom: 1px solid #999; /*right divider between tabs*/
 font-family: Tahoma, Geneva, sans-serif;
}

div#items ul{
 margin:0; padding:0;
 }

div#items ul li{
 font-size:70%;
 text-align:center;
 display:inline;
 float:left;
}

div#items ul a{
 text-decoration:none;
 background: #466173;
 color:#FFF;
 padding:10px 5px;
 border-right:1px solid #fff;
}

div#items ul a:hover{
 text-decoration:underline;
}

div#items ul li a.selected{
 background: #5E839B;
 color:#fff;
 border-right:1px solid #fff;
 text-decoration:underline;
}

div#items ul li a.selectedStrong{
 background: #E27312;
 color:#fff;
 border-right:1px solid #fff;
 text-decoration:underline;
}

div.tabcontent {
	
}

div.tabcontent td {
	padding: 0px;
	font-size: 11px;
}

div.tabcontent td p,td p {
	margin: 0 5px;
	display: inline;
}

.innertube p {
	font-size: 11px;
	padding: 0 2px;
}

ul.instrucciones {
	margin: 5px 0;
}

ul.instrucciones li {
	list-style: decimal;
	font-size: 11px;
}

ul.instrucciones li a{
	text-decoration: none;
}

ul.instrucciones li a:HOVER{
	text-decoration:underline;
}

input[type='text']:hover,select:hover,input[type='password']:hover,textarea:hover
	{
	background: #F1F1F1;
	border: 1px solid #000;
}

input[type='text'],select,input[type='password'],input[type='file'],textarea
	{
	margin-top: 3px;
}

input[type='text'],select,input[type='password'],textarea {
	border: 1px solid #666666;
	font-family: Tahoma, Sans-serif;
	font-size: 11px;
	padding: 2px;
}

input[type='submit'],input[type='reset'],input[type='button'] {
	margin: 5px 0;
	background: #E2E0D6;
	border: 1px solid #CACACA;
	cursor: pointer;
	padding: 3px;
	font-size: 11px;
}

input[type='submit']:hover,input[type='reset']:hover,input[type='button']:hover
	{
	margin: 5px 0;
	background: #F3F2F0;
	border: 1px solid #CACACA;
}

select.dia {
	width: 60px;
}

select.mes {
	width: 100px;
}

select.ano {
	width: 60px;
}

table.sub-content{
 width:100%;
 _width:99%;
 margin-bottom:5px;
}

table.sub-content tr.list td,table.sub-content tr {
	border: 1px solid #CCC;
}

table.sub-content td.variantes {
	padding: 5px 0 5px 25px;
	height: 20px;
	min-height: 20px;	
}

td.ver{
 text-align:center;
  background:#F0EBCE !important;
  width:35px;
}

td.ver a{
 text-decoration:none;
 padding:2px;

}

td.ver a:hover{
 background:#F0EBCE;
}

td.ver-ocultar{
 text-align:right;
}

table.sub-content tr.link {
	cursor: pointer;
}

table.sub-content td.header {
 background:#E8EDF0;
}

table.sub-content td.headerTomaDescargaClass {
 background:#E8EDF0;
}

table td.header {
 background:#E8EDF0;
}

table th.header {
 background:#E8EDF0;
}

table.sub-content th {
 background:#E8EDF0;
}

table.sub-content tr.list:hover {
	background: #F1F1F1;
}

table.sub- tr.current {
	background: #E1E1E1;
	border: 1px solid #CCC;
}

tr.list td table td {
	border: none !important;
}

td.accion {
	max-width: 80px;
	width: 80px;
	text-align: center;
}

div.content {
	 border:1px solid #D0DEEE;
}

div.content:hover {
	 border:1px solid #A2BEDD;
}

table.sub-content td.titulo{
 background: #5E839B;
 font-weight:bold;
 color: #fff;
}

table td.titulo{
 background: #5E839B;
 font-weight:bold;
 color: #fff;
}

table.sub-content:hover td.titulo{
 background:#7D9CB0;
}

td.add {
	vertical-align: bottom;
	text-align: center;
}

td.add a {
	background: #f9f9f9;
	width: 100%;
	display: block;
}

td.add a:hover {
	background: #E8EDF0;
}

div.borde_flotante {
	border: 1px solid #ADC5DC;
	position: absolute;
	white-space: nowrap;
	font-size: 10px;
	background: #fff;
	-moz-box-shadow: 6px 6px 8px -4px #666;
	-moz-border-radius: 2px;
}

div.borde_flotante div.flotante {
	line-height: 150%;
	max-height: 150px;
	min-width: 240px;
	overflow: auto;
	overflow-x: hidden;
	padding-right: 5px;
}
div.borde_flotante div.flotanteEnfermedades {
	line-height: 150%;
	max-height: 290px;
	min-width: 240px;
	overflow: auto;
	overflow-x: hidden;
	padding-right: 5px;
}

div.borde_flotante div.flotanteHistorial {
	line-height: 150%;
	max-height: 270px;
	min-width: 200px;
	overflow: auto;
	overflow-x: hidden;
	padding-right: 5px;
}

div.borde_flotante h6 {
	font-family: Tahoma, Sans-serif;
	font-size: 10px;
	padding: 0 5px;
	margin: 0;
	background: #CCC;
	line-height: 160%;
	color: #000;
}

div.borde_flotante div.flotante ul {
	margin: 0 5px;
	padding: 0;
	line-height: 150%;
}

div.borde_flotante div.flotante ul li {
	list-style: none;
}

div.borde_flotante div.flotante input[type='text'].buscar {
	margin: 3px 0;
}

div.borde_flotante a.cerrar {
	display: block;
	font-size: 9px;
	background: #F3F3F3;
	color: #944143;
	margin: 0;
	padding: 0;
	text-align: center;
	text-transform: uppercase;
	text-decoration: none;
	line-height: 150%;
}

div.borde_flotante a#cerrar :hover {
	background: #D7A6C1;
	color: #333;
}

.selectBoxOptionContainer {
	background-color:#FFFFFF;
	border:1px solid #7F9DB9;
	height:50px;
	left:-1px;
	overflow:auto;
	top:0px;
	line-height:150%;
	z-index:1000;
}

.selectBoxAnOption {
	cursor:default;
	font-family:arial;
	font-size:12px;
	margin:1px;
	overflow:hidden;
	white-space:nowrap;
}

.selectBoxAnOption:hover
{
	background-color: rgb(49, 106, 197); 
	color: rgb(255, 255, 255);
}

.selectBox{
	min-height:0px;
	max-height:120px;
}

.borde_flotante_organo{
	border: 1px solid #ADC5DC;
	font-size: 10px;
	background: #fff;
	-moz-box-shadow: 6px 6px 8px -4px #666;
	-moz-border-radius: 2px;
	float:left;
	margin-left:10px;
}

div.borde_flotante_organo h6 {
	font-family: Tahoma, Sans-serif;
	font-size: 10px;
	padding: 0 5px;
	margin: 0;
	background: #CCC;
	line-height: 160%;
	color: #000;
}

table tr.addTR{
   padding: 3px !important;
}

.addTR:hover{
   background-color: #ddf8c8;
}

#topsection h1 img{
	max-height:none;
}

div.tabcontent img.normalH{
	max-height:none;
}

#topsection h4{
	clear:both;
}

.desTitulo{
   font-size: 12px;
   color: #E6E6E6;
}


.invisible{
   display:none;
}


.campoCalculable{
 	background-color: #CDD9E0;
}
.campoNoEditable{
 	background-color: #BDBDBD;
}

a.clean{
 text-decoration:none;
 padding:5px 5px 5px 23px;
 background:url(../images/clean.png) no-repeat;
}

.headerCaligus{
    text-align:center;
    white-space:nowrap;
}



#basic-modal-content {display:none;}

/* Overlay */
#simplemodal-overlay {background-color:#FFFFFF; cursor:wait;}

/* Container */
#simplemodal-container {height:0px; width:0px; color:#bbb; background-color:#FFFFFF; border:0px solid #FFFFFF; padding:0px;}
#simplemodal-container .simplemodal-data {padding:0px;}
#simplemodal-container code {background:#FFFFFF; border-left:0px solid #65B43D; color:#bbb; display:block; font-size:12px; margin-bottom:12px; padding:4px 6px 6px;}
#simplemodal-container a {color:#FFFFFF;}
#simplemodal-container a.modalCloseImg {background:url(../images/close_icon.gif) no-repeat; width:25px; height:29px; display:inline; z-index:3200; position:absolute; top:-15px; right:-16px; cursor:pointer;}
#simplemodal-container h3 {color:#FFFFFF;}
