/* Base styles and content styles */

@import 'variables.css';

html {
    font-family: "Open Sans", sans-serif;
    color: var(--fg);
    background-color: var(--bg);
    text-size-adjust: none;
}

body {
    margin: 0;
    font-size: 1rem;
    overflow-x: hidden;
}

code {
    font-family: "Source Code Pro", Consolas, "Ubuntu Mono", Menlo, "DejaVu Sans Mono", monospace, monospace;
    font-size: 0.875em; /* please adjust the ace font size accordingly in editor.js */
}

.left { float: left; }
.right { float: right; }
.hidden { display: none; }
.play-button.hidden { display: none; }

h2, h3 { margin-top: 2.5em; }
h4, h5 { margin-top: 2em; }

.header + .header h3,
.header + .header h4,
.header + .header h5 {
    margin-top: 1em;
}

h1 a.header:target::before,
h2 a.header:target::before,
h3 a.header:target::before,
h4 a.header:target::before {
    display: inline-block;
    content: "»";
    margin-left: -30px;
    width: 30px;
}

.page {
    outline: 0;
    padding: 0 var(--page-padding);
}
.page-wrapper {
    box-sizing: border-box;
}
.js:not(.sidebar-resizing) .page-wrapper {
    transition: margin-left 0.3s ease, transform 0.3s ease; /* Animation: slide away */
}

.content {
    overflow-y: auto;
    padding: 0 15px;
    padding-bottom: 50px;
}
.content main {
    margin-left: auto;
    margin-right: auto;
    max-width: var(--content-max-width);
}
.content a { text-decoration: none; }
.content a:hover { text-decoration: underline; }
.content img { max-width: 100%; }
.content .header:link,
.content .header:visited {
    color: var(--fg);
}
.content .header:link,
.content .header:visited:hover {
    text-decoration: none;
}

table {
    margin: 0 auto;
    border-collapse: collapse;
}
table td {
    padding: 3px 20px;
    border: 1px var(--table-border-color) solid;
}
table thead {
    background: var(--table-header-bg);
}
table thead td {
    font-weight: 700;
    border: none;
}
table thead tr {
    border: 1px var(--table-header-bg) solid;
}
/* Alternate background colors for rows */
table tbody tr:nth-child(2n) {
    background: var(--table-alternate-bg);
}


blockquote {
    margin: 20px 0;
    padding: 0 20px;
    color: var(--fg);
    background-color: var(--quote-bg);
    border-top: .1em solid var(--quote-border);
    border-bottom: .1em solid var(--quote-border);
}


:not(.footnote-definition) + .footnote-definition,
.footnote-definition + :not(.footnote-definition) {
    margin-top: 2em;
}
.footnote-definition {
    font-size: 0.9em;
    margin: 0.5em 0;
}
.footnote-definition p {
    display: inline;
}

.tooltiptext {
    position: absolute;
    visibility: hidden;
    color: #fff;
    background-color: #333;
    transform: translateX(-50%); /* Center by moving tooltip 50% of its width left */
    left: -8px; /* Half of the width of the icon */
    top: -35px;
    font-size: 0.8em;
    text-align: center;
    border-radius: 6px;
    padding: 5px 8px;
    margin: 5px;
    z-index: 1000;
}
.tooltipped .tooltiptext {
    visibility: visible;
}

  body .task-status.success, body .tasks-in-progress.success {
    display: inline-block;
    width: 16px;
    height: 16px;
    size: 100%;
    color: green;
    text-align: center; }
    body .task-status.success:before, body .tasks-in-progress.success:before {
      content: "\25CF"; }
  body .task-status.failure, body .tasks-in-progress.failure {
    display: inline-block;
    width: 16px;
    height: 16px;
    size: 100%;
    color: red;
    text-align: center; }
    body .task-status.failure:before, body .tasks-in-progress.failure:before {
      content: "\25CF"; }
  body .task-status.aborted, body .tasks-in-progress.aborted {
    display: inline-block;
    width: 16px;
    height: 16px;
    size: 100%;
    color: red;
    text-align: center; }
    body .task-status.aborted:before, body .tasks-in-progress.aborted:before {
      content: "\25CF"; }
  body .task-status.not_started, body .tasks-in-progress.not_started {
    display: inline-block;
    width: 16px;
    height: 16px;
    size: 100%;
    color: white;
    text-align: center; }
    body .task-status.not_started:before, body .tasks-in-progress.not_started:before {
      content: "\25CC"; }
  body .task-status.started, body .tasks-in-progress.started {
    position: relative;
    top: 0.1em;
    display: inline-block;
    width: 16px;
    height: 16px;
    background-image: url("../static/images/spinner.gif");
    background-size: contain; }
  body .task-status.pending, body .tasks-in-progress.pending {
    position: relative;
    top: 0.1em;
    display: inline-block;
    width: 16px;
    height: 16px;
    background-image: url("../static/images/pending.svg");
    background-size: contain; }
  body .session-status.started {
    display: inline-block;
    width: 16px;
    height: 16px;
    size: 100%;
    color: green;
    text-align: center; }
    body .session-status.started:before {
      content: "\25B6"; }
  body .session-status.stopped {
    display: inline-block;
    width: 16px;
    height: 16px;
    size: 100%;
    color: red;
    text-align: center; }
    body .session-status.stopped:before {
      content: "\25A0"; }

  body .resource-status.compatible, body .resource-status.ready, body .feature-status.compatible, body .feature-status.ready {
    display: inline-block;
    width: 16px;
    height: 16px;
    color: green;
    text-align: center; }
    body .resource-status.compatible:before, body .resource-status.ready:before, body .feature-status.compatible:before, body .feature-status.ready:before {
      content: "\25CF"; }
  body .resource-status.compatible_but_different, body .feature-status.compatible_but_different {
    display: inline-block;
    width: 16px;
    height: 16px;
    color: orange;
    text-align: center; }
    body .resource-status.compatible_but_different:before, body .feature-status.compatible_but_different:before {
      content: "\25CF"; }
  body .resource-status.replaying, body .feature-status.replaying {
    position: relative;
    top: 0.1em;
    display: inline-block;
    width: 16px;
    height: 16px;
    background-image: url("../static/images/spinner.gif");
    background-size: contain; }
  body .resource-status.pending, body .feature-status.pending {
    position: relative;
    top: 0.1em;
    display: inline-block;
    width: 16px;
    height: 16px;
    background-image: url("../static/images/pending.svg");
    background-size: contain; }
  body .resource-status.replay_failed, body .feature-status.replay_failed {
    display: inline-block;
    width: 16px;
    height: 16px;
    color: red;
    text-align: center; }
    body .resource-status.replay_failed:before, body .feature-status.replay_failed:before {
      content: "\25CC"; }
  body .resource-status.not_generated, body .feature-status.not_generated {
    display: inline-block;
    width: 16px;
    height: 16px;
    color: white;
    text-align: center; }
    body .resource-status.not_generated:before, body .feature-status.not_generated:before {
      content: "\25CC"; }
  body .resource-status.not_compatible, body .feature-status.not_compatible {
    display: inline-block;
    width: 16px;
    height: 16px;
    color: red;
    text-align: center; }
    body .resource-status.not_compatible:before, body .feature-status.not_compatible:before {
      content: "\25CF"; }
  body .resource-status.deprecated, body .feature-status.deprecated {
    display: inline-block;
    width: 16px;
    height: 16px;
    color: black;
    text-align: center; }
    body .resource-status.deprecated:before, body .feature-status.deprecated:before {
      content: "\25CF"; }
  body .action-status.success {
    display: inline-block;
    width: 16px;
    height: 16px;
    color: green;
    text-align: center; }
    body .action-status.success:before {
      content: "\29BF"; }
  body .action-status.failure {
    display: inline-block;
    width: 16px;
    height: 16px;
    color: red;
    text-align: center; }
    body .action-status.failure:before {
      content: "\29BF"; }
  body .action-status.not_ran {
    display: inline-block;
    width: 16px;
    height: 16px;
    color: white;
    text-align: center; }
    body .action-status.not_ran:before {
      content: "\25CC"; }
  body .action-status.running {
    position: relative;
    top: 0.1em;
    display: inline-block;
    width: 16px;
    height: 16px;
    background-image: url("../static/images/spinner.gif");
    background-size: contain; }
  body .action-status.pending {
    position: relative;
    top: 0.1em;
    display: inline-block;
    width: 16px;
    height: 16px;
    background-image: url("../static/images/pending.svg");
    background-size: contain; }
  body .snapshot-prepare-status.prepared {
    display: inline-block;
    width: 16px;
    height: 16px;
    size: 100%;
    color: green;
    text-align: center; }
    body .snapshot-prepare-status.prepared:before {
      content: "\25CF"; }
  body .snapshot-prepare-status.inherited {
    display: inline-block;
    width: 16px;
    height: 16px;
    size: 100%;
    color: orange;
    text-align: center; }
    body .snapshot-prepare-status.inherited:before {
      content: "\25CF"; }
  body .snapshot-prepare-status.not_prepared {
    display: inline-block;
    width: 16px;
    height: 16px;
    size: 100%;
    color: white;
    text-align: center; }
    body .snapshot-prepare-status.not_prepared:before {
      content: "\25CC"; }

