/* main_legacy.css | historisch gewachsene Content-Stile fuer alte Seiten
   Version 0.02

   Wird nach base.css geladen.
   Seitenrahmen, Navigation, Focus Mode und Seitenwerkzeuge liegen in base.css.
*/

:root {
    --legacy-version: "0.02";
    --heading-block-margin-top: 2em;
    --heading-block-margin-bottom: 0.5em;
}

body {
    counter-reset: ebene3;
}

/* ==========================================================
   BASE LAYOUT
   ========================================================== */

/* ==========================================================
   HEADER
   ========================================================== */

/* ==========================================================
   NAVIGATION
   ========================================================== */

/* ==========================================================
   LINK COLORS
   ========================================================== */

/* ==========================================================
   CONTENT
   ========================================================== */

/* ==========================================================
   BOXES AND COMPONENTS
   ========================================================== */

/* ==========================================================
   TABLES AND LISTS
   ========================================================== */

/* ==========================================================
   RESPONSIVE
   ========================================================== */


* {
    margin: 0;
}

img,
div,
table {
    border: 0;
}

table {
    width: 100%;
}


h1 {
    font-size: 1.5rem;
    line-height: 1.8rem;          /* Behebt den zu engen Zeilenabstand */
    margin: 20px 0 15px;
}
h2 {
    font-size: 1.2rem;
    line-height: 1.4rem;          /* Behebt den zu engen Zeilenabstand */
    margin-top: var(--heading-block-margin-top);
    margin-bottom: var(--heading-block-margin-bottom);
}

div.tmpbgcolor {
    background-color: #C9C9D0;
}

div.maintext,
div.maintext2,
div.maintext2PAG,
div.maintextNL {
    margin: 15px;
}

div.maintext {
    margin-right: 25px;
}

div.maintext2,
div.maintext2PAG,
div.maintextNL {
    max-width: 850px;
}

div.maintext2PAG {
    color: #444444;
    background-color: #fff8f8;
}

div.maintextNL {
    padding: 20px;
    background-color: #ffffff;
}

div.maintext3,
div.maintextCent {
    max-width: 1000px;
}

div.maintext3 {
    margin: 25px;
}

div.maintextCent {
    margin: 25px auto;
}

div.citing {
    margin-left: 2rem;
    font-style: italic;
}

.floatright {
    float: right;
    width: 150px;
}

.floatleft {
    float: left;
    width: 170px;
}

.googlesearch {
    width: 300px;
    height: 80px;
}

ul {
    margin-left: 15px;
}

li {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

p {
    margin-bottom: 0.5rem;
}

.list1,
.ulFlags1,
#FlagsList ul {
    margin-left: -10px;
}

.ulFlags1,
#FlagsList ul {
    list-style-type: none;
    line-height: 1.5em;
}


.on_site_prep
{
	border: 3px solid blue;
	background-color: gray;
	clear: both;
	padding: 10px 25px 25px;
	margin: 30px;
}

.HomeLink,
.HomeLinkWeb
{
    padding: 20px 50px 20px 20px;
    float: left;
}
em {
    font-weight: bold;
}

littitle,
litpast {
    font-style: italic;
}

litcont,
chgdateNormal,
chgdateSL,
chgdate,
dater {
    font-size: smaller;
}


datumsangabe {
    text-indent: 5em;
    font-weight: bold;
}

.h2x
{
    margin-top: var(--heading-block-margin-top);
}
h3,
h4 {
    margin-top: var(--heading-block-margin-top);
    margin-bottom: var(--heading-block-margin-bottom);
}

/* Bold links */
lh1 {
    font-weight: bold;
}

/* Bold links for 24x12 flags */
#FlagsList a {
    font-weight: bold;
}

/* Normal-weight links for 12x6 flags */
#FlagsListN ul {
    margin-left: 15px;
    text-indent: -25px;
    list-style-type: none;
    line-height: 1.2em;
}

/* Erdstrahlenfrei logo*/
efrei,
googleSuche {
    float: right;
    height: 60px;
    margin-left: 10px;
}

efrei {
    width: 220px;
}

/* Focus mode button */
efullscreen {
    display: inline-block;
    vertical-align: middle;
    margin: 10px 10px 15px 0;
    padding: 12px;
    text-decoration: none;
}

/* Google Custom Search */
googleSuche {
    width: 400px;
}

/* Last changes */
chgdate
{
    display: block;
    margin-top: 3rem;
}

/* Date, right aligned */
dater
{
    float:right;
    margin-left: 10px;
}

.hc3:before {
    content: counter(ebene3) ". ";
    counter-increment: ebene3;}

div.encString {
    display: inline;
}

.PCommJ {
    margin-left: 10px;
    font-style: italic;
}

.PANapQColor,
.PANapQ,
.PANapQQ {
    background-color: #f0c0f0;
}

.PANapQ {
    margin-left: 0px;
}

.PANapQQ {
    margin-left: 25px;
}

.PANapAColor,
.PANapA,
.PANapAA {
    background-color: #E9E9E9;
}

.PANapA {
    margin-left: 30px;
}

.PANapAA {
    margin-left: 40px;
}

.PANapCColor,
.PANapC,
.PANapK {
    margin-left: 45px;
}

.PANapC {
    background-color: #ffaaaa;
}

.PANapK {
    background-color: #aaffaa;
}

.numhead {
    counter-reset: h2counter;
}

.numhead h2 {
    counter-reset: h3counter;
}

.numhead h2::before {
    counter-increment: h2counter;
    content: counter(h2counter) ". ";
}

.numhead h3::before {
    counter-increment: h3counter;
    content: counter(h2counter) "." counter(h3counter) " ";
}

.resource {
	clear: both;
	display: flow-root;
	margin: 20px 0;
	padding: 12px;
	border-radius: 6px;
}
/*
.resource img {
	float: left;
	margin: 0 15px 10px 0;
}

.resource h3 {
    margin-top: 0;
    color: #871924; 
}
*/
.resource h3 {
    display: flex;
    align-items: center;
    gap: 0.6em;

    margin-top: 0;
    color: #871924;
}

.resource h3 a {
    color: inherit;
    text-decoration: none;
}


.resource .resource-logo {
    float: left;
    margin: 0 15px 10px 0;
}

.resource h3 img {
    width: auto;
    height: 1em;
    margin: 0;
}

.resource-info,
.resource-community,
.resource-news {
    border-left: 6px solid;
}

.resource-info {
    background: #eef5ff;
    border-left-color: #4a7ec2;
}

.resource-community {
    background: #eef8ee;
    border-left-color: #4c9a4c;
}

.resource-news {
    background: #fff7e8;
    border-left-color: #d28b26;
}

hr {
    width: 100%;
    height: 3px;
    margin: 0 auto;
    color: white;
    background: #999999;         /* grey */
    border: none;
}

/* -------  Testbereich neue Formatierungen ----------- */

/*
 *  Blauer Pfeil vor Link zu externer Webseite
 */
.ext-link::before {
    content: "\279C";
    color: #1769aa;
    display: inline-block;
    margin-right: 0.25em;
    text-decoration: none;
}

/*
 *  Link zu anderer Organsiation mit Icon vor Text - z.B. zu SSH 
 *  Link und Text aus php-Funktion
 * 
*/ 
a.orgIconLink {
    color: inherit;
    text-decoration: none;
}

a.orgIconLink img { 
    display: inline-block;
    width: 1.0em;
    height: 1.0em;
    object-fit: contain;
    margin: 0 0.25em 0 0;
    vertical-align: -0.12em;
    position: static;
    float: none;
    transform: none;
} 

a.orgIconLink:hover,
a.orgIconLink:focus {
    text-decoration: underline;
}
