:root {
  --text: #333;
  --muted: #777;
  --border: #ddd;
  --border-soft: #e7e7e7;
  --bg-soft: #f8f8f8;
  --bg-code: #f7f7f7;
  --link: #337ab7;
  --link-hover: #23527c;
  --success-bg: #dff0d8;
  --success-text: #2b542c;
  --success-border: #d6e9c6;
  --info-bg: #d9edf7;
  --info-text: #245269;
  --info-border: #bce8f1;
  --danger-bg: #f2dede;
  --danger-text: #a94442;
  --danger-border: #ebccd1;
}

/* =========================
   Base
   ========================= */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  line-height: 1.4;
  color: var(--text);
  background: #fff;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section,
summary {
  display: block;
}

img {
  border: 0;
  vertical-align: middle;
  max-width: 100%;
}

a {
  color: var(--link);
  text-decoration: none;
  background-color: transparent;
}

a:hover,
a:focus {
  color: var(--link-hover);
  text-decoration: underline;
}

button,
input,
optgroup,
select,
textarea {
  margin: 0;
  font: inherit;
  color: inherit;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
  -webkit-appearance: button;
  cursor: pointer;
}

button[disabled],
input[disabled] {
  cursor: default;
}

p {
  margin: 0 0 10px;
}

h1 {
  margin: 0.5em 0;
  font-size: 1.8em;
  font-weight: normal;
  line-height: 1.2;
}

h2 {
  margin-top: 1.3em;
  margin-bottom: 0.5em;
  font-size: 1.3em;
  font-weight: normal;
}

h3 {
  margin-top: 1.1em;
  margin-bottom: 0.3em;
  font-size: 1.2em;
  font-weight: normal;
}

blockquote {
  margin: 0 0 16px;
  padding: 10px 20px;
  font-size: 1.1em;
  border-left: 5px solid #eee;
}

code,
kbd,
pre,
samp {
  font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
}

code {
  padding: 2px 4px;
  font-size: 90%;
  color: #c7254e;
  background-color: #f9f2f4;
  border-radius: 4px;
}

pre {
  display: block;
  margin: 0 0 10px;
  padding: 9.5px;
  overflow: auto;
  font-size: 13px;
  line-height: 1.43;
  color: var(--text);
  word-break: break-word;
  background-color: #f5f5f5;
  border: 1px solid #ccc;
  border-radius: 4px;
}

pre code {
  padding: 0;
  font-size: inherit;
  color: inherit;
  background: transparent;
  border-radius: 0;
}

table {
  background-color: transparent;
  border-collapse: collapse;
}

th {
  text-align: left;
}

table th {
  font-weight: normal;
  font-size: 1em;
  text-decoration: underline;
}

ul,
ol {
  margin-top: 0;
  margin-bottom: 10px;
  padding-left: 2em;
}

footer {
  margin: 35px 6px 8px;
  font-size: 0.8em;
  line-height: 1.4;
  text-align: center;
}

footer a {
  color: var(--text);
  text-decoration: none;
}

/* =========================
   Layout
   ========================= */

.container {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  padding-right: 15px;
  padding-left: 10px;
}

.row,
.row-fluid {
  margin-right: -15px;
  margin-left: -15px;
}

.row::before,
.row::after,
.row-fluid::before,
.row-fluid::after,
.container::before,
.container::after,
.navbar::before,
.navbar::after,
.navbar-header::before,
.navbar-header::after,
.navbar-collapse::before,
.navbar-collapse::after,
.panel-body::before,
.panel-body::after {
  display: table;
  content: " ";
}

.row::after,
.row-fluid::after,
.container::after,
.navbar::after,
.navbar-header::after,
.navbar-collapse::after,
.panel-body::after {
  clear: both;
}

.col-sm-1,
.col-sm-4,
.col-sm-6,
.span12 {
  position: relative;
  min-height: 1px;
  padding-right: 15px;
  padding-left: 15px;
}

.span12 {
  width: 100%;
}

/* =========================
   Site-wide structure
   ========================= */

.navbar > div.google-auto-placed {
  display: none !important;
}

.ad-horizontal {
  min-height: 90px;
  max-width: 850px;
  margin: 0 auto;
}

.ad-mobile {
  display: none;
}

#ad-auto-index {
  display: none;
}

#ad-auto-content {
  margin: 0 auto;
}

#content {
  max-width: 950px;
  margin: 0 auto;
  padding: 0 20px;
}

#content a {
  overflow-wrap: break-word;
}

#logo {
  width: 245px;
  height: 29px;
  margin-left: 40%;
}

#output {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-evenly;
  margin-bottom: 2em;
  padding: 2%;
}

#ad-favicon {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
}

/* =========================
   Navbar
   ========================= */

.navbar {
  position: relative;
  min-height: 50px;
  margin-bottom: 20px;
  background-color: var(--bg-soft);
  border: 1px solid transparent;
}

.navbar-static-top {
  z-index: 1000;
  border-width: 0 0 1px;
}

.navbar-default {
  background-color: var(--bg-soft);
  border-color: var(--border-soft);
}

.navbar-header {
  float: none;
  height: 65px;
}

.navbar-brand {
  float: left;
  height: 50px;
  padding: 15px;
  font-size: 18px;
  line-height: 20px;
}

.navbar-brand:hover,
.navbar-brand:focus {
  text-decoration: none;
}

.navbar-brand > img {
  display: block;
}

.navbar-toggle {
  position: relative;
  float: right;
  margin-top: 8px;
  margin-right: 15px;
  margin-bottom: 8px;
  padding: 9px 10px;
  background: transparent;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.navbar-toggle:hover,
.navbar-toggle:focus {
  background-color: #ddd;
}

.navbar-toggle .icon-bar {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 1px;
  background-color: #888;
}

.navbar-toggle .icon-bar + .icon-bar {
  margin-top: 4px;
}

.navbar-collapse {
  padding-right: 15px;
  padding-left: 15px;
  overflow-x: visible;
  border-top: 1px solid transparent;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.navbar-collapse.collapse {
  display: none;
  visibility: hidden;
}

.navbar-collapse.in {
  display: block;
  visibility: visible;
  overflow-y: auto;
}

.nav {
  margin: 7.5px -15px;
  padding-left: 0;
  list-style: none;
}

.nav > li {
  position: relative;
  display: block;
}

.nav > li > a {
  position: relative;
  display: block;
  padding: 10px 35px;
}

.navbar-nav {
  margin: 7.5px -15px;
}

.navbar-right {
  margin-right: 7% !important;
}

.navbar-default .navbar-nav > li > a {
  color: var(--muted);
}

.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus {
  color: var(--text);
  text-decoration: underline;
  background-color: transparent;
}

/* =========================
   Collapse / fade states
   ========================= */

.fade {
  opacity: 0;
  transition: opacity 0.15s linear;
}

.fade.in {
  opacity: 1;
}

.collapse {
  display: none;
  visibility: hidden;
}

.collapse.in {
  display: block;
  visibility: visible;
}

.collapsing {
  position: relative;
  height: 0;
  overflow: hidden;
  transition-property: height, visibility;
  transition-duration: 0.35s;
  transition-timing-function: ease;
}

/* =========================
   Panels
   ========================= */

.panel {
  margin-bottom: 20px;
  background-color: #fff;
  border: 1px solid transparent;
  border-radius: 4px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
}

.panel-default {
  border-color: var(--border);
}

.panel-body {
  padding: 15px;
}

/* =========================
   Buttons
   ========================= */

.btn {
  display: inline-block;
  margin-bottom: 0;
  padding: 6px 12px;
  font-size: 14px;
  font-weight: normal;
  line-height: 1.43;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  user-select: none;
  background-image: none;
  border: 1px solid transparent;
  border-radius: 4px;
}

.btn:hover,
.btn:focus {
  text-decoration: none;
}

.btn.disabled,
.btn[disabled] {
  cursor: not-allowed;
  pointer-events: none;
  opacity: 0.65;
  box-shadow: none;
}

.btn-primary {
  color: #fff;
  background-color: #337ab7;
  border-color: #2e6da4;
}

.btn-primary:hover,
.btn-primary:focus {
  color: #fff;
  background-color: #286090;
  border-color: #204d74;
}

.btn-success {
  color: #fff;
  background-color: #5cb85c;
  border-color: #4cae4c;
}

.btn-success:hover,
.btn-success:focus {
  color: #fff;
  background-color: #449d44;
  border-color: #398439;
}

.btn-info {
  color: #fff;
  background-color: #5bc0de;
  border-color: #46b8da;
}

.btn-info:hover,
.btn-info:focus {
  color: #fff;
  background-color: #31b0d5;
  border-color: #269abc;
}

/* =========================
   Forms
   ========================= */

.form-control {
  display: block;
  width: 100%;
  height: 34px;
  padding: 6px 12px;
  font-size: 14px;
  line-height: 1.43;
  color: #555;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control:focus {
  outline: 0;
  border-color: #66afe9;
  box-shadow:
    inset 0 1px 1px rgba(0, 0, 0, 0.075),
    0 0 8px rgba(102, 175, 233, 0.6);
}

.help-block {
  display: block;
  margin-top: 5px;
  margin-bottom: 10px;
  color: #737373;
}

/* =========================
   File upload button
   ========================= */

.fileinput-button {
  position: relative;
  display: inline-block;
  margin-right: 4px;
  overflow: hidden;
}

.visually-hidden-file {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  border: 0 !important;
}

/* =========================
   Labels
   ========================= */

.label {
  display: inline;
  padding: 0.2em 0.6em 0.3em;
  font-size: 75%;
  font-weight: bold;
  line-height: 1;
  color: #fff;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: 0.25em;
}

.label-info {
  background-color: #5bc0de;
}

/* =========================
   Output box
   ========================= */

.thumbnail {
  display: block;
  padding: 4px;
  line-height: 1.43;
  background-color: #fff;
  border: 1px solid var(--border);
  border-radius: 4px;
  transition: border 0.2s ease-in-out;
}

.thumbnail > img,
.thumbnail a > img {
  margin-right: auto;
  margin-left: auto;
}

.well {
  background-color: #f5f5f5;
  border: 1px solid #e3e3e3;
  border-radius: 4px;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
}

/* =========================
   Alerts
   ========================= */

.alert {
  position: relative;
  margin-bottom: 20px;
  padding: 15px;
  text-align: center;
  border: 1px solid transparent;
  border-radius: 4px;
}

.alert-success {
  color: var(--success-text);
  background-color: var(--success-bg);
  border-color: var(--success-border);
}

.alert-info {
  color: var(--info-text);
  background-color: var(--info-bg);
  border-color: var(--info-border);
}

.alert-danger {
  color: var(--danger-text);
  background-color: var(--danger-bg);
  border-color: var(--danger-border);
}

.alert-animated {
  overflow: hidden;
  opacity: 1;
  max-height: 200px;
  animation: alertIn 0.22s ease;
  transition:
    opacity 0.15s linear,
    max-height 0.2s ease,
    padding 0.2s ease,
    margin 0.2s ease,
    border-width 0.2s ease;
}

.alert-animated.is-closing {
  opacity: 0;
  max-height: 0;
  margin-bottom: 0;
  padding-top: 0;
  padding-bottom: 0;
  border-top-width: 0;
  border-bottom-width: 0;
}

@keyframes alertIn {
  from {
    opacity: 0;
    max-height: 0;
    margin-bottom: 0;
    padding-top: 0;
    padding-bottom: 0;
    border-top-width: 0;
    border-bottom-width: 0;
  }
  to {
    opacity: 1;
    max-height: 200px;
    margin-bottom: 20px;
    padding-top: 15px;
    padding-bottom: 15px;
    border-top-width: 1px;
    border-bottom-width: 1px;
  }
}

.close {
  position: absolute;
  top: 50%;
  right: 15px;
  padding: 0;
  font-size: 21px;
  font-weight: bold;
  line-height: 1;
  color: #000;
  background: transparent;
  border: 0;
  opacity: 0.2;
  transform: translateY(-50%);
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  opacity: 0.5;
}

/* =========================
   Markdown article styling
   FAQ / Reference
   ========================= */

.markdown-body {
  overflow: hidden;
  font-family: "Helvetica Neue", Helvetica, "Segoe UI", Arial, freesans, sans-serif;
  word-wrap: break-word;
}

.markdown-body > *:first-child {
  margin-top: 0 !important;
}

.markdown-body > *:last-child {
  margin-bottom: 0 !important;
}

.markdown-body p,
.markdown-body blockquote,
.markdown-body ul,
.markdown-body ol,
.markdown-body table,
.markdown-body pre {
  margin-top: 0;
  margin-bottom: 16px;
}

.markdown-body li > p {
  margin-top: 16px;
}

.markdown-body blockquote {
  padding: 0 15px !important;
  color: var(--muted) !important;
  border-left: 4px solid var(--border) !important;
}

.markdown-body table {
  display: block;
  width: 100%;
  overflow: auto;
  word-break: normal;
  word-break: keep-all;
}

.markdown-body table th,
.markdown-body table td {
  padding: 6px 13px;
  border: 1px solid var(--border);
}

.markdown-body table tr {
  background-color: #fff;
  border-top: 1px solid #ccc;
}

.markdown-body table tr:nth-child(2n) {
  background-color: #f8f8f8;
}

.markdown-body .highlight {
  margin-bottom: 16px;
}

.markdown-body .highlight pre,
.markdown-body pre {
  padding: 16px;
  overflow: auto;
  font-size: 85%;
  line-height: 1.45;
  background-color: var(--bg-code);
  border: none;
  border-radius: 3px;
}

.markdown-body .highlight pre {
  margin-bottom: 0;
  word-break: normal;
}

.markdown-body pre {
  word-wrap: normal;
}

/* =========================
   Code snippet colors
   ========================= */

.pl-c {
  color: #969896;
}

.pl-e {
  color: #795da3;
}

.pl-ent,
.tag {
  color: #63a35c;
}

.pl-pds,
.pl-s,
.atv {
  color: #183691;
}

.atn {
  color: teal;
}

.pln {
  color: #48484c;
}

.pun {
  color: #93a1a1;
}

/* =========================
   Utilities
   ========================= */

.pull-right {
  float: right !important;
}

.pull-left {
  float: left !important;
}

.hide {
  display: none !important;
}

.show {
  display: block !important;
}

.hidden {
  display: none !important;
  visibility: hidden !important;
}

/* =========================
   Desktop breakpoints
   ========================= */

@media (min-width: 768px) {
  .container {
    width: 750px;
  }

  .col-sm-1,
  .col-sm-4,
  .col-sm-6 {
    float: left;
  }

  .col-sm-1 {
    width: 8.33333333%;
  }

  .col-sm-4 {
    width: 33.33333333%;
  }

  .col-sm-6 {
    width: 50%;
  }

  .col-sm-offset-1 {
    margin-left: 8.33333333%;
  }

  .navbar {
    border-radius: 4px;
  }

  .navbar-header {
    float: left;
  }

  .navbar-toggle {
    display: none;
  }

  .navbar-collapse {
    width: auto;
    padding-right: 0;
    padding-left: 0;
    overflow: visible !important;
    visibility: visible !important;
    border-top: 0;
    box-shadow: none;
  }

  .navbar-collapse.collapse {
    display: block !important;
    height: auto !important;
  }

  .navbar-nav {
    float: left;
    margin: 0;
  }

  .navbar-nav > li {
    float: left;
  }

  .navbar-nav > li > a {
    padding-top: 15px;
    padding-bottom: 15px;
    line-height: 20px;
  }

  .navbar-right {
    float: right !important;
    margin-right: -15px;
  }
}

@media (min-width: 992px) {
  .container {
    width: 970px;
  }
}

@media (min-width: 1200px) {
  .container {
    width: 1170px;
  }
}

/* =========================
   Responsive adjustments
   ========================= */

@media (max-width: 979px) {
  body {
    padding-top: 0;
    font-size: 1.1em;
    line-height: 1.6em;
  }

  .ad-horizontal,
  #ad-favicon {
    display: none;
  }

  #ad-auto-index {
    display: block;
    margin: 0 auto;
  }

  #ad-auto-content {
    margin: 0 auto;
  }

  .ad-mobile {
    display: block;
    margin: 0 auto;
  }

  .col-sm-6 {
    padding-right: 0;
    padding-left: 0;
  }

  blockquote {
    padding: 10px 5px;
    font-size: 0.8em;
    border-left: 2px solid #eee;
  }

  footer {
    line-height: 1.4em;
  }

  #logo {
    margin-left: 20px;
  }

  .navbar-fixed-top {
    position: static;
    margin-bottom: 20px;
  }

  .navbar .container {
    width: auto;
    padding: 0;
  }
}

@media (max-width: 767px) {
  .container {
    width: auto;
  }

  .row,
  .row-fluid {
    margin-right: 0;
    margin-left: 0;
  }

  #content {
    padding: 0 15px;
  }

  #logo {
    margin-left: 0;
  }

  #output {
    flex-direction: column;
    align-items: center;
  }

  #ad-favicon {
    min-height: auto;
  }
}