/**THIS IS SOME REALLY SHIT CSS;
 * WRITTEN FOR FUN, NOT TO LAST!
 */

/* Icons generated from Icomoon on 7/8/2020 */
@import url('https://i.icomoon.io/public/69485c64e8/ReadMeIcons/style.css');

/* Moved to styleguide.config.js to hijack import order */
/* @import url("https://unpkg.com/font-awesome@4.7.0/css/font-awesome.min.css"); */
/* @import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.11.2/css/all.min.css"); */

/* Proxima nova via TypeKit */
@import url("https://use.typekit.net/aow2tyw.css");

.cicd-badge {
  display: none !important;
}

[class*=rsg--content-] [class*=rsg--blockquote-] {
  --blq-bgc: rgba(224, 241, 254, .2);
  position: relative;
  z-index: 0;
  margin-right: 0;
  margin-left: -32px;
  padding-left: 32px;
  color: #777;
}
[class*=rsg--content-] [class*=rsg--blockquote-] a {
  color: #686868 !important;
  text-decoration: underline;
}
[class*=rsg--content-] [class*=rsg--blockquote-]:before {
  content: '';
  background-color: rgba(0, 142, 245, .15);
  z-index: 9999;
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
}
[class*=rsg--content-] [class*=rsg--blockquote-] > hr {
  border-bottom-color: rgba(0, 142, 245, .25);
}
[class*=rsg--blockquote-] > hr:last-child:before {
  content: ' ';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;

  background:
    linear-gradient(to top, rgba(255, 255, 255, 0) 50%, white),
    linear-gradient(to right, var(--blq-bgc) 68%, white);
}
[class*=rsg--blockquote-] > hr:first-child ~ hr:last-child:before {
  background: linear-gradient(to right, var(--blq-bgc) 68%, white);
}

[class*=rsg--content-] [class*=rsg--blockquote-] > hr:first-child,
[class*=rsg--content-] [class*=rsg--blockquote-] > hr:last-child {
  margin-left: -32px;
  padding-left: 32px;
}
[class*=rsg--content-] [class*=rsg--blockquote-] code[class*=rsg--code-] {
  background: #dfedfb !important;
}
[class*=rsg--content-] [class*=rsg--blockquote-] [class*=rsg--para-],
[class*=rsg--content-] [class*=rsg--blockquote-] [class*=rsg--baseColor-]{
  color: inherit !important;
}
[class*=rsg--]:not(pre):not(code) {
  font-family: proxima-nova, sans-serif !important;
}
[class*=rsg--root]:not(.rsg--root-1) {
  margin-bottom: 24px !important;
}
[class*=rsg--tab-] [class*=rsg--root][style] {
  /* force zed bottom margin on example codeblocks */
  margin-bottom: 0 !important;
}
[class*=rsg--root][data-testid*=example] [class*=rsg--tab-] * {
  font-family: Consolas, "Liberation Mono", Menlo, monospace !important;
}

[class*=rsg--spacing-] {
  margin-bottom: 8px !important;
}

h1[class*=rsg--],
h2[class*=rsg--],
h3[class*=rsg--],
h4[class*=rsg--],
h5[class*=rsg--],
h6[class*=rsg--] {
  font-weight: 700 !important;
}

[class*=rsg--spacing-] > h1[class*=rsg--],
[class*=rsg--spacing-] > h2[class*=rsg--],
[class*=rsg--spacing-] > h3[class*=rsg--],
[class*=rsg--spacing-] > h4[class*=rsg--],
[class*=rsg--spacing-] > h5[class*=rsg--],
[class*=rsg--spacing-] > h6[class*=rsg--] {
  margin-top: 0rem !important;
}

h3[class*=rsg--] {
  font-size: 28px !important;
  font-weight: 300 !important;
}

a[class*=rsg--link-] {
  color: #018ef5 !important;
}

[class*="rsg--item"] a {
  color: #333333 !important;
}
[class*="rsg--item"][class*="rsg--isSelected"] > a {
  color: #018ef5 !important;
}

[class*=rsg--logo] {
  color: inherit !important;
  font-weight: 900 !important;
  text-align: center !important;
}

[class*=rsg--search] {
  /* background: rgba(1, 142, 246, .125) !important; */
  border-bottom: 1px solid rgba(1, 142, 246, .2) !important;
}
[class*=rsg--search] > input {
  background: #FFF;
  border: 1px solid white !important;
  color: #018ef5 !important;
  padding: .5em !important;
  transition: .2s ease-out !important;
}

[class*=rsg--search] > input::placeholder {
  color: rgba(1, 142, 245, .5) !important;
  font-size: .8em !important;
  font-style: italic !important;
  text-transform: lowercase !important;
  transition: .3s ease-out !important;
}

[class*=rsg--search] > input:focus {
  /* background: rgba(1, 142, 245, .03) !important; */
  border-color: rgba(1, 142, 245, .38) !important;
  box-shadow: inset 4px 4px 8px -2px rgba(0, 0, 0, .0) !important;
}

[class*=rsg--search] > input:focus::placeholder {
  color: rgba(255, 255, 255, .3) !important;
}

[class*=rsg--search] > input:not(:focus) {
  background: rgba(1, 142, 245, .125) !important;
  color: #018ef5 !important;
}

summary[class*=rsg--summary-]:focus {
  outline: #acd3fb dotted 1px;
}

[class*=rsg--sectionName] {
  /* color: #018ef5 !important; */
}

[class*=rsg--sidebar] {
  background: white !important;
  border: none !important;
  box-shadow: 1px 0 0 rgba(1, 142, 246, .2) !important;
  color: #018ef5 !important;
}

header[class*=rsg--logo] {
  background: #018ef5;
}
header[class*=rsg--logo] [class*=rsg--logo] {
  color: white !important;
}

[class*=rsg--sidebar] > [class*=rsg--logo] {
  border-bottom-color: rgba(1, 142, 245, .25) !important;
}

header[class*="rsg--"] [class*=rsg--toolbar] {
  margin-left: 0 !important;
}

a[title="Open isolated"],
a[data-testid*="-isolate-button"] {
  opacity: 0.5;
  display: none !important;
}

/* header[class*=rsg--header] a[title*="all components"], */
header[class*=rsg--header] a[title="Open isolated"] {
  position: relative;
  display: inline-flex !important;
  align-items: center;
  transform: translateY(.25em);
  transition: .3s ease;
  color: #999 !important;
  outline: none !important;
}
header[class*=rsg--header] a[title="Open isolated"]:not(:hover) {
  transform: translateY(.125em) rotate(-45deg);
}
header[class*=rsg--header] a[title="Open isolated"]:after {
  content: 'Isolate...';
  position: absolute;
  left: 100%;
  font-size: .8em;
  white-space: nowrap;
  transition: inherit;
  pointer-events: none;
}
header[class*=rsg--header] a[title="Open isolated"]:not(:hover):after {
  transform: scale(0) rotate(45deg) translate(-.5em, 3em);
  opacity: 0;
}

article[class*=rsg--root] :first-child h1[class*=rsg--heading-]:first-child {
  display: none !important;
  user-select: none !important;
}

footer[class*=rsg--footer] {
  display: none !important;
}

li > a {
  font-weight: 400 !important;
}

li[class*=rsg--isSelected] > a {
  font-weight: 600 !important;
}

nav > ul[class*=rsg--list] > li:first-child > a {
  display: none !important;
}

[class*=rsg--pathline],
[class*=rsg--pathline] svg{
  display: none;
}

main[class*=rsg--content]:not(:only-child) {
  margin-left: 0;
}

[class*=rsg--preview] {
  border-radius: 4px 4px 0 0 !important;
}
[class*=rsg--preview] + [class*=rsg--controls] + [class*=rsg--tab] {
  margin-top: -5px;
  border-radius: 0 0 4px 4px;
  overflow: hidden;
  border: 1px #e8e8e8 solid;
  background: whitesmoke;
  line-height: 1.6 !important;
}
[class*=rsg--preview] + [class*=rsg--controls] + [class*=rsg--tab] textarea {
  border: none !important;
}
[class*=rsg--tabButtons] {
  display: none;
}
table[class*=rsg--table] {
  width: 100%;
  table-layout: auto;
  margin-bottom: 15px;
}

table[class*=rsg--table] th[class*=rsg--th-] {
  white-space: nowrap;
}

main[class*=rsg--content],
section[class*=rsg--root],
article[class*=rsg--root] {
  max-width: 75em;
}

main[class*=rsg--content]:not(:only-child) pre[class*=rsg--pre-] {
  border-radius: 0 3px 3px 0;
  padding-left: 32px;
  margin-left: -32px;
  white-space: pre;
  overflow-x: auto;
}

code[class*=rsg--code-] {
  font-size: .88em;
  background: whitesmoke;
  border-radius: 3px;
  padding: 1px 4px;
  margin: -2px;
  display: inline-block;
}

@media {
  /* GENERAL TABLES
   */
  article[class*=rsg--root] div table[class*=rsg--table-] tbody tr:nth-child(even) td {
    background: #f8f8f8;
  }
  article[class*=rsg--root] div table[class*=rsg--table-] tbody tr:nth-child(odd):last-child {
    border-bottom: 1px solid #e8e8e8 !important;
  }
  article[class*=rsg--root] div table[class*=rsg--table-] tbody th code:only-child,
  article[class*=rsg--root] div table[class*=rsg--table-] tbody td code:only-child {
    margin: 0 !important;
  }
}
@media {
  /* ARGUMENTS TABLE
   */
  [class*=rsg--tabBody] [class*=rsg--table-] [class*=rsg--cell-] [class*=rsg--para-] {
    margin: 2px 0 !important;
  }

  [class*=rsg--tabBody] [class*=rsg--table-] th:last-child,
  [class*=rsg--tabBody] [class*=rsg--table-] td:last-child {
    /** params table description cell
     */
    min-width: 35%;
  }
  [class*=rsg--tabBody] [class*=rsg--table-] {
    border-radius: 8px;
    overflow: hidden;
  }
  [class*=rsg--tabBody] [class*=rsg--table-] th,
  [class*=rsg--tabBody] [class*=rsg--table-] td {
    padding: .4em .8em;
    vertical-align: middle;
    text-align: left;
  }
  [class*=rsg--tabBody] [class*=rsg--table-] td {
    vertical-align: top;
  }
  [class*=rsg--tabBody] [class*=rsg--table-] tr:nth-child(even) td {
    background: #fafafa;
  }
  /* table > arguments
   */
  [class*=rsg--cell-] > [class*=rsg--root-]:only-child {
    margin-bottom: 0 !important;
  }
  [class*=rsg--cell-] [class*=rsg--root-] [class*=rsg--name-]:before {
    content: '';
    display: block;
  }
  [class*=rsg--cell-] [class*=rsg--root-] [class*=rsg--headingWrapper-] * {
    font-size: 13px !important;
  }
}

[class*=rsg--tabs-] {
  margin-bottom: 12px !important;
}

[class*=rsg--tabs-] table[class*=rsg--table] {
  margin-bottom: 0;
  table-layout: fixed;
}

a[class*=rsg--link-] {
  cursor: pointer;
}
a[class*=rsg--link-] > em,
a[class*=rsg--link-] > i,
a[class*=rsg--link-] > b,
a[class*=rsg--link-] > strong {
  color: inherit !important;
  cursor: inherit !important;
}
a[class*=rsg--link-] > code {
  cursor: inherit !important;
}

@media {
  /* code toggle buttons
   */
  [class*=rsg--preview] + [class*=rsg--controls] {
    /* display: none; */
    position: absolute;
    z-index: 1;
    right: 0;
    margin: -3px 0 0;
  }
  [class*=rsg--root][data-testid*=-example] {
    position: relative;
  }
  button[name*="rsg-code-editor"] {
    z-index: 1;
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    transform: translate(50%, -50%);
    width: 1.5rem;
    height: 1.5rem;
    padding: 0;
    border: none;
    border-radius: 100%;
    font-size: 0;
    background: #fff;
    transition: .3s ease, border-width 0s !important;
    border: 1px solid rgba(0,0,0,.15);
    /* border: 2px solid #e8e8e8; */
    box-sizing: content-box;
  }
  button[name*="rsg-code-editor"]:focus {
    outline: none !important;
  }
  button[name*="rsg-code-editor"]:hover {
    box-shadow: 0 0 8px -1px rgba(0, 0, 0, .15);
    transform: scale(1.2) translate(40%, -50%);
  }
  button[name*="rsg-code-editor"]:active {
    box-shadow: inset 2px 1px 4px -1px rgba(0, 0, 0, .1);
  }
  button[name*="rsg-code-editor"]:not([class*=rsg--isActive]) {
    background: #e5fff6;
  }
  button[name*="rsg-code-editor"]:not([class*=rsg--isActive]):hover {
    border-color: #13CCA0;
    border-width: 2px;
  }
  button[name*="rsg-code-editor"]:before {
    content: 'Code';
    z-index: -1;
    position: absolute;
    right: 100%;
    display: block;
    margin-top: 1px;
    margin-right: 6px;
    padding: 0 0 0 4px;
    box-shadow: 4px -2px 2px -1px #fcfcfc;
    white-space: nowrap;
    font-size: 10px;
    color: #384248b0 !important;
    background: linear-gradient(
      to bottom,
      white,
      whitesmoke 75%
    ) !important;
    /* background-color: #FFF !important; */

    transition: .3s 1s ease-out, font-weight .6s 0s, color .3s 0s, margin-right 0s 0s;
    pointer-events: none;
  }
  button[name*="rsg-code-editor"][class*=rsg--isActive]:before {
    content: 'Close';
    color: #E95F6A !important;
    font-weight: 700 !important;
    margin-right: 5px;
    background-color: rgba(255, 255, 255, 0) !important;
  }
  button[name*="rsg-code-editor"]:not([class*=rsg--isActive]):before {
    background: #FFF !important;
  }
  button[name*="rsg-code-editor"]:not(:hover):not(:active):before {
    opacity: 0;
    transition-delay: 0s;
  }
  button[name*="rsg-code-editor"]:after {
    content: '✚';
    font-size: 12px;
    font-family: helvetica neue;
    color: #13CCA0;
    transition: .3s ease-out;
  }
  button[name*="rsg-code-editor"]:active:after {
    opacity: .8;
  }
  button[name*="rsg-code-editor"][class*=rsg--isActive]:after {
    transform: rotate(45deg);
    color: #E95F6A;
  }
  [class*=rsg--preview] + [class*=rsg--controls] + [class*=rsg--tab]:empty {
    position: relative;
    height: 7px;
    margin-top: -10px;
    background: transparent;
    box-shadow: inset 0 0 0 5px #fff, -4px 4px 0 #fff;
    border-width: 0 1px 1px 1px;
  }
}

@media {
  /* [flex], flex {
    display: flex !important;
    flex-wrap: wrap;
    text-align: left;
    margin: .5em auto;
  }
  [flex="inline"] { display: inline-flex }

  [flex][direction="col"], flex[direction="col"] { flex-direction: column }
  [flex][direction="row"], flex[direction="row"] { flex-direction: row    }

  [flex][text="right"], flex[text="right"] { text-align: right }
  [flex][text="center"], flex[text="center"] { text-align: center }
  [flex][text="left"], flex[text="left"] { text-align: left }

  [flex][align="start"], flex[align="start"] { align-items: flex-start }
  [flex][align="end"], flex[align="end"] { align-items: flex-end }
  [flex][align="center"], flex[align="center"] { align-items: center }
  [flex][align="baseline"], flex[align="baseline"] { align-items: baseline }

  [flex][justify="center"], flex[justify="center"] { justify-content: center        }
  [flex][justify="between"], flex[justify="between"] { justify-content: space-between }
  [flex][justify="around"], flex[justify="around"] { justify-content: space-around  }
  [flex][justify="end"], flex[justify="end"] { justify-content: flex-end      }
  [flex][justify="start"], flex[justify="start"] { justify-content: flex-start    } */
}

@media {
  [data-testid=sidebar] nav ul > li > a {
    font-weight: bold !important;
    display: block !important;
    width: 100%;
    padding: .2em .4em !important;
    border-radius: 3px !important;
    transition: .3s ease-out !important;
  }
  [data-testid=sidebar] nav ul > li > a:hover {
    background-color: #f5f5f5;
  }
  [data-testid=sidebar] nav ul ul > li > a {
    font-weight: initial !important
  }
  [data-testid=sidebar] nav ul {
    position: relative;
  }
  [data-testid=sidebar] nav ul li {
    position: relative;
    z-index: 9;
  }
  [data-testid=sidebar] nav ul ul ul:before {
    position: absolute;
    bottom: 100%;
    right: 8px;
    display: inline-block;
    transform: translate(0, -70%);
    content: "\f054";
    font-family: "Font Awesome 5 Free", "FontAwesome";
    font-weight: 900;
    font-size: 10px;
    color: rgba(0, 0, 0, .25);
    color: rgba(1, 142, 245, 0.4);
    transition: .3s ease-out;
    pointer-events: none;
  }
  [data-testid=sidebar] nav ul ul ul[open]:before {
    color: rgba(1, 142, 245, 1);
    transform: translate(0, -150%) rotate(90deg);
    transition: .3s ease-out;
  }
  [data-testid=sidebar] nav [class*=rsg--search-] {
    margin-top: -2px;
    padding-top: 0;
    border-top: 2px solid #FFF !important;
    border-bottom: 1px solid #FFF !important;
  }
  [data-testid=sidebar] nav [class*=rsg--search-]:focus-within {
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 10;
    box-shadow: 0 4px 6px -2px rgba(50, 50, 50, .1);
  }
  [data-testid=sidebar] nav /* [class*=rsg--search-]:not(:focus-within) + */ ul ul ul:not([open]) {
    height: 0;
    padding: 0;
    margin: 0;
    position: absolute;
    right: 0;
    pointer-events: none;
  }
  [data-testid=sidebar] nav /* [class*=rsg--search-]:not(:focus-within) + */ ul ul ul:not([open]) > * {
    opacity: 0;
  }
  /* [data-testid=sidebar] nav [class*=rsg--search-]:focus-within + ul ul ul:before {
    display: none !important;
  } */
  [data-testid=sidebar] nav > ul > li > ul[open] > li[class*=rsg--isSelected-] > a {
    background-color: #f5f5f5;
  }

  [data-testid=sidebar] nav li > a[href="https://github.com/readmeio/ui.git"],
  [data-testid=sidebar] nav li > a[href="https://www.npmjs.com/package/@readme/ui"] {
    display: flex !important;
    align-items: center;
    padding-top: 0.35em !important;
    padding-bottom: 0.35em !important;
  }
  [data-testid=sidebar] nav li > a[href="https://github.com/readmeio/ui.git"]:before,
  [data-testid=sidebar] nav li > a[href="https://github.com/readmeio/ui.git"]:after,
  [data-testid=sidebar] nav li > a[href="https://www.npmjs.com/package/@readme/ui"]:before,
  [data-testid=sidebar] nav li > a[href="https://www.npmjs.com/package/@readme/ui"]:after {
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-family: "Font Awesome 5 Free";
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
  }
  [data-testid=sidebar] nav li > a[href="https://github.com/readmeio/ui.git"]:before,
  [data-testid=sidebar] nav li > a[href="https://www.npmjs.com/package/@readme/ui"]:before {
    order: -1;
    font-family: "Font Awesome 5 Free";
    margin-right: 6px;
  }
  [data-testid=sidebar] nav li > a[href="https://github.com/readmeio/ui.git"]:before {
    content: "\f09b";
    font-family: "Font Awesome 5 Brands";
    margin-top: -.1em;
  }
  [data-testid=sidebar] nav li > a[href="https://www.npmjs.com/package/@readme/ui"]:before {
    content: "\f49e";
    margin-right: 5px;
    margin-left: -1px;
    margin-top: -1px;
  }
  [data-testid=sidebar] nav li > a[href="https://github.com/readmeio/ui.git"]:after,
  [data-testid=sidebar] nav li > a[href="https://www.npmjs.com/package/@readme/ui"]:after {
    order: 3;
    content: "\f35d";
    margin-left: auto;
    font-size: .75em;
    opacity: 0.3;
    transition: .2s .1s ease-out;
  }
  [data-testid=sidebar] nav li > a[href="https://github.com/readmeio/ui.git"]:not(:hover):after,
  [data-testid=sidebar] nav li > a[href="https://www.npmjs.com/package/@readme/ui"]:not(:hover):after {
    opacity: 0;
  }
}

@media {
  /* center isolated view vertically
   */
  main[class*=rsg--content-]:only-child {
    display: flex !important;
    min-height: 100vh !important;
  }

  main[class*=rsg--content-]:only-child > :first-child {
    min-width: 100%;
    margin-top: auto !important;
    margin-bottom: auto !important;
  }

  main[class*=rsg--content-]:only-child > :first-child > :last-child,
  main[class*=rsg--content-]:only-child > :first-child > :last-child [class*=rsg--root-]:last-child {
    margin-bottom: 0 !important;
  }
}

@media {
  /** rsg--details
   */
  details[class*=rsg--details-] > summary[class*=rsg--summary-] {
    padding: .5em 0;
    user-select: none;
    cursor: default;
  }
  details[class*=rsg--details-] > *:not(summary) {
    margin-left: 1.2rem;
  }
  details[class*=rsg--details-] > ul {
    padding-left: 0;
  }
}

@media {
  img[align=right] {
    margin-left: 1em;
  }
  img[align=left] {
    margin-right: 1em;
  }
}

article[data-testid="Overview-examples"] a[href="https://readmeio.github.io/ui/"] {
  color: #333333 !important;
  margin-top: -16px;
  display: block;
}

header[class*=rsg--logo] > h1:only-child {
  color: white;
  margin: 0;
  font-size: inherit;
}

@media {
  div[data-testid] > header[class*=rsg--header-]:first-child,
  div[data-testid] > header[class*=rsg--header-]:first-child > [class*="rsg--wrapper-"] {
    margin-bottom: 0 !important;
  }

  div[data-testid] + div[data-testid] > header[class*=rsg--header-]:first-child {
    margin-top: 48px !important;
  }
}

@media {
  [class*=rsg--tabBody-] table[class*=rsg--table-] th *,
  [class*=rsg--tabBody-] table[class*=rsg--table-] td * {
    font-size: 13px !important;
  }
}

@media {
  [class*=rsg--para-]:first-child { margin-top:    0 !important; }
  [class*=rsg--para-]:only-child  { margin-top:    0 !important;
                                    margin-bottom: 0 !important; }
}

@media {
  [flags~=isolated] [class*=rsg--blockquote-] {
    margin-left: 0;
    padding-left: 20px;
    box-sizing: border-box;
    max-width: 100%;
  }

  [flags~=isolated] [class*=rsg--blockquote-] > hr:first-child,
  [flags~=isolated] [class*=rsg--blockquote-] > hr:last-child {
    margin-left: -20px;
    padding-left: -20px;
  }
}

@media {
  #rsg-root > [class*=rsg--hasSidebar-] {
    display: flex;
    justify-content: center;
    max-height: 100vh;
    padding-left: 0;
    overflow: auto;
  }
  #rsg-root > [class*=rsg--hasSidebar-] [class*=rsg--content-] {
    margin: 0;
  }
  #rsg-root > [class*=rsg--hasSidebar-] [class*=rsg--sidebar-] {
    position: sticky;
    top: 0;
    order: -1;
    border-left: 1px solid rgba(1, 142, 246, .2) !important;
  }
  #rsg-root > [class*=rsg--hasSidebar-] [class*=rsg--sidebar-] header[class*=rsg--logo-] {
    background: transparent !important;
  }
  #rsg-root > [class*=rsg--hasSidebar-] [class*=rsg--sidebar-] [class*=rsg--logo-] > h1 {
    color: #018ef5 !important;
  }
  #rsg-root > [class*=rsg--hasSidebar-] [class*=rsg--sidebar-] [class*=rsg--search-] {
    padding: 10px;
  }
  #rsg-root > [class*=rsg--hasSidebar-] [class*=rsg--sidebar-] [class*=rsg--search-] + [class*=rsg--list-] {
    padding: 0 10px;
  }
}
@media {
  [class*=rsg--logo-] > h1:before {
    /* prefix title with ReadMe's logo */
    content: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA2MC4xIDQzLjciPjxkZWZzLz48cGF0aCBmaWxsPSIjMDE4ZWY1IiBkPSJNNTUgMEg0MC42QTEwLjcgMTAuNyAwIDAwMzAgOC40IDEwLjcgMTAuNyAwIDAwMTkuNiAwSDVhNSA1IDAgMDAtNSA1djI1LjZhNSA1IDAgMDA1IDVoOS4zYzEwLjYgMCAxMy44IDIuNiAxNS4zIDcuOGEuMy4zIDAgMDAuMy4yLjMuMyAwIDAwLjQtLjJjMS41LTUuMiA0LjctNy44IDE1LjMtNy44SDU1YTUgNSAwIDAwNS01VjVhNSA1IDAgMDAtNS01ek0yNS4zIDI3LjZhLjQuNCAwIDAxLS4zLjRIOC4yYS40LjQgMCAwMS0uNC0uNHYtMi40YS40LjQgMCAwMS40LS4zaDE2LjdhLjQuNCAwIDAxLjMuNHYyLjN6bTAtNi4zYS40LjQgMCAwMS0uMy4zSDguMmEuNC40IDAgMDEtLjQtLjN2LTIuNGEuNC40IDAgMDEuNC0uM2gxNi43YS40LjQgMCAwMS4zLjN2Mi40em0wLTYuNGEuNC40IDAgMDEtLjMuNEg4LjJhLjQuNCAwIDAxLS40LS40di0yLjNhLjQuNCAwIDAxLjQtLjRoMTYuN2EuNC40IDAgMDEuMy40VjE1em0yNyAxMi43YS40LjQgMCAwMS0uMy40SDM1LjJhLjQuNCAwIDAxLS40LS40di0yLjRhLjQuNCAwIDAxLjQtLjNoMTYuN2EuNC40IDAgMDEuMy4zdjIuNHptMC02LjNhLjQuNCAwIDAxLS4zLjNIMzUuMmEuNC40IDAgMDEtLjQtLjN2LTIuNGEuNC40IDAgMDEuNC0uNGgxNi43YS40LjQgMCAwMS4zLjR2Mi40em0wLTYuNGEuNC40IDAgMDEtLjMuNEgzNS4yYS40LjQgMCAwMS0uNC0uNHYtMi4zYS40LjQgMCAwMS40LS40aDE2LjdhLjQuNCAwIDAxLjMuNFYxNXoiLz48L3N2Zz4=);
    display: inline-block;
    width: 1.2em;
    vertical-align: -2px;
    margin: 0 4px 0 0;
    background-size: contain;
  }
  html[flags~=isolated]:not([flags~=home]) body:before {
    /* show rdme ui logo on isolated prod pages */
    content: 'UI';
    position: fixed;
    z-index: 9999999;
    bottom: .4em;
    right: 0;
    background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA2MC4xIDQzLjciPjxkZWZzLz48cGF0aCBmaWxsPSIjMDE4ZWY1IiBkPSJNNTUgMEg0MC42QTEwLjcgMTAuNyAwIDAwMzAgOC40IDEwLjcgMTAuNyAwIDAwMTkuNiAwSDVhNSA1IDAgMDAtNSA1djI1LjZhNSA1IDAgMDA1IDVoOS4zYzEwLjYgMCAxMy44IDIuNiAxNS4zIDcuOGEuMy4zIDAgMDAuMy4yLjMuMyAwIDAwLjQtLjJjMS41LTUuMiA0LjctNy44IDE1LjMtNy44SDU1YTUgNSAwIDAwNS01VjVhNSA1IDAgMDAtNS01ek0yNS4zIDI3LjZhLjQuNCAwIDAxLS4zLjRIOC4yYS40LjQgMCAwMS0uNC0uNHYtMi40YS40LjQgMCAwMS40LS4zaDE2LjdhLjQuNCAwIDAxLjMuNHYyLjN6bTAtNi4zYS40LjQgMCAwMS0uMy4zSDguMmEuNC40IDAgMDEtLjQtLjN2LTIuNGEuNC40IDAgMDEuNC0uM2gxNi43YS40LjQgMCAwMS4zLjN2Mi40em0wLTYuNGEuNC40IDAgMDEtLjMuNEg4LjJhLjQuNCAwIDAxLS40LS40di0yLjNhLjQuNCAwIDAxLjQtLjRoMTYuN2EuNC40IDAgMDEuMy40VjE1em0yNyAxMi43YS40LjQgMCAwMS0uMy40SDM1LjJhLjQuNCAwIDAxLS40LS40di0yLjRhLjQuNCAwIDAxLjQtLjNoMTYuN2EuNC40IDAgMDEuMy4zdjIuNHptMC02LjNhLjQuNCAwIDAxLS4zLjNIMzUuMmEuNC40IDAgMDEtLjQtLjN2LTIuNGEuNC40IDAgMDEuNC0uNGgxNi43YS40LjQgMCAwMS4zLjR2Mi40em0wLTYuNGEuNC40IDAgMDEtLjMuNEgzNS4yYS40LjQgMCAwMS0uNC0uNHYtMi4zYS40LjQgMCAwMS40LS40aDE2LjdhLjQuNCAwIDAxLjMuNFYxNXoiLz48L3N2Zz4=);
    background-repeat: no-repeat;
    background-size: 1.2em auto;
    background-position: left .4em bottom 2px;
    padding: .4em .4em  0 1.7em;
    display: inline-block;
    margin: 0 4px 0 0;
    color: #018ef5;
    font-weight: 800;
    display: flex;
    white-space: nowrap;
    pointer-events: none;
  }
}

[class*=rsg--header-] > [class*=rsg--wrapper-]:first-child + div:not([class]) {
  /* force-hide component pathline on github */
  display: none !important;
}

@media {
  [data-testid=sidebar] nav > ul > li > ul {
    margin-bottom: 16px !important;
    padding-left: 0;
  }
  [data-testid=sidebar] nav li:last-of-type {
    margin-bottom: 0 !important;
  }
}

@media {
  [env=local] {
    position: relative;
    padding: 1em 1em 0;
    border-radius: 4px;
    background: #eef7fe;
    border: 1px solid #c6e2fc;
  }
  [env=local] code {
    background: #d5e2ef !important;
  }
  [env=local]:before {
    content: "Internal Docs";
    position: absolute;
    top: 0;
    left: 0;
    padding: .15em .3em;
    transform: translate(-12.5%, -50%);
    box-shadow: .5px 1.5px 5px 0px rgba(0, 70, 121, .15);
    font-size: .75em;
    font-weight: 800;
    background: white;
    color: #018ef5;
    border: inherit;
    border-color: rgba(1, 142, 245, .3);
    border-radius: 3px;
  }
}

@media {
  [data-testid="sidebar"] nav > ul > li:nth-last-child(2) {
    border-bottom: .9px solid #d2e9fd;
  }
  [data-testid="sidebar"] nav > ul > li:last-child {
    position: sticky;
    bottom: 0;
    background: linear-gradient(to top, rgba(255, 255, 255, .96) 60%, transparent);
    margin: 10px -10px;
    padding: 5px 10px;
    z-index: 10;
  }
  [data-testid="sidebar"] nav > ul > li:last-child > a {
    border: .9px solid rgba(0,0,0,0);
  }
  [data-testid="sidebar"] nav > ul > li:last-child > a:hover {
    border-color: rgba(0,0,0,.1);
  }
  [data-testid="sidebar"] nav > ul > li:last-child > a:hover:not(:active) {
    box-shadow: 0 -2px 8px -2px rgba(0, 0, 0, .09);
  }
}
