/*
		Estilo para campos de formulario
*/

*{
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}
fieldset{ margin:.5em auto; height:auto;  padding:1px; width:97%; border:1px solid #aaa; display:block; clear:both }

legend{font-size:12px; font-weight:bold;  padding:0 0.5em; color:#a10c10; }

legend span{font-size:11px; font-weight:normal;  color:#555; margin-left:2px; margin-right:10px;}

label{
    position:relative;
	display: block;
	float:left;
	margin:0 0 1em 1%;
	min-height:2em;
	padding:0;
	color:#a10c10;
	text-align:left;
    font-weight:normal;
	font-size:14px;
	border:0px solid #00f;
}
label span.label{
	position:relative;
	display: block;
	float:left;
	width:100%;
}


label span:not(.label){
	font-size:11px;
	font-weight:normal;
	color:#555;
	margin-left:2px
}



/* Ancho de etiquetas label */
.sinAncho{margin-right:10px; }
.ancho1 {width:99%;}
.ancho2 {width:49%;}
.ancho3 {width:32.3%;}
.ancho4 {width:24%;}
.ancho5 {width:19%;}
.ancho6 {width:15.6%;}
.ancho7 {width:13.2%;}
.ancho8 {width:11.1%;}
.ancho9 {width:11%;}
.ancho10 {width:9%;}
.ancho12 {width:7.20%;}

.ancho23{width:65.6%;}/* border:1px solid #00f*/
.ancho25{width:39%;}/* border:1px solid #00f*/
.ancho27{width:26.4%;}/* border:1px solid #00f*/
.ancho29 {width:20.5%;}
.ancho34{width:74%; }/* border:1px solid #00f*/
.ancho35{width:59%;}/* border:1px solid #00f*/
.ancho45{width:79%;}/* border:1px solid #00f*/
.ancho80{width:85%}
.ancho89{width:88%}
.ancho90{width:90%}
.ancho5_12{width:40%;}/* border:1px solid #00f*/



label input, label textarea {
	float:left;
	padding:8px;
	margin:0 5px;
	color:#000;
	background-color:#eee;
	width:98%;
	font-weight:normal;
	font-size:14px;
	border:1px solid #aaa;
}


label select, label .select{
	float:left;
	padding:8px;
	margin:0;
	color:#000;
	background-color:#eee;
	width:98%;
	font-weight:normal;
	font-size:14px;
	border:1px solid #aaa;
}

label input:disabled, label textarea:disabled,
label select:disabled, label .select:disabled {
	cursor: not-allowed;
}


label input:hover{border:1px solid #EB3C11;}

label input[type=checkbox],
label input.checkbox,
label input.radio,
label input[type=radio]{
	border:1px solid #ccc;
	float:left;
	width:1em;
	margin: 0 .5em
}


label input[type=file],
label input.file{
	float:left;
	padding:1%;
	margin:0;
	border:1px solid #eceb02;
	display:inline;
	width:98%;
}


/* Estilo para os select recursivos */

.option0{
	background-color:#aaa;
	color:#000;
}


.ui-widget textarea, textarea{
	font-family:Verdana, Arial, Helvetica, sans-serif;
	font-weight:normal;
	margin-bottom:0.5em;
	width:98%;
	padding:1%;
	border:1px solid #aaa;
	background-color:#eee;
	color:#000;

}

textarea:hover{border:1px solid #EB3C11;}
	textarea.jrande{height:14em}
	textarea.normal{height:8em;}
	textarea.corta{height:6em; }
	textarea.superCorta{height:3em; }



.ui-widget input.tocho, .tocho{font-size:2.5em; text-align:center}
.ui-widget input.tocho2, .tocho2{font-size:2em; text-align: center}


/*Resaltado de campos con error*/
.errorBg{
	background-color:#fec2c2;
}

/*Zona de scroll con varios checkboxes SJB */

/* Cuadro onde se porán os checkboxes, pero sin valores todavía */
.SJB_checkboxesOFF{
	float:left;
	width:99%;
	padding:1%;
	background-color:#eee;
	color:#000;
	border: 1px solid #aaa;
	height:1em;
}

/*Clase da capa cando se poñen os checkboxes*/
.SJB_checkboxesON{
    min-height: 1em;
	padding: 2% 1%;
	width:99%;
	max-height:140px;
    overflow: auto;
   	background-color:#eee;
	color:#000;
	border: 1px solid #aaa;
}

/* Estilo do checkbox*/
.SJB_labelCheckbox{
	margin:5px 0;
	clear:both;
	color:#555;
}

.SJB_labelCheckbox input{
	margin-top:.6em;
}



/*.boton{font-size: 16px; width:auto; color: #444; background-color: #ccc; padding:3px;}*/

hr{margin:1.5em auto}

.botonera{text-align:center; margin: 1em auto; width:99%; float:left; clear:both; border:0px solid #f0f}

.novoRexistro{text-align:center; clear:both; margin: 1em auto; border:0px solid #f00}

.boton:disabled{color:#aaa}



.custom-combobox {
    position: relative;
	width:99%;
    display: inline-block;
  }
  .custom-combobox-toggle {
    position: relative;
    top: 0;
    bottom: 0;
    margin-left: 0.5%;
    padding: 0;
	height:20px;
	width:10%;
  }
  .custom-combobox-input {
    margin: 0;
	width:89%;
    padding: 5px 10px;
  }

	.ui-autocomplete.ui-front.ui-menu{
		max-height:185px;
		 overflow-x: hidden;
		overflow-y: scroll;
	}


/* Buqueda dinamic ad clientes */
input#cliente-fake{
	text-align: center;
}
input#cliente-fake{
	width: calc(100% - 60px);
}
.boton-show-selector-clientes{
	padding:8px;
	border:1px solid;
	font-size:14px;
	text-align: center;
	content:'+';
	border:0;
}
.boton-show-selector-clientes:hover{
	background:#a10c10;
	color:#fff;
	cursor:pointer;
}