/***********************************

	main > tabel
	
*************************************/

/* tabellen kunnen worden voorafgegaan of gevolgd door een titel, niet zo netjes.. */
.simpletable-title{
	font-style: italic;
	font-size: 0.8em;
	margin-bottom: 10px;
	margin-top: 30px;
	width: 100%;
	line-height: 150%;
}

.simpletable-title + .p, .simpletable-title + p{
	margin-top: 50px;
}

.simpletable-title + .simpletable{
	margin-top: 10px;
}
	


/* niet alle tabellen worden voorafgegaan door een titel */

:not(.simpletable-title) + table.simpletable{
	margin-top: 30px;
}

table.simpletable{
	margin-bottom: 30px;
	/* onderstaande geeft ongewenste effecten, bv bij ANK 1.1.1.2 */
	/*
	display: block;
	width: 100%;
	*/
	border-spacing:0;
	border-collapse: collapse;
	font-size: 14px;
	line-height: 130%;
	background: white;
	
	overflow-x: auto;
}

/* hele brede tabellen (ank 2.1.6) met klasse 'largetable' krijgen kleinere letter en minder padding */
table.simpletable.largetable{
	font-size: 12px !important;
}

table.simpletable.largetable td{
	padding: 10px !important;
}

.extra table.simpletable, .extra .simpletable-title{
	width: 95%; /* anders valt een tabel in een extra rechts over de border */
}

table.simpletable, table.simpletable tr th, table.simpletable tr td{
	border: 1px solid #ccc;
}

table.simpletable tr:nth-of-type(odd) { /* zebrastrepen voor tabel */
	/*background-color: #e8f9e8;*/
}	

table.simpletable tr th {
	text-align: left;
}

table.simpletable tr td {
	text-align: left;
	vertical-align: top;
	margin-left: 0;
	/*border: 1px solid #e8f9e8;*/
	padding: 10px 20px;
}

table.simpletable tr.tableheader{
	background-color: #219b4b;
	background-color: var(--ans-groen-donkerder-links);
	color: white;
	vertical-align: top;
	line-height: 120%;
}

.extra .simpletable tr:nth-of-type(odd) { /* zebrastrepen voor tabel in extra */
		/*background-color: #e8f9e8;*/
}

table.simpletable tr.tableheader td{
	font-weight: bold;
}

table.simpletable .emphasis{
	font-style: italic;
}

table.simpletable .lexample .emphasis{
	/*font-style: normal;*/		/* zie overzicht in mailtje aan Marjolijn 15/07/2020 */
	font-weight: bold;
}

table.simpletable .lexample .src .emphasis{
	font-style: normal;
	font-weight: normal;
}



.simpletable td:first-child {
	border-left: 0;
}

.simpletable td:last-child {
	border-right: 0;
}

.simpletable tr:last-child td {
	border-bottom: 0;
}

.simpletable td:last-child {
	vertical-align: top;
	border-right: 0;
}

/***********************************

	main > img, imagecaption (bij element 'fig')
	soundobj
	
*************************************/	

.imagecaption{
	font-style: italic;
	font-size: 0.8em;
	line-height: 150%;
}

.imagecaption:before{
	
	/* 	Verhoog "figurecounter" voor figuren met 1 
		NB de counter wordt geinitieerd in ans-style-elements.
	*/
	
	/*
	counter-increment: figurecounter;
	content: "Figuur " counter(figurecounter) ": ";
	*/
}

.imagecaption .lexample .wordgroup{
	font-style: normal;
}

p img:not(.speakerImg), .p img:not(.speakerImg){
	margin: 20px 10px 10px 10px;
	max-width: 90%;
}

td img{
	margin: 0px;
	max-width: 400px;
}

.speakerImg {
    width: 15px;
    cursor: pointer;
    margin-left: 5px;
    padding: 0;
}

p img.speakerImg, .p img.speakerImg{
	/*margin: 0px 0px 10px 5px;*/
}

/* button for tabel 2 graph conversion */
.showGraph{
	float: right;
	margin: 10px 0px;
	padding: 5px 20px;
	/*border-radius: 20px;*/
	background-color: #00b36b;
	background-color: var(--ans-groen-donkerder-links);
	color: white;
	font-size: 13px;
	cursor: pointer;
}

.showGraph:hover{
	background-color: #00e68a;
	background-color: var(--ans-groen);
}

#chart_div{
	float: left;
	margin-bottom: 40px;
}

/* Sortable tables */
table.sortable thead {
    background-color:#eee;
    color:#666666;
    font-weight: bold;
    cursor: default;
}

table.sortable thead td:not(.sorttable_sorted):not(.sorttable_sorted_reverse):not(.sorttable_nosort):after { 
    content: " \25B4\25BE" 
}

/* achtergrondkleuren */

table .importance_high{
	background-color: red;
}

table .importance_low{
	background-color: lightgreen;
}

table .importance_normal{
	background-color: yellow;
}

table .importance_optional{
	background-color: lightblue;
}

table .importance_recommended{
	background-color: #eee;
}

/* p in een tabel op onzichtbaar (vanwege toon/verberg-knop) */

table.simpletable tr td .td_show_more, table.simpletable tr td .td_show_less{
	cursor: pointer;
	font-family: 'Roboto', Schoolboek, 'Quicksand', 'Rubik', 'Arial', 'Sans';
	font-variant: small-caps;
}

table.simpletable tr td .p.isHidden{
	display: none;
}


