﻿/*
Theme Name: GGWM Theme
Version: 1.5
*/

@charset "utf-8";

/* ========================================
   Grundlayout
======================================== */
html, body {
    margin: 0;
    padding: 0;

}

body {
    background-color: #B2B2B2;
    font-family: Arial, sans-serif;
    font-size: 11pt;
}

/* Weißer Hauptbereich */
#container {
    width: 960px;
    margin: 0 auto;
    background-color: #FFFFFF;
    position: relative;


}

/* ========================================
   HEADER
======================================== */

#masthead {
    width: 960px;
    margin: 0 auto;
    background: #FFFFFF;
    height: 165px;
    position: relative;
}

/* Logo absolut links */
#Logo {
    position: absolute;
    top: 10px;
    left: 20px;
}

#Logo img {
    display: block;
}

/* Überschrift: zweizeilig, zentriert über dem Seiteninhalt */
#masthead .auto-style3 {
    font-size: 42pt;
    color: #336699;
    display: block;
    margin: 0;
    line-height: 1.05;

    /* WICHTIG: Logo ausgleichen → Text beginnt bei 190px */
    padding-left: 190px;
	padding-top: 10px;

    /* Überschrift bleibt trotzdem über dem Inhalt zentriert */
    width: 100%;
    text-align: center;
    box-sizing: border-box;
}


/* unnötiger <br class="auto-style1" /> raus */
br.auto-style1 {
    display: none;
}

/* ========================================
   Blaue Balken unter dem Kopf
======================================== */

#picture {
    width: 960px;
    height: 26px;
    margin: 0 auto;
    background-color: #DFE7F2;
    border-top: 4px solid #295F92;
    border-bottom: 4px solid #295F92;
}

/* ========================================
   LAYOUT Navigation + Inhalt
======================================== */

#containersite {
    width: 960px;
    margin: 0 auto;
    background-color: #DDE2EA;
    overflow: hidden; /* beendet Floats */

    
}

/* ----------------------------------------
   LEFT: Navigation
---------------------------------------- */

#navigation {
    float: left;
    width: 185px;
	height: 100%;
    background: #DDE2EA;
    padding-top: 5px;
    
}

/* Menüliste */
#css3menu2.topmenu {
    list-style: none;
    padding: 0;
    margin: 0;
}

#css3menu2.topmenu li {
    width: 100%;
}

/* Menülinks – 8pt, ohne Strich, enger an der Pfeilspitze */
#css3menu2.topmenu a {
    display: block;
    font-size: 8pt;
    text-decoration: none;
    color: #000000;
    padding: 2px 18px;
    border-bottom: none;      /* Striche zwischen Punkten entfernt */
    box-sizing: border-box;
}

#css3menu2.topmenu a:hover {
    background: #CBD4DE;
}

/* „CSS3 Menu Generator“-Text ausblenden */
._css3m {
    display: none;
}

/* Pfeile vor den Menüpunkten einblenden */
#css3menu2.topmenu li {
    position: relative;
}

#css3menu2.topmenu li a::before {
    content: "\25B8";          /* kleiner Pfeil ►  (Unicode 25B8) */
    display: inline-block;
    margin-right: 6px;         /* Abstand zwischen Pfeil und Text */
    font-size: 12pt;
    vertical-align: middle;
}

/* ----------------------------------------
   RIGHT: CONTENT
---------------------------------------- */

#content {
    float: left;
    width: 775px;             /* 960 - 220 */
    background: #FFFFFF;
    margin: 0;
    padding: 5px 45px 40px 20px;  /* oben klein -> näher an „Home“ */
    box-sizing: border-box;
	min-height: calc(100vh - 280px);  /* Headerhöhe abziehen */
}

/* Artikel & Seiten: keinen zusätzlichen Abstand nach oben */
#content article,
#content .page,
#content .hentry {
    margin-top: 0;
    padding-top: 0;
}

/* Inhalt selbst: direkt oben starten */
#content .entry-content {
    margin-top: 0;
    padding-top: 0;
}

/* erstes Element im Inhalt ohne margin-top */
#content h1:first-child,
#content h2:first-child,
#content h3:first-child,
#content p:first-child {
    margin-top: 0;
}

/* Standard-Absätze im Content */
#content p {
    margin-top: 0.4em;
    margin-bottom: 0.8em;
    line-height: 1.4;
}

/* Titel von Beiträgen/Seiten (falls angezeigt) */
.entry-title {
    font-size: 16pt;
    margin: 0 0 10px 0;
}

/* ========================================
   FOOTER
======================================== */

#footer {
    width: 960px;
    height: 26px;
    margin: 0 auto;
    background-color: #295F92;
    border-top: 4px solid #295F92;
    border-bottom: 4px solid #DFE7F2;
    clear: both;
}

/* ============================
   MOBILE VERSION (Smartphones)
   ============================ */
@media screen and (max-width: 768px) {

    /* Container Breite */
    #container, #masthead, #picture, #containersite, #footer {
        width: 100%;
    }

    /* Logo kleiner */
    #Logo img {
        width: 100px;
        height: auto;
    }

    /* Überschrift kleiner + zentriert */
    #masthead .auto-style3 {
        font-size: 24pt;
        line-height: 1.2;
        padding-left: 0;
        padding-right: 0;
        text-align: center;
        display: block;
    }

    /* Navigation auf volle Breite setzen */
    #navigation {
        width: 100%;
        float: none;
        border-right: none;
        padding: 10px 0;
    }

    /* Menülinks größer anklickbar */
    #css3menu2.topmenu a {
        font-size: 12pt;
        padding: 10px 20px;
        border-bottom: 1px solid #ccc;
    }

    /* Content unter Menü anzeigen (volle Breite) */
    #content {
        float: none;
        width: 100%;
        padding: 20px;
        box-sizing: border-box;
    }
}
