html, body {
    height: 100%;
    margin: 0 !important;
    display: flex;
    flex-direction: column;
    background-color:#272727;
}
body::-webkit-scrollbar {
    display: none;
}
.container-docs {
    margin-top: 5rem;
    display: flex;
    flex-grow: 1;
    min-height: 100vh;
    display: flex;
    height: 100vh;
}

.sidebar {
        width: 250px;
        background-color: #333;
        padding-left: 5px;
        position: sticky;
        height: 100vh;
}

.sidebar ul {
    list-style: none;
    padding: 0;
}

.sidebar ul li {
    padding: 8px;
    cursor: pointer;
}

.main-content {
    color: white;
    flex: 1;
    padding: 20px;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    margin-right: 20px;
    background-color: #272727;
}

.main-content::-webkit-scrollbar {
    width: 0px;
    background: transparent;
}
.main-content {
    scrollbar-width: none;
}

.right-card {
    width: 300px;
    background-color: #272727;
    padding: 20px;
    margin-left: auto;
    margin-right: 20px;
}

footer {
    margin-top: auto;
}
.doc-section {
    color: white !important;
}
h2{
    margin-top: 2.5rem;
    text-align: left;
    color: #c98508 !important;
}

a{
    font-weight: 350;
    color: white !important;
}
a span{
    color: white !important;
}
.sidebar-item {
    display: block;
    color: #fff;
    padding: 4px;
    padding-left: 10px;
    text-decoration: none;
}

.sidebar-item.selected {
    font-weight: 500 !important;
    border-left: 4px solid #bf5b08;
    background-color: #303030;
    color: #fff;
}

.sidebar-item:hover {
    background-color: #474444;
}
.sidebar-link{
    padding-left: 10px;
}
header{
    background-color:#333 !important;
 }
.jewellery-title {
    color: white;
}
.triangle-down {
       border-top-color: white;
}
.triangle-up {
        border-bottom-color: white !important;
}
.dropdown-menu{
    background-color: #333;
    color: white !important;
    }

.list-group a{
    color: white !important;
}
a .text-l{
    color: white;
}
a .text-s{
    color: white;
}
.text-body-secondary {
    color: #fff !important;
}
.copyright p{
    color: white;
}
.footer_container{
    color: white;
}
.footer_div{
     background-color:#333 !important;
}
.navbar-toggler {
    background-color: #6c757d !important;
}
.dropdown-item:focus, .dropdown-item:hover {
    background-color:#54626F;
}

@media (min-width: 769px) {
    .sidebar-toggle {
        display: none;
    }
}

.list-group-flush:hover {
    background-color:#474444;
}

.toc-container{
    margin-top: 3rem;
     border-left: 1px solid #444;
}
.toc__heading{
    color: white;
}
.toc-list{
    padding-left: unset;
}

@media (max-width: 768px) {
    .container-docs {
        flex-direction: column;
    }

    .main-content {
        order: 1;
        margin-right: 0;
    }

    .right-card {
        order: 2;
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        margin-top: 20px;
        padding: 15px;
        border-top: 1px solid #444;
    }
    .sidebar {
        width: 100%;
        height: fit-content;
        overflow: hidden;
        transition: max-height 0.3s ease;
        max-height: 24px;
    }

    .sidebar.open {
        max-height: 300px;
    }

    .sidebar ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .sidebar ul li {
        opacity: 0;
        pointer-events: none;
        transform: translateY(-10px);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }

    .sidebar.open ul li {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .sidebar ul li:first-child {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    .sidebar-toggle {
        display: block;

        background-color: #333;
        color: #fff;
        text-align: left;
        cursor: pointer;
        border-bottom: 1px solid #444;
        font-size: 1rem;
    }

    .sidebar-toggle i {
        margin-right: 8px;
        font-size: 1.2rem;
    }
}


