html, body {
    width: 100%;
    height: 100%;
    margin: 0px;
    border: 0;
    overflow: hidden;
    display: block;
}

 /* The sidebar menu */
.sidenav {
    height: calc(100% - 53px); /* Full-height: remove this if you want "auto" height */
    width: 250px; /* Set the width of the sidebar */
    position: fixed; /* Fixed Sidebar (stay in place on scroll) */
    right: 0;
    background-color: #111; /* Black */
    color: white;
    padding-top: 20px;
    padding-left: 10px;
    padding-right: 10px;
    overflow: auto;
}

#main {
    margin-right: 250px; /* Same as the width of the sidebar */
}

#general_info{
    margin-bottom: 50px;
}

.content{
    margin: 0px;
}

#collapse_checkbox{
    margin-left: 10px;
}

#issue_message{
    color: red;
}

#color_legend {
    width: 220px;
    height: 15px;
    background-image: linear-gradient(to right, #0398fc, orange, red);
    margin-bottom: 20px;
}

#selected_haplogroup_info{
    margin-top: 50px;
}

.title{
    border-top: 1px inset;
    text-align: center;
    padding: 5px;
    border-bottom: 1px inset;
}

#selected_haplogroup_info > *{
    color: white;
    margin-bottom: 10px;
}

#search_text{
    width: 70%;
    margin-bottom: 15px;
}

#sidebar-toggle {
    display: none;
    position: fixed;
    top: 60px;
    right: 8px;
    z-index: 500;
    background: rgba(26,39,68,0.88);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 7px 13px;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

@media (max-width: 700px) {
    .sidenav {
        display: none;
        width: min(280px, 85vw);
        z-index: 400;
    }
    .sidenav.mobile-open {
        display: block;
    }
    #main {
        margin-right: 0;
    }
    #sidebar-toggle {
        display: block;
    }
}