#titlearea {
    padding-bottom: 1ex;
}

.sm-dox, .navpath ul {
    background: #f3f6ff;
}

#nav-tree {
    background: #fff;
}

.ui-resizable-e {
    background: #f3f6ff;
}

div.header {
    background-image: none;
}

.sm-dox a:hover, .sm-dox ul a:hover, #nav-tree .selected {
    background: #4867a6;
    text-shadow: none;
}

div.ah, span.ah {
    box-shadow: none;
    background-image: none;
}

div.fragment {
    background: #fff;
}

span.lineno a {
    background-color: #e0e0e0;
}

span.lineno {
    background-color: #eeeeee;
}

#main-menu {
    display: flex;
    flex-flow: row;
    border-bottom: 1px solid  #5373B4;
}

#main-menu > li {
    border-bottom: 1px solid  #5373B4;
    margin-bottom: -1px;
}

#main-menu > li:last-child {
    flex-grow: 1;
    float: none !important;
    display: flex;
    flex-flow: column;
    justify-content: space-around;
}

#MSearchBox {
    width: 100%;
    padding: 0 1em;
    margin: 6px 0;
    display: inline-block;
}

#MSearchBox > .left {
    background: white;
    border: 1px solid silver;
    border-radius: 5px;
    padding-left: 5px;
    max-width: 300px;
    position: initial;
    height: auto;
    width: auto;
    margin-left: auto;
}

#MSearchBox > .right {
    display: none;
}

.left #MSearchSelect {
    left: auto;
}

#MSearchField {
    position: initial;
    background: none;
    width: auto;
}

#MSearchResultsWindow {
    left: auto !important;
    right: 0;
    max-width: 100vw;
}

.memtitle {
    background: none;
    width: 100%;
    float: none;
    margin: 0;
    transition: none;
    box-sizing: border-box;
}

.memitem {
    display: block !important;
    transition: none;
    width: 100%;
}

.memproto {
    text-shadow: none;
    -webkit-box-shadow: none;
    border: 1px solid #A8B8D9;
    background-color: #e8eef8;
}

.memdoc {
    margin: 0;
    -webkit-box-shadow: none;
    background: none;
}

@media (max-width: 800px) {
    #doc-content {
        overflow: unset !important;
        height: auto !important;
    }
    #side-nav {
        display: none !important;
    }
    #doc-content {
        margin-left: 0 !important;
    }
    #main-menu {
        flex-flow: column;
    }
    #MSearchBox > .left {
        margin-left: 0;
    }
}
