#3d-graph {
    display: flex;
}

.fancy-scrollbar::-webkit-scrollbar {
    width: 6px;
    background-color: #f5f5f5;
}

.fancy-scrollbar::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    background-color: #f5f5f5;
}

.fancy-scrollbar::-webkit-scrollbar-thumb {
    background-color: darkgray;
}

.node-container {
    pointer-events: none;
}

.node-label {
    font-size: 14px;
    color: white;
    font-weight: bold;
    /*text-align: center;*/
    padding: 1px 4px;
    border-radius: 4px;
    background-color: rgba(0, 0, 0, 0.7);
    user-select: none;
    z-index: 1;
    pointer-events: none;
    cursor: default;
}

.no-select {
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Old versions of Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome, Edge, Opera and Firefox */
}

.close-button {
    pointer-events: all;
    z-index: 99;
    cursor: pointer;
    right: 30px;
    top: 5px;
    position: absolute;
    font-size: 20px;
}

.fullscreen-button {
    pointer-events: all;
    z-index: 99;
    cursor: pointer;
    left: 15px;
    top: 5px;
    position: absolute;
    font-size: 30px;
}

.detail-view {
    position: absolute;
    top: 0;
    right: 0;
    width: 20%;
    min-width: 300px;
    height: 100%;
    background-color: whitesmoke;
    padding: 10px;
    z-index: 20;
}

.detail-view-image {
    width: 125px;
    height: 125px;
    top: 0;
    left: 0;
    overflow: hidden;
    border-radius: 50%;
    display: inline;
    margin-top: 10px;
    margin-bottom: 20px;
}

.detail-view-info-area {
    overflow-y: auto;
    height: 100%;
}

.detail-view-top-area {
    position: relative;
    width: 100%;
    overflow: auto;
    text-align: center;
}

.detail-view-text-area {
    display: block;
    margin-top: 10px;
    padding-left: 25px;
    padding-right: 25px;
    /*padding-bottom: 130px;*/
}

.detail-view-link-area {
    display: block;
    margin-top: 25px;
    padding-left: 25px;
    padding-right: 25px;
}

.detail-view-headline {
    font-weight: bold;
    /*text-align: center;*/
    font-family: CuratorRegular, Helvetica Neue, Helvetica, Arial, sans-serif;
    word-wrap: break-word;
    hyphens: auto;
    font-size: 1.6vw;
    padding-left: 5px;
    padding-right: 5px;
}

.detail-view-media-area {
    width: 100%;
    margin-top: 15px;
    padding: 10px;
}

.detail-view-video {
    object-fit: scale-down;
    width: 100%;
    height: auto;
}

.detail-view-spacer {
    height: 120px;
    width: 100%;
}

.link-overlay {
    position: absolute;
    bottom: 0;
    pointer-events: none;
    width: 350px;
    max-width: 400px;
    padding: 10px;
    left: 0;
    display: block;
    background-color: rgba(0, 0, 0, 0.6);
}

.relation {
    display: inline-block;
    padding-right: 5px;
    color: #fff;
    font-size: 13px;
    line-height: 20px;
    font-family: CuratorRegular, Helvetica Neue, Helvetica, Arial, sans-serif;
    text-transform: uppercase;
    margin-bottom: 6px;
    height: 17px;
    z-index: 100;
    cursor: pointer;
    pointer-events: all;
    opacity: 1;
}

.relation p {
    margin: 0
}

.rel-container {
    display: block;
    height: 2px;
    width: 78px;
}

.neighbor-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    max-height: 50%;
    overflow: auto;
    background-color: #ffffff;
}

/*New Section */

.neighbor-collapsible-title {
    background-color: #ffffff;
    color: #444;
    cursor: pointer;
    padding: 9px 9px 9px 0;
    width: 100%;
    display: flex;
    font-weight: bold;
    text-align: left;
    font-size: 20px;
    opacity: 100%;
    border: 2px solid white;
    outline: none;
    flex-direction: column;
    position: relative;
}

.neighbor-collapsible-section {
    background-color: #ffffff;
    color: #444;
    cursor: pointer;
    padding: 9px 9px 9px 0;
    width: 100%;
    border: 2px solid white;
    text-align: left;
    outline: none;
    font-size: 15px;
    display: flex;
    flex-direction: column;
    position: relative;
    font-weight: bold;
    opacity: 80%;
}

.activation-hover-title, .neighbor-collapsible-title:hover {
    background-color: #ccc;
}

.activation-hover-section, .neighbor-collapsible-section:hover {
    background-color: #ccc;
}

.neighbor-content-tabs {
    padding: 0 18px;
    display: inline-block;
    width: 100%;
    overflow: hidden;
    background-color: #ffffff;
    flex-direction: column;
    margin-bottom: 10px;
}

.neighbor-content-linksection {
    padding-top: 0;
    padding-left: 5px;
    display: flex;
    background-color: #ffffff;
    flex-direction: column;
    overflow: hidden;
}

.neighbor-content-link {
    cursor: pointer;
    margin: 1px;
    font-size: 14px;
}

.activation-hover, .neighbor-content-link:hover {
    color: red;
}

.neighbor-collapsible-marker-div {
    position: absolute;
    width: 100%;
    height: 2px;
    border: 1px solid red;
    bottom: 0;
    left: 0;
}

.neighbor-collapsible-open-status-marker {
    position: absolute;
    right: 20px;
    font-size: 26px;
    color: #595858;
    top: 2px;
    bottom: 2px;
}

.neighbor-tab-open-status-marker {
    position: absolute;
    right: 20px;
    font-size: 15px;
    color: #595858;
    top: 10px;
    bottom: 10px;
}

.neighbor-collapsible-wrapper {
    transition:height 0.3s ease-out;
    height:0;
    overflow:hidden;
}