﻿body {
    background-color: #3e3e3e; /* Lighter grey */
    color: #e0e0e0;
}

.page {
    display: flex;
    height: 100vh;
}

.sidebar {
    width: 250px;
    background-color: #1e1e1e;
    border-right: 1px solid #333;
}

.main {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.top-row {
    background-color: #1f1f1f;
    color: #e0e0e0;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.content {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    background-color: #3e3e3e;
    color: #e0e0e0;
}

.nav-menu {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

    .nav-menu li {
        padding: 10px;
        border-bottom: 1px solid #333;
    }

        .nav-menu li a {
            text-decoration: none;
            color: #e0e0e0;
            display: block;
        }

            .nav-menu li a:hover {
                background-color: #333;
            }
.code {
    height: calc(100vh - 8rem);
    overflow-y: auto;
    
}
.json-viewer {
    padding: var(--bs-card-spacer-y) var(--bs-card-spacer-x);
}


#byteacher tr td{
    background-color: #cfcfcf; /* Darker background color for the rows */
    border-bottom: 1px solid #444; /* Border between rows */
    transition: background-color 0.3s ease; /* Smooth transition for background color */
}

    #byteacher tr:nth-child(even) td {
        background-color: #eaeaea; /* Alternate background color for even rows */
    }

    #byteacher tr:hover td {
        background-color: #9f9f9f; /* Background color on hover */
    }


.tborders td, .tborders th {
    border: 1px solid;
}

.tborders td {
    height: 56px;
}

.tdtop {
    font-weight: normal;
    border-bottom: 1px solid;
    margin: 0;
}

.tdbottom {
    font-weight: normal;
}

.td1 {
    border-left: 4px double !important;
}

.td8 {
    border-right: 4px double !important;
}

.td-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.tdtop, .tdbottom {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    white-space: nowrap;
    position: relative;
}
div.csroom {
    background: #7f7f7f;
    color: #fff;
    font-weight: bold;
    padding: 2px 2px;
    position: absolute;
    left: 0px;
    height: 98%;
    display: flex;
    align-items: center;
    justify-content: center;
}
div.lsname {
    padding-left: 35px;
    padding-right: 5px;
}
#crudsmenu { cursor: pointer; }
#crudsmenu:hover{color:#cec906}
ul#crudslinks {
    padding: 0px 3px;
}

ul#crudslinks li {
    padding: 0px 3px;
}


div#thoughts {
    width: 96%;
    margin: auto;
    overflow: auto;
    height: 50vh;
    font-size: 11px;
    color: #fffac9;
    position: relative;
    overflow-x: hidden;
    overflow-wrap: break-word;
    scrollbar-width: thin; /* Width of the scrollbar for Firefox */
    scrollbar-color: #888 #333; /* Color of the scrollbar thumb and track for Firefox */
    box-shadow: inset -5px -5px 5px 1px #2a2a2a;
}

    /* Scrollbar styles for WebKit browsers */
    div#thoughts::-webkit-scrollbar {
        width: 12px; /* Width of the scrollbar */
    }

    div#thoughts::-webkit-scrollbar-track {
        background: #333; /* Background of the scrollbar track */
    }

    div#thoughts::-webkit-scrollbar-thumb {
        background-color: #888; /* Color of the scrollbar thumb */
        border-radius: 10px; /* Roundness of the scrollbar thumb */
        border: 3px solid #333; /* Padding around the scrollbar thumb */
    }

        div#thoughts::-webkit-scrollbar-thumb:hover {
            background-color: #555; /* Color of the scrollbar thumb on hover */
        }

    div#thoughts h5 {
        background: #444;
        padding: 5px;
        font-size: 15px;
        text-align: center;
        color: #fff;
        position: sticky;
        width: 100%;
        top: 0px;
        z-index: 2;
    }

span.white {
    color: #fff !important;
    font-weight: 500;
}

b.green {
    color: #5bde47 !important;
}
b.red {
    color: #e31a04 !important;
}

table.quickgrid.table{
    box-shadow:1px 1px 2px 2px #111111bf;
}
a[href*='/create'] {
    display: inline-block;
    background: rgb(10, 90, 206);
    text-decoration: none;
    color: #fff;
    padding: 5px 8px;
    border: 1px solid #555;
    border-radius: 4px;
}
a[href*='/delete?'] {
    display: inline-block;
    background: #d91616;
    text-decoration: none;
    color: #fff;
    padding: 1px 5px;
    border: 1px solid #555;
    border-radius: 4px;
    font-size: 14px;
}
a[href*='/details?'] {
    display: inline-block;
    background: #6f6f6f;
    text-decoration: none;
    color: #fff;
    padding: 1px 5px;
    border: 1px solid #555;
    border-radius: 4px;
    font-size: 14px;
}
a[href*='/edit?'] {
    display: inline-block;
    background: #9d8c00;
    text-decoration: none;
    color: #fff;
    padding: 1px 7px;
    border: 1px solid #555;
    border-radius: 4px;
    font-size:14px;
}
table.quickgrid.table tr td:last-child {
    white-space: nowrap;
}
