/********************************************
Global definitions
********************************************/

:root {
	--max-content-width: 1200px;
	--bg-color-light: rgb(201,220,227);
	--bg-color-light-alpha: rgba(201,220,227,0.5);
	--menu-bg-color: rgb(229,238,241);
	--menu-text: rgb(51,79,94);
	--header-text: rgb(80,96,128);
	--link-text: rgb(221,53,53);
}

@font-face {
	font-family: artane;
	src: url('../common/ArtaneElongatedBT-Regular-150.ttf');
}

.no-overflow-anchor:hover {
  overflow-anchor: none;
}

.disable-select {
    user-select: none; /* Chrome and Opera */
	-webkit-user-select: none; /* Safari */
	-khtml-user-select: none; /* Konqueror HTML */
	-moz-user-select: none; /* Firefox */
	-ms-user-select: none; /* Internet Explorer/Edge */
}

.block-shadow {
	/*border: 1px solid var(--bg-color-light);*/
	-webkit-box-shadow: 0px 0px 12px -2px rgba(80,96,128,0.9);
	-moz-box-shadow: 0px 0px 12px -2px rgba(80,96,128,0.9);
	box-shadow: 0px 0px 12px -2px rgba(80,96,128,0.9);
}

/********************************************
HTML tags
********************************************/

html {
	sscroll-behavior: smooth;
}
body {
	min-width: 300px;
	width: 1240px;
	margin: 0px auto;
	padding-top: 0px;
	font-family: Verdana, helvetica, Arial, Sans-Serif;
	font-size: 16px;
	line-height: 1.875em;
	background-color: var(--bg-color-light);
	background-image: url('body-background-9.jpg');
	background-repeat: no-repeat;
	background-clip: border-box;
	background-size: 130% 80%;
	background-position: center top;
	/*background-attachment: fixed;*/
}
.body-container {
	box-sizing: content-box;
	width: var(--max-content-width);
	padding: 20px;
	/*background: linear-gradient(180deg, rgba(191,215,224,1) 0%, rgba(191,215,224,0) 100%)*/
	background-color: var(--bg-color-light-alpha);
	bbackground-image: url('body-container-background.png');
	background-repeat: repeat-x;
	background-clip: border-box;
	background-size: 4px 800px;
	background-position: center top;*/
	/*box-shadow: 0px 0px 15px 0px var(--bg-color-light);*/
}
h1 {
	margin: 0px;
	padding: 5px 0px 0px 0px;
	font-size: 2em;
	line-height: 1.3em;
	font-weight: normal;
	color: var(--header-text);
}
h2 {
	margin: 0px;
	padding: 20px 0px 10px 0px;
	font-size: 1.125em;
	font-weight: bold;
	color: var(--header-text);
}
h2:first-child {
	padding-top: 0px;
}
p, ul, li {
	margin: 0px;
	padding: 0px;
}
p {
	margin: 0px 0px 0.8em 0px;
}
a {
	color: var(--link-text);
	text-decoration:underline;
}
a:hover {
	text-decoration: none;
}
ul {
	padding-left: 20px;
}
button, input, select, textarea {
	font-size: 1em;
}

/********************************************
Header
********************************************/

#header {
	box-sizing: border-box;
	display: block;
	position: sticky;
	ttop: -26%;
	z-index: 98;
	width: var(--max-content-width);
	padding-bottom: 26.66%;
	background-image: url('header-back-3.jpg');
	background-repeat: no-repeat;
	background-clip: border-box;
	background-position: center top;
	background-size: cover;
}
#header-content {
	position: absolute;
	left: 0px; right: 0px; top: 0px; bottom: 0px;
}
#header-spacer {
	box-sizing: border-box;
	position: absolute;
	z-index: 99;
	wwidth: var(--max-content-width);
	height: 30px;
	left: -3px; right: -3px; bottom: -30px;
	background-color: var(--bg-color-light);
	background: 
		linear-gradient(180deg, rgba(201,220,227,1) 30%, rgba(201,220,227,0) 100%);
}
#header-title {
	position: absolute;
	top: 30px; right: 30px;
	width: 371px;
	height: 76px;
}

/********************************************
Menu
********************************************/

#menu-container {
	position: absolute;
	z-index: 100;
	height: 60px;
	left: 0px; right: 0px; bottom: 0px;
}
#menu {
	position: absolute;
	z-index: 10;
	left: 0px; right: 0px; top: 0px;
	margin-left: 15px;
	padding: 0px;
	line-height: 60px;
	font-family: artane;
	font-weight: bolder;
	color: var(--menu-text);
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: center;
	align-items: stretch;
	cursor: pointer;
}
#menu-compact-header,
#menu-search-dummy,
#menu-search {
	display: none;
}
.menu-item {
	position: relative;
	display: inline-block;
	font-size: 1.875em;
	margin-left: -25px;
}
.menu-item-sub {
	position: absolute;
	z-index: 20;
	top: 60px;
	left: 12px;
	font-size: 0.75em;
	line-height: 0.6em;
	white-space: nowrap;
	border-radius: 0.8em;
	border: 4px white solid;
	background-color: var(--bg-color-light);
	overflow: hidden;
}
.menu-item .menu-item-sub {
	display: none;
	padding: 0px;
}
.menu-item div {
	display: inline-block;
}
.menu-item-sub div {
	display: block;
	padding: 0.68em 1.2em;
}
.menu-item-sub-hover:hover .menu-item-sub {
	display: block;
}
.menu-item-mid {
	transition: color 300ms ease-in-out;
}

.menu-item-sub div {
	transition: background-color 300ms ease-in-out;
}

.menu-item-mid:hover {
	color: var(--link-text);
}
.menu-item-sub div:hover {
	color: var(--link-text);
	background-clip: padding-box;
	background-color: var(--menu-bg-color);
}
.menu-item-sub-shadow {
	-webkit-box-shadow: -7px 10px 10px -2px rgba(80,96,128,0.5);
	-webkit-box-shadow: -7px 10px 10px -2px rgba(80,96,128,0.5);
	-moz-box-shadow: -7px 10px 10px -2px rgba(80,96,128,0.5);
	box-shadow: -7px 10px 10px -2px rgba(80,96,128,0.5);
}
.menu-item-left,
.menu-item-right {
	width: 35px;
}
.menu-item-selected .menu-item-left {
	background-image: url('menu-tab-3.png');
	background-clip: content-box;
	background-origin: content-box;
	background-position: 0px 0px;
}
.menu-item-selected .menu-item-mid {
	background-image: url('menu-tab-3.png');
	background-clip: content-box;
	background-origin: content-box;
	background-position: -35px 0px;
	color: var(--link-text);
}
.menu-item-selected .menu-item-right {
	background-image: url('menu-tab-3.png');
	background-clip: content-box;
	background-origin: content-box;
	background-position: -265px 0px;
}

/********************************************
Main content
********************************************/

#body-columns {
	width: var(--max-content-width);
	margin: 25px auto 0px auto;
	padding: 0px;
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
}
#main-column {
	width: 718px;
	margin: 00px 20px 10px 0px;
	padding: 1.875em;
	background-color: white;
	/*bborder: 1px var(--header-text) solid;*/
}
#side-column {
	position: relative;
	width: 400px;
	margin: 0px;
	padding: 0px;
}
.side-column-item {
	position: relative;
	width: 348px;
	margin: 0px 0px 20px 0px;
	padding: 25px;
	/*bborder: 1px var(--header-text) solid;*/
	background-color: white;
}
/********************************************
Site search box
********************************************/

.site-search {
	position: relative;
	display: inline-block;
	width: 100%;
	vertical-align: middle;
}
.search-field {
	display: block;
	box-sizing: border-box;
	width: 100%;
	margin: 0px;
	padding: 0.5em 1.5em 0.5em 0.7em;
}
.search-submit {
	position: absolute;
	top: 0px;
	right: 0px;
	bottom: 0px;
	background-color:  white;
}
.search-icon {
	width: 20px;
	height: 20px;
}

/********************************************
On this page
********************************************/

#on-this-page {
	display: none;
}
#on-this-page-side {
	display: block;
}

/********************************************
Icons
********************************************/

.icon-menu-compact {
	display: inline-block;
	width: 30px;
	height: 30px;
	background: url("icons.gif") 0px 0px / 120px 30px no-repeat;
	background-clip: content-box;
	vertical-align: middle;
}
.icon-search {
	display: inline-block;
	width: 30px;
	height: 30px;
	background: url("icons.gif") -30px 0px / 120px 30px no-repeat;
	background-clip: content-box;
	vertical-align: middle;
}
.icon-search-small {
	display: inline-block;
	width: 20px;
	height: 20px;
	background: url("icons.gif") -20px 0px / 80px 20px no-repeat;
	background-clip: content-box;
	vertical-align: middle;
}
a.external-link::after {
	content: '';
	display: inline-block;
	width: 15px;
	height: 15px;
	margin: 0 0 2px 4px;
	background: url("icons.gif") -30px 0px / 60px 15px no-repeat;
	background-clip: content-box;
	vertical-align: text-bottom;
}

