/* basic styles */

body {
	font: 11px/14px Arial, Helvetica, sans-serif;
	color: #000;
	stext-align: center;
}

/* form styles */

form {
	width: 780px;	
	
	
	
}

form fieldset {
	margin: 5;
	border: 0;
	padding: 0;
	clear: left;
	border:1px solid #A9A9A9;
	background-color:#ffffff;
}

form legend {
	clear: both;
	font-size: 120%;
	font-weight: bold;
	spadding-left: 0;
	spadding-top: 0.8em;
/*
	position: relative;
	left: -0.5em;
*/
}

kkform kklabel {
	float: left;
	width: 30%;
	display: block;
	padding: 0.4em;
}

form label.wider {
	width: 95%;
}

form label.narrower {
	/* IE 6 (and most other browsers) */
	width: 20%;
}

.xform label.narrower {
	/* IE 5.5 */
	width: 23%;
}

input, select, textarea {
	width: 98%;
	margin-top: 0.1em;
	border:1px solid #cccccc;
	margin:2px;
}

input.centrado{
	text-align:center;
}
.smallinput {
	padding-left: 2em;
	margin-right: -2em;
}

.smallinput input {
	width: 1.2em;
	height: 1.1em;
	margin-right: 0.4em;

	position: relative;
	smargin-left: -1.7em;
	padding-left: 0.3em;
}

.submit input {
	width: 6em;
}

fieldset ul{
	padding:0;
	margin:0;
	background-color:transparent;
}
fieldset ul li {
	display:inline;
	padding:2;
	margin:0;
	vertical-align:text-top;
	background-color:transparent;
}

.opcionListado{
	text-decoration:none;
	color:#41596b;
	background-color:#f0f0f0;
	width:100%;
}
.opcionListado:hover{
	color:#131a1f;
	cursor:pointer;
	background-color:#c0c0c0;
}
.opcionListado:active{
	color:#131a1f;
	cursor:pointer;
	background-color:#c0c0c0;
}
a.opcionListado>ul{color:#131a1f;
	cursor:pointer;
	background-color:#f0f0f0;
}
a.opcionListado>ul:hover{
	background-color:#c0c0c0;
}
a.opcionListado>ul:active{
	color:#131a1f;
	cursor:pointer;
	background-color:#c0c0c0;
}
/*listados pares e impares*/
.opcionListado0{
	text-decoration:none;
	color:#41596b;
	background-color:#f0f0f0;
	width:100%;
}
.opcionListado1{
	text-decoration:none;
	color:#41596b;
	background-color:#cdcdcd;
	width:100%;
}
/*totales*/
.opcionTotales{
	text-decoration:none;
	color:#ffffff;
	background-color:#3366cc;
	width:100%;
}

.titulo{
	background-color:#d5dff3;
	line-height:25px;
	color:black;
	font-weight:bold;
	margin-left:10px;
	margin-right:15px;	
	margin-top:10px;
}
.listado{
	overflow:auto;
	height:130px;
	padding-left:10px;
	margin-right:15px;
	margin-bottom:10px;
}
label{
	white-space : nowrap;
}

/*encolumnados*/

.columnas2 label{
	float: left;
	width: 45%;
	display: block;
	padding: 0.4em;
}

.columnas3 label  {
	float: left;
	width: 30%;
	display: block;
	padding: 0.4em;
}

.columnas4 label {
	float: left;
	width: 23%;
	display: block;
	padding: 0.4em;
}
.columnas5 label {
	float: left;
	width: 19%;
	display: block;
	padding: 0.4em;
}
.columnas6 label {
	float: left;
	width: 16%;
	display: block;
	padding: 0.4em;
}

.anchuraTotal {
	width: 95% !important;
}


.buscar{
	 width:78%;
	 margin-right:5px;
}
.calendario{
	 width:90%;
	 margin-right:5px;
}
.fecha{
	width:100px;
	text-align:center;
}
.boton{
	background-color:#e6e6e6;
	color:black;
	border:1px solid black;
}
.obligatorio{
	background:white url(/imagenes/obligatorio.gif) no-repeat scroll right top;
	sbackground-attachment:fixed;
	padding-right:15px;
}
.radio{
	border:0px;
}
.check{
	border:0px;
}
/* botones bonitos*/

a.button, span.button, del.button{
	
	display:-moz-inline-box;
	display:inline-block;
	cursor:pointer;
	border:none;
    font-size:0;
    line-height:0;
    
	/*
	for Safari, read this first
	http://creativebits.org/webdev/safari_background_repeat_bug_fix
	*/
	background-position:0 0;
	background-repeat:no-repeat;
	height:30px;
	text-decoration:none;
	color:#2e523b;
	font-style:normal;
	margin:0 6px 0px 0;
	padding:0 10px 0 0;	
	vertical-align:middle;	
	
    padding-top:-2px;
	_position:relative;
	_width:10px;	
	_overflow-y:hidden;
}



a.button, span.button, del.button,
a.button span, span.button button, span.button input, del.button span{
    background-image:url(/imagenes/btn0.png);
    _background-image:url(/imagenes/btn0.png);
}


a.button span, span.button button, span.button input, del.button span{
	
	white-space:nowrap;
	cursor:pointer;
    color:#222;
	display:-moz-inline-box;
	display:inline-block;
	line-height:1;
    letter-spacing:0 !important;
    font-family:"Arial" !important;
    font-size:12px !important;
    font-style:normal;    
    background-color:transparent;
	background-position:100% 0;
	background-repeat:no-repeat;
	height:30px;
	padding:8px 20px 0 10px;
	margin:0 -16px 0 10px;
	border:none;
	vertical-align:text-top;
	zoom:1;
	_position:relative;
    _padding-left:0px;
	_padding-right:12px;
	_margin-right:-10px;	
	_display:block;
	_top:0;
	_right:-5px;
	
}


span.button button{
   line-height:2.5;/*Opera need this*/
}

html.safari a.button span, 
html.safari del.button span{
  line-height:1.3;
}

html.safari span.button button{
  line-height:2.6;
}

html.safari a.button:focus,
html.safari span.button button:focus{
    outline:none;
}



del.button{
	/* cursor:not-allowed;	*/
	background-position:0 -120px;
	
}

del.button span{
	cursor:default;
    color:#aaa !important;
	background-position:100% -120px;
}


span.button button, span.button input{
	padding-top:0px;
	line-height:2.5;/*Opera need this*/
}


/** optional **/
/*
a.button:visited{
	color:#aaa;
}
*/


/*Hover Style*/

a.button:hover, 
span.button:hover,
a.button:focus, 

a.dom-button-focus, 
span.button-behavior-hover{
	background-position:0 -60px;
	color:#222;
	text-decoration:none;
}





a.button:hover span, 
span.button:hover button, 
a.button:focus span, 

span.button-behavior-hover button, 
span.button-behavior-hover input{
	background-position:100% -60px;
}


a.button:active, a.button:focus span{
	color:#444;
}




del.button-behavior-hover, del.button:hover{
	background-position:0 -180px;
	/* cursor:not-allowed; */
}


del.button-behavior-hover span, del.button:hover span{
	background-position:100% -180px;
	/* cursor:not-allowed; */
	
}




/*Optional hack for IE6 to simulate :hover selector*/

span.button button, del.button span, span.button input{


	
	_behavior:expression(
		(function(el){

			if( typeof( behavior_onMouseEnter) == 'undefined'){

				
				behavior_onMouseEnter = function(el){
					
					var dEl = this.parentNode;					
					var sClass = dEl.className ;
					dEl.__defaultClassName = sClass ;
					dEl.className = sClass + ' button-behavior-hover';	
					this.setCapture();
				};

				behavior_onMouseLeave = function(el) {
					var dEl = this.parentNode;
					dEl.className = dEl.__defaultClassName ;
					dEl.__defaultClassName = undefined;
					this.releaseCapture();
				};


			};
			
			
			el.runtimeStyle.behavior = 'none';
			el.onmouseenter = behavior_onMouseEnter;
			el.onmouseleave = behavior_onMouseLeave;
			
			
		})(this));




}

/*fin botones bonitos*/
