
/* tabla para detalle de gastos */
.c840 { max-width: 840px !important}
.tablefijo { overflow: auto; width: 100%; height: 400px; }
.tablefijo thead {
	position: -webkit-sticky;
	position: sticky ;
	top: 0;
	z-index: 1;
}
.tablefijo::-webkit-scrollbar { width: 0; }
.tablefijo::-webkit-scrollbar-track {
	background-color: transparent;
	border-radius: 100px;
}
.tablefijo::-webkit-scrollbar-thumb {
	background-color: transparent;
	border-radius: 100px;
}

/* table */
table {
	border-collapse: initial;
	border-spacing: 0px 0.625rem;
	background:transparent;
	width:100%;
	margin:5% auto;
	position: relative;
}

caption {
	font-size: 1.3em;
	font-weight: 300;
	padding: 0.625rem 0;
}

thead th {
	font-weight: 300;
	background: #fcfcfc;
	text-align: center;
	padding: 0.625rem 1rem;
}


thead th:nth-child(4) { width: 16%}


.table-users {
	box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.1);
	max-width: calc(100% - 2em);
	margin: 1em auto;
	overflow: hidden;
	width: 100%;
}
table img {
	max-width: 40px;
	height: 40px;
	width: 40px;
}
table {
	width: 100%;
}

table td, table th {
	padding: 10px;
}

table td {
	vertical-align: middle;
}
/* thead th {
	font-weight: 300;
	background: #fcfcfc;
	text-align: center;
	padding: 0.625rem 1rem;
}
thead th:nth-child(4) { width: 16%} */


tbody tr {
	background: white;
	vertical-align: middle;
	box-shadow: 0 1px 6px 0 rgba(0, 0, 0, 0.05);

}
tbody th,
tbody td {
	font-size: 0.75rem;
	text-align: left;
	line-height: 1.3;
	padding: 1.25rem;
	font-weight: normal;
	text-transform: lowercase;
}
tbody td:nth-child(3) { text-align: center;}

tbody td:nth-child(4) { font-size: 0.875rem; text-align: right; text-transform: uppercase;}


@media screen and (max-width: 700px) {
	table, tr, td {
		display: block;
	}

	thead td:first-child {
		display: none;
	}

	td:not(:first-child) {
		clear: both;
		margin-left: 100px;
		padding: 4px 20px 4px 90px;
		position: relative;
		text-align: left;
	}

	td:not(:first-child):before {
		content: "";
		display: inline;
		left: 0;
		position: absolute;
	}

	td:nth-child(2):before {
		content: "Objeto:";
	}

	td:nth-child(3):before {
		content: "Beneficiarios:";
	}

	td:nth-child(4):before {
		content: "Inversión USD:";
	}

	tr {
		padding: 10px 0;
		position: relative;
	}

	thead tr:first-child {
		display: none;
	}
}

@media screen and (max-width: 500px) {

	table img {
		display: none;
	}

	td:first-child {
		position: relative;
		top: 0;
		transform: translateY(0);
		width: 100%;
	}

	td:not(:first-child) {
		margin: 0;
		padding: 5px 1em;
		width: 100%;
	}
	tbody td:nth-child(3),
	tbody td:nth-child(4) {
		text-align: left;
	}

	td:not(:first-child):before {
		font-size:.89rem;
		position: relative;
		text-transform: capitalize;
	}
	/* colores por seccion */
	/* red */
	table.red td:not(:first-child):before { color: #DE2C19; }
	/* blue */
	table.blue td:not(:first-child):before { color: #1974B5; }
	/* orange */
	table.orange td:not(:first-child):before { color: #F7B206; }
	/* green */
	table.green td:not(:first-child):before { color: #00943D; }


	td:last-child {
		padding-bottom: 1rem !important;
	}

	tr {
		background-color: white !important;
		border-radius: 10px;
		box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.1);
		margin: 0.5rem 0;
		padding: 0;
	}

	.table-users {
		border: none;
		box-shadow: none;
		overflow: visible;
	}
}


/* colores por seccion */
/* red */
table.red caption,
table.red thead { color: #DE2C19; }
/* blue */
table.blue caption,
table.blue thead { color: #1974B5; }
/* orange */
table.orange caption,
table.orange thead { color: #F7B206; }
/* green */
table.green caption,
table.green thead { color: #00943D; }
