table#tlayout {
	border: none;
	border-collapse: separate;
	background: white;
}

body {
	background: white;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	padding-bottom: 8px;
	margin: 0;
}

#layout-menu {
	position: fixed;
	top: 5px;
	left: 5px;
	bottom: 5px;
	width: 200px;
	background: #f5f5f5;
	border-radius: 10px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	padding: 1em;
	font-size: 1em;
	white-space: nowrap;
	overflow-x: hidden;
	overflow-y: auto;
	text-align: left;
}

#layout-menu .submenu a {
	font-size: 0.8em;
	color: #444;
}

#layout-menu .submenu {
	max-height: 0;
	opacity: 0;
	overflow: hidden;
	margin-left: 1em;
	transition: max-height 0.4s ease, opacity 0.4s ease;
}

#layout-menu .submenu.open {
	max-height: 500px;
	opacity: 1;
}

#layout-menu td {
   	vertical-align: top;
}

#layout-content {
	padding-top: 0.0em;
	padding-left: 260px;
	padding-right: 1.0em;
	border: none;
	background: white;
	text-align: left;
	vertical-align: top;
}

#layout-menu a {
	line-height: 1.5em;
}

a {
	color: #08c;
	text-decoration: none;
}

a:hover {
	color: #000;
	border-bottom: 1px gray dotted;
}

#layout-menu a:hover {
	color: #000;
	text-decoration: none;
	border-bottom: none;
}

div.menu-category {
	border-bottom: 1px solid gray;
	margin-top: 0.8em;
	padding-top: 0.2em;
	padding-bottom: 0.1em;
	font-weight: bold;
}

div#toptitle {
	padding-bottom: 0.2em;
	margin-bottom: 1.5em;
	border-bottom: 3px double gray;
}

/* Reduce space if we begin the page with a title. */
div#toptitle + h2, div#toptitle + h3 {
	margin-top: -0.7em;
}

div#subtitle {
	margin-top: 0.0em;
	margin-bottom: 0.0em;
	padding-top: 0em;
	padding-bottom: 0.1em;
}

h1, h2, h3 {
	color: #08c;
	margin-top: 0.7em;
	margin-bottom: 0.3em;
	padding-bottom: 0.2em;
	line-height: 1.0;
	padding-top: 0.5em;
	border-bottom: 1px solid #aaaaaa;
}

h1 {
	font-variant: small-caps;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 165%;
}

h2 {
	padding-top: 0.8em;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 125%;
}

h2 + h3 {
	padding-top: 0.2em;
}

h2 a:hover {
	text-decoration: none;
	border-bottom: none;
}

h3 {
	font-size: 110%;
	border-bottom: none;
}

p {
	margin-top: 0.0em;
	margin-bottom: 0.8em;
	padding: 0;
	line-height: 1.3;
}

pre {
	padding: 0;
	margin: 0;
}

ul, ol, dl {
	margin-top: 0.2em;
	padding-top: 0;
	margin-bottom: 0.8em;
}

dt {
	margin-top: 0.5em;
	margin-bottom: 0;
}

dl {
	margin-left: 20px;
}

dd {
	color: #222;
}

dd > *:first-child {
	margin-top: 0;
}

ul {
	list-style-position: outside;
	list-style-type: disc;
}

p + ul, p + ol {
	margin-top: -0.5em;
}

li ul, li ol {
	margin-top: -0.3em;
}

li > ol {
  margin-top: 0.5em;
}

ol {
	list-style-position: outside;
	list-style-type: decimal;
}

li p, dd p {
	margin-bottom: 0.3em;
}

ol ol {
	list-style-type: lower-alpha;
}

ol ol ol {
	list-style-type: lower-roman;
}

@media print {
	#layout-menu { display: none; }
}

#fwtitle {
	margin: 2px;
}

#fwtitle #toptitle {
	padding-left: 0.5em;
	margin-bottom: 0.5em;
}

#layout-content h1:first-child, #layout-content h2:first-child, #layout-content h3:first-child {
	margin-top: -0.7em;
}

div#toptitle h1, #layout-content div#toptitle h1 {
	margin-bottom: 0.0em;
	padding-bottom: 0.1em;
	padding-top: 0;
	margin-top: 0.5em;
	border-bottom: none;
}

img.eq {
	padding: 0;
	padding-left: 0.1em;
	padding-right: 0.1em;
	margin: 0;
}

img.eqwl {
	padding-left: 2em;
	padding-top: 0.6em;
	padding-bottom: 0.2em;
	margin: 0;
}

table {
	border: 2px solid black;
	border-collapse: collapse;
}

td {
	padding: 2px;
	padding-left: 0.5em;
	padding-right: 0.5em;
	text-align: center;
	border: 1px solid gray;
}

table + table {
	margin-top: 1em;
}

tr.heading {
	font-weight: bold;
	border-bottom: 2px solid black;
}

img {
	border: none;
}

table.imgtable, table.imgtable td {
	border: none;
	text-align: left;
}

a[data-target] {
  cursor: pointer;
}

.scroll-to-top {
	position: absolute;
	bottom: 20px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 1000;
}

.scroll-to-top img {
	width: 40px;
	height: 40px;
	display: block;
}

.scroll-to-top img {
  cursor: pointer;
  opacity: 0.3;
  transition: opacity 0.3s ease;
}

.scroll-to-top img:hover {
  opacity: 1.0;
}

.flagcounter-wrapper {
	position: relative;
	display: inline-block;
}

.flagcounter-wrapper img {
	display: block;
}

.flagcounter-cover {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 22px;
	background-color: #F5F5F5;
}
