.navbar-brand {
  padding: 2px 0 2px 5px;
  margin-right: 0.4rem;
}

.navbar-brand img {
  height: 40px;
}
body {
  padding-top: 3.85em;
  color: #343a40;
  position: relative;
  font-size: 16px;
  line-height: 1.5;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Open Sans",
    "Helvetica Neue", sans-serif;
  -webkit-font-smoothing: subpixel-antialiased;
  text-rendering: optimizeLegibility;
}

.main a {
  /* color: #039be5; */
  color: #057dbb;
  /* color: #007bff; */
}

.main a:hover {
  color: #0277bd;
}

kbd {
  background: #e5e5e5;
  color: #444;
  text-shadow: 1px 1px 0 #efefef;
  border: 1px outset #e0e0e0;
  padding: 0.1rem 0.3rem;
}

nav.bg-limedocs {
  background: #fff;
}

nav.bg-limedocs-shadow {
  box-shadow: 0px 1px 15px 1px rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid #e7e7e7;
}

nav.bg-limedocs-solid {
  box-shadow: none;
  border-bottom: 1px solid #e7e7e7;
}

nav.bg-limedocs .navbar-nav .nav-link {
  color: #666;
  font-weight: 500;
  font-size: 1em;
}

nav.bg-limedocs .navbar-nav .nav-link:focus,
nav.bg-limedocs .navbar-nav .nav-link:hover {
  color: #333;
}

div.youtube {
  text-align: center;
  margin: 20px;
}
iframe {
  border: none;
}

summary {
  color: #769e02;
  cursor: pointer;
  margin-bottom: 1rem;
  outline: none;
}

summary:hover {
  color: #648501;
}

details summary::-webkit-details-marker {
  color: #ccc;
}

code {
  color: #333;
  color: #e83e8c;
  color: inherit;
  padding: 0.15rem 0.3rem;
  background: #f3f3f3;
}

a > code {
  padding: 0.15rem 0.3rem;
  color: inherit;
  background-color: #f8f9fa;
}

a,
a:active,
.page-link {
  color: #0366d6;
}

.toc-container .on-this-page {
  display: block;
  color: #aaa;
  font-weight: 500;
  font-size: 0.8em;
  text-transform: uppercase;
}

.nav-container .nav .navbar-text {
  padding: 0;
}

ul.toc {
  font-size: 0.85em;
  margin-bottom: 5px;
  margin-top: 0.6rem;
  white-space: nowrap;
  padding-right: 1em;
  /* border-left: 3px solid #e5e5e5; */
}

.nav-container .nav li {
  line-height: 2;
}

.hljs {
  padding: 1.4em !important;
  border-radius: 3px;
}

.nav-section-name {
  font-weight: 600;
  font-size: 1.05em;
  padding: 0 5px 2px 0;
  color: #666;
  /* font-family: "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Open Sans", "Helvetica Neue", sans-serif; */
}

.nav-section-name > a {
  color: #666;
  border-bottom: 1px dotted #e2e2e2;
  text-decoration: none;
  padding-bottom: 2px;
}

.nav-section-name > a:hover {
  color: #769e02;
  text-decoration: none;
}

ul.nav ul.nav .nav-section-name {
  font-size: 92%;
}

.nav-section-name.active {
  color: #333;
}

.nav-container .current-page-item .current-page:before {
  content: "\2022\00a0\00a0";
  color: #b7d165;
  font-size: 100%;
}

.nav-container .nav-item .nav-link:before {
  content: "\2022\00a0\00a0";
  color: #ccc;
}

.nav-container .nav .current-page {
  font-weight: 400;
  line-height: 2;
  display: block;
  color: #666;
  color: #769e02;
}

.nav-container .nav .nav-link {
  padding: 0;
  /* line-height: 2; */
  color: #666;
  font-weight: 400;
}

.nav-container .nav .nav-link:hover {
  text-decoration: none;
  color: #111;
  /* color: #6d8c15; */
}

.nav-container .nav .nav-link.active {
  cursor: default;
  color: #222;
}

.toc .nav-link {
  line-height: 1.5;
  padding: 0;
  margin-bottom: 0.2rem;
}

.toc .nav-indent-2 {
  padding-left: 0rem;
}

.toc .nav-indent-3 {
  padding-left: 1.2rem !important;
  font-size: 96%;
}

.toc .nav-indent-4 {
  padding-left: 1.8rem !important;
  font-size: 93%;
}

.toc .nav-indent-5 {
  padding-left: 2.4rem !important;
  font-size: 90%;
}

.toc .nav-indent-6 {
  padding-left: 3rem !important;
  font-size: 85%;
}

.toc .nav-link {
  color: #555;
}

.toc .nav-link.active {
  font-weight: 500;
  color: #333;
}

.nav-container .nav .nav-item {
  padding-right: 5px;
  font-size: 98%;
}

.toc .nav-item {
  margin-bottom: 4px;
  padding-left: 10px;
}

.nav-container .nav .nav-link:not(.active):hover {
  color: #444;
  color: #769e02;
}

.btn-outline-success {
  color: #d5eb90;
  background-color: transparent;
  background-image: none;
  border-color: #d5eb90;
}

.btn-outline-success:hover {
  background-color: #d5eb90;
  border-color: #95ad46;
  color: #333;
}

.btn-outline-success:active {
  background-color: #d5eb90;
}

.main {
  padding-bottom: 1rem;
  padding-top: 0.5rem;
  min-height: calc(100vh - 270px);
  min-height: 100vh;
}

.main img {
  max-width: 100%;
  height: auto;
}

.main hr {
  margin-top: 3rem;
  margin-bottom: 2rem;
  width: 40%;
  margin-left: auto;
  margin-right: auto;
  border-top: 5px dotted #eee;
}

.table td,
.table th {
  padding: 0.5rem;
}

.main h1 {
  font-weight: 600;
  margin-top: 0.9rem;
  font-size: 2.2em;
}

.main h2 {
  color: #343a40;
  font-weight: 500;
  font-size: 1.8em;
  margin-bottom: 1.3rem;
  margin-top: 2.5rem;
  letter-spacing: -0.01em;
  padding-bottom: 0.7rem;
  border-bottom: 2px solid #b7d165;
}

.main h3 {
  font-weight: 500;
  font-size: 1.6em;
  margin-bottom: 1.3rem;
  margin-top: 2rem;
  letter-spacing: -0.01em;
  /* border-bottom: 1px dotted #e5e5e5; */
  /* padding-bottom: 0.6rem; */
}

.main h4 {
  font-weight: 600;
  margin-bottom: 0.7em;
  margin-top: 1.2rem;
  font-size: 1.2em;
}

.main h5 {
  font-weight: 600;
  margin-bottom: 0.7em;
  margin-top: 1rem;
}

.main h6 {
  font-weight: 900;
  font-size: 0.9em;
  text-transform: uppercase;
  margin-bottom: 1.3rem;
  margin-top: 1rem;
}

h6.dropdown-header {
  margin: 0.2em !important;
  padding: 0.3em;
}

.dropdown-header-toc {
  padding: 0 0.5rem;
  margin: 0;
}

i.heading-link:before {
  content: "#";
}

h2 i.heading-link,
h3 i.heading-link,
h4 i.heading-link {
  position: absolute;
  /* margin-top: 0.58em; */
  opacity: 0;
  /* font-size: 0.65em; */
  color: #ccc;
  transition-property: opacity;
  transition-duration: 0.2s;
  margin-left: -0.8em;
}

h1 i.heading-link,
h5 i.heading-link,
h6 i.heading-link {
  display: none !important;
}

h2:hover i.heading-link,
h3:hover i.heading-link,
h4:hover i.heading-link,
h5:hover i.heading-link,
h6:hover i.heading-link {
  opacity: 1;
  transition-property: opacity;
  transition-duration: 0.8s;
}

/* Hack to handle anchor srolling with fixed topbar */
h1:before,
h2:before,
h3:before,
h4:before,
h5:before,
h6:before {
  content: "";
  display: block;
  position: relative;
  width: 0;
  height: 95px;
  margin-top: -95px;
}

h1 code,
h2 code,
h3 code,
h4 code,
h5 code,
h6 code {
  font-size: 85%;
  font-weight: bolder;
  background: inherit;
}

.footer {
  height: 206px;
  border-top: 1px dotted #b7d165;
  background: #f7faee;
}

.footer-col,
.footer .nav a {
  color: #97b732;
  /* color: #5e7d03; */
  /* text-shadow: 1px 1px 0 #fff; */
}
.footer .nav a:hover {
  text-decoration: underline;
}

.ld-alert {
  /* box-shadow: 0 0 2px 0 rgba(40, 40, 40, 0.1); */
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  margin: 25px 0;
}

.ld-alert-title {
  padding: 0.5rem 1rem;
  font-weight: bold;
  font-size: 1em;
}

.ld-alert-title:before {
  font-family: FontAwesome;
  margin-right: 10px;
  font-weight: 400;
}

.ld-alert-body {
  padding: 0.5rem 1rem;
  font-size: 0.95em;
  background: #fff;
  border-radius: 0 0 6px 6px;
}

.ld-alert-body > div {
  margin-top: 1rem;
}

.ld-alert-body > div:first-child {
  margin-top: 0rem;
}

.ld-alert-body > div > p:last-child {
  margin-bottom: 0;
}

.main p {
  text-align: justify;
}

.ld-alert-note,
.ld-alert-seealso {
  background-color: #fff3d4;
  border-color: #fff3d4;
}

.ld-alert-note .ld-alert-title:before,
.ld-alert-seealso .ld-alert-title:before {
  content: "\f040";
  color: #ffc329;
}

.ld-alert-info,
.ld-alert-todo {
  background-color: rgba(0, 184, 212, 0.1);
  border-color: rgba(0, 184, 212, 0.1);
}

.ld-alert-info .ld-alert-title:before,
.ld-alert-todo .ld-alert-title:before {
  content: "\f05a";
  color: #00b8d4;
}

.ld-alert-tip,
.ld-alert-hint {
  background-color: rgba(183, 209, 101, 0.2);
  border-color: rgba(183, 209, 101, 0.2);
}
.ld-alert-tip .ld-alert-title:before,
.ld-alert-hint .ld-alert-title:before {
  content: "\f0eb";
  color: rgba(183, 209, 101, 1);
}

.ld-alert-summary,
.ld-alert-tldr {
  background-color: rgba(0, 176, 255, 0.1);
  border-color: rgba(0, 176, 255, 0.1);
}

.ld-alert-summary .ld-alert-title:before,
.ld-alert-tldr .ld-alert-title:before {
  content: "\f036";
  color: #00b0ff;
}

.ld-alert-question,
.ld-alert-help,
.ld-alert-faq {
  background-color: rgba(100, 221, 23, 0.1);
  border-color: rgba(100, 221, 23, 0.1);
}

.ld-alert-success,
.ld-alert-check,
.ld-alert-done {
  background-color: rgba(0, 200, 83, 0.1);
  border-color: rgba(0, 200, 83, 0.1);
}

.ld-alert-success .ld-alert-title:before,
.ld-alert-check .ld-alert-title:before,
.ld-alert-done .ld-alert-title:before {
  content: "\f00c";
  color: #00c853;
}

.ld-alert-warning,
.ld-alert-caution,
.ld-alert-attention {
  background-color: rgba(255, 145, 0, 0.158);
  border-color: rgba(255, 145, 0, 0.158);
}

.ld-alert-warning .ld-alert-title:before,
.ld-alert-caution .ld-alert-title:before,
.ld-alert-attention .ld-alert-title:before {
  content: "\f071";
  color: #ff9100;
}

.ld-alert-danger,
.ld-alert-error {
  background-color: rgba(255, 23, 68, 0.1);
  border-color: rgba(255, 23, 68, 0.1);
}

.ld-alert-danger .ld-alert-title:before,
.ld-alert-error .ld-alert-title:before {
  content: "\f06a";
  color: #ff1744;
}

ul.multicode {
  margin-left: 6px;
  border-bottom: none;
  margin-bottom: 0px;
}

ul.multicode .nav-item {
  margin-bottom: 0px;
}

ul.multicode .nav-link {
  font-size: 0.85em;
  border-bottom: none;
  margin-right: 4px;
  border-color: transparent;
  padding: 0.4rem 1rem;
  background: #45473f;
  color: #bbb;
  border-top: 3px solid #45473f;
}

ul.multicode .nav-link:before {
  content: "";
  display: block;
  position: relative;
  width: 0;
  height: 95px;
  margin-top: -95px;
}

ul.multicode .nav-link:hover {
  /*border-color: #e0e0e0;*/
  border-color: transparent;
  border-top: 3px solid #45473f;
}

ul.multicode .nav-link.active {
  background: #23241f;
  color: #efefef;
  border-color: transparent;
  border-top: 3px solid rgba(183, 209, 101, 1);
}

.pagination-prev-next {
  margin-top: 4rem;
}

.pagination-prev-next .page-link {
  font-size: 1.1rem; /* make use of rem here */
  border: none;
  transition: color 0.15s;
  font-weight: 400;
}

.pagination-prev-next .page-link:hover {
  background: none;
}

.pagination-prev-next .page-link:hover {
  color: #769e02;
}

.pagination-prev-next .page-item:first-child .page-link:before {
  font-family: FontAwesome;
  font-size: 1.2em;
  content: "\f104\00a0\00a0";
  color: #ccc;
  display: inline-block;
  transition-property: transform, color;
  transition-duration: 0.15s;
}

.pagination-prev-next .page-item:last-child .page-link:after {
  font-family: FontAwesome;
  font-size: 1.1em;
  content: "\00a0\00a0\f105";
  color: #ccc;
  display: inline-block;
  transition-property: transform, color;
  transition-duration: 0.15s;
}

.pagination-prev-next .page-item:first-child:hover .page-link:before {
  transform: translateX(-5px);
  color: #769e02;
}
.pagination-prev-next .page-item:last-child:hover .page-link:after {
  transform: translateX(5px);
  color: #769e02;
}

p.edit-page {
  text-align: center;
  margin-top: 5rem;
}

p.edit-page a {
  font-size: 0.85em;
  color: #888;
  display: inline-block;
}
p.edit-page a:hover {
  color: #666;
}

table.table {
  font-size: 0.9em;
}

div.subtitle {
  font-size: 1.3em;
  color: #777;
  margin-bottom: 1.5rem;
  font-weight: 300;
}

.container-wide-limedocs {
  margin-left: auto;
  margin-right: auto;
  max-width: 100%;
}

.main-container {
  margin-top: 8px;
}

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

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

.nav-container ul.nav {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.nav-container ul.nav li:last-child:not(.nav-section-name) {
  margin-bottom: 0.3rem;
}

.nav-container ul.nav ul.nav li:last-child:not(.nav-section-name) {
  margin-bottom: 0rem;
}

.footer-col {
  padding: 10px 5px;
  font-size: 0.9em;
}

.footer-col:first-child {
  padding-left: 0;
}

.footer-col:last-child {
  padding-right: 0;
}

.footer-col .nav-link {
  padding: 0.5rem 0;
}

@media (max-width: 768px) {
  body {
    font-size: 15px;
  }

  .nav-container {
    display: block;
    top: 70px;
    left: -280px;
    min-width: 270px;
    max-width: 270px;
    position: fixed;
    bottom: 0;
    overflow-y: auto;
    padding: 0 1rem;
    padding-bottom: 3rem;
    background: #fff;
    box-shadow: 1px 0 18px 0 rgba(0, 0, 0, 0.3);
    z-index: 1001;
    transition: left 0.35s ease;
  }
  .nav-container.active {
    display: block;
    left: 0;
    transition: left 0.35s ease;
  }

  .nav-container .nav .nav-item {
    line-height: 2.5;
  }

  #nav-toggler {
    padding: 0.55rem 0.75rem;
    color: #b7d165;
    border-color: #b7d165;
    font-size: 1.25em;
  }

  .nav-container ul.nav {
    font-size: 1.1em;
  }

  .form-search input[type="text"] {
    width: 100% !important;
  }

  .search-results {
    width: 100% !important;
    left: 0 !important;
    right: 0;
    box-shadow: 1px 1px 24px rgba(0, 0, 0, 0.2);
  }
}

.nav-container ul.nav:first-child {
  margin-top: 1rem;
}

.toc-container .on-this-page {
  margin-top: 1.3rem;
}

@media (min-width: 768px) {
  .container-wide-limedocs {
    margin: 0;
  }
  .navbar-expand-md .navbar-nav .nav-link {
    padding-left: 0.8rem;
    padding-right: 0.8rem;
  }
  .col-left {
    border-right: 1px dotted #b7d165;
    padding-left: 1.3rem;
  }
  .toc-container,
  .nav-container {
    top: 70px;
    top: 61.5px;
    position: sticky;
    overflow-y: auto;
  }

  .nav-container::-webkit-scrollbar {
    width: 0px;
  }

  .toc-container {
    position: fixed;
    max-width: 11%;
  }

  .nav-container ul.nav ul.nav {
    margin-left: 0.9rem;
    margin-bottom: 0.3rem;
    margin-top: 0.3rem;
    font-size: 95%;
  }
  .nav-container ul.nav ul.nav .nav-section-name {
    margin-top: 0;
  }

  .footer-col {
    padding: 1.5rem 2rem;
  }
  .footer-col .nav-link {
    padding: 0.5rem 1rem;
  }

  .pagination-prev-next .page-item {
    flex: 0 0 40%;
  }
}

@media (min-width: 992px) {
  #main-navbar {
    padding-left: 0;
    padding-right: 0;
  }

  .container-wide-limedocs {
    max-width: 100%;
  }
}

@media (min-width: 1370px) {
  .container-wide-limedocs {
    margin-left: auto;
    margin-right: auto;
    max-width: 1150px;
  }
}

.generated-by-limedocs {
  margin-top: 10px;
  margin-left: 8px;
  max-height: 50px;
  height: auto;
  width: auto;
  max-width: 100%;
}

.rendering-example {
  background: #fff;
  padding: 20px;
  border: 1px inset #e0e0e0;
}

.navbar-light .navbar-brand {
  color: #444;
  font-weight: 600;
}

.navbar-light .navbar-brand:hover {
  color: #555;
}

.main pre {
  font-size: 85%;
}

.main pre {
  position: relative;
}

.main pre .copy {
  opacity: 0;
  position: absolute;
  content: "Copy";
  cursor: pointer;
  display: inline-block;
  font-size: 0.8em;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
    "Segoe UI Symbol";
  top: 1.4em;
  right: 1.4em;
  /* color: #333; */
  transition: opacity 0.2s;
  background: rgba(0, 0, 0, 0.3);
}

.main pre .copy.active,
.main pre .copy:active {
  background: rgba(0, 0, 0, 0.2) !important;
}

.main pre:hover .copy {
  opacity: 0.9;
}

.main ul li p {
  margin-bottom: 0;
}

.main .card {
  margin-bottom: 20px;
}

.main h1 code,
.main h2 code,
.main h3 code,
.main h4 code,
.main h5 code {
  color: inherit;
}

.card h1,
.card h2,
.card h3,
.card h4,
.card h5,
.card h6 {
  margin-top: 0;
}

.form-search {
  position: relative;
}
.form-search input[type="text"] {
  width: 340px;
}

.dropdown-toggle-version {
  border-color: transparent;
  background: transparent !important;
  color: #666 !important;
}
.dropdown-toggle-version:hover,
.dropdown-toggle-version:active,
.dropdown-toggle-version:focus,
.dropdown-toggle-version:focus-within {
  color: #666 !important;
  background: transparent !important;
  border-color: #ccc;
}

/* .dropdown-toggle-font- {
  margin-right: 0.4rem;
} */

#versionSelectorMenu .dropdown-item {
  font-size: 0.9em;
}

.dropdown-main-selector {
  float: right;
  margin-top: 1.35em;
  margin-left: 0.3em;
}

.dropdown-main-selector .btn:hover {
  background: #fff;
  color: #666;
}

.dropdown-main-selector .btn:active,
.dropdown-main-selector .btn.active {
  background: #fff !important;
  color: #666 !important;
}

.dropdown-main-selector .dropdown-item {
  color: #333;
}

.dropdown-main-selector .dropdown-item.active,
.dropdown-main-selector .dropdown-item:active {
  background: #efefef;
  color: #333;
}

.search-results {
  width: 120%;
  left: auto;
  right: 0;
  box-shadow: 1px 1px 24px rgba(0, 0, 0, 0.2);
}

.search-results .dropdown-item {
  white-space: normal;
}

.search-results > .dropdown-header {
  color: #a1cc14;
  font-size: 1em;
  font-weight: 600;
}

.search-result-excerpt {
  font-size: 80%;
  color: #777;
}

.search-result-page {
  font-size: 90%;
  font-weight: 500;
}

.search-result-body {
  font-size: 85%;
  color: #777;
  overflow-wrap: break-word;
  max-width: 100%;
}

.search-results > a.focus,
.search-results > a.active {
  background: #efefef;
}

.search-results .dropdown-divider:last-child {
  display: none;
}

.form-control:focus,
.search-results a:focus {
  outline: none;
}

.noselect {
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none; /* Safari */
  -khtml-user-select: none; /* Konqueror HTML */
  -moz-user-select: none; /* Firefox */
  -ms-user-select: none; /* Internet Explorer/Edge */
  user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome and Opera */
}

.code-highlight-container {
  min-width: 90%;
}

.code-highlight {
  border-spacing: 0;
  border-collapse: collapse;
  border: none;
  min-width: 100%;
}

.code-highlight td {
  padding: 0;
  vertical-align: top;
}

.code-highlight td:first-child {
  width: 3%;
  min-width: 15px;
  max-width: 20px;
  text-align: right;
}

.code-highlight td:last-child {
  width: 97%;
}

.code-highlight td:first-child a {
  text-align: right;
  color: #5f5f5f;
  padding-left: 5px;
  display: block;
}

.code-highlight span.code-line {
  display: inline-block;
  padding-left: 18px;
  width: 100%;
}

/* .code-highlight td:first-child a:active, */
.code-highlight td:first-child a.active,
.code-highlight span.code-line.active {
  background: rgba(255, 255, 255, 0.09);
}

.code-highlight td:first-child a:active,
.code-highlight td:first-child a.active {
  color: rgb(255, 255, 220, 0.5);
}

mark {
  background: rgba(255, 153, 0, 0.2);
  color: black;
  padding: 1px;
}

a.link-404 {
  color: #d63e4d;
  text-decoration: underline;
}
