/* Custom Docsify Theme for AEP Transplant */

html,
body {
    background-color: #e8e8e8 !important;
}
.sidebar::-webkit-scrollbar {
  width: 6px;
}
.sidebar::-webkit-scrollbar-thumb {
  background: #4d4d4d;
  border-radius: 4px;
}
.sidebar:hover::-webkit-scrollbar-thumb {
  background: rgb(136, 136, 136);
}
.sidebar:hover::-webkit-scrollbar-track {
  background: rgba(136,136,136,0.4);
}
.content {
    background-color: #e8e8e8 !important;
}

#sidebar,
.sidebar {
    background-color: #1e1e1e !important;
    background-image: url('assets/BG_Sidebar.svg') !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    background-position: right center !important;
}

#sidebar a,
.sidebar-nav a {
    color: #EB6669;
}

.markdown-section,
#main,
.content {
    background-color: #e8e8e8;
    color: #1a1a1a;
}

.markdown-section a,
#main a,
.content a {
    color: #EB6669;
    text-decoration: none;
}
.markdown-section a:hover {
  text-decoration: underline !important;
}

.anchor span {
    color: #1e1e1e;
}

.sidebar ul li a {
    color: #B04C4F !important;
    font-size: 16px;
    font-weight: 700 !important;
}

.sidebar ul li ul li a {
    color: #e8e8e8 !important;
    font-size: 14px;
    font-weight: 600 !important;
}

.sidebar ul li.active > a,
.sidebar ul li ul li.active > a {
    font-weight: 900 !important;
}

.sidebar ul li a:hover {
    text-decoration: underline;
}

.sidebar ul,
.sidebar ul ul {
    margin: 0 !important;
    padding: 0 !important;
}

.sidebar ul li {
    margin: 6px 0px 0px 20px !important;
    position: relative !important;
}

.sidebar ul li.active::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 4px;
    height: 100%;
    background: #EB6669;
}

.markdown-section code {
    background-color: #ffffff;
    border-radius: 2px;
    color: #EB6669;
    font-family: 'Roboto Mono', Monaco, courier, monospace;
    margin: 0 2px;
    padding: 3px 5px;
    white-space: pre-wrap;
}

section.cover {
    background-repeat: no-repeat !important;
    background-position: center center !important;
    background-size: cover !important;
    z-index: 100;
    background-image: url('assets/BG.svg') !important;
    height: 100vh;
    height: 100dvh;
}

.app-nav {
    margin: 10px 25px;
    position: absolute;
    z-index: 1;
}

.app-nav a {
    color: #4d4d4d;
    font-size: 14px;
    text-decoration: none;
    transition: color 0.3s;
}

.app-nav p {
    display: inline-flex !important;
    align-items: center;
    gap: 1.5rem !important;
    margin: 0 !important;
    padding: 0 !important;
}

.app-nav p>a {
    text-decoration: none !important;
}

.github-corner {
    display: none !important;
}

.sidebar>h1 img {
    width: 250px !important;
    height: auto !important;
    display: block;
    margin: 0 auto 1rem;
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    margin: 1.5em 0;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.markdown-section hr {
    border: none;
    height: 1px;
    background-color: #bdbdbd;
    margin: 2em 0;
}

section.cover.show .cover-main p.cover-intro {
    color: #ffffff;
    font-weight: 400;
    margin: 0.5em;
    margin-top: 1.5em;
    padding-left: 25px;
    padding-right: 25px;
    font-size: 1.3rem;
    line-height: 1.4em;
    text-wrap: balance;
}

section.cover.show .cover-main p.cover-description {
    max-width: 520px;
    margin: 1em auto;
    padding: 20px;
    text-align: center;
    color: #ffffff;
}

section.cover .cover-main>p:last-child a {
    background-color: #EB6669 !important;
    border: 1px solid #EB6669 !important;
    color: #fff !important;
}

section.cover .cover-main>p:last-child a:hover {
    background-color: #ffffff !important;
    border-color: #ffffff !important;
    color: #1e1e1e !important;
    opacity: 1 !important;
}

:root {
  --theme-color: #EB6669;
}

.search input[type="search"] {
  background-color: rgba(235, 102, 105, 0.12) !important;
  border-color: rgba(235, 102, 105, 0.3) !important;
  color: #e8e8e8 !important;
}

.search input[type="search"]::placeholder {
  color: #9594C8 !important;
  opacity: 1 !important;
}


.search input[type="search"]:focus {
  outline: none !important;
  background-color: rgba(235, 102, 105, 0.2) !important;
  border-color: #EB6669 !important;
  box-shadow: 0 0 0 2px rgba(235, 102, 105, 0.5) !important;
  z-index: 100;
}

.search .search-keyword {
  color: #EB6669 !important;
}

.search a:hover {
  color: #EB6669 !important;
}

.markdown-section h1,
.markdown-section h2,
.markdown-section h3,
.markdown-section h4,
.markdown-section strong {
  color: #1e1e1e;
  font-weight: 600;
}

.markdown-section pre > code {
  background-color: #d5d5d5;
  border-radius: 15px;
  color: #1e1e1e;
  padding: 1.2em 15px;
  white-space: pre-wrap;
  border: 1px solid #a9a9a9;
}

.markdown-section pre {
  background-color: transparent;
  padding: 0;
}

.markdown-section figure, .markdown-section p, .markdown-section ul, .markdown-section ol {
    margin: 0.2em 0;
}

.markdown-section ol li::marker {
  color: #EB6669;
  font-weight: bold;
  font-size: 1.1em;
}

.markdown-section ul li::marker {
  color: #EB6669;
  font-size: 1.2em;
}

.sidebar ul > li > ul > li > ul > li > a {
  color: #8e8e8e !important;
  font-size: 13px;
  padding-left: 5px;
}

.sidebar ul > li > ul > li > ul > li.active > a {
  color: #8e8e8e;
  font-weight: 600;
}

.responsive-logo {
    width: 35%;
    max-width: 240px;
    height: auto;
    display: block;
    margin: 20px auto;
}

@media screen and (max-width: 768px) {
    .markdown-section {
        max-width: none;
        padding: 60px 30px 0 30px;
    }
    .content {
        padding-top: 60px;
    }
}

.sidebar-toggle {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    bottom: auto !important;
    right: auto !important;
    padding: 15px 15px 15px 15px !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    z-index: 999 !important;
    cursor: pointer;
    font-size: 24px;
    line-height: 1;
}

@media screen and (max-width: 768px) {
    .markdown-section {
        padding-left: 40px !important;
    }
}

.content, .sidebar {
    padding-top: 35px !important;
}

.markdown-section table td {
  padding: 1.5em 1em;
}

.markdown-section table th {
  background-color: #1e1e1e !important;
  color: #fff;
}

.markdown-section table tr:nth-child(odd) td {
  background-color: #ffffff;
}

.markdown-section table tr:nth-child(even) td {
  background-color: #f3f3f3;
}

.markdown-section table .alert-note {
  background-color: #eaeaea;
  border-style: solid;
  border-color: #bdbdbd;
  color: #EB6669;
  padding: .6em 1em;
  border-radius: 4px;
  margin-top: 0.5em;
  display: inline-block;
}
