@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');

html, body {
            font-family: "Raleway", sans-serif;
            font-optical-sizing: auto;
            font-weight: 500;
            font-style: normal;
            margin: 0;
            padding: 0;
            height: 100%;
        }

        #map { 
            width: 100%;
            height: 100%; 
            position: absolute;  /* Ensure it takes up the full window */
            top: 0;
            left: 0;
            z-index: 1; /* Place the map behind other elements */
        }

        .custom-marker {
            font-family: "DM Sans", sans-serif;
            min-width: 58px;
            height: 28px;
            border-radius: 7%; 
            background: #3498db; /* Fallback color */
            display: inline-block;
            text-align: center;
            color: white;
            font-size: 12px;
            font-weight: bold;
        }

        .loc-marker {
        background-color: rgba(23, 131, 255, 0.5);
        width: 15px;
        height: 15px;
        border-width: 5px;
        border-style: double;
        border-color: white;
        border-radius: 50%;
        cursor: pointer;
        }

            .vehicle-id {
            display: block;
            position: relative;
            top: -5px;
            font-size: 10.5px;
            
            white-space: nowrap;
        }
		.delayDisp {
            font-size: 9px;
			font-style: italic;
			text-align: left;
            
			position: relative;
			left: 20px;
			top: -1px;
			}
		.line-number {
            font-size: 12px;
			font-weight: bold;
            
			display:inline-block;
			width: 58px;
            
			position: absolute;
			left: 0px;
			text-align: center;
			}
        .vari {
            min-width: 58px;
            height: 28px;
            border-radius: 14%;
            position: absolute;
            color: white;
            text-align: center;
            line-height: 17px;
            font-weight: bold;
            cursor: pointer;
            overflow: hidden;
            white-space: nowrap;
        }

        .mapboxgl-popup-content {
            font-family: "DM Sans", sans-serif;
            font-size: 14px;
            font-weight: 400;
            line-height: 1.4;
        }

        .popup_info {
            font-size: 11px;
            margin: 0px;
            opacity: 1;
            background-color: #2c3e50;
            padding: 2px;
            margin: 1px;
            color: white;
            border-radius: 5px;
            text-align: center;
        }

        /* General styling for the menu bar */
        #controls {
            
            position: absolute;
            top: 2px;
            left: 2px;
            z-index: 1000;
            background: black;
			color: white;
            padding: 10px;
            border-radius: 5px;
            box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
			border: 1px solid #ccc;
        }

        #controls a:link {
            color: white;
        }

        #controls a:visited {
            color: white;
        }

        .visSelect {
            display: block;
            margin-top: 5px;
        }
        .visSelect input {
            margin-right: 5px;
        }
		
		.hide_this {
		display: none;
		}
		
        #searchBox {
            position: absolute;
            top: 2px;
            right: 2px;
            z-index: 1000;
            min-width: 185px;
            max-width: 190px;
            font-size: 12px;
            padding: 5px;
            border: 1px solid #ccc;
            border-radius: 5px;
			background: black;
			color: white;
        }
            #vehicleInfoBox {
            
            font-size: 12px;
            display: none;
            position: absolute;
            top: 2px;
            right: 2px;
            z-index: 1500;
            min-width: 190px;
            max-width: 190px;
            min-height: 150px;
            font-size: 12px;
            padding: 5px;
            border: 1px solid #ccc;
            border-radius: 5px;
			background: black;
			color: white;
        }
        #Locator {
            position: absolute;
            top: 175px;
            right: 2px;
            z-index: 999;
            min-width: 15px;
            font-size: 12px;
            padding: 5px;
            border: 1px solid #ccc;
            border-radius: 5px;
			background: black;
			color: white;
        }
        #Locator button {
            border-radius: 20px;
            background-color: black;
        }
        #searchResults {
            font-family: Verdana, sans-serif;
            overflow: auto;
            max-height: 200px;
        }
        #searchResults ul {
            padding: 0;
        }
        #searchResults li {
            background-color: #383836;
            font-size: 11px;
            margin-top: 5px;
            border-radius: 2px;
            border: 1px solid #ccc;
            cursor: pointer;
            width: auto;
            padding-left: 2px;
            padding-top: 2px;
            padding-bottom: 2px;
        }
		#depList {
			  position: absolute;
			  right: 10px;
			  top: 140px;
			  background-color: black;
			  color: white;
			  padding: 10px;
			  border: 1px solid #ccc;
			  border-radius: 5px;
			  z-index: 1000;
			  display: none;
			  font-size: 14px;
			  border: 1px solid #ccc;
			  max-width: 175px;
			  
		}
		
		#depListText {
			max-height: 350px;
			overflow: auto;
		}
		
		#filterBox {
            position: absolute;
            top: 70px;
            right: 10px;
            z-index: 1000;
            min-width: 160px;
            max-width: 200px;
            font-size: 12px;
            background-color: white;
            padding: 5px;
            border: 1px solid #ccc;
            border-radius: 5px;
			background: black;
			color: white;
        }

        #attr {
            
            font-size: 10px;
        }

        #attr a:link {
            color: white;
        }

        #attr a:visited {
            color: white;
        }

        #attr a:hover {
            color: #3498db;
        }

        .popup_details {
        font-size: 10px;
        color: gray;
        }

        #counter {
            font-size: 10px;
        }