* {
    font-family: 'Noto Sans', sans-serif;
    box-sizing: border-box;
}

#sidebar-container > div {
    visibility: visible;
    opacity: 1;
    transform: scale(1);
    transition: visibility 0s, opacity .3s ease, margin .4s ease, transform .3s ease;
}

#sidebar-container > div.hidden {
    opacity: 0;
    visibility: hidden;
    transform: scale(0.95);
    transition: visibility 0s, opacity .6s ease, margin .4s ease, transform .3s ease;
    position: absolute;
}

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    background: #0c0c0c;
}

div.flex {
    display: flex;
    flex: 1 1 auto;
}

#content {
    height: calc(100% - 100px);
    width: 100%;
    display: flex;
    flex-direction: row;
    margin-bottom: 100px;
}

    #vis-container {
        width: 70%;
        height: 100%;
        background: white;
    }

    #sidebar-container {
        width: 30%;
        height: 100%;
        border-left: 1px solid rgb(46,49,57);
        background: rgb(30,32,37);
        padding: 10px;
        overflow-y: scroll;
        display: flex;
        flex-direction: column;
    }

        .sidebar-content {
            border-radius: 10px;
            margin-bottom: 10px;
            padding: 10px;
            background: rgb(40,43,59);
            box-shadow: 0px 0px 2px #000000f0;
            color: white;
            border: 1px solid rgb(46,49,57);
        }
        
            .sidebar-content > p {
                padding: 0;
                margin: 0;
                user-select: none;
            }

#toolbar {
    display: flex;
    width: 100%;
    height: 75px;
    background: rgb(18,20,23);
    bottom: 25px;
    position: fixed;
    border-top: 1px solid rgb(46,49,57);
    padding-left: 10px;
    padding-right: 10px;
    box-shadow: 0px 0px 20px black;
    z-index: 99999;
}
    #toolbar > div {
        align-self: center;
    }

#footer {
    background: black;
    height: 25px;
    bottom: 0;
    position: fixed;
    width: 100%;
    color: white;
    display: flex;
    flex-direction: row;
    font-size: 12px;
    text-transform: uppercase;
    padding-right: 10px;
    padding-left: 10px;
    align-items: center;
    user-select: none;
}

    #footer > p {
        color: white;
        padding: 0;
        margin: 0;
        display: flex;
    }

    #footer > p:first-of-type {
        flex: 1 1 auto;
    }
    
    #footer > p:last-of-type {
        text-align: right;
    }


button {
    background: rgb(55, 115, 245);
    border: none;
    border-radius: 5px;
    padding: 10px;
    margin: 5px;
    text-transform: uppercase;
    color: white;
    min-width: 100px;
    box-shadow: 0px 0px 2px black;
    transition: all .2s ease;
    cursor: pointer;
    user-select: none;
}

    button:hover {
        transition: all .2s ease;
        background: rgb(15, 75, 205);
        box-shadow: 0px 0px 5px black;
    }

    button:active {
        transition: all .1s ease;
        background: rgb(0, 35, 165);
        box-shadow: 0px 0px 2px black inset;
    }

    button > * {
        vertical-align: middle;
    }

#slide-progress {
    display: flex;
    flex: 1 1 auto;
    height: 100%;
    margin-left: 50px;
    margin-right: 50px;
    color: white;
    user-select: none;
}

    .step {
        display: flex;
        flex-direction: column;
        align-self: center;
        align-items: center;
        opacity: 0.3;
    }

        .step > p {
            padding: 0;
            margin: 0;
            text-align: center;
            font-size: 12px;
            position: absolute;
            margin-top: 25px;
        }

        .point {
            border-radius: 100%;
            border: 5px solid white;
            height: 25px;
            width: 25px;
            background: rgb(18,20,23);
            margin-left: 5px;
            margin-right: 5px;
            transition: all .3s ease;
        }

        .step-active {
            opacity: 1;
        }

        .step-active > .point {
            background: orange;
            box-shadow: 0px 0px 10px 0px rgba(252, 219, 37, 1);
            transition: all .3s ease;
            width: 25px;
        }

    .divider {
        display: flex;
        flex-direction: row;
        flex: 1 1 auto;
        height: 5px;
        background: white;
        align-self: center;
        border-radius: 5px;
        opacity: 0.3;
    }

#vis {
    width: 100%;
    height: 100%;
}

svg, g {
    color: black;
}
    g.tick > text {
        font-size: 1em;
    }
    g > text.axis-label {
        font-weight: bold;
    }

#intro, #conclusion {
    height: calc(100% - 100px);
    width: 100%;
    position: fixed;
    background: rgb(30,32,37);
    color: black;
    opacity: 0;
    padding: 25px;
    z-index: 9999;
}

#intro {
    transition: all 250ms ease;
    left: -100%;
    display: flex;
    overflow-y: scroll; 
}

    #intro.overlay {
        right: 0;
        left: 0;
        opacity: 1;
        display: flex;
        transition: opacity 250ms ease;
    }

#intro, #intro-content, #about {
    flex-direction: column;
    flex: 1 1 auto;
}

    #intro-content {
        display: flex;
        border-radius: 10px;
        margin-bottom: 10px;
        padding: 10px;
        background: rgb(40,43,59);
        box-shadow: 0px 0px 2px #000000f0;
        color: white;
        border: 1px solid rgb(46,49,57);
        flex-direction: column;
        padding: 25px;
    }

    #about {
        display: flex;
        border-radius: 10px;
        margin-bottom: 10px;
        padding: 10px;
        background: rgb(40,43,59);
        box-shadow: 0px 0px 2px #000000f0;
        color: white;
        border: 1px solid rgb(46,49,57);
        flex-direction: column;
        padding: 25px;
    }

h1 {
    padding: 0;
    margin: 0;
    border-bottom: 2px solid rgba(255,255,255,0.3);
    padding-bottom: 10px;
    font-weight: 100;
}

    h1 > span.material-icons {
        padding: 5px;
        margin-right: 10px;
        background: rgba(0,0,0,0.3);
        border-radius: 5px;
    }

h3 {
    margin: 0;
    border-bottom: 2px solid rgba(255,255,255,0.3);
    padding-bottom: 10px;
}

#conclusion {
    transition: all 500ms ease;
    display: none;
}

    #conclusion.overlay {
        opacity: 1;
        display: flex;
        transition: opacity 1s ease;
    }

.overlay ~ #content {
    opacity: 0;
    transition: all .3s ease;
}

table {
    padding-left: 50px;
    padding-right: 50px;
    background: rgba(0,0,0,0.2);
    border-radius: 10px;
    box-shadow: 0px 0px 2px #161616;
    margin-bottom: 25px;
    border-collapse: collapse;
}

    thead {
        background: rgba(0,0,0,0.4);
    }

        th, td {
            padding: 10px;
            text-align: left;
        }

        th:first-of-type {
            border-top-left-radius: 10px;
        }
        
        th:last-of-type {
            border-top-right-radius: 10px;
        }

        tr:nth-child(even) {
            background: rgba(0,0,0,0.2);
        }

        td {
            font-size: 12px;
        }

div.property {
    background: rgba(0,0,0,0.1);
    border-radius: 10px;
    border: 1px solid rgba(0,0,0,0.1);
    margin-top: 10px;
}
    div.property-title {
        border-radius: 10px;
        background: rgba(0,0,0,0.2);
        padding: 5px;
        border-bottom-left-radius: 0px;
        border-bottom-right-radius: 0px;
    }

        .property-title > span {
            vertical-align: middle;
        }

        .property-title > span.material-icons {
            margin: 5px;
            background: rgba(0,0,0,0.2);
            border-radius: 5px;
            padding: 5px;
            margin-right: 10px;
        }

        .property > p {
            padding-left: 10px;
            padding-right: 10px;
        }

#description > p {
    margin-top: 10px;
}

#filter-button-container {
    position: fixed;
    width: 0;
    height: 0;
    opacity: 0;
    z-index: -1000;
}

    #filter-button-container > button {
        display: flex;
        flex: 1 1 auto;
        display: block;
    }

    #filter-button-container > button.disabled {
        background: gray;
    }

    #filter-button-container > button.reset {
        background: #a33b3b;
    }

    #filter-button-container > button.apply {
        background: #519551;
    }

filter {
    background: rgba(0,0,0,0.3);
    display: block;
    padding: 5px;
    border-radius: 10px;
    margin-top: 10px;
}

h3.filter-name {
    margin: 0;
    font-size: 16px;
    padding: 10px;
    border-bottom: 0;
    font-weight: 500;
}



.string-list-selection-container {
    display: flex;
    padding-left: 30px;
    padding-right: 30px;
    padding-bottom: 10px;
    flex-wrap: wrap;
}

    .string-list-selection-container > i {
        background: rgba(0,0,0,0.3);
        border-radius: 5px;
        border: 1px solid;
        transition: all .2s ease;
        cursor: pointer;
        margin-bottom: 5px;
    }

        .string-list-selection-container > i:hover {
            background: rgba(0,0,0,0.6);
            transition: all .2s ease;
        }

    .string-list-item {
        display: flex;
        flex-direction: row;
        width: auto;
        flex-shrink: 1;
        flex-grow: 0;
        border: 1px solid;
        flex-wrap: wrap;
        align-content: center;
        align-items: center;
        border-radius: 5px;
        padding-left: 5px;
        padding-right: 5px;
        margin-right: 5px;
        user-select: none;
        margin-bottom: 5px;
    }

        .string-list-item > i {
            cursor: pointer;
            font-size: 12px;
            transition: all .2s ease;
            border: 1px solid transparent;
            margin-left: 5px;
            margin-bottom: 5px;
        }

            .string-list-item > i:hover {
                background: rgba(0,0,0,0.4);
                border-radius: 5px;
                border: 1px solid rgba(255,255,255,0.2);
                transition: all .2s ease;
            }


.modal {
    padding: 5%;
    padding-left: 10%;
    padding-right: 10%;
    transition: all .3s ease;
    z-index: 9999999999;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    background: rgba(0,0,0,0.9);
    position: fixed;
}

    .modal-search {
        float: right;
        display: flex;
        margin-top: 10px;
        height: 30px;
        align-items: center;
    }

        .modal-search > input {
            border-radius: 5px;
            border: none;
            font-size: 14px;
            height: 30px;
            padding-left: 10px;
            padding-right: 10px;
        }
        
        .modal-search > i {
            margin-left: 10px;
        }

    .modal-content {
        height: 100%;
        background: rgb(30,32,37);
        border-radius: 20px;
        border: 2px solid rgb(255 255 255 / 15%);
        box-shadow: 0px 0px 20px rgb(0 0 0 / 30%);
        color: white;
        padding: 20px;
    }

    items-container {
        overflow-y: scroll;
        display: flex;
        flex-wrap: wrap;
        height: calc(100% - 100px);
        padding: 10px;
        background: rgba(0,0,0,0.3);
        border-radius: 10px;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
        align-content: flex-start;
        align-items: center;
    }

        items-container > .string-list-item {
            height: 30px;
            transition: all .2s ease;
            margin: 5px;
            cursor: pointer;
        }

        .string-list-item.hide {
            display: none;
        }

        items-container > .selected {
            background: rgb(86 89 108);
            transition: all .2s ease;
        }

    .modal-content > .button-container {
        background: rgba(0,0,0,0.8);
        border-bottom-left-radius: 10px;
        border-bottom-right-radius: 10px;
        border: 1px solid rgba(0,0,0,0.4);
        flex-direction: row-reverse;
        display: flex;
    }


path.subject, path.connector, path.note-line, text.annotation-note-label {
    stroke: black;
    stroke-width: 3;
}

text.annotation-note-label {
    stroke-width: 1;
}

.vis1 text.annotation-note-label {
    font-size: 12px;
    transform: translate(10px, 10px);
}

.vis2 text.annotation-note-label {
    font-size: 12px;
    transform: translate(10px, 10px);
}

.vis3 text.annotation-note-label {
    font-size: 12px;
    transform: translate(10px, 10px);
}

.conclusion-overlay {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: rgba(255,255,255,0.8);
    z-index: 99999999;
    display: flex;
    justify-content: center;
    align-content: center;
    align-items: center;
}

    .message-container {
        background: white;
        width: 50%;
        margin: 0 auto;
        padding: 40px;
        box-shadow: 0px 0px 5px #646464;
    }

        .message-controls-container {
            display: flex;
            flex-direction: row-reverse;
        }

#tooltip {
    position: absolute;
    background: white;
    opacity: 1;
    transition: all .2s ease-in-out;
    cursor: initial;
    user-select: none;
    box-shadow: 0px 0px 5px rgba(0,0,0,0.4);
    border-radius: 5px;
    padding: 5px;
    width: auto;
    height: auto;
    display: flex;
    flex-direction: column;
    max-width: 200px;
    float: right;
    padding-left: 10px;
    padding-right: 10px;
    z-index: 999999999;
    background: linear-gradient(rgb(255,255,255), rgb(240,240,240));
}
    #tooltip.inactive {
        transform: scale(0.5, 0.1);
        opacity: 0;
        transition: opacity .2s ease-in-out, transform .8s ease;
    }

    #tooltip > p {
        padding: 0;
        margin: 0;
        font-size: 1vw;
    }

filter input[readonly] {
    background: transparent;
    border: none;
    color: white;
    width: 100%;
    user-select: none;
}

.slider-controls {
    position: relative;
    min-height: 20px;
}
    .slider-controls > input:first-of-type {
        z-index: 1;
        height: 0;
    }

.slider-container {
    display: flex;
    flex-direction: column;
    width: 80%;
    margin: 35% auto;
    margin-top: 20px;
    margin-bottom: 20px;
}

    input[type='range'] {
        -webkit-appearance: none; 
        appearance: none;
        height: 3px;
        width: 100%;
        position: absolute;
        background-color: orange;
        pointer-events: none;
        border-radius: 10px;
    }
    
    input[type=range]::-webkit-slider-thumb {
        width: 18px;
        height: 18px;
        background-color: white;
        border-radius: 100%;
        box-shadow: 0 0 0 2px #C7C7C7;
        cursor: pointer;
        transition: all .3s ease;
        pointer-events: all;
        -webkit-appearance: none;
    }
    
    input[type=range]::-moz-range-thumb {
        width: 18px;
        height: 18px;
        background-color: white;
        border-radius: 100%;
        box-shadow: 0 0 0 2px #C7C7C7;
        cursor: pointer;  
        transition: all .3s ease;
        pointer-events: all;
        -webkit-appearance: none;
    }

    input[type=range]::-webkit-slider-thumb:active {
        transition: all .3s ease;
        box-shadow: inset 0 0 4px #2d82d8, 0 0 6px #4e8fcf;
        -webkit-box-shadow: inset 0 0 4px #2d82d8, 0 0 6px #4e8fcf;
    }
  
    .slider-input-container {
        position: relative;
        display: flex;
        justify-content: space-between;
        font-size: 14px;
        color: white;
    }

        .slider-input-container > div:first-of-type > * {
            user-select: none;
            text-align: left;
        }

        .slider-input-container > div:last-of-type > * {
            user-select: none;
            text-align: right;
        }
