html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
  overflow-y:scroll;
}

.hidden {
    display: none;
    
}

.client{
    overflow-y:scroll;
    height:200px;
}

.sortorder:after {
    content: '\25bc';
}

.sortorder.descending:after {
    content: '\25b2';
}

.sortable th{
    user-select:none;
}

    .sortable th > span {
        color:#c0c0c0;
    }

form {
    padding: 10px; 
    border-radius: 6px;
}

nav form {padding:0}

form.entry {
    padding: 10px;
    border: 2px solid transparent;
}

    form.entry.completed {
        background-color: mintcream;
        padding: 10px;
        border: 2px solid;
        border-color: #198754;
        border-radius: 5px;
        transition: all 0.5s ease;
    }

    form.entry.determination {
        background-color: antiquewhite;
        padding: 10px;
        border: 2px solid;
        border-color: #ffc107;
        border-radius: 5px;
        transition: all 0.5s ease;
    }


table tr.completed td {
    background-color: mintcream;
}

[ng\:cloak], [ng-cloak], [data-ng-cloak], [x-ng-cloak], .ng-cloak, .x-ng-cloak {
    display: none !important;
}

.card-body {
    padding:10px;
}

tr.selected td {
    background-color: #ffc107;
}

.clickable {
    cursor: pointer;
}

.container-full {
    margin: 30px;
}
.sysinfo {
    position: fixed;
    width: 100%;
    left: 0;
    top: 0;
    border-radius: 0;
    z-index:10000;
}

.lookup .input-group input[type='text'].form-control:first-child
{
    flex:none;
    width:150px;
}

/* IMAGE CONTAINER */

.img-overlay {
    position: absolute;
    text-shadow: 0px 0px 3px black;
    color: white;
    margin-left: 10px;
}


.select-wrapper {
    position: relative;
    user-select: none;
    width: 100%;
}

    .select-wrapper ul{
        list-style:none;
    }

.select-wrapper .spacer {
        width: 20px;
        margin-right: 12px;
        margin-left: 25px;
}

.select {
    position: relative;
    display: flex;
    flex-direction: column;
    border: 1px solid #ced4da;        
    border-radius: 0.25rem;
}

.select-trigger {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 20px;
    font-weight: 300;
    color: #3b3b3b;
    line-height: 60px;
    background: #ffffff;
    cursor: pointer;
    padding-right: 50px;
}

    .select-trigger span {
        padding: 0 22px;
        min-width: 100%;
    }

.custom-options {
    position: absolute;
    display: none;
    top: 100%;
    left: 0;
    right: 0;
    border: 1px solid #ced4da;
    border-top: 0;
    background: #fff;
    transition: all 0.5s;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    max-height:400px;
    overflow-y:scroll;
/*    z-index: 2;*/

}

.img-overlay
{
    
}

.select.open .custom-options {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    z-index: 100000;
    display: block;
}

.custom-option {
    position: relative;
    display: block;    
    font-size: 22px;
    font-weight: 300;
    color: #3b3b3b;
    line-height: 60px;
    cursor: pointer;
    transition: all 0.5s;
}

.custom-option img{
    width:100%;
}

    .custom-option:hover {
        cursor: pointer;
        background-color: #ffc107;
    }

.custom-option:hover img {
    filter:opacity(0.5);
}

.custom-option.selected {
    color: #ffffff;
    background-color: #305c91;
}


.arrow {
    position: relative;
    height: 15px;
    width: 15px;
}

    .arrow::before, .arrow::after {
        content: "";
        position: absolute;
        bottom: 0px;
        width: 0.15rem;
        height: 100%;
        transition: all 0.5s;
    }

    .arrow::before {
        left: -5px;
        transform: rotate(45deg);
        background-color: #394a6d;
    }

    .arrow::after {
        left: 5px;
        transform: rotate(-45deg);
        background-color: #394a6d;
    }

.open .arrow::before {
    left: -5px;
    transform: rotate(-45deg);
}

.open .arrow::after {
    left: 5px;
    transform: rotate(45deg);
}

/*FILE UPLOAD*/
.form-upload-control {
}

.uploader {
    border: dotted 3px #009933;
}

.file-uploader {
    border: dotted 3px;
    background-color: #eeeeee;
    width: 100%;    
    text-align: center;
    vertical-align: middle;
    line-height: 80px;    
    color: gray;
    padding:10px;
}

    .file-uploader:hover {
        background-color: #eeeeff;
        border-color:rgba(220,53,69,1);
    }

.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;
    }

.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;
}


.padding10
{
    padding:10px;
}


.human,.human-cross {
    background-image: url("icon/human.svg");
    background-position: center;
    background-size: cover;
    height: 140px;
    width: 70px;
    display: block;

}
.human-cross {
    background-image: url("icon/human_cross.svg");
}

.antropogeni input[type='radio']
{
    display:none;
}

    .antropogeni input[type='radio'] + label {
        border-radius: 10px;
        margin: 3px;
        text-align: center;
        user-select: none;
        border: 1px solid transparent;
        padding: 0.375rem 0.75rem;
        color: white;
        border: 1px solid #dee2e6;
        cursor:pointer;
    }

    .antropogeni input[type='radio']:checked + label.p100 {
        background: #28a745;
    }

.antropogeni input[type='radio']:checked + label.p75 {
    background: linear-gradient(180deg, rgba(255,255,255,1) 30%, rgba(220,53,69,1) 30%, rgba(220,53,69,1) 100%);
}
    .antropogeni input[type='radio']:checked + label.p50 {
        background: linear-gradient(180deg, rgba(255,255,255,1) 50%, rgba(255,193,7,1) 50%, rgba(255,193,7,1) 100%);
    }
    .antropogeni input[type='radio']:checked + label.p25 {
        background: linear-gradient(180deg, rgba(255,255,255,1) 85%, rgba(0,153,51,1) 85%, rgba(0,153,51,1) 100%);
    }




/*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;
}


/* 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;
    background-color: #eeeeee;
}

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;
}


.map {
    width: 100%;
    height: 50vh;
    background-color: #fff;
    position:relative;
}

#info {
    z-index: 1;
    opacity: 0;
    position: absolute;
    bottom: 0;
    left: 0;
    margin: 0;
    background: rgba(0,60,136,0.7);
    color: white;
    border: 0;
    transition: opacity 100ms ease-in;
}

.ol-mouse-position {
    bottom: 60px;
    top: unset;
    color: white;
    text-shadow: 1px 1px 2px #aaa;
    right: 80px;
}

.file-list{
    height:220px;
    overflow-y:scroll;
    overflow-x:hidden;
}



.error {
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 100;
}

    .error .alert {
        border-radius: 0;
    }


.ng-valid-time, .ng-valid-date {
    border-color: #28a745;
}

.ng-invalid-date, .ng-invalid-time {
    border-color: #dc3545;
}


.input-group .input-group-append .btn {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.dropdown-menu .dropdown-item{
    cursor:pointer;
}

.form-group {
    margin-top: 10px;
    margin-bottom: 10px;
}

.horizontal-list {
    overflow-x: scroll;
    overflow-y: hidden;
    position: relative;    
    background-color: #fff;
}

.list-scroller {
    height: 300px;
    padding: 10px;
    display: inline-flex;
}

.list-scroller .list-element {
    display: inline-block;
    width: 250px;    
    padding: 3px;
    
}

label.cut {
    left: -15px;
    position: relative;
    background-image: url('icon/triangle.svg');
    background-size: contain;
    background-repeat: no-repeat;
    height: 60px;
    padding-top: 20px;
    user-select:none;
}

input:checked + label.cut {
    background-image: url('icon/triangle_active.svg');
    width: 32px;
    left: -19px;
    padding-top: 27px;
}

input.cut{
    display:none;
}

footer {
    line-height: 30px !important;
    position: absolute !important;
    bottom:0;
    width:100%;
    text-align:center;
   /* background: linear-gradient(90deg, #00C9FF 0%, #92FE9D 100%);*/
}

.coordinate .btn-show
{
    margin-top:23px;
}


/* NESTED / NKS */


.nks {
    margin-left: -25px;
}

    .nks .nested {
        padding-left: 20px;
    }

.nested label {
    display: block;
}

.nested input[type="checkbox"] {
    display: none;
}

    .nested input[type="checkbox"] + label + nested > div {
        display: none;
    }

div.nested input[type="checkbox"]:checked + label + nested > div {
    display: block;
}

.nested div, .nested label {
    user-select: none;
    cursor: pointer;
    margin-bottom: 0;
}

.nested i {
    width: 16px;
    height: 16px;
}

.nested label.active {
    font-weight: bold;
}

.nested input[type="checkbox"] + label .fa-caret-down {
    display: none;
}

.nested input[type="checkbox"] + label .fa-caret-right {
    display: inline-block;
}

.nested input[type="checkbox"]:checked + label .fa-caret-down {
    display: inline-block;
}

.nested input[type="checkbox"]:checked + label .fa-caret-right {
    display: none;
}

.nested .priority
{
    background-color:#00B0F0;
}

/* SPECIES */


.title {
    display: flex;
}

.flex {
    display: flex;
}

    .flex input[type='text'] {
        margin-right: 10px;
    }

.species {
    background: whitesmoke;
    border: 1px solid #ccc;
    border-width: 1px 1px 0 1px;
}

    .species .nepoznata {
        text-decoration: underline;
    }



.new-species {
    margin: 4px;
}

    .new-species button {
        margin: 2px 5px 2px 5px;
    }


.species-command {
    margin: 5px;
    display: flow-root;
}


    .species-command button:first-child {
        float: left;
    }

    .species-command button:last-child {
        float: right;
    }

.sloj, .brojnost {
    display: inline-flex;
    padding: 5px;
}

    .sloj .box-radio label {
        margin: 3px;
        padding: 5px;
    }

.sloj {
    border-left: 1px solid grey;
    margin-left: 10px;
    padding-left: 10px;
}



.btn-new-species {
    margin: 5px 0 0 0;
}


.species-group .species-item:last-child {
    border-bottom: 1px solid #ccc;
}

.editing {
    padding: 10px;
    border-bottom: 1px solid #ccc;
}

.accordion {
    list-style: none;
    padding: 0;
    margin: 0;
    padding-bottom:2px;
}

    .accordion .item .title {
        margin: 0;
        padding: 5px;
        /*background-color: #009688;*/
        border-bottom: 3px solid #CDDC39;
        font-weight: 100;
        position: relative;
        cursor: pointer;
        overflow: hidden;
        text-overflow: ellipsis;
    }

        .accordion .item .title .name {
            overflow: hidden;
            text-overflow: ellipsis;
            padding: 0 0 0 5px;
            font-weight: 600;
            height: 70px;
        }


    .accordion .item .content {
        padding: 0;
        margin: 0;
        background-color: #CDDC39;
        transition: all 0.5s ease;
        overflow: hidden;
        
    }

    /*.accordion .item.open .content {
        height: auto;
        overflow: visible !important;
    }*/
    .accordion .open
    {
        
        overflow: visible !important;
    }
        .accordion .item.open .content .mb-4
        {
            margin-bottom:0;
        }

    .accordion .file-list {
        height:160px;
    }


            .buttons-container {
                width: 396px;
            }

.buttons {
    height: 40px;
    width: 396px;
}

.spec-name {
    
    flex: 100;
    min-width: 100px;
    overflow: hidden;
    height: 70px;
    text-overflow: ellipsis;
}


.leftb {
    float: left;
}

.rightb {
    float: right;
}

search-dropdown {
    flex-grow: 100;
}

.dropdown-searchable {
    display: flex;
    width: 100%;
    height: calc(2.25rem + 2px);
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 2px 0 0 2px;
    margin-bottom: 2px;
}

    .dropdown-searchable .btn {
        padding: 0;
        vertical-align: unset;
        overflow: hidden;
    }

.addremove {
    width: 37px;
    margin-bottom: 2px;
    border-radius: 0 2px 2px 0;
}

.dropdown-searchable button:focus {
    box-shadow: none;
}

.dropdown-searchable .dropdown-menu {
    padding: 0 0 0 10px;
}


.dropdown-searchable ul {
    list-style: none;
    padding: 0;
    max-height: 250px;
    overflow-y: scroll;
    margin: 0;
    user-select: none;
}

    .dropdown-searchable ul li {
        cursor: pointer;
    }

        .dropdown-searchable ul li:hover {
            background-color: #e9ecef
        }

.dropdown-searchable input[type='text'] {
    border: none;
}

    .dropdown-searchable input[type='text']:focus {
        border-radius: 0;
    }


.box-radio {
    display: inline-block;
}

.box-radio-horizontal {
    display: inline;
}

.box-radio label {
    margin: 10px;
    padding: 10px;
    border-radius: 30px;
    background-color: #ced4da;
    text-align: center;
    user-select: none;
    cursor:pointer;
}

.box-radio input {
    display: none;
}

    .box-radio input:checked ~ label {
        background-color: #009933;
        color: white;
    }


.box-radio-sm label {
    padding: 5px;
    margin: 3px;
    min-width: 34px;
}


.box-round-buttons label {
    width: 40px;
}

.dd-search li{
    cursor:pointer;
}
.dd-search li.highlite,
.dd-search input.highlite,
.highlight {
    background-color: #f8d7da;
}


/* SEARCH */

.search{
    padding:10px;
    border-radius:3px;
}

nav .search ul {
    position: absolute;
    background-color: wheat;
    z-index: 100;
}


.search input:focus {
    border-radius: 3px 3px 0 0;
}



.search ul {
    list-style: none;    
    padding: 0;
    cursor: pointer;    
}

nav .search ul {    
    border: 1px solid #c0c0c0;
    border-top-style: none;
}


.search ul li {
    padding: 10px;
    margin-left: 0;
}
.search ol li {
    padding:10px;    
    cursor: pointer;
    margin:5px 0 5px 0;
}

.search ol li a {
    text-decoration:none;    
}

.search ol li a span.text {
    margin: 0 5px 0 5px;
}

.search ul li:hover {
    background-color: #c0c0c0;
}

nav .search input + .result {
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s 0.5s, opacity 0.5s linear;
}

nav .search input:focus + .result {
    visibility: visible;
    opacity: 1;
    transition: visibility 0s 0.1s, opacity 0.1s linear;
}



.delete,.menu {
    position: absolute;
    z-index:1000;
    width: 30px;    
    right: 0;
}

.menu {
    left: 0;
    right:unset;
}


.sector-menu 
{
    cursor: pointer;
    position: absolute;
    left: 30px;
    user-select: none;
    top: 35px;
}

    .sector-menu li:hover {
        background-color: #c0c0c0;
    }
/* QUERY */
.query {
    padding: 15px;
    background-color: #DEE2E6;
}

.query-submit {
    margin-bottom: 0;
    bottom: 0px;
}

.right {
    float: right
}

.field-selection {
    max-height: 300px;
    overflow-y: scroll;
}

.field-selection .item
{
    padding-left:40px;
}

.addFilter {
    margin-top: 31px;
    float: right;
}

.groupHeaderWrap {
    width: 100%;
}

.groupHeader {
    width: 100%;
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
    padding: 5px 5px;
    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;
        }

.result table img {
    max-width:100px;
    cursor:pointer;
}
/* 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;
}



    /* 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: 3px;
    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;
    border: 2px solid #ddd;
}


.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;
    border: 2px solid #ddd;
}

/* 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);
}



.scheduler-close {
    position: relative;    
    float: right;
    padding:15px;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    /* display: none; <- Crashes Chrome on hover */
    -webkit-appearance: none;
    margin: 0; /* <-- Apparently some margin are still there even though it's hidden */
}

input[type=number] {
    -moz-appearance: textfield; /* Firefox */
}

.ng-invalid-required {
    border: 1px solid #dc3545;
}

.ng-invalid-required .lookup .input-group input[type='text'].ng-invalid-required {
    border: none;
}


.map-info{
    color:white;    
    border-collapse:collapse;
}

.map-info tr{
    border-bottom:1px solid white;
}
.map-info tr td {
    padding:2px;
}

.map-info tr>td
{
    width:90px;
}


.cmd-buttons {
    position: absolute;
    z-index: 10000;
    background-color: rgba(0,0,0,0.6);
    width: 100%;
    padding: 3px;
}

    .cmd-buttons .btn-danger {
        right: 3px;
        position: absolute;
    }