/**
 * Layout for Laptopbattle Germany.
 *
 * 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$
 */

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

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

body {
    background-color: #EFEFEF;
    background-image: url("./images/kachel.png");
    background-repeat: repeat-x;
    color: #000000;
    font-family: 'Lucida Sans', Georgia, Verdana, Sans-Serif;
    font-size: 1.0em;
    font-size: 0.9em;
    height: 100%;
    line-height: 150%;
    margin: 5px 0em 0em 1.2em;
}

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

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

p.Close {
    border-bottom: 1px dotted #909C24;
    margin-bottom: 1.3em;
}

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

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

a:visited {
}

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: #195E80;
    text-decoration: none;
}

a.Language, a.Language strong {
    color: #FFCE00;
    font-size: 0.7em;
}

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

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

h1 {
    color: #195E80;
    font-size: 1.9em;
    font-weight: normal;
    line-height: 1em;
    padding: 0em 0em 0.5em 0em;
}

h2 {
    border-bottom: 1px dotted #909C24;
    color: #195E80;
    font-size: 1.5em;
    font-weight: normal;
    margin: 0.5em 0em 0em 0.3em;
    padding: 0.8em 0em 0.5em 0.3em;
}

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

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

input, select, textarea {
    background-color: #ECEDEE;
    border-color: #808184;
    border-style: solid;
}

input:focus, select:focus, textarea:focus {
    background-color: #C1CBD3;
    border-color: #3A5C7F;
    border-style: solid;
}

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

img {
    border: none;
    outline: none;
}

img.Battle {
    border-style: none;
    float: left;
    margin-right: 10px;
}

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

#Content {
    background-color: #EAEAEA;
    float: left;
    margin-bottom: 10px;
    text-align: justify;
    /* Position relative is needed for positioning our popups */
    position: relative;
    width: 630px;
}

#Language {
    line-height: 0.9em;
    position: absolute;
    top: 155px;
}

#Menu {
    background-color: #195E80;
    background-image: url("./images/menu.png");
    background-repeat: repeat-x;
    height: 2.5em;
    line-height: 2.5em;
    list-style: none;
    margin-top: 10px;
    overflow: hidden;
    width: 630px;
}

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

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

#Menu li a:hover {
    color: #FFCE00;
}

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

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

#Submenu {
    float: right;
    width: 20%;
}

#Submenu ul li {
    background-color: #195E80;
    background-image: url("./images/submenu.png");
    background-repeat: repeat-x;
    height: 1.7em;
    line-height: 1.7em;
    list-style: none;
    margin-right: -17px;
    margin-top: 2px;
    padding-left: 0.3em;
}

#Submenu ul li a {
    color: #DDDDDD;
    display: block;
    font-size: 0.9em;
    font-variant: small-caps;
    font-weight: bold;
    text-decoration: none;
}

#Submenu ul li a:hover {
    color: #FFCE00;
}

#Submenu li.Selected {
    background-color: #195E80;
    background-image: url("./images/sub_selected.png");
    background-repeat: repeat-x;
    border-right: 3px solid black;
}

#Submenu li.Selected a {
    color: #FFCE00;
}

#PlanetLaptopbattle {
    -moz-border-radius: 15px;
    -webkit-border-radius: 15px;
    background-color: #F0F0F0;
    border: 1px solid #3A5C7F;
    clear: both;
    float: left;
    height: 240px;
    margin: 1em 0em 0.5em 1px;
    padding: 0.3em 0.3em 0em 0.3em;
    width: 47%;
}

#LaptopbattleDates {
    -moz-border-radius: 15px;
    -webkit-border-radius: 15px;
    background-color: #F0F0F0;
    border: 1px solid #3A5C7F;
    float: right;
    height: 240px;
    margin: 1em 1px 0.5em 0em;
    padding: 0.3em 0.3em 0em 0.3em;
    width: 47%;
}

/**
 * display: none; is used to avoid flashing of all
 * elements when the pages loads for the first time.
 */
#Fade li {
    -moz-border-radius:7px;
    -webkit-border-radius: 7px;
    background-color: #CACACA;
    border: none;
    display: none;
    margin-top: 0.5em;
    padding: 0.3em 0.5em 0em 0.5em;
    width: 95%;
}

#Fade2 li {
    -moz-border-radius:7px;
    -webkit-border-radius: 7px;
    background-color: #CACACA;
    border: none
    display: none;
    margin-top: 0.5em;
    padding: 0.3em 0.5em 0em 0.5em;
    width: 95%;
}

#Fade li.odd {
    background-color: #DADADA;
}

#Fade2 li.odd {
    background-color: #DADADA;
}

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

#Post h3, h4 {
    clear: none;
}

div.Post-Date {
    -moz-border-radius: 0.5em;
    -webkit-border-radius: 0.5em;
    background-color: #626E6E;
    color: #00CCFF;
    float: left;
    margin: 0em 1em 0.5em 0em;
    padding: 1.5em 0.5em;
    text-align: center;
    text-transform: uppercase;
    width: 5em;
}

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

div.Post-Date-Month {
    color: #FFFFFF;
    font-size: 120%;
}

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

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

#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 #909C24;
}

/*
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 left we have jumping links on hover on IE */
    float: left;
    height: 0px;
    width: 0px;
}

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

#Post a.Popup:hover img.Media {
    top: 6.8em;
}

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

div.Press {
    border: 1px dotted #154E6A;
    display: block;
    float: left;
    font-size: 0.8em;
    line-height: 1.5em;
    margin: 0.3em 0.5em 1.0em 0em;
    padding: 1em 0.75em;
    position: relative;
    right: 0em;
    width: 75%;
}

div.RSS {
    font-size: 0.75em;
    padding: 0em 0.5em 0em 0.5em;
}

div.RSS h2 {
    font-size: 1.8em;
    margin: 0.5em 0em 0.1em 0em;
    padding: 0em 0em 0em 0em;
}

div.RSS a {
    border-bottom: 1px dotted #909C24;
}

div.RSS ul {
    list-style-type: none;
}

div.StatusNew {
    font-weight: bold;
}

div.StatusOld {
    color: #575757;
}

div.Sponsors {
    font-size: 0.8em;
    line-height: 1.5em;
    padding: 0em 0.75em 1em 1.5em;
    position: relative;
    text-align: justify;
}

#Footer {
    border: 1px dotted #0E3548;
    background: #EAEAEA;
    clear: both;
    display: block;
    font-size: 0.9em;
    height: 45px;
    margin-top: 0.3em;
    padding: 0.3em;
}

#Footer img {
  vertical-align: middle;
}

#Footer table {
    width: 100%;
}

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

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

td.Sponsors {
    text-align: center;
    border-left: #909C24 thin dotted;
    border-right: #909C24 thin dotted;
}

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

img.Logo {
    padding: 0px 10px 0px 10px;
    vertical-align: middle;
}

div.Artists {
    font-size: 0.9em;
    width: 550px;
}

div.Artists img {
    border-width: 1px;
    border-style: solid;
    float: left;
    margin: 0.3em 1em 0.5em 0em;
}

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

