html,
body {
	margin: 0;
	padding: 0;
}

body {
	background: #f4f6fb;
	padding: 0 16px 48px;
	text-align: center;
}

#permalinkPage {
	margin: 0 auto;
	max-width: 760px;
}

#worldMapsContainer {
	margin: 30px auto 0;
	max-width: 450px;
}

#worldMapsContainer .mapPanel {
	background: #fff;
	border: 1px solid #d8dde8;
	border-radius: 8px;
	box-sizing: border-box;
	padding: 20px 20px 16px;
}

#worldMapsContainer .mapMeta {
	margin-bottom: 14px;
}

#worldMapsContainer .mapArea {
	color: #28344a;
	display: block;
	font-size: 1.05em;
	font-weight: 600;
	line-height: 1.3;
}

#worldMapsContainer .worldMap {
	background-image: url("/images/empty-map-408-264_light.png");
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	display: block;
	height: auto;
	margin: 0 auto;
	max-width: 408px;
	width: 100%;
}

#worldMapsCountriesListing {
	background: #fff;
	border: 1px solid #d8dde8;
	border-radius: 8px;
	border-collapse: collapse;
	margin: 24px auto 0;
	max-width: 550px;
	table-layout: fixed;
	width: 100%;
}

#worldMapsCountriesListing td {
	border-bottom: solid 1px silver;
	padding: 10px 8px;
	text-align: center;
	vertical-align: middle;
}

#worldMapsCountriesListing td.flag {
	text-align: center;
	width: 33.333%;
}

#worldMapsCountriesListing td.flag img {
	height: auto;
	max-width: 24px;
	width: 24px;
}

#worldMapsCountriesListing td.countryName {
	overflow-wrap: anywhere;
	text-align: start;
}

#buttonsContainer {
	margin-top: 40px;
}

#continueEditMapLink {
	border: solid 1px black;
	background-color: #585656;
	border-radius: 7px;
	color: white;
	display: inline-block;
	font-size: 1.2em;
	font-weight: bold;
	padding: 8px 20px;
	text-decoration: none;
}

div.mybutton {
	margin-top: 10px;
}

@media (max-width: 680px) {
	body {
		padding-left: 12px;
		padding-right: 12px;
	}

	#buttonsContainer {
		margin-top: 32px;
	}

	#buttonsContainer .mybutton span {
		display: inline-block;
		font-size: 1em !important;
		line-height: 1.35;
		max-width: 320px;
	}

	#continueEditMapLink {
		display: block;
		font-size: 1.05em;
		margin: 0 auto;
		max-width: 320px;
	}

	#worldMapsContainer {
		margin-top: 24px;
	}

	#worldMapsContainer .mapPanel {
		padding: 16px 14px 14px;
	}

	#worldMapsContainer .mapArea {
		font-size: 1em;
	}

	#worldMapsCountriesListing {
		margin-top: 16px;
	}

	#worldMapsCountriesListing tbody {
		display: block;
	}

	#worldMapsCountriesListing tr {
		border-bottom: solid 1px silver;
		display: grid;
		gap: 6px 10px;
		grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
		padding: 10px 8px;
	}

	#worldMapsCountriesListing td {
		align-items: center;
		border-bottom: none;
		display: flex;
		padding: 0;
		width: auto;
	}

	#worldMapsCountriesListing td.flag {
		justify-content: center;
		width: auto;
	}

	#worldMapsCountriesListing td.countryName {
		align-self: center;
		display: block;
		font-size: 0.93em;
		text-align: start;
	}

	#worldMapsCountriesListing tbody tr:last-child {
		border-bottom: none;
	}
}
