﻿/* -------------- */
/* div webgrid  */
.table-webgrid-div-listado {
	font-size: 13px;
	overflow: no-content;
	overflow-x: auto;
	overflow-y: auto;
	display: block;
	width: 100%;
	min-height: 3vh !important;
	max-height: calc(100vh - 60.5vh);
	border: 0px none;
	border-color: transparent;
	margin: 0px;
}
/* -------------- */
/* webgrid  */
.table-webgrid {
	width: max-content !important;
	max-height: max-content !important;
	border: none;
	border-color: transparent;
	border-spacing: 0px;
	border-collapse: separate !important;
	border-radius: 8px !important;
	overflow: auto !important;
	margin: 0px;
	padding: 5px;
	padding-right: 0px;
	font-family: inherit;
	display: table;
}
.table-webgrid-header {
	position: sticky;
	font-size: inherit !important;
	top: 0px;
	height: 50px !important;
	color: #599ddf;
	z-index: 1;
}
.table-webgrid-header th {
	font-weight: 900 !important;
	background-color: whitesmoke;
	border: none;
}
.table-webgrid tr {
	background-color: white;
	height: 50px
}

tbody {
	overflow-y: auto; /* Trigger vertical scroll    */
	overflow-x: auto; /* Hide the horizontal scroll */
}
/* Fila alternativa */
tr:nth-child(even) {
	background-color: whitesmoke;
}
.table-webgrid tr:hover td,
.table-webgrid tr.even:hover td.active,
.table-webgrid tr.odd:hover td.active {
	background: #ddebf8;
	cursor: pointer;
}
/*.table-webgrid-row-selected {
	background-color: #ddebf8;
}*/
.table-webgrid-footer a {
	font-family: inherit;
	color: rgb(102,173,227);
}

/*.table-webgrid-columna-oculta {
	width: 0px !important;
	visibility: hidden !important;
	display: none !important;
}*/
.rect-celeste-webgrid {
	height: 49px;
	width: 10px;
	background-color: rgb(102,173,227);
}
/* -------------- */

.table-webgrid-div {
	font-size: 13px;
	overflow: no-content;
	overflow-x: auto;
	overflow-y: auto;
	display: block;
	width: 100%;
	height: calc(100vh - 42vh);
	min-height: 420px !important;
	border: 0px none;
	border-color: transparent;
	margin: 0px;
}

.table-webgrid-div-modal {
	font-size: 13px;
	overflow: no-content;
	overflow-x: auto;
	overflow-y: auto;
	display: block;
	width: 100%;
	height: 270px !important;
	min-height: 200px !important;
	border: 0px none;
	border-color: transparent;
	margin: 0px;
}

/*.table-webgrid-header2 {
	font-size: inherit !important;
	top: 0px;
	font-weight: normal !important;
	background-color: whitesmoke !important;
	height: 50px !important;
	color: #599ddf;
}*/
.ancho100 {
	width: 100% !important;
}
.div-table-alto-filtro {
	max-height: calc(100vh - 70vh);
}
/* ================= */
/* webgrid agrupado */
.acordion-cabecera-icono-webgrid td svg path {
	stroke: black;
	stroke-width: 0.5px;
	fill: black;
	d: path("M 0,8 L 8,8 L 8,0 L 0,8 Z") !important;
}

.acordion-cabecera-icono-webgrid:hover {
	cursor: pointer;
}
.acordion-cabecera-icono-webgrid.collapsed td svg path {
	d: path("M 0,0 L 0,8 L 8,4 L 0,0 Z") !important;
}
/* ================= */
/* monitores > 1366px */
@media only screen and (min-width: 1367px) {
	.table-webgrid-div-listado {
		max-height: calc(100vh - 50vh);
		height: 100%;
	}
}
/* ========================= */
/*<500px S*/
@media only screen and (max-width: 499px) {
	.table-webgrid-div-listado {
		overflow-x: auto;
		overflow-y: auto;
		width: 100%;
		height: calc(100vh - 75vh);
		/*min-height: 3vh !important;*/
		max-height: calc(100vh - 75vh);
	}
}

/*500-1200 M*/
@media only screen and (min-width: 500px) and (max-width: 1199px) {
	.table-webgrid-div-listado {
		overflow-x: auto;
		overflow-y: auto;
		width: 100%;
		height: calc(100vh - 75vh);
		/*min-height: 3vh !important;*/
		max-height: calc(100vh - 75vh);
	}
	.rectCeleste-table-webgrid {
		width: 10px;
		height: 100px;
		margin-right: 25px !important;
		stroke-width: 10px;
		fill: none;
		stroke: transparent;
	}
}
/* ========================= */