body {
  margin: 0;
  padding: 0;
  background: var(--transparent-color);
  font-family: -apple-system, sans-serif;
  font-size: 12px;
  -webkit-user-select: none;
  cursor: default;
}

html,
body {
  height: 100%;
  overflow: hidden;
}

/* Uncomment for testing in Safari */
/* body { background: #ccc; } @media (prefers-color-scheme: dark) { body { background: #333; } }*/

/* jQuery UI Overrides to make things more native*/

.ui-widget {
  font-family: -apple-system, sans-serif;
  font-size: 12px;
}
.ui-button-text-only .ui-button-text {
  padding: 0.4em 0.7em;
}

/* Columns */

#leftcol {
  min-width: 180px;
  max-width: 180px;
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  border-right: 1px solid var(--subtle-overlay-color);
  overflow-y: auto;
}
#rightcol {
  min-width: 200px;
  background: var(--content-background-color);
  position: absolute;
  left: 181px;
  top: 0;
  bottom: 0;
  right: 0;
  overflow-y: auto;
}

/* Navigation  */

nav ul {
  list-style: none;
  margin: 0;
  padding: 3px;
}
/*nav ul li { margin: 0; padding: 2px; color: #404040; font-size: 12px; -webkit-user-select: none; cursor: default; }*/

nav ul li.head {
  margin: 15px 0 2px 4px;
  font-weight: 500;
  color: var(--left-header-text-color);
}
nav ul li.head:first-of-type {
  margin-top: 5px;
}

nav .icon {
  height: 24px;
  width: 24px;
  float: left;
  margin: -3px 4px 0 -3px;
  opacity: 100%;
  background-size: 100% 100%;
  background-repeat: no-repeat;
}
/*.selected .icon { opacity: 100%; filter: invert(100%); }*/
nav h3 {
  margin: 2px 0 0 0;
  font-size: 12px;
  font-weight: 500;
}

/* ui-button customizations for sections */

nav ul li.ui-button {
  display: block;
  margin: 1px;
  padding: 1px;
  height: 26px;
  border-radius: 5.5px/5px;
  background-color: transparent;
  border: none;
  color: var(--left-text-color);
  cursor: default;
  clear: both;
}
nav ul li.ui-button.selected {
  background: var(--light-accent-color);
  color: white;
}
nav ul li.ui-button span {
  text-align: left;
  font-weight: normal;
  font-size: 10px;
}

/*  Icons  */

#ksdiff .icon {
  background-image: url("../images/basics-ksdiff@2x.png");
}
#prism .icon {
  background-image: url("../images/basics-prism@2x.png");
}
#services .icon {
  background-image: url("../images/system-services@2x.png");
}
#share_extension .icon {
  background-image: url("../images/system-shareextension@2x.png");
}
#shortcuts .icon {
  background-image: url("../images/system-shortcuts@2x.png");
}
#git .icon {
  background-image: url("../images/vcs-git@2x.png");
}
#svn .icon {
  background-image: url("../images/vcs-svn@2x.png");
}
#jujutsu .icon {
	background-image: url("../images/vcs-jujutsu@2x.png");
}
#mercurial .icon {
  background-image: url("../images/vcs-mercurial@2x.png");
}
#bazaar .icon {
  background-image: url("../images/vcs-bazaar@2x.png");
}
#safari .icon {
  background-image: url("../images/app-safari@2x.png");
}
#vscode .icon {
  background-image: url("../images/app-vscode@2x.png");
}
#versions .icon {
  background-image: url("../images/app-versions@2x.png");
}
#jetbrains .icon {
  background-image: url("../images/app-jetbrains@2x.png");
}
#androidstudio .icon {
  background-image: url("../images/app-androidstudio@2x.png");
}
#raycast .icon {
	background-image: url("../images/app-raycast@2x.png");
}
#alfred .icon {
  background-image: url("../images/app-alfred@2x.png");
}
#bbedit .icon {
  background-image: url("../images/app-bbedit@2x.png");
}
#lldb .icon {
  background-image: url("../images/app-xcode@2x.png");
}
#pdb .icon {
  background-image: url("../images/language-python@2x.png");
}
#textmate .icon {
  background-image: url("../images/app-textmate@2x.png");
}
#perforce .icon {
  background-image: url("../images/legacy-p4@2x.png");
}
#perforce-gui .icon {
  background-image: url("../images/legacy-p4v@2x.png");
}

.hidden {
  display: none;
}

nav ul li.selected .status {
  color: white;
}
nav ul li .status {
  height: 20px;
  width: 20px;
  top: 5px;
  right: 0px;
  display: none;
  position: absolute;
}

.status.visible {
  display: block;
  font-size: 13px;
  font-weight: bold;
  color: var(--accent-color);
}
.status.visible:before {
  content: "✓";
}
li#shortcuts .status.visible:before {
  content: "";
}
.status.visible.outdated:before {
  content: "!";
}
.status.missingRequirements:before {
  content: "⇧";
}

/* Contents */
.content {
  background: var(--content-background-color);
  line-height: 1.5em;
  color: var(--content-text-color);
  padding-top: 0.45em;
}
.content_wrap {
  padding: 14px 20px;
}
.content_wrap h2.title {
  font-size: 1.8em;
  font-weight: 300;
  margin: 0 0 1em 0;
  padding-top: 0;
}

.content h3 {
  margin: 1.5em 0 1em 0;
  font-family: ui-rounded;
  font-size: 1.4em;
  font-weight: 450;
  clear: both;
}
.content h4 {
  margin: 0 0 1em 0;
  font-family: ui-rounded;
  font-size: 1.1em;
  font-weight: 500;
  clear: none;
}

.content td {
  vertical-align: top;
}
.content ol {
  margin: 0;
  padding: 0 20px;
}
.content ol li {
  padding: 0;
}

.updateInfo {
  display: none;
}
.updateInfo.visible {
  display: block !important;
}
.border {
  border-radius: 6px;
  border: 2px solid var(--accent-color);
  margin: 1em 0;
  padding: 0.5em;
}
.attention {
  float: left;
  font-size: 30px;
  font-weight: bold;
  color: var(--accent-color);
  padding: 0.5em;
}
.updateInfo h3 {
  padding: 0.5em 0.25em 0.25em 0.25em;
  margin: 0;
  font-size: 1.1em;
  clear: none;
  font-weight: bold;
}
.updateInfo p {
  padding: 0.25em 0.25em 0.5em 0.25em;
  margin: 0;
  line-height: 1.3em;
}
a {
  text-decoration: none;
  color: var(--accent-color);
}
a:hover {
  border-bottom: 1px dotted var(--accent-color);
}
p {
  margin: 10px 0px;
}
i {
  display: block;
}
.button a {
  color: white;
}
.button a:hover {
  border-bottom: 0;
}

.disclose {
  font-weight: bold;
}
#ksdiff-manual-install {
  display: none;
}
#git-manual-install {
  display: none;
}

.steps {
  background-color: var(--minimal-overlay-color);
  border-radius: 6px;
  border: 1px solid var(--minimal-overlay-color);
  margin: 1em 0;
}
.step {
  position: relative;
  border-bottom: 1px solid var(--minimal-overlay-color);
  word-wrap: break-word;
}
.step:last-child {
  border-bottom: none;
}

.dot {
  background: rgba(0, 0, 0, 0.25);
  width: 2em;
  height: 2em;
  color: var(--inverted-text-color);
  text-align: center;
  -webkit-border-radius: 1em;
  line-height: 2em;
  position: absolute;
  left: 0.9em;
  top: 0.7em;
}
.expl {
  padding: 1em 1em 1em 3.5em;
}
.expl p {
  margin: 0;
}
.expl ul {
  padding: 0 0 0 1.4em;
  margin: 0.5em 0;
}
.code,
.example {
  -webkit-user-select: text;
  background: var(--content-background-color);
  padding: 0.75em 1em;
  -webkit-border-radius: 6px;
  margin: 0.5em 0 1.5em 0;
  border: 1px solid var(--subtle-overlay-color);
  cursor: text;
  font-size: 12px;
  font-weight: 400;
  word-wrap: break-word;
}
.code,
code {
  font-family: ui-monospace, Monaco, monospace;
  font-weight: 650;
}
.inline-code {
  font-family: ui-monospace, Monaco, monospace;
  font-size: 12px;
  font-weight: 650;
  word-wrap: break-word;
}
.example ul {
  margin: 0;
  padding: 0;
}
.example ul li {
  margin-left: 1.5em;
  padding: 0.1em 0;
}
h4.shortcut-action {
  background: var(--minimal-overlay-color);
  padding: 0.3em 0.5em 0.1em 0.5em;
  width: 240px;
  border-radius: 5px;
  font-weight: 500;
  font-size: 13px;
}
h4.shortcut-action img {
  width: 20px;
  height: 20px;
  margin: 0 3px 3px 0;
  vertical-align: middle;
}

.update {
  display: none;
}
.uninstall {
  display: none;
}
.installed .uninstall {
  display: inline;
}
.outdated .update {
  display: inline;
}
.outdated .install {
  display: none;
}
.installed .install {
  display: none;
}

.button {
  height: 28px;
  min-width: 100px;
  float: right;
  display: block;
  margin-left: 10px;
  margin-top: -0.4em;
  background-color: var(--accent-color);
  background-image: linear-gradient(
    to top,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 0.17)
  );
  line-height: 2em;
  border: none !important;
  border-radius: 5px;
  font-weight: normal;
  cursor: default;
  color: white;
}
.button.ui-state-active {
  background-color: var(--accent-color);
  background-image: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.1),
    rgba(0, 0, 0, 0.1)
  );
}
.button:focus {
  outline: none;
}

.step.installed:not([data-uninstall-tool]) .button {
  opacity: 0.5;
}
.step.installed:not([data-uninstall-tool]) .button:active {
  opacity: 0.5;
}

.step.missingRequirements .button {
  visibility: hidden;
}

.missingRequirements .sample {
  display: none;
}

.ksd {
  font-weight: bold;
}
.clear {
  clear: both;
}

 img.full-width {
	display: block;
	height: auto;
	max-width: 100%;
}

.cropped-screenshot {
  border-radius: 7px;
  border: 1px solid var(--minimal-overlay-color);
  float: left;
  margin: 0.25em 1em 2em 0;
}

p.clear {
	clear: both;
}

mark {
  background: none;
  color: var(--content-text-color);
  font-weight: 500;
  padding: 1px 3px;
  border-radius: 3px;
}
mark.app {
  background: var(--app);
}
mark.list {
  padding: 1px;
  font-weight: 600;
}
mark.menu {
  background: var(--menu);
}
mark.menuItem {
  background: var(--menu);
}
mark.btn {
  background: var(--btn);
  padding: 3px 5px;
  border-radius: 6px;
  box-shadow: 0 0.5px var(--btn-shadow);
  margin: 0 1px;
}
mark.checkbox {
  background: var(--btn);
  padding: 0px 2px;
  border-radius: 2px;
}
mark.gray {
  padding: 0;
  color: var(--gray);
}
hr {
  border: 1px solid var(--subtle-overlay-color);
  border-radius: 2px;
  margin: 30px 0;
}

:root {
  color-scheme: light dark;
  supported-color-schemes: light dark;
  --app: rgba(0, 0, 0, 0.08);
  --btn: rgba(250, 250, 250, 1);
  --btn-shadow: rgba(127, 127, 127, 0.33);
  --menu: rgba(0, 127, 255, 0.15);
  --gray: rgba(127, 127, 127, 0.9);
  --left-text-color: rgba(0, 0, 0, 0.5);
  --left-header-text-color: rgba(0, 0, 0, 0.25);
  --content-background-color: white;
  --minimal-overlay-color: rgba(0, 0, 0, 0.05);
  --subtle-overlay-color: rgba(0, 0, 0, 0.1);
  --content-text-color: rgba(0, 0, 0, 0.85);
  --inverted-text-color: rgba(255, 255, 255, 0.85);
  --blue-tint: #007aff;
  --blue-tint-active: #0055eb;
  --transparent-color: transparent;
}

@media (prefers-color-scheme: dark) {
  :root {
    --app: rgba(255, 255, 255, 0.1);
    --btn: rgba(100, 100, 100, 1);
    --btn-shadow: rgba(0, 0, 0, 0.33);
    --menu: rgba(0, 127, 255, 0.25);
    --gray: rgba(127, 127, 127, 0.9);
    --left-text-color: rgba(255, 255, 255, 0.5);
    --left-header-text-color: rgba(255, 255, 255, 0.25);
    --content-background-color: #222;
    --minimal-overlay-color: rgba(255, 255, 255, 0.05);
    --subtle-overlay-color: rgba(255, 255, 255, 0.1);
    --content-text-color: rgba(255, 255, 255, 0.85);
    --inverted-text-color: rgba(0, 0, 0, 0.85);
    --blue-tint: #0a84ff;
    --blue-tint-active: #0960eb;
    --transparent-color: transparent;
  }

  .selected .icon {
    opacity: 100%;
  }

  .dot {
    background: rgba(255, 255, 255, 0.25);
  }
}
