@import url(../../../stylesheets/application.css);
@import url(left_menu.css);

@font-face {
  font-family: Rubik;
  src: url(../fonts/Rubik/Rubik-VariableFont_wght.ttf);
}

html {
  overflow-y: auto;
}

/* Simple dark version 0.0.1 by AlphaNodes GmbH http://alphanodes.com */
#header {
  background: none repeat scroll 0 0 rgba(0, 0, 0, 0.7);
  background-position-y: 11%;
  font-size: 0;
  /* IE Fix */
}

#wrapper {
  /* background-image: url(../images/wallpapers/fall_lake.avif); */
  /* Enable and change this in order to set your own background image */
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
}

#header>h1 {
  background: url(../images/logo.png) no-repeat 10px 20%;
  padding: 5px 65px;
  /* Change this in order to set your own logo*/
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.8);
  font-size: 30px;
  font-family: Rubik;
  letter-spacing: 1px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  align-content: space-between;
  height: 38px;
}

#header h1 .breadcrumbs {
  font-size: .4em;
}

#header h1 .separator {
  display: none;
}

#header h1 .current-project {
  font-size: 20px;
  display: block;
}

#header>h1.linklogo {
  background: unset;
  padding: 0px 20px;
}

#header>a {
  float: left;
  margin-top: 7px;
  margin-left: 15px;
}

@media only screen and (-webkit-min-device-pixel-ratio: 2),
only screen and (min-device-pixel-ratio: 2) {
  #header>h1 {
    /* Reference the @2x Sprite */
    background-image: url(../images/logo-2x.png);
    /* Translate the @2x sprite's dimensions back to 1x */
    background-size: 43px 30px;
  }
}

h1,
h2,
h3,
h4 {
  font-family: "Lucida Grande", verdana, arial, helvetica, sans-serif;
}

body,
#wrapper {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

body {
  background-color: #000;
}

/* Search */
#quick-search {
  padding: 3px 5px;
  background: #000;
  border-radius: 5px;
  margin-top: 5px;
  font-size: 12px !important;
}

#quick-search select {
  background: #000;
  border: none;
  color: #fff;
  font-size: 13px;
}

#quick-search input[type="text"] {
  border-radius: 5px;
}

/* Top Menu area */
#top-menu {
  background: #34383c;
  padding: 12px 10px 7px 20px;
  background-image: url(../images/textures/prism.png);
  background-repeat: repeat;
}

#top-menu a {
  font-weight: bold;
}

#top-menu,
#top-menu a {
  font-size: 10px;
  text-transform: uppercase;
}

#top-menu a {
  color: #b3b6af;
  padding: 4px;
  text-decoration: none;
}

#top-menu a:hover {
  color: #fff;
  background: #000;
  border-radius: 3px;
}

/* Account area */
#account,
#loggedas {
  margin-right: 0px !important;
  color: #fff;
}

#account a,
#loggedas a {
  color: #fff !important;
  padding: 3px;
  background: none;
}

div.flash {
  border: 0px solid;
  border: 1px solid;
}

div#content>div.flash {
  border: 0px solid;
  padding: 9px 35px 10px;
  margin: -6px -10px 6px -10px;
  background-position-x: 12px !important;
  background-position-y: 9px !important;
}

div.filters h2 .scope_title a {
  color: #222 !important;
}

/****************/
/* content area */
/****************/
#main {
  background: none repeat scroll 0 0 rgba(255, 255, 255, 0.6);
}

/* Welcome area and Project overview */
body.controller-welcome .splitcontentleft li.project {
  padding: 5px;
  list-style: none;
}

body.controller-welcome .splitcontentleft div.projects ul {
  padding: 5px !important;
}

body.controller-welcome .splitcontentleft div.box,
body.controller-welcome .splitcontentright div.box {
  padding: 0px;
}

body.controller-welcome .splitcontentleft div.box p,
body.controller-welcome .splitcontentright div.box p {
  margin: 10px 20px;
}

body.controller-welcome .splitcontentleft div.box>a,
body.controller-welcome .splitcontentright div.box>a {
  margin: 10px;
  display: block;
}

body.controller-welcome .splitcontentleft div.box h2,
body.controller-welcome .splitcontentright div.box h3 {
  background-image: url(../images/bg-projectlist.png);
  background-position: right center;
  background-repeat: no-repeat;
  background-color: #f7f7f8;
  padding: 10px;
  border-bottom: 1px solid #dbdee0;
  font-size: 16px;
}

body.controller-projects div.box p {
  padding-left: 5px !important;
}

body.controller-projects div.box {
  padding: 10px;
}

body.controller-projects div.box h3 {
  border-bottom: 1px solid #dbdee0;
  background-color: #f7f7f8;
  padding: 8px 8px 8px 18px;
}

body.controller-projects div.box h3.icon-group {
  padding-left: 22px;
}

div#content>h2,
div#content h2.contacts_header,
div#content>div.filters h2,
div#content>#add-news>h2,
div#content>#add-message>h2,
div#content>.message.details>h2,
div#content>.board.details>h2,
div#content>#add-document>h2,
div#content div.wiki h1 {
  background: #ceefff;
  padding-top: 15px;
  padding-bottom: 15px;
  padding-right: 20px;
  padding-left: 20px;
  margin-top: -7px;
  margin-right: 0px;
  margin-bottom: 10px;
  margin-left: -10px;
  border-top: 1px solid #dbdee0;
  border-bottom: 1px solid #dbdee0;
}

body.sand div#content>h2 {
  background: #fff4ce;
}

h2 img.gravatar {
  margin-bottom: -8px;
}

h2 img.gravatar,
h3 img.gravatar {
  margin-right: 5px;
  margin-top: -2px;
}

#add-news,
#add-message,
#add-document {
  margin-bottom: 20px;
}

div#activity>h3 {
  background-color: unset;
}

div#activity dl,
#search-results {
  background: #ffffffba;
  padding: 2em;
}

article.news-article {
  background: #ffffffba;
  padding: 2em;
  margin: 10px 0;
}

div#content h2.contacts_header {
  padding-bottom: 10px;
  /*	white-space: nowrap;*/
}

#main div.contact.details {
  background: #e1e1f3 !important;
}

/* Project index */
#projects-index ul.projects {
  /* border: 1px solid #dbdee0;
  background: #fff; */
  display: flex;
  flex-wrap: wrap;
  align-content: space-between;
  align-items: flex-start;
  justify-content: flex-start;
}

#projects-index ul.projects li.root .root {
  padding: 10px 20px;
}

#projects-index a.icon-user,
a.icon-bookmarked-project {
  background-position: 100% 50%;
}

#projects-index ul.projects li.root {
  /* border-bottom: 1px solid #dbdee0;
  margin-bottom: 0px !important;
  padding: 15px 0px; */
  background: #fff;
}

#projects-index ul.projects li.child {
  margin-top: 1em;
  margin-bottom: 1em;
  margin-left: 2em;
}

#projects-index ul.projects li.root:hover {
  background-image: url(../images/bg-projectlist.png);
  background-position: right center;
  background-repeat: no-repeat;
  background-color: #f7f7f8;
  border-left: 1px solid #36a9e1;
  margin-left: -1px;
}

#projects-index ul.projects ul.projects {
  border: none;
  background: none;
  margin-left: 20px;
  margin-right: 20px;
}

/* Breadcrumb */
p.breadcrumb {
  margin-left: 12px !important;
  margin-top: -5px !important;
  position: absolute;
}

div#content>div.contextual {
  background: #f7f7f8;
  border-left: 1px solid #dbdee0;
  border-bottom: 1px solid #dbdee0;
  border-top: 1px solid #dbdee0;
}

.contextual .drdn-content {
  right: 0px;
  /* top: -54px; */
}

div#content>div.contextual a {
  display: inline-block;
  padding: 10px 18px 7px 24px;
}

.drdn-items>a.icon {
  margin-bottom: -5px;
}

#roadmap {
  margin: 10px;
}

p.subtitle {
  margin: 0px 0 12px 0;
}

.contextual a,
.contextual a:link,
.contextual a:visited {
  color: #888;
}

.contextual a:hover,
.contextual a:visited:hover {
  color: #333;
}

div.filters h2 .scope_title a {
  color: #222;
  text-decoration: none;
}

h2,
.wiki h1 {
  color: #222;
}

h3,
.wiki h2 {
  color: #222;
}

#main-menu li a {
  background-color: transparent;
}

#main-menu li a.selected,
#main-menu li a.selected:hover {
  background-color: #eeeeee;
  color: #222;
}

#main-menu li a:hover {
  background-color: transparent;
}

div#welcome-store-content h1,
div#welcome-store-content h2,
div#welcome-store-content h3,
div#welcome-store-content h4 {
  color: #222;
}

#content,
#main.nosidebar #content {
  background: none repeat scroll 0 0 rgba(255, 255, 255, 0.75);
  border: 1px solid #dbdee0;
}

a,
a:link,
a:visited {
  color: #005782;
}

div.details {
  background: #ffd;
  padding: 20px;
  margin-bottom: 6px;
  border: 1px solid #d7d7d7;
  margin: -11px -11px 15px -11px;
}

/* Ticket details */
#content div.issue {
  background: #fff !important;
}

div#tab-content-history.tab-content {
  background: #ffffffba;
  padding-top: 15px;
}

#history div.journal {
  margin: 10px;
}

#history div.journal:not(:first-child) {
  border-top: 1px solid #000;
}

#history {
  margin-bottom: 10px;
}

table.progress td.closed {
  background: none repeat scroll 0 center #78cd51;
}

div.journal .details {
  border: none !important;
}

div.journal .details:hover {
  background: #c4dce7 !important;
}

div.issue.tooltip {
  padding: 6px;
  margin: 0 0 6px 0;
}

div.ui-tooltip {
  color: #505050;
}

div.contact.details,
div.deal.details {
  padding: 15px !important;
  margin: -11px -11px 6px;
}

#sidebar h3 {
  color: #222;
}

#footer {
  background: none repeat scroll 0 0 rgba(0, 0, 0, 0.7);
  border: none;
}

#footer,
#footer a {
  padding: 8px 0px;
}

a,
a:link,
a:visited {
  color: #3a8eb8;
}

span.footernote::before {
  content: "|";
  margin: 0 1ch;
}

/* Fix leading space on redmine credits */
#footer .footernote:first-of-type:before {
  margin-left: 3px;
}

/* Headers */
h2,
h3,
h4,
.wiki h1,
.wiki h2,
.wiki h3 {
  border-bottom: 0px;
}

.wiki h1 {
  color: #222 !important;
}

/* Priorities */
tr.odd.priority-4 td.priority,
tr.even.priority-4 td.priority {
  color: #e84c8a;
  font-weight: bold;
}

tr.odd.priority-5 td.priority,
tr.even.priority-5 td.priority,
tr.odd.priority-3 td.priority,
tr.even.priority-3 td.priority {
  font-weight: bold;
}

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

/*Immediately*/
tr.odd.priority-7,
table.list tbody tr.odd.priority-7:hover {
  color: #900;
  font-weight: bold;
}

tr.odd.priority-7 {
  background: #ffc4c4;
}

tr.even.priority-7,
table.list tbody tr.even.priority-7:hover {
  color: #900;
  font-weight: bold;
}

tr.even.priority-7 {
  background: #ffd4d4;
}

tr.priority-7 a,
tr.priority-7:hover a {
  color: #900;
}

tr.odd.priority-7 td,
tr.even.priority-7 td {
  border-color: #ffb4b4;
}

/*High*/
tr.odd.priority-5,
table.list tbody tr.odd.priority-5:hover {
  color: #222;
}

tr.odd.priority-5 {
  background: #fa603d;
  color: #fff;
}

tr.even.priority-5,
table.list tbody tr.even.priority-5:hover {
  color: #000;
}

tr.even.priority-5 {
  background: #ffd4d4;
}

tr.priority-5 a {
  color: #000;
}

tr.odd.priority-5 td,
tr.even.priority-5 td {
  border-color: #ffb4b4;
}

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

tr.odd.priority-3 {
  background: #eaf7ff;
}

tr.even.priority-3,
table.list tbody tr.even.priority-3:hover {
  color: #559;
}

tr.even.priority-3 {
  background: #f2faff;
}

tr.priority-3 a {
  color: #559;
}

tr.odd.priority-3 td,
tr.even.priority-3 td {
  border-color: #add7f3;
}

/*General*/
table.list tbody td,
table.list tbody tr:hover td {
  border: solid 1px #d7d7d7;
}

table.list thead th {
  border-width: 1px;
  border-style: solid;
  border-top-color: #d7d7d7;
  border-right-color: #d7d7d7;
  border-left-color: #d7d7d7;
  border-bottom-color: #d7d7d7;
}

table.list tbody td,
table.list thead th {
  padding: 5px;
}

/* Fields */
input[type="text"],
input[type="password"],
textarea,
select {
  padding: 2px;
  border: 1px solid #d7d7d7;
}

select {
  font-family: 'Rubik';
  padding-right: 20px;
  padding-left: 5px;
}

input[type="text"],
input[type="password"] {
  padding: 3px;
}

input[type="text"]:focus,
input[type="password"]:focus,
textarea:focus,
select:focus {
  border: 1px solid #888866;
}

option {
  border-bottom: 1px solid #444;
  padding: 3px;
}

/* Calendar */
table.cal td p.day-num {
  padding-right: 2px;
}

table.cal td.week-number {
  background-color: #d8d8d8;
  padding: 6px;
}

table.cal thead th {
  background-color: #d8d8d8;
}

/* Button styles */
input[type="submit"] {
  background: none repeat scroll 0 0 #36a9e1;
  color: #fff;
  border-radius: 5px;
  display: inline-block;
  font-size: 14px;
  cursor: pointer;
  border: none;
  height: 35px;
  min-width: 120px;
  vertical-align: top;
  transition: background 100ms linear;
}

input[type="submit"]:hover {
  background: #58c3f7;
}

input[type="submit"].small {
  height: 24px;
  width: 65px;
  border-radius: 3px;
}

/* Be cooler if this link had a class */
/* Note that the quotes in the onclick= must exactly match the html elems */
form.edit_issue a[onclick="$('#update').hide(); return false;"],
form.new_news a[onclick='$("#add-news").hide()'],
#wiki_form>p>a[href*="/wiki/"] {
  background: none repeat scroll 0 0 #ff0000;
  color: #fff;
  border-radius: 5px;
  display: inline-block;
  font-size: 14px;
  cursor: pointer;
  border: none;
  padding: 10px 24px;
  vertical-align: top;
  transition: background 100ms linear;
}

form.edit_issue a[onclick="$('#update').hide(); return false;"]:hover,
#wiki_form>p>a[href*="/wiki/"]:hover {
  background: none repeat scroll 0 0 #fb3c3c;
  text-decoration: none;
}

/* Pagination */
.pagination ul.pages li a,
.pagination ul.pages li span {
  padding: 5px 15px;
}

.pagination ul.pages li {
  padding: 3px;
  border: 1px solid #999;
}

ul.pages {
  font-family: Rubik;
}

ul.pages .page {
  background: whitesmoke;
}

span.pagination {
  color: #333;
}

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

.box.autoscroll {
  padding-left: 6px;
}

#admin-index #admin-menu ul {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: space-between;
  justify-content: space-around;
  align-items: flex-start;
}

#admin-index #admin-menu ul li {
  display: block;
  border: 1px solid #ddd;
  background: white;
  width: 49%;
  text-align: center;
  font-size: x-large;
  padding: 0;
  margin: 1px;
}

#admin-index #admin-menu ul li a {
  line-height: 2em;
  background-size: auto 80%;
  padding-left: 30px;
}

/* Wiki page */
.wiki-page {
  background: #fcfcfc;
  padding: 2em;
  margin-bottom: 22px;
}

.note .wiki {
  /* less padding on ticket notes */
  padding: 7px 0;
}

.wiki img {
  max-width: 100%;
}

.wiki table img {
  /*width: 100%;*/
}

#wrapper2 {
  /*	margin: 0pt auto;
position: relative;
width: 970px;	 */
}

div.journal .details {
  border: 1px solid white;
}

div.journal .details:hover {
  background: #ffd;
  border: 1px solid #d7d7d7;
}

div.journal>div {
  margin-top: 10px;
}

/*.journal h4 {
	padding: 5px 10px 5px 10px;
	background: #EEE;
	border: 1px solid #D7D7D7;
}*/
#context-menu,
#context-menu ul li ul {
  -webkit-box-shadow: 0 0 3px #ccc;
  -moz-box-shadow: 0 0 3px #ccc;
  box-shadow: 0 0 3px #ccc;
}

#context-menu li:hover {
  border: 1px solid #eee !important;
  background-color: #eee;
}

#context-menu ul {
  border-top: 1px solid #ddd;
  border-left: 1px solid #ddd;
  border-bottom: 1px solid #ddd !important;
  border-right: 1px solid #ddd !important;
}

#sidebar a.selected {
  background-color: transparent;
  color: gray;
  font-weight: bold;
}

.controller-timelog.action-index div#content .contextual {
  margin-top: 45px;
}

.controller-timelog.action-report div#content .contextual {
  margin-top: 45px;
}

.controller-time_entry_reports.action-report div#content .contextual {
  margin-top: 45px;
}

div#content .tabs {
  margin-bottom: 0;
}

#content .tabs ul li a {
  border-radius: 0px;
  -webkit-border-radius: 0px;
  -moz-border-radius: 0px;
}

/* Modal form*/
div.modal h3.title {
  font: bold 100% "Lucida Grande", Arial, sans-serif;
  text-shadow: white 0 1px 0;
  text-align: left;
  padding: 6px;
  background-color: #f1f5fa;
  border-bottom: 1px solid #ccc;
  color: black;
}

div.modal {
  -webkit-border-radius: 0px;
  -moz-border-radius: 0px;
  border-radius: 0px;
  overflow: visible;
  background-color: white;
  color: black;
  -webkit-box-shadow: 0 0 3px #ccc;
  -moz-box-shadow: 0 0 3px #ccc;
  box-shadow: 0 0 3px #ccc;
  border: 1px solid #d7d7d7;
}

#modalbg {
  background: black;
  opacity: 0.4;
}

/* Login form */
body.action-login #content,
body.action-login #main.nosidebar #content {
  background: inherit;
  border: 0px;
  box-shadow: none;
}

body.action-login #login-form table {
  padding: 3em;
  background: none repeat scroll 0 0 rgba(255, 255, 255, 0.7);
  border: none;
}

#login-form input#username,
#login-form input#password {
  outline: none;
  margin: 0px;
  border: 1px solid #ddd;
  padding: 6px;
  font-size: 140%;
}

.controller-account.action-login div.flash {
  -webkit-box-shadow: 0 0 3px #ccc;
  -moz-box-shadow: 0 0 3px #ccc;
  box-shadow: 0 0 3px #ccc;
  border: 1px solid #d7d7d7 !important;
}

body.action-login #main {
  margin-left: 0;
  background: none;
}

.login-tweaks {
  width: 455px;
  margin-left: auto;
  margin-right: auto;
  padding: 3em;
  background: none repeat scroll 0 0 rgba(255, 255, 255, 0.7);
}

/* Messages */
#errorExplanation,
.nodata,
.warning {
  border: 1px solid;
}

.nodata,
.warning {
  background-color: #ff5454;
  color: #fff;
  font-weight: bold;
  text-align: center;
}

div.flash.error,
#errorExplanation {
  background: #e84c8a;
  border-color: #e84c8a;
  color: #fff;
}

div.flash.notice {
  background: url(/images/true.png) no-repeat scroll 8px 5px #78cd51;
  border-color: #9fcf9f;
  color: #fff;
}

/* Gantt */
.gantt_hdr {
  background: #fff;
}

/*Contacts*/
span.tag-label-color {
  color: white;
  text-shadow: 0 -1px 1px rgba(0, 0, 0, 0.25);
  font-size: 9px !important;
  line-height: 1 !important;
  margin: 2px 0px 2px 0px;
  text-decoration: none;
  display: inline-block;
  position: relative;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  -moz-border-radius: 0px !important;
  -webkit-border-radius: 0px !important;
  border-radius: 0px !important;
  padding: 4px 6px 4px !important;
  background: url(../images/dark-overlay.png) repeat-x scroll 0 0;
  border: 1px solid rgba(0, 0, 0, 0.2);
}

span.tag-label-color {
  background-color: #96cbff;
}

span.tag-label-color:hover {
  background-color: #77ade2;
}

span.tag-label-color a,
span.tag-label-color span {
  font-weight: bold !important;
  font-family: "Lucida Grande", verdana, arial, helvetica, sans-serif !important;
}

span.tag-label-color:hover a {
  color: black;
  text-shadow: none;
}

input.autocomplete {
  border-radius: initial;
  height: initial;
}

/*******************/
/* 		STORE
/*******************/
div#main-menu li a.products {
  background: #f4786a !important;
  text-shadow: none;
}

div#main-menu li a.products.selected {
  background-color: #e5e3de !important;
  color: #222;
}

#picture {
  width: 446px !important;
  top: 7px;
}

#title h2,
#buttons,
#title h1 {
  min-width: 550px !important;
}

/*******************/
/* 		Redmine Q&A
/*******************/
.controller-messages.action-show .message.details {
  background: #fafdff;
  /*padding: 20px;*/
  /*border: inherit;*/
}

div#content>.message.details>h2,
div#content>.board.details>h2 {
  margin: -12px -20px 10px;
}

.board.details,
.message.details {
  padding-top: 11px;
}

div.message.reply {
  border-top: 1px solid #ddd;
  padding-top: 10px;
}

#topics_list,
#forum_list,
.controller-boards #content>.filters,
.action-topics #content>.filters,
.controller-questions.action-index #content>.filters {
  padding-left: 15px;
}

#topics_container .topic {
  border-bottom: 1px solid #ddd;
  padding-bottom: 30px;
}

#topics_container {
  border-bottom: none;
}

/*******************/
/* 		jQuery UI
/*******************/
.ui-widget {
  font-family: inherit;
  font-size: inherit;
}

.ui-widget-header {
  font: bold 100% "Lucida Grande", Arial, sans-serif;
  text-shadow: white 0 1px 0;
  text-align: left;
  padding: 6px;
  background: #f1f5fa;
  border: 1px solid #ccc;
  border-radius: 0px;
  color: black;
}

div.modal div.ui-dialog-titlebar {
  margin: -5px;
  margin-bottom: 10px;
}

.ui-widget-content {
  background: white;
}

.ui-state-default,
.ui-widget-content .ui-state-default,
.ui-widget-header .ui-state-default {
  background: #fcfcfc;
  font-weight: bold;
  color: inherit;
}

button.ui-corner-all {
  border-radius: 0px;
}

.ui-dialog .ui-dialog-title {
  float: left;
  font-size: 14px;
  padding: 2px 10px 1px 0px;
  color: #444;
}

.ui-widget input,
.ui-widget select,
.ui-widget textarea,
.ui-widget button {
  font-family: inherit;
  font-size: inherit;
}

span.js-project-menu>ul>li>a.selected {
  background: #3a8eb8;
}

/************************
* Responsive CSS Rules  *
************************/
@media screen and (max-width: 899px) {
  #main {
    margin-left: 20px;
    margin-right: 20px;
  }

  #project-jump .drdn-trigger:before {
    top: 5px;
  }

  div#header {
    background: #34383c;
    background-image: url(../images/textures/prism.png);
    background-repeat: repeat;
  }

  #header>a {
    float: right;
    margin-top: 0px;
    margin-left: 15px;
  }

  #header>a>img {
    height: 62px;
    padding: 10px 0;
    margin-right: -20px;
  }
}

@media all and (max-width: 599px) {
  #main {
    margin-left: 5px;
    margin-right: 5px;
  }
}