/* Text */

body {
	font-family: arial;
	font-size:12px;
	line-height:18px;
	padding: 8px;
	height: 100%;
	background-color: #FCFCFC;
}

p { 
	margin-bottom: 18px; 
}

h1 { 
	background: transparent url(../images/bullet.gif) no-repeat scroll left center;
	border-bottom: 1px solid #A9C6DF;
	color: #417AAB;
	font-size: 24px;
	line-height: 36px;
	margin-bottom: 18px; 
	padding-left:25px;
}

h2 { 
	font-size: 18px; 
	line-height: 18px; 
	margin: 0 0 8px 4px;
	color: #A3986F;
}

h3 { 
	font-size: 16px; 
	line-height: 18px; 
	color: #000;
}

ul, ol { 
	margin-bottom: 18px; 
}

img {
	border: 0;
}

strong {
	font-weight: bold;
}

.left { 
	float: left; 
	margin: 0 18px 18px 0; 
}

.right { 
	float: right; 
	margin: 0 0 18px 18px; 
}

.callout {
	border: 1px solid #ddd;
	padding: 8px 10px;
	margin-bottom: 18px; 
}

.callout :last-child { 
	margin-bottom: 0; 
}

/*
a:link {color: #0000FF}
a:visited {color: #696969}
a:hover {color: #0000FF}
a:active {color: #0000FF}
*/

/* Main menu */

#nav {
	position:absolute;
	z-index: 9998;
	margin: 0;
	border: 0 none;
	padding: 0;
	top: 21px;
	left: 100px;
	height: 20px;
	width: 100%; /*For KHTML*/
	list-style: none;
}

#nav li {
	background: transparent url(../images/down.gif) no-repeat 100% 50%;
}

#nav li li {
	background: none;
}

/* Messages */

#message {
	font-weight:bold;
	min-height:18px;
	padding:2px 18px 0 35px;
	position:absolute;
	right:0;
	top:0;
	text-align:right;
	z-index: 9999;
}

.info {
	background: transparent url(../images/warning.gif) no-repeat 8px 50%;
	background-color: #FAF0C2;
	color: #000;
}

.warning {
	background: transparent url(../images/warning.gif) no-repeat 8px 50%;
	background-color: #FAF0C2;
	color: #000;
}

.error {
	background: transparent url(../images/error.gif) no-repeat 8px 50%;
	background-color: #F6CEC6;
	color: #990000;
}

#status {
	position: fixed;
	top: 0;
	right: 50%;
	width: 100%;
	background-color: #D4FFAA;
	color: #4C7722;
	font-family: arial, sans-serif;
	font-size: 12px;
	font-weight: bold;
	padding: 4px;
	width: 7em;
	margin: 0 auto;
	text-align: center;
}

#welcome {
	position: fixed;
	top: 5px;
	right: 10px;
	color: #417AAB;
	font-family: arial, sans-serif;
	font-size: 12px;
}

* html div#status {
	position: absolute;
	top: expression(eval(document.compatMode && document.compatMode=='CSS1Compat') ? documentElement.scrollTop : document.body.scrollTop);
} /* para que funcione con msie */

#info {
	font-family: arial, sans-serif;
	background-color: #E6EFF6;
	margin-bottom: 8px;
	text-align: justify;
}

#info strong {
	background: url(../images/info.gif) no-repeat 0 50%;
	padding: 0 4px 0 22px;
}

#disclaimer {
	font-family: arial, sans-serif;
	background-color: #F8E794;
	margin-bottom: 8px;
	text-align: justified;
}

#disclaimer strong {
	background: url(../images/warning.gif) no-repeat 0 50%;
	padding: 0 4px 0 22px;
}

.modal-dlg {
	width: 300px;
}

.modal-dlg span.dlg-title {
	float: left;
	width: 100%;
	font-weight: bold;
	background-color: #F0EEE8;
	font-size: 12px;
	line-height: 24px;
	text-align: center;
}

.modal-dlg .dlg-text {
	padding: 4px;
	clear: left;
	text-align: justify;
}

.modal-dlg .dlg-ops {
}

.modal-dlg .dlg-ops button {
	height: 30px;
	float: right;
	margin-right: 8px;
}

.modal-dlg .dlg-ops button img {
	padding-right: 4px;
}

/* Navegación */

/* Esquinas redondas 1 */

.r1_bx {
   background: #efe9d4;
}
.r1_t div {
   background: url(../images/r1_tl.png) no-repeat top left;
}
.r1_t {
   background: transparent url(../images/r1_tr.png) no-repeat top right;
}
.r1_b div {
   background: url(../images/r1_bl.png) no-repeat bottom left;
}
.r1_b {
   background: transparent url(../images/r1_br.png) no-repeat bottom right;
}

.r1_t div, .r1_t,
.r1_b div, .r1_b {
   width: 100%;
   height: 10px;
   font-size: 1px;
}
.r1_c { margin: 0 10px; }

/* Esquinas redondas 2 */

.r2_bx {
   background: #fcfcfc;
}
.r2_t div {
   background: url(../images/r2_tl.png) no-repeat top left;
}
.r2_t {
   background: url(../images/r2_tr.png) no-repeat top right;
}
.r2_b div {
   background: url(../images/r2_bl.png) no-repeat bottom left;
}
.r2_b {
   background: url(../images/r2_br.png) no-repeat bottom right;
}

.r2_t div, .r2_t, 
.r2_b div, .r2_b {
   width: 100%;
   height: 8px;
   font-size: 1px;
}
.r2_c { margin: 0 8px; }

/* Esquinas redondas 3 */

.r3_bx {
   background: #efe9d4;
}
.r3_t div {
   background: url(../images/r3_tl.png) no-repeat top left;
}
.r3_t {
   background: url(../images/r3_tr.png) no-repeat top right;
}
.r3_b div {
   background: url(../images/r3_bl.png) no-repeat bottom left;
}
.r3_b {
   background: url(../images/r3_br.png) no-repeat bottom right;
}

.r3_t div, .r3_t, 
.r3_b div, .r3_b {
   width: 100%;
   height: 10px;
   font-size: 1px;
}
.r3_c { margin: 0 10px; }

/* Esquinas redondas 4 */

.r4_bx {
   background: #E6EFF6;
}
.r4_t div {
   background: url(../images/r4_tl.png) no-repeat top left;
}
.r4_t {
   background: transparent url(../images/r4_tr.png) no-repeat top right;
}
.r4_b div {
   background: url(../images/r4_bl.png) no-repeat bottom left;
}
.r4_b {
   background: transparent url(../images/r4_br.png) no-repeat bottom right;
}

.r4_t div, .r4_t,
.r4_b div, .r4_b {
   width: 100%;
   height: 10px;
   font-size: 1px;
}
.r4_c { margin: 0 10px; }

/* Esquinas redondas 5 */

.r5_bx {
   background: #FAF0C2;
}
.r5_t div {
   background: url(../images/r5_tl.png) no-repeat top left;
}
.r5_t {
   background: transparent url(../images/r5_tr.png) no-repeat top right;
}
.r5_b div {
   background: url(../images/r5_bl.png) no-repeat bottom left;
}
.r5_b {
   background: transparent url(../images/r5_br.png) no-repeat bottom right;
}

.r5_t div, .r5_t,
.r5_b div, .r5_b {
   width: 100%;
   height: 10px;
   font-size: 1px;
}
.r5_c { margin: 0 10px; }

/* Diálogos modales */

#modal_container {  
	padding:5px;  
	background-color:#fff;  
	border:1px solid #666;  
	overflow:auto;  
	font-family:"Lucida Grande",Verdana;  
	font-size:12px;  
	color:#333;  
	text-align:left;  
} 

#modal_overlay {  
	background-color:#000;  
}

/* Tablas */

table.datatable {
	width: 100%;
	border: 1px solid #CEB686;
	background-color: #FCFCFC;
	word-wrap: break-word;
	overflow: hidden;
	table-layout: fixed;
}

/* corregir el bug de msie */
* html body .datatable {
	width: 98%;
}

table.datatable caption {
	font-size: 12px;
	font-weight: bold;
	line-height: 18px;
	background-color: #F0EEE8;
}

table.datatable tr {
	vertical-align: top;
}

table.datatable th {
	background-color: #F0EEE8;
	font-weight: bold;
}

table.datatable td {
	border-bottom: 1px solid #CEB686;
}

table.datatable td, table.datatable th {
	padding: 2px;
/*	padding: 0 0 0 8px; */
	font-size: 12px;
	line-height: 18px;
	text-align: left;
	empty-cells: show;
}

/* celda com'un: texto no se ajusta en varias lineas */
table.datatable tr.row td, table.datatable tr.row th {
	overflow: hidden;
	white-space: nowrap;
	height: 18px;
}

/* celda expandida: texto se ajusta en varias lineas */
table.datatable tr.expanded td, table.datatable tr.expanded th {
	overflow: scroll;	/* necesario para que msie encare */
}
