/* place your custom CSS overrides here */
html, body {
    background-color: #fff;
}
.content h1, .content h2, .content h3, .content h4, .content h5, .content h6, html, body {
    font-family: Avenir, Segoe UI, Roboto, Helvetica Neue, Ubuntu, sans-serif;;
}
.content > h1, .content > h2, .content > h3, .content > h4, .content > h5, .content > h6, .content > p, .content > table, .content > ul, .content > ol, .content > aside, .content > dl {
    padding-left: 0;
}

.content {
    padding: 30px;
}
.content a {
    color: #008888;
    text-decoration: none;
}

.content a:hover {
    text-decoration: underline;
}

.content ul {
    list-style: none;
}
.page-wrapper{
    background-color: #FAFBFC;
}
.content h1 {
    background-color: inherit;
    border-bottom: none;
    border-top: 1px solid #D7D9DB;
    padding-top: 30px;
    margin-bottom: 0px;
    margin-right: 0;
}
.content h2 {
    border-top: 1px solid #D7D9DB;
    color: #31393B;
    padding-bottom: 0;
    background-image: none;
    margin-right: 0;
}

.content blockquote:first-of-type {
    margin-bottom: 30px;
}

.content aside.warning {
    background-color: #FAFBFC;
}
.content aside.success {
    background-color: #FAFBFC;
    color: #008888;
    font-weight: bold;
}

.content table th {
    border: 1px solid #D7D9DB;
    color: #31393B;
    text-transform: uppercase;
}
.content table td {
    border: 1px solid #D7D9DB;
}

.content code {
    background-color: #fff;
    border: 1px solid #D7D9DB;
    padding: 3px;
}

.content pre code {
    border: none;
}

.toc-wrapper {
    background-color: #fff;
    border-right: 1px solid #D7D9DB;
}
.toc-link {
    background-color: #fff;
    color: #31393B;
    font-size: 16px;
    font-weight: normal;
    line-height: normal;
    overflow-x: unset;
    padding: 8px 15px;
    text-overflow: unset;
    white-space: unset;
}
.toc-wrapper .toc-link.active {
    background-color: #FAFBFC;
    color: #31393B;
}
.toc-wrapper .toc-link.active-parent {
    background-color: #FAFBFC;
    color: #31393B; 
}
.toc-wrapper .toc-list-h2 {
    background-color: #fff;
}
.toc-wrapper .toc-h2 {
    color: #757475;
    font-size: 14px;
}

.toc-wrapper > .search input {
    background: #fff;
    border-color: #D7D9DB;
    color: #31393B;
    font-size: 16px;
    font-weight: normal;
}
.toc-wrapper > .search:before {
    top: 20px;
    color: #008888; 
}
.toc-wrapper .search-results {
    background: #FAFBFC;
}
.toc-wrapper .search-results a {
    color: #31393B;
    font-size: 14px;
    font-weight: normal;
}

.toc-wrapper .toc-footer {
    border-top: none; 
}

.content pre, .content blockquote {
    background-color: #250660;
    border: none;
}

.content pre {
    margin-bottom: 30px;
}

.content blockquote > p {
    background-color: #1F0453;
}

.page-wrapper .dark-box {
    background-color: #FAFBFC;
}
.page-wrapper .lang-selector {
    background-color: #FAFBFC;
    border-bottom: 5px solid #FAFBFC;
}
.lang-selector a {
    color: #1F0453;
}
.lang-selector a:active, .lang-selector a:focus {
    background-color: #1F0453;
}
.lang-selector a.active {
    background-color: #1F0453;
}

/* dark mode */


@media (prefers-color-scheme: dark) {
    html, body {
      color: #eee;
      background: #1B0743;
    }
    .page-wrapper{
        background-color: #1B0743;
    }
    .page-wrapper .dark-box {
        background-color: #1B0743;
    }
    .content h1 {
        border-top: 1px solid rgba(215, 217, 219, 0.15);
    }
    .content h2 {
        color: #fff;
        border-top: 1px solid rgba(215, 217, 219, 0.15);
    }
    .content aside.warning {
        background-color: #1B0743;
    }
    .content aside.success {
        background-color: #1B0743;
    }
    
    .content table th {
        background-color: #24065E;
        border: 1px solid rgba(215, 217, 219, 0.15);
        color: #fff;
    }
    .content table td {
        background-color: #1B0743;
        border: 1px solid rgba(215, 217, 219, 0.15);
        color: #fff;
    }
    .content table tr:nth-child(odd) > td, .content table tr:nth-child(even) > td {
        background-color: #1B0743;
    }
    .content code {
        background-color: #24065E;
        border: 1px solid rgba(215, 217, 219, 0.15)
    }
    .toc-wrapper {
        background-color: #1B0743;
        border-right: 1px solid rgba(215, 217, 219, 0.15);
    }
    .toc-link {
        background-color: #1B0743;
        color: #fff;
    }
    .toc-wrapper .toc-link.active {
        background-color: #24065E;
        color: #fff;
    }
    .toc-wrapper .toc-link.active-parent {
        background-color: #24065E;
        color: #fff; 
    }
    .toc-wrapper .toc-list-h2 {
        background-color: #1B0743;
    }
    .toc-wrapper .toc-h2 {
        color: #fff;
    }
    
    .toc-wrapper > .search input {
        background: #1B0743;
        border-color: rgba(215, 217, 219, 0.15);
        color: #fff;
    }
    .toc-wrapper .search-results {
        background: #24065E;
    }
    .toc-wrapper .search-results a {
        color: #fff;
    }
    .page-wrapper .lang-selector {
        background-color: #1B0743;
        border-bottom: 5px solid #1B0743;
    }
    .lang-selector a {
        color: #fff;
    }
    .lang-selector a:active, .lang-selector a:focus {
        background-color: #24065E;
    }
    .lang-selector a.active {
        background-color: #24065E;
    }
}
