/* 
 * Leaflet List Markers v0.1.0 - 2017-11-26 
 * 
 * Copyright 2017 Stefano Cudini 
 * stefano.cudini@gmail.com 
 * http://labs.easyblog.it/ 
 * 
 * Licensed under the MIT license. 
 * 
 * Demo: 
 * http://labs.easyblog.it/maps/leaflet-list-markers/ 
 * 
 * Source: 
 * git@github.com:stefanocudini/leaflet-list-markers.git 
 * 
 */

.leaflet-container .list-markers-ul {
  max-height: 50vh;
  overflow-y: scroll;
}

.leaflet-container .list-markers-ul,
.list-markers-toggle {
  position: relative;
  float: left;
  color: #1978cf;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  border-radius: 4px;
  background-color: rgba(255, 255, 255, 0.8);
  z-index: 1000;
  box-shadow: 0 1px 7px rgba(0, 0, 0, 0.65);
  min-width: 30px;
  min-height: 30px;
}

.list-markers-ul::-webkit-scrollbar {
  width: 10px;
}

/* Track */
.list-markers-ul::-webkit-scrollbar-track {
  background: #f1f1f1;
}

/* Handle */
.list-markers-ul::-webkit-scrollbar-thumb {
  background: #888;
}

/* Handle on hover */
.list-markers-ul::-webkit-scrollbar-thumb:hover {
  background: #555;
}

.leaflet-control.list-markers.list-markers-collapsed .list-markers-toggle {
  display: block;
}

.list-markers {
  margin-bottom: 30px !important;
  display: flex;
  flex-direction: column;
}

.list-markers-ul {
  list-style: none;
  margin-bottom: 10px !important;
  padding: 0;
  margin: 0;
}
.list-markers-li {
  padding: 0;
  margin: 0;
  clear: both;
  border-bottom: 1px solid #666;
}
.list-markers-li img {
  float: left;
  width: 12px;
  height: 20px;
  margin-right: 4px;
}
.list-markers-li b {
  float: right;
}
.list-markers-li span {
  float: left;
  max-width: 200px;
}
.list-markers-li a {
  display: block;
  overflow: hidden;
  margin: 1px;
  padding: 2px 4px;
  border-radius: 4px;
  font-size: 14px;
  color: #666;
  text-decoration: none;
}
.list-markers-li a:hover {
  color: #0078a8;
  text-decoration: none;
  background-color: rgba(255, 255, 255, 1);
}
.leaflet-control.list-markers .list-markers-ul {
  display: block;
}
.leaflet-control.list-markers.list-markers-collapsed .list-markers-ul {
  display: none;
}
.list-markers .list-markers-toggle {
  display: block;
  float: left;
  width: 30px;
  height: 30px;
  background: url(../graphics/list-icon.png) no-repeat 2px 2px #fff;
  border-radius: 2px;
}
.list-markers .list-markers-toggle.active:hover,
.list-markers .list-markers-toggle:hover {
  background: url(../graphics/list-icon.png) no-repeat 2px 2px #fff;
}
.list-markers .list-markers-toggle.active {
  background: url(../graphics/list-icon.png) no-repeat 2px 2px #fff;
}
