/* rot: #c00418, gelb: #f9d713 */

html {
    height: 100%;
}
body {
    background: #ccc;
    padding: 0;
    margin: 0;
    height: 100%;
    min-width: 960px;
}
::-moz-selection {
    color: #f8f8f8;
    background: #c00418;
}
::selection {
    color: #f8f8f8;
    background: #c00418;
}
img {
    border: none;
    vertical-align: middle;
}
*, p.preul {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    line-height: 18px;
    margin: 0;
}
#ganzeseite {
    background: #fff url('grafik/roterkreisgrossmitschraegerlinie.png') no-repeat 32px 315px;
    width: 1024px;
    min-height: 100%;
    position: relative;
    top: 0px;
    left: 50%;
    margin-left: -512px;
    padding: 0;
    box-shadow: 0 0 3px 3px #aaa;
}
#header {
    height: 290px;
    margin-left: 85px;
    padding-left: 735px;
}
#header.home {
    background: url('grafik/Home.jpg') no-repeat;
}
#header.profil {
    background: url('grafik/Leistungskatalog.jpg') no-repeat;
}
#header.vorstand {
    background: url('grafik/Vorstand.jpg') no-repeat;
}
#header.unternehmen {
    background: url('grafik/Mitglieder.jpg') no-repeat;
}
#header.ausbildung {
    background: url('grafik/Azubi-allg.jpg') no-repeat;
}
#header.ausbildung10 {
    background: url('grafik/Azubi-Energie-Gebaeudetechnik.jpg') no-repeat;
}
#header.ausbildung20 {
    background: url('grafik/Azubi-Automatisierungst.jpg') no-repeat;
}
#header.ausbildung30 {
    background: url('grafik/Azubi_Info-Tel.jpg') no-repeat;
}
#header.ausbildung40 {
    background: url('grafik/Azubi_Elektroniker.jpg') no-repeat;
}
#header.kontakt, #header.datenschutz {
    background: url('grafik/Kontakt.jpg') no-repeat;
}
#header h1 {
    display: none;
}
#header #kontakt {
    padding: 79px 0px 0px 11px;
}
#header #kontakt img {
    width: 162px;
    height: 29px;
    margin-bottom: 10px;
    display: block;
}
ul {
    list-style: circle outside url('grafik/roterkreisklein.png');
    padding: 0 0 0 1em;
}
ul#nav1 {
    list-style: none;
    width: 750px;
    height: 19px;
    overflow: hidden;
    margin: 0 0 0 70px;
    padding: 7px 0 0 0;
    text-align: justify;
}
ul#nav2 {
    width: 190px;
    list-style: none;
    margin: 0;
    padding: 0;
}
ul#nav1 li {
    display: inline;
    padding-left: 15px;
}
ul#nav2 li {
    line-height: 15px;
    margin-bottom: 18px;
    padding-left: 17px;
    background: url('grafik/roterkreismittel.png') no-repeat 0px 2px;
}
ul#nav1 li:hover {
    background: url('grafik/roterkreismittel.png') no-repeat 0px 2px;
}
ul#nav2 li:hover {
    background: url('grafik/gelberkreismittel.png') no-repeat 0px 2px;
}
ul#nav1 li a, ul#nav2 li a {
    color: #000;
    text-decoration: none;
    border: none;
}
ul#nav1 li a {
    text-transform: uppercase;
}
ul#nav2 li a {
    line-height: 15px;
}
ul#nav1 li a.active, ul#nav2 li a.active {
    color: #c00418;
}
ul#nav1 li.blocksatz {
    display: inline-block;
    width: 300px;
    height: 2px;
}
h1 {
    color: #ffffff;
    height: 80px;
    overflow: hidden;
    margin: -80px 0 0 0;
}
h2#seitenkopf {
    width: 907px;
    margin: 0 0 0 85px;
    padding: 5px 0 0 0;
    border-top: solid 4px #c00418;
    color: #c00418;
    font-weight: normal;
    text-transform: uppercase;
    letter-spacing: 1px;
}
h2#seitenkopf #flag {
    display: block;
    float: right;
    margin-top: -5px;
    padding: 5px 12px 6px 64px;
    background: #c00418 url('grafik/spitzelinksgross.png') no-repeat;
}
h2#seitenkopf #subflag {
    display: block;
    clear: both;
    margin: 0 0 24px 0;
    padding: 5px 10px 0 0;
    text-align: right;
}
#sidebar {
    float: right;
    clear: both;
    width: 204px;
}
#sidebar #notbox {
    padding: 0 0 1px 11px;
    width: 161px;
    background: #f9d713;
}
#sidebar #notbox h3 {
    text-align: right;
    line-height: 17px;
    height: 17px;
    color: #fff;
    margin-left: -11px;
    padding-right: 18px;
    background: #c00418 url('grafik/spitzelinksklein.png') no-repeat;
}
#sidebar #notbox img {
    width: 142px;
    height: 27px;
    margin: 18px 0 18px 0;
}
#seite {
    margin: 0 204px 0 85px;
}
h3, h4, h5 {
    color: #c00418;
}
h3, h4 {
    text-transform: uppercase;
}
h3 {
    font-weight: bold;
    letter-spacing: 1px;
}
h4, h5 {
    font-weight: normal;
}
.zweispalten {
    float: left;
    width: 310px;
    margin-right: 22px;
}
.dreispalten {
    float: left;
    width: 238px;
    margin-right: 7px;
    font-size: 11px !important;
}
.dreispalten img {
    width: 89px;
    float: left;
    margin: 0 7px 18px 0;
    background: #ddd;
}
.klein p, .klein a, .dreispalten h4, .dreispalten h5 {
    font-size: 11px;
}
p, ul {
    margin-bottom: 18px;
}
.klein p {
    margin-bottom: 8px;
}
p.clearall {
    clear: both;
    margin: 0;
}
p#sitepriv {
    font-size: 10px;
    line-height: 10px;
    text-align: right;
    padding: 0;
    margin: 0;
    position: absolute;
    bottom: 5px;
    right: 32px;
}
p#sitepriv a {
    font-size: 10px;
    line-height: 10px;
    color: #000;
    border: none;
    text-transform: uppercase;
    text-decoration: none;
}
p#sitepriv a:hover {
    border-top: solid 1px #c00418;
}
p#sitepriv a.active {
    color: #c00418;
}
p.clearallplus {
    clear: both;
    margin-bottom: 10px;
}
p.clearallred {
    clear: both;
    border-top: solid 1px #c00418;
    margin-right: 22px;
}
a {
    color: #000;
    text-decoration: none;
    border-bottom: solid 1px #f9d713;
}
a:hover {
    border-bottom: solid 1px #c00418;
}

/*.left {
    display: block;
    text-align: left;
    float: left;
}
.right {
    display: block;
    text-align: right;
    float: right;
}
.down {
    position: relative;
    top: 7px;
    margin: 0 5px 0 5px;
}
h3, p, li {
    color: #006;
}
h2 {
    color: #006;
    font-family: Tahoma, Arial, Helvetica, sans-serif;
    font-size: 16px;
    margin: 0;
    display: inline-block;
    border-bottom: solid 2px #a00;
}
h3, p, li {
    font-family: Tahoma, Arial, Helvetica, sans-serif;
    font-size: 13px;
}
h3 {
    margin: 15px 0 5px 0;
}
h4 {
    font-family: Tahoma, Arial, Helvetica, sans-serif;
    font-size: 10px;
    color: #006;
}
h3:first-child {
    margin-top: 0;
}
p, ul {
    margin: 0 0 5px 0;
}
.klein {
    font-size: 10px;
}

ul#navirm {
    display: none;
    clear: both;
    background: #006;
    box-shadow: 2px 2px 4px #666;
    position: relative;
    z-index: 9999;
    margin: 0;
    height: 36px;
    padding: 3px 20px 3px 20px;
    width: -webkit-calc(100% - 40px);
    width: calc(100% - 40px);
    cursor: pointer;
}
ul#navirm li {
    float: left;
    font-family: textkompetenz, serif;
    font-weight: bold;
    font-size: 13px;
    line-height: 16px;
    color: #f8f8f8;
    margin: 0;
    display: none;
    width: 150px;
    border-bottom: solid 1px #f8f8f8;
    padding: 0;
}
ul#navirm li a {
    display: block;
    width: 130px;
    padding: 13px 10px 13px 10px;
}
ul#navirm li:first-child {
    margin: 0;
    border: 0;
    border-bottom: solid 1px #f8f8f8;
}
ul#navirm li:last-child {
    border-bottom: 0;
}
ul#navirm li.active {
    width: 130px;
    background: -webkit-linear-gradient(rgba(248,248,248,1) 50%, rgba(248,248,248,0.5));
    background: -o-linear-gradient(rgba(248,248,248,1) 50%, rgba(248,248,248,0.5));
    background: -moz-linear-gradient(rgba(248,248,248,1) 50%, rgba(248,248,248,0.5));
    background: linear-gradient(rgba(248,248,248,1) 50%, rgba(248,248,248,0.5));
    color: #006;
    display: block;
    margin-top: -1px;
    margin-bottom: -3px;
    border: none;
    padding: 11px 10px 11px 10px;
}
ul#navirm li.active:first-child {
    margin-left: 0;
}
ul#navirm li.active:last-child {
    border-bottom: none;
    margin-bottom: -1px;
}
ul#navirm li#toggle {
    display: block;
    float: left;
    width: auto;
    font-size: 46px;
    line-height: 36px;
    padding: 0 20px 0 0;
    margin: 0;
    border: none;
}
a {
    color: inherit;
    text-decoration: none;
}
h1#logo a {
    color: inherit;
}
#content a, #kontakt a, a:hover, #footer a:hover, .accent, h1#logo .kontakt a {
    color: #a00;
}
#content a, #kontakt a, h1#logo .kontakt a {
    border-bottom: solid 1px #006;
}

#content a:hover, #kontakt a:hover, h1#logo .kontakt a:hover {
    border-bottom: dotted 1px #a00;
}
ul#navi a:hover, ul#navirm a:hover {
    text-shadow:
        1px  1px 1px #f8f8f8,
           1px -1px 1px #f8f8f8,
           -1px  1px 1px #f8f8f8,
           -1px -1px 1px #f8f8f8;
}

#sidebar {
    float: right;
    margin: 0 80px 0 0;
    width: 240px;
}
#verlauf_oben {
    background: rgba(248,248,248,0.83);
    background: -webkit-linear-gradient(rgba(248,248,248,0), rgba(248,248,248,0.83));
    background: -o-linear-gradient(rgba(248,248,248,0), rgba(248,248,248,0.83));
    background: -moz-linear-gradient(rgba(248,248,248,0), rgba(248,248,248,0.83));
    background: linear-gradient(rgba(248,248,248,0), rgba(248,248,248,0.83));
    width: 240px;
    height: 40px;
    margin: 0;
}
#kontakt {
    background: rgba(248,248,248,0.83);
    margin: 0;
    width: 180px;
    height: <? echo ($hintergruende[$hgauswahl][2] - 142); ?>px;
    padding: 0 0 0 60px;
}
#content {
    width: 560px;
    margin: 0 0 0 120px;
    padding: 40px 0 86px 0;
}
#footer {
    background: #006;
    height: 6px;
    width: -webkit-calc(100% - 200px);
    width: -moz-calc(100% - 200px);
    width: -o-calc(100% - 200px);
    width: calc(100% - 200px);
    padding-right: 40px;
    margin: 40px 80px 0px 80px;
    position: absolute;
    bottom: 40px;
    z-index: 9999;
    font-family: Tahoma;
    font-size: 10px;
    text-align: right;
}
#footer a {
    color: #006;
    background: #f8f8f8;
    padding: 0 3px 0 3px;
    line-height: 7px;
    position: relative;
    top: -4px;
}
@media screen and (max-width: 1045px) {
    #seite {
        min-height: 100%;
        top: 0;
    }
}
@media screen and (max-width: 919px){
    body {
        min-width: 610px;
    }
    #seite {
        background: #f8f8f8 url('<? echo $hintergruende[$hgauswahl][0]; ?>') no-repeat <? echo $hintergruende[$hgauswahl][4]; ?>;
        width: 800px;
        margin-left: -400px;
    }
    #sidebar {
        position: absolute;
        top: 10px;
        right: 80px;
        margin: 0;
        width: 240px;
    }
    #verlauf_oben {
        display: none;
    }
    #kontakt {
        padding-top: 15px;
    }
    #kontakt h3 {
        display: none;
    }
    #content {
        background: #f8f8f8;
        position: relative;
        z-index: 9998;
        padding-right: 40px;
    }
}
@media screen and (max-width: 615px){
    body {
        background: #f8f8f8;
        width: auto;
        min-width: 0;
        overflow-x: auto;
    }
    #seite {
        background: #f8f8f8 url('<? echo $hintergruende[$hgauswahl][0]; ?>') no-repeat <? echo $hintergruende[$hgauswahl][5]; ?>;
        position: static;
        width: auto;
        min-height: 100%;
        margin: 0;
        box-shadow: none;
    }
    h1#logo {
        margin: 40px 0 40px 20px;
    }
    h1#logo .kontakt {
        display: block;
    }
    ul#navi {
        display: none;
    }
    ul#navirm {
        display: block;
    }
    #sidebar {
        display: none;
    }
    #content {
        width: auto;
        margin: 0 0 0 20px;
        padding: 40px 20px 40px 0;
    }
    #footer {
        display: none;
    }
}
@media screen and (max-width: 362px) {
    h1#logo {
        font-size: 33px;
        line-height: 33px;
    }
    h1#logo .subtitle {
        font-size: 12px;
        line-height: 12px;
    }
    img.portrait {
        float: none;
        margin: 0 0 15px 0;
        width: 180px;
        height: 180px;
        display: block;
    }
}
*/
