body {
    font: 12px sans-serif;
}

#wrapper {
    position: relative;
}

#tip {
    background-color: white;
    border: 1px solid blue;
    position: absolute;
    left: -200px;
    top: 100px;
}

#tooltip {
    position: absolute;
    width: 100px;
    height: auto;
    padding: 10px;
    background-color: white;
    -webkit-box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.4);
    -moz-box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.4);
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.4);
    pointer-events: none;
}

    #tooltip.hidden {
        display: none;
    }

    #tooltip p {
        margin: 0;
        font-family: sans-serif;
    }

    #tooltip .title {
        text-decoration: underline;
    }

path.line {
    fill: none;
    stroke: #666;
    stroke-width: 1.5px;
}

#plot-canvas {
    z-index: 2;
}

#axis-svg {
    z-index: 1;
}

.plot {
    display: inline-block;
}

.commit-circle, .legend-rect {
    stroke-width: 1px;
}

.line {
    fill: none;
    stroke-width: 3px;
}

    .line.selected {
        stroke-width: 5px;
    }

.legend-text {
    font-size: 12px;
    fill: black;
}

    .legend-text.selected {
        font-size: 18px;
        fill: green;
    }

.axis path {
    fill: none;
    stroke: #000;
    shape-rendering: crispEdges;
}

.axis text {
    fill: #555;
    font-size: 12px;
}

.axisclear path {
    fill: none;
    stroke: #FFFFFF;
    shape-rendering: crispEdges;
}

.axisclear text {
    fill: #FFFFFF;
    font-size: 12px;
}

.axis line {
    stroke: #e7e7e7;
    shape-rendering: crispEdges;
}

.axisclear line {
    stroke: #FFFFFF;
    shape-rendering: crispEdges;
}

.axis .axis-label {
    stroke: #000;
    font-size: 12px;
}

.axisclear .axis-label {
    stroke: #FFFFFF;
    font-size: 12px;
}

.axis-title {
    stroke: #000;
    font-size: 16px;
    shape-rendering: crispEdges;
}

.axisclear-title {
    stroke: #FFFFFF;
    font-size: 16px;
    shape-rendering: crispEdges;
}

.screensize {
    width: 100%;
}

.bg {
    position: relative;
    z-index: 1;
    height: 100%;
    margin: 0 auto;
}

.grid .tick {
    stroke: lightgrey;
    opacity: 0.7;
    shape-rendering: crispEdges;
}

.grid path {
    stroke-width: 0;
}

.dot {
    stroke: transparent;
    stroke-width: 10px;
    cursor: pointer;
}

    .dot:hover {
        stroke: rgba(68, 127, 255, 0.3);
    }

.cell {
    display: table;
    border-radius: 5px;
}

    .cell .inner {
        display: table-cell;
        text-align: center;
        vertical-align: middle;
        font-size: 40px;
        font-weight: bold;
        color: white;
    }

.grapharea {
    background: #FFFFFF;
    border: 1px solid #C0C0C0;
}

.rectzoom {
    fill: transparent
}

@media screen and (max-width: 1000px) {
    .screensize {
        width: 100%;
        overflow: hidden;
        margin: 0 -150px 0 -150px;
    }
}

@media screen and (max-width: 1000px) {
    .tabPanel {
        width: 100%;
        overflow: hidden;
        margin: 0 -150px 0 -150px;
    }
}

rect.highlight {
    fill: yellow
}

.view {
    fill: url(#gradient);
    stroke: #000;
}

.adjustaxisbtn {
    cursor: pointer;
    font-weight: bold;
    position: absolute;
    margin: 0px 5px 5px 15px;
}

.resetaxisbtn {
    cursor: pointer;
    font-weight: bold;
    position: absolute;
    margin: 0px 5px 5px 135px;
}

.btn_d3 {
    cursor: pointer;
    font-weight: bold;
    position: absolute;
    margin: 0px 5px 5px 250px;
}

.btn_d4 {
    cursor: pointer;
    font-weight: bold;
    position: absolute;
    margin: 0px 5px 5px 370px;
}

.field {
    margin: 5px 0px 0px -400px;
}

label {
    margin-top: 0px;
    margin-left: 5px;
    margin-right: 5px;
}

.hidden {
    display: none;
}

circle {
    stroke-width: 2px;
    stroke: #000;
    fill: none;
}

.dropbtn {
    background-color: #4CAF50;
    color: white;
    padding: 5px;
    font-size: 16px;
    border: none;
    cursor: pointer;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 75px;
    max-height: 400px;
    overflow: auto;
    box-shadow: 0px 0px 0px 0px rgba(0,0,0,0.2);
    padding: 3px 5px;
    z-index: 1;
}

    .dropdown-content a:hover {
        background-color: #f1f1f1
    }

.dropdown:hover .dropdown-content {
    display: block;
    overflow: auto;
}

.dropdown:hover .dropbtn {
    background-color: #3e8e41;
}

.dropdown-submenu {
    position: relative;
    text-align: left;
}

    .dropdown-submenu > .dropdown-menu {
        top: 0;
        left: 100%;
        margin-top: -6px;
        margin-left: -1px;
        -webkit-border-radius: 0 6px 6px 6px;
        -moz-border-radius: 0 6px 6px;
        border-radius: 0 6px 6px 6px;
    }

    .dropdown-submenu:hover > .dropdown-menu {
        display: block;
    }

    .dropdown-submenu > a:after {
        display: block;
        content: " ";
        float: right;
        width: 0;
        height: 0;
        border-color: transparent;
        border-style: solid;
        border-width: 5px 0 5px 5px;
        border-left-color: #ccc;
        margin-top: 5px;
        margin-right: -10px;
    }

    .dropdown-submenu:hover > a:after {
        border-left-color: #fff;
    }

    .dropdown-submenu.pull-left {
        float: none;
    }

        .dropdown-submenu.pull-left > .dropdown-menu {
            left: -100%;
            margin-left: 10px;
            -webkit-border-radius: 6px 0 6px 6px;
            -moz-border-radius: 6px 0 6px 6px;
            border-radius: 6px 0 6px 6px;
        }

#splitter {
    background-color: white;
    height: 700px;
    border: 1px solid #ccc;
}

#filetree { /* padding: 4px; */
    overflow: auto;
    width: 30%; /* optional, initial splitbar position */
    min-width: 100px; /* optional */ /* No margin or border allowed */
    background: #ccc;
    height: 700px;
}

    #filetree > ul {
        padding: 4px;
    }

#fileinfo {
    padding: 4px;
    min-width: 100px;
    overflow: auto;
    flex: auto;
    background: #eee;
    height: 700px;
    /* No margin or border allowed */
}


.tree, .tree ul {
    margin: 0;
    padding: 0;
    list-style: none
}

    .tree ul {
        margin-left: 1em;
        position: relative
    }

        .tree ul ul {
            margin-left: .5em
        }

        .tree ul:before {
            content: "";
            display: block;
            width: 0;
            position: absolute;
            top: 0;
            bottom: 0;
            left: 0;
            border-left: 1px solid
        }

    .tree li {
        margin: 0;
        padding: 0 1em;
        line-height: 2em;
        color: #369;
        font-weight: 700;
        position: relative
    }

    .tree ul li:before {
        content: "";
        display: block;
        width: 10px;
        height: 0;
        border-top: 1px solid;
        margin-top: -1px;
        position: absolute;
        top: 1em;
        left: 0
    }

    .tree ul li:last-child:before {
        background: #e7e7e7;
        height: auto;
        top: 1em;
        bottom: 0
    }

.indicator {
    margin-right: 5px;
}

.tree li a {
    text-decoration: none;
    color: #369;
}

.tree li button, .tree li button:active, .tree li button:focus {
    text-decoration: none;
    color: #369;
    border: none;
    background: transparent;
    margin: 0px 0px 0px 0px;
    padding: 0px 0px 0px 0px;
    outline: 0;
}

.page-container {
    margin: 20px;
}

.panel-container {
    display: flex;
    flex-direction: row;
    border: 1px solid silver;
    overflow: hidden;
}

.panel-left {
    flex: 0 0 auto;
    padding: 0px;
    width: 300px;
    min-height: 400px;
    min-width: 150px;
    white-space: nowrap;
    background: #e7e7e7;
}

.splitter {
    flex: 0 0 auto;
    width: 12px;
    background: center center no-repeat #ccc;
    min-height: 200px;
    cursor: col-resize;
}

.panel-right {
    flex: 1 1 auto;
    padding: 0px;
    width: 100%;
    min-height: 400px;
    min-width: 200px;
    background: white;
}

.tool-left {
    flex: 0 0 auto;
    padding: 0px;
    width: 100%;
    min-height: 25px;
    white-space: nowrap;
    background: #FFFFFF;
}

.tool-bottom {
    flex: 0 0 auto;
    padding: 0px;
    width: 100%;
    min-height: 35px;
    white-space: nowrap;
    background: #FFFFFF;
}

.drop-box {
    background: #F8F8F8;
    border: 5px dashed #DDD;
    width: 100%;
    height: 100px;
    text-align: center;
    padding-top: 25px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.dragover {
    border: 5px dashed blue;
}

#filemanagerModal .modal-dialog {
    width: 80%;
}

@media screen and (min-width: 768px) {

    #filemanagerModal .modal-dialog {
        width: 900px;
    }
}

#uploadModal .modal-dialog {
    width: 50%;
}

#uploadModal .modal-body {
    height: 30%;
}

#NewFolderModal .modal-dialog {
    width: 390px;
}

#NewFolderModal .modal-body {
    height: 25px;
}

#AlertDialogModal .modal-dialog {
    width: 390px;
}

#AlertDialogModal .modal-body {
    height: 25px;
}

/* used for the popup */
.help-popup {
    position: relative;
    display: inline-block;
}

    .help-popup .popup-content {
        visibility: hidden;
        opacity: 0;
        width: 300px;
        background-color: #555;
        color: #fff;
        text-align: center;
        border-radius: 6px;
        padding: 8px;
        position: absolute;
        z-index: 1000;
        bottom: 125%;
        left: 50%;
        margin-left: -150px;
        font-size: 14px;
        box-shadow: 0px 2px 8px rgba(0,0,0,0.2);
        transition: opacity 0.3s, visibility 0.3s;
    }

        .help-popup .popup-content::after {
            content: "";
            position: absolute;
            top: 100%;
            left: 50%;
            margin-left: -5px;
            border-width: 5px;
            border-style: solid;
            border-color: #555 transparent transparent transparent;
        }

    .help-popup:hover .popup-content {
        visibility: visible;
        opacity: 1;
    }

    .help-popup a {
        text-decoration: none;
        cursor: pointer;
    }

        .help-popup a:hover {
            text-decoration: none;
        }

/* ui-grid: the row-header (selection) container's header cell is empty, so that
   header collapses to ~11px while the body header measures ~27px. ui-grid only
   equalizes container header heights when its deferred measurement returns a
   non-zero height, which does not happen reliably here - so the checkbox column
   ends up offset from its rows by the difference. Pin the header height instead;
   30px matches ui-grid's default headerRowHeight, which it already assumes when
   computing viewport height. The child elements fill it so the grey header
   background does not leave a white gap above the row-header column. */
.ui-grid-render-container .ui-grid-header {
    height: 30px;
}

.ui-grid-render-container .ui-grid-top-panel,
.ui-grid-render-container .ui-grid-header-viewport,
.ui-grid-render-container .ui-grid-header-canvas {
    height: 100%;
}
