:root {
  --primary-color: #2b68c9;
  --table-border-color: #555;
}

@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  font-stretch: 100%;
  src: url(Roboto-Regular.ttf) format('truetype');
}

html, body {
  background: #000;
  color: #fff;
  font-size: 16px;
  overflow: hidden;
}

* {
  font-family: 'Roboto', sans-serif;
}

#sidebar {
  padding: 0;
  background: #111;
  border: none;
}

.gutter {
  background-color: #222;
}

#navigation {
  border-color: #777;
}

#navigation li span {
  display: block;
  height: auto;
  line-height: 30px;
  color: var(--primary-color);
}

#navigation li span a {
  color: #fff;
}

#navigation li span + input:checked + ul {
  padding-left: 30px;
  margin-left: 0px;
}

#content {
  overflow-y: auto;
}

.wiki-content .cell {
  padding: 0;
}

hr {
  height: 1px;
  background: #777;
  border: none;
}

h1 {
  color: #fff;
  line-height: 48px;
  margin: 0 !important;
}

h2, h3, h4, h5 {
  display: flex;
  flex-direction: row;
  align-items: center;
  color: var(--primary-color);
  margin: 10px 0 0 0;
}

h2 span, h3 span, h4 span, h5 span {
  display: flex;
  margin-right: 10px;
}

a {
  color: var(--primary-color);
}

#search form {
  display: flex;
  flex-direction: row;
  align-items: center;
}

form.aui input {
  background: transparent;
  appearance: none;
  outline: none;
}

form.aui .text {
  display: flex;
  flex: 1;
  max-width: none;
  margin-right: 10px;
  color: #fff;
  background: #222;
  border: none;
  border-bottom: 1px solid #777;
  border-radius: 0;
  box-shadow: none;
}

form.aui .button {
  padding: 0 20px;
  color: #fff;
  background: var(--primary-color);
  border: none;
  border-radius: 0;
}

table.confluenceTable {
  width: 100%;
  border-collapse: unset;
  border: 1px solid var(--table-border-color) !important;
  border-style: solid solid none none !important;
}

table tbody {
  color: #fff !important;
}

table tr:nth-child(odd) {
  background-color: #111;
}

table th {
  background-color: #333 !important;
  border-color: var(--table-border-color) !important;
  border-style: none none solid solid !important;
}

table th h3 {
  color: #fff;
  margin: 0;
}

table th p {
  display: flex;
  align-items: center;
  background-color: #333 !important;
}

table th a {
  color: #fff !important;
}

table th .confluence-embedded-file-wrapper {
  display: none;
}

table td {
  line-height: 20px;
  border: 1px solid var(--table-border-color) !important;
  border-style: none none solid solid !important;
}

table td h3 {
  margin: 0;
}

table td span {
  color: #fff !important;
}

table td p strong,
table td p.break-words {
  display: flex;
  align-items: center;
}

table td p strong > .confluence-embedded-file-wrapper,
table td p.break-words strong > .confluence-embedded-file-wrapper {
  display: flex;
  margin-right: 5px;
}

p em strong {
  display: block;
  text-align: center;
}

svg {
  background-color: #fff;
}

.columnLayout.two-equal .cell,
.columnLayout.two-left-sidebar .cell,
.columnLayout.two-right-sidebar .cell {
  display: block;
  width: auto !important;
}

.code,
.aui-message.hint,
pre code {
  display: block;
  padding: 10px;
  margin: 10px 0;
  background: #222;
  color: #fff;
  border: 1px solid var(--table-border-color);
}

.confluence-information-macro-tip,
.confluence-information-macro-information {
  margin: 10px 0;
  background: #222;
  color: #fff;
  border: 1px solid var(--table-border-color);
}

pre {
  font-family: 'Courier New', Courier, monospace;
  font-size: 12px;
}

.confluence-embedded-file-wrapper {
  overflow: hidden;
}

.confluence-embedded-file-wrapper img {
  max-width: 100%;
}

.highlight-grey,
.highlight-grey > p {
  background-color: inherit !important;
}

p:has(br:first-child:last-child) {
  display: none;
}