/**
 * Layout für Stylex-Magazin.
 * 
 * Initial design
 *    by Ingo Koch, <ingo dot koch at gmail dot com>, April 2007.
 * Heavy customization
 *    by Hakan Kuecuekyilmaz, <hakan at lisas dot de>, May 2007.
 *
 * $Id: stylex.css 4739 2011-09-11 12:49:35Z hakan $
 */

/* For debugging CSS */
/* * { border: 1px solid #FF0000; } */

/* Global reset */
* {
    margin: 0;
    padding: 0;
}

body {
    background-attachment: fixed;
    background-color: #000000;
    background-image: url("./images/kachel.gif");
    background-repeat: repeat-x;
    color: #E1E1E1;
    font-family: Verdana, 'Lucida Sans', Georgia, Sans-Serif;
    font-size: 0.9em;
    height: 100%;
    line-height: 130%;
    margin: 0.7em 0 0 0;
}

hr {
    clear: both;
    height: 1px;
    visibility: hidden;
}

p {
    padding: 0.2em 0em 0.2em 0em;
    text-align: justify;
}

p.Close {
    border-bottom: 1px dotted #81187E;
    font-size: 75%;
    margin-bottom: 1.3em;
}

p.Comments {
    font-size: 0.75em;
}

p.RSS {
    border-bottom: 1px dotted #81187E;
    margin-bottom: 1.0em;
}

a, a * {
    color: black;
    font-family: inherit;
    font-size: inherit;
    text-decoration: none;
}

a:focus,
a:hover,
a:focus *,
a:hover * {
    /* border: none; and text-decoration: none;
       are needed for popups to work on IE. */
    border: none;
    color: white;
    text-decoration: none;
}

#Content a,
#Content a * {
    color: #F0F3C0;
}

#Content a:focus,
#Content a:hover,
#Content a:focus *,
#Content a:hover * {
    color: white;
}

.Firstword {
    font-variant: small-caps;
}

h1,
h2,
h3,
h4 {
    clear: both;
    font-family: 'Century Gothic', Arial, Sans-Serif;
    text-align: left;
}

h1 {
    border-bottom: 1px dotted #81187E;
    color: #E9FFC3;
    font-size: 1.5em;
    font-weight: normal;
    margin-bottom: 0.5em;
    padding-top: 0.8em;
}

h2 {
    border-left: 1px dotted #81187E;
    color: #E9FFC3;
    display: inline;
    font-size: 1.3em;
    font-weight: normal;
    line-height: 2.5em;
    padding: 0.5em 0em 0.5em 0.3em;
}

h3 {
    border-left: 1px dotted #AAAAAA;
    color: white;
    display: inline;
    font-size: 1.0em;
    font-weight: normal;
    margin-top: 0.5em;
    line-height: 2.5em;
    padding: 0.5em 0em 0.5em 0.3em;
}


input, select, textarea {
    background-color: #EEEEEE;
    border-color: #390B4B;
    border-style: solid;
}

input:focus, select:focus, textarea:focus {
    background-color: #DEC9DD;
    border-color: #D127C3;
    border-style: solid;
}

/* Submit button of PHPlist and comments */
p input:hover, input.Submit:hover {
    background-color: #DEC9DD;
    border-color: #D127C3;
    border-style: solid;
}

img {
    border: none;
}

#Container {
    margin-left: auto;
    margin-right: auto;
    width: 830px;
}

#Content {
    float: left;
    margin: 0em 0em 1em 0em;
    text-align: justify;
    /* Position relative is needed for positioning our popups */
    position: relative;
    width: 660px;
}

#Post h1,
#Post h2,
#Post h3,
#Post h4 {
    text-align: left;
}

#Menu {
    background-color: #809090;
    background-image: url("./images/menu.png");
    background-repeat: repeat-x;
    height: 2.1em;
    line-height: 2.1em;
    list-style: none;
    overflow: hidden;
    width: 660px;
}

#Menu li {
    float: left;
    padding: 0em 0.75em;
}

#Menu li a {
    font-size: 0.95em;
    font-variant: small-caps;
    font-weight: bold;
    text-decoration: none;
}

#Menu li.Selected {
    background-image: url("./images/selected.png");
    background-repeat: repeat-x;
    border-top: 3px solid #815A80;
}

#Menu li.Selected a {
    color: #000000;
}

#Post {
    clear: none;
    display: inline;
    float: left;
    padding: 0em 0.5em 0em 0em;
    width: 655px;
}

#Post h3, h4 {
    clear: none;
}

div.Post-Date {
    -moz-border-radius: 0.5em;
    background-color: #626E6E;
    color: #00CCFF;
    float: left;
    line-height: 100%;
    margin: 0em 1em 0.2em 0em;
    padding: 0.2em 0.3em;
    text-align: center;
    width: 5em;
}

div.Post-Date-Day {
    color: #FFFFFF;
    font-size: 75%;
}

div.Post-Date-Month {
    color: #FFFFFF;
    font-size: 100%;
    text-transform: uppercase;
}

div.Post-Date-Year {
    color: #FFFFFF;
    font-size: 90%;
}

div.Post-Comment {
    -moz-border-radius: 0.5em;
    background-color: #626E6E;
    color: #00CCFF;
    float: left;
    margin: 0em 1em 0.5em 0em;
    padding: 0.2em 0.3em;
    text-align: center;
    width: 1.8em;
}

div.Calendar {
    border: none;
    float: left;
    margin-bottom: 1em;
    margin-right: 1em;
}

#Post ul,
#Post ol {
    clear: left;
    margin: 0em 0em 0.5em 1.5em;
    padding: 0em 0.5em;
}

#Post ul li {
    font-size: 0.95em;
    padding-left: 0.5em;
}

#Post td {
    text-align: left;
}

#Post td.Spacer {
    border-bottom: 1px dotted #81187E;
}

/*
Popup image for IE is very tricky. There are problems like:
 - No popup at all
 - Popup does not go away
Resources:
http://www.css-technik.de/css-examples/20_9/menu1.html
http://www.xs4all.nl/~ppk/css2tests/ie6/purecsspopups.html
http://meyerweb.com/eric/css/edge/popups/demo2.html
http://psacake.com/web/jl.asp
*/
#Post a.Popup img {
    border-width: 0px;
    /* Without float right we have jumping links on hover on IE */
    float: right;
    height: 0px;
    width: 0px;
}

#Post a.Popup:hover img {
    height: auto;
    opacity: 0.50;
    position: absolute;
    right: 0em;
    top: 3.8em;
    width: auto;
}

#Post img {
    padding: 0.3em 0.9em 0.3em 0em;
}

#Advertisement {
    display: block;
    float: right;
    margin-bottom: 0px;
    margin-top: -2.1em; /* Same as #Menu height */
    position: relative;
    top: 0em;
    width: 160px;
}

#Footer {
    background-color: #809090;
    background-image: url("./images/menu.png");
    clear: both;
    display: block;
    font-size: 0.9em;
    height: 2.1em;
    line-height: 1.6em;
    margin: 0.2em 0em 0.5em 0em;
    padding: 0em;
}

#Footer img {
  vertical-align: middle;
}

#Footer table {
    width: 100%;
}

div.InfoBox {
    border: 1px dotted #81187E;
    float: left;
    font-size: 0.7em;
    margin-left: 0px;
    margin-right: 5px;
    padding: 3px 0px 3px 0px;
    text-align: left;
    width: 208px;
}

div.Bild1,
div.Bild2,
div.Bild3 {
    float: left;
    margin-right: 5px;
    padding: 0;
    width: 210px;
}

div.Doppelbild {
    float: left;
    margin-right: 5px;
    width: 425px;
}

ul.Magazine {
    display: inline;
    list-style-type: none;
    list-style-position: inline;
    margin: 0em;
    text-align: left;
    padding: 0em;
}

ul.Magazine li {
    margin: 0em;
    padding: 0em;
}

div.AGB, div.Impressum {
    font-size: 0.85em;
    line-height: 1.5em;
    margin-bottom: 0.7em;
}

td.AGB {
    padding: 0px 10px 0px 10px;
    text-align: right;
    width: 150px;
}

td.Comments {
    font-size: 0.75em;
}

td.Impressum {
    padding: 0px 10px 0px 10px;
    text-align: left;
    width: 150px;
}

td.Icons {
    text-align: right;
    width: 150px;
}

img.Logo {
    vertical-align: middle;
}

div.Status {
    background-color: #95EBA8;
    border: 2px dashed #BFCE30;
    color: black;
    font-family: Courier, "Courier New", monotype;
    font-size: 1.0em;
    left: 60px;
    padding: 5px 7px;
    position: absolute;
    text-align: left;
    top: 10px;
    width: 550px;
}

div.Error {
    background-color: #DE698E;
    border: 2px dashed #613D46;
    position: relative;
}

/* For PHPList */
.required {
    color: #E9FFC3;
}

