﻿/* Encabezados */
h1, h2 {
	font-family:Tahoma, Arial, Helvetica, sans-serif;
    text-align: center;
    text-transform: uppercase;
    font-size: 15px;
}

/* Usar Unicode en los Drill Down */
span[data-use=Drill]
{
	font-family: Arial Unicode MS;
}

/* Reglas Generales para la apariencia de las tablas */
table a:link {
	color: #777;
	font-weight: bold;
	text-decoration:none;
}

table a:visited {
	color: #999999;
	font-weight:bold;
	text-decoration:none;
}

table a:active,
table a:hover {
	color: #bd5a35;
	text-decoration:underline;
}

table {
	font-family: Tahoma, Arial, Helvetica, sans-serif;
	color:black;
	font-size:10t;
/*	text-shadow: 1px 1px 0px #fff; 
	background:#eaebec;*/
	margin:20px;
    margin-left: auto;
    margin-right: auto;
	border:white 1px solid;
    border-collapse: separate;
	-moz-border-radius:3px;
	-webkit-border-radius:3px;
	border-radius:3px;
	-moz-box-shadow: 0 1px 2px #d1d1d1;
	-webkit-box-shadow: 0 1px 2px #d1d1d1;
	box-shadow: 0 1px 2px #d1d1d1;
}

/* Encabezados */
table th {
    /* Acomodar todas las columnas del mismo ancho */
  /*  width: 6%;*/

    text-transform: uppercase;
    padding: 4px 6px;
    border: 1px Solid #9F9F9F;
	background: #80c0ff;
    font-size: 7pt;
/*	background: -webkit-gradient(linear, left top, left bottom, from(#ededed), to(#ebebeb));
	background: -moz-linear-gradient(top,  #ededed,  #ebebeb); */
}

.dxgvHeader {
    cursor: pointer;
    white-space: nowrap;
    background-color: #dcdcdc;
    overflow: hidden;
    font-weight: normal;
    text-align: left;
}

/* Primera Columna */
table td:first-child {
    	background: #80c0ff;
        font-size: 8pt;
}

table th:first-child {
    width: 15%;
	text-align: left;
	padding-left:4px;
}

.tablero_diario table th:first-child {
    width: 7em;
	text-align: left;
	padding-left:4px;
}

.tablero_diario table {
    width: 100%;
}

/* Bordes redondeados de las tablas */
table tr:first-child th:first-child {
	-moz-border-radius-topleft:3px;
	-webkit-border-top-left-radius:3px;
	border-top-left-radius:3px;
}
table tr:first-child th:last-child {
	-moz-border-radius-topright:3px;
	-webkit-border-top-right-radius:3px;
	border-top-right-radius:3px;
}

table tr:last-child td:first-child {
	-moz-border-radius-bottomleft:3px;
	-webkit-border-bottom-left-radius:3px;
	border-bottom-left-radius:3px;
}
table tr:last-child td:last-child {
	-moz-border-radius-bottomright:3px;
	-webkit-border-bottom-right-radius:3px;
	border-bottom-right-radius:3px;
}

/* Alineacion del texto */
table tr {
	text-align: right;
	padding-left:4px;
}

table td:first-child {
	text-align: left;
    font-weight: bold;
	padding-left:10px;
	border-left: 0;
}

#basesocial  tr[data-id*=' - '] td
{
	font-weight: normal;
}

#basesocial  tr[data-id*='EN TRA'] td
{
	 background-color: #d3d5fe; 
}

.tablero table tr td:nth-child(2), .tablero td:last-child{
	font-weight: bold;
}

.tablero_diario table td {
    padding-left: 0;
    padding-right: 0;
    font-size:  9pt;
}

/*    Celdas*/
table td {
	padding: 4px 6px;
    /* border: 1px Solid #9F9F9F; */
    overflow: hidden;
    border-bottom: 1px Solid #CFCFCF;
    border-right: 1px Solid #CFCFCF;
    border-top-width: 0px;
    border-left-width: 0px;
    padding: 3px 6px 4px;
    font-weight: normal;
	/*Estos dos son para que no salte de linea*/
	white-space:nowrap;
	word-break:keep-all;
}


table tr:last-child td {
	border-bottom:0;
}

/* Resaltar la fila cuando se pasa el puntero del mouse */
table tr:hover td {
	background: #f2f2f2;
    color:black;
/*	background: -webkit-gradient(linear, left top, left bottom, from(#f2f2f2), to(#f0f0f0));
	background: -moz-linear-gradient(top,  #f2f2f2,  #f0f0f0);	  */
}

/*** Tableros por Sucursal ***/
/* Obliga al Scroll Horizontal */
.tablero, .tablero_diario {
    width: 100%;
    overflow-x: scroll;
}

/* Ultima Columna */
.tablero table td:last-child {
    	background: #80c0ff;
     /*   font-weight: bold;*/
}

/*** Tableros Diarios ***/
/* Ultima Columna */
.tablero_diario table td:last-child {
    	background: inherit;
}

/* texto en las celdas */
.tablero_diario table td {
       font-weight: normal;
}
.tablero_diario table tr :first-child{
       font-weight: bold;
}

/******** Formato condicional segun total de la fila *************/
.rojo, table td:first-child.rojo, .tablero table td:last-child.rojo {
    background-color:red;
    color: white;
}

.negro, table td:first-child.negro , .tablero table td:last-child.negro {
    background-color:black;
    color: white;
}

.cafe, table td:first-child.cafe ,.tablero table td:last-child.cafe {
    background-color:rgb(100,88,75);
    color: white;
}

.otro, table td:first-child.otro, .tablero table td:last-child.otro {
    background-color:yellow;
    color: black;
}

.verde, table td:first-child.verde, .tablero table td:last-child.verde
{
    background-color: #92d050;
}

.rosa, table td:first-child.rosa, .tablero table td:last-child.rosa
{
    background-color: #ffe0c0;
}

.amarillo, table td:first-child.amarillo, .tablero table td:last-child.amarillo
{
    background-color: yellow;
}

/* Filas resaltadas del Estado de Resultados */
#ER tr[data-id] td
{
    font-weight: normal;
   /* font-size: 8pt;*/
}

#ER tr[data-id^=VN] td
{
    font-weight: bold;
   /* font-size: 8pt;*/
}

#ER table tr:nth-child(15) td,
#ER table tr[data-id='INGRESOS'] td,
#ER table tr[data-id='COSTO DEL SERVICIO'] td,
#ER table tr[data-id='EXCEDENTE BRUTO'] td,
#ER table tr[data-id='GASTOS DE PERSONAL.'] td,
#ER table tr[data-id='GASTOS TOTAL'] td,
#ER table tr[data-id='GASTOS GENERALES'] td,
#ER table tr[data-id='GASTOS FINANCIEROS'] td,
#ER table tr[data-id^=PPTO] td,
#ER table tr[data-id='PROVISIONES'] td,
#ER table tr[data-id='DEPRECIACIONES.'] td,
#ER table tr[data-id='EXCEDENTE OPERACIONAL'] td,
#ER table tr[data-id='EXCEDENTE NETO'] td,
#ER table tr[data-id='MARGEN NETO'] td,
#ER tr[data-id^=EBI] td,
#ER tr[data-id=' EBITDA'] td
{
    background-color: #d3d5fe; 
   /* font-size: 8pt;   */
    font-weight: bold;
}

/* Totales en el tablero de endeudamiento */
#Endeudamiento tr[data-id] td
{
    font-weight: normal;
   /* font-size: 8pt;*/
}

#Endeudamiento tr[data-id^=TOT] td,
#Endeudamiento tr[data-id^=END] td,
#Endeudamiento tr[data-id^=PPTO] td,
#Endeudamiento tr[data-id^=ACUM] td,
#Endeudamiento tr[data-id^=SLDO] td
{
    background-color: #d3d5fe; 
    font-weight: bold;
  /*  font-size: 8pt;*/
}

#Endeudamiento tr[data-id^=VN] td
{
    font-weight: bold;
  /*  font-size: 8pt;*/
}

*[data-use=Drill] a:active, *[data-use=Drill] a:hover, *[data-use=Drill] a:visited, *[data-use=Drill] a:link   {
    text-decoration: none;
    color: black;
}

/* Deshabilitar areas de los graficos */
/*table.pvtUi td.pvtUnused,
table.pvtUi td.pvtRows,
table.pvtUi td.pvtCols,
table.pvtUi tr td:nth-child(1),
table.pvtUi .pvtRenderer,
table.pvtUi select.pvtAggregator,
table.pvtUi td.pvtVals br
{
   display: none; 
} */

#Graficahistorico > table > tbody > tr:nth-child(3) > td.pvtRendererArea > div > p
{
display:none;
}


#Balance table tr td:nth-child(2)
{
    font-weight: normal;
}

#Balance tr[data-id^=TOT] td
{
    background-color: #d3d5fe; 
    font-weight: bold;
  /*  font-size: 8pt;*/
}

#Balance tbody > tr:nth-child(5) > td:nth-child(2)
{
    font-weight: bold;
}

