﻿/*
    This file is to show how CSS and other static resources (such as images) can be
    used from a library project/package.
*/

.my-component {
    border: 2px dashed red;
    padding: 1em;
    margin: 1em 0;
    background-image: url('background.png');
}

#mapBox {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
}

.marker-container {
    text-align: center;
}

.marker {
    cursor: pointer;
    border: 1px solid #ffffff45;
    width: 25px;
    height: 25px;
    margin: 0 auto;
    border-radius: 50%;
    position: relative;
    transform: none;
}

    .marker:before {
        width: 8px;
        border-radius: 50%;
        height: 8px;
        content: '';
        position: absolute;
        top: 3px;
        left: 3px;
        z-index: 0;
        background: #fff;
        background: radial-gradient(circle, rgba(231,255,246,1) 0%, rgba(203,255,236,1) 28%, rgba(159,247,215,1) 100%);
        display: none;
    }

    .marker:after {
        animation: none;
        width: 3px;
        height: 16px;
        content: '';
        left: 11px;
        background: #ffffff;
        position: absolute;
        bottom: -17px;
        z-index: -1;
        display: none;
        box-shadow: 1px 0px 0px 1px #0000008f;
    }

    .marker.marker-Online {
        /* background: rgb(35,242,167); */
        /* background: linear-gradient(135deg, rgba(159,247,215,1) 0%, rgba(71,240,179,1) 28%, rgba(9,176,116,1) 100%); */
    }

    .marker.marker-Offline {
        background: url(images/Offline.png) no-repeat center center;
    }

    .marker.marker-Pending {
        background: url(images/Pending.png) no-repeat center center;
    }
/*.marker.marker-Pending {
    background: rgb(254 197 46 / 75%);
}*/ v
.marker.marker-Online:hover {
    /* background: rgb(13 203 134 / 100%); */
}

.marker.marker-Offline:hover, .marker.marker-Pending:hover {
    opacity: 0.8;
}

/*.marker.marker-Pending:hover {
    background: rgb(254 197 46:hover / 100%);
}
*/

.mapboxgl-popup {
    max-width: 200px;
}

.mapboxgl-popup-content {
    text-align: left;
    font-family: 'Open Sans', sans-serif;
}

button.mapboxgl-popup-close-button:focus {
    border: none;
    outline: none;
}

button.mapboxgl-popup-close-button {
    display: none;
}

.marker:hover {
    opacity: 1;
    border: none;
}

div#mapBoxEmbed::deep {
    border-radius: 5px;
}

.mp-popup {
    text-align: left;
    font-family: 'Open Sans', sans-serif;
    padding: 0;
    font-size: 11px;
    line-height: 1.6;
}

.marker {
    border: none;
    background-size: contain !important;
    width: 45px;
    height: 45px;
    border-radius: 0;
    background: url(images/Online.png) no-repeat center center;
}

span.status {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    margin-left: 5px;
    display: inline-flex;
    vertical-align: middle;
    display: none;
}

    span.status.Online {
        background: #0dcb86;
        display: inline-flex;
    }

    span.status.Offline {
        background: #ff4a4a;
        display: inline-flex;
    }

.marker-container {
    margin-top: -33px;
    margin-left: -1.5px;
}

span.status.Pending {
    background: #FEC52E;
    display: inline-flex;
}

.marker-img img {
    background: #fff;
    border-radius: 50%;
    margin-bottom: 2px;
    width: 25px;
}

#mapBox {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
}

.marker-img img {
    background: #fff;
    border-radius: 50%;
    width: 20px;
}

.mp-popup .img-container {
    column-gap: 5px;
    display: flex;
    margin-top: 5px;
}

    .mp-popup .img-container img {
        width: 20px;
    }

.mp-popup .thumbnail {
    width: 100%;
    height: 80px;
    background: #ddd;
    margin-bottom: 10px;
}

.mp-popup .status {
    padding: 0 !important;
    width: 5px;
    margin-top: 0 !important;
    height: 5px;
    border-radius: 50%;
    background: #0dcb86;
    margin-left: 5px;
    display: inline-flex;
    vertical-align: middle;
}

    .mp-popup .status.Offline {
        background: #ff4a4a;
    }

    .mp-popup .status.Pending {
        background: #FEC52E;
    }

.flex {
    display: flex;
}

.align-items-center {
    align-items: center;
}

.justify-content-center {
    justify-content: center
}

.marker-info li {
    list-style-type: none;
}

.marker-info {
    text-align: left;
}

.mp-popup .thumbnail {
    width: 100%;
    height: 80px;
    background: #ddd;
    margin-bottom: 10px;
}

    .mp-popup .thumbnail img {
        object-fit: cover;
        width: 100%;
        height: 100%;
    }

#map {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100%;
}
/*
.marker {
    width: 5px;
    height: 5px;
    background: red;
}*/

canvas[class^="custom-3dmodel"] {
    display: block;
    width: 100% !important;
    height: 100% !important;
    transform: scale(1.8);
    margin-left: 14%;
}

div[id^="threejscontainer-"] {
    overflow: hidden;
}

[aria-label="Map marker"].mapboxgl-marker:not(.marker-container):before {
    width: 8px;
    border-radius: 50%;
    height: 8px;
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    z-index: 0;
    background: #fff;
    background: radial-gradient(circle, rgba(231,255,246,1) 0%, rgba(203,255,236,1) 28%, rgba(159,247,215,1) 100%);
}

[aria-label="Map marker"].mapboxgl-marker:not(.marker-container):after {
    width: 3px;
    height: 16px;
    content: '';
    left: 11px;
    background: #ffffff;
    position: absolute;
    bottom: -17px;
    z-index: -1;
    box-shadow: 1px 0px 0px 1px #0000008f;
}

[aria-label="Map marker"].mapboxgl-marker:not(.marker-container) svg {
    display: none
}

[aria-label="Map marker"].mapboxgl-marker:not(.marker-container) {
    background: #e65b0ad9;
    border: 1px solid #ffffff45;
    cursor: pointer;
    border: 1px solid #ffffff45;
    width: 25px;
    height: 25px;
    margin: 0 auto;
    border-radius: 50%;
}

.marker-img {
    margin-bottom: 4px;
}

.boxdraw {
    background: rgba(56, 135, 190, 0.1);
    border: 3px solid #fff44f;
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
}

.enable {
    position: absolute;
    cursor: pointer;
    left: 50%;
    bottom: 30px;
    transform: translate3d(-50%, 0, 0);
    padding: 20px 500px;
    font-size: 20px;
    background: rgba(56, 135, 190, 0.1);
    box-shadow: 0 0 3px 1px rgba(0, 0, 0, 0.5);
}



/*daterangeslider*/
#date_range_slider {
    width: calc(100% - 20px);
}
.ui-rangeSlider{
    min-height:30px;
}
.ui-rangeSlider .ui-rangeSlider-container {
    background: #eee;
    height: 26px;
    border-color: #ddd;
    box-shadow: none;
}

.ui-rangeSlider .ui-rangeSlider-label {
    bottom: 35px;
    color: #fff;
    background: #0578c1;
    padding: 6px;
    font: bold 10px/1 arial;
}

.ui-rangeSlider .ui-rangeSlider-handle {
    background: #07365457;
    height: 26px;
    width: 3px;
}

.ui-rangeSlider .ui-rangeSlider-bar {
    background: #0578c1;
    height: 26px;
    border-radius:0;
    box-shadow: none;
    margin:0;
}

.ui-rangeSlider .ui-rangeSlider-innerBar {
    background: transparent;
    height: 26px;
    margin: 0;
    z-index: 10;
    pointer-events: none;
}
.ui-rangeSlider .ui-ruler-scale0 .ui-ruler-tick-label {
    font-size: 10px;
    bottom: 0px;
    color: #b9b9b98c;
}
.ui-rangeSlider .ui-ruler-scale0 .ui-ruler-tick-inner {
    border-left: 1px solid #bdbdbd5c;
}
.hiderangeticker .ui-ruler-scale.ui-ruler-scale0 {
    display: none;
}
.ui-rangeSlider .ui-ruler-scale0 .ui-ruler-tick-label {
    color: #818181;
    font-size: 0.7em;
}
.marker-sevencleanseas {
    background: url(images/Impact_Dashboard.png);
    background-size: cover;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
}


.truck {
    width: 20px;
    height: 20px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #3887be;
    pointer-events: none;
}
.preview {
    display: inline-block;
    width: 1.5rem;
    height: 1.5rem;
    object-fit: cover;
    margin-right: 0.3125rem;
    vertical-align: bottom;
    border-radius: 0.175rem;
}

/* Hide the file input and image preview while loading */
.loading ~ * {
    display: none;
}
/*#info-box {
    position: absolute;
    z-index: 10;
    left: 7px;
    font-family: sans-serif;
    background: #dedede;
    padding: 12px;
    border-radius: 8px;
    font-size: 2rem;
    border: 1px solid #969696;
    bottom: 34px;
}*/


/* Change the cursor to a pointer on hover so the user knows it's clickable */
/*.mapboxgl-marker:hover {
    cursor: pointer;
}*/

    /* darken the marker on hover */
    /*.mapboxgl-marker:hover svg > g > g:nth-child(2) {
        fill: #7993a5;
    }*/