﻿
/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 10px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 280px;
}

.query-part-editor input {
    max-width: 100%;
}

.spatial-query{
    height:226px;
    overflow-y:scroll;    
}

.delete-form {
    position: relative;
    top: -35px;
    float: right;
}

.copy-form {
    position: relative;
    top: -35px;
    float: right;
    margin-right:3px;
}

.sysinfo {
    position: fixed;
    width: 100%;
    left: 0;
    top: 0;
    border-radius: 0;
    z-index: 10000;
}


.full .body-content
{
    padding-left:30px;
    padding-right:30px;
}

.export-editor{
    margin-top:20px;
}

.export-editor-header{
    padding:10px;
    margin-bottom:10px;
}

.query {
    padding: 15px;
    background-color: #DEE2E6;
}

.query-submit {
    margin-bottom: 0;
    bottom: 0px;
}

.right {
    float: right
}

.field-selection {
    max-height: 300px;
    overflow-y: scroll;
}

.addFilter {
    margin-top: 31px;
    float: right;
}

.groupHeaderWrap {
    width: 100%;
}

.groupHeader {
    width: 100%;
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
    padding: 5px 13px;
    border-radius: 2px;
    margin-bottom: 5px;
}

    .groupHeader label {
        margin: 2px;
        cursor: pointer;
    }

    .groupHeader.fixed {
        position: fixed;
        top: 0;
        width: 100%;
        box-sizing: border-box;
        z-index: 0;
    }

        .groupHeader.fixed.absolute {
            position: absolute;
        }

.result {
    overflow-x: auto;
    padding-top: 20px;
}

.result button {
        border-radius: 3px;
        border-style: solid;
        border-width: 1px;
        border-color: #DEE2E6;
}

.result button:hover {
        background-color: #007bff;
}
/* Customize the label (the container) */
.check {
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}


.sorting button {
    background-color: #007bff;
    color: #fff;
    border-radius: 15px;
    border-color: darkgrey;
    border-width: 0px;
}

.sorting button, .sorting .form-control
{
    display: inline-block;
}
.sorting .form-control {
    width:auto;
}
    /* Hide the browser's default checkbox */
    .check input {
        position: absolute;
        opacity: 0;
        cursor: pointer;
        height: 0;
        width: 0;
    }


/* Create a custom checkbox */
.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: #ddd;
    padding-left: 5px;
    border-radius: 4px;
}

.query-submit .check {
    margin-left: 30px;
}

.query-submit .checkmark {
    border: 1px solid #dee2e6;
    padding: 0 3px 0px 4px;
    background-color: #fff;
}


/* On mouse-over, add a grey background color */
.check:hover input ~ .checkmark {
    background-color: #ccc;
}


.check .checkmark i {
    display: none;
}

.check input:checked ~ .checkmark i {
    display: inline;
}
/* When the checkbox is checked, add a blue background */
.check input:checked ~ .checkmark {
    background-color: #fff;
    color: #007bff;
}

/* Create the checkmark/indicator (hidden when not checked) */
.check:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
.check input:checked ~ .checkmark:after {
    display: block;
}

/* Style the checkmark/indicator */
.check .checkmark:after {
    left: 9px;
    top: 5px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

label{
    user-select:none;
}


.radio label {
    color: #009933;
    border: 1px solid #009933;
    border-radius: 30px;
    width: 40px;
    font-weight: bold;
}

label.btn {
    cursor: pointer;
}

.radio {
    margin-top: 5px;
    margin-bottom: 5px;
}

    .radio input[type="radio"]:checked + label {
        background-color: #009933;
        color: whitesmoke;
    }

    .radio input[type="radio"] {
        display: none;
    }

    .radio span {
        padding: 0px 5px 5px 0;
    }

.check label {
    color: #009933;
    border: 1px solid #009933;
    border-radius: 3px;
    min-width: 250px;
    font-weight: bold;
    width: 100%;
}

.check input[type="checkbox"] + label i,
.check input[type="checkbox"] {
    display: none;
    list-style: none;
}

    .check input[type="checkbox"]:checked + label {
        background-color: #009933;
        color: white;
        font-weight: bold;
    }

        .check input[type="checkbox"]:checked + label i {
            display: list-item;
            float: left;
            margin-top: 5px;
        }


/*FILE UPLOAD*/

.uploader {
    border: dotted 3px #009933;
}

.file-uploader {
    border: dotted 3px #009933;
    background-color: #eeeeee;
    width: 100%;
    height: 60px;
    text-align: center;
    vertical-align: middle;
    line-height: 50px;
    font-style: italic;
    color: gray;
}

.is-dragover {
    border: solid 3px #28a745;
    background-color: #fff;
}

.file-uploader input[type="file"] {
    display: none;
}

.file-uploader label {
    cursor: pointer;
    display: inline-block;
    font-weight: 400;
    color: #212529;
    text-align: center;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    padding: .375rem .75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: .25rem;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    color: #fff;
    background-color: #28a745;
    border-color: #28a745;
    margin: 10px;
    float: right;
}

    .file-uploader label i {
        margin-right: 5px;
    }

    .file-uploader label:hover {
        color: #fff;
        background-color: #218838;
        border-color: #1e7e34;
    }
.file-uploader-over{
    background-color:#ffd800;
}
.upload-image {
    border: 1px solid #28a745;
    margin: 2px;
    font-size: xx-small;
    text-align: center;
    padding: 10px;
    border-radius: 5px;
    background-color: #009933;
    color: #fff;
}

.progress .progress-bar {
}

.delete-old-image {
    border-radius: 0;
    margin-top: 3px;
    left: -33px;
    position: relative;
    top: 3px;
}

.delete-image {
    float: right;
    position: sticky;
}

.frm-row {
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;    
}


    .matrix .control-label{
        font-weight:bold;
    }

    .closed {
        display: none;
    }

.species-command {
    margin: 15px !important;
    
}

.activation:hover {    
    cursor:grab;
}
.activation
{
    max-width:100px;
    float:left;
    margin:0 20px 0 0;
}

img.expand {
    max-width:max-content;
    width: 350px;
}



/*DRAGGABLE*/
.lvl-over {
    /* applied to a drop target when a draggable object is over it */
    border: 2px dashed black !important;
}



.lvl-target {
    /* applied to all drop targets when a drag operation begins, used to indicate drop targets on a page */
    background-color: #ddd;
    opacity: .5;
}

.draggable {
    padding-left: 7px;
    background-image: url(draggable.png);
    background-repeat: no-repeat;
    background-size: 16px;
    background-position-y: 4px;
}
.drag-over {
    background-color: #28a745;
}

.active-check {
    width: 31px;
    height: 31px; 
    vertical-align: middle;
}

/* DND LIST */
[draggable='true'] {
    -moz-user-select: none;
    -khtml-user-select: none;
    -webkit-user-select: none;
    user-select: none;
    /* Required to make elements draggable in old WebKit */
    -khtml-user-drag: element;
    -webkit-user-drag: element;
    cursor: move;
}

ul[dnd-list] {
    min-height: 42px;
    padding-left: 0px;
}

    /**
 * An element with .dndPlaceholder class will be
 * added to the dnd-list while the user is dragging
 * over it.
 */
    ul[dnd-list] .dndPlaceholder {
        background-color: #ddd;
        display: block;
        min-height: 42px;
    }

    ul[dnd-list] li {
        background-color: #fff;
        border: 1px solid #ddd;
        border-top-right-radius: 4px;
        border-top-left-radius: 4px;
        display: block;
        margin-bottom: -1px;
        padding: 10px 15px;
    }

        /**
 * Show selected elements in green
 */
        ul[dnd-list] li.selected {
            background-color: #dff0d8;
            color: #3c763d;
        }



.mime-icon {
    min-height: 32px;
}


.track-status {
    padding: 5px;
    display: inline-block;
}
