html {
	scroll-behavior: smooth;
}

body {
	margin: 3px;
	font-family: Verdana, Arial;
}

a {
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

a:visited {
	color: blue;
}

h4 {
	margin: 10 0 5 0;
}

.highlight {
	text-decoration: underline;
}

.screenshot {
	padding: 2px;
/*	width: 100px;
	height: 100px;
	object-fit: none;*/
}

#links {
	/*display: inline-block;*/
	position: fixed;
	top: 6px;
	right: 10px;
	z-index: 999;
	background-color: rgba(255, 255, 255, 0.9);
	padding: 1px 5px 1px 5px;
	border-radius: 5px;
}

@media only screen and (max-width: 768px) {
	div.table-wrapper {
		width: 100%;
		position: relative;
		/*overflow: hidden;*/
		overflow-y: auto;
		/*-webkit-overflow-scrolling: touch;*/
		/*position: relative;*/
	}
	table {
		width: 100%;
	}
	h3 {
		font-size: 5vw;
	}
	tr {
		font-size: 3.5vw;
	}

	#map {
		margin-top: auto;
		position: fixed;
		bottom: 0px;
		background: #EEE;
		margin: 0px;
		padding: 0px;
		width: 100%;
		height: 35%;
		display: none; /* do not show map without javascript*/
	}
}

@media only screen and (min-width: 768px) {
	div#text {
		width: 60%;
	}
	div.table-wrapper {
		width: 60%;
		overflow: hidden;
		overflow-y: hidden;
		-webkit-overflow-scrolling: touch;
	}
	table {
		width: 100%;
	}

	#map {
		position: fixed;
		bottom: 0px;
		right: 0px;
		background: white;
		margin: 0px;
		padding: 0px;
		width: 40%;
		height: 100%;
	}
}

th {background: #CCC;}
tr:nth-child(even) {background: #EEE;}
tr:nth-child(odd) {background: #FFF;}

tr:nth-child(even):hover {background: #CCC;}
tr:nth-child(odd):hover {background: #CCC;}

tr.continent td:before {
	content: "\25B6";
	position: absolute;
}

tr.continent.active_continent td:before {
	content: "\25BC";
	position: absolute;
}

tr.continent {
	background: white;
}
tr.continent:hover {
	cursor: pointer;
}
tr.continent h3 {
	margin-left: 20px;
	margin-bottom: 5px;
}
tr.country:hover {
	cursor: pointer;
}
tr.country.active_row {
	background-color: #BBD !important;
}

div {
	margin-bottom: 5px;
}
