html, body{
	color:#0C8EC5;
	font-family:Verdana, Geneva, sans-serif;
	font-size:12px;
	height:100%;
	margin:0px;
	width:100%;
}
.contenido{
	margin:0 auto;
	padding:9px;
	width:1006px;
}
img, p, a, input, textarea, h1, h2, h3, hr, button, select{
	border:none;
	margin:0;
	padding:0;
}
p, a{
	color:#0C8EC5;
	line-height:18px;
	text-decoration:none;
}
select{
	appearance: none;
	-moz-appearance: none;
	-webkit-appearance: none;
	background:url(../img/select.png) right no-repeat #DBEEF6;
	border:none;
	color:#2D67AB;
	color:#0876A4;
}
a:hover, button.submit:hover, button:hover{
	color:#0876A4 !important;
}
hr.section{
	background:url(../img/line.jpg) repeat-y;
	background-size:100% 1px;
	height:4px;
	padding:0 9px !important;
}
h1{
	font-size:24px;
	line-height:24px;
}
.titleBar{
	display:block;
	float:right;
	margin:3px -9px 3px 0;
	line-height:14px;
	padding:2px 9px 2px 5px;
	text-align:right;
}
form.titleBar, div.titleBar{
	padding-right:0;
}
button.submit{
	background:url(../img/button-background-left.png) repeat-y !important;
	background-size:100% 1px !important;
	color:#FFF !important;
	font-style:normal;
}
div.titleBar button.submit{
	background: url(../img/button-background-left.png) left repeat-y #009cda !important;
	background-size: 200% 1px !important;
	font-size: 14px;
	margin-top:0px;
	padding-top:3px !important;
	text-align:center;
	width:150px !important;
}
p.procesando{
	margin-top:150px;
	text-align:center;
}
/* HEADER /////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
header{
	background:url(../img/header-background.jpg) no-repeat;
	background-size:100% 100%;
	height:87px;
	text-align:right;
}
header p{
	color:#FFF;
	margin-top:-5px;
}
header a.unipharma{
	float:left;
}
header a.unipharma img{
	display:block;
}
header p strong{
	font-size:14px;
}
nav a{
	color:#FFF !important;
}
nav a.contacto{
	background:url(../img/header-contacto.png) right repeat-y;
	color:#0876A4;
	display:block;
	padding:1px 9px 1px 0;
	margin:20px -9px 3px 0;
}
nav a.contacto:hover{
	color:#FFF;
}
/* HOME /////////////////////////////////////////////////////////////////////////////////////////////////////////////*/
body.home form *{
	display:block;
	padding:0;
	width:100%;
}
.titleBar input, .titleBar button{
	background-color:#DBEEF6;
	color:#92C5EB;
	color:#0C8EC5;
	font-size:10px;
	text-align:left;
	/* font-style:italic; */
	line-height:15px;
	padding:2px 5px !important;
	width:95px;
}
body.home div.titleBar input, body.home div.titleBar button{
	float:left;
	margin-left:4px;
	width:100px;
}
body.home #bienvenido{
	display:block;
	float:right;
	margin:3px -9px 3px 0;
	line-height:14px;
	padding:2px 9px 2px 5px;
	text-align:right;
}
body.home div.contacto, body.home iframe.contacto{
	display:block;
	float:right;

	/* border-left:1px solid #DBEEF6; */
	height:440px;
	margin:3px 0 10px 5px;
	padding:0;
	width:294px;
}
body.contacto span, body.contacto h2{
	padding:0 5px;
}
body.contacto h2{
	color:#92C5EB;
	font-size:18px;
	text-align:left;
}
body.contacto hr{
	background:url(../img/form-line.jpg) repeat-y;
	background-size:100% 1px;
	height:2px;
	margin-bottom:10px;
}
body.contacto input, body.contacto textarea{
	background:url(../img/input-background.jpg) repeat-y;
	background-size:100% 1px;
	color:#0C8EC5;
	font:inherit;
	margin:3px 0 10px 0;
	overflow:hidden;
	resize:none;
	padding:3px;
	width:290px;
}
body.contacto textarea{
	height:200px;
}
body.contacto input.submit{
	text-align:left;
	padding-left:5px;
}
body.enviar table{
	border-left:1px solid #DBEEF6;
	padding:0 20px;
}
body.enviar p{
	font-size:12px;
	text-align:center;
	padding:20px 0;
}
body.enviar a{
	color:#92C5EB;
	text-decoration:underline;
}
body.enviar a:hover{
	color:#0C8EC5;
}
body.home img.mapa{
	display:block;
	margin:0 auto;
}
body.home h2{
	text-align:center;
}
/* PEDIDOS ////////////////////////////////////////////////////////////////////////////////////////////////////*/
body.pedido select{
	margin-top:0;
	width:125px;
}
/*body.pedido div.titleBar div.checkbox, #nombre{
	display:inline-block;
}*/
body.pedido div.titleBar input.checkbox{
	display:block;
	margin:5px 0 -2px 0;
	width:20px;
}
body.pedido div.titleBar > *{
	vertical-align:top;
}
body.pedido div.titleBar input, body.pedido div.titleBar select{
	font-size:14px;
/*	width:434px;
	width:282px;*/
	width:309px;
}
#where{
	width:200px;
}
body.pedido #laboratorio{
	width:319px;
}
#sistema{
	width:319px;
}
/*#archivo{
	width:230px;
}*/
#fileUpload{
	cursor: pointer;
	display:inline-block;
	height: 20px;
	margin: 0;
	overflow: hidden;
	padding:0;
	vertical-align: top;
	width: 150px;
}
#fileUpload p{
	display:inherit;
	background-color:#00F;
	background: url(../img/button-background-left.png) left repeat-y #009cda;
	background-size: 200% 1px;
	color:#FFF;
	font-size: 14px;
	height: 14px;
	margin:0;
	padding:1px 0 5px 0;
	text-align:center;
	text-transform: uppercase;
	width: 100%;
}
#fileUpload p:hover{
	color:#06C !important;
}
#fileUpload input{
	/*position: absolute;
	top: 0;
	right: 0;
	margin: 0;
	font-size: 20px;*/
	display:block;
	margin: -22px 0 0 0px;
	opacity:0;
	filter: alpha(opacity=0);
	padding: 0;
	width:138px;
}
body.pedido div.titleBar select{
	height:20px;
}
/*#importar input::-webkit-file-upload-button{
    background:#0C8EC5;
	border:none;
    color:#FFF;
	margin:-2px 0 -2px -5px !important;
	padding:2px 10px 1px 10px;
}
body.pedido div.titleBar button.submit{
	font-size:12px;
	padding-top:3px !important;
	width:100px !important;
}*/
body.pedido div.lista, body.ctacte div.ctacte, body.historial div.historial{
	display:block;
	float:right;
	margin-top:0;
	width:755px;
}
body.pedido div.scroller, body.ctacte div.scroller, body.historial div.scroller{
	height:394px;
	margin:2px 0;
	overflow: -moz-scrollbars-vertical; 
	overflow-y: scroll;
}
body.pedido td, body.ctacte td, body.historial td{
	color:#58595B;
	font-size:11px;
	font-weight:bold;
	vertical-align:top;
}
body.pedido div.lista table.thead, body.ctacte div.ctacte table.thead, body.historial div.historial table.thead{
	padding-right:14px;
}
body.pedido div.lista table.tbody td.info, body.ctacte div.ctacte table.tbody td.acumulado, body.historial div.historial table.tbody td.total{
	padding-right:5px;
}
body.pedido div.lista td span, body.ctacte div.ctacte table.thead td{
	color:#83BAD1;
	color:#0C8EC5;
	display:block;
	font-size:10px;
	font-weight:normal;
}
body.pedido section.contenido hr, body.ctacte section.contenido hr, #mediosPagos section div hr, #confirmacion section div hr, body.historial section.contenido hr{
	background:url(../img/line.jpg) repeat-y;
	background-size:100% 1px;
	height:2px;
	padding:0 !important;
	width:100%;
}
body.pedido table.tbody tr, body.historial table.historial tr{
	cursor:pointer;
}
body.pedido table.tbody tr.nstock{
	opacity:0.3;
	filter:alpha(opacity=30); /* For IE8 and earlier */
}
body.pedido table.tbody tr.oferta{
	background-color: #DFD;
}
body.pedido table.tbody tr.oferta:hover{
	background-color: #BFB;
}
body.pedido table.tbody tr:hover, body.historial table.historial tr:hover{
	opacity:1;
	filter:alpha(opacity=100); /* For IE8 and earlier */
	background-color:#F5F5F5;
}
body.pedido table.tbody td, body.ctacte div.ctacte table.tbody td, body.historial table.tbody td{
	border-bottom:1px solid #CCC;
	height:25px;
}
body.pedido div.lista td.descripcion{
	text-transform:capitalize !important;
	width:246px;
}
body.pedido div.lista td.laboratorio{
	width:130px;
}
body.pedido div.lista td.costo{
	text-align:right;
	width:66px;
}
body.pedido div.lista td.publico{
	text-align:right;
	width:66px;
}
body.pedido div.lista td.observaciones{
	padding-left:15px;
	width:110px;
}
body.pedido div.lista td.stock{
	text-align:center;
	vertical-align:middle;
	width:27px;
}
body.pedido div.lista td.info{
	text-align:center;
	vertical-align:middle;
	width:13px;
}
body.pedido div.lista button{
	/*background-color:#0C8EC5;*/
	background:url(../img/button-background-right.png) left repeat-y;
	background-size: 100% 1px;
	color:#FFF;
	float:right;
	font-size: 14px;
	margin:2px 0;
	padding: 4px 22px 3px 10px;
	text-align:right;
	text-transform:uppercase;
	width:75%;
}
body.pedido div.lista button:hover{
	/*background-color:#DBEEF6;*/
	color:#0C8EC5;
	cursor:pointer;
}
body.pedido div.lista p#mensaje{
	float:right;
	font-size:14px;
	margin-top:5px;
}
body.pedido form.pedido, body.ctacte div.cliente, body.historial div.detalle{
	display:block;
	float:left;
	margin-top:4px;
	width:241px;
}
body.pedido form.pedido h2, body.ctacte div.cliente h2, body.historial div.detalle h2{
	color:#92C5EB;
	display:inline-block;
	margin:5px 0 0 5px;
	width:70px;
}
body.pedido form.pedido #vaciarPedido{
	background:none;
	color:#0C8EC5;
	color:#92C5EB;
	cursor:pointer;
	font-size:12px;
}
body.pedido form.pedido #vaciarPedido span{
	font-size:10px;
}
body.pedido form.pedido input.submit{
	background:url(../img/button-background-right.png) repeat-y !important;
	background-size:100% 1px !important;
	color:#FFF;
	cursor:pointer;
	font-size: 14px;
	float:right;
	height:25px;
	margin:2px 0px 2px -10px;
	padding: 3px 5px 2px 5px;
	text-align:right;
	width:110px !important;
}
body.pedido form.pedido input.submit:hover{
	color:#06C;
}
body.pedido form.pedido div.tipoEntrega{
	background-color:#DBEEF6;
	margin:2px 0;
	width:100%;
}
body.pedido form.pedido div.tipoEntrega select{
	display:inline-block;
	font-family:inherit;
	float:right;
	margin:0;
	width:150px;
}
body.pedido form.pedido div.scroller{
	height:374px;
}
body.pedido form.pedido #pedido, body.ctacte div.cliente div, body.historial div.detalle div{
	background-color:#F2F8FA;
	clear:right;
}
#pedido table, body.historial div.detalle table{
	background-color:#FFF;
	width:100%;
}
.stockMod{
	color:#F00 !important;
}
body.pedido form.pedido input, body.historial div.detalle input{
	background-color:#DBEEF6;
	color:#0C8EC5;
	height:100%;
	text-align:center;
	width:45px;
}
body.pedido form.pedido td.descripcion, body.historial div.detalle td.descripcion{
	font-size:10px;
	font-weight:normal;
	width:100%;
}
body.pedido form.pedido td.descripcion span, body.historial div.detalle td.descripcion span{
	color:#0C8EC5;
}
body.pedido form.pedido td.descripcion img.icono, body.historial div.detalle td.descripcion img.icono{
	height:11px;
	margin-bottom:-2px;
	width:11px;
}
body.pedido form.pedido .total, body.ctacte div.ctacte .total{
	background-color:transparent;
	color:#0C8EC5;
	font-size:18px;
	font-weight:bold;
	padding:0;
	margin:5px 0 0 0;
}
body.pedido form.pedido input.total, body.ctacte div.ctacte input.total{
	float:right;
	font-size:21px;
	margin-top:3px;
	text-align:right;
	width:190px;
}
/* CUENTA CORRIENTE ////////////////////////////////////////////////////////////////////////////////////////////////////*/
body.ctacte button.titleBar{
	background:url(../img/button-background-right.png) repeat-y;
	background-size:100% 1px;
	color:#FFF;
	text-align:right;
	width:292px;
}
body.ctacte button.titleBar:hover{
	color:#0C8EC5;
}
p.usuario{
	color:#666;
	margin-top:-5px;
	text-align:right;
}
p.usuario a:hover{
	text-decoration:underline;
}
body.ctacte div.ctacte{
	width:714px;
}
body.ctacte div.ctacte td{
	padding:5px 10px;
}
body.ctacte div.ctacte table.thead{
	margin-top:0px;
}
body.ctacte div.ctacte table.thead td{
	display:table-cell;
}
body.ctacte div.cliente{
	margin-top:0px;
	width:280px;
}
body.ctacte div.cliente h2, body.historial div.detalle h2{
	margin:0px ;
	width:100% ;
}
body.ctacte div.cliente h2 span{
	display:inline ;
	font-size:12px;
	font-weight:normal;
}
body.ctacte div.cliente div.scroller{
	/* overflow: -moz-scrollbars-vertical; */
	overflow-y:auto;
}
body.ctacte div.scroller p{
	color:#828282;
	font-weight:bold;
	padding:5px;
}
body.ctacte div.scroller p span{
	font-weight:normal;
	line-height:14px;
}
body.ctacte div.scroller p span.line{
	display:block;
}
body.ctacte div.ctacte table{
	width:100%;
}
body.ctacte div.ctacte table td.totales{
	font-weight:normal;
	text-align:right;
	width:70px;
}
body.ctacte div.ctacte table td.emision{
	font-weight:normal;
	width:100px;
}
body.ctacte div.ctacte table td.vencimiento{
	width:100px;
}
body.ctacte div.ctacte table td.saldo{
	text-align:right;
	width:70px;
}
body.ctacte div.ctacte table td.acumulado{
	font-weight:normal;
	text-align:right;
	width:90px;
}
body.ctacte div.ctacte table.tbody td, body.historial div.historial table.tbody td{
	height:auto;
}
/* MEDIOS DE PAGO ////////////////////////////////////////////////////////////////////////////////////////////////////*/
#mediosPagos, #confirmacion{
	position:absolute;
	height:100%;
	width:100%;
	background-color:rgba(255,255,255,0.8);
}
#lupa{
	display:block;
	margin:auto;
	position:absolute;
	z-index:1;
	/*height:100%;
	width:100%;
	background-color:#000;*/
}
#mediosPagos td, #lupa td, #confirmacion td{
	text-align:center;
	vertical-align:middle;
}
#mediosPagos section, #lupa section, #confirmacion section{
	background-color:#FFF;
	border:3px solid #0C8EC5;
	border-radius:10px;
	display:table;
	margin:0 auto;
	padding:5px;
	max-width:900px;
}
#mediosPagos section img, #lupa section img, #confirmacion section img{
	float:right;
	margin:-17px;
	cursor:pointer;
}
#mediosPagos section div, #lupa section div, #confirmacion section div{
	border-radius:5px;
	display:inline-block;
	margin:10px;
	padding:10px;
	text-align:left;
}
#mediosPagos section div:hover{
	background-color:#F2F8Fa;
}
#mediosPagos section div h3, #lupa section div h3, #confirmacion section div h3{
	color:#92C5EB;
	font-size:18px;
	margin:0 5px;
}
#mediosPagos section div p, #lupa section div p, #confirmacion section div p{
	color:#0C8EC5;
	color:#0876A4;
	color:#2D67AB;
	color:#92C5EB;
	color:#DBEEF6;
	color:#92C5EB;
	color:#58595B;
	color:#F2F8Fa;
	color:#666;
	line-height:12px;
	margin:8px 5px;
}
#mediosPagos section div p span, #lupa section div p span, #confirmacion section div span{
	font-weight:normal;
}
/* HISTORIAL ////////////////////////////////////////////////////////////////////////////////////////////////////*/
body.historial div.titleBar input, body.historial div.titleBar select{
	font-size:14px;
	width:150px;
}
body.historial #nombre{
	width:200px;
}
body.historial #desde, #hasta{
	width:80px;
}
body.historial #hasta{
	margin-right:50px;
}
body.historial div.titleBar button.submit{
	font-size:12px;
	width:100px !important;
}
body.historial div.historial table{
	width:100%;
}
body.historial div.historial table td.pedido{
	text-align:left;
	width:120px;
}
body.historial div.historial table td.fecha{
	width:150px;
}
body.historial div.historial table td.unidades{
	text-align:center;
	width:120px;
}
body.historial div.historial table td.estado{
	text-align:left;
	width:120px;
}
body.historial div.historial table td.total{
	text-align:right;
	/*width:60px;*/
}
body.historial div.historial table.tbody td{
	font-weight:normal;
}
body.historial div.historial p#cantPedidos{
	text-align:right;
	font-style:italic;
}
body.historial table.historial tr.selected{
	background-color:#F2F8FA;
}
body.historial table.historial tr.selected td{
	color:#0C8EC5;
}
body.historial div.detalle{
	margin-top:1px;
}
