﻿.olControlPanel button {
    position: relative;
    display: block;
    margin: 2px;
    border: 1px solid;
    padding: 0 5px;
    border-radius: 4px;
    height: 35px;
    background-color: white;
    float: left;
    left: 10px;
    top: 5px;
    overflow: visible; /* needed to remove padding from buttons in IE */
}
.olControlPanel button span {
    padding-left: 25px;
}
.olControlPanel button span:first-child {
    padding-left: 0;
    display: block;
    position: absolute;
    left: 2px;
}
.olControlPanel .olControlDrawFeatureItemActive span:first-child { 
    background-image: url("../img/Map-Marker-Flag-5-Azure-29-on.png");
    height: 29px;
    width: 29px;
    top: 2px;
}
.olControlPanel .olControlDrawFeatureItemInactive span:first-child { 
    background-image: url("../img/Map-Marker-Flag-5-Azure-29-off.png");
    height: 29px;
    width: 29px;
    top: 2px;
}
.olControlPanel .olControlZoomBoxItemInactive span:first-child { 
    background-image: url(../img/btnZoomBox-off.gif);
    height: 20px;
    width: 20px;
    top: 7px;
}
.olControlPanel .olControlZoomBoxItemActive span:first-child { 
    background-image: url(../img/btnZoomBox-on.gif);
    height: 20px;
    width: 20px;
    top: 7px;
}
.olControlPanel .olControlDragPanItemInactive span:first-child { 
    background-image: url(../img/btnPan-off.gif);
    height: 20px;
    width: 20px;
    top: 7px;
}
.olControlPanel .olControlDragPanItemActive span:first-child { 
    background-image: url(../img/btnPan-on.gif);
    height: 20px;
    width: 20px;
    top: 7px;
}
.olControlPanel .olControlZoomToMaxExtentItemInactive span:first-child { 
    background-image: url(../img/btnZoomToMaxExtent-off.gif);
    height: 20px;
    width: 20px;
    top: 7px;
}
.olControlPanel .navHistory span:first-child {
    background-image: url(http://dev.openlayers.org/releases/OpenLayers-2.12/theme/default/img/navigation_history.png);
    height: 24px;
    width: 24px;
    top: 4px;
}
.olControlPanel .navHistoryPreviousItemActive span:first-child { 
    background-position: 0 0;
}
.olControlPanel .navHistoryPreviousItemInactive span:first-child { 
    background-position: 0 -24px;
}
.olControlPanel .navHistoryNextItemActive span:first-child { 
    background-position: -24px 0;
}
.olControlPanel .navHistoryNextItemInactive span:first-child { 
    background-position: -24px -24px;
}
.olControlZoomPanel {
    left: auto;
    right: 23px;
    top: 8px;
} 