/*
 * Copyright (c) 2019-2024 XMLmind Software. All rights reserved.
 *
 * This file is part of the XMLmind Web Help Compiler project.
 * For conditions of distribution and use, see the accompanying LEGAL.txt file.
 */

/*
 * --------------------------------------
 * Index
 * --------------------------------------
 */

#wh-index,
#wh-index ul {
    list-style-type: none;
    list-style-image: none;
    padding-top: 0;
    padding-bottom: 0;
    padding-left: 2em;
    padding-right: 0;
    margin: 0;
}

#wh-index {
    padding-left: 0;
}

#wh-index li {
    padding-top: var(--navigation-item-vpad);
    padding-bottom: var(--navigation-item-vpad);
    padding-left: 0;
    padding-right: 0;
    margin: 0;
}

#wh-index span.wh-index-ref:after {
    content: "\00A0\E802"; /*same as .wh-icon-go*/
    font-family: "wh-icons";
    font-weight: normal;
    font-style: normal;
    text-decoration: none;
    font-size: 0.83em;
    color: var(--index-anchor-color);
}

#wh-index span.wh-index-ref-type {
    font-style: var(--index-see-font-style);
    font-weight: var(--index-see-font-weight);
}

#wh-index a.wh-index-anchor {
    color: var(--index-anchor-color);
    text-decoration: none;
    cursor: pointer; 
}

#wh-index a.wh-index-anchor:hover {
    background-color: var(--link-hover-background-color);
}

#wh-index > li.wh-odd-item {
    background-color: var(--odd-row-background-color);
}

#wh-index li.wh-suggested-item  span.wh-index-ref:after,
#wh-index li.wh-suggested-item a.wh-index-anchor,
#wh-index li.wh-suggested-item {
    color: var(--index-autocomplete-color);
}

#wh-index li.wh-suggested-item {
    background-color: var(--index-autocomplete-background-color);
}
