/* Generic top-center bar styling */ 
div.leaflet-top.leaflet-center {
	width: 100%;
	top:82%;
	text-align: center;
}
div.leaflet-top.leaflet-center div.leaflet-bar {
	display: inline-block;
    *display: inline;
    *zoom: 1;
    text-align: left;
    float: none;
}
div.leaflet-top.leaflet-center div.leaflet-bar a {
	float: left;
	border-right: 1px solid #ccc;
	border-bottom: 0;
}
div.leaflet-top.leaflet-center div.leaflet-bar a:first-child{
	border-top-right-radius: 0;
	border-bottom-right-radius: 0;
	border-top-left-radius: 4px;
	border-bottom-left-radius: 4px;
	
}
div.leaflet-top.leaflet-center div.leaflet-bar a:nth-child(2){
	border-top-right-radius: 0;
	border-bottom-right-radius: 0;
	border-top-left-radius: 0;
	border-bottom-left-radius: 0;
}
div.leaflet-top.leaflet-center div.leaflet-bar a:nth-child(3){
	width: 564px;
	top: 28px;
}
div.leaflet-top.leaflet-center div.leaflet-bar a:last-child {
	border-top-right-radius: 4px;
	border-bottom-right-radius: 4px;
	border-top-left-radius: 0;
	border-bottom-left-radius: 0;
	width: 510px;
}

/* Generic icon button styling */
div.leaflet-animation-icon {
	margin-bottom: 1px;
	height: 100%;
	width: 100%;
	back;ground-repeat: no-repeat;
	background-position: center center;
	background-size: 12px 12px;
}

/* Specific animation control styling */
div.leaflet-animation-icon-to-start {
	background-image: url(images/replay.png);
	background-repeat: no-repeat;
}
div.leaflet-animation-icon-step-backwards {
	background-image: url(images/animation-step-backwards-icon.png);
}
div.leaflet-animation-icon-play-backwards {
	background-image: url(images/animation-play-backwards-icon.png);
}
div.leaflet-animation-icon-play {
	//background-image: url(images/animation-play-icon.png);
	//background-repeat: no-repeat;
}
div.leaflet-animation-icon-pause {
	background-image: url(images/animation-pause-icon.png);
	background-repeat: no-repeat;
}
div.leaflet-animation-icon-step {
	background-image: url(images/animation-step-icon.png);
}
div.leaflet-animation-icon-to-end {
	background-image: url(images/animation-to-end-icon.png);
}


a.leaflet-control-animation-slider2{
	width: 526px;
	height: 25px;
	background-color: white;
	opacity:0.9;
    position: absolute;
    top: 28px;
}

a.leaflet-control-animation-speed,
a.leaflet-control-animation-speed:hover {
	width: auto;
	padding-left: 7px;
	padding-right: 7px;
	border-left: 1px solid #ccc;
	margin-left: 1px;
	position: relative;
}
a.leaflet-animation-active,
a.leaflet-animation-active:hover {
	background-color: #ddd;
	background-image: url(images/animation-pause-icon.png);
	background-repeat: no-repeat;
	-webkit-box-shadow: inset 0px 0px 1px 0px #ccc;
	-moz-box-shadow: inset 0px 0px 1px 0px #ccc;
	-o-box-shadow: inset 0px 0px 1px 0px #ccc;
	-ms-box-shadow: inset 0px 0px 1px 0px #ccc;
	box-shadow: inset 0px 0px 1px 0px #ccc;
}
a.leaflet-animation-noactive,
a.leaflet-animation-noactive:hover {
	background-color: #fff;
	background-image: url(images/animation-play-icon.png);
	background-repeat: no-repeat;
	-webkit-box-shadow: inset 0px 0px 1px 0px #ccc;
	-moz-box-shadow: inset 0px 0px 1px 0px #ccc;
	-o-box-shadow: inset 0px 0px 1px 0px #ccc;
	-ms-box-shadow: inset 0px 0px 1px 0px #ccc;
	box-shadow: inset 0px 0px 1px 0px #ccc;
}

a.leaflet-animation-noactive2,
a.leaflet-animation-noactive2:hover {
	background-color: #fff;
	background-image: url(images/replay.png);
	background-repeat: no-repeat;
	-webkit-box-shadow: inset 0px 0px 1px 0px #ccc;
	-moz-box-shadow: inset 0px 0px 1px 0px #ccc;
	-o-box-shadow: inset 0px 0px 1px 0px #ccc;
	-ms-box-shadow: inset 0px 0px 1px 0px #ccc;
	box-shadow: inset 0px 0px 1px 0px #ccc;
}
/* Drop-down styling */
a.leaflet-control-animation-speed ul {
    list-style: none;
    position: absolute;
    left: -9999px;
}
a.leaflet-control-animation-speed:hover ul {
    left: 0;
	padding: 0;
	margin: 0;
	min-width: 100%;
	width: auto;
	margin-top: 0px;
	border-top-right-radius: 4px;
	border-bottom-right-radius: 4px;
	border-bottom-left-radius: 4px;
	background-color: #fff;
	box-shadow: 0 1px 7px rgba(0,0,0,0.65);
}
a.leaflet-control-animation-speed ul li {
    padding-top: 1px;
    float: none;
    white-space: nowrap;
    padding-left: 7px;
	padding-right: 7px;
}
a.leaflet-control-animation-speed ul li:last-child {
	border-bottom-right-radius: 4px;
	border-bottom-left-radius: 4px;
}
a.leaflet-control-animation-speed ul li:hover {
    background-color: #f4f4f4;
}

/* Slider */
a.leaflet-control-animation-slider div.dragdealer {
	width: 500px;
	background-color: #e3e3e3;
	height: 3px;
	top: 50%;
	position: relative;
	margin-top: -1px;
	cursor: pointer;
}
a.leaflet-control-animation-slider div.dragdealer div.handle {
	position: absolute;
	height: 7px;
	width: 14px;
	background-color: black;
	margin-top: -2px;
	cursor: pointer;
}
