html {
    --scrollbarBG: #dbdbdb;
    --thumbBG: #00669e;
}

#bonasoft-graph-wrapper {
    margin-top: 10px;
    height: 500px;
    box-shadow: 0px 0 5px -2px #696969;
}

#graph-container {
    width: 70%;
    height: 100%;
    min-height: 500px;
    float: left;
    position: relative;
    cursor: move;
}

#info-container-wrapper {
    width: 30%;
    float: left;
    overflow-y: scroll;
    overflow-x: hidden;
    height: 100%;
}

#info-container {
    background-color: #ffffff;
    border-left: 1px solid var(--scrollbarBG);
}

#info-title,
#info-text {
    padding: 0px;
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 10px;
    margin: 0px;
}

.graph-legend-entry {
    font-size: 14px;
    vertical-align: middle;
    line-height: 15px;
    padding: 5px;
}

#info-title {
    min-height: 80px;
    color: #ffffff;
    background-color: var(--thumbBG);
}

#info-title-text {
    min-height: 60px;
    vertical-align: bottom;
    font-size: 26px;
    font-weight: 600;
    line-height: 28px;
    display: flex;
}

#info-title-text span {
    align-self: flex-end;
    font-weight: 500;
    padding-top: 20px;
}

#info-title-type {
    min-height: 20px;
    line-height: 20px;
    font-size: 14px;
    font-weight: 400;
    padding-bottom: 10px;
}

#info-text {
    padding-top: 10px;
    color: #000000;
    letter-spacing: 0.5px;
}

#graph-navigation {
    display: inline-block;
    width: 40px;
    /* width: 100%; */
    z-index: 2;
    position: absolute;
    bottom: 0;
    right: 0;
    -webkit-user-select: none;
    /* Chrome all / Safari all */
    -moz-user-select: none;
    /* Firefox all */
    -ms-user-select: none;
    /* IE 10+ */
    user-select: none;
    margin-right: 10px;
    margin-bottom: 5px;
}

a.graph-navi-button {
    display: block;
    margin-right: 0px;
    margin-left: auto;
    background-color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 20px;
    border: 1px solid var(--scrollbarBG);
    padding-top: 0px;
    text-size-adjust: 100%;
    hyphens: manual;
    text-align: center;
    cursor: pointer;
    color: #00669e;
    margin-bottom: 5px;
    box-sizing: border-box;
}

a.graph-navi-button:hover, a.graph-navi-button.selected {
    border: 1px solid var(--thumbBG);
}

a.graph-navi-button span {
    font-size: 18px;
    line-height: 18px;
    margin-top: 11px;
    width: 100%;
    vertical-align: middle;
}

#graph-search {
    display: inline-block;
    /* width: 40px; */
    /* width: 100%; */
    z-index: 3;
    position: absolute;
    left: 50%;
    top: 0;
    -webkit-user-select: none;
    /* Chrome all / Safari all */
    -moz-user-select: none;
    /* Firefox all */
    -ms-user-select: none;
    /* IE 10+ */
    user-select: none;
    text-align: center;
    
}

/* #graph-search-open {
    display: inline-block;
} */

#graph-search-form {
    display: inline-block;
    width: calc(100% - 60px);
}

#graph-search-box {
    display: inline-block;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
    border: 1px solid var(--scrollbarBG);
    border-radius: 20px;
    padding-left: 0px;
    padding-right: 0px;
    margin-top: 10px;
    background-color: white;
    min-width: 280px;
    position: relative;
    left: -50%;
}

#graph-search-close {
    width: 20px;
    font-size: 10px;
    padding-top: 0px;
    color: var(--scrollbarBG);
    vertical-align: middle;
    text-align: center;
    display: inline-block;
    cursor: pointer;
}

#graph-search-input {
    border: none;
    width: 100%;
    outline: none;
    box-shadow: none;
    margin-left: auto;
    padding-left: 5px;
    padding-right: 5px;
}

#graph-search-input:focus, #graph-search-input:active {
    border: none;
    border-top: none;
    outline: none;
    box-shadow: none;
}

.fuzzyResults {
    border-radius: 5px;
    border: 1px solid var(--scrollbarBG);
}

.__autoitem {
    padding: 4px;
    border-radius: 5px;
}

.__autoitem.selected,.__autoitem.selected:hover {
    background-color: #ffffff;
    border: 1px solid var(--thumbBG);
}

.graph-result-dot {
    width: 10px; 
    height: 10px; 
    border-radius: 10px; 
    margin-right: 5px; 
    display: inline-block;
}

.graph-node-id {
    display: none;
}

#graph-search-box .graph-result-dot {
    margin-left: 10px;
    background-color: #00669e; 
}

.graph-legend-entry .graph-result-dot {
    width: 15px;
    height: 15px;
}

#info-container-wrapper::-webkit-scrollbar {
    width: 1px;
}

#info-container-wrapper {
    scrollbar-width: thin;
    scrollbar-color: var(--thumbBG) var(--scrollbarBG);
}

#info-container-wrapper::-webkit-scrollbar-track {
    background: var(--scrollbarBG);
}

#info-container-wrapper::-webkit-scrollbar-thumb {
    background-color: var(--thumbBG);
}

@media screen and (max-width: 1000px) {
    #graph-container {
        width: 100%;
    }
    
    #info-container-wrapper {
        width: 100%;
        border-bottom: 1px solid #dbdbdb;
    }

    #bonasoft-graph-wrapper {
        height: 400px;
    }

    #graph-container {
        min-height: 400px;
    }
}