/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification\ 
for details on configuring this project to bundle and minify static web assets. */

html {
    font-size: 10px;
    padding-top: 0;
    --border-color: rgb(89, 118, 135);
    --active-content: rgb(138, 182, 210);
    --shadow-color: rgba(0,0,0, 0.20);
    --parameter-label-bg-color: rgba(70,70,70, 0.7);
    --parameter-input-and-select-bg-color: rgba(85,85,85, 0.7);
    --main-background-color: rgb(80, 80, 80);
    --default-network-background: rgb(100, 100, 100);
}

body {
    font-family: "Segoe UI Variable", "Segoe UI", system-ui, ui-sans-serif, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
    background-color: var(--main-background-color);
    padding-top: 0;
    height: 100%;
    margin: 0;
    font-size: 1.5rem;
    color: white;
}

.main-div {
    display: flex;
    -ms-flex-direction: column;
    -webkit-flex-direction: column;
    flex-direction: column;
    min-height: 90vh;
    max-height: 90vh;
    border: none;
    outline: none;
    width: 100%;
}

.navigation {
    display: flex;
    -ms-flex-direction: row;
    -webkit-flex-direction: row;
    flex-direction: row;
    -webkit-justify-content: flex-start;
    justify-content: flex-start;
}

.tab-nav{
    min-width: 20px;
}

.tab-link {
    padding: 1rem 1.5rem;
    display: flex;
    -ms-flex-direction: column;
    -webkit-flex-direction: column;
    flex-direction: column;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-border-top-left-radius: 7px;
    border-top-left-radius: 7px;
    -webkit-border-top-right-radius: 7px;
    border-top-right-radius: 7px;
    -webkit-text-decoration: none;
    text-decoration: none;
    border-bottom: 2px solid var(--border-color);
    font-size: 1.7rem;
    color: lavender;
    height: 100%;
    line-height: 100%;
}

.tab-link.tab-active {
    color: rgb(52, 59, 74);
}

.tab-link:hover {
    -webkit-text-decoration: none;
    text-decoration: none;
}

.tab-active {
    background-color: var(--active-content);
    border: 2px solid var(--border-color);
    border-bottom: none;
    z-index: 10;
    /*-moz-box-shadow: 1px 0 1px var(--shadow-color), 2px 0 2px var(--shadow-color), 4px 0 4px var(--shadow-color), 8px 0 8px var(--shadow-color), 16px 0 16px var(--shadow-color), 32px 0 32px var(--shadow-color), -1px 0 1px var(--shadow-color), -2px 0 2px var(--shadow-color), -4px 0 4px var(--shadow-color), -8px 0 8px var(--shadow-color), -16px 0 16px var(--shadow-color), -32px 0 32px var(--shadow-color);
    -webkit-box-shadow: 1px 0 1px var(--shadow-color), 2px 0 2px var(--shadow-color), 4px 0 4px var(--shadow-color), 8px 0 8px var(--shadow-color), 16px 0 16px var(--shadow-color), 32px 0 32px var(--shadow-color), -1px 0 1px var(--shadow-color), -2px 0 2px var(--shadow-color), -4px 0 4px var(--shadow-color), -8px 0 8px var(--shadow-color), -16px 0 16px var(--shadow-color), -32px 0 32px var(--shadow-color);
    box-shadow: 1px 0 1px var(--shadow-color), 2px 0 2px var(--shadow-color), 4px 0 4px var(--shadow-color), 8px 0 8px var(--shadow-color), 16px 0 16px var(--shadow-color), 32px 0 32px var(--shadow-color), -1px 0 1px var(--shadow-color), -2px 0 2px var(--shadow-color), -4px 0 4px var(--shadow-color), -8px 0 8px var(--shadow-color), -16px 0 16px var(--shadow-color), -32px 0 32px var(--shadow-color);*/
}

.navigation > .tab-nav:first-child > .tab-active {
    /*-moz-box-shadow: 1px 0 1px var(--shadow-color), 2px 0 2px var(--shadow-color), 4px 0 4px var(--shadow-color), 8px 0 8px var(--shadow-color), 16px 0 16px var(--shadow-color), 32px 0 32px var(--shadow-color);
    -webkit-box-shadow: 1px 0 1px var(--shadow-color), 2px 0 2px var(--shadow-color), 4px 0 4px var(--shadow-color), 8px 0 8px var(--shadow-color), 16px 0 16px var(--shadow-color), 32px 0 32px var(--shadow-color);
    box-shadow: 1px 0 1px var(--shadow-color), 2px 0 2px var(--shadow-color), 4px 0 4px var(--shadow-color), 8px 0 8px var(--shadow-color), 16px 0 16px var(--shadow-color), 32px 0 32px var(--shadow-color);*/
}

.min-vh-90{
    min-height: 90vh;
}

footer {
    display: flex;
    -ms-flex-direction: row;
    -webkit-flex-direction: row;
    flex-direction: row;
    -webkit-justify-content: flex-end;
    justify-content: flex-end;
    padding: 0.4rem 1rem;
    
}

.text-tooltip {
    visibility: hidden;
    background-color: black;
    color: #fff;
    text-align: center;
    padding: 0.5rem 0.5rem;
    border-radius: 6px;
    border: 1px solid white;
    position: absolute;
    z-index: 2;
    bottom: 100%;
    margin-left: -60px;
}

.text-tooltip::after {
    content: " ";
    position: absolute;
    top: 100%; /* At the bottom of the tooltip */
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: black transparent transparent transparent;
}

.scrollbar-thin {
    -webkit-scrollbar-width: thin;
    -ms-scrollbar-width: thin;
    -o-scrollbar-width: thin;
    scrollbar-width: thin;
    -webkit-scrollbar-color: var(--scrollbar-track-color) var(--base-background-color);
    -ms-scrollbar-color: var(--scrollbar-track-color) var(--base-background-color);
    -o-scrollbar-color: var(--scrollbar-track-color) var(--base-background-color);
    scrollbar-color: var(--scrollbar-track-color) var(--base-background-color);
}

input[type=color] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: none;
    cursor: pointer;
    background-color: transparent;
}

input[type=color]::-webkit-color-swatch {
    border: none;
    border-radius: 10px;
    border: 0.125rem solid black;
}

input[type=color]::-moz-color-swatch {
    border: none;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
    border-radius: 10px;
    border: 0.125rem solid black;
}

.inline-space-evenly {
    display: flex;
    -webkit-justify-content: space-evenly;
    justify-content: space-between;
    
}
.inline-space-evenly>* {
    margin: 0 0.25rem;
}

.inline-space-evenly:first-child {
    margin-left: 0.5rem !important;
}

.inline-space-evenly:last-child {
    margin-right: 0.5rem !important;
}

.active-block {
    display: block !important;
}

.active-flex {
    display: flex !important;
}

.active-grid {
    display: grid !important;
}






.controls {
    padding: 0 5px;
    font-size: 90%;
    color: black;
    display: none;
    
   
}

.controls .force {
    background-color: #eee;
    border-radius: 3px;
    padding: 5px;
    margin: 5px 0;
    overflow: hidden;
}

.controls .force p label {
    margin-right: .5em;
    font-size: 120%;
    font-weight: bold;
}

.controls .force p {
    margin-top: 0;
}

.controls .force label {
    display: inline-block;
    
}

.controls input[type="checkbox"] {
    -moz-transform: scale(1.2, 1.2);
    -ms-transform: scale(1.2, 1.2);
    -o-transform: scale(1.2, 1.2);
    -webkit-transform: scale(1.2, 1.2);
    transform: scale(1.2, 1.2);
}

.controls input[type="range"] {
    margin: 0 5% 0.5em 5%;
    width: 90%;
}

.controls #color-settings label {
    text-align: center;
}



.controls .colouring {
    text-align: center;
    -webkit-flex-grow: 1;
    flex-grow: 1;
}

.run-btn{
    float:right;
}

.colour-list {
    counter-reset: bullet;
    width: 100%;
    padding: 0 2rem;
    max-height: 25vh;
    overflow-y: scroll;
}

.colour-list li {
    display: flex;
    -ms-flex-direction: row;
    -webkit-flex-direction: row;
    flex-direction: row;
    align-items: center;
    -webkit-justify-content: flex-end;
    justify-content: flex-end;
    list-style-type: none;
    list-style-position: inside;
}

.colour-list li:hover {
    border-bottom: 0.15rem solid grey;
}

.colour-list li:before {
    counter-increment: bullet;
    content: counter(bullet)". ";
    display: inline;
    -webkit-flex-grow: 0;
    flex-grow: 0;
}

.colour-row-list, .colour-row-single {
    display: flex;
    align-items: center;
    -ms-flex-direction: row;
    -webkit-flex-direction: row;
    flex-direction: row;
    -webkit-justify-content: flex-end;
    justify-content: flex-end;
    -webkit-flex-grow: 1;
    flex-grow: 1;
}

.colour-row-list label, .colour-row-single label {
    margin-right:auto;
    margin-left: 1rem;
    margin-bottom: 0;
    cursor: pointer;
    flex-shrink: 1;
    overflow: hidden;
    white-space: nowrap;
    -ms-text-overflow: ellipsis;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
    
}

.colour-row-list input {
    flex-shrink: 0;
    min-width: 20%;
}


.colour-row-single input {
    
}

#attribute-node-colouring-preview{
    padding:0.5rem;
}


.gradient-colouring-legend-title{
    text-anchor: start;
    font-size: 2.5rem;
}

.gradient-colouring-legend {
    /*fill: url(./#attribute-node-colouring-preview-gradient);*/
}


.attribute-selection-label {
    width: 100%;
    padding: 0.5rem;
}

.attribute-select {
    width: 100%;
    color: #555555;
    background-color: #fff;
    font-size: 1.2rem;
    padding: 0 0.5rem;
    line-height: 1.42857143;
    min-height: 3.5rem;
    height: 100%;
}

.attribute-select-border {
    border: 0.125em solid #ccc;
    -moz-border-radius: 0.50em;
    -webkit-border-radius: 0.50em;
    border-radius: 0.50em;
}

/* alpha viewer */
.controls .alpha p {
    margin-bottom: .25em;
}

.controls .alpha .alpha_bar {
    height: .5em;
    border: 1px #777 solid;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    border-radius: 2px;
    padding: 1px;
    display: flex;
}

.controls .alpha .alpha_bar #alpha_value {
    background-color: #555;
    -moz-border-radius: 1px;
    -webkit-border-radius: 1px;
    border-radius: 1px;
    flex-basis: 100%;
}

.controls .alpha .alpha_bar:hover {
    border-width: 2px;
    margin: -1px;
}

.controls .alpha .alpha_bar:active #alpha_value {
    background-color: #222
}

#remodel-attributes-container {
    display: flex;
    -ms-flex-direction: column;
    -webkit-flex-direction: column;
    flex-direction: column;
    -webkit-justify-content: stretch;
    justify-content: stretch;
    -webkit-align-items: stretch;
    align-items: stretch;
    height: 200px;
    min-height: 200px;
}

#remodel-attributes-select-controls-container > select {
    padding: 0;
    -ms-flex: 1 1 200px;
    -webkit-flex: 1 1 200px;
    flex: 1 1 200px;
    
}

#remodel-attributes-select-controls-container > div {
    -ms-flex: 50px;
    -webkit-flex:50px;
    flex: 50px;
}





    .remodel-attribute-panel {
        display: flex;
        -ms-flex-direction: column;
        -webkit-flex-direction: column;
        flex-direction: column;
        -webkit-justify-content: flex-start;
        justify-content: flex-start;
        -webkit-align-items: center;
        align-items: center;
        box-shadow: 0px 8px 16px 0px rgba(255,255,255,0.2);
        min-width: 25vh;
        background-color: #404040;
        color: white;
        padding: 1rem;
        -ms-grid-column: 1 / 3;
        grid-column: 1 / 3;
    }

.remodel-attribute-panel h4 {
    text-align: center;
    margin-bottom: 2rem;
}

.remodel-attribute-panel input {
    display: inline-block;
}

.transformation-option {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-bottom: 1rem;
}

.attribute-clear-btn {
    border: 0.1rem solid lightblue;
    border-radius: 0.6rem;
    color: white;
    background-color: rgba(100, 100, 100, 0.5);
    outline: none;
    min-height: 3rem;
    font-family: 'Poppins', sans-serif;
    font-size: inherit;
    font-weight: 600;
    width: 20%;
    min-width: 4rem;
    align-self: flex-end;
}

.transformation-list{
    width: 100%;
    padding: 1rem 2rem;
}

.transformation-li {
    width: 100%;
    display: flex;
    -ms-flex-direction: row;
    -webkit-flex-direction: row;
    flex-direction: row;
    -webkit-justify-content: space-between;
    justify-content: space-between;
    border: 1px solid white;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    border-radius: 2px;
    margin-bottom: 0.5rem;
    padding: 0.5rem 1rem;
    cursor: move; /* fallback if grab cursor is unsupported */
    cursor: grab;
    cursor: -moz-grab;
    cursor: -webkit-grab;
}

.transformation-li:active {
    cursor: grabbing !important;
    cursor: -moz-grabbing !important;
    cursor: -webkit-grabbing !important;
}

.transformation-li button {
    display: inline;
    color: black;
}

.transformation-li.transformation-dragover {
    background-color: #ccc;
}

.remodel-div {
    /*display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-row-gap: 1rem;
    grid-column-gap: 0.5rem;*/
    margin: 1rem 1rem;
    display: flex;
    -ms-flex-direction: row;
    -webkit-flex-direction: row;
    flex-direction: row;
    -ms-flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    
    /*justify-content: stretch;*/
}

.remodel-div>* {
    margin-bottom: 1rem;
}
    .remodel-div label {
    overflow-wrap: anywhere;
    margin-bottom: 0;
    margin-right: 0.5rem;
}

.remodel-div input, select {
    color: white;
    background-color: var(--parameter-input-and-select-bg-color);
    border: none;
    text-align: center;
    flex-grow: 1;
    
}

.remodel-div h4 {
    -ms-grid-column: 1 / 3;
    grid-column: 1 / 3;
    text-align: left;
    border-bottom: solid 1px white;
    width: 100%;
}

.algorithm-parameters-container,
.metric-parameters-container {
    display: flex;
    -ms-grid-column: 1 / 3;
    grid-column: 1 / 3;
    -ms-flex-direction: column;
    -webkit-flex-direction: column;
    flex-direction: column;
    -webkit-justify-content: center;
    justify-content: center;
    -ms-flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    flex-grow: 1;
    flex-basis: 100%;
}

.metric-parameters,
.algorithm-parameters {
    padding: 1rem;
    border: 1px solid white;
    display: none;
    width: 100%;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    grid-row-gap: 1rem;
    grid-column-gap: 0.5rem;
    -ms-flex: 1;
    -webkit-flex: 1;
    flex: 1;
    align-self: center;
}

.remodel-parameters-div {
    display: none;
    -ms-grid-column: 1 / 3;
    grid-column: 1 / 3;
    text-align: left;
    grid-template-columns: 10fr 9fr;
    grid-row-gap: 1rem;
    grid-column-gap: 0.5rem;
    -webkit-align-items: flex-start;
    align-items: flex-start;
}

.remodel-parameters-div input {
    color: white;
    background-color: var(--parameter-input-and-select-bg-color);
    border: none;
    text-align: center;
    width: 95%;
}

.align-right-div {
    display: flex;
    -ms-flex-direction: row;
    -webkit-flex-direction: row;
    flex-direction: row;
    -webkit-justify-content: flex-end;
    justify-content: flex-end;
}



.graph-section {
    display: flex;
    position: relative;
    -ms-flex-direction: row;
    -webkit-flex-direction: row;
    flex-direction: row;
    -webkit-justify-content: stretch;
    justify-content: stretch;
    min-height: 90vh;
    max-height: 90vh;
    /*height: 100%;
    width: 100%;*/
}




.column {
    display: flex;
    -ms-flex-direction: column;
    -webkit-flex-direction: column;
    flex-direction: column;
    margin: 0;
    -webkit-justify-content: flex-start;
    justify-content: flex-start;
    border-bottom: 2px solid var(--border-color);
}

.column.left-col {
    -webkit-flex-grow: 1;
    flex-grow: 1;
    max-width: 20%;
}


.column.right-col {
    -webkit-flex-grow: 1;
    flex-grow: 1;
    max-width: 20%;
}

.graph-col {
    -webkit-flex-grow: 2;
    flex-grow: 2;
    border-right: none;
}


.column-content {
    background-color: var(--active-content);
    overflow-y: scroll;
    -ms-flex: 1 1 40%;
    -webkit-flex: 1 1 40%;
    flex: 1 1 40%;
    border-left: 2px solid var(--border-color);
    -webkit-scrollbar-width: thin;
    -ms-scrollbar-width: thin;
    -o-scrollbar-width: thin;
    scrollbar-width: thin;
    -webkit-scrollbar-color: var(--scrollbar-track-color) var(--base-background-color);
    -ms-scrollbar-color: var(--scrollbar-track-color) var(--base-background-color);
    -o-scrollbar-color: var(--scrollbar-track-color) var(--base-background-color);
    scrollbar-color: var(--scrollbar-track-color) var(--base-background-color);
}

.column-content a, .graph-content a {
    color: black;
}

.graph-content {
    display: none;
    height: 100%;
    border-left: 2px solid var(--border-color);
    position: relative;
    overflow:hidden;
}

#networkGraph {
    height: 100%;
    background-color: #1A1A1A;
}



.bottom-panel {
    display: flex;
    -ms-flex-direction: row;
    -webkit-flex-direction: row;
    flex-direction: row;
    -webkit-justify-content: flex-end;
    justify-content: flex-end;
    padding: 1rem;
}


svg {
    overflow: hidden;
    position: relative;
    max-width: 100%;
    height: 100%;
}

.g-main {
    height: 100%;
    width: auto;
}

.background {
    /*height: 100%;
    width: 100%;*/
    fill: var(--default-network-background);
}

.links path {
    stroke: lightgray;
    stroke-width: 1px;
    fill: none;
}

.arrow {
    fill: lightgray;
    stroke: black;
    stroke-width: 1px;
}

.nodes circle {
    pointer-events: all;
    stroke: #fff;
    stroke-width: 1.5px;
}

.node-group text{
    fill: black;
}


.selected circle, .selected text{
    stroke: black;
}



.brush .extent {
    fill-opacity: .1;
    stroke: #fff;
    shape-rendering: crispEdges;
}

.invisible {
    display: none;
}

@keyframes circleScale {
    0% {
        -moz-transform: scale(0);
        -ms-transform: scale(0);
        -o-transform: scale(0);
        -webkit-transform: scale(0);
        transform: scale(0);
    }

    50% {
        -moz-transform: scale(1);
        -ms-transform: scale(1);
        -o-transform: scale(1);
        -webkit-transform: scale(1);
        transform: scale(1);
    }

    100% {
        -moz-transform: scale(0);
        -ms-transform: scale(0);
        -o-transform: scale(0);
        -webkit-transform: scale(0);
        transform: scale(0);
    }
}

.network-metrics-container {
    width: 100%;
    height: 100%;
    color: lavender;
    display: flex;
    -ms-flex-direction: column;
    -webkit-flex-direction: column;
    flex-direction: column;
    -webkit-justify-content: flex-start;
    justify-content: flex-start;
    -webkit-align-items: flex-start;
    align-items: flex-start;
    -ms-flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    padding: 8rem 6rem;
}

.network-metric-sync-content,
.network-metric-async-content {
    display: flex;
    -ms-flex-direction: row;
    -webkit-flex-direction: row;
    flex-direction: row;
    -webkit-justify-content: flex-start;
    justify-content: flex-start;
    -webkit-align-items: center;
    align-items: center;
    
}

.metric-value {
    font-size: larger;
    margin-left: 0.5rem;
}






.mvn-input {
    --base-background-color: rgba(50,50,50,0.97);
    --scrollbar-track-color: #888;
    --parameter-label-bg-color: rgba(70,70,70, 0.7);
    --parameter-input-and-select-bg-color: rgba(85,85,85, 0.7);
    position: absolute;
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 0px;
    z-index: 2;
    background-color: rgba(50,50,50,0.7);
    display: none;
}



.mvn-input form {
    background-color: var(--base-background-color);
    border: 0.2rem solid silver;
    display: none;
    color: white;
    -ms-flex-direction: column;
    -webkit-flex-direction: column;
    flex-direction: column;
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: flex-start;
    justify-content: flex-start;
    padding: 1rem;
    -moz-border-radius: 1rem;
    -webkit-border-radius: 1rem;
    border-radius: 1rem;
    max-width: 55%;
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}




.file-buttons {
    width: 100%;
    display: flex;
    -webkit-justify-content: center;
    justify-content: center;
}

.file-button {
    margin: 1rem 0.5rem 0.5rem;
    max-width: 35%;
    display: inline-flex;
    -ms-flex-direction: column;
    -webkit-flex-direction: column;
    flex-direction: column;
    -webkit-justify-content: stretch;
    justify-content: stretch;
    -webkit-align-items: stretch;
    align-items: stretch;
    -webkit-flex-grow: 1;
    flex-grow: 1;
    position: relative; 
    text-align:center;
}


.inputfile {
    height: 0;
    overflow: hidden;
    width: 0;
}

    .inputfile + label {
        -webkit-flex-grow: 1;
        flex-grow: 1;
        background-color: rgba(0, 116, 242, 0.4);
        border: 0.2rem solid lightblue;
        -moz-border-radius: 0.6rem;
        -webkit-border-radius: 0.6rem;
        border-radius: 0.6rem;
        color: #fff;
        cursor: pointer;
        font-family: 'Poppins', sans-serif;
        font-size: inherit;
        font-weight: 600;
        outline: none;
        padding: 1rem 1rem;
        -moz-transition: all 0.3s;
        -o-transition: all 0.3s;
        -webkit-transition: all 0.3s;
        transition: all 0.3s;
        overflow: hidden;
        text-overflow: ellipsis;
    }


        .inputfile:hover + label,
        .inputfile + label:active,
        .inputfile:{
            /*background-color: darken(#f15d22, 10%);*/
            -moz-filter: saturate(2.5);
            -webkit-filter: saturate(2.5);
            filter: saturate(2.5);
            border-color: aqua;
            -moz-transform: scale(1.03);
            -ms-transform: scale(1.03);
            -o-transform: scale(1.03);
            -webkit-transform: scale(1.03);
            transform: scale(1.03);
            cursor: pointer;
        }

    .inputfile:active + label {
    }



.parameters {
    width: 100%;
}



.collapsible-parameters-btn {
    display: block;
    width: contain;
    text-align: left;
    border-bottom: 1px solid lightgrey;
    cursor: pointer;
    margin: 0.5rem;
    -moz-transition: all 0.5s;
    -o-transition: all 0.5s;
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
    padding: 1rem;
}

    .collapsible-parameters-btn:hover, .collapsible-parameters-btn-active {
        background-color: #555;
    }

    .collapsible-parameters-btn i {
        margin: 0 0.5rem;
        font-size: 1.6rem;
    }

.collapsible-parameters-btn-active i {
    -moz-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
    -moz-transition: all 0.5s;
    -o-transition: all 0.5s;
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
}

.collapsible-parameters-content {
    overflow-y: scroll;
    -webkit-scrollbar-width: thin;
    -ms-scrollbar-width: thin;
    -o-scrollbar-width: thin;
    scrollbar-width: thin;
    -webkit-scrollbar-color: var(--scrollbar-track-color) var(--base-background-color);
    -ms-scrollbar-color: var(--scrollbar-track-color) var(--base-background-color);
    -o-scrollbar-color: var(--scrollbar-track-color) var(--base-background-color);
    scrollbar-color: var(--scrollbar-track-color) var(--base-background-color);
    width: contain;
    height: 0;
    -moz-transition: height .3s;
    -ms-transition: height .3s;
    -o-transition: height .3s;
    -webkit-transition: height .3s;
    transition: height .3s;
    display: grid;
    grid-template-columns: 3fr 2fr;
    grid-row-gap: 1rem;
    grid-column-gap: 0.5rem;
    margin: 1rem 1rem;
}

    .collapsible-parameters-content label {
        background-color: var(--parameter-label-bg-color);
        text-align: left;
        padding: 0 0.5rem;
        width: 100%;
        height: 100%;
        margin: auto;
        display: flex;
        -webkit-align-items: center;
        align-items: center;
    }

    .collapsible-parameters-content input, select {
        color: white;
        background-color: var(--parameter-input-and-select-bg-color);
        border: none;
        text-align: center;
    }

#conversion-collapsible-content {
    grid-template-rows: auto auto 1fr;
}

    #conversion-collapsible-content h4 {
        -ms-grid-column: 1 / 3;
        grid-column: 1 / 3;
        text-align: left;
        display: none;
        border-bottom: solid 0.1rem white;
    }

.algorithm-parameters-container,
.metric-parameters-container {
    display: flex;
    -ms-grid-column: 1 / 3;
    grid-column: 1 / 3;
    -ms-flex-direction: row;
    -webkit-flex-direction: row;
    flex-direction: row;
    -webkit-justify-content: center;
    justify-content: center;
    -ms-flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    width: 100%;
}

.input-metric-parameters,
.input-algorithm-parameters {
    padding: 1rem;
    border: 1px solid white;
    display: none;
    width: 90%;
    grid-template-columns: 3fr 2fr;
    grid-row-gap: 1rem;
    grid-column-gap: 0.5rem;
    -ms-flex: 1;
    -webkit-flex: 1;
    flex: 1;
    max-width: 99%;
    align-self: center;
}

#input-attribute-info{
    max-height:400px;
    overflow-y:scroll;
}



.submit-buttons {
    display: flex;
    width: 100%;
    -ms-flex-direction: row;
    -webkit-flex-direction: row;
    flex-direction: row;
    -webkit-justify-content: center;
    justify-content: center;
}

.submit-btn {
    min-width: 15%;
    -webkit-flex-grow: 1;
    flex-grow: 1;
    margin: 2rem 0.5rem 0 0.5rem;
    border: 0.1rem solid lightblue;
    -moz-border-radius: 0.6rem;
    -webkit-border-radius: 0.6rem;
    border-radius: 0.6rem;
    color: white;
    background-color: rgba(0, 116, 242, 0.5);
    outline: none;
    min-height: 3rem;
    font-family: 'Poppins', sans-serif;
    font-size: inherit;
    font-weight: 600;
}

    .submit-btn:hover {
        -moz-filter: saturate(2.5);
        -webkit-filter: saturate(2.5);
        filter: saturate(2.5);
        -moz-transform: scale(1.03);
        -ms-transform: scale(1.03);
        -o-transform: scale(1.03);
        -webkit-transform: scale(1.03);
        transform: scale(1.03);
        -moz-transition: all 0.1s;
        -o-transition: all 0.1s;
        -webkit-transition: all 0.1s;
        transition: all 0.1s;
        border-color: aqua;
    }

.clear-btn {
    width: 100%;
    margin: 2rem 0 0 0;
    border: 0.1rem solid lightblue;
    -moz-border-radius: 0.6rem;
    -webkit-border-radius: 0.6rem;
    border-radius: 0.6rem;
    color: white;
    background-color: rgba(100, 100, 100, 0.5);
    outline: none;
    min-height: 3rem;
    font-family: 'Poppins', sans-serif;
    font-size: inherit;
    font-weight: 600;
    -ms-grid-row: 1 / 2;
    grid-row: 1 / 2;
    grid-column-start: 10;
}

.error-display {
    color: #ff0033;
    font-size: 15px;
    margin: 1rem 2rem;
    text-align: justify;
}

.node-attributes {
    display: none;
    overflow-y: hidden;
    --node-nav-height: 75%;
    --node-select-input-height: 20%;
    --node-select-padding: 1rem;
    color: black;
}

.node-block {
    border-top: 1px solid white;
    display: flex;
    -ms-flex-direction: column;
    -webkit-flex-direction: column;
    flex-direction: column;
    overflow-y: scroll;
    -webkit-scrollbar-width: thin;
    -ms-scrollbar-width: thin;
    -o-scrollbar-width: thin;
    scrollbar-width: thin;
    -webkit-scrollbar-color: var(--scrollbar-track-color) var(--base-background-color);
    -ms-scrollbar-color: var(--scrollbar-track-color) var(--base-background-color);
    -o-scrollbar-color: var(--scrollbar-track-color) var(--base-background-color);
    scrollbar-color: var(--scrollbar-track-color) var(--base-background-color);
}

#node-section.node-block {
    overflow-y: hidden;
}

.node-block:first-child {
    border-top: none;
}

#node-section.node-block {
    height: var(--node-nav-height);
}

#node-neighbors-section.node-block {
    height: calc(100% - var(--node-nav-height));
}

#node-nav {
    position: relative;
    display: flex;
    -ms-flex-direction: column;
    -webkit-flex-direction: column;
    flex-direction: column;
    height: 4rem;
    padding: 0 var(--node-select-padding);
    padding-top: 0.5rem;
}

.node-select-input {
    height: 100%;
    background-image: url(../icons/chevron-down-solid.svg);
    background-position: 98% 50%;
    background-size: 10px 10px, 10px 10px, 1.5em 1.5em;
    background-repeat: no-repeat;
}

.node-select-list {
    position: absolute;
    top: 100%;
    display: none;
    overflow-x: hidden;
    overflow-y: scroll;
    max-height: 20rem;
    z-index: 1;
    width: calc(100% - 2*var(--node-select-padding));
    -ms-overflow-style: none; /* Internet Explorer 10+ */
    scrollbar-width: none; /* Firefox */
    list-style-type: none;
    background-color: white;
    height: auto;
    padding: 0;
}

.node-select-list::-webkit-scrollbar {
    display: none;
}

.node-li {
    text-decoration: none;
    padding: 1rem 0;
    padding-left: 1rem;
    border-top: 1px solid rgba(140, 140, 140, 0.20);
    border-bottom: 1px solid rgba(140, 140, 140, 0.20);
}

.node-li:hover {
    background-color: rgba(140, 140, 140, 0.20);
}



.node-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
}


.node-container a:focus,
.node-container a:hover,
.node-container a:active {
    outline: 0;
    -webkit-text-decoration: none;
    text-decoration: none;
}

.node-container {
    border: 0.2rem solid #333333;
    background: none;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.node-row-group{
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-column-gap: 0.2rem;
    margin-bottom: 0.5rem;
}

.node-heading {
    background-color: white;
    -moz-border-radius: 0.4em;
    -webkit-border-radius: 0.4em;
    border-radius: 0.4rem;
    border: 0.1em solid black;
    color: #333333;
    padding: 0;
    font-size: 2rem;
    min-height: 4rem;
    display: flex;
    -ms-flex-direction: column;
    -webkit-flex-direction: column;
    flex-direction: column;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-align-items: center;
    align-items: center;
    -moz-transition: all 0.1s;
    -o-transition: all 0.1s;
    -webkit-transition: all 0.1s;
    transition: all 0.1s;
}

/*.node-heading-selected {
    border: 0.2rem solid black;
    -moz-transform: scale(0.9);
    -ms-transform: scale(0.9);
    -o-transform: scale(0.9);
    -webkit-transform: scale(0.9);
    transform: scale(0.9);
}*/

.node-heading:hover {
    -moz-filter: brightness(0.9);
    -webkit-filter: brightness(0.9);
    filter: brightness(0.9);
    cursor: pointer;
}

.node-heading:active {
    -moz-transform: scale(0.95);
    -ms-transform: scale(0.95);
    -o-transform: scale(0.95);
    -webkit-transform: scale(0.95);
    transform: scale(0.95);
}

.node-heading a {
    text-align: center;
    line-height: 3rem;
    -webkit-flex-grow: 1;
    flex-grow: 1;
    font-size: 1.6rem;
    font-weight: 400;
}

.node-heading.active-node-heading {
    border-bottom: none;
    -webkit-border-bottom-left-radius: 0;
    border-bottom-left-radius: 0;
    -webkit-border-bottom-right-radius: 0;
    border-bottom-right-radius: 0;
}

.node-heading-disabled {
    pointer-events: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-user-select: none;
    user-select: none;
    -moz-filter: brightness(20%);
    -webkit-filter: brightness(20%);
    filter: brightness(20%);
}

.node-heading-disabled h5 {
    visibility: hidden;
}

.node-data {
    display: none;
    background-color: #fff;
    -ms-grid-column: 1 / 6;
    grid-column: 1 / 6;
    border: 0.1rem solid black;
    border-top: none;
}

.node-data .node-property-group {
    display: flex;
    -webkit-justify-content: space-between;
    justify-content: space-between;
    -webkit-align-items: center;
    align-items: center;
    margin: 0.5rem 0.5rem;
}

.node-detail-container {
    background-color: transparent;
    width: 100%;
    height: 100%;
    overflow-y: scroll;
    -webkit-scrollbar-width: thin;
    -ms-scrollbar-width: thin;
    -o-scrollbar-width: thin;
    scrollbar-width: thin;
    -webkit-scrollbar-color: var(--scrollbar-track-color) var(--base-background-color);
    -ms-scrollbar-color: var(--scrollbar-track-color) var(--base-background-color);
    -o-scrollbar-color: var(--scrollbar-track-color) var(--base-background-color);
    scrollbar-color: var(--scrollbar-track-color) var(--base-background-color); 
    padding: 0.5rem 1rem;
}

.node-detail-container::-webkit-scrollbar {
    display: none;
}


.node-detail {
    display: flex;
    -ms-flex-direction: column;
    -webkit-flex-direction: column;
    flex-direction: column;
}

.node-property-group {
    display: flex;
    -webkit-justify-content: space-between;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.node-property-group label {
    margin-top: 0.5rem;
    overflow: hidden;
    text-overflow: ellipsis;
}

.node-property-group input {
    max-width: 40%;
}

/* #accordion rotate icon option */


#accordion .node-heading.active a:before {
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
    -moz-transition: all 0.5s;
    -o-transition: all 0.5s;
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
}

.selections {
    display: none;
    --shadow-color: rgba(0,0,0, 0.20);
    --light: 80;
    --threshold: 60;
}

.selections .selection-edit {
    display: flex;
    -ms-flex-direction: row;
    -webkit-flex-direction: row;
    flex-direction: row;
    -webkit-justify-content: space-evenly;
    justify-content: space-evenly;
    margin-top: 0.5rem;
    padding: 0.5rem 0;
    border-top: 1px solid white;
}


.selections .selection-list {
    display: flex;
    -ms-flex-direction: column;
    -webkit-flex-direction: column;
    flex-direction: column;
}

.selection-panel {
    display: flex;
    -webkit-justify-content: flex-end;
    justify-content: flex-end;
    -webkit-align-items: center;
    align-items: center;
    padding: 1rem;
    margin: 0.5rem 0;
    border: 0.1rem solid black;
    -moz-border-radius: 0.5rem;
    -webkit-border-radius: 0.5rem;
    border-radius: 0.5rem;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    -moz-box-shadow: 0px 0.2rem 0.2rem var(--shadow-color), 0 0.4rem 0.4rem var(--shadow-color), 0 0.8rem 0.8rem var(--shadow-color);
    -webkit-box-shadow: 0px 0.2rem 0.2rem var(--shadow-color), 0 0.4rem 0.4rem var(--shadow-color), 0 0.8rem 0.8rem var(--shadow-color);
    box-shadow: 0px 0.2rem 0.2rem var(--shadow-color), 0 0.4rem 0.4rem var(--shadow-color), 0 0.8rem 0.8rem var(--shadow-color);
    outline: none;
}

.col-2-table{
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.col-2-table span{
    border: 0.1rem solid white;
    padding: 0.1rem 0.5rem;
}

.selection-panel h4 {
    margin-right: auto;
    --switch: calc((var(--light) - var(--threshold)) * -100%);
    color: hsl(0, 0%, var(--switch));
}

.selection-panel input, button {
    margin: 0 0.5rem;
}

.selection-panel input[type=color] {
    
}



.toolbar {
    color: white;
    font-size: 16px;
    padding: 2rem 1rem 1rem;
    display: flex;
    -ms-flex-direction: row;
    -webkit-flex-direction: row;
    flex-direction: row;
    -webkit-justify-content: flex-start;
    justify-content: flex-start;
}

.toolbar-container {
    overflow: hidden;
}

.toolbar-container .toolbar-btn {
    cursor: pointer;
    padding: 0.5rem 1rem;
    user-select: none;
}

.toolbar-btn:hover {
    background-color: #777;
}

.toolbar-panel {
    display: none;
    -ms-flex-direction: column;
    -webkit-flex-direction: column;
    flex-direction: column;
    -webkit-justify-content: flex-start;
    justify-content: flex-start;
    position: absolute;
    box-shadow: 0px 8px 16px 0px rgba(255,255,255,0.2);
    min-width: 35vh;
    background-color: #404040;
    -moz-border-radius: 1px;
    -webkit-border-radius: 1px;
    border-radius: 1px;
    margin-top: 1px;
    z-index: 9;
    -moz-border-radius: 0 0 0.7rem 0.7rem;
    -webkit-border-radius: 0 0 0.7rem 0.7rem;
    border-radius: 0 0 0.7rem 0.7rem;
}


.toolbar-item {
    color: white;
    text-align: left;
    padding: 0.5rem 1rem;
}

.toolbar-group-start {
    position:relative;
    margin-top: 0.5rem;
}

.toolbar-group-start:before {
    content: "";
    position: absolute;
    left: 3%;
    top: 0;
    height: 5px;
    width: 94%;
    border-top: 2px solid rgba(90, 90, 90, 0.73);
    
}

.toolbar-item:hover {
    text-decoration: none;
    background-color: #777777;
}

.toolbar-item-file {
    width: 0;
    height: 0;
    overflow: hidden;
}

.plot-tooltip {
    position: absolute;
    z-index: 1070;
    display: block;
    margin: 0;
    pointer-events: none;
    /*font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";*/
    font-style: normal;
    font-weight: 400;
    line-height: 1.5;
    text-align: left;
    text-align: start;
    text-decoration: none;
    text-shadow: none;
    text-transform: none;
    letter-spacing: normal;
    word-break: normal;
    word-spacing: normal;
    white-space: normal;
    line-break: auto;
    /*font-size: .875rem;*/
    word-wrap: break-word;
    opacity: 0;
    color: black;

    background-color: white;
    border: 0.1rem solid black;
    border-radius: 0.5rem;
    padding: 1rem;
}

#partition-metrics{
    overflow-y: scroll;
}

.partition-metric-wrapper{
    display: none;
}

.partition-metric-graph-container {
    display: block;
    padding-top: 1rem;
    padding-left: 1rem;
    height: 100%;
}

.partition-metric-graph-container-grid {
    display: grid;
    padding-top: 1rem;
    padding-left: 1rem;
    height: 100%;
    grid-template-columns: repeat(3, 1fr);
}

.partition-boxplot-container {
    grid-template-columns: repeat(2, 1fr);
    display: none;
}
