/* #map {
  position: absolute;
  top: 0;
  left: 0; 
  right: 0;
  bottom: 0;
} */
.direction-map {
  position: relative !important;
  border: 1px solid #cccccc;
  border-top: 3px solid #02abe5;
}

footer {
  background: transparent !important;
  padding: 0 !important;
}

footer.lp {
  position: absolute;
  right: 0;
  left: 50%;
  bottom: -20px;
  z-index: 999;
  transform: translate(-50%, -50%);
}

.lp .transport {
  margin: 0 auto;
  width: 100%;
}

.lp .navbar {
  margin-bottom: 0;
}

.lp .navbar-inner {
  padding-right: 0;
  padding-left: 0;
}

.lp #play-pause {
  width: 18px;
  padding: 11px 20px 8px 10px;
}

.lp #speed-btn {
  width: 100%;
  text-align: center;
}

.lp .ui-slider {
  margin: 13px 5px 0 5px;
}

.lp #time-slider {
  width: 80%;
}

.lp #calendar {
  margin: 5px;
}

.leaflet-control-layers-list {
  margin-bottom: 0;
}

.lp .speed-menu {
  min-width: 60px;
}

.lp .dropdown-menu {
  padding: 5px;
  text-align: center;
}

.lp #speed-slider {
  margin-left: auto;
  margin-right: auto;
}

.lp .navbar .btn,
.lp .navbar .btn-group {
  margin-top: 0;
  padding: 0;
}

.lp .navbar .nav>li>a.clock {
  padding: 0 3px 0 3px;
  text-align: center;
  margin-left: 4px;
  margin-right: 4px;

}

.lp .navbar .nav>li>a.clock span {
  color: #000 !important;
}

.lp li.ctrl {
  background-color: #f5f5f5;
  background-color: #e6e6e6;
  background-image: -ms-linear-gradient(top, #ffffff, #e6e6e6);
  /* background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e6e6e6)); */
  background-image: -webkit-linear-gradient(top, #ffffff, #e6e6e6);
  background-image: -o-linear-gradient(top, #ffffff, #e6e6e6);
  background-image: linear-gradient(top, #ffffff, #e6e6e6);
  background-image: -moz-linear-gradient(top, #ffffff, #e6e6e6);
  background-repeat: repeat-x;
  border-right: 1px solid #d4d4d4;

  -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
  -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
}

.lp .pull-right li.ctrl {
  border-right: 0;
  border-left: 1px solid #d4d4d4;
}

.lp li.ctrl:hover {
  color: #333333;
  text-decoration: none;
  background-color: #e6e6e6;
  background-color: #d9d9d9;
  /* Buttons in IE7 don't get borders, so darken on hover */

  background-position: 0 -15px;
  -webkit-transition: background-position 0.1s linear;
  -moz-transition: background-position 0.1s linear;
  -ms-transition: background-position 0.1s linear;
  -o-transition: background-position 0.1s linear;
  transition: background-position 0.1s linear;
}

/*.lp li.ctrl:hover a {
  color: #a9ff00;
}*/

.lp li.ctrl:active {
  background-color: #e6e6e6;
  background-color: #d9d9d9 \9;
  background-image: none;
  outline: 0;
  -webkit-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
  -moz-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05);
}

/*Bootstrap interfering with leaflet*/
input {
  vertical-align: baseline;
}

label {
  font-weight: bold;
}

/*bootstrap mod*/
.navbar .nav {
  margin: 0;
}

.navbar .nav>li>.dropdown-menu:before,
.bootstrap-timepicker-widget.dropdown-menu:before {
  top: auto;
  bottom: -7px;
  border-top: 7px solid #ccc;
  border-bottom: 0;
  border-top-color: rgba(0, 0, 0, 0.2);
}

.navbar .nav>li>.dropdown-menu:after,
.bootstrap-timepicker-widget.dropdown-menu:after {
  top: auto;
  bottom: -6px;
  border-top: 6px solid #ffffff;
  border-bottom: 0;
}

.navbar .nav>li>a {
  padding: 10px;
}


/* ************************************************* */

.navbar-inner {
  position: relative;
  width: 100%;
  display: flex;
}

/* .navbar .nav{ */
/* width: 42%; */
/* } */
.nav.pull-right {
  /* width: 58%; */
  flex: 1;
  display: flex;
}

.nav.pull-right li:first-child {
  /* width: 70%; */
  flex: 1;
}

/* .nav.pull-right .ctrl.dropup{
  width: 30%;
} */

.lp #time-slider {
  width: 90%;
  margin: 0px auto;
  height: 0;
  top: 50%;
}

.leaflet-bottom.leaflet-right {
  display: none !important;
}

.ui-slider-handle.ui-state-default.ui-corner-all {
  border-radius: 50%;
  cursor: pointer;
  background: #06ade3;
}

.ui-slider-horizontal .ui-slider-handle.ui-state-default.ui-corner-all {
  top: -6px !important;
}

#play-pause-icon,
#cursor-date,
#cursor-time {
  color: #06ade3;
}

#speed-btn {
  color: #0b99cb;
}