/* 
    Document   : basicStyle
    Created on : 29-Jan-2010, 08:53:40
    Author     : Thomas Schwery <thomas.schwery@epfl.ch>
    Description:
        Basic StyleSheet for the site
*/
body,
html {
    margin:0;
    margin-top: 5px;
    padding:0;
    color:#000;
    background:white;
}
#wrap {
    width:750px;
    margin:0 auto;
    padding: 10px;
    background: #0099CC;
}
#header {
    padding:5px;
    background:white;
    text-align: center;
    border: 1px solid;
    margin-bottom: 10px;
}
h1 {
    margin:0;
}
#main {
    float:left;
    width:495px;
    padding:10px;
    margin-bottom: 10px;
    background:white;
    border: 1px solid;
}
h2 {
    margin:0 0 1em;
}
#sidebar {
    float:right;
    width:200px;
    padding:10px;
    background:white;
    border: 1px solid;
    margin-bottom: 10px;
}
#footer {
    clear:both;
    padding:5px 10px;
    background: white;
    border: 1px solid;
    font-size: 10px;
}
#footer p {
    margin:0;
}
* html #footer {
    height:1px;
}

label {
    width: 160px;
    float: left;
    text-align: right;
    margin-right: 5px;
    display: block
}

.menu a, .menu a:visited {
    text-decoration:none;
    background-color:#fff;
    color:#000;
    display:block;
    width:175px;
    height:1.5em;
    padding:5px;
}
.menu a:hover {
    border-bottom:1px solid #000;
    padding-bottom: 4px;
}

.index_title {
    font-size: 1.5em
}

.index_text {
    text-indent: 50px;
    text-align:justify;
    margin-bottom: 5px;
}

.index_text_no_indent {
    text-align:justify;
    margin-bottom: 5px;
}

.index_image_left {
    float: left;
    margin: 10px;
}

.index_image_right {
    float: right;
    margin: 10px;
}

.index_image_center {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 10px;
    margin-bottom: 10px;
    text-align: center;
}

.user_box {
    text-align: center;
    margin-bottom: 5px;
}

.news_box {
    text-align: center;
    margin-bottom: 5px;
}

.news_box_full {
    text-indent: 50px;
    text-align: justify;
    margin: 5px;
}

.category_box {
    border: 1px dotted black;
    margin: 5px;
    padding: 5px;
}

.tournament_box {
    text-align: center;
    margin-bottom: 5px;
}

.center_menu {
    text-align: center;
    margin: 5px;
}

.box h2, .box h3 {
    clear: both;
}

tr:nth-child(even) {background: #CCC}
tr:nth-child(odd) {background: #FFF}
