/*

*/

/* = styles généraux = */

body {
    background: #4E6A91;
    color: white;
    width: 100%;
    padding: 0;
    margin: 0;
}

body, td, th, h1, h2, h3, h4, #main {
    font-family: "URW Gothic L", Helvetica, Verdana;
}

.corps {
    margin: 0 5px;
    min-width: 750px;
    position: relative;
}

h1, h2, h3 {
  border-style: solid;
  background-color: inherit;
  font-variant: small-caps;
  border-width: 0 0 2px 0;
  border-color: #4E6A91;
  color: #674e4e;
}

h1 {
  font-size: 1.6em;
}

h2 {
  font-size: 1.3em;
}

h3 {
  font-size: 1.1em;
}

p, dd, dd, ol, ul {
  text-align: inherit;
  font-size: 1em;
}
ol li {
    list-style: decimal inside;
}
ul li {
    list-style: none inside;
    padding-left: 20px;
    background: url(puce.png) no-repeat left center;
}
ul, ol {
    padding-left: 0;
}

:link, :visited {
    color: #4E6A91;
    border-bottom: none;
}

:link:hover, :visited:hover {
    color: #2C1F1C;
    background-color: inherit;
}

dt em {
    border-bottom:none;
    color: #674e4e;
    font-style:normal;
    text-decoration:none;
}
dt :link:hover, dt :visited:hover {
    background-color: #D7E6FF;
}
table.listing tbody tr:hover { background: #D7E6FF !important }
table.listing tbody tr.focus { background: #D7E6FF !important }
/*   = HEADER = */

.nav ul {
    text-align: right;
    font-size: 12px;
}

.nav li.last {
    border-right: none !important;
}

#main {
    background: #fff;
    color: #2C1F1C;
    padding: 0 1em;
    overflow: auto;
    border: 1px solid #2C1F1C;
    border-top: 0;
}
#header img {
    margin: 0 ;
    position: absolute;
    left: 0;
    top: 1px;
    z-index: 10;
}

#siteheader, #banner, #mainnav, .nav {
    font-family:"Arial","Geneva",sans-serif;
}

/* == MENU PRINCIPAL == */

#mainnav {
    margin: 107px 0 0;
    background: #674e4e;
    -moz-border-radius-topleft: 5px;
    -moz-border-radius-topright: 5px;
    border: none;
    font-size: 12px;
    position: relative;
    border: 1px solid #2C1F1C;
}

#mainnav li {
    border-right-color: #674e4e;
    padding: 0;
    background: #674e4e;
}
#mainnav :link, #mainnav :visited {
    background-image: none;
    border-color: #2C1F1C;
    padding-left: 8px; padding-right: 8px;
}

#mainnav :link, 
#mainnav :visited,
#mainnav :link:hover,
#mainnav :visited:hover,
#mainnav .active :link, 
#mainnav .active :visited,
#mainnav .active :link:hover, #mainnav .active :visited:hover {
    border-right: none;
    color: #fff;
}

#mainnav li.last,
#mainnav li.last :link:hover,
#mainnav li.last :visited:hover,
#mainnav li.last.active :link, 
#mainnav li.last.active :visited,
#mainnav li.last.active :link:hover, 
#mainnav li.last.active :visited:hover {
    -moz-border-radius-topright: 5px;
}

#mainnav .active :link, #mainnav .active :visited {
    background: #fff;
    color: #2C1F1C;
}

#mainnav :link:hover, #mainnav :visited:hover, #mainnav .active :link:hover, #mainnav .active :visited:hover {
    background: #2C1F1C;
    color: #fff;
}

/* == Subnav == */
.nav li {
 border-right: 1px solid #674E4E;
}
#metanav ul {
    position: absolute;
    top: 0.3em;
    right: 0;
    font-weight: bold;
}

#metanav :link:hover, #metanav :visited:hover { 
    color: #fff;
    background: inherit;
}

#loginguest a:hover, #metanav :link, #metanav :visited {
    color:  #2C1F1C;
}

#siteheader p {
    margin-top: 0.3em;
}

#siteheader .nav :link, #siteheader .nav :visited {
    color: #674e4e;
}

#siteheader .nav :visited:hover, #siteheader .nav :link:hover {
    color: #674e4e;
    background: inherit;
    border-bottom: 1px dotted #674e4e;
}

#ctxtnav ul {
    padding: 0.2em 0;
}

/* = FOOTER = */

#footer {
  display: none;
}
.nav li, #altlinks li {
    background: none;
}

/* = PAGES ET MODULES = */

/* == Styles for images in documentation and articles == */

img.inline, img.inlinetop {
  border: solid 2px;
  padding: 2px;
}

img.inlinetop {
  vertical-align: top;
}

img.math {
  vertical-align: middle;
  margin-left: 10px;
  margin-right: 10px;
}

img.matrix {
  vertical-align: top;
  margin-right: 30px;
  margin-top: 10px;
}

/* == FORMS == */

input[type="button"], input[type="submit"], input[type="reset"] {
    background: #674e4e;
    color: #fff;
    border: 1px solid #2C1F1C;
    -moz-border-radius: 4px;
    white-space: normal;
    cursor: pointer;
}
input[type="button"]:hover, input[type="submit"]:hover, input[type="reset"]:hover {
    background: #2C1F1C;
    border: 1px solid #674e4e;
    color: #fff;
}
.buttons input[type="button"], .buttons input[type="submit"], .buttons input[type="reset"] {
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    border-radius: 10px;
    background: #674e4e url(bouton.png) no-repeat center top;
    color: #fff;
    border: 0;
    border-bottom: 1px solid #2C1F1C;
    padding-top: 90px;
    width:148px;
}
.buttons input[type="button"]:hover, .buttons input[type="submit"]:hover, .buttons input[type="reset"]:hover,  .buttons input[type="button"]:active, .buttons input[type="submit"]:active, .buttons input[type="reset"]:active {
    background: #2C1F1C url(boutonhover.png) no-repeat center top;
    border: 0;
    border-bottom: 1px solid #674e4e;
    color: #fff;
    padding-top: 90px;
    width: 148px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    border-radius: 10px;
}

input[type="text"], input.textwidget, textarea {
    border: 1px solid #674E4E;
}
legend {
    color: #674e4e;
}

fieldset {
    border: 1px solid #674e4e;
    background: #C1CFE5;
    padding: 0.2em;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
}
#content.ticket, #content.milestone, {
    margin: 0 auto;
}
.buttons {
    text-align: center;
}
.buttons input {
    margin: 0.5em;
}
#content.ticket fieldset, #edit fieldset {
    background: #C1CFE5;
    border: 1px solid #674e4e !important;
    padding: 0.2em;
}
#field-description {
    background: #fff;
}
#attachments {
    background: #fff;
    border: none;
}
#attachfile {
    text-align: center;
}
#changelog {
    background: #674E4E;
    border: 1px solid #674e4e;
}
a.ext-link .icon {
    background-position: right center;
    padding-right: 16px;
    padding-left: 0;
}

/* === FORM TICKETS === */

#preview h3, #changelog h3 {
    border-bottom:1px solid #674e4e;
    color:#552701;
    font-size:100%;
    font-weight:bold;
}

#ticket {
    background: #E0E095;
    border: 1px solid #674e4e;
}

#ticket .date p {
    margin: 6px;
    color: #674e4e;
}

form #comment {
    width: 692px;
}

#ticket table.properties tr {
    border-bottom: 1px dotted #674E4E;
}
#content.ticket {
margin: 0 auto;
}
#content.ticket fieldset {
    border: 1px solid #674e4e;
}

.wikitoolbar {
    width: 252px;
}

.wikitoolbar :link, .wikitoolbar :visited {
    border: 1px solid #674E4E;
    margin-left: 2px
}

.wikitoolbar :active, .wikitoolbar :hover {
    border: 1px solid #2C1F1C;
}
/* == search == */

#content.search #results dt a {
    color: #674e4e;
}

#content.search #results .author, #results .date {
    color: #674e4e;
    font-style: italic;
}

.searchword0 {
    background: #FFBB22;
    color: #2C1F1C
}

#content.search #results dd {
    font-size: 1em;
}
#search { margin: 10px 0 0;}
#content .paging .current, #content .paging .current :hover {
    border: 1px solid  #a3c37a;
    background: #674e4e;
}

#content .paging :link, #content .paging :visited {
    border: 1px solid  #a3c37a;
    color: #674e4e;
}

#content .paging :link:hover, #content .paging :visited:hover {
    background: #FFBB22;
    color: #674e4e;
    border: 1px solid  #a3c37a;
}

#content .paging .previous a,
#content .paging .next a,
#content .paging .previous a:hover, #content .paging .next a:hover {
    border: none;
}

#content .paging .previous a:hover, #content .paging .next a:hover {
    color: #FFBB22;
}

/* roadmap */

.milestone .info .date, .milestone .info h2 em {
    color: #2C1F1C
}

#prefs {
    background: #fff;
    border: 1px solid #4E6A91;
    color: #2C1F1C
    font-size: 11px;
}

/* browser */
table.listing {
    border-color: #674E4E;
}
table.listing thead th, 
table.listing tbody td, 
table.listing tbody th {
    border: 1px solid #674E4E;
}

#dirlist td.age {
    border-top: 1px solid #2C1F1C
    border-bottom: 1px solid #2C1F1C
}

/* = WIKI = */

div.code, pre.wiki, pre.literal-block {
    background: #fff;
    border: 1px dotted #2C1F1C
}

.wiki-toc, #prefs, #tabs {
    background: #fff;
    border: 1px solid #4E6A91;
    color: #674e4e;
    font-size: 12px;
    font-family: verdana,'Bitstream Vera Sans',helvetica,arial,sans-serif;
    -moz-border-radius: 5px;
}
#prefs .buttons {
    margin-top: 0;
    text-align: center;
}
#tabs li { 
    color: #674e4e;
}
#tabs li li.active {
    border: 1px solid #D7E6FF;
    background: #D7E6FF;
}
.wiki-toc :link, .wiki-toc :visited {
    color: #2C1F1C
}
a.missing:link, a.missing:visited,
a.missing:link:hover, a.missing:visited:hover {
    background: #FFBB22;
    color: #2C1F1C
    font-style: italic;
}

a.missing:link:after, a.missing:visited:after,
a.missing:hover:after {
    content: ' missing!';
    font-size: 9px;
    color: #674e4e;
    vertical-align: top;
    padding-left: 5px;
}

.wiki-toc .active {
    font-weight: bold;
}

h1 :link, h1 :visited {
    color: #674e4e;
}

.floatleft {
    float: left;
}

.floatright {
    float: right;
}

.floatright img, imgfloatright {
    margin-left: 0.2em;
    margin-bottom: 0.2em;
}

.floatleft img, imgfloatleft {
    margin-right: 0.2em;
    margin-bottom: 0.2em;
}
/* forum */


table.listing thead th.moderators, 
table.listing tbody td.moderators, 
table.listing tbody th.moderators,
table.listing thead th.id, 
table.listing tbody td.id, 
table.listing tbody th.id {
    display: none;
}
table.listing tbody td.lasttopic, 
table.listing tbody td.author,
table.listing tbody td.founded, 
table.listing tbody td.lastreply {
    text-align: left;
} 
table.listing thead th {
    text-align: center;
}
table.listing thead { 
    background: #674E4E;
    color: #fff;
}
table.listing thead th a {
    color: #fff
}
table.listing tbody td.topics, 
table.listing tbody td.new_topics, 
table.listing tbody td.replies,
table.listing tbody td.new_replies {
    text-align: right;
}
.forum-list tr > td {
    padding: 0.2em 0.2em !important
}

.forum-list th.group, .topic-list th {
    background-color: #4E6A91;
    border: 1px solid #674E4E;
    padding: 5px;
    color: #fff;
    text-align: left;  
}
.topic-list th :link, .topic-list th :visited {
    color: #2C1F1C;
}
.topic-list th :active, .topic-list th :hover {
    color: #fff;
}
.forum-list th.group .description {
    float: left;
}
.topic-list h1, .topic-list h2 {
    border-bottom: none;
    font-size:20px;
    font-weight: bold;
    margin-top:0;
    padding-top:0;
}
.topic-list h1 {
    float: left;
    text-align: right;
    width: 49%;
    color: #2C1F1C;
}
.topic-list h2 {
    float: right;
    text-align: left;
    width: 49%;
    color: #4E6A91;
}
.topic-list h1:after {
    content: ':';
}
.forum-list th.group div.name { 
    float: left;
    text-align: right;
    width: 49%;
}
.forum-list th.group div.name:after {
    content: ':';
}
.forum-list th.group div.description {
    float: right;
    text-align: left;
    width: 49%;
}

/* admin */

.admin #tabs li, .admin fieldset {
    background: #fff;
}

/* pastebin */

div.sidebar {
    -moz-border-radius: 5px;
    -webkit-border-radius-bottomright: 5px;
    border-radius-topleft: 5px;
    background: #D7E6FF;
    border: 1px solid #2C1F1C;
    float: right;
    overflow: hidden;
    padding: 10px;
    width: 180px;
}
/* diff */
.diff table tbody th {
    background: #D7E6FF;
    color: #674E4E;
}
.diff h2 {
    color: #fff;
    background: #4e6a91;
}

/*  */
table#info li {
    background-image: none;
}
.ohloh {
    text-align: center;
}