/* Increase size of hide sidebar button so it is clickable when a scrollbar is on top */
#hide-sidebar, #sidebar-switch-panel {
  width: 30px;
}

/* Remove excessive dead space from left of comments */
.journal:not(.incoming){
  margin-left: 0px !important;
}


/* Make badge text more readable */
.badge{
  font-size: 95% !important;
}

/* Fix the administration menus to highlight selected tab  */
body:not(.theme-dark) .tabs:not(#main-menu):not(#main-menu2) li a.selected{
  background-color: #006ce5 !important;
  color: #fff !important;
}

/* Hide the pointless redmine footer */
div#footer {
  display:none;
}

/* Activity Feed - Move icon outside of time text */
#activity dt.icon::before {
  right: 0px !important;
}

/* Activity Feed - Move time text over to give room for icon */
#activity .time {
  right: 30px;
}

/* Fix search box top clipped */ 
#user_search {
  margin-top: 5px;
}


/* Fix project selector for custom fields  */
ul.projects {
  padding-left: 20px;
}
li.archived {
  color: #666;
  text-decoration: line-through;
}

/* New ticket message formatting from additionals plugin */
.new-ticket-message {
    border: 1px solid #000;
    background-color: #ffd;
}

/* Fix quote rendering */
blockquote {
    font-style: italic;
    border-left: 5px solid #ccc;
    background-color: #f4f4f4;
    padding-left: 10px;
    margin-left: 10px;
}

/* Table Stripes */
.even {
    filter: brightness(95%);
}

/* Table Selections */
#context .context-menu-selection {
    background-color: #fff4ab !important;
}

#content .context-menu-selection a, #content .context-menu-selection a:hover {
    color: #006ce5 !important;
}

/* Style the two "Gantt" buttons */
a.gantt::before {
    content: 'Redmine '
}

a.redmine-x-gantt::after {
    content: ' X';
    color: red;
    font-weight: bold;
    vertical-align: text-top;
}

/* Fix bold styling. Blockquoted text doesn't have a bold variant. Allow browser to make it */
b, strong, p strong, p b {
   font-synthesis: weight style !important;
}
