html,
body {
	margin: 0;
	padding: 0;
	font-family: "Helvetica Neue", HelveticaNeue, Helvetica, Arial, "Lucida Grande", sans-serif;
}

body {
	display: flex;
	align-items: flex-end;
	background: #fff;
	color: #000;
	height: 100vh;
}

form {
	margin: 0;
}

img {
	border: 0;
}

img.icon {
	-webkit-transform: scale(0.5);
	transform: scale(0.5);
	vertical-align: middle;
}

.form-body {
	padding: 27px 0;
}

.form-body .txt-cont {
	overflow: hidden;
	font-size: 14px;
}

.form-body .txt-cont.sub-pages {
	padding: 0 8px;
}

.form-body .txt-cont h1 {
	display: block;
	margin-bottom: 7px;
	padding: 0;
	color: #000;
	font-size: 16px;
	text-align: left;
}

.form-body .txt-cont h2 {
	display: block;
	padding: 0;
	color: #000;
	font-size: 14px;
	text-align: left;
}

.form-body .txt-cont ul.section {
	margin: 0;
	margin-bottom: 19px;
	padding: 0 0 0 22px;
	border-top: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	background: rgba(255, 255, 255, 1);
	font-size: 14px;
}

.form-body .txt-cont ul.section li {
	display: block;
	margin: 0;
	padding: 0;
	padding-right: 8px;
	border-bottom: 1px solid #ccc;
	list-style: none;
}

.form-body .txt-cont ul.section li:last-child {
	border-bottom: 0;
}

.form-body .txt-cont ul li a sup {
	position: relative;
	z-index: 11;
	top: -5px;
	margin-right: 4px;
	color: red;
	font-size: 80%;
	font-style: italic;
	vertical-align: top;
}

.banner-block {
	display: block;
	width: 266px;
	height: 65px;
	margin: 0 auto 17px auto;
	overflow: hidden;
	border: 0;
	background: transparent;
}

table {
	width: 96%;
	margin: auto;
	table-layout: fixed;
	border-collapse: collapse;
}

table thead th,
table tbody td {
	width: auto;
	max-width: 25%;
	padding: 7px;
	border: 1px solid #000;
	word-wrap: break-word;
}

table.flags {
	margin: 10px auto 0 auto;
}

table.flags td {
	padding: 2px;
}

table.flags td a {
	display: block;
	font-size: 9px;
	text-align: center;
	text-decoration: none;
}

table.flags td img {
	width: 45px;
	height: 45px;
}

.img-cont {
	display: block;
	text-align: center;
}

.img-cont img {
	max-width: 300px;
}

.inline-img {
	vertical-align: text-bottom;
}

ol li .img-cont {
	margin-left: -40px;
	padding-top: 5px;
}

.footer {
	padding: 20px 30px 10px 30px;
	text-align: right;
}

.footer span {
	font-size: 10px;
}

a.close {
	position: absolute;
	z-index: 1111;
	top: 3vh;
	right: 7px;
	width: 30px;
	height: 30px;
	border-radius: 15px;
	background: #fff;
	font-family: HelveticaNeue, sans-serif;
	text-decoration: none;
}

a.close span {
	display: block;
	position: relative;
	width: 16px;
	height: 16px;
	margin: 7px;
}

a.close span::before,
a.close span::after {
	position: absolute;
	top: 8px;
	left: -2px;
}

a.close span::before {
	content: '';
	display: block;
	width: 19px;
	height: 1px;
	-webkit-transform: matrix(0.707107, 0.707107, -0.707107, 0.707107, 0, 0);
	transform: matrix(0.707107, 0.707107, -0.707107, 0.707107, 0, 0);
	background-attachment: scroll;
	background-clip: border-box;
	background-color: #141414;
	background-origin: padding-box;
}

a.close span::after {
	content: '';
	display: block;
	width: 19px;
	height: 1px;
	-webkit-transform: matrix(0.707107, -0.707107, 0.707107, 0.707107, 0, 0);
	transform: matrix(0.707107, -0.707107, 0.707107, 0.707107, 0, 0);
	background-attachment: scroll;
	background-clip: border-box;
	background-color: #141414;
	background-origin: padding-box;
}

.popup a.close {
	display: block;
}

.main-container {
	box-sizing: border-box;
	overflow: scroll;
	-webkit-overflow-scrolling: touch;
}

.hidden {
	visibility: hidden;
}

#fullscreen {
	height: 100vh;
}

@media only screen and (max-aspect-ratio: 359/720) {
	html {
		font-size: 1.093vh;
	}

	table thead th {
		padding: 5px;
	}
}

/* @media only screen and (min-resolution: 120dpi) {
	.main-container {
		height: calc(100vh - 0.75 * 25px);
	}

	a.close {
		top: calc(0.75 * 25px);
	}
} */

@media only screen and (max-resolution: 159dpi) {
	.main-container {
		height: calc(100vh - 0.75 * 25px);
	}

	a.close {
		top: calc(0.75 * 25px);
	}
}

@media only screen and (min-resolution: 160dpi) {
	.main-container {
		height: calc(100vh - 25px);
	}

	a.close {
		top: 25px;
	}
}

@media only screen and (min-resolution: 240dpi) {
	.main-container {
		height: calc(100vh - 1.5 * 25px);
	}

	a.close {
		top: calc(1.5 * 25px);
	}
}

@media only screen and (min-resolution: 320dpi) {
	.main-container {
		height: calc(100vh - 2 * 25px);
	}

	a.close {
		top: calc(2 * 25px);
	}
}

@media only screen and (min-resolution: 480dpi) {
	.main-container {
		height: calc(100vh - 3 * 25px);
	}

	a.close {
		top: calc(3 * 25px);
	}
}

@media only screen and (min-resolution: 640dpi) {
	.main-container {
		height: calc(100vh - 4 * 25px);
	}

	a.close {
		top: calc(4 * 25px);
	}
}