/*
  TRAC THEME - cacalabs 2010 by Cacacrew
*/

/* = GENERAL = */

body {
    background: #4E6A91;
    color: white;
    width: 100%;
    padding: 0;
    margin: 0;
}
body, td, th, h1, h2, h3, h4, #main {
    font-family: verdana,'Bitstream Vera Sans',helvetica,arial,sans-serif;
}
h1 :link, h1 :visited {
    color: #674e4e;
}
.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;
}
dd {
    margin-left: 0;
}

/* links */
:link, :visited {
    color: #4E6A91;
    border-bottom: none;
}
:link:hover, :visited:hover {
    color: #2C1F1C;
    background-color: inherit;
}
a.ext-link .icon {
    background-position: right center;
    padding-right: 16px;
    padding-left: 0;
}
a.missing:link, 
a.missing:visited,
a.missing:link:hover, 
a.missing:visited:hover {
    background: #EEEEAA;
    color: #2C1F1C;
}
a.missing:link:after, 
a.missing:visited:after,
a.missing:hover:after {
    content: ' missing! ';
    font-size: 10px;
    color:  #2C1F1C;
    vertical-align: top;
    padding-left: 3px;
}
dt em {
    border-bottom:none;
    color: #674e4e;
    font-style:normal;
    text-decoration:none;
}
dt :link:hover, dt :visited:hover {
    background-color: #D7E6FF;
}

/* = LAYOUT = */

/*   == HEADER == */

.nav ul {
    text-align: right;
    font-size: 12px;
}
.nav li.last {
    border-right: none !important;
}
#main {
    background: #fff url(/static/stitch.png) no-repeat bottom right;
    color: #2C1F1C;
    padding: 0 1em;
    overflow: auto;
    border: 1px solid #2C1F1C;
    border-top: 0;
    min-height: 350px;
}
#header img {
    margin: 0 ;
    position: absolute;
    left: 0;
    top: 1px;
    z-index: 10;
}
#siteheader p {
    margin-top: 0.3em;
}
#siteheader, #banner, #mainnav, .nav {
    font-family: verdana,'Bitstream Vera Sans',helvetica,arial,sans-serif;
}

/* == MAINNAV == */

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

/* == SUBNAVS == */

.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;
}
#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;
}

/* == login ==  */

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

/* = FOOTER = */

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

/* = PAGES & MODULES = */

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

/* == WIKI CONTENT : Styles for images in documentation and articles == */
.centertxt {
    text-align: center;
}
.lefttxt {
    text-align: left;
}
.righttxt {
    text-align: right;
}
.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;
}
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;
}
.ohloh, .ohloh2 {
    background-repeat: no-repeat;
    display: block;
}
.ohloh {
    background: transparent url(ohloh.png) no-repeat left 80px;
    height: 14px;
    padding-top: 200px;
}
.ohloh2 {
    background : transparent url(ohloh2.png) no-repeat -6px bottom;
    padding-top: 105px;
    height:11px;
}
.software {
margin:0 auto;
max-width:750px;
}
.paragraphe {
    width: 333px;
    margin: 0 10px;
}

/* == FORMS == */
legend {
    color: #674e4e;
    font-size: 20px;
    background: transparent url(fiole-ticket.png) no-repeat 2px -1px;
    padding-left: 20px;
}

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;
}
#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: #BFADAD;
    border: 1px solid #674e4e;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
}

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

#preview h3, #changelog h3 {
    border-bottom: 1px solid #674e4e;
    color: #fff;
    font-size: 100%;
    font-weight: bold;
}
#ticket {
    background-color: #C1CFE5;
    border: 1px solid #674e4e;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
}
div#ticket.ticketdraft {
    border: none;
    background-color: #C1CFE5;
}
#ticket .date p {
    margin: 6px;
    color: #674e4e;
}
form #comment {
    width: 692px;
}
#ticket table.properties,
#ticket table.properties tr {
    border: 1px dotted #674E4E;
}
#ticket .description h3, #ticket table.properties th {
    color: #2C1F1C;
}
#ticket .description h3 {
    border-bottom: 1px dotted #674E4E;
}
#content.ticket {
    margin: 0 auto;
}
#content.ticket fieldset {
    border: 1px solid #674e4e;
}

/* editor menu */

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

/* === BUTTONS === */

.buttons {
    text-align: center;
    margin-right:250px;
}
.buttons input {
    margin: 0;
}
#delete, #save {
    margin-left: 0;
    border-bottom: 1px solid #2C1F1C;
}
input[type="button"], 
input[type="submit"], 
input[type="reset"],
.controls a {
    background: #674e4e;
    color: #fff;
    border: 1px solid #2C1F1C;
    -moz-border-radius: 4px;
    white-space: normal;
    cursor: pointer;
    font-size: 11px;
    padding: 0.2em;
}
input[type="button"]:hover, 
input[type="submit"]:hover, 
input[type="reset"]:hover,
.controls a:hover {
    background: #2C1F1C;
    border: 1px solid #674e4e;
    color: #fff;
}
#save{
    background: #879A4A url(bouton.png) no-repeat center top;
}
.uninstall input[type="submit"], #delete input[type="submit"] {
    background: #AD5151 url(bouton.png) no-repeat center top;
}
.addnew .buttons input[type="submit"], #save:hover {
    background: #73833F url(boutonhover.png) no-repeat center top;
}
.plugin .uninstall input[type="submit"]:hover, #delete input[type="submit"]:hover {
    background: #BD7474 url(boutonhover.png) no-repeat center top;
}
#attachments input[type="button"], 
#attachments input[type="submit"], 
#attachments input[type="reset"], 
.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;
}

/*Admin forms */
.addnew .buttons, .plugin .uninstall {
    height:100px;
    margin:7px 0 18px;
    margin-top:7px;
    padding:0;
    text-align:center;
}


#attachments input[type="button"]:hover, 
#attachments input[type="submit"]:hover, 
#attachments input[type="reset"]:hover, 
.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;
}

/* == 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;}


/* == ROADMAP == */

.milestone .info .date, .milestone .info h2 em {
    color: #2C1F1C;
}
#prefs {
    background: #fff;
    border: 1px solid #4E6A91;
    color: #2C1F1C;
    font-size: 11px;
}

/* == BROWSER == */

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

/* = WIKI = */

div.code, pre.wiki, pre.literal-block {
    background: #BFADAD;
    border: 1px dotted #2C1F1C;
}
.wiki {
    max-width: 1200px;
    margin: 0 auto;
}
.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
}
.wiki-toc .active {
    font-weight: bold;
}

/* == TABLE (FORUM, TIMELINE & DIFF) == */
table.listing {
    border: 1px solid #674E4E;
    border-collapse: collapse;
}
table.listing thead { 
    background: #674E4E;
    color: #fff;
}
table.listing thead th, 
table.listing tbody td, 
table.listing tbody th {
    border: 1px solid #674E4E;
}
table.listing thead th {
    text-align: center;
    font-size: 14px;
}
table.listing thead th a {
    color: #fff
}
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 tbody td.topics, 
table.listing tbody td.new_topics, 
table.listing tbody td.replies,
table.listing tbody td.new_replies {
    text-align: right;
}

table.listing tbody tr:hover { background: #D7E6FF !important }
table.listing tbody tr.focus { background: #D7E6FF !important }

.tickets tr.color1-odd {
    background: rgba(240, 215, 215, 0.9);
}
.tickets tr.color1-even {
    background: rgba(255, 228, 228, 0.9);
}
.tickets tr.color2-odd {
    background: rgba(255, 255, 185, 0.9);
}
.tickets tr.color2-even {
    background: rgba(255, 255, 220, 0.9);
}
.tickets tr.color3-odd, 
table.listing tbody tr.odd {
    background: rgba(255, 255, 255, 0.9);
}
.tickets tr.color3-even, 
table.listing tbody tr.even {
    background: rgba(240, 240, 240, 0.9);
}
.tickets tr.color4-odd {
    background: rgba(195, 215, 255, 0.9);
}
.tickets tr.color4-even {
    background: rgba(210, 215, 240, 0.9);
}
/* === FORUM === */

.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;  
}
.forum-list th.group div.name { 
    float: left;
    text-align: right;
    width: 40%;
}
.forum-list th.group div.name:after {
    content: ':';
}
.forum-list th.group .description {
    float: left;
}
.forum-list th.group div.description {
    float: right;
    text-align: left;
    width: 59%;
}

.topic-list h1 {
    float: left;
    text-align: right;
    width: 49%;
    color: #2C1F1C;
}
.topic-list h1:after {
    content: ':';
}
.topic-list h1, .topic-list h2 {
    border-bottom: none;
    font-size: 20px;
    font-weight: bold;
    margin-top: 0;
    padding-top: 0;
}
.topic-list h2 {
    float: right;
    text-align: left;
    width: 49%;
    color: #4E6A91;
}
.topic-list th :link, .topic-list th :visited {
    color: #2C1F1C;
}
.topic-list th :active, .topic-list th :hover {
    color: #fff;
}
.message-list div.replies div.body {
    border: 1px solid #2C1F1C;
    -moz-border-radius: 5px;
    -webkit-border-radius-top: 5px;
    border-radius-top: 5px;
}
.message-list div.topic,
.message-list div.replies,
.message-list div.replies.new,
.message-list div.topic.new {
    border: 1px solid #2C1F1C;
    background-color: #C1CFE5;
}
.message-list div.replies {
    border-top: 0;
}
.message-list div.topic {
    -moz-border-radius-topleft: 5px;
    -moz-border-radius-topright: 5px;
    -webkit-border-radius-top-left: 5px;
    -webkit-border-radius-top-right: 5px;
    border-radius-top-left: 5px;
    border-radius-top-right: 5px;
}

.message-list div li {
    background-image: none;
}
.message-list div.replies.new,
.message-list div.topic.new {
    background: #BFADAD;
}
.message-list div.topic div.subject {
    background: #4E6A91 url(fiole.png) no-repeat 5px 1px;
    padding-left: 25px;
    color: #fff;
    border-bottom: 1px solid #2C1F1C;
}
.message-list div.topic.new div.subject {
    background: #674E4E url(fiole-new.png) no-repeat 5px 1px;
}
/* === DIFF === */

.diff h2 {
    color: #fff;
    background: #4e6a91;
    background-color: #C1CFE5;
}
dt .time {
    color: #2C1F1C;
}
.diff table tbody th {
    background: #D7E6FF;
    color: #674E4E;
}
.diff li.entry, .diff table th {
    border-color: #4e6a91;
}
table#info li {
    background-image: none;
}
/* == 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: rgba(215,230,255, 0.9);
    border: 1px solid #2C1F1C;
    float: right;
    overflow: hidden;
    padding: 10px;
    width: 450px;
}
div.formwrapper {
    margin-right: 510px;
}