#content {
    display: grid;
    grid-template-columns: 2fr 4fr;
}

#sidebar {
    padding: 1rem;
    overflow: scroll;
}

.single {
    display: flex;
    flex-direction: column;
    margin-left: 0%;
    width: 100%;

}

.single a {
    text-decoration: none;
    color: initial;
}

details {
}

summary {
    text-align: left;
    list-style: none;
    margin-bottom: 0.5rem;
    cursor: pointer;

}

details>summary::-webkit-details-marker {
    display: none;
}

details>summary:before {
    content: '+ ';
}

details[open]>summary:before {
    content: '-  ';
}

.nav {
    display: flex;
    flex-direction: column;
    text-align: left;
    padding-left: 5%;
    cursor: pointer;

}

.nav a {
    text-decoration: none;
    color: initial;
    margin-bottom: 0.5rem;
    padding: 0 0.5rem;
}

.on {
    background-color: #e4ebd7;

}

summary:hover,
.nav a:hover {
    background-color: #dee2d5;

}

#docs {
    display: flex;
    flex-direction: column;
    text-align: left;
    padding: 1rem 2rem 1rem 1rem;
    overflow:scroll;
}

.header {
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.subheader {
    font-size: 1.2em;
    font-weight: bold;
    margin: 0.5rem 0;
}

.p {
    margin-bottom: 0.5rem;
}

#docfoot {
    width:100%;
}

.to {
    display: flex;
    margin: 1rem 0;
    padding: 0 1rem;
}

.to a {
    border: 1px solid gray;
    border-radius: 6px;
    padding: 1vh 1vh;
    text-decoration: none;
    color: initial;
}

@media (hover: hover) {
    summary:hover,
    .nav a:hover {
        background-color: #dee2d5;

    }

    .to a:hover {
        background-color: rgb(234, 234, 220);
    }
}

.topage {
    font-weight: bold;
}

.next {
    margin-left: auto;
}

@media (max-width:500px) {
    .to {
        flex-direction: column;
        row-gap: 0.5rem;
    }
}

.lastupdate {
    font-style: italic;
    font-size: 0.8rem;
    color: #73756f;
}

.point {
    margin-left: 3%;
    margin-top: 2%;
}

/*Terms & About*/
#content.center {
    display: flex;
    justify-content: center;
}

#content.center>div {
    width: 50%;
}

@media (max-width:700px) {
    #content.center>div {
        width: 80%;
    }
}

.smallheader {
    font-weight: bold;
}

.community{
    width:40px;
    margin-right:5%;
}

.images{
    width:450px;
}

.gridtable{
    display: grid;
    grid-template-columns: 2fr 2fr;
width:100%;
border:1px solid gray;
border-radius:10px;
align-self: start;
}

.gridtable > div{
    padding: 3% 5% 3% 5%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: wrap;
    text-align: left;
}
.gridtable > div:nth-child(2n+1){
    font-weight: bold;
    background-color: rgb(158, 178, 236);}
.gridtable > div:nth-child(2n){
    color: #808080;
}

.gridtable > div:first-child {
    border-top-left-radius: 10px;
}

.gridtable > div:nth-child(2){
    border-top-right-radius: 10px;
}

.gridtable > div:nth-last-child(2) {
    border-bottom-left-radius: 10px;
}

.gridtable > div:nth-last-child(1) {
    border-bottom-right-radius: 10px;
}
.gridtable > div:nth-child(4n){
    background: #eaf3ff;
}