/*************************************************
	es2_main.css
	general layout
	04-SEP-2026 RKe
*************************************************/

* {
	box-sizing: border-box;
}

html,
body {
	padding: 0;
	margin: 0;
}

body {
	font-family: arial,helvetica;
	font-size: 11pt;
	color: #0d1d40;
	background-color: #fdecdc;
}

header {
    position: static;  /* statt sticky: Header scrollt mit der Seite weg */
    display: flex;
	max-width: 80em;
}

footer {
	position: sticky;
	display: flex;
	max-width: 80em;
	justify-content: space-between;
	align-items: center;
}

.main {
	display: flex;
}

main {
	flex: 1;
	padding: 20px;
	max-width: calc(80em - 170px);
    background: #ffffff;
	min-height: calc(100vh - 135px);
}


aside.left {
    width: 170px;
	background-image: url(../icons/es2_menu_bg.png);
    padding: 2px;
    border-right: 1px solid #ddd;
    position: sticky;
    top: 0;  /* klebt nach Wegscrollen des Headers oben */
    max-height: 100vh;  /* volle Viewporthöhe nutzen */
    overflow-y: auto;  /* bleibt eigens scrollfähig */
	scrollbar-width: thin;
}



/***** general header *****/

#mainhead {
	position: relative; /* Bezugspunkt */
	width: 100%;
	height: 104px;
	min-width: 65em;
	background-color: #d94e17;
	background-image: url(../icons/es2_heading_bg.png);
	background-repeat: repeat-y;
	border-bottom: 2px solid #0d1d40;
}

#mainhead .logo {
	display: block;
	padding-top: 13px;
	padding-left: 10px;
}

#mainhead h1 {
	font-size: 25pt;
	font-weight: bold;
	color: #ffffff;
	margin: 0;
}

#mainhead h1 .fontcap {
	font-size: 30pt;
	color: #0d1d40;
	font-style: italic;
}

#mainheadright {
	position: absolute; /* Schiebt den Text über das Bild */
	top: 0px;          /* Abstand von oben */
	left: 170px;         /* Abstand von links */
}

#mainhead .heading {
	height: 60px;
	padding-top: 5px;
	padding-left: 50px;
}

#mainhead a {
	color:#0d1d40;
	text-decoration:none;
	}

#mainhead a:hover {
	color:#ffffff;
	}

#mainhead .tabs-container {
	display: flex;
	border-bottom: 2px solid #0d1d40;
	margin-bottom: -2px;
}

#mainhead .tab {
	flex: 1;
	padding: 2px 5px;
	text-align: center;
	cursor: pointer;
	background: #f59d24;
	border: 2px solid #ffffff;
	border-bottom: none;
	border-radius: 10px 10px 0 0;
	margin-right: -2px;
	white-space: nowrap;
	width: 110px;
	font-size:10pt;
}

#mainhead .tab:hover {
	background: #0d1d40;
}

#mainhead .tab.active {
	background: #fff;
	font-weight: bold;
	border-color: #0d1d40;
	border-bottom: 2px solid #fff;
	margin-bottom: -2px;
	margin-right: 0px;
}

#mainhead .tabs-container-back {
	display: flex;
}

#mainhead .tabspacer{
	flex: 1;
	width: 55px;
}


/***** general menu *****/

#mainmenu {
    border: 1px solid #0d1d40;
	background-color: #fefeff;
}

#mainmenu div.menuline {
	background-color: #0d1d40;
	height: 1px;
    padding-top: 5px;
    padding-bottom: 5px;
}

#mainmenu div.menuhead {
	font-weight: bold;
	text-align: center;
	background: #f59d24;
    border-bottom: 1px solid #0d1d40;
	padding: 0; 
	margin: 0px 0px 5px 0px;
}

#mainmenu ul {
	font-size: 9pt;
	list-style-type: '●';
	padding: 0px 0px 0px 10px; 
	margin: 0px;
}

#mainmenu li::marker { 
	color: #d94e17;
	font-weight: bold;
}

#mainmenu li.selected { 
	list-style-type: '▶';
	background: url(../icons/es2_menu_sel_bg.png);
	padding: 2px;
}

#mainmenu li.selected::marker { 
	color: #aaccee;
	font-weight: normal;
}

#mainmenu li.text {
	font-style: italic;
	list-style-type: none;
	padding: 2px;
}

#mainmenu li.text::marker { 
	color: #0d1d40;
}

#mainmenu li.submenu {
	list-style-type: '–';
}

#mainmenu li.submenu::marker { 
	color: #0d1d40;
}

#mainmenu a {
	text-decoration: none;
	color: #333;
	display: block;
	padding: 2px;
}

#mainmenu a:hover {
	background: #e0e0e0;
	border-radius: 3px;
}

#mainmenu div.menufooter {
	font-size: 0.7em;
	text-align: right;
	background: #f59d24;
    border-top: 1px solid #0d1d40;
	padding: 0; 
	margin: 5px 0px 0px 0px;
}

#mainmenu .triangle {
	color: #ff0000;
}


/***** general text *****/

#maintext h1 {
	font-size:18pt;
	text-align: center;
	margin: 0em;
}

#maintext h2 {
	font-size:14pt;
	text-align: center;
	margin: 0em;
}

#maintext h3 {
	font-size:13pt;
	text-align: center;
	margin: 0em;
}

#maintext h4 {
	font-size:12pt;
	text-align: center;
	margin: 0em;
}


/***** general footer *****/

#mainfoot {
	padding: 1px 10px;
	background: #f59d24;
	border-top: 1px solid #d94e17;
}

#mainfoot .footdate {
	font-size: 8pt;
	text-align: left;
	white-space: nowrap;
}

#mainfoot .footlinks {
	font-size: 8pt;
	text-align: center;
	white-space: nowrap;
}

#mainfoot .footcopy {
	font-size: 8pt;
	text-align: right;
	white-space: nowrap;
}

#mainfoot a {
	padding: 1px 5px;
	color:#0d1d40;
	text-decoration:none;
	}

#mainfoot a:hover {
	background: #0d1d40;
	color:#ffffff;
	}


hr.form {
	height: 1px;
	border-width: 0;
	color: #0d1d40;
	background-color: #0d1d40
}

hr.sep {
	height: 1px;
	border-width: 0;
	color: #d94e17;
	background-color: #d94e17
}

hr.title {
	height: 2px;
	border-width: 0;
	color: #0d1d40;
	background-color: #0d1d40
}

a:link {
	color: #bf3d0a;
	text-decoration: underline;
}

a:visited {
	color: #bf3d0a;
	text-decoration: underline;
}

a:hover {
	color: #bf3d0a;
	text-decoration: none;
}

a:active {
	color: #bf3d0a;
	text-decoration: none;
}


/***** tables *****/

.gwboxtab {
	background-color: #dddddd;
	border: 1px solid #ff5a00;
	padding: 10px;
}

.gwboxtabblue {
	background-color: #c5d3ff;
	padding: 3px;
}

.gwboxtabgreen {
	background-color: #92d050;
	padding: 3px;
}

.gwboxtabgrey {
	background-color: #dddddd;
	padding: 3px;
}

.gwboxtaborange {
	background-color: #f4b183;
	padding: 3px;
}

.gwimgtab {
	background-color: #000033;
	border: 0px solid #000000;
	padding: 7px;
}

.gwovwtab {
	width: 100%;
	background-color: #d7e7f7;
	border: 0px solid #000000;
	border-spacing: 7px;
	padding: 0px;
}

.gwpagetab {
	border: 0px solid #000000;
	border-spacing: 5px;
	padding: 5px;
	background-color: #ffffff;
}

.gwquesttab {
	border:0px solid #000000;
	border-spacing:0px;
	padding:0px;
}


/***** special classes *****/

.date	{
	font-size: 10px;
	color: #777777;
}

.fbig {
	font-size: 13pt;
}

.fbold {
	font-weight: bold;
}

.fhighlgt {
	color: #bf3d0a;
}

.fnormal {
	font-weight: normal;
}

.small {
	font-size: 8pt;
}


/****** ABC for navigation *********/
.abc	{
	font-family:verdana,arial,helvetica;
	font-size:10pt;
	color:#000066;
}

.abc a:link	{
	color:#cc0000;
	font-weight:bold;
	text-decoration:none;
	}

.abc a:visited	{
	color:#cc0000;
	font-weight:bold;
	text-decoration:none;
	}

.abc a:hover	{
	background-color:#000066;
	color:#ffffff;
	font-weight:bold;
	text-decoration:none;
	}

.abc a:active	{
	background-color:#000066;
	color:#ffffff;
	font-weight:bold;
	text-decoration:none;
	}


/***** registration form *****/

.reghead	{
	font-family: verdana,arial,helvetica;
	font-size: 8pt;
	color: #000066;
	font-weight: bold;
	text-align: center;
	}

.regred	{
	font-family: verdana,arial,helvetica;
	font-size: 8pt;
	color: #cc0000;
	font-weight: bold;
	}

.regtabl	{
	font-family: verdana,arial,helvetica;
	font-size: 8pt;
	color: #000066;
	text-align: left;
	margin-top: 8px;
	margin-bottom: 8px;
	}

.regtablg	{
	font-family: verdana,arial,helvetica;
	font-size: 8pt;
	color: #888888;
	text-align: left;
	margin-top: 8px;
	margin-bottom: 8px;
	}

.regtabr	{
	font-family: verdana,arial,helvetica;
	font-size: 8pt;
	color: #000066;
	text-align: right;
	margin-bottom: 10px;
	}

.regtabfee	{
	font-family: verdana,arial,helvetica;
	font-size: 8pt;
	color: #000066;
	margin-top: 8px;
	margin-bottom: 8px;
	}

.tdleft	{
	font-family: verdana,arial,helvetica;
	font-size: 8pt;
	color: #000066;
	font-weight: bold;
	text-align: right;
	}

.tdleftred	{
	font-family: verdana,arial,helvetica;
	font-size: 8pt;
	color: #cc0000;
	font-weight: bold;
	text-align: right;
	}

.cfield	{
	font-family:verdana,arial,helvetica;
	font-size: 9pt;
	color: #000000;
	background-color: #ffffff;
	border-left: 1px solid #ff5a00;
	border-bottom: 2px solid #ff8000;
	border-right: 2px solid #ff8000;
	border-top: 1px solid #ff5a00;
	}

.cfieldd	{
	font-family:verdana,arial,helvetica;
	font-size: 9pt;
	color: #808080;
	background-color: #ffffff;
	border-left: 1px solid #bbbbbb;
	border-bottom: 2px solid #bbbbbb;
	border-right: 2px solid #bbbbbb;
	border-top: 1px solid #bbbbbb;
	}

.rfield	{
	font-family:verdana,arial,helvetica;
	font-size: 9pt;
	color: #000000;
	background-color: #ffffff;
	border: 1px solid #ff8000;
	}

.rfieldd	{
	font-family:verdana,arial,helvetica;
	font-size: 9pt;
	color: #808080;
	background-color: #ffffff;
	border: 1px solid #bbbbbb;
	}

.cbutton	{
	font-size: 11px;
	width: 160;
	color: #990000;
	font-weight: bold;
	background-color: #aaccee;
	border-left: 1px solid #576675;
	border-bottom: 2px solid #000066;
	border-right: 2px solid #000066;
	border-top: 1px solid #576675;
}

.cbuttong	{
	font-size: 11px;
	width: 160;
	color: #888888;
	font-weight: bold;
	background-color: #cccccc;
	border-left: 1px solid #576675;
	border-bottom: 2px solid #000066;
	border-right: 2px solid #000066;
	border-top: 1px solid #576675;
}


/***** compatibility *****/

.big {  /* old, see fbig */
	font-size: 13pt;
}

.bigred {
	font-size: 13pt;
	color: #cc0000;
	font-weight: bold;
}

.boldred	{
	font-weight:bold;
	color:#cc0000;
	}

.conth1 {
	font-family:verdana,arial,helvetica;
	font-size:18pt;
	font-weight:bold;
	color:#000066;
}

.conth2 {
	font-family:verdana,arial,helvetica;
	font-size:13pt;
	color:#000066;
}

.conth2b {
	font-family:verdana,arial,helvetica;
	font-size:13pt;
	font-weight:bold;
	color:#000066;
}

.conth3 {
	font-family:verdana,arial,helvetica;
	font-size:8pt;
	color:#cc0000;
}

.conth4 {
	font-family:verdana,arial,helvetica;
	font-size:11pt;
	color:#000066;
}

.error {
	font-family:verdana,arial,helvetica;
	font-size:8pt;
	color: #ffffff;
	font-weight: bold;
	}

.smallw	{
	font-family:verdana,arial,helvetica;
	font-size:8pt;
	color:#ffffff;
	}

.smallg	{
	font-family:verdana,arial,helvetica;
	font-size:8pt;
	color:#666666;
	}

.smallb	{
	font-family:verdana,arial,helvetica;
	font-size:8pt;
	color:#0000ff;
	}

.note	{
	font-family:verdana,arial,helvetica;
	font-size:11px;
	color:#000066;
	}

.notecnt {
	font-family:verdana,arial,helvetica;
	font-size:11px;
	color:#cc0000;
	border-width:0px;
	border-style:none;
	}

.tdital {
	font-style:italic;
	vertical-align: baseline;
	}

.tdbig	{
	font-family:verdana,arial,helvetica;
	font-size:13pt;
	vertical-align: baseline;
	width:100%;
	}

