/*
* ------------------------------------------------------------------
*
* Right menu
*
*/
#wh_topic_toc {
    position: absolute;
    top: 0;
    right: 0;
    width: 220px;
    max-height: 100%;
    overflow-y: auto;
    /* padding-bottom: 220px; */
}

.wh_topic_toc {
    border-left: 0px;
    margin-top: 35px;
    /* min-height: 100vh; */
}


/*
 * ------------------------------------------------------------------
 *
 * Publication TOC
 *
 */
.wh_publication_toc {
    border-radius: 0px;
    padding-left: 1em;
    padding-right: 1em;
    padding-top: 1em;
    padding-bottom: 1em;
    height: 100%;
    box-sizing: border-box;
    overflow-y: auto;
    padding-bottom: 120px;
}

#wh_publication_toc {
    margin-bottom: 0px;
    padding-left: 0px;
    background-color: #000000;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    padding-bottom: 40px;
    width: 296px;
}

.wh_publication_toc .active>.topicref a {
    color: #ffffff;
    font-weight: bolder;
}

.wh_publication_toc span, .wh_publication_toc a, .wh_publication_toc a:visited, .wh_publication_toc a:hover {
    color: #ababab;
}

.wh_publication_toc a:hover {
    text-decoration-color: #ababab;
}

.topicref:hover {
    /*     background-color: #E1E1E1; */
}

.wh_publication_toc ul li {
    margin-top: .7em;
}

/* Publication TOC tooltip */
.wh_breadcrumb .topicref .wh-tooltip,
.wh_publication_toc .topicref .wh-tooltip {
    background-color: #5E6573;
    color: #fff;
    font-size: 1.4rem;
}

.wh_breadcrumb .topicref .wh-tooltip a,
.wh_publication_toc .topicref .wh-tooltip a {
    color: #fff;
    text-decoration: underline;
}

/* Tooltip arrow. */

[data-tooltip-position="left"] .topicref .wh-tooltip::before {
    border-left-color: #5E6573;
}

[data-tooltip-position="right"] .topicref .wh-tooltip::before {
    border-right-color: #5E6573;
}

[data-tooltip-position="bottom"] .topicref .wh-tooltip::before {
    border-bottom-color: #5E6573;
}

[data-tooltip-position="top"] .topicref .wh-tooltip::before {
    border-top-color: #5E6573;
}


/*
 * ------------------------------------------------------------------
 *
 * Topic content
 *
 */
.container {
    margin-right: auto;
    margin-left: auto;
    width: 80%
}

.container-fluid {
    min-height: 100vh;
}

.wh_topic_content, .wh_content_area {
    color: #000000;
    line-height: 1.7em;
    margin-top: 0;
    margin-left: 40px;
    padding-right: 40px;
    padding-bottom: 20px;
    min-width: 30%;
}

.wh_topic_content .section {
    margin-bottom: 2.5em !important;
    margin-top: 2.5em !important;
}

.wh_topic_content h1, .wh_topic_content h2, .wh_topic_content h3, .wh_topic_content h4, .wh_topic_content h5 {
    max-width: 24cm;
}

.wh_topic_content p, .wh_topic_content ul, .wh_topic_content ol, .wh_topic_content dd, .wh_topic_content dt, .wh_topic_content dl {
    max-width: 24cm;
    font-size: 16px;
}

.wh_topic_content p {
    margin-bottom: 1em;
}

.wh_topic_content .title.topictitle1 {
    font-size: 2.4em;
    margin-top: 1em;
    margin-bottom: 1em;
    line-height: 1.1em;
    padding-left: 0;
}

.wh_related_links,
.wh_child_links,
.wh_topic_content .related-links {
    margin-top: 0;
}

.wh_related_links,
.wh_topic_content .related-links {
    padding: .5em 1.5em;
}

.wh_child_links {
    padding: 1.5em;
}


/*
 * ------------------------------------------------------------------
 *
 * Search Page
 *
 */

.wh_search_results {
    margin-top: 30px;
    padding-right: 50px;
    padding-right: 50px
}

/* Search autocomplete icons */
.search-autocomplete-proposal-type-history a,
.search-autocomplete-proposal-type-history a:hover,
.search-autocomplete-proposal-type-history a:visited,
.search-autocomplete-proposal-type-history a:active {
    text-decoration: none;
    color: inherit;
    font-size: 0.8em;
}

.ui-state-active .search-autocomplete-proposal-type-history a,
.ui-state-active .search-autocomplete-proposal-type-history a:hover,
.ui-state-active .search-autocomplete-proposal-type-history a:visited,
.ui-state-active .search-autocomplete-proposal-type-history a:active {
    color: #fff;
}

.ui-state-active {
    background-color: #999;
}

/* Active search page */
#wh-search-pagination>ul>li.active>a {
    background-color: #346ec5;
}


/*
 * ------------------------------------------------------------------
 *
 * Topic content
 *
 */
#wh_topic_body {
    margin-left: 296px;
    /* width:100%; */
    height: 100%;
    margin-right: 220px;
    background-color: white;
    overflow-y: auto;
}

.wh_main_page .wh_content_area {
    margin: 40px auto;
}

.wh_content_area {
    position: relative !important;
    height: calc(100vh - 120px);
    overflow: hidden;
    margin-left: 0px;
    padding-right: 0;
}

.wh_content_area>div {
    height: 100%;
    width: 100%;
}