.graph-container {
    --padding: 1rem;
    --margin: 1rem;
    --border-color-light: #ccc;
    --border-radius: 3px;
    --border-default: 1px solid var(--border-color-light);

    position: relative;
    flex-grow: 1;

    /*overflow-y: auto;*/
    display: flex;
    justify-content: center;
    align-items: center;

    height: calc(100vh - 80px);
    border: var(--border-default);
    border-radius: var(--border-radius);
    background-color: white;
}

.graph-container .graph-main {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    flex-shrink: 0;
    flex-basis: 75%;
    height: 100%;
    width: 80%;
}
.graph-container .cytoscape-container {
    padding: var(--padding);
    flex-grow: 1;
    max-height: 100%;
    /*overflow-y: auto;*/
}

.graph-container .graphview-sidebar {
    height: 100%;
    min-width: 200px;
    max-width: 250px;
    width: 20%;
    margin-right: auto;
    margin-bottom: 0;
    flex-basis: 25%;
    max-height: 100%;
    overflow-y: scroll;
    border-left: var(--border-default);
}
.graph-container .graphview-search .btn-outline-secondary {
    border-color: #ced4da;
}
.graph-container .sidebar-element{
    padding-left: 5px;
    min-width: 100%;
    max-width: 100%;
    justify-content: center;
    align-items: center;
    padding-top: var(--padding);
    display: flex;
    flex-direction: column;
}
.graph-container .sidebar-header{
    box-shadow: 0px 15px 10px -17px #111;
    width: 100%;
    padding: 7px;
    text-align: center;
    float: left;
    margin-bottom: 15px;
    cursor: pointer;
}
.graph-container .sidebar-header:hover {
    background: #1111110a;
}
.graph-container .graphview-search{
    display: flex;
    justify-content: center;
    align-items: center;
}
.graph-container .graph_legend_container{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    align-content: center;
    row-gap: 3px;
    cursor: pointer;
}
.graph-container .legend-element{
    width: 100%;
    display: flex;
    flex-direction: row;
    column-gap: 5px;
}
.graph-container .legend-element-color{
    width:20px;
    height:20px;
    display: inline-block;
}
.graph-container .legend-element-label{
    cursor: pointer;
}
.graph-container .collapsing {
    transition: none;
}
.graph-container .graphview-exclude-check .field-row {
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: flex-start;
}

.graph-container .element-hidden{
    text-decoration: line-through;
}

.graph-container .cy-context-menus-cxt-menu {
    display:none;
    z-index: 1000;
    position:relative;
    border:1px solid #A0A0A0;
    padding: 0;
    margin: 0;
    width:auto;
}
.graph-container .cy-context-menus-cxt-menuitem {
    display:block;
    width: 100%;
    padding: 3px 20px;
    position:relative;
    margin:0;
    background-color:#f8f8f8;
    font-weight:normal;
    font-size: 12px;
    white-space:nowrap;
    border: 0;
    text-align: left;
}
.graph-container .cy-context-menus-cxt-menuitem:enabled {
    color: #000000;
}
.graph-container .cy-context-menus-ctx-operation:focus {
    outline: none;
}
.graph-container .cy-context-menus-cxt-menuitem:hover {
    color: #ffffff;
    text-decoration: none;
    background-color: #0B9BCD;
    background-image: none;
    cursor: pointer;
}

.graph-container .cy-context-menus-cxt-menuitem[content]:before {
    content:attr(content);
}
.graph-container .cy-context-menus-divider {
    border-bottom:1px solid #A0A0A0;
}
.graph-container .cy-context-menus-submenu-indicator {
    display: none;
}

.graph-container .popper-container{
    border-radius: 10px;
    border-style: solid;
    /*border-color: black;*/
    border-width: 1px;
    font-size: 0.75rem;
    background: #fff;
    display: block;
    padding: 12px;
    min-width: 200px;
    max-width: 400px;
    position: absolute;
}
.graph-container .popper-label{
    text-align: left;
    color: black;
    font-weight: bold;
}
.graph-container .popper-value{
    text-align: left;
    color: black;
    overflow: hidden;
    max-width: 95%;
    text-overflow: ellipsis;
    display: inline-block;
    white-space: nowrap;
    max-height: 120px;
}

.graph-container .hidden{
    visibility: hidden;
}

.graph-container .dont-show{
    display: none;
}