
/* markdown table styling */
.block--table .cell > table,
.block--table .cell > div,
.block--table .cell > ul,
.block--table .cell > ol,
.block--table .cell > p {
	margin: 0 auto;
	width:100%;
}

.block--table.medium-table .cell > table,
.block--table.medium-table .cell > div,
.block--table.medium-table .cell > ul,
.block--table.medium-table .cell > ol,
.block--table.medium-table .cell > p {
	width:80%;
}

.block--table.small-table .cell > table,
.block--table.small-table .cell > div,
.block--table.small-table .cell > ul,
.block--table.small-table .cell > ol,
.block--table.small-table .cell > p {
	width:60%;
}

.block--table .cell > table {
	line-height: 1.3rem;
	text-align: center;
	border-collapse:collapse;
	margin-bottom: 1.7rem;
}

.block--table .cell > p + table {
	margin-top: 1.7rem;
}

.block--table tr th, .block--table tr td {
	padding: 0.4rem 1rem;
	text-align: right;
}

.block--table tr th {
	background: #58585a;
	color: #ffffff;
}

.block--table.no--switch table {
	border: 1px solid #58585a;
}

.block--table.no--switch table tr td {
	background: #ffffff!important;
}

.block--table table td.underline {
	border-bottom: 1px solid #58585a;
}

.block--table table tr:nth-child(odd) {
	background: #ffffff;
}

.block--table table tr:nth-child(even) {
	background: #f4f4f4;
}

.block--table tr th {
   text-align: center;
}

.block--table tr td:nth-child(1) {
   text-align: left;
}

.footnotes 
a.footnote-backref {
	display:none;
	font-size: 0.7em;
	text-decoration: none;
	border-bottom: none;
}

/* footnotes */

.block--table sup {
	font-style: italic;
	padding-left: 0.2rem;
}

.block--table th sup a {
	color: #ffffff;
}

.block--table .footnotes hr {
	float: left;
	width: 4rem;
}

.block--table ul, .block--table .footnotes ol {
	clear: left;
	margin-left: 0;
	font-size: 0.8rem;
	list-style-position: inside;
}

.block--table ul {
	list-style: none;
}

.block--table ul li {
	margin-bottom: 0;
}

.block--table ul li p, .block--table .footnotes ol li p {
	display: inline-block;
	margin-bottom: 0;
}

/* vertical alignment */

.block--table.align-top table th, .block--table.align-top table td {
	vertical-align: top;
}

.block--table.align-bottom table th, .block--table.align-bottom table td {
	vertical-align: bottom;
}

/* RESPONSIVE TABLE */

@media only screen and (max-width: 40em) {
	/* markdown table styling */
	.block--table .cell > table,
	.block--table .cell > div,
	.block--table .cell > ul,
	.block--table .cell > ol,
	.block--table .cell > p {
		width:100%!important;
	}
	
	.block--table table, .block--table thead, .block--table tbody, .block--table th, .block--table td, .block--table tr {
		display: block;
	}

	.block--table table caption {
		display:block;
		width:100%;
		padding-bottom:1em;
	}

	.block--table table {
		background:none;
	}
	
	.block--table table thead,
	.block--table table tbody,
	.block--table table tfoot {
		border: none;
		background: none;
    }

	/* Hide table headers (but not display: none;, for accessibility) */
	.block--table thead tr:nth-child(1) {
		position: absolute;
		top: -99999px;
		left: -99999px;
	}

	.block--table tr {
		position:relative;
		margin-bottom: 1rem;
	}

	.block--table td, .block--table th {
		/* Behave  like a "row" */
		border: none;
		border-bottom: none;
		vertical-align:center;
		font-size: 1.1em!important;
	}

	.block--table td {
	}

	.block--table tr td:nth-child(1) {
	    text-align: center;
	}

	.block--table td:before, .block--table th:before {
		/* Now like a table header */
		display:block;
		float:left;
		/* Top/left values mimic padding */
		white-space: nowrap;
		vertical-align:center;
	}

	.block--table td:after {
		/*content: "\00A0\20AC"; */
	}

	.block--table table td:nth-of-type(1) {
		font-size:1.2rem!important;
		color:#fff;
		background:#58585a!important;
	}

	.block--table table td:nth-of-type(1) a {
		color: #ffffff;
	}
		
	.block--table th:nth-of-type(1) {
	}

	.block--table td:nth-of-type(12) {
		margin-bottom: 3em;
	}

	.block--table table tr {
		background: #ffffff!important;
	}

	/* Label the data */
	.block--table table td:before {
		text-align:left;
		content: attr(data-label) ":\00A0";
		display: inline-block;
		/*min-width: 4em;*/
		font-weight: bold;
	}
	
	.block--table table td:before {
		content: attr(data-label) ":\00A0";
	}

	.block--table table td:nth-of-type(1):before,
	.block--table table td[data-label=""]:before,
	.block--table table td:not([data-label]):before {
		content: none;
	}
}

