﻿.search {
    position: absolute;
    top: 10px;
    right: 10px;
}
body {
    margin: 0;
    padding: 0;
}

#map1 {
    width: 100%;
    height: 500px;
}


.marker-icon {
    width: 40px;
    height: 40px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.marker-icon-rotate {
    transform-origin: center;
}


/*.dg.main {
    position: fixed;
    top: 310px;
    left: 50%;
    transform: translateX(-50%);
}
*/
.dg.ac .dg.main > ul > .controller > .button {
    padding: 5px 10px;
    background-color: #007bff; /* Button background color */
    color: #fff; /* Button text color */
    border: none;
    border-radius: 3px;
    cursor: pointer;
}

    /* Customize hover effect for dat.GUI buttons */
    .dg.ac .dg.main > ul > .controller > .button:hover {
        background-color: #0056b3; /* Button hover background color */
    }
.title {
    color: #fff;
    text-align: center;
    margin: 20px 0;
}
.leaflet-custom-control {
    background-image: url('dist/play.png');
    background-repeat: no-repeat;
    border: none;
    border-radius: 4px;
    width: 40px;
    height: 40px;
    cursor: pointer;
    background-position: 50% 50%;
    display: block;
}

    .leaflet-custom-control:hover {
        background-color: #0056b3;

    }
        .leaflet-custom-control:hover::after {
            content: "Playback";
            display: block;
            position: absolute;
            top: 0%;
            /* left: -65%; */
            right: 42%;
            transform: translateX(-50%);
            background-color: white;
            font-size: 12px;
            color: black;
            padding: 5px 10px;
            border-radius: 5px;
        }
.leaflet-custom-playback {
    background-color: #0056b3;
}
.leaflet-touch .leaflet-control-geocoder-icon {
    /* width: 30px; */
    /* height: 30px; */
    width: 40px;
    height: 40px;
}


.leaflet-custom-control2:hover::after {
    content: "Settings";
    display: block;
    position: absolute;
    top: 0%;
    /* left: -65%; */
    right: 42%;
    transform: translateX(-50%);
    background-color: white;
    font-size: 12px;
    color: black;
    padding: 5px 10px;
    border-radius: 5px;
}

.leaflet-custom-control3:hover::after {
    content: "Address Type";
    display: block;
    position: absolute;
    top: 0%;
    /* left: -65%; */
    right: 42%;
    transform: translateX(-50%);
    background-color: white;
    font-size: 12px;
    color: black;
    padding: 5px 10px;
    border-radius: 5px;
}

.leaflet-custom-control5:hover::after {
    content: "Trip Details";
    display: block;
    position: absolute;
    top: 0%;
    /* left: -65%; */
    right: 42%;
    transform: translateX(-50%);
    background-color: white;
    font-size: 12px;
    color: black;
    padding: 5px 10px;
    border-radius: 5px;
}
.leaflet-custom-control2 {
    background-image: url('dist/settings-30.png');
    background-repeat: no-repeat;
    border: none;
    border-radius: 4px;
    width: 40px;
    height: 40px;
    cursor: pointer;
    background-position: 50% 50%;
    display: block;
}

    .leaflet-custom-control2:hover {
        background-color: #0056b3;
    }
.leaflet-custom-control3 {
    background-image: url('dist/icons8-filter-24.png');
    background-repeat: no-repeat;
    border: none;
    border-radius: 4px;
    width: 40px;
    height: 40px;
    cursor: pointer;
    background-position: 50% 50%;
    display: block;
}

    .leaflet-custom-control3:hover {
        background-color: #0056b3;
    }
.leaflet-custom-control4 {
    background-image: url('dist/icons8-map-24.png');
    background-repeat: no-repeat;
    border: none;
    border-radius: 4px;
    width: 40px;
    height: 40px;
    cursor: pointer;
    background-position: 50% 50%;
    display: block;
}

    .leaflet-custom-control4:hover {
        background-color: #0056b3;
    }

.leaflet-custom-control5 {
    background-image: url('dist/icons8-document-24.png');
    background-repeat: no-repeat;
    border: none;
    border-radius: 4px;
    width: 40px;
    height: 40px;
    cursor: pointer;
    background-position: 50% 50%;
    display: block;
}

    .leaflet-custom-control5:hover {
        background-color: #0056b3;
    }

.leaflet-custom-control6 {
    background-image: url('dist/icons8-map-marker-24.png');
    background-repeat: no-repeat;
    border: none;
    border-radius: 4px;
    width: 40px;
    height: 40px;
    cursor: pointer;
    background-position: 50% 50%;
    display: block;
}

    .leaflet-custom-control6:hover {
        background-color: #0056b3;
    }
.mapContainer {
    width: 100%;
    height: 700px;
}

.leaflet-control-layers-toggle {
    background-image: url('../dist/layer2.png') !important;
}

.leaflet-control-locate a {
    background-image: url('../dist/map2.png') !important;
}

.leaflet-control-attribution, .leaflet-control-scale-line {
    display: none;
}

.fa-map-marker:before {
    content: "\f041";
    display: none;
}


.leaflet-container {
    font-size: 10px !important;
}

.leaflet-touch .leaflet-control-layers-toggle {
    width: 40px;
    height: 40px;
}

.leaflet-touch .leaflet-bar {
    border: 0px solid rgba(0,0,0,0.2) !important;
    /* background-clip: padding-box; */
}

.leaflet-touch .leaflet-control-locate {
    border: 0px solid rgba(0, 0, 0, 0.2) !important;
}
/*.leaflet-left {
   
   // display: none !important;
}
*/

/* styles.css playback css*/





/*sidebar*/



.leaflet-touch .leaflet-draw-toolbar .leaflet-draw-draw-polyline {
   
    display: none !important;
}
.leaflet-touch .leaflet-draw-toolbar .leaflet-draw-draw-circle {
   
    display: none!important;
}
.leaflet-touch .leaflet-draw-toolbar .leaflet-draw-draw-marker {
 
    display: none !important;
}


.mapbutton {
    cursor: pointer;
    margin: 20px;
}


.custom-popup {
    /* Define your desired styles for the popup content */
    font-family: Arial, sans-serif;
    background-color: #fff;
   /* border: 1px solid #ccc;*/
    border-radius: 5px;
    font-size:12px
  /*  padding: 10px;*/
}

    .custom-popup b {
        color: #e30202;
        font-size: 16px
    }

.leaflet-popup-content {
    margin: 13px 13px 13px 13px;
    line-height: 1.3;
    min-height: 1px;
    
    width: 500px !important;
}
.custom-marker-wrapper {
    position: relative;
    /* Add any other necessary styles for the wrapper */
}

.custom-marker-icon {
    width: 100%;
    height: 100%;
    /* Add any other necessary styles for the image */
}

.counter {
    position: absolute;
    top: 7px;
    right: -17px;
    /* background-color: red; */
    color: white;
    font-size: 14px;
    padding: 0px 0px 0px 5px;
    border-radius: 50%;
    width: 20px;
    /* height: 19px;
    /* Add any other necessary styles for the counter */
}
