/* load the default Redmine stylesheet */
@import url(../../../stylesheets/application.css);

body, #wrapper {
  background-color: #ffffff;
}

html, body, #wrapper {
  height: 100%
}

body > #wrapper {
  height: auto;
  min-height: 100%
}

/* Links */
a, a:link, a:visited, a.icon, a.icon:link, a.icon:visited,
#sidebar a, #sidebar a:link, #sidebar a:visited {
  color: #59554e;
  text-decoration: underline;
}

a:hover {
  text-decoration: none;
}

/* Layout: Sidebar */
#sidebar {
  margin: 10px auto;
  padding: 5px;
  background-color: #f3f4e5;
  border: 1px solid #e2e3d9;
  width: auto;
  float: none;
}

#sidebar p {
  color: #f0f0f0;
}

#sidebar h3 {
  color: #444444;
  padding: 6px 0;
  display: none;
}

#sidebar br {
  display: none;
}

/* Layout: Header */
#header, #top-menu {
  margin: 0;
}

#header {
  background-color: #ffffff;
  padding: 8px 0 0 0;
  margin: 10px auto;
  height: 3em;
  width: 70%;
}

#header h1 {
  margin: 0px;
  color: #59554e !important;
  float: left;
}

#header h1 a {
  color: #59554e;
}

#sidebar-search input, #sidebar-search select {
  margin: 0px;
  padding: 0px;
}

#sidebar-search {
  margin-top: -2px;
  float: right;
  text-align: right;
}

/* Layout: Top menu */
#top-menu {
  background-color: #59554e;
  font-size: .9em;
  padding: 5px;
}

#top-menu ul {
  padding: 0 21px;
}

#top-menu li, #top-menu #loggedas {
  color: #ddd;
  line-height: 21px;
  margin-right: 0px;
}

#top-menu li a {
  color: #aaa;
  font-weight: normal;
  padding:4px 5px;
}

#top-menu li a:hover {
  color: #fff;
  text-decoration: none;
}

/* Layout: Main menu */
#main-menu {
  margin: 0;
  position: static;
  color: #59554e !important;
}

#main-menu li a {
  font-weight: normal;
  padding: 6px 8px 8px;
  color: #59554e !important;
}

#main-menu li a:hover {
  background: transparent;
  text-decoration: underline;
  color: #59554e !important;
}

#main-menu li a.selected, #main-menu li a.selected:hover {
  background-color:#fff;
  color: #59554e !important;
  text-decoration: underline;
  font-weight: bold;
}

#main {
  background: #ffffff;
  margin: 10px auto;
  width: 70%;
}

#main.nosidebar #content {
  border: 1px solid #eee9de !important;
}

/* Layout: admin */
#admin-menu li {
  float: left;
}

/* Layout: Content */
#content {
  background: #fff;
  width: auto;
  border: 1px solid #eee9de;
  padding: 5px;
}

#content .tabs ul li a {
  font-weight: normal;
  font-size: .9em;
  border: none;
  color: #59554e !important;
}

#content .tabs ul li a:hover {
  color: #59554e !important;
}

#content .tabs ul li a.selected {
  font-weight: normal;
  color: #59554e !important;
}

/* Layout: Roadmap */
#roadmap {
  float: left;
}

/* Layout: Version-Summary */
#version-summary {
  float: left;
}

/* Layout: Footer */
#footer {
  font-size: .9em;
  padding: 2px;
  height: 19px;
  z-index: 10;
  border: none;
}

#footer a:hover {
  text-decoration: none !important;
}

#footer a:link, #footer a:visited {
  color:#aaaaaa;
  text-decoration: underline;
}

/* Headers */
h1 {
  background: transparent !important;
  color: #59554e !important;
  font-size: 22px;
}

h2, h3, h4, .wiki h1, .wiki h2, .wiki h3 {
  background: transparent;
  margin: 2px 0px 10px;
  padding: 10px .7em;
  border-bottom: 0px;
  color: #59554e;
}

h2, .wiki h1 {
  background: transparent !important;
  font-size: 21px;
  font-weight: bold;
}

/* Wiki */
.wiki p {
  text-align: justify;
}

.wiki table, .wiki td, .wiki th {
  border: 1px solid #dadada;
}

.wiki th {
  background-color: #fafafa;
}

.wiki table.column, .wiki table.column td, .wiki table.column th { 
  border: none !important;
  background-color: none !important;
}

.wiki table.column {
  width: 100%;
}

div.wiki ul.toc li.heading4 {
  margin-left: 18px;
  font-size: 0.8em;
}

div.wiki ul.toc li.heading5 {
  margin-left: 24px;
  font-size: 0.8em;
}

div.wiki table ul {
  margin: 0px;
}

h3, .wiki h2 {
  font-size:16px;
}

.wiki h2 {
  background-color: #fff;
}

.wiki a.new {
  color: #aaaaaa !important;
}

.wiki a.new:after {
  content: "?";
}

/* Contextual */
.contextual {
  font-size: 0.9em;
}

.contextual a:hover {
  text-decoration: none;
}

/* Tables */
table.list { border: none; }
table.list th { background-color: #fff; }
table.list tbody td, table.list tbody tr td { border-bottom: solid 1px #ddd; padding:4px 10px 4px 3px; }
table.list thead th {
  border: none;
  border-bottom:1px solid #999999;
  font-size:9px;
  font-weight:normal;
  padding:0pt 3px 3px;
  text-transform:uppercase;
}

table.list thead th a { color: #2e2e2e; }
table.list thead th a:hover { color: #2e2e2e; }

/* Issues grid styles by priorities (provided by Wynn Netherland) */
table.list tr.issue a { color: #3c3c3c; }

tr.odd.priority-5, table.list tbody tr.odd.priority-5:hover { color: #900; font-weight: bold; }
tr.odd.priority-5 { background: #ffc4c4; }
tr.even.priority-5, table.list tbody tr.even.priority-5:hover { color: #900; font-weight: bold; }
tr.even.priority-5 { background: #ffd4d4; }
tr.priority-5 a, tr.priority-5:hover a { color: #900; }
tr.odd.priority-5 td, tr.even.priority-5 td { border-color: #ffb4b4; }

tr.odd.priority-4, table.list tbody tr.odd.priority-4:hover { color: #900; }
tr.odd.priority-4 { background: #ffc4c4; }
tr.even.priority-4, table.list tbody tr.even.priority-4:hover { color: #900; }
tr.even.priority-4 { background: #ffd4d4; }
tr.priority-4 a { color: #900; }
tr.odd.priority-4 td, tr.even.priority-4 td { border-color: #ffb4b4; }

tr.odd.priority-3, table.list tbody tr.odd.priority-3:hover { color: #900; }
tr.odd.priority-3 { background: #fee; }
tr.even.priority-3, table.list tbody tr.even.priority-3:hover { color: #900; }
tr.even.priority-3 { background: #fff2f2; }
tr.priority-3 a { color: #900; }
tr.odd.priority-3 td, tr.even.priority-3 td { border-color: #fcc; }

tr.odd.priority-1, table.list tbody tr.odd.priority-1:hover { color: #559; }
tr.odd.priority-1 { background: #eaf7ff; }
tr.even.priority-1, table.list tbody tr.even.priority-1:hover { color: #559; }
tr.even.priority-1 { background: #f2faff; }
tr.priority-1 a { color: #559; }
tr.odd.priority-1 td, tr.even.priority-1 td { border-color: #add7f3; }

p.breadcrumb {
  background-color:#EEEEEE;
  border-bottom:1px solid white;
  font-size:0.9em;
  margin:-6px -10px 6px;
  padding:6px;
  text-indent:15px;
}

/* Fields */
input[type='text'], input[type='password'], textarea {
  font-size: 13px;
  font-family: Andale Mono,Lucida Console,Monaco,fixed,monospace;
}

input[type="text"], textarea, select {
  padding: 2px;
}

input[type="text"]:focus, textarea:focus, select:focus {  }
option {  }

input#issue_subject {
  font-size: 200%;
  width: 90%;
}

input#issue_subject, #project_description {
  width: 92.5%;
}

textarea#issue_description {
  width: 93%;
}

input[type="text"], textarea, select {
  border: 1px #989898 solid;
  background-color: #F5F5F5;
}

/* Misc */
p.subtitle {
  font-style:normal;
}

.nodata, #login-form table, .flash.notice {
  border-width: 1px;
}

.needs {
  float: left;
  margin-top: 11px;
  margin-right: 5px;
}

.needs a {
  margin-left: 3px;
  font-size: 10px;
  color: #ff8e0b !important;
  text-decoration: none;
}

.box {
  background-color: #fcfcfc;
  border: 1px solid #eee9de;
}

#attachments_fields input[type="text"] {
  width: 39%;
}

.jstElements { margin-right: 3.5em;}
.tabular label { font-weight: normal;}

table.list thead th {
  font-size:.8em;
}

tr.message td.last_message {
  font-size:.9em;
}

div#activity dl, #search-results {
  margin-left:0em;
}
div#activity dd, #search-results dd {
  font-size:1em;
}

span.description { margin: .5em 0;}

hr {
  background: #eee none repeat scroll 0% 0%;
}

/* Misc */
.box { background-color: #fcfcfc; }

blockquote {
  border-left: 2px solid #444444;
  color: #444444;
  margin: 2px 20px;
  padding: 1px 10px;
}

/* Boxes */
.nodata, .warning, #login-form table {
  background-color: #fffcc4;
  border-color: #e92d45;
  color: #e92d45;
}

pre {
  position: relative;
}

/* Syntax */
.syntaxhl .head {
  color: #000000 !important;
  background: none !important;
}

.syntaxhl .chg {
  color: #007007;
  background: none !important;
}

/* Information */
.info, .warn {
  margin: 1em 1em 1em 1.6em;
  padding: 6px 6px 6px 26px;
  background-color: #ffffdd;
  background-position: 4px 6px;
  background-repeat: no-repeat;
  overflow-x: auto;
  overflow-y: hidden;
  width: auto;
}

.info {
  border: 1px solid #e4e4e4;
  background-image: url(/images/information.png);
}

.warn {
  border: 1px solid #e92d45;
  background-image: url(/images/exclamation.png);
}
