/************************************************************************************
RESET
*************************************************************************************/
html, body, address, blockquote, div, dl, form, h1, h2, h3, h4, h5, h6, ol, p, pre, table, ul,
dd, dt, li, tbody, td, tfoot, th, thead, tr, button, del, ins, map, object,
a, abbr, acronym, b, bdo, big, br, cite, code, dfn, em, i, img, kbd, q, samp, small, span,
strong, sub, sup, tt, var, legend, fieldset {
	margin: 0;
	padding: 0;
font-family:'Century gothic', Arial, sans-serif;
}

img, fieldset {
	border: 0;
}

/* set image max width to 100% */
img {
	max-width: 100%;
	height: auto;
	margin:12px 0 0 0;
	width: auto\9; /* ie8 */
}

/* set html5 elements to block */
article, aside, details, figcaption, figure, footer, #header, .hgroup, menu, .nav, section { 
    display: block;
}

/************************************************************************************
GENERAL STYLING
*************************************************************************************/
body {
	background: #000000  no-repeat center top;
	font: .78em/150% Arial, Helvetica, sans-serif;
	color: #666;
}
a {
	color: #026acb;
	text-decoration: none;
	outline: none;
}
a:hover {
	text-decoration: underline;
}
p {
	margin: 0 0 1.2em;
	padding: 0;
}

/* list */

li {
	margin: 0 0 .5em 0;
	padding: 0;
}

/* headings */
h1, h2, h3, h4, h5, h6 {
	line-height: 1.4em;
	margin: 0;
	color: #000;
}
h1 {
	font-size: 20px;
}
h2 {
	font-size: 1.2em;
	color:#000;
}
h3 {
	font-size: 1.2em;
	color:#333;
}
h4 {
	font-size: 1.2em;
}
h5 {
	font-size: 1.1em;
}
h6 {
	font-size: 1em;
}

input{
	float:none;}

/* reset webkit search input styles */
input[type=search] {
	-webkit-appearance: none;
	outline: none;
		-webkit-border-radius: 5px; 
    -moz-border-radius: 5px; 
    border-radius: 5px;
	border:none;
	padding:5px;
	position:absolute;
	float:right;
	right:5px;
	z-index:999999;
	top:119px;
	-webkit-transition: width .7s;
	-moz-transition: width .7s;
	transition: width .7s;
	
}
input[type="search"]::-webkit-search-decoration, 
input[type="search"]::-webkit-search-cancel-button {
	display: none;
}




select {min-width:80px;}

select.selDisabled { background:#CCCCCC; color:#999; cursor:no-drop; font-weight:bold; }
select.selDisabled  option {box-shadow: inset 0px -5px 10px 0px rgba(0, 0, 0, 0.5);}
/************************************************************************************
STRUCTURE
*************************************************************************************/

#pagewrap {
	display:table;
	width: 90%;
	max-width:1240px;
	margin: 0 auto;
}


#pagewrap2 {
	display:table;
	width: 90%;
max-width:1024px;
	margin: 0 auto;
}

/************************************************************************************
HEADER
*************************************************************************************/
#header {
	position: relative;
	padding-top:110px;
	text-align:left;
}

/* site logo */
#site-logo {
	position: absolute;
	z-index:-1;
	top:0px;
}


a.logout {
	color:#fff;
	right:0;
	float:right;
	position:absolute;
	top:80px;
	background:url('/rxpress/comun/img/logout.png') no-repeat;
	background-position: top left;
	padding:5px 0px 0px 25px;
	font-weight:bold;}


a.usuario {cursor:default;
color:#fff;
	right:15px;
	float:right;
	position:absolute;
	top:115px;
	background:url('/rxpress/comun/img/user.png')1px 7px no-repeat;
	padding:5px 0px 0px 20px;
	font-weight:bold;
	z-index:558;
}

a.usuario:hover {text-decoration:none;}

/************************************************************************************
MAIN NAVIGATION
*************************************************************************************/
.navWrap {
}

#main-nav {
	width: 100%;
	position: relative;
	display:inline-block;
	height:auto;
	padding-left:0px;
	background: #ccc;
	/* gradient */
	background: #6a6a6a url(images/nav-bar-bg.png) repeat-x;
	background: -webkit-gradient(linear, left top, left bottom, from(#b9b9b9), to(#6a6a6a));
	background: -moz-linear-gradient(top,  #b9b9b9,  #6a6a6a);
	background: linear-gradient(-90deg, #b9b9b9, #6a6a6a);
	/* rounded corner */
	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	border-radius: 8px;
	/* box shadow */
	-webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 1px 1px rgba(0,0,0,.4);
	-moz-box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 1px 1px rgba(0,0,0,.4);
	box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 1px 1px rgba(0,0,0,.4);
	z-index:557;
	
}
#main-nav li {
		list-style: none;
			margin:0 5px;
			padding:0;
			position:relative;
			width:145px;
	height:40px;
	float:left;}



#main-nav li a{
	margin: 0;
	padding: 0;
	display:block;
	width:145px;
	height:40px;
	float:left;
	line-height:40px;
	text-align:center;
	vertical-align:middle;
	position:relative;
}




#main-nav li a:hover {
	color: #fff;
	background: #474747;
	/* gradient */
	background: -webkit-gradient(linear, left top, left bottom, from(#282828), to(#4f4f4f));
	background: -moz-linear-gradient(top,  #282828,  #4f4f4f);
	background: linear-gradient(-90deg, #282828, #4f4f4f);}




#main-nav a {
	font-weight: bold;
	color: #fff;
	display: block;
	text-decoration: none;
	text-shadow: 0 -1px 0 rgba(0,0,0,.5);
}


/************************************************************************************
CONTENT
*************************************************************************************/
#content {
	background: #fff;
	margin: 10px auto;
	padding: 20px 35px;
	/* rounded corner */
	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	border-radius: 8px;
	/* box shadow */
	-webkit-box-shadow: 0 1px 3px rgba(0,0,0,.4);
	-moz-box-shadow: 0 1px 3px rgba(0,0,0,.4);
	box-shadow: 0 1px 3px rgba(0,0,0,.4);
}

/* post */
.post {
	margin-bottom: 40px;
}
.post-title {
	margin: 0 0 5px;
	padding: 0;
	font: bold 20px Arial, Helvetica, sans-serif;
}
.post-title a {
	text-decoration: none;
	color: #000;
}
.post-meta {
	margin: 0 0 10px;
	font-size: 90%;
}

/* post image */
.post-image {
	margin: 0 0 15px;
}

/************************************************************************************
SIDEBAR
*************************************************************************************/
.admin {
	display:none;
}
	
.sidebar {
	display:none;
}

.oper {
	display:none;}
	
.repo {
	display:none;}

.widget {
	/* rounded corner */
	-webkit-border-radius:0 0 8px 8px;
	-moz-border-radius:0 0 8px 8px;
	border-radius:0 0 8px 8px;
	/* box shadow */
	-webkit-box-shadow: 0 1px 3px rgba(0,0,0,.4);
	-moz-box-shadow: 0 1px 3px rgba(0,0,0,.4);
	box-shadow: 0 1px 3px rgba(0,0,0,.4);
}


.widget table tr {
	background:Transparent;}
	
.widget table td {
	background:#fff;
	text-align:left;
	-webkit-border-radius:0 0 8px 8px;
	-moz-border-radius:0 0 8px 8px;
	border-radius:0 0 8px 8px;
}

div.widget h4{
	margin: 0;
height:30px;
line-height:30px;
	background:#666;
	color:#fff;
	display:block;
	padding-left:13px;
	cursor:pointer;
}
.widget ul {
	margin-left: 10px;
	padding: 0;
	background::#fff;
	display:inline-table;
	height:auto;
}

.widget li {
	list-style:none;
	margin:0;
	padding:0;
	float:left;
	position:relative;}

.widget li a{
	width:150px;
	height:40px;
	line-height:40px;
	display:block;
	text-align:center;
}


.widget li a.long {
	line-height:19px;
}


.widget li a:hover {
background:#CCC;
background-image: linear-gradient(bottom, rgb(173,173,173) 1%, rgb(230,230,230) 100%);
background-image: -o-linear-gradient(bottom, rgb(173,173,173) 1%, rgb(230,230,230) 100%);
background-image: -moz-linear-gradient(bottom, rgb(173,173,173) 1%, rgb(230,230,230) 100%);
background-image: -webkit-linear-gradient(bottom, rgb(173,173,173) 1%, rgb(230,230,230) 100%);
background-image: -ms-linear-gradient(bottom, rgb(173,173,173) 1%, rgb(230,230,230) 100%);

background-image: -webkit-gradient(
	linear,
	left bottom,
	left top,
	color-stop(0.01, rgb(173,173,173)),
	color-stop(1, rgb(230,230,230))
);

color:#000;
}


.widget li:hover > a{
color:#000;
}


.widget  li a {
	color:#333;
	text-decoration:none;
}

.close {
	position:absolute;
	float:right;
	background:url(../img/close_pop.png) no-repeat;
	width:24px;
	height:24px;
	right:10px;
	margin-top:3px;
}


.video {
	text-align:right;}




/************************************************************************************
FOOTER
*************************************************************************************/
#footer {
	clear: both;
	color: #ccc;
	font-size: 85%;
}
#footer a {
	color: #fff;
}

/************************************************************************************
CLEARFIX
*************************************************************************************/
.clearfix:after { visibility: hidden; display: block; font-size: 0; content: " "; clear: both; height: 0; }
.clearfix { display: inline-block;}
.clearfix { display: block; zoom: 1; }

label {
	font-weight:bold;
	float:none;
	display:inline-block;
	text-align:right;
	min-width:150px;
	max-width:150px;
	margin-right:3px;}

label.diez {min-width:10px; max-width:10px;}

label.ochenta {min-width:90px; max-width:90px;}
label.one_sixty {min-width:162px; width:162px; max-width:162px;}
label.one_sixty {min-width:162px; width:162px; max-width:162px;}
label.one_eighty {min-width:180px; max_width:180px; width:180px;}

table.timeline {width:906px; max-width:906px; min-width:906px; margin:0 auto;}

table.timeline td.left {width:304px;}

table.timeline td.middle {width:350px;}

table.timeline td.right {width:304px;}


table.timeline td div.left { background:url('../img/timeline_left.png') no-repeat right center #fff; height:81px; display:block; width:304px;}

table.timeline td div.left:hover {cursor:pointer;}
table.timeline td div.right { background:url('../img/timeline_right.png') no-repeat left center #fff; height:71px; padding-top:10px; display:block; width:304px;}

table.timeline td div.right > div.inside_right {display:table; margin:auto; width:auto;}

table.timeline td div.left > div.inside_left {display:table; margin:0px 0px 0px 25px; width:auto;}

table.timeline td div.middle {border-bottom:1px dotted #999; margin:0px; padding-top:19px;  height:61px; width:350px;}

table.timeline td div.middle > div.inside_middle {width:auto; display:table; margin:0 auto;}

table.timeline td div.middle label { display:inline-block; width:180px; min-width:180px; max-width:180px; white-space:nowrap;}

table.timeline td div.left label {width:80px; max-width:80px; min-width:80px; margin-left:0px;}


table.timeline td div.right label{width:80px; max-width:80px; min-width:80px; margin-left:0px;}
	
	table.white tr	td:nth-of-type(1):before { content: none; visibility:hidden; }
    table.white tr	td:nth-of-type(2):before { content: none; visibility:hidden;}
	table.white tr  td:nth-of-type(3):before { content: none;visibility:hidden; }
    table.white tr	td:nth-of-type(4):before { content: none; visibility:hidden;}
	table.white tr  td:nth-of-type(5):before { content: none;visibility:hidden; }	
	table.white tr  td:nth-of-type(6):before { content: none;visibility:hidden; }
	
table.gray {
	background:#CCC;
	-webkit-border-radius:8px;
	-moz-border-radius:8px;
	border-radius:8px;
	margin:5px;
	padding:5px;
	-webkit-box-shadow:  0px 0px 5px 0 #222;
-moz-shadow:  0px 0px 5px 0 #222;
 box-shadow:  0px 0px 5px 0 #222;
	}
	
table.gray tr td {padding:5px;}


table.white tr td.hidden {
	visibility:collapse;
}

table {
border-collapse: collapse;
text-align:center;
width:100%;
border:none;
}
/* Zebra striping */
table.grid tr:nth-of-type(odd) {
	background:#CCC;
}


table.grid tr:nth-of-type(even) {
	background:#fff;
}


table.grid tr.cancelado:nth-of-type(odd) {
	background:#FC9;
	border:1px dashed #f00;
}

table.grid tr.cancelado:nth-of-type(even) {
	background:#FC9;
	border:1px dashed #f00;
}


table.grid2 th {background:#C90; color:#000;}

table.grid2 td {padding:5px; text-align:center; vertical-align:top; white-space:normal;}
table.grid2 tr:nth-of-type(2n+1)  td{background:#FFC; color:#000; text-align:center;}

th {
	background: #333;
	color: white;
	font-weight: bold;
	text-align:left;
padding:4px 11px;
	border-collapse:collapse;
	border:none;
	text-align:center;
}

td {
	border:none;
	color:#000;
	text-align:left;
}


th a {
	display:block;
	color:#fff;
	text-decoration:underline;
	width:100%;
	height:100%;
	text-align:center;
}

th a:hover {
	background:#999;
	color:#fff;}

/*td, th {
	padding: 6px;
	border: 1px solid #fff;
	text-align: left;
}*/

table.white ul{
		margin: 0;
	padding: 0;}
	
	
table.white ul#clientes {display:block; padding:5px; background:#ccc; -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px;}
table.white ul#clientes  li {font-size:11px; text-align:left; padding:3px;}
table.white ul#clientes  li:hover {background:#faf5ec; border:1px solid #f4dbbe;}
table.white ul#clientes  li label {margin:0; display:table; width:auto; min-width:350px !important; max-width:350px !important; text-align:left;}
	
	
table.white ul#clientesRuta {display:block; padding:5px; background:#d4e3f6; -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px;}
table.white ul#clientesRuta  li {font-size:11px; text-align:left; padding:3px;}
table.white ul#clientesRuta  li:hover {background:#faf5ec; border:1px solid #f4dbbe;}
table.white ul#clientesRuta  li label {margin:0; display:table; width:auto; min-width:350px !important; max-width:350px !important; text-align:left;}

table.white li{
	border-bottom: 1px solid #EEEEEE;
    clear: both;
    list-style: none outside none;
    margin: 0;
    padding: 6px 0;
	font-size:1.5em;
	font-weight:bold;
	}
	
table.grid {
	position:static;}

table.grid tr td{
	text-align:center;
	vertical-align:top;
	padding:5px;
	white-space:normal;
	}

table.grid tfoot tr td  {background:#333; color:#FFF;}
table.grid tfoot tr td h3{color:#fff;}
table.grid tr td.nombre {white-space:normal;}
/*

table.grid tr td.telefono {width:65px;}
table.grid tr td.detalle {width:250px;}*/

table.grid tr td input{
	float:none;}
	
table.grid tr td img {
	margin:0;}

table.grid tr td table {
	border:1px solid #000;
	display:table;}	

table.grid tr td table tr th {
	text-align:right;
	border-top:1px solid #999;
	border-bottom:1px solid #1e1e1e;
	white-space:nowrap;
	width:80px;
}

table.grid tr td table.horizont tr th {
	text-align:center;}

table.grid tr td table.horizont tr td {
	text-align:center;}

table.grid tr td table tr td {
	text-align:left;
	padding:5px;
	border-bottom:1px solid #333333;
	white-space:nowrap;}
table.grid tr td table.center tr th {text-align:center;}
table.grid tr td table.center tr td {text-align:center;}

	table.grid tr td table tr.total td {background:#f00; font-weight:bold;}

-table.grid tr td ul.descprod {margin:0; padding:0; width:100%; display:table;}
-table.grid tr td ul.descprod li {display:table; width:100%; border-bottom:1px solid #ccc; height:18px; margin:0; padding:0}

 span.producto{display:inline-block; width:60px;  font-weight:bold; text-align:left; }
 span.descuento{display:inline-block; width:40px; text-align:left;  }


table.grid tr:nth-of-type(odd) td ul.descprod li {border-bottom:1px solid #f6f6f6;}

.ui-accordion-content table tr th {text-align:center;}
.ui-accordion-content table tr td {text-align:center;}
.ui-accordion-content table tr:nth-of-type(odd) td {background:#f7f7f7;}

table.deudores tr td {width:30%; min-width:30%; max-width:30%;}
table.grid td.ninety {width:275px; text-align:left;}
table.grid td.eighty {width:150px;} 

div.totales h2{display:block; width:24%; color:#fff; text-align:right; background:#333; float:left; padding:0 2px;}
div.totales h3{display:block; width:24%; color:#000; text-align:left; background:#fff; float:left; font-weight:lighter; padding:0 2px; border-bottom:1px dotted #333;}
@media
only screen and (max-width: 600px),
(min-device-width: 600px) and (max-device-width: 600px)  {
#content {padding:5px;}

.ui-accordion-content table { display:block; text-align:left; border-left:1px dotted #666; border-top:1px dotted #ccc; margin-left:-27px; margin-top:-15px;}	
.ui-accordion-content table tr {position:static; }
.ui-accordion-content table thead tr {
		position: absolute;
		top: -9999px;
		left: -9999px;
	}
.ui-accordion-content table tr th { display:none;}

.ui-accordion-content table tr td { background:transparent; padding:0; height:23px; padding-top:2px; padding-bottom:2px; padding-left:150px; padding-right:2px; width:100%; border-right:1px dotted #CCC; border-bottom:1px dotted #CCC; text-align:left; position:static;}

.ui-accordion-content table td:before {top: 6px; left: 6px; width:40%; padding:0 10px; white-space: nowrap; float:left;}
.ui-accordion-content table tr td img {margin:0;}


/*-----------*/
.ui-accordion table { display:block; text-align:left; border-left:1px dotted #666; border-top:1px dotted #ccc; margin-left:-27px; margin-top:-15px;}	
.ui-accordion table tr {position:static; }
.ui-accordion table thead tr {
		position: absolute;
		top: -9999px;
		left: -9999px;
	}
.ui-accordion table tr th { display:none;}

.ui-accordion table tr td { background:transparent; padding:0; height:23px; width:100%; border-right:1px dotted #CCC; border-bottom:1px dotted #CCC; text-align:left; position:static;}

.ui-accordion table td:before {top: 6px; left: 6px; width:40%; padding:0 10px; white-space: nowrap; float:left;}
.ui-accordion table tr td img {margin:0;}
/*-----*/
table.white tr td.nada  {display:none;}
table.grid, table.grid thead, table.grid tbody, table.grid th, table.grid td, table.grid tr, table.grid tfoot {display: block; text-align:left;}

table.white tr td {padding:3px;}
	
table.grid tr td table tr th {display:none;}
	
table.grid tr td table tr td {text-align:left;}

table.grid tr td table.horizont tr td {
	text-align:left;}

/*
table.grid tr td.telefono {width:auto;}

table.grid tr td.nombre {width:auto;}

table.grid tr td.detalle {width:auto;}*/
	
input {float:none;}
	
label {float:none;}
/* Hide table headers (but not display: none;, for accessibility) */
table.grid thead tr {position: absolute; top: -9999px; left: -9999px;}

table.grid tr td {/* Behave  like a "row" */border: none; border-bottom: 1px solid #eee; position: static; padding-left:0; text-align:left; min-height:20px;}

table.grid td:before {/* Now like a table header *//* Top/left values mimic padding */top: 6px; left: 6px; width:40%; padding:0 10px; white-space: nowrap; float:left;}



table.grid tfoot {background:#333; width:100%; display:block;}

table.grid tfoot tr {position:relative; height:35px; max-height:35px; min-height:35px; border:1px solid f00;}
table.grid tfoot tr td {border: none; border-bottom: 1px solid #eee; position: relative; padding-left:0; text-align:left; min-height:26px; line-height:25px; float:left; width:42%;}
table.grid tfoot tr td:before {/* Now like a table header *//* Top/left values mimic padding */top: 6px; left: 6px; width:auto; padding:0 10px; white-space: nowrap; float:none;}
table.grid tfoot tr td:nth-of-type(1):before  {content:none;}
table.grid tfoot tr td:nth-of-type(2):before  {content:none;}
	
	table.tae td:nth-of-type(1):before { content: " "; }
	table.tae td:nth-of-type(2):before { content: "Proveedor"; }
	table.tae td:nth-of-type(3):before { content: "Producto"; }
	table.tae td:nth-of-type(4):before { content: "Precio"; }
	table.tae td:nth-of-type(5):before { content: "Descuento"; }
	table.tae td:nth-of-type(6):before { content: "Precio c/Desc."; }

	table.clientes td:nth-of-type(1):before { content: "Seleccionado"; }
	table.clientes td:nth-of-type(2):before { content: "¿Activo?"; }
	table.clientes td:nth-of-type(3):before { content: "Clave"; }
	table.clientes td:nth-of-type(4):before { content: "Nombre"; }
	table.clientes td:nth-of-type(5):before { content: "RFC"; }
	table.clientes td:nth-of-type(6):before { content: "Razon Social"; }
	table.clientes td:nth-of-type(7):before { content: "Saldo"; }
	table.clientes td:nth-of-type(8):before { content: "Forma de Pago"; }
	table.clientes td:nth-of-type(9):before { content: "Dias de Credito"; }
	table.clientes td:nth-of-type(10):before { content: "Importe Maximo"; }
	table.clientes td:nth-of-type(11):before { content: "Descuentos por producto"; }
	table.clientes td:nth-of-type(12):before { content: "Detalle"; }

	table.empleados td:nth-of-type(1):before { content: "Seleccionado"; }
	table.empleados td:nth-of-type(2):before { content: "¿Activo?"; }
	table.empleados td:nth-of-type(3):before { content: "Clave"; }
	table.empleados td:nth-of-type(4):before { content: "Nombre"; }
	table.empleados td:nth-of-type(5):before { content: "Apellido Paterno"; }
	table.empleados td:nth-of-type(6):before { content: "Apellido Materno"; }
	table.empleados td:nth-of-type(7):before { content: "Cargo"; }
	table.empleados td:nth-of-type(8):before { content: "Area"; }
	table.empleados td:nth-of-type(9):before { content: "Fecha de Nac"; }
	table.empleados td:nth-of-type(10):before { content: "Descripcion"; }

	table.users td:nth-of-type(1):before { content: "Seleccionado"; }
	table.users td:nth-of-type(2):before { content: "¿Activo?"; }
	table.users td:nth-of-type(3):before { content: "Cuenta"; }
	table.users td:nth-of-type(4):before { content: "Contraseña"; }
	table.users td:nth-of-type(5):before { content: "Fecha Alta"; }
	table.users td:nth-of-type(6):before { content: "Ultimo Acceso"; }
	table.users td:nth-of-type(7):before { content: "Rol"; }
	
	table.asesores td:nth-of-type(1):before { content: "Seleccionado"; }
	table.asesores td:nth-of-type(2):before { content: "¿Activo?"; }
	table.asesores td:nth-of-type(3):before { content: "Nombre"; }
	table.asesores td:nth-of-type(4):before { content: "Comisionista"; }
	table.asesores td:nth-of-type(5):before { content: "Partner"; }
	table.asesores td:nth-of-type(6):before { content: "Comisiones Maximas por Producto"; }
	table.asesores td:nth-of-type(7):before { content: "Detalle"; }
	
	table.proveedores td:nth-of-type(1):before { content: "Seleccionado"; }
	table.proveedores td:nth-of-type(2):before { content: "¿Activo?"; }
	table.proveedores td:nth-of-type(3):before { content: "Numero"; }
	table.proveedores td:nth-of-type(4):before { content: "Clave"; }
	table.proveedores td:nth-of-type(5):before { content: "Nombre"; }
	table.proveedores td:nth-of-type(6):before { content: "Telefono"; }
	table.proveedores td:nth-of-type(7):before { content: "Fax"; }
	table.proveedores td:nth-of-type(8):before { content: "Email"; }
	table.proveedores td:nth-of-type(9):before { content: "Web"; }
	table.proveedores td:nth-of-type(10):before { content: "Detalle"; }
	
	table.contactos td:nth-of-type(1):before { content: "Seleccionado"; }
	table.contactos td:nth-of-type(2):before { content: "¿Activo?"; }
	table.contactos td:nth-of-type(3):before { content: "Nombre"; }
	table.contactos td:nth-of-type(4):before { content: "Email"; }
	table.contactos td:nth-of-type(5):before { content: "Telefono 1"; }
	table.contactos td:nth-of-type(6):before { content: "Telefono 2"; }
	table.contactos td:nth-of-type(7):before { content: "Telefono 3"; }
	table.contactos td:nth-of-type(8):before { content: "Fax"; }
	table.contactos td:nth-of-type(9):before { content: "Skype"; }
	table.contactos td:nth-of-type(10):before { content: "Web"; }
	
	table.productos td:nth-of-type(1):before { content: "Seleccionado"; }
	table.productos td:nth-of-type(2):before { content: "¿Activo?"; }
	table.productos td:nth-of-type(3):before { content: "Tipo"; }
	table.productos td:nth-of-type(4):before { content: "Clave"; }
	table.productos td:nth-of-type(5):before { content: "Proveedor "; }
	table.productos td:nth-of-type(6):before { content: "Precio Base"; }
	table.productos td:nth-of-type(7):before { content: "Costo Base"; }
	table.productos td:nth-of-type(8):before { content: "Utilidad %"; }
	table.productos td:nth-of-type(9):before { content: "Descripcion"; }
	
	table.tipoproductos td:nth-of-type(1):before { content: "Seleccionado"; }
	table.tipoproductos td:nth-of-type(2):before { content: "¿Activo?"; }
	table.tipoproductos td:nth-of-type(3):before { content: "Clave"; }
	table.tipoproductos td:nth-of-type(4):before { content: "Descripcion"; }
	
	
	table.tipomovimientos td:nth-of-type(1):before { content: "Seleccionado"; }
	table.tipomovimientos td:nth-of-type(2):before { content: "¿Activo?"; }
	table.tipomovimientos td:nth-of-type(3):before { content: "Clave"; }
	table.tipomovimientos td:nth-of-type(4):before { content: "Operador"; }
	
	table.pagos td:nth-of-type(1):before { content: "¿Recibio notificacion?"; }
	table.pagos td:nth-of-type(2):before { content: "Proveedor"; }
	table.pagos td:nth-of-type(3):before { content: "Monto"; }
	table.pagos td:nth-of-type(4):before { content: "Fecha que aplico el pago"; }
	
	
	table.saldos td:nth-of-type(1):before { content: "Cliente"; }
	table.saldos td:nth-of-type(2):before { content: "Saldo"; }
	table.saldos td:nth-of-type(3):before { content: "Fecha ultimo pago"; }
	table.saldos td:nth-of-type(4):before { content: "Metodo de pago"; }

	table.almacen td:nth-of-type(1):before { content: "Seleccionado"; }
	table.almacen td:nth-of-type(2):before { content: "Activo?"; }
	table.almacen td:nth-of-type(3):before { content: "Clave"; }
	table.almacen td:nth-of-type(4):before { content: "Descripcion"; }

	table.almacendetalle td:nth-of-type(1):before { content: "Seleccionado"; }
	table.almacendetalle td:nth-of-type(2):before { content: "Almacen"; }
	table.almacendetalle td:nth-of-type(3):before { content: "Proveedor"; }
	table.almacendetalle td:nth-of-type(4):before { content: "Producto"; }
	table.almacendetalle td:nth-of-type(5):before { content: "Fecha Actualizcion"; }
	table.almacendetalle td:nth-of-type(6):before { content: "Existencia"; }
	table.almacendetalle td:nth-of-type(7):before { content: "Monto Existente"; }
	
	table.ventas td:nth-of-type(1):before { content: "Seleccionado"; }
	table.ventas td:nth-of-type(2):before { content: "Vendedor"; }
	table.ventas td:nth-of-type(3):before { content: "Comision"; }
	table.ventas td:nth-of-type(4):before { content: "Cliente"; }
	table.ventas td:nth-of-type(5):before { content: "Descuento"; }
	
	table.cuentas td:nth-of-type(1):before { content: "Seleccionado"; }
	table.cuentas td:nth-of-type(2):before { content: "¿Activo?"; }
	table.cuentas td:nth-of-type(3):before { content: "Clave"; }
	table.cuentas td:nth-of-type(4):before { content: "Descripcion"; }
	table.cuentas td:nth-of-type(5):before { content: "Num. de Cuenta"; }
	table.cuentas td:nth-of-type(6):before { content: "Saldo Anterior"; }
	table.cuentas td:nth-of-type(7):before { content: "Saldo Actual"; }
	
	
	table.movimientodetalle td:nth-of-type(1):before { content: "Seleccionado"; }
	table.movimientodetalle td:nth-of-type(2):before { content: "Cantidad"; }
	table.movimientodetalle td:nth-of-type(3):before { content: "Precio"; }
	table.movimientodetalle td:nth-of-type(4):before { content: "Importe"; }
	table.movimientodetalle td:nth-of-type(5):before { content: "Total"; }
	
	table.tipotransaccion td:nth-of-type(1):before { content: "Seleccionado"; }
	table.tipotransaccion td:nth-of-type(2):before { content: "¿Activo?"; }
	table.tipotransaccion td:nth-of-type(3):before { content: "Clave"; }
	table.tipotransaccion td:nth-of-type(4):before { content: "Descripcion"; }
	
	
	table.venta td:nth-of-type(1):before { content: "Sel"; }
	table.venta td:nth-of-type(2):before { content: "Cliente"; }
	table.venta td:nth-of-type(3):before { content: "Cuenta"; }
	table.venta td:nth-of-type(4):before { content: "Movimiento"; }
	table.venta td:nth-of-type(5):before { content: "Transaccion"; }
	table.venta td:nth-of-type(6):before { content: "Autorizado"; }
	table.venta td:nth-of-type(7):before { content: "Pagado"; }
	table.venta td:nth-of-type(8):before { content: "Confirmado"; }
	table.venta td:nth-of-type(9):before { content: "Surtido"; }
	table.venta td:nth-of-type(10):before { content: "Detalle"; }
	table.venta td:nth-of-type(11):before { content: "Remision"; }
	
	table.grid tr td table tr.total {width:100%;}
	
	table.grid tr td table tr.total td {float:left; position:relative; display:table-cell; border-bottom:none;}
	
	table.grid tr td table tr.total td:nth-of-type(1):before {content:none; padding-left:40%; }
	table.grid tr td table tr.total td:nth-of-type(2):before {content:none; }
	
	table.in_venta td:nth-of-type(1):before {content:"Cantidad";}
	table.in_venta td:nth-of-type(2):before {content:"Producto";}
	table.in_venta td:nth-of-type(3):before {content:"Precio";}
	table.in_venta td:nth-of-type(4):before {content:"Importe";}
	
	
	table.repadeud td:nth-of-type(1):before {content:"Clave";}
	table.repadeud td:nth-of-type(2):before {content:"Nombre";}
	table.repadeud td:nth-of-type(3):before {content:"Inicio de Credito";}
	table.repadeud td:nth-of-type(4):before {content:"Saldo";}
	table.repadeud td:nth-of-type(5):before {content:"Saldo";}
	
	table.repcomven td:nth-of-type(1):before {content:"Vendedor";}
	table.repcomven td:nth-of-type(2):before {content:"Total";}
	
	table.cliendeud td:nth-of-type(1):before {content:"Folio";}
	table.cliendeud td:nth-of-type(2):before {content:"Nombre";}
	table.cliendeud td:nth-of-type(3):before {content:"Clave";}
	table.cliendeud td:nth-of-type(4):before {content:"Saldo Deudor";}
	
	table.stock td:nth-of-type(1):before {content:"Tipo de producto";}
	table.stock td:nth-of-type(2):before {content:"Proveedor";}
	table.stock td:nth-of-type(3):before {content:"Producto";}
	table.stock td:nth-of-type(4):before {content:"Existencias";}
		table.stock td:nth-of-type(5):before {content:"% utilidad";}
	table.stock td:nth-of-type(6):before {content:"Precio";}
	table.stock td:nth-of-type(7):before {content:"Total";}


table.reppagos td:nth-of-type(1):before {content:"Folio";}
	table.reppagos td:nth-of-type(2):before {content:"Cliente";}
	table.reppagos td:nth-of-type(3):before {content:"Cuenta";}
	table.reppagos td:nth-of-type(4):before {content:"Transaccion";}
		table.reppagos td:nth-of-type(5):before {content:"Fecha";}
	table.reppagos td:nth-of-type(6):before {content:"Recibido";}
	table.reppagos td:nth-of-type(7):before {content:"Referencia";}
	table.reppagos td:nth-of-type(8):before {content:"Monto";}
	table.reppagos td:nth-of-type(9):before {content:"Saldo anterior";}
	table.reppagos td:nth-of-type(10):before {content:"Saldo actual";}
	
	
	table.repventas td:nth-of-type(1):before {content:"Folio";}
	table.repventas td:nth-of-type(2):before {content:"Cliente";}
	table.repventas td:nth-of-type(3):before {content:"Cuenta";}
	table.repventas td:nth-of-type(4):before {content:"Transaccion";}
	table.repventas td:nth-of-type(5):before {content:"Fecha";}
	table.repventas td:nth-of-type(6):before {content:"Recibido";}
	table.repventas td:nth-of-type(7):before {content:"Referencia";}
	table.repventas td:nth-of-type(8):before {content:"Monto";}
	table.repventas td:nth-of-type(9):before {content:"Saldo anterior";}
	table.repventas td:nth-of-type(10):before {content:"Saldo actual";}
	
	
	table.repclient td:nth-of-type(1):before {content:"Folio";}
	table.repclient td:nth-of-type(2):before {content:"Cliente";}
	table.repclient td:nth-of-type(3):before {content:"Asesor";}
	table.repclient td:nth-of-type(4):before {content:"Total";}
	table.repclient td:nth-of-type(5):before {content:"Fecha";}
	table.repclient td:nth-of-type(6):before {content:"Observaciones";}
	table.repclient td:nth-of-type(7):before {content:"Detalle de partidas";}
	
		table.repcom td:nth-of-type(1):before {content:"Folio";}
	table.repcom td:nth-of-type(2):before {content:"Proveedor";}
	table.repcom td:nth-of-type(3):before {content:"Total";}
	table.repcom td:nth-of-type(4):before {content:"Fecha";}
	table.repcom td:nth-of-type(5):before {content:"Observaciones";}
	table.repcom td:nth-of-type(6):before {content:"Detalle de partidas";}
	
	
	table.porsurtir td:nth-of-type(1):before {content:"Fecha";}
	table.porsurtir td:nth-of-type(2):before {content:"Cliente";}
	table.porsurtir td:nth-of-type(3):before {content:"Proveedor";}
	table.porsurtir td:nth-of-type(4):before {content:"Autorizado";}
	table.porsurtir td:nth-of-type(5):before {content:"Cuenta";}
	table.porsurtir td:nth-of-type(6):before {content:"Referencia";}
	table.porsurtir td:nth-of-type(7):before {content:"Total";}
	table.porsurtir td:nth-of-type(8):before {content:"Recibio";}
	table.porsurtir td:nth-of-type(9):before {content:"Detalle";}

	
	
		table.gasto td:nth-of-type(1):before {content:"Seleccionar";}
	table.gasto td:nth-of-type(2):before {content:"Activo";}
	table.gasto td:nth-of-type(3):before {content:"Clave";}
	table.gasto td:nth-of-type(4):before {content:"Fecha";}
	table.gasto td:nth-of-type(5):before {content:"Importe";}
	table.gasto td:nth-of-type(6):before {content:"Descripcion";}
	
	table.ventaClient td:nth-of-type(1):before {content:"Estatus";}
	table.ventaClient td:nth-of-type(2):before {content:"Fecha";}
	table.ventaClient td:nth-of-type(3):before {content:"Cliente";}
	table.ventaClient td:nth-of-type(4):before {content:"Autorizado";}
	table.ventaClient td:nth-of-type(5):before {content:"Pagado";}
	table.ventaClient td:nth-of-type(6):before {content:"Surtido";}
		table.ventaClient td:nth-of-type(7):before {content:"Total";}
	table.ventaClient td:nth-of-type(8):before {content:"Depositado";}
	table.ventaClient td:nth-of-type(9):before {content:"Referencia";}
	table.ventaClient td:nth-of-type(10):before {content:"Detalle de Partidas";}
	
	
	
		table.in_ventaClient td:nth-of-type(1):before {content:"Cantidad";}
	table.in_ventaClient td:nth-of-type(2):before {content:"Producto";}
	table.in_ventaClient td:nth-of-type(3):before {content:"Precio";}
	table.in_ventaClient td:nth-of-type(4):before {content:"Importe";}
	table.in_ventaClient td:nth-of-type(5):before {content:"Importe c/Desc.";}
	
	
	table.sinpag td:nth-of-type(1):before {content:"Pagado";}
	table.sinpag td:nth-of-type(2):before {content:"Deudor";}
	table.sinpag td:nth-of-type(3):before {content:"Fecha";}
	table.sinpag td:nth-of-type(4):before {content:"Depositado";}
	table.sinpag td:nth-of-type(5):before {content:"Total";}
	table.sinpag td:nth-of-type(6):before {content:"Por pagar";}
	
	
	table.deudores td:nth-of-type(1):before {content:"Seleccionar";}
	table.deudores td:nth-of-type(2):before {content:"Nombre";}
	table.deudores td:nth-of-type(3):before {content:"Saldo";}
	
	
		table.clien_deudores td:nth-of-type(1):before {content:"Clave";}
	table.clien_deudores td:nth-of-type(2):before {content:"Nombre";}
	table.clien_deudores td:nth-of-type(3):before {content:"Dias de credito";}
	table.clien_deudores td:nth-of-type(4):before {content:"Inicio de credito";}
	table.clien_deudores td:nth-of-type(5):before {content:"Saldo deudor";}
	
	
			table.prov_deudores td:nth-of-type(1):before {content:"Clave";}
	table.prov_deudores td:nth-of-type(2):before {content:"Nombre";}
	table.prov_deudores td:nth-of-type(3):before {content:"Dias de credito";}
	table.prov_deudores td:nth-of-type(4):before {content:"Inicio de credito";}
	table.prov_deudores td:nth-of-type(5):before {content:"Saldo deudor";}
	
		table.in_deudores td:nth-of-type(1):before {content:"Fecha";}
	table.in_deudores td:nth-of-type(2):before {content:"Monto";}
	table.in_deudores td:nth-of-type(3):before {content:"Referencia";}
	table.in_deudores td:nth-of-type(4):before {content:"Recibio";}
	
			table.admin_mov_prov td:nth-of-type(1):before {content:"Seleccione";}
	table.admin_mov_prov td:nth-of-type(2):before {content:"Proveedor";}
	table.admin_mov_prov td:nth-of-type(3):before {content:"Fecha";}
	table.admin_mov_prov td:nth-of-type(4):before {content:"Referencia";}
	table.admin_mov_prov td:nth-of-type(5):before {content:"Depositado";}
	
	table.admin_mov_clie td:nth-of-type(1):before {content:"Seleccione";}
	table.admin_mov_clie td:nth-of-type(2):before {content:"Cliente";}
	table.admin_mov_clie td:nth-of-type(3):before {content:"Proveedor";}
	table.admin_mov_clie td:nth-of-type(4):before {content:"Fecha";}
	table.admin_mov_clie td:nth-of-type(5):before {content:"Referencia";}
	table.admin_mov_clie td:nth-of-type(6):before {content:"Depositado";}
	
	
	table.admin_gan_ex td:nth-of-type(1):before {content:"Fecha";}
	table.admin_gan_ex td:nth-of-type(2):before {content:"Concepto";}
	table.admin_gan_ex td:nth-of-type(3):before {content:"Observaciones";}
	table.admin_gan_ex td:nth-of-type(4):before {content:"Monto";}

	
	
	table.corte_deudores td:nth-of-type(1):before {content:"Nombre";}
	table.corte_deudores td:nth-of-type(2):before {content:"Saldo Deudor";}


	
table.grid tr td table.in_cliente tr {width:100%; padding:0; margin:0;}
	
table.grid tr td table.in_cliente th {display:inline-block; position:relative; float:none; width:40%; border:none;}

table.grid tr td table.in_cliente td 	{display:inline-block; position:relative; float:none; width:50%; margin:0; border:none;}
	table.in_cliente td:nth-of-type(1):before {content:none;}
	

table.grid tr td table.in_cliente tr {width:100%; padding:0; margin:0;}
	
table.grid tr td table.in_cliente th {display:inline-block; position:relative; float:none; width:40%; border:none;}

table.grid tr td table.in_cliente td 	{display:inline-block; position:relative; float:none; width:50%; margin:0; border:none;}
	table.in_cliente td:nth-of-type(1):before {content:none;}
	}
	
@media
only screen and (max-width: 600px),
(min-device-width: 600px) and (max-device-width: 600px)  {

	/* Force table to not be like tables anymore */
	table.white, table.white thead, table.white tbody, table.white th, table.white td, table.white tr {
		display: block;
		text-align:left;
	}
}