/* CSS Document */

.parishtable {
	width: 100%;
	border-width: 3px;
	border-spacing: 0px;
	border-style: inset;
	border-collapse: collapse;
	display: inline-block;
	color: black;
	z-index: -1;
	font-size: 90%;
}

.parishtable caption {
	font-weight: bold;
	text-align: center;
	background-color: #ffffee;
}

.parishtable.sticky th {
	position: sticky;
	top: 0;
}

.parishtable.sticky th::after {
	content: '';
	width: 100%;
	height: .1em;
	position: absolute;
	bottom: 0;
	left: 0;
}

.parishtable td, .parishtable th {
	padding: .5em .5em;
	border: thin solid #ddd;
	text-align: left;
}

.parishtable th {
	background-color: #444444;
	color: #ffffff;
}

.parishtable tbody tr {
	background-color: white;
}

.parishtable tbody tr:nth-child(even) {
	//background-color: #f5f6f5;
	background-color: #f5f5f6;
}


.recordlist {
	padding-left: 10%;	
}
.recordlist li {
  display: block;
}



/* responsive */

@media (max-width: 640px) {
	
.parishtable caption {
	display: block;
	font-weight: bold;
	text-align: center;
}

.parishtable thead { display: none; }
	
.parishtable, .parishtable tbody, .parishtable tr, .parishtable td {
		display: block;
		width: 100%;
}
	
.parishtable tr {
		margin-bottom: .6em;
}
	
.parishtable tr:nth-child(even) {
	    //background-color: #f5f6f5;
	    background-color: #f5f5f6;
		margin-bottom: .6em;
}  
	
.parishtable td {
		text-align: left;
		padding-left: 50%;
		position: relative;
		color: black;
}
	
.parishtable td::before {
		content: attr(data-label);
		position: absolute;
		left: 0;
		width: 50%;
		padding-left: .2em;
		font-weight: bold;
		color: black;
}


.recordlist {
  padding-left: 0;
}
	
}