[data-theme='dark'] {
  /* Change autocomplete styles in WebKit */
  input:-webkit-autofill,
  input:-webkit-autofill:hover,
  input:-webkit-autofill:focus,
  textarea:-webkit-autofill,
  textarea:-webkit-autofill:hover,
  textarea:-webkit-autofill:focus,
  select:-webkit-autofill,
  select:-webkit-autofill:hover,
  select:-webkit-autofill:focus {
    border: 1px solid @border-color-base;
    -webkit-text-fill-color: @text-color;
    box-shadow: none;
    transition: background-color 5000s ease-in-out 0s;
  }

  #header {
    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.65);
  }

  h1, h2, h3, h4, h5, h6 {
    margin-bottom: .5em;
    color: rgba(255,255,255,.85);
    font-weight: 500;
  }

  #search-box input {
    &::placeholder {
      color: fade(@white, 30%);
    }
  }

  .drawer-button {
    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.65);
  }

  @media (max-width: @mobile-max) {
    .header-menu .menu-site {
      background: transparent;
    }
  }

  .toc {
    border-left: 1px solid rgba(255,255,255,.65);
    a {
      color: rgba(255,255,255,.65);
    }
  }

  .toc-affix {
    .ant-affix {
      background: @component-background;
    }
  }

  :not(pre) > code[class*='language-'],
  pre[class*='language-'] {
    color: rgba(255, 255, 255, 0.65);
    background: #262626;
  }

  .code-box {
    border: 1px solid @border-color-split;
    .markdown {
      pre {
        margin: 0.5em 0;
        padding: 6px 12px;
      }
    }
    pre code {
      margin: 0;
      color: rgba(255, 255, 255, 0.85);
      background: rgb(20, 20, 20);
    }
    &-debug {
      border-color: @purple-3;
    }

    .code-box-title {
      color: #fff;
      background: rgb(20, 20, 20);
    }

    .code-box-meta {
      border-bottom: 1px dashed #303030;;
    }

    .code-box-demo {
      color: #fff;
    }

    .code-box-actions {
      border-top: 1px dashed #303030;
    }

    .edit-button {
      color: #fff;
      background: rgb(20, 20, 20);
    }

    &-expand-trigger {
      position: relative;
      margin-left: 12px;
      color: #fff;
      font-size: 20px;
      cursor: pointer;
      opacity: 0.45;
      transition: all 0.3s;
      &:hover {
        opacity: 0.65;
      }
    }

    &-demo {
      border-bottom: 1px solid @border-color-split;
    }

    &-codepen {
      background: transparent url('https://gw.alipayobjects.com/zos/antfincdn/1B3MOCiI5F/OtZslpOjYXijshDERXwc.svg') center / 14px no-repeat;
    }

    &-riddle {
      background: transparent url('https://gw.alipayobjects.com/zos/antfincdn/NByOhhT9rO/DlHbxMCyeuyOrqOdbgik.svg') center / 14px no-repeat;
    }

    &-codesandbox {
      background: transparent url('https://gw.alipayobjects.com/zos/antfincdn/hNEf2p1ZnS/aaYmtdDyHSCkXyLZVgGK.svg') center / 14px no-repeat;
    }

    .highlight pre {
      background: @component-background;
    }
  }

  .footer__wrap {
    background: #000;
  }

  .code-box-actions {
    color: rgba(255, 255, 255, 0.85);
  }

  ul.anticons-list {
    li {
      color: #acacac;
      &.TwoTone:hover {
        background-color: #15395b;
      }
      &:hover {
        .anticon {
          color: #fff;
        }
      }
    }
  }

  .markdown {
    color: #fff;
    code,
    pre,
    pre code {
      color: rgba(255,255,255,.65) ;
      background: #262626;
      border: 1px solid #303030;

    }
    .markdown table {
      td, th {
        border: 1px solid #4d545f;
      }
    }
  }

  .markdown.api-container {
    table {
      border: 1px solid #303030;
      tbody tr {
        &:hover {
          background: rgba(255,255,255,.08);
        }
      }
      td, th {
        border: 1px solid #4d545f;
      }
      td:first-child {
        color: #1e62c3;
      }
    }
  }

  .markdown code {
    background: fade(@white, 8%);
  }

  .prev-next-nav {
    border-top: 1px solid #303030;
    > a.prev-page {
      .footer-nav-icon-before {
        color: fade(@white, 45%);
      }

      &:hover .footer-nav-icon-before {
        left: -3px;
        color: @primary-color;
      }
    }

    > .next-page {
      .footer-nav-icon-after {
        color: fade(@white, 45%);
      }

      &:hover .footer-nav-icon-after {
        right: -3px;
        color: @primary-color;
      }
    }
  }

  .grid-demo,
  [id^='components-grid-demo-'] {
    .demo-row,
    .code-box-demo .demo-row {
      background-image: linear-gradient(
        90deg,
        #1d1d1d 4.16666667%,
        transparent 4.16666667%,
        transparent 8.33333333%,
        #1d1d1d 8.33333333%,
        #1d1d1d 12.5%,
        transparent 12.5%,
        transparent 16.66666667%,
        #1d1d1d 16.66666667%,
        #1d1d1d 20.83333333%,
        transparent 20.83333333%,
        transparent 25%,
        #1d1d1d 25%,
        #1d1d1d 29.16666667%,
        transparent 29.16666667%,
        transparent 33.33333333%,
        #1d1d1d 33.33333333%,
        #1d1d1d 37.5%,
        transparent 37.5%,
        transparent 41.66666667%,
        #1d1d1d 41.66666667%,
        #1d1d1d 45.83333333%,
        transparent 45.83333333%,
        transparent 50%,
        #1d1d1d 50%,
        #1d1d1d 54.16666667%,
        transparent 54.16666667%,
        transparent 58.33333333%,
        #1d1d1d 58.33333333%,
        #1d1d1d 62.5%,
        transparent 62.5%,
        transparent 66.66666667%,
        #1d1d1d 66.66666667%,
        #1d1d1d 70.83333333%,
        transparent 70.83333333%,
        transparent 75%,
        #1d1d1d 75%,
        #1d1d1d 79.16666667%,
        transparent 79.16666667%,
        transparent 83.33333333%,
        #1d1d1d 83.33333333%,
        #1d1d1d 87.5%,
        transparent 87.5%,
        transparent 91.66666667%,
        #1d1d1d 91.66666667%,
        #1d1d1d 95.83333333%,
        transparent 95.83333333%
      );
    }
    .code-box-demo .ant-row > div:not(.gutter-row) {
      padding: 16px 0;
      background: #028ac8;
      &:nth-child(2n + 1) {
        background: fade(#0088c6, 70%);
      }
    }
    .ant-row .demo-col,
    .code-box-demo .ant-row .demo-col {
      margin-top: 0;
      margin-bottom: 0;
      padding: 30px 0;
      color: @black;
      font-size: 18px;
      text-align: center;
      border: none;
    }
    .ant-row .demo-col-1 {
      background: fade(#0088c6, 70%);
    }
    .ant-row .demo-col-3,
    .code-box-demo .ant-row .demo-col-3 {
      color: @site-text-color-secondary;
      background: unset;
    }
    .ant-row .demo-col-5,
    .code-box-demo .ant-row .demo-col-5 {
      color: @site-text-color-secondary;
      background: unset;
    }
  }

  .markdown > table th {
    color: fade(@white, 65%);
    background: #1d1d1d;
  }

  .copied-code {
    background: fade(@white, 8%);
  }

  .browser-mockup.with-url::after {
    background-color: @component-background;
  }

  .browser-mockup {
    border-top: 2em solid #303030;
  }

  .browser-mockup::before {
    background-color: #fb4742;
    box-shadow: 0 0 0 2px #fb4742, 1.5em 0 0 2px #99bc2e, 3em 0 0 2px #ffba5a;
  }

  .browser-mockup::after {
    border-bottom: 2em solid @component-background;
  }

  .browser-scroll {
    background: #262626;
  }

  .algolia-autocomplete {
    .ds-dropdown-menu {
      [class^='ds-dataset-'] {
        background: @popover-background;
        .algolia-docsearch-suggestion {
          background: @popover-background;
        }
      }
      .ds-suggestion.ds-cursor {
        .algolia-docsearch-suggestion:not(.suggestion-layout-simple) {
          .algolia-docsearch-suggestion--content {
            background-color: fade(@white, 8%);
          }
        }
      }
    }
    .algolia-docsearch-suggestion--category-header {
      color: rgba(255, 255, 255, 0.65);
      border-bottom: 1px solid @border-color-split;
    }
    .algolia-docsearch-suggestion--subcategory-column::before {
      background: @border-color-split;
    }
    .algolia-docsearch-suggestion--content {
      &::before {
        background: @border-color-split;
      }
    }
  }

  code[class*='hljs'],
  pre[class*='hljs'] {
    text-shadow: none;
  }

  .hljs-comment,
  .hljs-quote {
    color: #b6b18b;
  }

  .hljs-variable,
  .hljs-template-variable,
  .hljs-tag,
  .hljs-name,
  .hljs-selector-id,
  .hljs-selector-class,
  .hljs-regexp,
  .hljs-deletion {
    color: #eb3c54;
  }

  .hljs-number,
  .hljs-built_in,
  .hljs-builtin-name,
  .hljs-literal,
  .hljs-type,
  .hljs-params,
  .hljs-meta,
  .hljs-link {
    color: #e7ce56;
  }

  .hljs-attribute {
    color: #ee7c2b;
  }

  .hljs-string,
  .hljs-symbol,
  .hljs-bullet,
  .hljs-addition {
    color: @primary-color;
  }

  .hljs-title,
  .hljs-section {
    color: #78bb65;
  }

  .hljs-keyword,
  .hljs-selector-tag {
    color: #b45ea4;
  }

  .hljs {
    display: block;
    padding: 0.5em;
    overflow-x: auto;
    color: #c0c5ce;
    background: #1c1d21;
  }

  .hljs-emphasis {
    font-style: italic;
  }

  .hljs-strong {
    font-weight: bold;
  }

  // Index
  &.index-page {
    background: @component-background;
    #header {
      box-shadow: none;
    }
    .page-banner__slogan {
      color: @text-color;
    }
  }
}
  
.main-menu-col {
  z-index: 100 !important;
  background: @component-background;
}