.irs {
    font-family: "Source Sans 3", sans-serif;
    margin-top: 0.5rem !important;
}

.irs--flat .irs-min, .irs--flat .irs-max {
    color: inherit;
    background: none;
}

.irs--flat .irs-grid-text {
    color: inherit;
}

.irs--flat .irs-from, .irs--flat .irs-to, .irs--flat .irs-single {
    background-color: var(--secondary);
}


.irs--flat .irs-bar {
    background-color: var(--secondary);
}

.irs--flat .irs-from:before, .irs--flat .irs-to:before, .irs--flat .irs-single:before {
    border-top-color: var(--secondary);
}

.irs--flat .irs-handle>i:first-child {
    background-color: var(--secondary);
}

.irs--flat .irs-handle.state_hover>i:first-child, .irs--flat .irs-handle:hover>i:first-child {
    background-color: var(--secondary);
}

.showcase_decision {
    display: block;
    position: absolute;
    top: 70px;
    background: var(--primary);
    padding: 1px 3px;
    border-radius: 3px;
    color: #fff;
}

.showcase_decision > i:first-child {
    position: absolute;
    display: block;
    top: -40px;
    left: 1px;
    width: 2px;
    height: 45px;
    margin-left: -1px;
    background-color: var(--primary);
    opacity: 0.2;
}

.showcase_padding {
    min-height: 150px !important;
}

.panel-scroll {
    overflow-y: scroll;
    max-height:500px;
}

.leader-line {
    z-index: 1 !important;
    position: relative;
}

.panels-upfront {
    position: inherit;
    z-index: 2;
    margin-top: -1px;
}

/*Targets*/
.targeted {
    background: linear-gradient(90deg, blue 50%, transparent 50%), linear-gradient(90deg, blue 50%, transparent 50%), linear-gradient(0deg, blue 50%, transparent 50%), linear-gradient(0deg, blue 50%, transparent 50%);
    background-repeat: repeat-x, repeat-x, repeat-y, repeat-y;
    background-size: 15px 4px, 15px 4px, 4px 15px, 4px 15px;
    background-position: 0px 0px, 200px 100px, 0px 100px, 200px 0px;
    animation: border-dance 4s infinite linear;
}

@keyframes border-dance {
    0% {
        background-position: 0px 0px, 300px 116px, 0px 150px, 216px 0px;
    }
    100% {
        background-position: 300px 0px, 0px 116px, 0px 0px, 216px 150px;
    }
}

.outputs {
    width: 0px;
}
.outputs .output {
    right: -7px;
    top: 14px;
}
.output{
    position: absolute;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    border: 1px solid black;
    cursor: grab;
    z-index: 1;
    margin-bottom: 5px;
}
.output {
    height: 15px;
    width: 15px;
    border: 1px solid var(--border-color);
    background-color: var(--primary);

}

/*Scrollbars*/
body::-webkit-scrollbar {
    width: 1px;
}

body::-webkit-scrollbar-track {
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
}

body::-webkit-scrollbar-thumb {
    background-color: transparent;
    outline: 1px solid white;
}

/* width */
::-webkit-scrollbar {
    width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
    background: transparent;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: var(--border-color);
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #999;
}