﻿
body {
}

/*as*/

.marker-labelVD {
    position: absolute;
    left: 48%;
    transform: translateX(-50%);
    font-size: 12px;
    color: white;
    font-weight: bold;
    padding: 0px 1px;
    bottom: -10px;
    background-color: #5f9ea06e;
}

.marker-Vendedor {
    background-image: url(https://icon-library.com/images/sales-person-icon/sales-person-icon-19.jpg) !important;
    background-size: contain;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
}
#marker-VendedorID {
    background-image: url(https://icon-library.com/images/sales-person-icon/sales-person-icon-19.jpg) !important;
    background-size: contain;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
}
/* Clase para el marker personalizado */
.marker-Fletero_CD {
    background-image: url(https://cdn-icons-png.flaticon.com/512/2555/2555001.png) !important;
    background-size: contain;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
}

/* Clase para el label/texto */
.marker-label {
    position: absolute;
    top: 4px;
    left: 35%;
    transform: translateX(-50%);
    font-size: 12px;
    color: white;
    font-weight: bold;
    background-color: rgb(0 0 0 / 35%);
    padding: 0px 1px;
}




/*-ñ-----*/

#verHojaDeControl {
    color: snow;
    text-align: center;
    font-size: large;
    font-weight: 600;
    background-color: cornflowerblue;
}

.marker-Fletero_CD.mapboxgl-marker.mapboxgl-marker-anchor-center {
    z-index: 100;
}

.mapboxgl-popup.mapboxgl-popup-anchor-bottom {
    z-index: 100;
}

.mapboxgl-popup.mapboxgl-popup-anchor-top {
    z-index: 100;
}

.mapboxgl-popup mapboxgl-popup-anchor-top-left {
    z-index: 100;
}

.mapboxgl-popup.mapboxgl-popup-anchor-top {
    z-index: 100;
}

.mapboxgl-popup.mapboxgl-popup-anchor-right {
    z-index: 100;
}

.mapboxgl-popup.mapboxgl-popup-anchor-left {
    z-index: 100;
}

.mapboxgl-popup mapboxgl-popup-anchor-top-left {
    z-index: 100;
}

.mapboxgl-popup mapboxgl-popup-anchor-bottom-left {
    z-index: 100;
}

.marker-Distrisur {
    background-image: url(https://distrisuronline.com/images/favicon-96x96.png) !important;
    background-size: contain;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
}

svg {
    width: 1px;
    height: 1px;
    z-index: 10;
}


/*.marker-Fletero_CD {
    background-image: url(https://distrisuronline.com/images/fleteroCD01_icon.png) !important;
    background-size: contain;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
}*/

.marker-Cliente {
    z-index: 100 !important;
}

.mapboxgl-marker mapboxgl-marker-anchor-center marker-Cliente {
    z-index: 100 !important;
}

div .mapboxgl-marker mapboxgl-marker-anchor-center marker-Cliente {
    z-index: 100 !important;
}

.marker-Cliente svg { /*
    background-image: url(https://th.bing.com/th/id/OIP.XHUxCyzQclo-89BpUarlfgHaLQ?rs=1&pid=ImgDetMain) !important;*/
    /* background-size: contain;
    background-repeat: no-repeat;*/
    color: red;
    width: 22px;
    height: 11px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 20;
}

.marker-Fletero {
    background-image: url(https://images.emojiterra.com/twitter/v12.1.5/512px/1f535.png) !important;
    background-size: contain;
    width: 10px;
    height: 10px;
    border: 1px solid white;
    border-radius: 50%;
    cursor: pointer;
    z-index: 5;
    /*filter: hue-rotate(100deg) brightness(100%) saturate(100%);*/
}

    .marker-Fletero::before {
        content: '';
        position: absolute;
        top: -10px;
        left: -10px;
        bottom: -10px;
        right: -10px;
        width: 30px;
        height: 30px;
        background-color: transparent;
        border-radius: 50%;
        cursor: pointer;
    }

.ultimoMarkerFletero {
    background-image: url(https://cdn-icons-png.flaticon.com/512/2555/2555001.png) !important;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    border: none;
}

.mapboxgl-popup {
    max-width: 200px;
}

.mapboxgl-popup-content {
    text-align: center;
    font-family: 'Open Sans', sans-serif;
}

.mapboxgl-marker mapboxgl-marker-anchor-center marker-Fletero marker-Flet {
    z-index: 10;
}

.mapboxgl-popup mapboxgl-popup-anchor-left {
    z-index: 100;
}




/*inputs del control directions mapbox*/
.mapboxgl-ctrl-top-left {
    left: 0;
    top: 0;
    /*color: #ffffff00;*/
    color: black;
    touch-action: none;
    height: 0px;
    width: 0px;
}

    .mapboxgl-ctrl-top-left .mapboxgl-ctrl {
        float: left;
        margin: 10px 0 0 10px;
        /*color: #ffffff00;*/
        color: black;
        height: 0px;
        width: 0px;
        touch-action: none;
    }

.mapbox-directions-step-maneuver {
    color: transparent;
    top: -10px;
    right: -100px;
    position: absolute !important;
}

.mapbox-directions-component mapbox-directions-route-summary {
    background-image: url(img/gps.png) !important;
    position: relative;
}

@keyframes moveUpDown {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px); /* Sube 10 pixeles */
    }

    100% {
        transform: translateY(0);
    }
}

.mapbox-directions-component mapbox-directions-route-summary, h1 {
    background-image: url(imgs/empleado-con-una-indicación-de-flecha-de-dirección-izquierda2.png) !important;
    /*    background-image: url(https://us.123rf.com/450wm/get4net/get4net2111/get4net211102019/176714185-empleado-con-una-indicaci%C3%B3n-de-flecha-de-direcci%C3%B3n-izquierda.jpg?ver=6) !important;*/
    background-size: contain;
    height: 70px;
    width: 71px;
    color: transparent;
    filter: saturate(150%);
    z-index: 100 !important;
    /*animation: moveUpDown 2s infinite;*/
}


.mapbox-directions-component mapbox-directions-route-summary, span {
    font-size: large;
    margin-left: 4px;
    font-weight: bold;
    /*ocultar tiempo de viaje*/
    /*display: none;*/
}



.mapbox-directions-steps {
    color: transparent;
}

.mapboxgl-marker {
    z-index: 1;
}

.mapboxgl-popup-anchor-bottom {
    z-index: 1000;
}

.mapboxgl-popup-anchor-top, .mapboxgl-popup-anchor-top-left, .mapboxgl-popup-anchor-top-right {
    z-index: 1000;
}

.mapboxgl-popup-anchor-bottom, .mapboxgl-popup-anchor-bottom-left, .mapboxgl-popup-anchor-bottom-right {
    z-index: 1000;
}

.mapboxgl-popup-anchor-left {
    z-index: 1000;
}

.mapboxgl-popup-anchor-right {
    z-index: 100;
}
