/***************************************************************************
 *  Copyright (C) 2003-2011 Polytechnique.org                              *
 *  http://opensource.polytechnique.org/                                   *
 *                                                                         *
 *  This program is free software; you can redistribute it and/or modify   *
 *  it under the terms of the GNU General Public License as published by   *
 *  the Free Software Foundation; either version 2 of the License, or      *
 *  (at your option) any later version.                                    *
 *                                                                         *
 *  This program is distributed in the hope that it will be useful,        *
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of         *
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the          *
 *  GNU General Public License for more details.                           *
 *                                                                         *
 *  You should have received a copy of the GNU General Public License      *
 *  along with this program; if not, write to the Free Software            *
 *  Foundation, Inc.,                                                      *
 *  59 Temple Place, Suite 330, Boston, MA  02111-1307  USA                *
 ***************************************************************************/

body {
    background-color: #F2E9D0;
    margin-left: 0;
    margin-top: 0;
    color: #505050;
    border-top: 1px;
}

table, body {
    font-size: 10pt;
    font-family: "Bitstream vera sans","Verdana",sans-serif;
}

input,textarea,select,option {
    font-size: 9pt;
}

tt,pre {
    font-size: 10pt;
}

fieldset {
    border: 1px gray solid;

    margin-top: 1em;
    margin-bottom: 1em;
}

legend {
    border: 1px gray solid;
    background: #e9e0aa;
    color: inherit;

    padding: 2px 4px;
}

a, a:link, a:visited     { text-decoration: none ; color: #5c81aa; }

a img { border: none; }
img   { vertical-align: middle; }
td    { vertical-align: top; }

h1    { font-size: 130%; }
h2    { font-size: 115%; }

.smaller {
    font-size: smaller;
    font-style: italic;
}

input.error, textarea.error {
    background-color: #faa;
}

input.valid, textarea.valid {
    background-color: #afa;
}

input.warning, textarea.warning {
    background-color: #fda;
}


/***************************************************************************
 * DEBUG
 ***************************************************************************/

#dev {
    width: 100%;
    text-align: center;
    padding: 1px;

    font-size: 10pt;
    font-weight: bold;
}

.backtrace div.hide       { display: none; }
.backtrace:hover div.hide { display: block }
.backtrace h1 { margin: 0px; }

/***************************************************************************
 * LAYOUT
 ***************************************************************************/

table#layout {
    width: 765px;
    margin-left: auto;
    margin-right: auto;
}

#top {
    width: 100%;
}

#top td {
    padding: 0;
    margin: 0;
    vertical-align: middle;
}

#top td.logo {
    text-align: right;
    background: url('../images/bandeau.jpg') bottom left repeat-x;
}

td#credits {
    text-align: center;
    font-size: 75%;
}

td#perso div {
    font-weight: bold;
    font-size: 90%;
    padding: 2px 1em;
}

td#perso .gp {
    display: block;
    margin: 2px 1em;
    font-weight: bold;
    font-size: 85%;
    float: left;
    text-align: center;
}

td#search {
    text-align: right;
    width: 300px;
}

#content {
    width: 100%;
}

td#body {
    vertical-align: top;
    padding-left: 1em;
    padding-bottom: 1em;
}

td#menu {
    width: 130px;
    padding-right: 0;
    padding-top: 0.5em;
    font-family: "Trebuchet MS", "Arial",sans-serif;
    font-weight: bold;
}

#menu h1 {
    padding: 0.3em 0em 0.4em 0em;
    margin-top: 0.7em;
    margin-bottom: 0.3em;
    font-size: 89%;
    text-align: center;
    width: 130px;
    background: url('../images/barre_small.png') bottom left no-repeat;
    background-color: #d0c198;
}

#menu a, #menu form {
    display: block;
    padding: 0.2em 0em 0.2em 15px;
    font-size: 89%;
    background: url('../images/puce.png') no-repeat center left;
}

/***************************************************************************
 * CLASSES
 ***************************************************************************/

.errors {
    margin-top: 10px;
    border: 1px solid #f00;
    background-color: #faa;
    width: 98%;
}

.warnings {
    margin-top: 10px;
    border: 1px solid #dc0;
    background-color: #ee7;
    width: 98%;
}

.success {
    margin-top: 10px;
    border: 1px solid #0d2;
    background-color: #7fa;
    width: 98%;
}

.erreur { color: red !important; }
.error  { color: red !important; }
.center { text-align: center; }
.right  { text-align: right; }

.descr {
    text-align: justify;
    font-size: 90%;
}
p.descr {
    padding-left: 7px;
    padding-right: 7px;
}

table { border-collapse: collapse; }

table.links {
    width: 100%;
    margin: 0.4em 0em;
}

table.links td {
    padding: 0em 0.5em;
}

table.links a {
    background: url('../images/puce.png') no-repeat center left;
    padding-left: 15px;
    font-weight: bold;
}

table td.titre {
    font-weight: bold;
    white-space: nowrap;
}

table.tiny,  table.tinybicol {
    width: 70%;
    margin-left: 15%;
    border: 2px solid gray;
    font-size: 85%;
}
table.large, table.bicol {
    width: 96%;
    margin-left:  2%;
    border: 2px solid gray;
    font-size: 85%;
}

table.tiny td, table.tinybicol td, table.large td, table.bicol td {
    border: 1px solid gray;
    padding: 2px 4px;
}
table.tiny th, table.tinybicol th, table.large th, table.bicol th {
    border: 1px solid gray;
    border-top-width: 2px;
    border-bottom-width: 2px;
    padding: 2px;
}

table.tinybicol td, table.bicol td {
    border-top: none;
    border-bottom: none;
}

table.tinybicol .pair, table.bicol .pair {
    background-color: #e9e0aa;
}

table.normal td { border: none; }

th { background: #d0c198; }
th.grayed {
    background: #d0cbb0;
    color: #666;
}

a.popup2 {
    color: #4c618a;
    background-color: inherit;
}

/***************************************************************************
 * Special pages
 ***************************************************************************/

table#liste td.fourth {
    width: 25%;
}

table#liste td.listec a {
    display: block;
    text-align: center;
}

table#liste td.liste a {
    display: block;
    text-align: right;
}

table#liste td.liste a.cat {
    background: #d0c198;
    margin: 15px 0px 10px 0px;
    padding: 3px;
    text-align: center;
    font-weight: bold;
    font-size: 90%;
}

table#liste td.liste a:hover, table#liste td.listec a:hover {
    background: #d0c198;
}

#wikitext {
    text-align: justify;
    font-size: 90%;
}

#wikitext p {
    padding-left: 7px;
}

/***************************************************************************
 ***************************************************************************/

div.cat {
    background: #d0c198;
    text-align: center;
    font-weight: bold;
    font-size: 90%;
    padding: 2px;
    width: 180px;
    margin: 4px 0px;
}

div.sel { background-color: #5c81aa; color: #d0c198; }
div.sel a { color: #d0c198; }

td.oval, td.oval2 {
    color: #d0c198;
    height: 50px;
    text-align: center;
    vertical-align: middle !important;
    font-weight: bold;
}
td.oval {
    background: url("../images/oval.png") no-repeat top center;
    width: 130px;
    padding: 0px 35px;
}
td.oval2 {
    background: url("../images/oval2.png") no-repeat top center;
    width: 160px;
    padding: 0px 12px;

}

.oval a, .oval2 a { color: #d0c198; }
.oval a.has_site { color: white; }
.jone a { color: #FF9; }
.rouje a { color: #D88; }
.jone a.has_site { color: #FE0; }
.rouje a.has_site { color: #D00; }

#content td.oval, #content td.oval2 {
    font-size: 90%;
    font-family: "Trebuchet MS", sans-serif;
    letter-spacing: -0.5px;
}

div.backtotop {
    font-size: small;
    text-align: center;
    padding-top: 2em;
}

div.screenshot {
    text-align: center;
}

div.screenshot img {
    border: 1px solid #777;
}

/***************************************************************************
 ***************************************************************************/

td.infos {
    height: 30px;
    text-align: center;
    font-family: "Bitstream Vera Sans","Arial",sans-serif;
    color: #505050;
}

/***************************************************************************
 ***************************************************************************/

.wizard {
    margin-top: 0px;
    margin-left: -1em;
}

.wizard .wiz_header {
    height: 30px;
    width: 635px;
    padding: 0 2px;
    background: url('../images/skins/wiz_xnet_background.png') bottom left no-repeat;
    margin-bottom: 1em;
}

.wizard .wiz_header .wiz_tab {
    height: 100%;
    text-align: center;
    font-size: 75%;
}

.wizard .wiz_header .wiz_tab:hover {
    color: #5c81aa;
    font-weight: bold;
}

.wizard .wiz_header .active, .wizard .wiz_header .active:hover {
}

.wizard .wiz_header a {
    color: #000;
    text-decoration: none;
    margin-top: 2px;
    vertical-align: bottom;
}

.wizard .wiz_header a.active {
    font-weight: bold;
}


