legend {
	font-size: 100%;
}

body.bodyAgri legend{
	font-size: 100%;
}

body.bodyAgri {
	font-family: Arial,Helvetica,sans-serif;
}

/* campos obligatorios*/
.obligatorio {
	margin-top: 2px;
}
.window-centered {
    clear: both;
}

div.wrapper_menu_secundario {
    background: url("../img/bg_menu_secundario.jpg") no-repeat scroll right top transparent;
    height: auto;
    min-height: 43em;
    font-size: 11px;
    font-weight: normal;
}

ul#menu_secundario{padding:.9em 0 1em 0.7em; margin: 0}
ul#menu_secundario li{margin-bottom:.4em; font-size:1.2em;  color:#002e59; list-style-type: none; font-size: 11px; font-weight:normal; margin-left: 0; margin-right: 15px;}
ul#menu_secundario li img{margin-left:.2em; margin-bottom:.05em;}
ul#menu_secundario li.sel{font-weight:bold; font-size:1.2em; color:#01162a;}
ul#menu_secundario li a{text-decoration:none; color:#4D4D4D;}
ul#menu_secundario li a:hover{color:#014993;}
		
ul#menu_secundario ul {padding-top:.5em; font-weight:normal;}
ul#menu_secundario li li{margin-bottom:.6em; padding-left:1em; font-size:.9em; color:#856707;}
ul#menu_secundario li li.sel{background: url(../img/bullet_flecha_marron_dcha.gif) no-repeat .2em .4em; font-size:.917em; color:#876706;}
ul#menu_secundario li li a{color:#856707;}	
ul#menu_secundario li li a:hover{color:#87560c;}

#menu_secundario a.segundo_nivel {
	text-decoration: none;
	color: #4D4D4D;
	display: block;
	height: 10px;
	padding: 3px 0px 7px 13px;
	background-image: url(../img/bullet_flecha_marron_dcha.gif);
	background-position: left center;
	background-repeat: no-repeat;
	font-weight: normal;
}

th.titulo-columna {
	font-weight: bold;
}

#header{
	height: 165px;
}




/*       Esto es heredado del antiguo estilos.css     */


/* -----------------------------------------------------------------
		form
----------------------------------------------------------------- */
form.dm_form {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 11px;
	margin: 0;
	margin-top: 20px;
	padding: 0;
	border: 0;
}

form.dm_form div.form_wrapper {
	width: 740px;
}

form.dm_form div.input_oc {
	display: table-cell;
}

form.dm_form div.izquierda {
	width: 50%;
	float: left;
	clear: left;
}

form.dm_form div.derecha {
	width: 50%;
	float: right;
	clear: right;
}


/*	---------------------------
		labels and wrappers
--------------------------- */
form.dm_form label {
	font-size: 11px;
    line-height: 1.7em;
     text-align: right;
    /*width: 100%;*/
    right: 5px;
    display: inline;
    /*float: none;*/
    min-width: 0px;
}

form.dm_form label.izquierda{
	width: 95%;
}

form.dm_form label.derecha{
	width: 95%;
}

form.dm_form label.oc_izquierda {
	margin-left: -102px;
}

form.dm_form label.anchoAuto {
	width: auto;
}

form.dm_form a {
	margin: 0 1%;
}

form.dm_form span.wrapper {
	margin: 0;
	padding: 0;
	padding-left: 30px;
	display: table-cell;
	width: 1%; /* firefox */
}


/*	---------------------------
		width
--------------------------- */
/*	-------------------------------
		ESTILOS ERRORES FORMULARIO
---------------------------------- */
form.dm_form label.error input.field,form.dm_form label.error select.field,form.dm_form label.error textarea.field{
	border-color: #dd1100;
	background-color: #F8DADA;
}

form.dm_form label.error span.title {
	color: #dd1100;
}

/*	---------------------------
		Titulos 
--------------------------- */
form.dm_form label span.title {
	clear: both;
    display: inline;
    float: left;
    padding-bottom: 10px;
    padding-right: 25px;
    padding-left: 10px;
    text-align: right;
    width: 10%;
}

form.dm_form fieldset span.title_tc {
    clear: both;
    display: inline;
    float: left;
    font-size: 11px;
    padding-bottom: 10px;
    padding-left: 10px;
    padding-right: 10px;
    text-align: right;
    width: 110px;
}

form.dm_form label span.title_oc {
	text-align: right;
	clear: both;
	width: 30%;
	display: inline;
	float: left;
	padding-right: 5%;
}
}

form.dm_form fieldset span.title_oc {
	form.dm_form label span.title {
	clear: both;
    display: inline;
    float: left;
    padding-bottom: 10px;
    padding-right: 25px;
    padding-left: 10px;
    text-align: right;
    width: 10%;
}

form.dm_form label span.title_oc {
	text-align: right;
	clear: both;
	padding-bottom: 10px;
	width: 30%;
	display: inline;
	float: left;
	padding-right: 15px;
}
}

form.dm_form label span.field_oc {
	float: left;
}

form.dm_form label span.title_combo {
	text-align: left;
	float: left;
	clear: both;
}

form.dm_form label span.example {
	color: #999;
	font-style: italic;
	font-size: 10px;
}

/*	---------------------------
		input/select fields 
--------------------------- */
form.dm_form label input.field,form.dm_form label select.field,form.dm_form label textarea.field
	{
	width: 100%;
	display: block;
	border: 1px solid #7f9db9;
	background: #FFFFFF;
	padding: 2px;
	font-size: 11px;
	font-family: sans-serif;
	font-size: 1em;
	box-sizing: border-box;
	-moz-box-sizing: border-box; /* gecko */
	-webkit-box-sizing: border-box; /* khtml/webkit */
	-ms-box-sizing: border-box; /* IE */
	color: #004B98;
}

form.dm_form label input.field_oc,form.dm_form label select.field_oc,form.dm_form label textarea.field_oc{
	float: left;
	display: inline;
	padding: 2px;
	font-size: 11px;
	font-family: sans-serif;
	font-size: 11px;
	box-sizing: border-box;
	-moz-box-sizing: border-box; /* gecko */
	-webkit-box-sizing: border-box; /* khtml/webkit */
	-ms-box-sizing: border-box; /* IE */
	min-width: 10px;
}

form.dm_form input,form.dm_form select,form.dm_form textarea{
	float: left;
	display: inline;
	padding: 2px;
	font-size: 11px;
	font-family: sans-serif;
	font-size: 11px;
	box-sizing: border-box;
	-moz-box-sizing: border-box; /* gecko */
	-webkit-box-sizing: border-box; /* khtml/webkit */
	-ms-box-sizing: border-box; /* IE */
	min-width: 10px;
}

form.dm_form fieldset input.field_occ,form.dm_form fieldset select.field_occ,form.dm_form fieldset textarea.field_occ{
	float: left;
	display: inline;
	border: 1px solid #7f9db9;
	background: #FFFFFF;
	padding: 2px;
	font-size: 11px;
	font-family: sans-serif;
	font-size: 1em;
	box-sizing: border-box;
	-moz-box-sizing: border-box; /* gecko */
	-webkit-box-sizing: border-box; /* khtml/webkit */
	-ms-box-sizing: border-box; /* IE */
	color: #004B98;
	margin-right: 12px;
}

/*	---------------------------
		input/select fields 
--------------------------- */
form.dm_form label input.data_field,form.dm_form label select.data_field,form.dm_form label textarea.data_field{
	width: 50%;
	border: 1px solid #7f9db9;
	background: #FFFFFF;
	padding: 2px;
	font-size: 11px;
	font-family: sans-serif;
	font-size: 1em;
	box-sizing: border-box;
	-moz-box-sizing: border-box; /* gecko */
	-webkit-box-sizing: border-box; /* khtml/webkit */
	-ms-box-sizing: border-box; /* IE */
	color: #004B98;
}

form.dm_form label select.field {
	padding: 4px 1px 1px 1px; /* have to try out */
}

form.dm_form label input.field:focus,form.dm_form label select.field:focus,form.dm_form label textarea.field:focus{
	border: 1px solid #7f9db9;
	background: #FFFFFF;
}

/* Pflichtfelder
			mandatory fields */
form.dm_form label.mandatory input.field,form.dm_form label.mandatory select.field,form.dm_form label.mandatory textarea.field{
	border: 1px solid #7f9db9;
}

/* 	mandatory fields */
form.dm_form label.disabled input.field,form.dm_form label.disabled select.field,form.dm_form label.disabled textarea.field{
	border: 1px solid #7f9db9;
	background-color: #E3EDF6;
}

/* Kalenderfelder
			calendar fields */
form.dm_form label.calendar input.field {
	padding-right: 25px;
}

/*	---------------------------
		checkboxes y radios
--------------------------- */
form.dm_form input.select {
	display: block;
	float: left;
	margin-top: 0;
	margin-right: 5;
	margin-bottom: 0;
	margin-left: 0;
}

.labelcheckbox {
	text-align: left;
	margin: 0 1%;
}

/*	---------------------------
		submit button
--------------------------- */
form.dm_form input.submit {
	width: 100%;
	background: #809db5;
	color: #fff;
	padding: 2px 0;
	font-size: 1em;
}

form.dm_form input.submit:hover,form.dm_form input.submit:focus {
	background: #57ab44;
}

/*	---------------------------
		calendario
--------------------------- */
form.dm_form a.calendar {
	float: right;
	position: relative;
	top: 3px;
	left: -20px;
	z-index: 1000;
}

form.dm_form a.calendar img {
	border: 0;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1001;
}

/*	-----------------------------------
		estilos adicionales a los label
-------------------------------------- */
form.dm_form label.inputselect span.title {
	margin: 0 0 2px 0;
	display: table; /* act as inline-block */
}

form.dm_form label span.title:hover,form.dm_form label span.title:focus{
	color: #004B98;
	cursor: pointer;
}

form.dm_form label br {
	margin: 0 0 2px 0;
}

/*	---------------------------
		estilos adicionales a los
		checkboxes y radios
--------------------------- */
form.dm_form label.wauto {
	width: auto;
	margin-right: 15px;
}

form.dm_form label.radiocheck {
	margin-bottom: 10px;
}

form.dm_form label.radiocheck span.wrapper {
	padding-right: 0;
}

form.dm_form label.wauto span.wrapper {
	display: inline;
}

form.dm_form label.radiocheck span.title {
	display: block;
	padding: 0;
}

form.dm_form p,form.dm_form h3 {
	margin: 0 10px 10px 10px;
}

/*	---------------------------
		ordenacion de elementos
--------------------------- */
.clear {
	clear: both;
	display: block;
	padding: 0 0 10px 0;
}

.margen0 {
	margin-bottom: 0 !important;
}


/* capas de errores */
div.errors {
	display: none; /* JS toggle */
	margin: 0 1% 30px 1%;
	padding: 5px 10px;
	background: #dd1100;
}

div.errors p {
	color: #fff;
	margin: 0 0 0.5em 0;
}

div.errors ul {
	margin: 0 0 0 1.6em;
	padding: 0;
}

div.errors ul li {
	margin: 0;
	padding: 0;
	color: #fff;
	list-style-type: square;
}


/* objetos contenedor */
#contenedor_botones_extenos {
	width: 450px;
	float: left;
	text-align: right;
	overflow: hidden;
	background-position: center;
	margin: auto;
	clear: right;
}

#contenedor_botones_extenos_acciones {
	width: 100px;
	float: right;
	text-align: right;
}



#texto_obligatorio {
	width: 98%;
	text-align: right;
	float: right;
	font-size: 10px;
	font-weight: normal;
	margin-right: 25px;
}

#chekboxs {
	width: auto;
	text-align: left;
	margin-left: 4px;
}

#radio {
	width: 20px;;
	text-align: left;
	margin-left: 4px;
}

#radio li {
	list-style-type: none;
	position: relative;
	float: left;
}

.texto_rojo {
	color: #DD1100
}


input.error {
	border: 1px solid red;
	background-color: #FFDDDD;
	width: 100%;
}

select.error {
	border: 1px solid red;
	background-color: #FFDDDD;
	width: 100%;
}

/* ESTILOS DE LOS FORMULARIOS INCLUIDOS EN DIÁLOGOS */
form.dialogoform {
	width: auto;
	height: auto;
	margin: auto;
	padding: auto;
	max-width: 275px;
	min-width: 275px;
	width: 275px;
}

form.dialogoform div {
	font-size: 12px;
	margin-top: 15px;
	margin-bottom: 15px;
}

form.dialogoform select,form.dialogoform input[type="text"],form.dialogoform input[type="password"],form.dialogoform input[type="radio"],form.dialogoform input[type="checkbox"],form.dialogoform input[type="file"],form.dialogoform textarea{
	font-family: Arial, Helvetica, sans-serif;
	margin: 0px;
	-moz-border-radius: 0 0 0 0;
	-webkit-border-radius: 0 0 0 0;
	-ms-border-radius: 0 0 0 0;
	width: auto;
	border: 1px solid #7f9db9;
}

form.dialogoform label {
	font-size: 11px;
	font-weight: bold;
	text-align: left;
	color: #2864AF;
}

/* ESTILOS ERRORES */
label.error {
	/* remove the next line when you have trouble in IE6 with labels in list */
	color: red;
	font-style: italic;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 10px;
	text-align: left;
}

div.error {
	display: none;
}

input.error {
	border: 1px solid red;
	background-color: #FFDDDD;
}

jfVal {
	position: absolute;
	z-index: 1110;
}

.jValSpacer {
	position: absolute;
	width: 0px;
	float: left;
}

.jValSpacercover {
	background: #eee url(eeGrad2.gif) bottom repeat-x;
	border: 1px solid #ccc;
	border-right: 0px;
}

.jValSpacerpod {
	background: #f0f2f5 url(f0f2f5grad.gif) bottom repeat-x;
	border: 1px solid #ccc;
	border-right: 0px;
}

.jValSpacerblank {
	height: 16px !important;
	opacity: 0.6;
}

.jfVal .icon {
	float: left;
}

.jfVal .iconcover {
	background: #eee url(eeGrad2.gif) bottom repeat-x;
	border: 1px solid #ccc;
	border-width: 1px 0px;
	width: 20px;
	text-align: left;
}

.jfVal .iconpod {
	background: #f0f2f5 url(f0f2f5grad.gif) bottom repeat-x;
	border: 1px solid #ccc;
	border-left: 0px;
	-moz-border-radius-topright: 3px;
	-moz-border-radius-bottomright: 3px;
	-webkit-border-top-right-radius: 3px;
	-webkit-border-bottom-right-radius: 3px;
	width: 20px;
	text-align: left;
}

.jfVal .iconblank {
	background: #fff;
	margin-top: -4px;
	height: 20px !important;
	padding-left: 5px;
}

.jfVal .icon .iconbg {
	background: url(warning.gif) center left no-repeat;
	height: 100%;
	width: 16px;
}

.jfVal .content {
	color: red;
	vertical-align: middle;
	white-space: nowrap;
	float: left;
	padding-right: 5px;
}

.jfVal .contentcover {
	background: #eee url(eeGrad2.gif) bottom repeat-x;
	border: 1px solid #ccc;
	border-left: 0px;
	-moz-border-radius-topright: 3px;
	-moz-border-radius-bottomright: 3px;
	-webkit-border-top-right-radius: 3px;
	-webkit-border-bottom-right-radius: 3px;
}

.jfVal .messagepod {
	opacity: 0.8;
	background: #fff;
	padding: 2px 5px;
}

.jfVal .messageblank {
	background: #fff;
	padding: 2px 5px;
}

#form_blank input[type=text],#form_blank [jVal] {
	padding-top: 3px;
}

/* texto dentro de la imagen azul en elipse alargada */
#fondo {
	text-decoration: none;
	color: #FFF;
	background-image: url(../img/menu_primer_nivel_fondo.png);
	background-repeat: no-repeat;
	display: block;
	width: 200px;
	height: 18px;
	padding: 3px 6px 3px 6px;
	font-weight: bold;
}

.treeview,.treeview ul {
	padding: 0;
	margin: 0;
	list-style: none;
}

.treeview ul {
	background-color: white;
	margin-top: 4px;
}

.treeview .hitarea {
	text-decoration: none;
	color: #FFF;
	/*background: url(images/treeview-default.gif) -64px -25px no-repeat;*/
	height: 16px;
	width: 16px;
	margin-left: -16px;
	float: left;
	cursor: pointer;
}

/* fix for IE6 */
* html .hitarea {
	display: inline;
	float: none;
}

.treeview li {
	margin: 0;
	padding: 3px 0pt 3px 16px;
}

.treeview a.selected {
	background-color: #eee;
	background-image: url(../img/menu_primer_nivel_fondo.png);
}

#treecontrol {
	margin: 1em 0;
	display: none;
}

.treeview .hover {
	color: red;
	cursor: pointer;
}

.treeview li {
	background: url(images/treeview-default-line.gif) 0 0 no-repeat;
}

.treeview li.collapsable,.treeview li.expandable {
	background-position: 0 -176px;
}

.treeview .expandable-hitarea {
	background-position: -80px -3px;
}

.treeview li.last {
	background-position: 0 -1766px
}

.treeview li.lastCollapsable,.treeview li.lastExpandable {
	background-image: url(images/treeview-default.gif);
}

.treeview li.lastCollapsable {
	background-position: 0 -111px
}

.treeview li.lastExpandable {
	background-position: -32px -67px
}

.treeview div.lastCollapsable-hitarea,.treeview div.lastExpandable-hitarea
	{
	background-position: 0;
}

.treeview-red li {
	background-image: url(images/treeview-red-line.gif);
}

.treeview-red .hitarea,.treeview-red li.lastCollapsable,.treeview-red li.lastExpandable
	{
	background-image: url(images/treeview-red.gif);
}

.treeview-black li {
	background-image: url(images/treeview-black-line.gif);
}

.treeview-black .hitarea,.treeview-black li.lastCollapsable,.treeview-black li.lastExpandable
	{
	background-image: url(images/treeview-black.gif);
}

.treeview-gray li {
	background-image: url(images/treeview-gray-line.gif);
}

.treeview-gray .hitarea,.treeview-gray li.lastCollapsable,.treeview-gray li.lastExpandable
	{
	background-image: url(images/treeview-gray.gif);
}

.treeview-famfamfam li {
	background-image: url(images/treeview-famfamfam-line.gif);
}

.treeview-famfamfam .hitarea,.treeview-famfamfam li.lastCollapsable,.treeview-famfamfam li.lastExpandable
	{
	background-image: url(images/treeview-famfamfam.gif);
}

.filetree li {
	padding: 3px 0 2px 16px;
}

.filetree span.folder,.filetree span.file {
	padding: 1px 0 1px 16px;
	display: block;
}

.filetree span.folder {
	background: url(images/folder.gif) 0 0 no-repeat;
}

.filetree li.expandable span.folder {
	background: url(images/folder-closed.gif) 0 0 no-repeat;
}

.filetree span.file {
	background: url(images/file.gif) 0 0 no-repeat;
}


/* cell styles */
.datagrid td {
	color: #000000;
	padding: 2px 8px;
	border-right-style: solid;
	border-right-width: 1px;
	border-right-color: #E9E8E9;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 11px;
	text-align: center;
	font-weight: normal;
}

/* mouseover row style
.datagrid tr:hover{ background-color:#91b812; z-index:1000;}*/
.datagrid th:hover {
	background-color: #b0d0f2;
	z-index: 100000;
}

/* header Row style*/
.datagrid tr:nth-child(even) {
	background-color: #E9E8E9;
}

.datagrid tr:nth-child(odd) {
	background-color: #F2F2F2;
}

/* para IE explorer*/
.even {
	background-color: #E9E8E9;
}

.odd {
	background-color: #F2F2F2;
}

.HeaderDatagrid { /*background-image: url('imgs/fondo_fila.gif');*/
	position: relative;
	top: expression(this.offsetParent.scrollTop-2);
	text-align: center;
}

.pagebanner {
	font-size: 11px;
	font-weight: normal;
	background-color: #003399;
	color: #FFFFFF;
	float: left;
	width: 34.58%;
	height: 23px;
	text-align: left;
	line-height: 20px;
	padding-left: 5px;
	padding-right: 5px;
}

.pagelinks {
	font-size: 11px;
	font-weight: normal;
	background-color: #003399;
	color: #FFFFFF;
	float: left;
	width: 64%;
	height: 23px;
	text-align: left;
}

/* Datepicker
----------------------------------*/
.ui-datepicker {
	width: 17em;
	padding: .2em .2em 0;
}

.ui-datepicker .ui-datepicker-header {
	position: relative;
	padding: .2em 0;
}

.ui-datepicker .ui-datepicker-prev,.ui-datepicker .ui-datepicker-next {
	position: absolute;
	top: 2px;
	width: 1.8em;
	height: 1.8em;
}

.ui-datepicker .ui-datepicker-prev-hover,.ui-datepicker .ui-datepicker-next-hover
	{
	top: 1px;
}

.ui-datepicker .ui-datepicker-prev {
	left: 2px;
}

.ui-datepicker .ui-datepicker-next {
	right: 2px;
}

.ui-datepicker .ui-datepicker-prev-hover {
	left: 1px;
}

.ui-datepicker .ui-datepicker-next-hover {
	right: 1px;
}

.ui-datepicker .ui-datepicker-prev span,.ui-datepicker .ui-datepicker-next span
	{
	display: block;
	position: absolute;
	left: 50%;
	margin-left: -8px;
	top: 50%;
	margin-top: -8px;
}

.ui-datepicker .ui-datepicker-title {
	margin: 0 2.3em;
	line-height: 1.8em;
	text-align: center;
}

.ui-datepicker .ui-datepicker-title select {
	float: left;
	font-size: 1em;
	margin: 1px 0;
}

.ui-datepicker select.ui-datepicker-month-year {
	width: 100%;
}

.ui-datepicker select.ui-datepicker-month,.ui-datepicker select.ui-datepicker-year
	{
	width: 49%;
}

.ui-datepicker .ui-datepicker-title select.ui-datepicker-year {
	float: right;
}

.ui-datepicker table {
	width: 100%;
	font-size: .9em;
	border-collapse: collapse;
	margin: 0 0 .4em;
}

.ui-datepicker th {
	padding: .7em .3em;
	text-align: center;
	font-weight: bold;
	border: 0;
}

.ui-datepicker td {
	border: 0;
	padding: 1px;
}

.ui-datepicker td span,.ui-datepicker td a {
	display: block;
	padding: .2em;
	text-align: right;
	text-decoration: none;
}

.ui-datepicker .ui-datepicker-buttonpane {
	background-image: none;
	margin: .7em 0 0 0;
	padding: 0 .2em;
	border-left: 0;
	border-right: 0;
	border-bottom: 0;
}

.ui-datepicker .ui-datepicker-buttonpane button {
	float: right;
	margin: .5em .2em .4em;
	cursor: pointer;
	padding: .2em .6em .3em .6em;
	width: auto;
	overflow: visible;
}

.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current {
	float: left;
}

/* with multiple calendars */
.ui-datepicker.ui-datepicker-multi {
	width: auto;
}

.ui-datepicker-multi .ui-datepicker-group {
	float: left;
}

.ui-datepicker-multi .ui-datepicker-group table {
	width: 95%;
	margin: 0 auto .4em;
}

.ui-datepicker-multi-2 .ui-datepicker-group {
	width: 50%;
}

.ui-datepicker-multi-3 .ui-datepicker-group {
	width: 33.3%;
}

.ui-datepicker-multi-4 .ui-datepicker-group {
	width: 25%;
}

.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header {
	border-left-width: 0;
}

.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header {
	border-left-width: 0;
}

.ui-datepicker-multi .ui-datepicker-buttonpane {
	clear: left;
}

.ui-datepicker-row-break {
	clear: both;
	width: 100%;
}

/* RTL support */
.ui-datepicker-rtl {
	direction: rtl;
}

.ui-datepicker-rtl .ui-datepicker-prev {
	right: 2px;
	left: auto;
}

.ui-datepicker-rtl .ui-datepicker-next {
	left: 2px;
	right: auto;
}

.ui-datepicker-rtl .ui-datepicker-prev:hover {
	right: 1px;
	left: auto;
}

.ui-datepicker-rtl .ui-datepicker-next:hover {
	left: 1px;
	right: auto;
}

.ui-datepicker-rtl .ui-datepicker-buttonpane {
	clear: right;
}

.ui-datepicker-rtl .ui-datepicker-buttonpane button {
	float: left;
}

.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current
	{
	float: right;
}

.ui-datepicker-rtl .ui-datepicker-group {
	float: right;
}

.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header {
	border-right-width: 0;
	border-left-width: 1px;
}

.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header {
	border-right-width: 0;
	border-left-width: 1px;
}

/* IE6 IFRAME FIX (taken from datepicker 1.5.3 */
.ui-datepicker-cover {
	display: none; /*sorry for IE5*/
	display /**/: block; /*sorry for IE5*/
	position: absolute; /*must have*/
	z-index: -1; /*must have*/
	filter: mask(); /*must have*/
	top: -4px; /*must have*/
	left: -4px; /*must have*/
	width: 200px; /*must have*/
	height: 200px; /*must have*/
}

.detail {
	font-family: lucida grande, arial, helvetica, sans-serif;
	font-size: 11px;
	background-color: #fff;
	border: 1px solid #000;
	padding: 4px;
}

.detail .footer {
	text-align: right;
	padding: 8px;
}

/* table style */
.detailgrid {
	border: solid 1px #ad9e87;
}

table td.details {
	background: #FAFAFA;
	border: 1px;
	border-style: solid;
	border-color: #F0F0F0;
	}
	
form.dm_form table tr {
	background: #FFFFFF;
	border: 1px;
}

form.dm_form table tr td{
	padding: 0px;
	padding: 2px;
	border: solid;
}
/* cell styles */
.detailgrid td {
	cursor: default;
	height: 20px;
	color: #000;
	padding: 2px 8px;
	border-right-style: solid;
	border-right-width: 1px;
	border-right-color: #f2e8da;
	border-bottom-style: solid;
	border-bottom-width: 1px;
	border-bottom-color: #f2e8da;
}

#titulo {
	height: 20px;
	text-align: center;
	padding-left: 10px;
	font-size: 11px;
	color: #FFFFFF;
	font-weight: bold;
	margin-top: 5px;
	margin-right: auto;
	margin-left: auto;
	clear: both;
}

#contenido_izquierda {
	width: 200px;
	height: 80px;
	float: left;
	font-size: 10px;
	color: #333333;
	padding-left: 25px;
	vertical-align: bottom;
	padding-top: 150px;
	padding-right: 5px;
}

#contenido_izquierda p .{
	color: #00FF00;
}

#contenido_derecho {
	width: 290px;
	height: auto;
	float: right;
	font-size: 10px;
	text-align: left;
	margin-top: 15px;
	padding-right: 30px;
}

#formulario_login {
	height: 100px;
	text-align: right;
	font-size: 9px;
	width: 280px;
	vertical-align: sub;
}

.grid {
	font-family: tahoma;
	font-size: 9px;
	border: solid 1px #7f7f7f;
	border-bottom-width: 1px;
	border-collapse: collapse;
	color: #333333;
	width: 100%;
	text-align: left;
}

/* header column rules */
.grid th {
	background: url(../img/sprite.png) repeat-x 0px 0px;
	border-color: #989898 #cbcbcb #989898 #989898;
	border-style: solid solid solid none;
	border-width: 1px 1px 1px medium;
	color: #000;
	padding: 4px 5px 4px 10px;
	vertical-align: bottom;
	text-align: left;
}

.grid th a {
	color: #333333;
	font-weight: bold;
	text-decoration: none;
	display: block;
	padding-right: 10px;
}

/* data cell and data row rules */
.grid td {
	color: #333333;
	padding: 4px 10px 4px 10px;
	border-bottom: solid 0px #BBD9EE;
}

.grid .altrow {
	background-color: #EBF4FA;
}

.grid .row {
	background-color: #fff;
}

.grid .rownum {
	width: 15px;
	text-align: left;
	padding-left: 0px;
	font-weight: bold;
	color: #333333;
}

/* group header */
.grid .group span {
	padding: 10px 0px 2px 0px;
	color: #666666;
	text-align: left;
	font-size: 13px;
	font-weight: bold;
	cursor: pointer;
}

.grid .group img {
	cursor: pointer;
}

/* fondo del párrafo de color rojo*/
.fondo_rojo {
	background-color: #ff0000;
	color: black;
}

/* Texto con imagen del mas delante*/
.menu_head {
	cursor: pointer;
	position: relative;
	margin: 1px;
	font-weight: bold;
	background-image: url(../img/menu_acordeon/fondo_1_nivel_mas.png);
	background-repeat: no-repeat;
	background-position: left center;
	color: #FFFFFF;
	padding-top: 5px;
	padding-right: 10px;
	padding-bottom: 5px;
	padding-left: 17px;
}

.menu_body {
	display: none;
	width: 200px;
}

.menu_body a {
	display: block;
	color: #004D9B;
	padding-left: 10px;
	font-weight: bold;
	text-decoration: none;
	background-color: #DCE6F0;
	line-height: 120%;
	width: 200px;
}

.menu_body a:hover {
	color: #339900;
	text-decoration: underline;
}

.menu_body a.segundo_nivel {
	text-decoration: none;
	color: #004B98;
	width: 180px;
	display: block;
	height: 10px;
	background-image: url(../img/menu_acordeon/menu_flecha_3nivel_on.gif);
	background-position: 10px center;
	background-repeat: no-repeat;
	padding-top: 3px;
	padding-right: 0px;
	padding-bottom: 7px;
	padding-left: 20px;
}

.menu_body a.segundo_nivel:hover {
	text-decoration: none;
	color: #3A6A00;
}

.menu_body a.tercer_nivel {
	text-decoration: none;
	font-weight: normal;
	color: #004B98;
	display: block;
	height: 10px;
	background-image: url(../img/menu_flecha_3nivel_off.gif);
	background-position: 20px center;
	background-repeat: no-repeat;
	width: 175px;
	padding-top: 3px;
	padding-right: 0px;
	padding-bottom: 5px;
	padding-left: 30px;
}

.menu_body a.tercer_nivel:hover {
	text-decoration: none;
	color: #3A6A00;
	background-image: url(../img/menu_flecha_3nivel_on.gif);
}

div.scroll {
	overflow-y: scroll;
	overflow-x: hidden;
}

#wrapper {
	width: 750px;
	margin-top: 0px;
	margin-right: auto;
	margin-bottom: 1px;
	margin-left: auto;
}

.sortable {
	width: 740px;
	border: 1px solid #ccc;
	border-bottom: none;
	height: 400
}

.sortable th {
	padding: 4px 6px 6px;
	background: #444;
	color: #fff;
	text-align: left;
	color: #ccc
}

.sortable td {
	padding: 2px 4px 4px;
	background: #fff;
	border-bottom: 1px solid #ccc
}

.sortable .head {
	background: #444 url(images/sort.gif) 6px center no-repeat;
	cursor: pointer;
	padding-left: 18px
}

.sortable .desc {
	background: #222 url(images/desc.gif) 6px center no-repeat;
	cursor: pointer;
	padding-left: 18px
}

.sortable .asc {
	background: #222 url(images/asc.gif) 6px center no-repeat;
	cursor: pointer;
	padding-left: 18px
}

.sortable .head:hover,.sortable .desc:hover,.sortable .asc:hover {
	color: #fff
}

.sortable .even td {
	background: #f2f2f2
}

.sortable .odd td {
	background: #fff
}

.chek {
	margin-left: 4px;
}

ul,ol,dl,li,dt,dd {
	margin: 0;
	padding: 0;
}


