/*This file generates general and layout styles and imports all other styles of the system. */


/*Import other styles*/
@import "mypage.css";
@import "login.css";
@import "font.css";
@import "header.css";
@import "context-menu.css";
@import "priorities.css";
@import "mediaqueries.css";
@import "redmine_crm_lite.css";

/*Mobile display*/
@import "mediaqueries.css";

/*Font*/
@import "icons.css";
@import "../font/fontawesome/font-awesome.css";
@import "../font/fontawesome/font-awesome.min.css";

/*User overrides*/
@import "overrides/overrides.css";

html {
  overflow-y:scroll;
}

html {
    -webkit-text-size-adjust: 100%; /* Prevent font scaling in landscape while allowing user zoom */
}
  
body {
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 13px; 
  color:#666666; 
  margin: 0; 
  padding: 0; 
  background: #ffffff;
}

/***** Typography *****/

h1, h2, h3, h4, h5, h6 {
  font-family: "Open Sans", Arial, sans-serif;
  padding: 2px 10px 1px 0px;
  margin: 0 0 10px 0;
  font-weight: normal;
  color: #4f5257;
  letter-spacing: -0.04em;
}

h1 {
  font-size: 20px;
  text-transform: uppercase;
  padding: 5px 5px 5px 15px;
  margin: 0;
  line-height: 30px;
}

h4 {
  font-size: 15px;
}

.wiki h1, .wiki h2, .wiki h3, .wiki h4, .wiki h5, .wiki h6 {
  color: #444;
  padding: 0 !important;
  font-weight: bold;
  text-transform: none;
  background: none;
  border: none;
}

.wiki h1 {
  font-size: 21px;
  line-height: 1.2;
  margin: 17.85px 0;
  }
  
.wiki h2 {
  font-size: 18px !important;
  line-height: 1.25;
  margin: 15.3px 0 !important;
}

.wiki h3 {
  font-size: 15px;
  margin: 12.75px 0;
}

.wiki h4, .wiki h5, .wiki h6 {
  font-size: 13px;
  margin: 11.05px 0;
}

  
    .controller-wiki div.attachments .delete, .controller-documents div.attachments .delete {
      margin-left: 20px;
    }
    
    a#attach_files_link {
      clear: both;
      float: left;
    }
    
    .controller-attachments.action-show .autoscroll {
      clear: both;
    }


h2 {
  font-size: 18px;
  }

h3 {
  font-size: 20px;
  color: #000;
}

#history h3 {
  padding: 0 0 0 20px;
  clear: both;
}

.controller-documents #content p em, .controller-my .mypage-box p em {
  font-size: 11px;
}

.controller-documents #content h4 + p, .controller-my .mypage-box h4 + p {
  margin: 0;
  color: #999;
}

.controller-documents .wiki, .controller-my .mypage-box .wiki {
  margin-bottom: 20px;
  padding-left: 5px;
}


/***** Typography *****/

#main {
  background: #ffffff; /* Old browsers */
  background: -moz-linear-gradient(top,  #fafafa 0%, #ffffff 5%, #ffffff 100%); /* FF3.6+ */
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fafafa), color-stop(5%,#ffffff), color-stop(100%,#ffffff)); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(top,  #fafafa 0%,#ffffff 5%,#ffffff 100%); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(top,  #fafafa 0%,#ffffff 5%,#ffffff 100%); /* Opera 11.10+ */
  background: -ms-linear-gradient(top,  #fafafa 0%,#ffffff 5%,#ffffff 100%); /* IE10+ */
  background: linear-gradient(to bottom,  #fafafa 0%,#ffffff 5%,#ffffff 100%); /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fafafa', endColorstr='#ffffff',GradientType=0 ); /* IE6-9 */
  padding: 16px 0 20px 5px;
}

/***** Forms, fields *****/

form {
  display: inline;
}

input, select {
  vertical-align: middle; 
  margin-top: 1px; 
  margin-bottom: 1px;
}

select {
  margin-right: 10px;
}

input {
  border: none;
  height: 30px;
  border-radius: 4px;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  padding: 0 10px;
  color: #555;
}

input[value="Create and continue"], input[name="continue"], input[type="submit"] { 
  background: #76d38a;
  -webkit-appearance: none;
}

#preview {
  margin-top: 10px;
}

input[value="Edit"] { 
  background: #df8b3b;
  border: 1px solid #df8b3b !important;
}

select#project_quick_jump_box {
 /* background: #fff url(../images/jump.png) no-repeat center right; */
  background: #fff;
  color: #666;
  border: 1px solid #ddd;
  height: 28px;
  width: 160px;
  margin: -3px 0 0 5px;
  padding-left: 10px;
  border-radius: 4px;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
}

fieldset {
  border: 1px solid #e6eaef; 
  margin:0;
}

legend {
  color: #484848;
}

hr {
  width: 100%; 
  height: 1px; 
  background: #ddd; 
  border: 0;
}

blockquote {
  font-style: italic;
  border-left: 3px solid #e0e0e0; 
  padding-left: 0.6em; 
  margin-left: 2.4em;
}

blockquote blockquote {
  margin-left: 0;
}

abbr  {
  border-bottom: 1px dotted;
  cursor: help;
}

input[type="text"], input[type="password"] {
  border: 1px solid #ddd;
  background: #fff;
  min-width: 110px;
  max-width: 360px;
  box-sizing: border-box;
}

/***** Forms, fields *****/


#issue-form fieldset {
  border: none;
  margin-top: 20px;
  border: none;
  max-width: 945px;
}

#issue-form #issue_subject, #issue-form #time_entry_comments {
  max-width: 360px;
}

#issue-form fieldset:first-child {
  margin-top: 0;
}

#issue-form .box {
  background: none;
  border: none;
  padding: 0;
}





#sidebar{ float: right; width: 22%; position: relative; z-index: 9; padding: 0; margin: 0;}
* html #sidebar{ width: 22%; }
#sidebar h3 {
  font-size: 14px; 
  margin-top:14px; 
  color: #666;
  padding-left: 0;
}
#sidebar hr{ width: 100%; margin: 0 auto; height: 1px; background: #ddd; border: 0; }
* html #sidebar hr{ width: 95%; position: relative; left: -6px; color: #ddd; }
#sidebar .contextual {
  margin: 5px 20px 0 0;
}
#sidebar #watchers .contextual a {
  background: none;
  padding-left: 20px;
  line-height: 20px;
}

/*Issue update / edit icon on the right*/

.contextual a.icon-edit {
  border-radius: 4px;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  color: #fff !important;
  padding: 5px 35px;
  text-transform: uppercase;
  border: 1px solid #df8b3b;
  line-height: 30px;
  background: #df8b3b; /* Old browsers */
  background: -moz-linear-gradient(top,  #ee9b4c 0%, #df8b3b 100%); /* FF3.6+ */
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ee9b4c), color-stop(100%,#df8b3b)); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(top,  #ee9b4c 0%,#df8b3b 100%); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(top,  #ee9b4c 0%,#df8b3b 100%); /* Opera 11.10+ */
  background: -ms-linear-gradient(top,  #ee9b4c 0%,#df8b3b 100%); /* IE10+ */
  background: linear-gradient(to bottom,  #ee9b4c 0%,#df8b3b 100%); /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ee9b4c', endColorstr='#df8b3b',GradientType=0 ); /* IE6-9 */
  
}

.contextual a.icon-edit:hover, input[value="Edit"]:hover {
    background: #df8b3b !important;
    border: 1px solid #c86e18 !important;
}

.contextual {
  position: relative;
}

#sidebar ul {margin: 0;  padding: 0;}
#sidebar ul li {
  list-style-type:none;
  margin: 10px 2px 10px 0px; 
  padding: 0px 0px 0px 0px;
}

#content {
  width: 75%; 
  margin: 0px; 
  border-right: 1px solid #e6eaef; 
  padding: 0px 10px; 
  z-index: 10;
  }
* html #content{ width: 75%; padding-left: 0; margin-top: 0px; padding: 6px 10px 10px 10px;}
html>body #content { min-height: 600px; }
* html body #content { height: 600px; } /* IE */

#main.nosidebar #sidebar{ display: none; }
#main.nosidebar #content{ width: auto; border-right: 0; }

#footer {
  clear: both; 
  display: block;
  border-top: 1px solid #eee; 
  font-size: 90%; 
  color: #aaa; 
  padding: 10px; 
  text-align: center; 
  background: #fff;}

div.modal { border-radius:5px; background:#fff; z-index:50; padding:4px;}
div.modal h3.title {display:none;}
div.modal p.buttons {text-align:right; margin-bottom:0;}

input#openid_url { background: url(../images/openid-bg.gif) no-repeat; background-color: #fff; background-position: 0 50%; padding-left: 18px; }

.clear:after{ content: "."; display: block; height: 0; clear: both; visibility: hidden; }

/***** Links *****/
a, a:link, a:visited{ color: #4aa3b3; text-decoration: none; }
a:hover, a:active{ color: #4aa3b3; text-decoration: underline;}
a img{ border: 0; }

a.issue.closed, a.issue.closed:link, a.issue.closed:visited { color: #999; text-decoration: line-through; }
a.project.closed, a.project.closed:link, a.project.closed:visited { color: #999; }
a.user.locked, a.user.locked:link, a.user.locked:visited {color: #999;}

#admin-menu a.selected, #admin-menu a:hover {
  color: #666;
  margin-left: 4px; 
  
}

#sidebar a.selected:hover {text-decoration:none;}
#admin-menu a {
  line-height: 28px;
}
#admin-menu a.selected {padding-left: 20px !important; background-position: 2px 40%;}

a.collapsible {padding-left: 12px; background: url(../images/arrow_expanded.png) no-repeat -3px 40%;}
a.collapsible.collapsed {background: url(../images/arrow_collapsed.png) no-repeat -5px 40%;}

a#toggle-completed-versions {color:#999;}


/***** Tables *****/
table.list {
  border: none;
  border-collapse: collapse;
  width: 100%; 
  margin-bottom: 4px;
}

#tab-content-versions, #tab-content-categories, #tab-content-activities {
  overflow: auto;
}

table.list th, table.list td {
  text-align: left;
  padding: 6px 0 6px 10px;
}

.mypage-box table.list td:first-child, .controller-issues table.list td:first-child{
  width: 16px;
  padding: 0 10px !important;
  text-align: center;
}

table.list tr.group td:first-child {
  text-align: left;
}


.controller-issues table.list td:first-child {
  width: 12px;
}

table.list th {background: none; white-space:nowrap; border-top: 1px solid #e6eaef; }

table.list tr {
  border-bottom: 1px solid #e6eaef !important;
}

/*
table.list tr.odd {
  background: #fafafa;
}
*/

.issue table.list tr {
  border: none !important;
}

.issue table.list.issues tr {
  border-bottom: none;
}

table.list.issues thead tr {
  border-bottom: none;
}
table.list td {
  line-height: 22px;
}
table.list td.id {
  padding: 0;
  text-align: center;
}

table.list td.id a {
  color: #555;
}

table.list td.tick {width:15%}
table.list td.checkbox input {
    margin: 0;
    padding: 0;
}
table.list td.checkbox input {padding:0px;}
table.list td.buttons { width: 15%; white-space:nowrap; text-align: right; }
table.list td.buttons a { padding-right: 0.6em; }
table.list td.reorder {width:15%; white-space:nowrap; }
table.list caption { text-align: left; padding: 0.5em 0.5em 0.5em 0; }
table.list th a, table.list th{
  color: #28303a;
  text-transform: uppercase;
}

table.list th.checkbox a img {
  display: none;
}

tr.project td.name a { white-space:nowrap; }
tr.project.closed, tr.project.archived { color: #aaa; }
tr.project.closed a, tr.project.archived a { color: #aaa; }

tr.project.idnt td.name span {background: url(../images/bullet_arrow_right.png) no-repeat 0 50%; padding-left: 16px;}
tr.project.idnt-1 td.name {padding-left: 0.5em;}
tr.project.idnt-2 td.name {padding-left: 2em;}
tr.project.idnt-3 td.name {padding-left: 3.5em;}
tr.project.idnt-4 td.name {padding-left: 5em;}
tr.project.idnt-5 td.name {padding-left: 6.5em;}
tr.project.idnt-6 td.name {padding-left: 8em;}
tr.project.idnt-7 td.name {padding-left: 9.5em;}
tr.project.idnt-8 td.name {padding-left: 11em;}
tr.project.idnt-9 td.name {padding-left: 12.5em;}

tr.issue, tr.issue td {white-space: nowrap;}
tr.issue td.subject, tr.issue td.category, td.assigned_to, tr.issue td.string, tr.issue td.text, tr.issue td.relations { white-space: normal; }
tr.issue td.subject {font-weight: normal;}
tr.issue td.relations { text-align: left; }
tr.issue td.done_ratio table.progress { margin-left:auto; margin-right: auto;}
tr.issue td.relations span {white-space: nowrap;}
table.issues td.description {
  color:#666; 
  font-size:13px; 
  padding:4px 4px 4px 24px; 
  text-align:left; 
  white-space:normal;
  line-height: 150%;
}

table.issues td.description .wiki {
  padding: 10px 0 10px 50px;
}
 
  
table.issues td.description pre {white-space:normal;}

tr.issue.idnt td.subject a {background: url(../images/bullet_arrow_right.png) no-repeat 0 50%; padding-left: 16px;}
tr.issue.idnt-1 td.subject {padding-left: 0.5em;}
tr.issue.idnt-2 td.subject {padding-left: 2em;}
tr.issue.idnt-3 td.subject {padding-left: 3.5em;}
tr.issue.idnt-4 td.subject {padding-left: 5em;}
tr.issue.idnt-5 td.subject {padding-left: 6.5em;}
tr.issue.idnt-6 td.subject {padding-left: 8em;}
tr.issue.idnt-7 td.subject {padding-left: 9.5em;}
tr.issue.idnt-8 td.subject {padding-left: 11em;}
tr.issue.idnt-9 td.subject {padding-left: 12.5em;}

table.issue-report {table-layout:fixed;}

tr.entry { border: 1px solid #f8f8f8; }
tr.entry td { white-space: nowrap; }
tr.entry td.filename {width:30%; text-align:left;}
tr.entry td.filename_no_report {width:70%; text-align:left;}
tr.entry td.size { text-align: right; font-size: 90%; }
tr.entry td.revision, tr.entry td.author { text-align: center; }
tr.entry td.age { text-align: right; }
tr.entry.file td.filename a { margin-left: 16px; }
tr.entry.file td.filename_no_report a { margin-left: 16px; }

tr span.expander {
  background: none; 
  padding: 10px; 
  margin-left: 0; 
  cursor: pointer;
}

tr.open span.expander {
  background: none;
}

tr.changeset { height: 20px }
tr.changeset ul, ol { margin-top: 0px; margin-bottom: 0px; }
tr.changeset td.revision_graph { width: 15%; background-color: #fffffb; }
tr.changeset td.author { text-align: center; width: 15%; white-space:nowrap;}
tr.changeset td.committed_on { text-align: center; width: 15%; white-space:nowrap;}

table.files tbody th {text-align:left;}
table.files tr.file td.filename { text-align: left; padding-left: 24px; }
table.files tr.file td.digest { font-size: 80%; }

table.members td.roles, table.memberships td.roles { width: 45%; }

tr.message { height: 2.6em; }
tr.message td.subject { padding-left: 20px; }
tr.message td.created_on { white-space: nowrap; }
tr.message td.last_message { font-size: 80%; white-space: nowrap; }
tr.message.locked td.subject { background: url(../images/locked.png) no-repeat 0 1px; }
tr.message.sticky td.subject { background: url(../images/bullet_go.png) no-repeat 0 1px; font-weight: bold; }

tr.version.closed, tr.version.closed a { color: #999; }
tr.version td.name { padding-left: 20px; }
tr.version.shared td.name { background: url(../images/link.png) no-repeat 0% 70%; }
tr.version td.date, tr.version td.status, tr.version td.sharing { text-align: center; white-space:nowrap; }

tr.user td {width:13%;white-space: nowrap;}
tr.user td.username, tr.user td.firstname, tr.user td.lastname, tr.user td.email {text-align:left;}
tr.user td.email { width:18%; }
tr.user.locked, tr.user.registered { color: #aaa; }
tr.user.locked a, tr.user.registered a { color: #aaa; }

table.permissions td.role {color:#999;font-size:90%;font-weight:normal !important;text-align:center;vertical-align:bottom;}


tr.time-entry { text-align: center; white-space: nowrap; }
tr.time-entry td.issue, tr.time-entry td.comments { text-align: left; white-space: normal; }
td.hours { text-align: right; font-weight: bold; padding-right: 0.5em; }
td.hours .hours-dec { font-size: 0.9em; }

table.plugins td { vertical-align: middle; }
table.plugins td.configure { text-align: right; padding-right: 1em; }
table.plugins span.name { font-weight: bold; display: block; margin-bottom: 6px; }
table.plugins span.description { display: block; font-size: 0.9em; }
table.plugins span.url { display: block; font-size: 0.9em; }

table.list tbody tr.group td {
  padding: 5px 0 !important; 
  font-weight: bold; 
  border-bottom: 1px solid #e6eaef; 
  text-align:left;
}
table.list tbody tr.group span.count {position:relative; top:-1px; color:#fff; font-size:10px; background:#9cccd5; padding:0px 6px 1px 6px; border-radius:3px; margin-left:4px;}
tr.group a.toggle-all { color: #aaa; font-size: 80%; font-weight: normal; display:none;}
tr.group:hover a.toggle-all { display:inline;}
a.toggle-all:hover {text-decoration:none;}

table.list tbody tr:hover { background-color: #f8f8f2; }
table.list tbody tr.group:hover { background-color:inherit; }
table td {padding:2px;}
table p {margin:0;}
.odd {background: none;}
.even {background: none;}

a.sort { padding-right: 16px; background-position: 100% 50%; background-repeat: no-repeat; }
a.sort.asc  { background-image: url(../images/sort_asc.png); }
a.sort.desc { background-image: url(../images/sort_desc.png); }

table.attributes {
  width: 100%;
}
table.attributes th { vertical-align: top; text-align: left; }
table.attributes td { vertical-align: top; }

table.boards td.last-message {text-align:left;font-size:80%;}

table.messages td.last_message {text-align:left;}

table.query-columns {
  border-collapse: collapse;
  border: 0;
}

table.query-columns td.buttons {
  vertical-align: middle;
  text-align: center;
}

td.center {text-align:center;}


#watchers select {width: 95%; display: block;}
#watchers a.delete {opacity: 0.4; vertical-align: middle;}
#watchers a.delete:hover {opacity: 1;}
#watchers img.gravatar {margin: 0 4px 2px 0;}

span#watchers_inputs {overflow:auto; display:block;}
span.search_for_watchers {display:block;}

span.add_attachment {
  font-size:80%;
  line-height:2.5em;
}

span.search_for_watchers a, span.add_attachment a {
  padding: 10px 0 10px 0; 
}

.highlight { background-color: #FCFD8D;}
.highlight.token-1 { background-color: #faa;}
.highlight.token-2 { background-color: #afa;}
.highlight.token-3 { background-color: #aaf;}

.box{
  padding:6px;
  margin-bottom: 10px;
  background-color:#fafafa;
  color:#505050;
  line-height:1.5em;
  border: 1px solid #e6eaef;
}

div.square {
  border: 1px solid #999;
  float: left;
  margin: .3em .4em 0 .4em;
  overflow: hidden;
  width: .6em; height: .6em;
}

.contextual {
  float:right; 
  white-space: nowrap; 
  line-height:1.4em;
  font-size: 13px;
  padding: 0;
}

#context-menu a.disabled, #context-menu a.disabled:hover {
  color: #ccc;
}

.next-prev-links {
  padding: 19px 10px;
}

div.journal .contextual {
  border: 1px solid #e7e7e7;
  margin: -20px -11px 0 0;
  padding: 4px 4px 4px 10px;
  border-bottom-left-radius: 4px;
  border-top-left-radius: 4px;
  -moz-border-radius-bottomleft: 4px;
  -moz-border-radius-topleft: 4px;
  -webkit-border-top-left-radius: 4px;
  -webkit-border-bottom-left-radius: 4px;
}

.contextual img {
    margin-right: 6px;
    width: 12px;
}

.contextual input, .contextual select {font-size:0.9em;}
.message .contextual { margin-top: 0; }

.splitcontent {
  overflow:auto;
  padding: 0 10px;
  box-sizing: border-box;
}

.splitcontentleft, .splitcontentright  {
  border: 1px solid #e6eaef;
  padding: 10px;
  box-sizing: border-box;
  margin-bottom: 10px;
  border-radius: 4px;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
   width:49%;
}

#update .splitcontentleft {
  padding-bottom: 4px;
  padding-top: 4px;
}

#update .splitcontentleft label, #update .splitcontentright label, 
#update .splitcontentleft input, #update .splitcontentright input {
  line-height: 30px;
}

#update .splitcontentleft select, #update .splitcontentright select {
  margin-top: 7px;
}

#tab-content-members .splitcontentleft, #tab-content-members .splitcontentright {
  border: none;
  padding: 0;
}

.controller-my .splitcontentleft, .controller-my .splitcontentright {
  width: 48%;
}

.splitcontentleft {
  float:left; 
}

.splitcontentright { 
  float:right; 
}

.controller-my .splitcontentleft, .controller-my .splitcontentright  {
  background: none;
  border: none;
  padding: 0;
}

.splitcontentleft .box, .splitcontentright .box {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
}


textarea.wiki-edit {width:99%; resize:vertical;}
li p {margin-top: 0;}

div.issue {
  margin: 0;
  padding: 0;
}

#update {
  padding-top: 20px;
}

#update .splitcontentright {
  min-height: 54px;
}

form#query_form {
  background: #f4f7f8;
  border: 1px solid #e6eaef;
  margin-bottom: 20px;
  display: block;
  padding: 10px 10px 0px 10px;
}

  form#query_form p.buttons {
    padding-left: 10px;
  }

.controller-issues div.issue {
  padding-bottom: 10px;
}

.cal div.issue {
  padding: 5px;
  background: #fafafa;
  border: 1px solid #e6eaef;
  margin: 6px 2px;
}

div.issue .author, div.issue table, div.issue #issue_tree, div.issue #relations, div.issue .attachments{
  padding-left: 30px;
  padding-right: 30px;
}

div.issue .description {
  padding: 20px;
  border: 1px solid #e6eaef;
}

div.issue div.attachments a.delete {
  margin-left: 20px;
}

div.issue div.attachments span.author {
  padding: 0;
}

div.issue .description > p {
  font-size: 21px;
  color: #000;
  letter-spacing: -0.04em;
  margin-bottom: 10px !important;
}

div.issue .description > p strong {
  font-weight: normal !important;
}


div.issue .wiki {
  font-size: 13px;
  line-height: 150%;
  margin-bottom: 10px;
  padding-left: 10px;
}

div.issue th {color: #222;}
p.breadcrumb { font-size: 0.9em; margin: 4px 0 4px 0;}
p.subtitle { font-size: 0.9em; margin: -6px 0 12px 0; font-style: italic; }
p.footnote { font-size: 0.9em; margin-top: 0px; margin-bottom: 0px; }

div.issue div.subject p {margin: 0; margin-bottom: 0.1em; font-size: 90%; color: #999;}
div.issue div.subject>div>p { margin-top: 0.5em; }


div.issue div.subject h3 {
  margin: 0; 
  font-size: 24px;
  color: #000;
  padding: 14px 0;
}

.child div.subject h3 {
  padding: 6px 0 12px 0 !important;
}



div.issue p.author {
  font-size: 12px;
  margin: 0;
  border-top: 1px solid #ddd;
  background: #f4f7f8;
  padding: 12px;
  border-left: 1px solid #e6eaef;
  border-right: 1px solid #e6eaef;
  border-bottom: 1px solid #e6eaef;
}

div.issue hr {
  display: none;
  margin: 0;
  padding: 0;
  height: 0;
}

#issue_tree {
  clear: both;
  margin-top: 20px;
}

div.issue .description p, #issue_tree p, #relations p {
  padding: 0;
  margin: 4px 0 0 0;
}

#issue_tree p, #relations p strong {
  color: #000;
}

#issue_tree p.percent {
  border: none;
  margin: 0;
  padding: 0;
}

#issue_tree  table.progress {
  margin-top: 10px;
}

div.issue .description div p, #issue_tree div p, #relations div p {
  border: none;
} 

.wiki > p {
  margin: 0 0 10px 0;
}

#projects-index .wiki > p {
  padding-left: 19px;
} 

div.issue span.private { position:relative; bottom: 2px; text-transform: uppercase; background: #d22; color: #fff; font-weight:bold; padding: 0px 2px 0px 2px; font-size: 60%; margin-right: 2px; border-radius: 2px;}

div.issue table.attributes {
  background: #f4f7f8;
  border-left: 1px solid #e6eaef;
  border-right: 1px solid #e6eaef;
  border-bottom: 1px solid #e6eaef;
  margin-bottom: 10px;
  padding-bottom: 20px;
  padding-top: 12px;
  font-size: 14px;
}
div.issue table.attributes th {width:22%;}
div.issue table.attributes td {width:28%;}


div.issue table.attributes th.status, div.issue table.attributes th.priority, div.issue table.attributes th.assigned-to, #update #attributes .splitcontent:first-child .splitcontentleft p:nth-child(1) label, #update #attributes .splitcontent:first-child .splitcontentleft p:nth-child(2) label, #update #attributes .splitcontent:first-child .splitcontentleft p:nth-child(3) label {
  color: #df4b3b;
}


#history {
  margin-top: 20px;
  padding-top: 20px;
  clear: both;
  border-top: 1px solid #e6eaef;
  background: #ffffff; /* Old browsers */
  background: -moz-linear-gradient(top,  #fafafa 0%, #ffffff 5%, #ffffff 100%); /* FF3.6+ */
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fafafa), color-stop(5%,#ffffff), color-stop(100%,#ffffff)); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(top,  #fafafa 0%,#ffffff 5%,#ffffff 100%); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(top,  #fafafa 0%,#ffffff 5%,#ffffff 100%); /* Opera 11.10+ */
  background: -ms-linear-gradient(top,  #fafafa 0%,#ffffff 5%,#ffffff 100%); /* IE10+ */
  background: linear-gradient(to bottom,  #fafafa 0%,#ffffff 5%,#ffffff 100%); /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fafafa', endColorstr='#ffffff',GradientType=0 ); /* IE6-9 */
  
}

#content h2 {
  font-size: 13px;
  margin: 0 0 15px 0;
  padding: 0;
}

#issue_tree table.issues, #relations table.issues { border: 0; }
#relations td.buttons {padding:0;}

fieldset.collapsible {
  border-width: 1px 0 0;
  font-size: 12px;
  margin-bottom: 10px;
}

fieldset.collapsible.collapsed {
  margin-bottom: 5px;
}

fieldset.collapsible>legend {
  background: none; 
  cursor:pointer; 
  padding-left: 7px;
}

fieldset.collapsible.collapsed>legend {
  background-image: none; 
}

fieldset.collapsible div {
  padding-left: 20px;
}

fieldset#date-range p { margin: 2px 0 2px 0; }
fieldset#filters table { border-collapse: collapse; }
fieldset#filters table td { padding: 0; vertical-align: middle; }
fieldset#filters tr.filter { height: 2.1em; }
fieldset#filters td.field { width:230px; }
fieldset#filters td.operator { width:180px; }
fieldset#filters td.operator select {max-width:170px;}
fieldset#filters td.values { white-space:nowrap; }
fieldset#filters td.values select {min-width:130px;}

fieldset#filters td.add-filter label, fieldset#filters td.add-filter select { 
  display: block;
  position: relative;
  top: -8px;
  clear: both;
}

.toggle-multiselect {
  background: none; 
  padding: 0 8px; 
  margin-left:0; 
  cursor:pointer;
}
.buttons { font-size: 0.9em; margin-bottom: 1.4em; margin-top: 1em; }

div#issue-changesets {float:right; width:45%; margin-left: 1em; margin-bottom: 1em; background: #fff; padding-left: 1em; font-size: 90%;}
div#issue-changesets div.changeset { padding: 4px;}
div#issue-changesets div.changeset { border-bottom: 1px solid #e6eaef; }
div#issue-changesets p { margin-top: 0; margin-bottom: 1em;}

.journal ul.details img {margin:0 0 -3px 4px;}

div.journal {
  background: #fff;
  border: 1px solid #e7e7e7;
  width: 91%;
  
/*  
  background: #f6fafb;
  border: 1px solid #dfecee;
*/

  padding: 10px;
  margin: 0 0 20px 40px;
}

div.journal, div.message {
  position: relative;
  border-radius: 4px;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
}

div.journal h4 {
  padding-bottom: 10px;
}

div.journal p {
  padding-left: 40px;
}


div.journal:before, div.message:before {
    border-color: transparent #e7e7e7;
    border-style: solid;
    border-width: 10px 5px 10px 0;
    content: "";
    display: block;
    left: -6px;
    position: absolute;
    top: 15px;
    width: 0;
    z-index: 0;
}

div.journal:after, div.message:after {
    border-color: transparent #ffffff;
    border-style: solid;
    border-width: 10px 5px 10px 0;
    content: "";
    display: block;
    left: -5px;
    position: absolute;
    top: 15px;
    width: 0;
    z-index: 1;
}

div.journal.private-notes:before, div.journal.private-notes:after {
    border-color: transparent #d22;
}


div.journal.private-notes {
  border-left: 2px solid #d22; 
}

div#activity dd, #search-results dd {
  margin: 10px 5px; 
  padding-left: 18px; 
  font-size: 0.9em; 
}
div#activity dt, #search-results dt { margin-bottom: 0px; padding-left: 20px; line-height: 18px; background-position: 0 50%; background-repeat: no-repeat; }
div#activity dt.me .time { border-bottom: 1px solid #999; }
div#activity dt .time { color: #777; font-size: 80%; }
div#activity dd .description, #search-results dd .description { font-style: italic; }
div#activity span.project:after, #search-results span.project:after { content: " -"; }
div#activity dd span.description, #search-results dd span.description { display:block; color: #808080; }
div#activity dt.grouped {margin-left:5em;}
div#activity dd.grouped {margin-left:9em;}

#search-results dd { margin-bottom: 1em; padding-left: 20px; margin-left:0px; }

div#search-results-counts {float:right;}
div#search-results-counts ul { margin-top: 0.5em; }
div#search-results-counts  li { list-style-type:none; float: left; margin-left: 1em; }

dt.issue-edit { background-image: none; }
dt.issue-closed { background-image: none; }
dt.issue-note { background-image: none; }
dt.changeset { background-image: none; }
dt.news { background-image: none; }
dt.message { background-image: none; }
dt.reply { background-image: none; }
dt.attachment { background-image: none; }
dt.document { background-image: none; }
dt.project { background-image: none; }
dt.time-entry { background-image: none; }

#search-results dt.issue.closed { background-image: none; }

div#roadmap .related-issues { margin-bottom: 1em; }
div#roadmap .related-issues td.checkbox { display: none; }
div#roadmap .wiki h1:first-child { display: none; }
div#roadmap .wiki h1 { font-size: 120%; }
div#roadmap .wiki h2 { font-size: 110%; }
body.controller-versions.action-show div#roadmap .related-issues {width:70%;}

div#version-summary { float:right; width:28%; margin-left: 16px; margin-bottom: 16px; background-color: #fff; }
div#version-summary fieldset { margin-bottom: 1em; }
div#version-summary fieldset.time-tracking table { width:100%; }
div#version-summary th, div#version-summary td.total-hours { text-align: right; }

table#time-report td.hours, table#time-report th.period, table#time-report th.total { text-align: right; padding-right: 0.5em; }
table#time-report tbody tr.subtotal { font-style: italic; color:#777;}
table#time-report tbody tr.subtotal td.hours { color:#b0b0b0; }
table#time-report tbody tr.total { font-weight: bold; background-color:#EEEEEE; border-top:1px solid #e4e4e4;}
table#time-report .hours-dec { font-size: 0.9em; }

div.wiki-page .contextual a {opacity: 0.4}
div.wiki-page .contextual a:hover {opacity: 1}

div.wiki-page {
  float: left;
  width: 100%;
  margin-top: 20px;
}

form#add_attachment_form {
  display: block;
  float: left;
  margin-top: 20px;
}

form .attributes select { width: 60%; }
input#issue_subject { width: 99%; }
select#issue_done_ratio { width: 95px; }

#projects-index {
  margin-top: 20px;
}

ul.projects {margin:0; padding-left:1em;}
ul.projects ul {padding-left:1.6em;}
ul.projects.root {margin:0; padding:0;}
ul.projects li {list-style-type:none;}

#projects-index ul.projects ul.projects {
  border-left: 3px solid #e0e0e0; 
  padding-left: 1em;
  margin-left: 1em;
}
#projects-index ul.projects li.root {
  padding: 10px 0;
  border-bottom: 1px solid #e6eaef;
}
#projects-index ul.projects li.child {margin-top: 1em;}

#projects-index ul.projects div.root a.project {
  font-size: 16px !important; 
  margin: 0 0 10px 0;
}

#projects-index ul.projects div.root .child a {
  font-size: 13px !important;
}

#notified-projects>ul, #tracker_project_ids>ul, #custom_field_project_ids>ul {max-height:250px; overflow-y:auto;}

#related-issues li img {vertical-align:middle;}

ul.properties {padding:0; font-size: 0.9em; color: #777;}
ul.properties li {list-style-type:none;}
ul.properties li span {font-style:italic;}

.total-hours {
  font-size: 110%; 
  font-weight: bold; 
}

.slide {
  display: none;
  color: #df4b3b;
  font-weight: bold;
}

.total-hours span.hours-int { font-size: 120%; }

.autoscroll {
  overflow-x: auto; 
  padding:1px; 
  margin-bottom: 1.2em;
}

#user_login, #user_firstname, #user_lastname, #user_mail, #my_account_form select, #user_form select, #user_identity_url { width: 90%; }

#workflow_copy_form select { width: 200px; }
table.transitions td.enabled {background: #bfb;}
table.fields_permissions select {font-size:90%}
table.fields_permissions td.readonly {background:#ddd;}
table.fields_permissions td.required {background:#d88;}

textarea#custom_field_possible_values {width: 99%}
textarea#custom_field_default_value {width: 99%}

input#content_comments {width: 99%}

p.pagination {margin-top:8px; font-size: 90%}

/***** Tabular forms ******/

.jstEditor textarea, .jstEditor iframe {
  border: 1px solid #ddd;
}


.tabular p{
  margin: 0;
  padding: 3px;
  min-height: 1.8em;
  clear:left;
}

.new_issue #all_attributes {
  display: block;
  min-height: 410px;
  background: #f4f7f8;
  border: 1px solid #e6eaef;
  padding: 10px;
}

#update #all_attributes {
  background: #f4f7f8;
  border: 1px solid #e6eaef;
  padding: 10px;
}

.new_issue #all_attributes p {
  width: 100%;
  float: none;
}

.new_issue #all_attributes p:first-child {
  width: auto;
}

#issue_description_and_toolbar {
  display: block;
  clear: both;
}

.new_issue #issue_description {
  min-height: 233px;
}

#issue_description_and_toolbar .jstElements {
  padding-bottom: 10px;
}

.jstElements, .cke {
  clear: both;
}

.edit_note .cke {
  clear: none;
}

.new_issue #attributes {
  width: 48%;
  float: left;
  margin: 16px 0 0 3px;
}

.new_issue #attributes p, .new_issue #attributes p:first-child {
  width: 100%;
}

.new_issue .splitcontentleft select, .new_issue .splitcontentright select {
  width: 112px;
}

.new_issue .splitcontentleft, .new_issue .splitcontentright {
  width: 48%;
  border: 1px solid #ddd;
  border-radius: 4px;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
}

.new_issue .splitcontentleft p:nth-child(4) img, .new_issue .splitcontentleft p:nth-child(5) img {
  display: none;
}

.new_issue .splitcontentleft p:nth-child(4) .fa, .new_issue .splitcontentleft p:nth-child(5) .fa {
  padding-left: 0px !important; 
} 

.new_issue .splitcontentleft p:nth-child(4) select, .new_issue .splitcontentleft p:nth-child(5) select {
  margin-right: 5px;
}

.new_issue .splitcontent {
  padding: 0;
}

.new_issue label[for=issue_status_id], .new_issue label[for=issue_priority_id] {
  color: #df4b3b;
}

.new_issue #attachments_form {
  border-bottom: 1px solid #e6eaef;
  margin-top: 10px;
  max-width: 500px;
  clear: both;
}

.new_issue #watchers_form input {
  height: auto;
  margin-top: 0;
}

.new_issue #watchers_form label, .new_issue #watchers_form span#watchers_inputs {
  padding: 0 0 11px 0;
}

.new_issue #watchers_form span label {
  padding: 0;
}

.new_issue span.search_for_watchers {
  border-top: 1px solid #e6eaef;
  max-width: 500px;
}

.new_issue #attachments_form, .new_issue #watchers_form, .new_issue span.search_for_watchers {
  padding: 10px 0;
}

.new_issue #attachments_form #attachments_fields span input {
  clear: both;
  display: block;
  width: auto;
}

.new_issue #attachments_form .file_selector {
  clear: both;
  display: block;
  padding-left: 5px;
  margin-top: 10px;
}

.new_issue #watchers_form span#watchers_inputs {
  max-width: 400px;
}


html>body .tabular p {overflow:hidden;}

.tabular label{
  font-weight: bold;
  float: left;
  width: 110px;
  vertical-align: middle;
}

.tabular label.floating{
  font-weight: normal;
  margin-left: 0px;
  text-align: left;
  width: 270px;
}

.tabular label.block{
  font-weight: normal;
  margin-left: 0px !important;
  text-align: left;
  float: none;
  display: block;
  width: auto;
  clear: both;
}

.tabular label.inline{
  font-weight: normal;
  float:none;
  margin-left: 5px !important;
  width: auto;
}

label.no-css {
  font-weight: inherit;
  float:none;
  text-align:left;
  margin-left:0px;
  width:auto;
}
input#time_entry_comments { width: 90%;}

#preview fieldset {margin-top: 1em; background: url(../images/draft.png)}

.tabular.settings textarea { width: 99%; }

.settings.enabled_scm table {width:100%}
.settings.enabled_scm td.scm_name{ font-weight: bold; }

fieldset.settings label { display: block; }
fieldset#notified_events .parent { padding-left: 20px; }

span.required {color: #df4b3b;}
.summary {font-style: italic;}

#attachments_fields input.description {margin-left:4px; width:340px;}
#attachments_fields span {display:block; white-space:nowrap;}
#attachments_fields input.filename {border:0; height:1.8em; width:250px; color:#555; background-color:inherit; background:url(../images/attachment.png) no-repeat 1px 50%; padding-left:18px;}
#attachments_fields .ajax-waiting input.filename {background:url(../images/hourglass.png) no-repeat 0px 50%;}
#attachments_fields .ajax-loading input.filename {background:url(../images/loading.gif) no-repeat 0px 50%;}
#attachments_fields div.ui-progressbar { width: 100px; height:14px; margin: 2px 0 -5px 8px; display: inline-block; }
a.remove-upload {
  background: none; 
  width: 1px; 
  display:inline-block; 
  padding: 0 8px 0 13px;
}

a.remove-upload:hover {text-decoration:none !important;}

div.fileover { background-color: lavender; }

div.attachments {
  margin: 10px 0 20px 0; 
  float: left;
}

#comments {
  clear: both;
}

  #comments p {
    padding-left: 35px;
  }

#wiki_add_attachment {
  float: none;
  clear: both;
  display: block;
}

div.attachments p { margin:4px 0 2px 0; }
div.attachments img { vertical-align: middle; }
div.attachments span.author { font-size: 0.9em; color: #888; }

div.thumbnails {margin-top:0.6em;}
div.thumbnails div {background:#fff;border:2px solid #e6eaef;display:inline-block;margin-right:2px;}
div.thumbnails img {margin: 3px;}

p.other-formats {
  text-align: right; 
  font-size: 11px;
  margin: 30px 0; 
  float: right;
  clear: both;
}

.other-formats span + span:before { content: "| "; }

a.atom { background: none; padding: 0 0 0 4px; }

em.info {font-style:normal;font-size:90%;color:#888;display:block;}
em.info.error {padding-left:20px; background: none;}

textarea.text_cf {width:90%;}

#tab-content-modules fieldset p {margin:3px 0 4px 0;}

#tab-content-members .splitcontentleft, #tab-content-memberships .splitcontentleft, #tab-content-users .splitcontentleft {width: 64%;}
#tab-content-members .splitcontentright, #tab-content-memberships .splitcontentright, #tab-content-users .splitcontentright {width: 34%;}
#tab-content-members fieldset, #tab-content-memberships fieldset, #tab-content-users fieldset {padding:1em; margin-bottom: 1em;}
#tab-content-members fieldset legend, #tab-content-memberships fieldset legend, #tab-content-users fieldset legend {font-weight: bold;}
#tab-content-members fieldset label, #tab-content-memberships fieldset label, #tab-content-users fieldset label {display: block;}
#tab-content-members #principals, #tab-content-users #principals {max-height: 400px; overflow: auto;}

#tab-content-memberships .splitcontentright select {width:90%}

#users_for_watcher {height: 200px; overflow:auto;}
#users_for_watcher label {display: block;}

table.members td.group { 
  background: none;
}

input#principal_search, input#user_search {width:90%}

input.autocomplete {
  background: #fff url(../images/magnifier.png) no-repeat 7px 50% !important;
  padding-left: 35px !important;
  width: 71px;
}
input.autocomplete.ajax-loading {
  background-image: url(../images/loading.gif);
}

ul.ui-autocomplete {
  box-shadow: 0px 5px 5px rgba(0, 0, 0, 0.5) !important;
}

.ui-menu .ui-menu-item a {
  font-size: 13px !important;
  line-height: 170% !important;
}

.ui-widget-content {
  background: #fff !important;
}

.role-visibility {padding-left:2em;}

/***** Flash & error messages ****/
#errorExplanation, div.flash, .nodata, .warning, .conflict {
  padding: 4px 4px 4px 30px;
  margin-bottom: 12px;
  border: 1px solid;
}

div.flash {
  margin-top: 8px;
  border-radius: 4px;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
}

div.flash.error, #errorExplanation {
  background: none;
  background-color: #f0bfba;
  border-color: #e3aca6;
  color: #981406;
}

div.flash.notice {
  background: none;
  background-color: #b0efbe;
  border-color: #9adfa9;
  color: #05731d;
}

div.flash.warning, .conflict {
  background: none;
  background-color: #f0bfba;
  border-color: #e3aca6;
  color: #981406;
  text-align: left;
}

.nodata, .warning {
  text-align: center;
  background-color: #f3e5c7;
  border-color: #e6d5b0;
  color: #A6750C;
}

#errorExplanation ul {
  font-size: 90%;
  padding-left: 0;
}

#errorExplanation li {
  list-style: none;
}

#errorExplanation h2, #errorExplanation p { display: none; }

.conflict-details {font-size:80%;}

/***** Ajax indicator ******/
#ajax-indicator {
position: absolute; /* fixed not supported by IE */
background-color:#eee;
border: 1px solid #bbb;
top:35%;
left:40%;
width:20%;
font-weight:bold;
text-align:center;
padding:0.6em;
z-index:100;
opacity: 0.5;
}

html>body #ajax-indicator { position: fixed; }

#ajax-indicator span {
background-position: 0% 40%;
background-repeat: no-repeat;
background-image: url(../images/loading.gif);
padding-left: 26px;
vertical-align: bottom;
}

/***** Calendar *****/
table.cal {border-collapse: collapse; width: 100%; margin: 0px 0 6px 0;border: 1px solid #d7d7d7;}
table.cal thead th {width: 14%; background-color:#EEEEEE; padding: 4px; }
table.cal thead th.week-number {width: auto;}
table.cal tbody tr {height: 100px;}
table.cal td {border: 1px solid #d7d7d7; vertical-align: top; font-size: 0.9em;}
table.cal td.week-number { background-color:#EEEEEE; padding: 4px; border:none; font-size: 1em;}
table.cal td p.day-num {font-size: 1.1em; text-align:right;}
table.cal td.odd p.day-num {color: #bbb;}
table.cal td.today {background:#f7fafb;}
table.cal td.today p.day-num {font-weight: bold;}
p.cal.legend span {display:block;}

/***** Tooltips ******/
.tooltip{
  position:relative;
  z-index:24;
  }
  
.tooltip:hover{
  z-index:25;
  }
  
.tooltip span.tip {
  display: none; 
  text-align:left;
  position: relative;
  background: #ffffff;
  border: 1px solid #e7e7e7;
}

.tooltip span:after, .tooltip span:before {
	bottom: 100%;
	left: 10%;
	border: solid transparent;
	content: " ";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
}

.tooltip span.tip:after {
	border-color: rgba(255, 255, 255, 0);
	border-bottom-color: #ffffff;
	border-width: 12px;
	margin-left: -12px;
}
.tooltip span.tip:before {
	border-color: rgba(231, 231, 231, 0);
	border-bottom-color: #e7e7e7;
	border-width: 14px;
	margin-left: -14px;
}

div.tooltip:hover span.tip {
  display:block;
  position:absolute;
  top: 25px; 
  left: 20px; 
  width:270px;
  border: 1px solid #e6eaef;
  background-color:#fff;
  padding: 10px;
  font-size: 11px;
  color:#666666;
  border-radius: 4px;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.2);
}

img.ui-datepicker-trigger {
  cursor: pointer;
  vertical-align: middle;
  margin-left: 4px;
}

/***** Progress bar *****/
table.progress {
  border-collapse: collapse;
  border-spacing: 0pt;
  empty-cells: show;
  text-align: center;
  float:left;
  margin: 1px 6px 1px 0px;
}

table.progress td {
  height: 10px;
  padding: 6px 0 6px 10px !important;
}

.controller-issues table.list .progress td:first-child {
  padding: 6px 0 6px 10px !important;
}

table.progress td.closed {
  background: #76d38a none repeat scroll 0% !important;
}

table.progress td.done {
  background: #76d38a none repeat scroll 0% !important;
}

table.progress td.todo {
  background: #d6dade none repeat scroll 0% !important;
}
p.progress-info {clear: left; font-size: 80%; margin-top:-4px; color:#777;}

#roadmap table.progress td { height: 1.2em; }
/***** Tabs *****/
#content .tabs {height: 2.6em; margin-bottom:1.2em; position:relative; overflow:hidden;}
#content .tabs ul {margin:0; position:absolute; bottom:0; padding-left:0.5em; width: 2000px; border-bottom: 1px solid #bbbbbb;}
#content .tabs ul li {
  float:left;
  list-style-type:none;
  white-space:nowrap;
  margin-right:4px;
  background:#fff;
  position:relative;
  margin-bottom:-1px;
}
#content .tabs ul li a{
  display:block;
  font-size: 12px;
  text-decoration:none;
  line-height:1.3em;
  padding: 6px 12px;
  border: 1px solid #e6eaef;
  border-bottom: 1px solid #bbbbbb;
  background-color: #f6f6f6;
  color:#999;
  font-weight:bold;
  border-top-left-radius:3px;
  border-top-right-radius:3px;
}

#content .tabs ul li a:hover {
  background-color: #f4f7f8;
  text-decoration:none;
}

#content .tabs ul li a.selected {
  background-color: #fff;
  border: 1px solid #bbbbbb;
  border-bottom: 1px solid #fff;
  color:#444;
}

#content .tabs ul li a.selected:hover {background-color: #fff;}

div.tabs-buttons { 
  position:absolute; 
  right: 0; 
  width: 61px; 
  height: 29px; 
  background: none; 
  bottom: 0; 
  border-bottom: 1px solid #bbbbbb; 
}

button.tab-left, button.tab-right {
  font-size: 0.9em;
  cursor: pointer;
  height: 30px;
  border: 1px solid #bbbbbb;
  box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.2);
  background: #;
  position:absolute;
  padding:4px;
  width: 30px;
  bottom: -1px;
}

button.tab-left {
  right: 31px;
  background: #ddd;
  border-top-left-radius:3px;
}

button.tab-right {
  right: 0;
  background: #ddd;
  border-top-right-radius:3px;
}

/***** Diff *****/
.diff_out { background: #fcc; }
.diff_out span { background: #faa; }
.diff_in { background: #cfc; }
.diff_in span { background: #afa; }

.text-diff {
  padding: 1em;
  background-color:#f6f6f6;
  color:#505050;
  border: 1px solid #e4e4e4;
}

/***** Wiki *****/
div.wiki table {
  border-collapse: collapse;
  margin-bottom: 1em;
}

div.wiki table, div.wiki td, div.wiki th {
  border: 1px solid #bbb;
  padding: 4px;
}

div.wiki .noborder, div.wiki .noborder td, div.wiki .noborder th {border:0;}

div.wiki .external {
  background-position: 0% 60%;
  background-repeat: no-repeat;
  padding-left: 12px;
  background-image: url(../images/external.png);
}

div.wiki a.new {color: #b73535;}

div.wiki ul, div.wiki ol {margin-bottom:1em;}

div.wiki pre {
  margin: 1em 1em 1em 1.6em;
  padding: 8px;
  background-color: #fafafa;
  border: 1px solid #e2e2e2;
  width:auto;
  overflow-x: auto;
  overflow-y: hidden;
}

div.wiki ul.toc {
  background-color: #f4f7f8;
  border: 1px solid #e4e4e4;
  padding: 4px;
  line-height: 1.2em;
  margin-bottom: 12px;
  margin-right: 12px;
  margin-left: 0;
  display: table
}
* html div.wiki ul.toc { width: 50%; } /* IE6 doesn't autosize div */

div.wiki ul.toc.right { float: right; margin-left: 12px; margin-right: 0; width: auto; }
div.wiki ul.toc.left  { float: left; margin-right: 12px; margin-left: 0; width: auto; }
div.wiki ul.toc ul { margin: 0; padding: 0; }
div.wiki ul.toc li {list-style-type:none; margin: 0; font-size:12px;}
div.wiki ul.toc li li {margin-left: 1.5em; font-size:10px;}
div.wiki ul.toc a {
  font-size: 0.9em;
  font-weight: normal;
  text-decoration: none;
  color: #606060;
}
div.wiki ul.toc a:hover { color: #c61a1a; text-decoration: underline;}

a.wiki-anchor { display: none; margin-left: 6px; text-decoration: none; }
a.wiki-anchor:hover { color: #aaa !important; text-decoration: none; }
h1:hover a.wiki-anchor, h2:hover a.wiki-anchor, h3:hover a.wiki-anchor { display: inline; color: #ddd; }

div.wiki img { vertical-align: middle; }

.controller-news .author {
  margin-bottom: 5px;
}

.controller-news .wiki {
  margin-bottom: 20px;
}

/***** My page layout *****/
.mypage-box {
  line-height: 1.5em;
}

.mypage-box h3 {
  font-size: 13px;
  margin-top: 40px;
}

.mypage-box h3 a {
  font-size: 20px;
  margin-right: 5px;
}

.controller-my.action-page_layout #list-top,
.controller-my.action-page_layout #list-left,
.controller-my.action-page_layout #list-right {
  border: 1px dashed #ccc;
  padding: 10px;
  box-sizing: border-box;
  margin: 0;
}

.controller-my.action-page_layout #list-top {
  margin-bottom: 20px !important;
}

.handle {cursor: move;}

a.close-icon {
  display:block;
  margin-top:3px;
  overflow:hidden;
  width:16px;
  height:16px;
  background-repeat: no-repeat;
  cursor:pointer;
  background-image:url('../images/close.png');
}
a.close-icon:hover {background-image:url('../images/close_hl.png');}

/***** Gantt chart *****/
.gantt_hdr {
  position:absolute;
  top:0;
  height:16px;
  border-top: 1px solid #c0c0c0;
  border-bottom: 1px solid #c0c0c0;
  border-right: 1px solid #c0c0c0;
  text-align: center;
  overflow: hidden;
}

.gantt_hdr.nwday {background-color:#f1f1f1;}

.gantt_subjects { font-size: 0.8em; }
.gantt_subjects div { line-height:16px;height:16px;overflow:hidden;white-space:nowrap;text-overflow: ellipsis; }

.task {
  position: absolute;
  height:8px;
  font-size:0.8em;
  color:#888;
  padding:0;
  margin:0;
  line-height:16px;
  white-space:nowrap;
}

.task.label {width:100%;}
.task.label.project, .task.label.version { font-weight: bold; }

.task_late { background:#f66 url(../images/task_late.png); border: 1px solid #f66; }
.task_done { background:#00c600 url(../images/task_done.png); border: 1px solid #00c600; }
.task_todo { background:#aaa url(../images/task_todo.png); border: 1px solid #aaa; }

.task_todo.parent { background: #888; border: 1px solid #888; height: 3px;}
.task_late.parent, .task_done.parent { height: 3px;}
.task.parent.marker.starting  { position: absolute; background: url(../images/task_parent_end.png) no-repeat 0 0; width: 8px; height: 16px; margin-left: -4px; left: 0px; top: -1px;}
.task.parent.marker.ending { position: absolute; background: url(../images/task_parent_end.png) no-repeat 0 0; width: 8px; height: 16px; margin-left: -4px; right: 0px; top: -1px;}

.version.task_late { background:#f66 url(../images/milestone_late.png); border: 1px solid #f66; height: 2px; margin-top: 3px;}
.version.task_done { background:#00c600 url(../images/milestone_done.png); border: 1px solid #00c600; height: 2px; margin-top: 3px;}
.version.task_todo { background:#fff url(../images/milestone_todo.png); border: 1px solid #fff; height: 2px; margin-top: 3px;}
.version.marker { background-image:url(../images/version_marker.png); background-repeat: no-repeat; border: 0; margin-left: -4px; margin-top: 1px; }

.project.task_late { background:#f66 url(../images/milestone_late.png); border: 1px solid #f66; height: 2px; margin-top: 3px;}
.project.task_done { background:#00c600 url(../images/milestone_done.png); border: 1px solid #00c600; height: 2px; margin-top: 3px;}
.project.task_todo { background:#fff url(../images/milestone_todo.png); border: 1px solid #fff; height: 2px; margin-top: 3px;}
.project.marker { background-image:url(../images/project_marker.png); background-repeat: no-repeat; border: 0; margin-left: -4px; margin-top: 1px; }

.version-behind-schedule a, .issue-behind-schedule a {color: #f66914;}
.version-overdue a, .issue-overdue a, .project-overdue a {color: #f00;}

/***** Icons *****/
.icon {
  background-position: 0% 50%;
  background-repeat: no-repeat;
  margin-right: 10px;
  padding: 2px 0 2px 20px;
}

.icon.fa {
  padding-left: 0;
}

.buttons .icon {
  margin-right: 20px;
}

.icon-add {
  line-height: 20px;
}

.icon-edit { background-image: none; }
.icon-copy { background-image: none; }
.icon-del { background-image: none; }
.icon-move { background-image: none; }
.icon-save { background-image: none; }
.icon-package { background-image: none; }
.icon-projects { background-image: none; }
.icon-attachment  { background-image: none; }
#main .icon-history  { background-image: none; }
.icon-time  { background-image: none; }
.icon-time-add  { background-image: none; }
.icon-warning  { background-image: none; }
.icon-fav  { background-image: none; }
.icon-fav-off  { background-image: none; }
.icon-reload  { background-image: none; }
#query_form .icon-reload  { background-image: none; }
.icon-lock  { background-image: none; }
.icon-unlock  { background-image: none; }
.icon-checked  { background-image: none; }
.icon-summary  { background-image: none; }
.icon-zoom-in { background-image: none; }
.icon-zoom-out { background-image: none; }
.icon-passwd { background-image: none; }
.icon-test { background-image: none; }
/*
.icon-duplicate { background-image: url(../images/duplicate.png); }
.icon-cancel { background-image: url(../images/cancel.png); }
.icon-multiple { background-image: url(../images/table_multiple.png); }
.open .icon-folder { background-image: url(../images/folder_open.png); }
#main .icon-user { background-image: url(../images/user.png); }
.icon-help { background-image: url(../images/help.png); }
.icon-stats  { background-image: url(../images/stats.png); }
.icon-details  { background-image: url(../images/zoom_in.png); }
.icon-report  { background-image: url(../images/report.png); }
.icon-comment  { background-image: url(../images/comment.png); }
.icon-server-authentication { background-image: url(../images/server_key.png); }
.icon-issue { background-image: url(../images/ticket.png); }
*/

.icon-file { background-image: none; }
.icon-file.text-plain { background-image: none; }
.icon-file.text-x-c { background-image: none; }
.icon-file.text-x-csharp { background-image: none; }
.icon-file.text-x-java { background-image: none; }
.icon-file.text-x-javascript { background-image: none; }
.icon-file.text-x-php { background-image: none; }
.icon-file.text-x-ruby { background-image: none; }
.icon-file.text-xml { background-image: none; }
.icon-file.text-css { background-image: none; }
.icon-file.text-html { background-image: none; }
.icon-file.image-gif { background-image: none; }
.icon-file.image-jpeg { background-image: none; }
.icon-file.image-png { background-image: none; }
.icon-file.image-tiff { background-image: none; }
.icon-file.application-pdf { background-image: none; }
.icon-file.application-zip { background-image: none; }
.icon-file.application-x-gzip { background-image: none; }


img.gravatar {
  padding: 0;
  border: solid 1px #d5d5d5;
  background: #fff;
  vertical-align: middle;
  border-radius: 40px;
  -moz-border-radius: 40px;
  -webkit-border-radius: 40px;
}

div.issue img.gravatar {
  float: left;
  margin: 15px 10px 5px 5px;
  padding: 0;
  width: 30px;
}

div.issue table img.gravatar {
  height: 14px;
  width: 14px;
  padding: 2px;
  float: left;
  margin: 0 0.5em 0 0;
}

.controller-projects.action-show #duplicates.box #duplicates {
  float: left;
}

.controller-projects.action-show #duplicates.box p.small {
  clear: both;
  margin-top: 20px;
  float: left;
}

h2 img.gravatar {margin: -2px 4px -4px 0;}
h3 img.gravatar {margin: -4px 4px -4px 0;}
h4 img.gravatar {margin: -6px 4px -4px 0;}
td.username img.gravatar {margin: 0 0.5em 0 0; vertical-align: top;}
#activity dt img.gravatar {float: left; margin: 0 1em 1em 0;}
/* Used on 12px Gravatar img tags without the icon background */
.icon-gravatar {float: left; margin-right: 4px;}

#activity dt, .journal {clear: left;}

.journal-link {float: right;}

h2 img { vertical-align:middle; }

.hascontextmenu { cursor: context-menu; }

/* Custom JQuery styles */
.ui-datepicker-title select {width:70px !important; margin-top:-2px !important; margin-right:4px !important;}


/************* CodeRay styles *************/
.syntaxhl div {display: inline;}
.syntaxhl .line-numbers {padding: 2px 4px 2px 4px; background-color: #eee; margin:0px 5px 0px 0px;}
.syntaxhl .code pre { overflow: auto }
.syntaxhl .debug { color: white !important; background: blue !important; }

.syntaxhl .annotation { color:#007 }
.syntaxhl .attribute-name { color:#b48 }
.syntaxhl .attribute-value { color:#700 }
.syntaxhl .binary { color:#509 }
.syntaxhl .char .content { color:#D20 }
.syntaxhl .char .delimiter { color:#710 }
.syntaxhl .char { color:#D20 }
.syntaxhl .class { color:#258; font-weight:bold }
.syntaxhl .class-variable { color:#369 }
.syntaxhl .color { color:#0A0 }
.syntaxhl .comment { color:#385 }
.syntaxhl .comment .char { color:#385 }
.syntaxhl .comment .delimiter { color:#385 }
.syntaxhl .complex { color:#A08 }
.syntaxhl .constant { color:#258; font-weight:bold }
.syntaxhl .decorator { color:#B0B }
.syntaxhl .definition { color:#099; font-weight:bold }
.syntaxhl .delimiter { color:black }
.syntaxhl .directive { color:#088; font-weight:bold }
.syntaxhl .doc { color:#970 }
.syntaxhl .doc-string { color:#D42; font-weight:bold }
.syntaxhl .doctype { color:#34b }
.syntaxhl .entity { color:#800; font-weight:bold }
.syntaxhl .error { color:#F00; background-color:#FAA }
.syntaxhl .escape  { color:#666 }
.syntaxhl .exception { color:#C00; font-weight:bold }
.syntaxhl .float { color:#06D }
.syntaxhl .function { color:#06B; font-weight:bold }
.syntaxhl .global-variable { color:#d70 }
.syntaxhl .hex { color:#02b }
.syntaxhl .imaginary { color:#f00 }
.syntaxhl .include { color:#B44; font-weight:bold }
.syntaxhl .inline { background-color: hsla(0,0%,0%,0.07); color: black }
.syntaxhl .inline-delimiter { font-weight: bold; color: #666 }
.syntaxhl .instance-variable { color:#33B }
.syntaxhl .integer  { color:#06D }
.syntaxhl .key .char { color: #60f }
.syntaxhl .key .delimiter { color: #404 }
.syntaxhl .key { color: #606 }
.syntaxhl .keyword { color:#939; font-weight:bold }
.syntaxhl .label { color:#970; font-weight:bold }
.syntaxhl .local-variable { color:#963 }
.syntaxhl .namespace { color:#707; font-weight:bold }
.syntaxhl .octal { color:#40E }
.syntaxhl .operator { }
.syntaxhl .predefined { color:#369; font-weight:bold }
.syntaxhl .predefined-constant { color:#069 }
.syntaxhl .predefined-type { color:#0a5; font-weight:bold }
.syntaxhl .preprocessor { color:#579 }
.syntaxhl .pseudo-class { color:#00C; font-weight:bold }
.syntaxhl .regexp .content { color:#808 }
.syntaxhl .regexp .delimiter { color:#404 }
.syntaxhl .regexp .modifier { color:#C2C }
.syntaxhl .regexp { background-color:hsla(300,100%,50%,0.06); }
.syntaxhl .reserved { color:#080; font-weight:bold }
.syntaxhl .shell .content { color:#2B2 }
.syntaxhl .shell .delimiter { color:#161 }
.syntaxhl .shell { background-color:hsla(120,100%,50%,0.06); }
.syntaxhl .string .char { color: #46a }
.syntaxhl .string .content { color: #46a }
.syntaxhl .string .delimiter { color: #46a }
.syntaxhl .string .modifier { color: #46a }
.syntaxhl .symbol .content { color:#d33 }
.syntaxhl .symbol .delimiter { color:#d33 }
.syntaxhl .symbol { color:#d33 }
.syntaxhl .tag { color:#070 }
.syntaxhl .type { color:#339; font-weight:bold }
.syntaxhl .value { color: #088; }
.syntaxhl .variable  { color:#037 }

.syntaxhl .insert { background: hsla(120,100%,50%,0.12) }
.syntaxhl .delete { background: hsla(0,100%,50%,0.12) }
.syntaxhl .change { color: #bbf; background: #007; }
.syntaxhl .head { color: #f8f; background: #505 }
.syntaxhl .head .filename { color: white; }

.syntaxhl .delete .eyecatcher { background-color: hsla(0,100%,50%,0.2); border: 1px solid hsla(0,100%,45%,0.5); margin: -1px; border-bottom: none; border-top-left-radius: 4px; border-top-right-radius: 4px; }
.syntaxhl .insert .eyecatcher { background-color: hsla(120,100%,50%,0.2); border: 1px solid hsla(120,100%,25%,0.5); margin: -1px; border-top: none; border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; }

.syntaxhl .insert .insert { color: #0c0; background:transparent; font-weight:bold }
.syntaxhl .delete .delete { color: #c00; background:transparent; font-weight:bold }
.syntaxhl .change .change { color: #88f }
.syntaxhl .head .head { color: #f4f }

/***** Media print specific styles *****/
@media print {
  #top-menu, #header, #main-menu, #sidebar, #footer, .contextual, .other-formats { display:none; }
  #main { background: #fff; }
  #content { width: 99%; margin: 0; padding: 0; border: 0; background: #fff; overflow: visible !important;}
  #wiki_add_attachment { display:none; }
  .hide-when-print { display: none; }
  .autoscroll {overflow-x: visible;}
  table.list {margin-top:0.5em;}
}

/* Accessibility specific styles */
.hidden-for-sighted {
  position:absolute;
  left:-10000px;
  top:auto;
  width:1px;
  height:1px;
  overflow:hidden;
}

/*Widget overlay*/

.ui-widget {
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 13px;
}

.ui-widget-overlay {
  background: url("images/bg.png") repeat scroll 50% 50% #243133;
  }
  
.ui-widget-header {
  background: #243133;
  border: none;
  font-weight: normal;
}

.controller-settings .tabular.settings label {
  width: 250px;
}

.controller-admin fieldset .icon-reload, .controller-users fieldset .icon-reload {
  margin-left: 10px;
}