html {
	font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
}

body{
    padding: 0 0; 
	text-align: center;  /* Zentrierung im Internet Explorer */
    margin: 0px auto;
    display: flex;
}

#wrap{
	width:auto !important; /* IE6 Hack */
	width: 1024px; /* IE6 Hack */
	max-width: 1024px;
	margin:20 auto; /* center hack */
	text-align:left; /* center hack */
	overflow: visible;
}

.main-head {
    grid-area: header;
    padding: 10px;
    border-radius: 10px;
    background-color: rgb(0, 3, 153);
    color:#fbff00;
}

.content {
    grid-area: content;
    padding: 0 10 5px;
    border-radius: 10px;
}

.main-logo {
    grid-area: MainLogo;
    display: inline-grid;
    justify-items: center;
}

.kontakt_box {
    padding-left: 15px;
    border: 1px solid red;
}

.kontakt_links{
    float:left;
    padding-right: 15px;
}

.kontakt_rechts{
    float:right;
    padding-right: 15px;
}

.main-footnotes{
    grid-area: footnotes;
    margin-top: 0px;
    margin-left: 0px;
    /* padding-top:25px; */ 
    /* padding: 20px 15px; */
    position: relative;
    min-height: 120px; /* Schönheitsfehler --> Distanzhalter */
    /* border: 1px solid red; */
}

.fn-box {
    position: absolute;
    bottom: 0px;
    left: 10px;
    margin-right: 10px;
    border-top: 1px solid grey;
    /* border: 1px solid blue; */
}

.fn-text {
    font-size: 0.7em;
    padding-top: 15px;
    margin-left: -10px;
    /* border: 1px solid green; */
}

.main-footer {
    grid-area: footer;
    padding: 10px;
    overflow:auto;
    /* text-align: center; */
    font-size: 0.8em;
    border-radius: 10px;
    background-color: rgb(0, 3, 153);
    color:#fbff00;
}

/* IE 11 Settings --------------------------------------------------------- */
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
    .main-logo {
        position: relative;
        min-height: 200px;
    }

    .logo {
        position: absolute;
        bottom: 0px;
        right: 0px;
    }

    .main-footnotes {
        position: relative;
        padding: 0px 15px;
        /* border: 1px solid red; */
    }

    .fn-box{
        position: absolute;
        bottom: -5px;
        left: 10px;
        border-top: 1px solid grey;
        /* border: 1px solid blue; */
    }

    .fn-text {
        font-size: 0.7em;
        padding-top: 5px;
        margin-left: -10px;
        /* border: 1px solid green; */
    }    
}
/* ------------------------------------------------------------------------ */

@media (max-width: 768px) {
    .wrapper {
        display: grid;
        grid-gap: 10px;
        grid-template-areas: 
        "header"
        "MainLogo"
        "content"
        "footnotes"
        "footer";
    }

    .logo {
        width:200px;
    }

}

@media (min-width: 768px){
    .wrapper {
        display:grid;
        grid-template-columns: 3fr 1fr;
        grid-template-areas: 
            "header  header"
            "content MainLogo"
            "content footnotes"
            "footer  footer";
        max-width: 1024px;
    }

    .toCenter{
        position: absolute;
        max-width: 1024px;
        top: 50%;
        left: 50%;
        margin-left: -512px;
        margin-top: -340px;
    }
    
    .logo{
        width: 200px;
        margin: auto 0px;
    }

    .content {
        padding-left: 50px;
    }
}

.Title {
    font-size: 1.8em;
    font-weight: bold;
}

h1 {
    font-size: 1.6em
}

h2 {
    font-size: 1.4em
}

a	{
    text-decoration:none;
    font-size: 0.9em;
}

a:link	{
	color:#fbff00;
}

a:visited {
	color:#fbff00;
}

a:hover {
	color:#fff;
}

a:active {
	color:#fff;
}

/* ---------------------------  Fussnoten  ---------------------------- */
article {
    counter-reset: footnotes;
}

[aria-describedby="footnote-label"]{
    counter-increment: footnotes;
}

[aria-describedby="footnote-label"]::after {
    content: '[' counter(footnotes) ']';
    vertical-align: super;
    font-size: 0.7em;
    margin-left: 2px;
}

.visually-hidden {
	position: absolute;
	clip: rect(0 0 0 0);
	visibility: hidden;
	opacity: 0;
}
