
.chart-container {
    /*width: 1000px;*/
    background: #073642;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    border-radius: 10px;
}

.ff-options {
    float: left;
    padding: 5px;
    max-width: calc(100% - 1500px);
    flex-direction: column-reverse;
    display: flex;
    flex: 1 1 auto;
}

.plot-tools {
    /* float: left; */
    /* padding: 5px; */
    /* display: flex; */
    /* flex: 1 1 100%; */
    font-size: 24px;
}


.chart-container .ff-control {
    /* width: 100%;
    flex: 100%; */
}

.chart-container h2 {
    color: #444;
    margin: 0 0 10px;
    font-weight: 300;
    padding: 10px;
    text-shadow: 0 1px 1px rgba(255,255,255,0.8);
    font-size: 24px;
}

g.interactive-layer g.axis path,
g.context g.axis path {
    stroke-opacity: 0;
}

g.interactive-layer g.axis line,
g.context g.axis line {
    stroke-opacity: .1;
}

g.interactive-layer rect.background,
g.context g.brush rect.background {
    fill: #BBC7C9;
}

.brush .extent {
    fill: #073642;
    fill-opacity: .5;
    shape-rendering: crispEdges;
}

g.interactive-layer rect.extent {
    fill: rgba(222, 166, 166, 0.2);
}

g.context rect.background {
    fill: rgb(200,200,255);
    visibility: visible !important;
}

g.velocity path.chart { fill: rgba(138, 201, 0, 0.5); }
g.eventconfidence path.chart { fill: rgba(241, 90, 90, 0.5);}
g.wristdelta path.chart { fill: rgba(127,183,201,0.5);}
g.uk path.chart { fill: rgba(127,130,201,0.5);}
g.usa path.chart { fill: rgba(171,127,201,0.5);}


g.system-events .title{
    fill: red;
}

g.user-events .title{
    fill: black;
}

g.system-events rect{
    fill: #feff00;
}

g.system-events text{
    fill: #000;
}

g.system-events rect,
g.system-events text {
    fill-opacity: 0.2;
}


g.user-events rect {
    fill: #F8C9BD;
    fill-opacity: .4;
}

g.user-events .label,
g.user-events .title {
    font-weight: 600;
    fill: black;
}

g.system-events .label,
g.system-events .title {
    font-weight: 600;
}

g.system-events .confidence-thresh {
    fill: #000;
    fill-opacity: 0.1;
}

g.user-events .putdown_return,
g.system-events .putdown_return {
    fill: #ff5f4c;
}

g.user-events .interact_off_person,
g.system-events .interact_off_person {
    fill: #faff94;

}
g.user-events .pickup,
g.system-events .pickup {
    fill: #00eecb;

    /*fill: #05ad00;*/

}
g.user-events .interact_on_person,
g.system-events .interact_on_person {
    fill: #00ff74;

}
g.user-events .putdown_take,
g.user-events .putdown,
g.system-events .putdown_take,
g.system-events .putdown {
    fill: #05ad00;

}
g.user-events .walking,
g.system-events .walking {
    fill: darkgrey;
}
g.user-events .scanning,
g.system-events .scanning {
    fill: #100cee;
}
g.user-events .random,
g.system-events .random {
    fill: #ff8fd6;
}

g.brush-event {
    fill: #aef7ff;
    fill-opacity: 0.4;
}

g.brush-event .label {
    fill: #444444;
}

g.brush-event.pickup {
    fill: royalblue;
}
g.brush-event.putdown {
    fill: red;
}

g.point-event {

}


g.point-event.pickupPoint {
    fill: royalblue;
}

g.point-event.returnPoint {
    fill: red;
}

g.pt-delete-btn {
    font-size: 15px;
    cursor: no-drop;
}

g.pt-delete-btn text {
    fill: black;
    cursor: no-drop;
}


.axis path, .axis line {
    fill: none;
    stroke: #aaa;
    shape-rendering: crispEdges;
}

.error-msg {
    float: left;
    margin: 50px 100px;
}

.temporary-events {
    padding-top:15px;
}

.map {
    width: 400px;
    margin: 0;
    float: left;
    z-index: 1;
    border: 2px solid #efefef;
    margin-top: 0px;
    left: 10px;
    height: 250px;
    top: 0px;
}

.scatter {
    /* margin: 20px; */
}

.scatter .block-loader {
    margin-bottom: 10px;
}

.scatter .block-loader button {
    margin-right: 10px;
}

.scatter .block-loader input {
    width: 30%;
}

.scatter .frames {}

.scatter .map  {
    width: 450px;
    height: 260px;
    float: none;
    margin-bottom: 20px;
    left: 0;
}

.scatter #row1 {
    display: flex;
    flex-direction:row;
    
}


.scatter .column {
    height:100%;
    /* margin: 50px; */
}


.scatter #controller {
    width: 30rem;
}
.scatter #explorer {
    flex: auto;
}

.scatter #controls .controls {
    margin: 10px 0;
}
.scatter #tracks {
    height: calc(100% - 255px);
    /* overflow-y: scroll; */
    margin-left: 15px;
}

.scatter #track {
    height: calc(100% - 255px);
    /* overflow-y: scroll; */
    margin-left: 15px;
}

.scatter #recently_added {
    /* margin-top: 20px */
}
.scatter #recently_added #recents{
    /* background-color: #efefef; */
    /* overflow-x: scroll; */
    /* white-space: nowrap; */
    /* width: 1300px; */
}

#recents > div {
    /*float: left;*/
    display: inline-block;
}

#recents > div > button.primary {
    display: block;
    padding: 0 10px;
}



.map .gmnoprint {
    left:500px!important; /* only using important to overwrite google maps css which loads later */
}

.track-highlight {
    display: inline-block;
    border-style: solid;
    border-top-width: 3px;
    border-bottom-width: 3px;
    margin-top: 2px;
    margin-bottom: 1px;
    background-color: white;
    border-color: white;
    
}

.track-highlight-2 {
    display: inline-block;
    /* border-style: solid; */
    border-top-width: 3px;
    border-bottom-width: 3px;
    margin-top: 2px;
    margin-bottom: 2px;
    background-color: white;
    border-color: white;
    
}

.track-highlight.selected {
    background-color: lightblue;
    border-color: blue;
}

.track-highlight.active {
    background-color: lightgreen;
    border-color: green;
}

.track-highlight-2.selected {
    background-color: rgb(255, 45, 45);
    border-color: blue;
}

.track-highlight-2.active {
    background-color: lightgreen;
    border-color: green;
    opacity: 1;
}



.frame-animation {
    width: 280px;
    height: 256px;
    z-index: 1;
    float: right;
    background-color: #666;
}

.frame-box {
    margin-top:10px;
}

.grid {
    /*width: 1000px;*/
    /* padding-left: 50px; */
    background-color: #073642;
    border-radius: 10px;
    margin-bottom: 20px;
}

#fullframe img {
    width:100%;
    height:100%;
}

.frame-item {
    display: inline-block;
    position: relative;
    margin: 3px;
    width: 66px;
    height: 120px;
    overflow:hidden;
}

.scatter .frame-item {
    margin: 5px;
}

.frame-item img {
    z-index: 1;
}

.frame-item.bounded,
.frame-item.active {
    margin: 0;
    position: relative;
    top: -3px;
    margin-right: 6px;
}

.frame-item.bounded .mask {
    background-color: rgba(96, 123, 255, 0.34);
    width: 100%;
    height: 100%;
    z-index: 2;
    border: 3px solid rgba(248, 39, 251, 0.45);
    position: relative;
    overflow: hidden;
}

.frame-item.active .mask {
    background-color: rgba(0, 255, 243, 0.3);
    width: 100%;
    height: 100%;
    z-index: 2;
    border: 3px solid rgba(248, 50, 50, 0.85);
    position: relative;
    overflow: hidden;
}

.frame-item.pickup-pt,
.frame-item.return-pt {

}

.frame-item.pickup-pt {
    border: 5px solid rgba(142, 248, 119, 0.85);

}


.frame-item.return-pt {
    border: 5px solid rgba(248, 78, 5, 0.85);
}

/**
 * CANVAS
 */

.frame-canvas {
    width: 100%;
    max-width: 1860px;
    /*height: 390px;*/
    float: left;
    position: relative;
    justify-content: center;
    text-align: center;
    /* background-color: #efefef; */
    height: 700px;
   
}

.tool.v1 .frame-canvas {
    max-width: 1200px;
    margin-left: 63px;
    margin-top: 10px;
}

.frame-canvas img {
    display: none;
    width: 100%;
    height: 100%;
}

.frame-canvas img.active {
    display: block;
}

.frame-canvas_fullframe_preview {
    /*width: 700px;*/
    width: 100%;
    max-width: 1000px;
    /*height: 390px;*/
    float: left;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.frame-canvas_fullframe_preview img {
    width: 100%;
    height: 100%;
}

/* ghetto grid */

.frame-canvas.grid,
.frame-grid {
    height: 450px;
}


/* .frame-canvas.grid img:active {
    width: 800px;
    height: 450px;
} */

g.tick text, 
text.instructions,
text.country-title {
    fill: #BBC7C9;
}

.frame-canvas.grid img,
.frame-grid img {
    width: 400px;
    height: 225px;
    z-index: 100;
}

.frame-grid img,
.frame-grid .gridbox {
    display: none;
}

.frame-grid img.active,
.frame-grid .gridbox.active {
    display: block;
}

/* .frame-canvas.grid img.source0 {position: absolute; top: 0; left: 0;}
.frame-canvas.grid img.source1 {position: absolute; top: 0; left: 400px;}
.frame-canvas.grid img.source2 {position: absolute; top: 0; left: 800px;}
.frame-canvas.grid img.source3 {position: absolute; top: 225px; left: 0;}
.frame-canvas.grid img.source4 {position: absolute; top: 225px; left: 400px;}
.frame-canvas.grid img.source5 {position: absolute; top: 225px; left: 800px;}
.frame-canvas.grid img.source6 {position: absolute; top: 450px; left: 0;}
.frame-canvas.grid img.source7 {position: absolute; top: 450px; left: 400px;}
.frame-canvas.grid img.source8 {position: absolute; top: 450px; left: 800px;}
.frame-canvas.grid img.source9 {position: absolute; top: 675px; left: 0;}
.frame-canvas.grid img.source10 {position: absolute; top: 675px; left: 400px;}
.frame-canvas.grid img.source11 {position: absolute; top: 675px; left: 800px;}

.frame-grid img.source0 {position: absolute; top: 0; left: 0;}
.frame-grid img.source1 {position: absolute; top: 0; left: 400px;}
.frame-grid img.source2 {position: absolute; top: 0; left: 800px;}
.frame-grid img.source3 {position: absolute; top: 225px; left: 0;}
.frame-grid img.source4 {position: absolute; top: 225px; left: 400px;}
.frame-grid img.source5 {position: absolute; top: 225px; left: 800px;}
.frame-grid img.source6 {position: absolute; top: 450px; left: 0;}
.frame-grid img.source7 {position: absolute; top: 450px; left: 400px;}
.frame-grid img.source8 {position: absolute; top: 450px; left: 800px;}
.frame-grid img.source9 {position: absolute; top: 675px; left: 0;}
.frame-grid img.source10 {position: absolute; top: 675px; left: 400px;}
.frame-grid img.source11 {position: absolute; top: 675px; left: 800px;} */


.frame-canvas.grid img.source0 {position: absolute; top: 0; left: 0;}
.frame-canvas.grid img.source1 {position: absolute; top: 0; left: 400px;}
.frame-canvas.grid img.source2 {position: absolute; top: 0; left: 800px;}
.frame-canvas.grid img.source3 {position: absolute; top: 0; left: 1200px;}

.frame-canvas.grid img.source4 {position: absolute; top: 225px; left: 0;}
.frame-canvas.grid img.source5 {position: absolute; top: 225px; left: 400px;}
.frame-canvas.grid img.source6 {position: absolute; top: 225px; left: 800px;}
.frame-canvas.grid img.source7 {position: absolute; top: 225px; left: 1200px;}

.frame-canvas.grid img.source8 {position: absolute; top: 450px; left: 0px;}
.frame-canvas.grid img.source9 {position: absolute; top: 450px; left: 400px;}
.frame-canvas.grid img.source10 {position: absolute; top: 450px; left: 800px;}
.frame-canvas.grid img.source11 {position: absolute; top: 450px; left: 1200px;}

.frame-canvas.grid img.source12 {position: absolute; top: 675px; left: 0;}
.frame-canvas.grid img.source13 {position: absolute; top: 675px; left: 400px;}
.frame-canvas.grid img.source14 {position: absolute; top: 675px; left: 800px;}
.frame-canvas.grid img.source15 {position: absolute; top: 675px; left: 1200px;}


.frame-grid img.source0 {position: absolute; top: 0; left: 0;}
.frame-grid img.source1 {position: absolute; top: 0; left: 400px;}
.frame-grid img.source2 {position: absolute; top: 0; left: 800px;}
.frame-grid img.source3 {position: absolute; top: 0; left: 1200px;}

.frame-grid img.source4 {position: absolute; top: 225px; left: 0;}
.frame-grid img.source5 {position: absolute; top: 225px; left: 400px;}
.frame-grid img.source6 {position: absolute; top: 225px; left: 800px;}
.frame-grid img.source7 {position: absolute; top: 225px; left: 1200px;}

.frame-grid img.source8 {position: absolute; top: 450px; left: 0px;}
.frame-grid img.source9 {position: absolute; top: 450px; left: 400px;}
.frame-grid img.source10 {position: absolute; top: 450px; left: 800px;}
.frame-grid img.source11 {position: absolute; top: 450px; left: 1200px;}

.frame-grid img.source12 {position: absolute; top: 675px; left: 0;}
.frame-grid img.source13 {position: absolute; top: 675px; left: 400px;}
.frame-grid img.source14 {position: absolute; top: 675px; left: 800px;}
.frame-grid img.source15 {position: absolute; top: 675px; left: 1200px;}

.image-background-overlays {
    position: absolute;
    height: 100%;
    width: 100%;
    z-index:0;
    top: 0;
}

.image-background-overlays img {
    width: 500px;
    height: 285px;
    display: block;
    opacity: .75;
}

.image-mask-overlays {
    position: absolute;
    height: 100%;
    width: 100%;
    z-index:10;
}

.image-mask-overlays img {
    width: 500px;
    height: 285px;
    display: block;
    opacity: 0.8;
    filter: invert(100%);
}

.ff-options button {
    margin-left: 10px;
}

.plot-tools i {
    padding: 10px;
    cursor: pointer;
}

.square,
.circle {
    pointer-events: none;
    position: relative;
    width: 28px;
    height: 28px;
    margin: 1px;
    background-color: currentColor;
    font-size: 14px;
}

.circle {
    border-radius: 50%;
}

.stretched {
    height: 2px;
}

.loader {
    margin: 0 calc(50% - 65px);
}

.prompt {
    position:absolute;
    top:700px;
    z-index: 1;
}

.noty_buttons button {
    border: 2px solid white;
    margin-right: 5px;
    padding: 0 1rem;
    background-color: rgba(255, 255, 255, 0.25);
    height: 2rem;
    line-height: 2rem;
    text-transform: lowercase;
    font-size: 12px;
}

.noty_theme__mint.noty_type__success, .noty_theme__mint.noty_type__notification {
    background-color: #fff!important;
    border-bottom: 1px solid #D1D1D1;
    color: #2F2F2F!important;
    font-weight: 600;
    font-size: 14px!important;
    -webkit-box-shadow: 0px 1px 5px 0px rgba(0,0,0,0.75);
    -moz-box-shadow: 0px 1px 5px 0px rgba(0,0,0,0.75);
    box-shadow: 0px 1px 5px 0px rgba(0,0,0,0.75);
}

.noty_has_timeout .noty_progressbar {
    height: 5px!important;
    background-color: #0798ff!important;
}

.prompt button#button-event-remove:hover {
    color: red!important;
    box-shadow: none;
}

.prompt button#button-event-remove {
    background-color: #ffd4d4;
}

.model-selector {
    display: inline-block;
    width: calc(100% - 1000px);
    margin-bottom: 20px;
    padding: 10px;
}

.model-selector button {
    margin: 5px;
}

.model-selector .selector {
    margin: 5px;
}

.model-selector .multiselect {
    box-shadow: 1px 2px 5px 0px rgba(0,0,0,0.22);
    -webkit-box-shadow: 1px 2px 5px 0px rgba(0,0,0,0.22);
    -moz-box-shadow: 1px 2px 5px 0px rgba(0,0,0,0.22);
    margin: 5px 0 20px 0;
}

.slidecontainer {
    width: 100%;
}

.slider {
    -webkit-appearance: none;
    width: 100%;
    height: 25px;
    background: #d3d3d3;
    outline: none;
    opacity: 0.7;
    -webkit-transition: .2s;
    transition: opacity .2s;
}

.slider:hover {
    opacity: 1;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 25px;
    height: 25px;
    background: #42b983;
    cursor: pointer;
}

.slider::-moz-range-thumb {
    width: 25px;
    height: 25px;
    background: #42b983;
    cursor: pointer;
}


/**
 * Event detection confidence stuff
 */

.event_detections rect {
    fill: black!important;
}



/**
 * MEDIA QUERIES
 */

/* (1920x1080) Full HD Display */
@media  screen and (max-width: 1920px) {
    /* insert styles here */

    .scatter #explorer {
        /* height: 80rem; */
    }
}

/* (1920x1080) Full HD Display */
@media  screen and (max-width: 2560px) {
    /* insert styles here */
    .scatter #col2 {
        height: 69rem;
    }
}