/**
 * Layout for Laptopbattle Naples 2008.
 *
 * Initial design for http://laptopbattle-mannheim.de/
 *    by <ingo dot koch at gmail dot com>, April 2007.
 * Heavy customization
 *    by Hakan Kuecuekyilmaz, <hakan at lisas dot de>, May 2007.
 * Additional customization for http://laptopbattle-naples.it/
 *    by Hakan Kuecuekyilmaz <hakan at lisas dot de>, March 2008.
 * $Id: lb.css 1580 2008-10-06 11:20:49Z hakan $
 */

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

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

body {
    background-color: #4780AB;
    background-image: url("./images/kachel.png");
    background-repeat: repeat-x;
    color: #E1F1FF;
    font-family: 'Lucida Sans', Georgia, Verdana, Sans-Serif;
    font-size: 1.0em;
    height: 100%;
    line-height: 150%;
    margin: 0em 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 {
    color: #FFB537;
    text-decoration: none;
}

a.Language {
    color: white;
    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: #FFFFFF;
    font-size: 1.9em;
    font-weight: normal;
    line-height: 1.9em;
    padding: 0.5em 0em 0.5em 0em;
}

h2 {
    border-bottom: 1px dotted #315876;
    color: #DDFFFF;
    font-size: 1.5em;
    font-weight: normal;
    margin-bottom: 0.5em;
    padding-top: 0.8em;
}

h3 {
    border-left: 1px dotted #315876;
    color: #DDFFFF;
    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 #315876;
    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;
}

h4.Artists {
    font-size: 1.4em;
    font-weight: normal;
}

/* Form fields of comments for news and dates */
input, select, textarea {
    background-color: #E9EAEF;
    border-color: #9293A5;
    border-style: solid;
}

input:focus, select:focus, textarea:focus {
    background-color: #CBCCD7;
    border-color: #7C7D87;
    border-style: solid;
}

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

img {
    border: none;
}

#Container {
    background-image: url("./images/laptopbattle_naples_map.gif");
    background-position: left 185px;
    background-repeat: no-repeat;
    margin-left: auto;
    margin-right: auto;
    width: 800px;
}

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

.Header {
    color: white;
    font-family: "Times New Roman", Times, serif;
    font-size: 3.8em;
    line-height: 1.1em;
    padding-left: 0.15em;
}

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

#Menu {
    background-color: #626274;
    background-image: url("./images/menu.png");
    background-repeat: repeat-x;
    clear: both;
    height: 2.5em;
    line-height: 2.5em;
    list-style: none;
    margin: 1px 0px 0px 0px;
    overflow: hidden;
    padding: 0px 0px 0px 3px;
    width: 630px;
}

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

#Menu li a {
    color: #FFB537;
    font-family: 'Lucida Bright', Serif;
    font-size: 0.9em;
    font-variant: small-caps;
    font-weight: bold;
    text-decoration: none;
}

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

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

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

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

#Submenu ul {
}

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

#Submenu ul li a {
    color: #FFB537;
    display: block;
    font-family: 'Lucida Bright', Serif;
    font-size: 0.85em;
    font-variant: small-caps;
    font-weight: bold;
    text-decoration: none;
}

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

#Submenu li.Selected {
    background-color: #666679;
    background-image: url("./images/sub_selected.png");
    background-repeat: repeat-x;

}

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

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

/* We need "clear: none;" for h4, otherwise h4 drops under
   submenu in IE */
#Post h3, h4{
    clear: none;
}

div.Post-Date {
    -moz-border-radius: 0.5em;
    background-color: #616173;
    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: white;
    font-size: 75%;
}

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

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

div.Post-Comment {
    -moz-border-radius: 0.5em;
    background-color: #909C24;
    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;
    font-size: 0.95em;
    margin: 0em 0em 0.5em 1.5em;
    padding: 0em 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 {
    display: inline;
    color: #FDDB61;
    text-decoration: none;
}

#Post a.Popup:hover {
    border: none;
    color: #FDDB61;
    text-decoration: none;
}

#Post a.Popup img {
    /* 
       Without float left we have jumping links on hover on IE
       And yes, Hakan, it has to be really here and not
       at :hover img!
     */

    float: left;
    border-width: 0px;
    height: 0px;
    width: 0px;
}

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

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

#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 #E9FFC3;
    display: block;
    float: right;
    font-size: 0.8em;
    line-height: 1.5em;
    margin-bottom: 1.0em;
    padding: 1em 0.75em;
    position: relative;
    right: 0em;
    width: 75%;
}

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 solid #315876;
    background: #808099;
    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 {
    width: 150px;
    text-align: center;
}

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

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

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

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

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

div.Judges {
    font-size: 0.9em;
    line-height: 1.3em;
    margin: auto;
    min-width: 550px;
}

