/********************************************
Global definitions
********************************************/

:root {
	--max-content-width-inc: 1240px;
	--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-1: rgb(98, 118, 157);
	--header-text-2: rgb(114, 131, 167);
	--header-text-3: rgb(161, 173, 196);
	--link-text: rgb(221,53,53);
}

@font-face {
	font-family: artane;
	src: url('../common/ArtaneElongatedBT-Regular-150.ttf');
}

/********************************************
 html/body tags
********************************************/

html {
	scroll-behavior: smooth;
	scroll-padding-top: 80px;
	font-size: 17px;
	line-height: 1.875em;
}

body {
	min-width: 300px;
	max-width: var(--max-content-width);
	margin: 20px auto;
	padding: 0px;
	font-family: Verdana, helvetica, Arial, Sans-Serif;
	background-color: var(--bg-color-light);
	background-image: url('../common/body-background-15.jpg');
	background-repeat: no-repeat;
	background-clip: border-box;
	background-size: 115% 190vh;
	background-position: center top;
	background-attachment: scroll;
	color: black;
}

@media (max-width: 1239px) {
	body {
		margin: 20px;
	}
}

/********************************************
 Text
********************************************/

p {
	margin: 0px 0px 0.6em 0px;
	line-height: 2em;
}

/*p:last-child {
	margin-bottom: 0px;
}*/

a {
	color: var(--link-text);
	text-decoration: none;
	mmargin: 0 0 0.9em 0;
}

a:hover {
	text-decoration:underline;
}

hr {
	margin: 30px 0px;
}

/********************************************
 Headings
********************************************/

h1 {
	position: relative;
	z-index: 0;
	margin: 0px 0px 30px 0px;
	padding: 0px 0px 15px 0px;
	font-family: helvetica;
	font-size: 1.85em;
	font-weight: normal;
	line-height: 1.5em;
	color: var(--header-text-1);
}

h1::after {
	content: "";
	position: absolute;
	top: 0; right: 0px; bottom: 0px; left: -15px;
	border-bottom: 3px solid var(--header-text-3);
	border-radius: 0 0 0 15px;
}


h2 {
	position: relative;
	display: table;
	margin: 40px 0px 16px 0px;
	padding: 0px 0px 10px 0px;
	font-family: helvetica;
	font-size: 1.4em;
	font-weight: normal;
	color: var(--header-text-1);
}

h2::after {
	content: "";
	position: absolute;
	top: 0; right: -10px; bottom: 0px; left: -10px;
	border-bottom: 2px solid var(--header-text-3);
	border-radius: 0 0 0 10px;
}

h3 {
	position: relative;
	display: table;
	margin: 25px 0px 0px 0px;
	font-family: helvetica;
	font-size: 1.1rem;
	font-weight: volder;
	color: var(--header-text-1);
}

h2 + h3 /*, 
h2 div > h3:first-child*/ {
	margin-top: 20px;
}

#side-column h3 {
	margin-top: 20px;
}

/********************************************
 Details immediately following a heading
********************************************/

.head-sub-details {
	margin: 0 13px 3px 0;
}

.head-sub-details p {
	margin: 0px 0 0 0;
	font-size: 0.95rem;
	line-height: 1.7rem;
	color: var(--header-text-2);
}

h1 + .head-sub-details {
	margin-top: -15px;
	margin-bottom: 30px;
}

/********************************************
 Lists
********************************************/

ol, ul {
	margin: 0px 0px 10px 0px;
	padding-left: 40px;
}

ul {
	list-style: none;
}

ul li::before {
	content: "\00BB"; /* » */
	display: inline-block;
	margin-left: -23px;
	width: 23px;
	font-size: 1.1em;
}

/********************************************
 Forms
********************************************/

label {
	ffont-weight: bolder;
}

button, input, select, textarea {
	font-size: 1em;
}

select {
	padding: 5px 3px;
	border: 4px solid rgb(201,220,227);
}

select:focus {
	box-sizing: border-box;
	border: 4px solid rgb(161, 173, 196);
}

/********************************************
 Other HTML tags
********************************************/

blockquote {
	display: inline-block;
	font-family: Helvetica;
	font-style: italic;
	font-size: 1.05rem;
	line-height: 1.8rem;
	text-align: justify;
	margin: 10px 60px 20px 50px;
	padding: 0px 17px;
	border-left: 10px solid rgb(201,220,227);
	border-right: 10px solid rgb(201,220,227);
	border-radius: 20px;
	/*border-radius: 20px 0 0 20px;*/
}

blockquote .quote-heading {
	font-size: 1.1rem;
	font-style: normal;
	line-height: 1.6em;
	margin-bottom: 7px;
}

blockquote .quote-footer {
	ffont-size: 1.1rem;
	font-style: normal;
	line-height: 1.6em;
	margin-bottom: 0px;
}

#side-column blockquote  {
	margin: 15px 0px 15px 0px;
	padding: 0px 0px 0px 15px;
	border-left: 5px solid rgb(201,220,227);
	border-right: none;
	border-radius: 15px 0 0 0px;
	text-align: left;
}

#side-column blockquote  p {
	font-size: 1rem;
	line-height: 1.6rem !important;
}
/********************************************
Page layout
*********************************************
<body-container>
	<header/>
	<body-columns>
		<main-column/>
		<side-column>
			<side-column-item/>
			...
		</side-column>
	</body-columns>
</body-container>
********************************************/

#body-container {
	width: 100%; 
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	justify-content: space-evenly;
}

#body-columns {
	width: 100%; 
	display: flex;
	flex-wrap: nowrap;
	justify-content: space-between;
	align-items: flex-start;
}

#main-column {
	margin: 0px 20px 20px 0px;
	flex: 1 1 800px;
	padding: 30px 40px;
	box-sizing: border-box;
	background-color: white;
}

#side-column {
	box-sizing: border-box;
	margin: 0px 0px 20px 0px;
	flex: 1 1 380px;
	min-width: 300px;
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
}

#side-column ol,
#side-column ul {
	padding-left: 23px;
}

.columns-single  #main-column {
	margin-right: 0px;
}

.columns-single #side-column {
	display: none;
}

.side-column-item {
	margin-bottom: 20px;
	padding: 30px 30px;
	font-size: 0.93rem;
	background-color: rgb(249, 251, 252);
}

.side-column-item > *:first-child {
	margin-top: 0;
	padding-top: 0;
}


.side-column-item > *:last-child {
	margin-bottom: 0px !important;
	padding-bottom: 0px !important;
}

#footer {
	padding: 1rem;
	text-align: center;
	background-color: white;
}

#footer p {
	font-size: 0.9rem;
	line-height: 1.4rem;
	margin: 0px;
}

@media screen and (max-width: 740px) {
	#body-columns {
		flex-direction: column;
		align-items: stretch;
	}

	#main-column {
		margin-right: 0px !important;
	}
}

.layout-block-shadow {
	box-shadow: 0px 0px 15px -2px rgba(80,96,128,0.9);
}

/********************************************
 Misc ayout tweaks
********************************************/

.child-clear-margin-before  > *:first-child {
	margin-top: 0px !important;
}

.child-clear-margin-pad-before  > *:first-child {
	margin-top: 0px !important;
	padding-top: 0px !important;
}

.child-clear-margin-after > *:last-child {
	margin-bottom: 0px !important;
}

.child-clear-margin-pad-after > *:last-child {
	margin-bottom: 0px !important;
	padding-bottom: 0px !important;
}

/********************************************
 Header
********************************************/

#header {
	position: sticky;
	z-index: 1000;
	top: -250px;
	width: 100%;
	height: 320px;
	margin: 0px 0px 20px 0px;
	background-image: url('../common/header-back-6.jpg');
	background-size: 100% 100%;
	background-clip: border-box;
	box-shadow: 0px 0px 15px -2px rgba(80,96,128,0.6);
	box-sizing: border-box;
	border: 5px solid white;
	font-family: artane;
	color: var(--menu-text);
}

#header-title {
	position: absolute;
	top: 35px; 
	right: 25px;
	font-size: 3.5rem;
	font-weight: 500;
	letter-spacing: 4px;
}

/********************************************
 Images
********************************************/

.img-float-left {
	margin: 1em 30px 5px 0px;
	pppadding-top: 5px;
	float: left;
	vvertical-align: text-top;
	bborder-top: 10px solid transparent;
}

.img-float-left img	{
	mmargin-top: 10px;
	border-radius: 7px;
}

.img-float-right {
	margin: 8px 0px 5px 10px;
	float: right;
	border-radius: 7px
}

/********************************************
 Main menu
********************************************/

#main-menu {
	position: absolute;
	bottom: -5px;
	left: 40px;
	right: 20px;
	height: 60px;
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	align-content: center;
	justify-content: space-between;
	align-items: stretch;
}

.menu-item  {
	z-index: 1010;
	position: relative;
	min-width: 40px;
	text-align: center;
	height: 70px;
	line-height: 60px;
	font-size: 1.8em;
	font-weight: bolder;
	background-position: 0px -10px;
	cursor: pointer;
}

/********************************************
 Header/main menu (lower res)
********************************************/

@media (max-width: 1239px) {
	#header {
		top: -260px;
	}
}

@media (max-width: 999px) {
	#header {
		height: 230px;
		top: -170px;
		margin-bottom: 20px;
	}
	#header-title {
		font-size: 2.5rem;
	}
	.menu-item  {
		font-size: 1.6em;
	}
}

/********************************************
 Main menu
********************************************/

.menu-item:hover > a,
.menu-item-sub div:hover a {
	color: var(--link-text);
	text-decoration: none;
}

.menu-item  a {
	display: block;
	width: 100%;
	color: var(--menu-text);
}

/********************************************
 Selected menu item tab
********************************************/

.menu-item-selected  > a  {
	color: var(--link-text);
}

.menu-item:not(.menu-item-selected ):hover {
	background-image: radial-gradient(rgba(255,255,255,0.8) 30%, rgba(255,255,255,0) 60%);
}

@media (min-width: 1240px) {
	.menu-item-selected {
		height: 80px;
		background-image: url('../common/menu-tab-11.png');
		background-clip: content-box;
		background-origin: content-box;
		background-repeat: no-repeat;
		background-position: -50px 0px;
	}

	.menu-item-selected::before {
		content: "";
		display: inline-block;
		z-index: -1;
		position: absolute;
		background-image: url('../common/menu-tab-11.png');
		background-clip: content-box;
		background-origin: content-box;
		background-repeat: no-repeat;
		background-position: 0px 0px;
		top: 0px;
		left: -50px;
		width: 50px;
		height: 80px;
	}

	.menu-item-selected::after {
		content: "";
		display: inline-block;
		z-index: -1;
		position: absolute;
		background-image: url('../common/menu-tab-11.png');
		background-clip: content-box;
		background-origin: content-box;
		background-repeat: no-repeat;
		background-position: -270px 0px;
		top: 0px;
		right: -50px;
		width: 50px;
		height: 80px;
	}
}

/********************************************
 Main menu > sub-menus
********************************************/

.menu-item-sub {
	position: absolute;
	z-index: 200;
	top: 67px;
	left: -1.2em;
	opacity: 0;
	transition: opacity 250ms ease-in-out 100ms;
	pointer-events: none;
	background-color: var(--bg-color-light);
	border-radius: 30px;
	color: var(--menu-text);

	font-size: 0.75em;
	line-height: 0.6em;
	text-align: left;
	white-space: nowrap;
	border-radius: 0.8em;
	border: 5px white solid;
	background-color: var(--bg-color-light);
	overflow: hidden;
	box-shadow: -5px 7px 10px -2px rgba(80,96,128,0.3);
}

.menu-item-sub div {
	box-sizing: border-box;
	display: block;
	padding: 0.8em 1.2em;
	white-space: nowrap;
	background-clip: padding-box;
}

.menu-item-sub div:hover {
	color: var(--link-text);
	background-color: var(--menu-bg-color);
}

/*
#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: 65px;
	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 {
	ttransition: color 200ms ease-in-out;
}

.menu-item-sub div {
	ttransition: background-color 150ms 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('../common/menu-tab-9.png');
	background-clip: content-box;
	background-origin: content-box;
	background-position: 0px 0px;
}
.menu-item-selected .menu-item-mid {
	background-image: url('../common/menu-tab-9.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('../common/menu-tab-9.png');
	background-clip: content-box;
	background-origin: content-box;
	background-position: -265px 0px;
}
*/

/********************************************
 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: table;
	margin: 0px 0px 15px 0px;
	padding: 10px 20px 0px 20px;
	border: 1px solid var(--header-text-3);
	background-color: rgb(249, 251, 252); 
	font-size: 0.9rem;
	line-height: 1.6rem;
}

.on-this-page ol {
	padding-left: 23px;
}

.on-this-page::before {
	content: "Page contents";
	color: var(--header-text-1);
	font-size: 1rem;
	font-weight: bold;
}

.on-this-page > :first-child {
	margin-top: 5px;
}

/********************************************
 Icons
********************************************/

.icon-menu-compact {
	display: inline-block;
	width: 30px;
	height: 30px;
	background: url("../common/icons.gif") 0px 0px / 180px 30px no-repeat;
	background-clip: content-box;
	vertical-align: middle;
}

.icon-search {
	display: inline-block;
	width: 30px;
	height: 30px;
	background: url("../common/icons.gif") -30px 0px / 180px 30px no-repeat;
	background-clip: content-box;
	vertical-align: middle;
}

.icon-search-small {
	display: inline-block;
	width: 20px;
	height: 20px;
	background: url("../common/icons.gif") -20px 0px / 120px 20px no-repeat;
	background-clip: content-box;
	vertical-align: middle;
}

.icon-play-small {
	display: inline-block;
	width: 20px;
	height: 20px;
	background: url("../common/icons.gif") -60px 0px / 120px 20px no-repeat;
	background-clip: content-box;
	vertical-align: middle;
}

.icon-stop-small {
	display: inline-block;
	width: 20px;
	height: 20px;
	background: url("../common/icons.gif") -80px 0px / 120px 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("../common/icons.gif") -30px 0px / 90px 15px no-repeat;
	background-clip: content-box;
	vertical-align: text-bottom;
}

/********************************************
 Effects
********************************************/

.fade {
	opacity: 0;
	transition: opacity 300ms ease-in-out 50ms;
	pointer-events: none;
}

.fade-parent:hover .fade {
	opacity: 1;
	pointer-events: auto;
}

/********************************************
 Miscellaneous 
********************************************/

.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 */
}

/*.no-overflow-anchor:hover {
  overflow-anchor: none;
}*/

.arrow-previous::before {
	content: "\00AB ";
}

.arrow-next::after {
	content: " \00BB";
}

.clear-both {
	clear: both;
}

