/*
   Color1 = #FCF08C;
   Color2 = #ffcc23;
   presupuestos = #ED670D;
   pedidos = #FFFF00;
   albaranes = #79A5EF;
   facturas = #28870B;
   ordenes trabajo = #FFF;
*/   

html, body, #container { height: 100%; }
body > #container { height: auto; min-height: 100%; }

body {
	margin: 0;
	font: 12px Verdana, Calibrí, "Myriad Pro", sans-serif;
	color: #000; /* 333 */
	overflow-x: hidden;
	background-color: #f8f8f8; 
	/* background: #f8f8f8 url(../../img/fondo1.jpg) center bottom no-repeat;  */
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position:  center 70px; 
}

.salto { 
	clear: both; 
	display: block; 
}

.box {	
	-webkit-box-sizing: border-box; 
	-moz-box-sizing: border-box; 
	box-sizing: border-box; 
}

/* IMAGENES */
img { border: 0; }


/* LINKS */
a {	text-decoration: none; outline: none; }


h2{
background: #aaa;
font-weight: bold;
padding: 3px;
padding-top: 10px;
text-decoration:underline;
}


/********************************************** LOGIN ***************************************************/
#pagina{
	position: absolute;
	top: 0px;
	width: 100%;
	margin: 0;
	overflow: auto;
	text-align:center;
	background-image: url("../img/fondo.png"); 
	background-repeat: repeat; 
	left: 0;
	height:100%;
}
.etiquetaizq{
	color: #FFFFFF;
}
/********************************************** CABECERA ***************************************************/

	#cabecera {
		position: fixed;
		width: 100%;
		margin: auto;
		top: 0;
		left: 0;		
		margin: 0;		
		z-index: 99;		
	}
	#barra{
		position: relative;
		width: 100%;
		height: 70px;
		background: #ffcc23;	
	}
	#barra .logo{
		position: relative;	
		float:left;
		top: 5px;
		left: 5px;
		height: 70px;
	}
	#barra .menu{
		position: relative;	
		float:left;
		top: 0;
		padding-top: 23px;
		left: 3px;
		height: 46px;
		width: 95px;
		margin-left: 5px;
		padding-left: 10px;
		color: #000;
		font-size: 14px;
		font-weight: bold;
	/*	background: #ffcc23; */
		
	}
	#barra .menu a, #barra .menu a:visited{
		color:#000;
	}

	#barra .menuselec{
		background: #FCF08C;	
	}
	
	#barra .menu:hover{
		cursor:pointer;
		background: #FCF08C;
	}	

	#barra #datossesion{
		position: relative;	
		float:right;
		top: 3px;
		right: 15px;
		padding: 3px;
		color: #000;
		font-size: 12px;
		width: 215px;	
	}

	
	.menudesplegable{
		clear: both; 
		display: block;
		position: relative;	
		float:left;
		top: 0px;
		left: 62px;
		background: #ffcc23;		
		color: #000;
		font-size: 14px;
		font-weight: bold;
		width: 305px;
		z-index:999; 
	}
	.menudesplegable1 a{
		color: #000;
	} 
	.submenu {
		display:block;
		width: 98%;
		/* height: 54px; */
		background: #ffcc23;
		color: #000;
		padding: 1%;
		line-height:27px;
	}
	.submenu:hover{
		cursor:pointer;
		background: #FCF08C;
	}
	
	.titmenu {
		margin-left: 15px;
		font-size: 14px;
		font-weight: bold;
	}
	.descmenu {
		margin-left: 15px;
		font-size: 12px;
		font-weight: normal;
	}
	.separacionmenu{
		display:block;
		width: 100%;
		height: 2px;
		background: #fff;
	}

/***************************************Formatos pantallas***************************************************************/

.llamadas{
	background:#aec8f2;
}
.llamadas h2{
	background:#8fb2ea;
	color:#000;
}

.soporte{
	background:#ddd;
}
.soporte h2{
	background:#000;
	color:#fff;
}


/***************************************FORMS***************************************************************/
.caja {
	width: 100%;
	height: auto;
	padding: 1px 6px;
	float: left;
	margin-bottom: 5px;
	
		-webkit-box-sizing: border-box;
		   -moz-box-sizing: border-box;
				box-sizing: border-box;
}
.campoinput{
	width:100%;
	height:25px;
}
.centrar{
	margin: auto;
	width: 100%; 
	text-align: center;
}
.derecha{
	text-align: right;
}
.btnentrar{
	text-align: center;
	padding-top:15px;
	color: #fff;
	width: 213px;
	margin:auto;
	height: 43px;
	background: url(../images/iniciasesion_popup_btn1.png) no-repeat;
	cursor: pointer;
}
.linkregistro{
	color:#f5c82d !important;
	font-size: 13px;
	cursor: pointer;
}
.linkregistro:hover{
	text-decoration: underline;
}
.linkrecupass a{
	clear:both;
	display:block;
	margin-top: 3px;
	background: url(../images/informacion.png) left no-repeat;
	height:23px;
	padding-top:8px;
	color: #333;
	padding-left: 22px;
}
.linkrecupass a:hover{
	text-decoration: underline;
}

.ok, .nok {
	position: relative;
	width: 300px;
	margin: auto;
	padding: 6px;
	background: #e3fee4;
	text-align: center;
	color: #053307;
}
.nok { background: #fbe1e1;	color: #390606; }

.error, .correcto {
	position: fixed;
	font-size: 13px;
	line-height: 18px;
	text-align: justify;
	top: 0; left: 0;
	width: 100%; height: 100%;
	background: rgba(255,255,255,0.8);
	z-index: 200;
	display: none;
}

.error .cerrar, .correcto .cerrar {
	display: block;	clear: both;
	margin: 0; padding: 10px 0 10px 10px;
	margin-top: -20px;
	right: 20px;
	text-align: right;
	cursor: pointer;
}
.error .textos, .correcto .textos {
	position: relative;
	margin: auto;
	top: 50%;
	margin-top: -40px;
	width: 300px;
	height: 60px;
	padding: 20px;
	background: #FFF;
	text-align: center;
	-webkit-box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.75);
	-moz-box-shadow:    0px 0px 20px rgba(0, 0, 0, 0.75);
	box-shadow:         0px 0px 20px rgba(0, 0, 0, 0.75);
}

input[type=text], input[type=password], select, textarea {

 /* roll out */

font: 14px Arial, Verdana, Helvetica, sans-serif;
border: 1px #ffcc23 solid;
color: #666;
padding: 0px 5px;
/* width: 200px; */
height: 20px;

-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;

border-radius:6px; -webkit-border-radius:6px; -moz-border-radius:6px;
}
input[type=text]:hover, input[type=password]:hover, textarea:hover{

 /* roll over */

border: 1px #7726ad solid;
color: #000;
}
input[type=text]:focus, textarea:focus{ 

/* release */

border: 1px #ad75d2 solid;
color: #000;
}

input[type=submit], input[type=button], .submit { 
	font: normal 13px Arial, Verdana, helvetica;
	border: #333 1px solid;
	color: #333;
	background: #FFFF70;
	padding: 4px 10px;
	border: #555 1px solid;
	
	border-radius:5px; -webkit-border-radius:5px; -moz-border-radius:5px;
}
input[type=submit]:hover, input[type=button]:hover, .submit:hover { 
	border: #000 1px solid;
	background: #FFFF2D;
	color: #000;
	cursor: pointer;
}

input[type=checkbox], input[type=radio] {
	border: none;
	margin: 0px;
	padding: 0px;
	width:  18px;
	height: 18px;
	outline: none;
	cursor: pointer;
	vertical-align: middle;
	margin-right: 4px;

	border-radius:5px; -webkit-border-radius:5px; -moz-border-radius:5px;
}

.file-input-wrapper {
    width: 180px;
    height: 28px;
    overflow: hidden;
    position: relative;
	cursor:pointer;
	float: left;

}
.file-input-wrapper > input[type="file"] {
    font-size: 200px;
    position: absolute;
    top: 0;
    right: 0;
    opacity: 0;	
}
.file-input-wrapper > .btn-file-input {
    display: inline-block;
    width: 180px;
    height: 28px;
}
.file-input-wrapper:hover > .btn-file-input {
    background-color: #bbb;
	color: #000;
}



/********************************************** CONTENIDO***************************************************/

#contenido {
	position: absolute; top: 70px;
    height:auto; width: 96%;
	padding: 1%;
	margin: 0.5% 1.5% 0 0.5%;
	border: #000 1px solid;
/*	overflow: hidden; */
	z-index: 10;
	-webkit-box-shadow: 10px 10px 5px 0px rgba(0,0,0,0.75);
-moz-box-shadow: 10px 10px 5px 0px rgba(0,0,0,0.75);
box-shadow: 10px 10px 5px 0px rgba(0,0,0,0.75);
}

#guardar, .guardar{
	height: 35px;	
	padding-left: 35px;
	cursor: pointer;
	float:left;
	margin-left: 20px;
	background: #aaa url(../../img/ico_ok.png) left center no-repeat;
}

#cancelar{
	height: 35px;	
	padding-left: 35px;
	cursor: pointer;
	float:right;
	margin-right: 20px;
	background: #aaa url(../../img/ico_ko.png) left center no-repeat;
}

#salto { clear: both; display: block; text-align: left; }

#btncheck{
	height: 35px;	
	width: 80px;
	padding-left: 35px;
	cursor: pointer;
	background: #aaa url(../../img/check.png) left center no-repeat;
}

#creapedido, #creaalbaran, #creafactura{
	height: 35px;	
	padding-left: 35px;
	cursor: pointer;
	float:left;
	margin-left: 20px;	
	background: #aaa url(../../img/generar.png) left center no-repeat;
}

#imprimir{
	height: 35px;	
	padding-left: 35px;
	cursor: pointer;
	float:left;
	margin-left: 20px;	
	background: #aaa url(../../img/preview.png) left center no-repeat;
}

.cajainput {
	float: left; 
	margin: 2px 14px 15px 0px; 
}

.cajainput .nombredato {
	font: 12px verdana, sans-serif;
	padding-right: 3px;
}
.campo{
	width: 100%;
}

.campodetalle{
	float: left; 
	margin: 2px 5px 2px 5px; 
	font: 12px verdana, sans-serif;
}
.inputdetalle{
	float:left;
	text-align:right;
	width: 95%;
}
.unidadcampo{
	float:left;
	width:5%;
	margin-top:2px;
}
.checkaceptado{
	cursor:pointer;
}

#lineasdetalle{
	overflow-y:none;
	/*overflow-y:auto;
	height: 220px;*/
	height: auto;
	background:#fff;
}

#datoscliente{
	float:left;
	border: 1px solid;
	background: #fff;
	width:43%;
	padding:1%;
	display:none;
}

#listapedidos{
	overflow-y:none;
	height: 220px;
	background:#fff;
}
/* LISTADO */

.content { display: block; clear: both; display: table; width: 100%; }
.content li {
	list-style: none;
	overflow: hidden;
	color: #222;
	height: 28px;
	padding: 2px 0px;
}


.content li:nth-child(2n+1) { background: #fbfbf5; }
.content li:nth-child(2n+2) { background: #f1f3de; }

.content li:hover {
	color: #000;
	background: #dadfc0;
}

.cabefondo { float: left; overflow: hidden; background: #e7e9ee; color: #8991a9;}
.filafondo { float: left; overflow: hidden; }

.enun { float: left;
		font: 13px verdana, sans-serif; white-space: nowrap; text-align: left;
		font-weight: 200;
		padding: 3px 8px 3px 8px;
		margin-top: 4px;
		margin-left: 2px;
		background: #e7e9ee;
		color: #8991a9;
		width: 100%;
 }
.content li .campo {
	padding: 3px 3px 3px 10px;
	margin-left: 2px; float: left; display: table; white-space: nowrap;
	
	font: 12px verdana, sans-serif;
	color: #42217c;

	width: 100%;
}

.content li .texto { padding: 6px 2px 6px 8px; text-align: left; }
.content li .image { padding: 0px 0px; text-align: center; }

.centrar, .content li .centrar { text-align: center; padding-left: 0; padding-right: 0; }

.content li .muybaja {	color: #00C113; font-size: 11px; }
.content li .baja { 	color: #007E0D; font-size: 11px; }
.content li .normal {	color: #4A4C69; font-size: 11px; }
.content li .alta {		color: #C00000; font-size: 11px; }
.content li .muyalta {	color: #FF0000; font-size: 11px; }

.prioridad0{ color: #1E4917 !important;}
.prioridad1{ color: #000000 !important;}
.prioridad2{ color: #7506C5 !important;}
.prioridad3{ color: #C9000D !important;}

.fondoprioridad0{ background: #82C078 !important;}
.fondoprioridad1{ }
.fondoprioridad2{ background: #BF94DF !important;}
.fondoprioridad3{ background: #FF7E87 !important;}


#footer {
	clear: both;
	position: relative;
	z-index: 1;
	height: 20px;
	margin-top: -20px;
	text-align: center;
	color: #444;
	background: #fff;
}	
input[disabled], input[disabled]:hover, #guardar[disabled]{
	cursor: not-allowed;
	color: #777;
}