footer.lp {
  position: relative;
  right: 0;
  left: 0;
  bottom: 80px;

  position: absolute;
  right: 0;
  left: 0;
  bottom: 25px; 
  z-index: 999;
}

.lp ul {
  display: inline-flex;
}

.lp #play-btn-div {
  width: 35px;
  text-align: center;
  padding-top: 7px;
  padding-left: 2px;
  border-top-left-radius: inherit;
  border-bottom-left-radius: inherit;
}

.lp #speed-div {
  width: 70px;
  text-align: center;
  padding-top: 6px;
}  

.lp #period-div {
  text-align: center;
  padding-top: 7px;
  padding-left: 6px;
  padding-right: 6px;  
}

.lp #close-playback-div {
  border-top-right-radius: inherit;
  border-bottom-right-radius: inherit;
  width: 45px;
  text-align: center;
  padding-top: 7px;
  color: rgb(155, 155, 155) !important;
  cursor: pointer;
}

#close-playback-div i {
  font-weight: bold !important;
}  


.lp #clock-btn:hover {
  text-decoration-line: none !important;
}

.lp #datetime-div {
  min-width: 140px;
  text-align: center;
  line-height: 19px;
  height: 38px;
}

.lp .transport {
  margin: 0 auto;
  width: fit-content;
  border: 2px solid rgba(0,0,0,0.2);
  border-radius: 5px;
}

.lp .navbar {
  margin-bottom: 0;
  justify-content: center;
  padding: 0px;
  border-radius: inherit;
}

.lp .navbar-inner {
  padding-right: 0;
  padding-left: 0;
  border-radius: inherit;
}

.lp #play-pause {
  width: 18px;
}

.lp #speed-btn {
  width: 58px;
}
.lp #speed-btn:hover {
  text-decoration-line: none;
}

.lp .ui-slider {
  margin: 13px;
}

.lp #time-slider {
  width:370px;
}

.lp #calendar {
  margin: 5px;
}

.leaflet-control-layers-list {
  margin-bottom: 0;
}

.lp .speed-menu {
  min-width: 80px !important;
}

.lp #speed-input {
  width: 40px;
  display: block;
  text-align: center;
  margin: auto;
}

.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 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;
}

.navbar .nav { 
  margin: 0;
  border-radius: inherit;
}

.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;
}

.period-menu .tr-date {
  text-align: left;
  width: 100%;
}

.period-menu label {
  margin: 0px;
}

.period-menu a {
  color: dodgerblue !important;
  margin-top: 7px;
}

