﻿/* Deshabilitar areas de los graficos */

/*
table.pvtUi td 
{
    display:table-cell;
}
*/



/* Esconder partes del pivotgrid 
table.pvtUi td.pvtUnused,
table.pvtUi tr td:nth-child(1),
table.pvtUi .pvtRenderer,
table.pvtUi select.pvtAggregator,
table.pvtUi td.pvtVals br
{
   display: none;  
} 

table.pvtUi .pvtRenderer,
table.pvtUi select.pvtAggregator,
table.pvtUi td.pvtRows,
table.pvtUi td.pvtCols,
table.pvtUi td.pvtVals
{
	display : none;
}
*/

table.pvtUi td.pvtRows {
    /* background-color: burlywood; */
    min-height: 2em;
    min-width: 8em;  
    background: #80c0ff;
}

table.pvtUi td.pvtCols {
    /* background-color: greenyellow; */
    
    min-height: 2em;
    min-width: 8em;  
    background: #80c0ff;
}

table.pvtUi .pvtAxisContainer {
    background: #80c0ff;
        font-weight: bold;
                font-size: 8pt;
	padding-left:10px;
}

/* Encabezados */
table th {
    /* Acomodar todas las columnas del mismo ancho */
  /*  width: 6%;*/

    text-transform: none;
    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); */
}

/* Primera Columna */
table td:first-child {
    	background: #80c0ff;
        font-size: 8pt;
}

table th:first-child {
    width: auto ;
	text-align: left;
	padding-left:4px;
}

/* 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: left;
	padding-left:4px;
}

table tr th {
	text-align: left; 
}

table td:first-child {
	text-align: left;
    font-weight: bold;
	padding-left:10px;
	border-left: 0;
}

/*    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;
}

/************ Pop Up de detalle *****************************/
/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Header */
.modal-header {
    padding: 2px 16px;
/*    background-color: #5cb85c; 
    color: white; */
}

/* Modal Body */
.modal-body {
padding: 2px 16px;
	width: 90vw;
	overflow-x: scroll;
	max-height: 85vh;
	overflow-y: scroll;
	
}

#pivot_detail table{
}

/* Modal Footer */
.modal-footer {
    padding: 2px 16px;
/*    background-color: #5cb85c; 
    color: white; */
}

/* The Close Button */
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
} 

/* Modal Content */
.modal-content {
    position: relative;
    background-color: #fefefe;
    margin: auto;
    padding: 0;
    border: 1px solid #888;
    width: 95%;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    animation-name: animatetop;
    animation-duration: 0.4s
}

/* Add Animation */
@keyframes animatetop {
    from {top: -300px; opacity: 0}
    to {top: 0; opacity: 1}
} 


/***********************************************************************
Estilos particulares de los tableros
***********************************************************************/
#detalle table td {
	white-space: normal;
}
