﻿/*
Downloaded from Wayback Machine Archive by David Gilson
Archived on Mar 23, 2015 
Upgraded September 2024.
*/

html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: 'Roboto', Arial, sans-serif;
}

body {
  display: flex;
}

b {
  font-weight: 500;
}

.noSelect {
  -webkit-user-select: none; /* Safari */
  -moz-user-select: none; /* Firefox */
  -ms-user-select: none; /* Internet Explorer/Edge */
  user-select: none; /* Prevent text selection */
}

.symbol {
  cursor: pointer;
  font-size: 24px;
  padding: 10px;
  border-bottom: 1px solid #ebebeb;
}

.symbol:hover {
  background-color: #ebebeb;
}

#buttons {
  display: flex;
  flex-direction: column;
  box-shadow: rgba(0, 0, 0, 0.3) 0px 1px 4px -1px;
  width: 42px;
}

#buttons .btncollapsed {
  width: 0 !important; /* Target width for animation */
}

#map {
  height: 100%;
  /*float: right;*/
  /* width: 80%; */
  display: flex;
  flex-grow: 1;
  flex-direction: column;
}

.marker p:first-of-type {
  margin-top: 10px;
  font-size: 14px;
}

.marker-note {
  font-size: 10px;
  color: dimgray;
}

ul {
  padding-inline-start: 30px;
}

/* DG: Bit of a hack, does change all headers! */
.gm-style-iw-ch {
  font-weight: bold;
  font-size: 20px;
}
/* --- */

#crimeList {
  font-size: 14px;
  width: 200px;
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  transition: width 0.5s;
  white-space: nowrap;
  box-shadow: rgba(0, 0, 0, 0.3) 2px 0px 4px -1px;
  z-index: 1;
}

.collapsed {
  width: 0 !important; /* Target width for animation */
}

.selected {
  background-color: #d4d4d4;
}

.crimeListDateHeading {
  background-color: #5b5b5b;
  color: #fff;
  padding-top: 3px;
  padding-left: 6px;
  display: flex;
  border-bottom: 1px solid #5b5b5b;
  /* cursor: pointer;*/
  /* height: 48px; */
  align-items: center;
  font-size: 18px;
  padding-bottom: 3px;
  padding-top: 3px;
}

.arrow {
  color: #fff;
  text-shadow: 0 0 20px black;
  margin-right: 4px;

  display: inline-block;
  transition: transform 0.3s ease-in-out;
}

.arrow.rotate {
  transform: rotate(180deg);
}

.crimeListDIV {
  display: flex;
  flex-direction: column;
}

.listCrime {
  margin-left: 12px;
}

.listItem {
  padding: 2px 4px;
  text-decoration: none;
  color: #2b79c2;
  cursor: pointer;
  font-size: 12px;
  border-bottom: 1px solid #333333;
  white-space: nowrap; /* Prevents the text from wrapping to the next line */
  overflow: hidden; /* Hides the overflowed text */
  text-overflow: ellipsis; /* Adds the ellipsis (...) */
}
.listItem:active,
.listItem:hover,
.listItem:focus {
  background-color: #2b79c2;
  color: #fff;
}

.custom-map-control-button {
  background-color: #fff;
  border: 0;
  border-radius: 2px;
  box-shadow: 0 2px 6px rgba(0,0,0,.3);
  cursor: pointer;
  margin: 10px;
  padding: 12px;
  text-align: center;
  height: 40px;
  font-family: 'Roboto', Arial, sans-serif;
} 

#loading {
  display: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(255, 255, 255, 0.8);
  padding: 10px;
  border-radius: 5px;
  box-shadow: 0 2px 6px rgba(0,0,0,.3);
}