.gm-style a,
.gm-style div,
.gm-style label,
.gm-style span {
	font-size: 13px!important
}
.directorypress-maps-canvas-wrap{
	position:relative;
}
.directorypress-maps-canvas {
	margin: 0 auto;
	border-radius: 0;
	border: 1px solid #DDD
}
.directorypress-maps-canvas .gm-style img {
	max-width: none!important;
	box-shadow: none!important
}
.directorypress-maps-canvas .gm-style label {
	width: auto!important;
	display: inline!important
}
.directorypress-maps-canvas .gm-style-cc>div {
	word-wrap: normal
}
.directorypress-maps-direction-route {
	margin: 20px 0
}
.directorypress-map-info-window {
	border-radius: 5px
}
.directorypress-map-info-window{
	background-color: #FFF;
	box-shadow: 0 1px 3px rgba(0, 0, 0, .2);
	position: relative
}

.directorypress-map-info-window-tongue {
	position: absolute;
    margin-left: auto;
	left: 50%;
	margin-left: -10px;
	bottom:-15px;
}
.directorypress-map-info-window-title {
	padding: 5px;
	border-radius: 5px 5px 0 0
}
.gm-style div.directorypress-map-info-window-title,
.gm-style div.directorypress-map-info-window-title a.directorypress-map-info-window-title-link {
	color: #333;
	font-size: 14px!important;
	font-weight: 700!important;
	padding-top: 0;
	z-index: 100;
	padding-left:0;
}
.directorypress-map-info-window-content {
	padding: 5px
}
.directorypress-map-info-window_field {
	line-height: 16px!important;
	padding-bottom: 10px
}
.directorypress-map-field-icon {
	padding-right: 5px;
	width: 15px;
	vertical-align: top
}
.directorypress-map-info-window_field strong {
	display: inline-block;
	width: 80px
}
.directorypress-map-info-window-buttons,
.directorypress-map-info-window-buttons-single {
	padding: 5px;
	position: absolute;
	left: 0;
	right: 0;
	text-align: center;
	bottom: 0;
}
.directorypress-map-info-window-buttons a {
	float: none;
	text-align: center;
	font-size: 12px !important;
	padding: 0 5px;
	min-height: 22px;
	line-height: 22px;
	min-width: 80px;
	border-radius: 3px;
}
.directorypress-map-info-window-buttons-single a {
	float: none;
	text-align: center;
	font-size: 12px !important;
	padding: 0 5px;
	min-height: 22px;
	line-height: 22px;
	min-width: 80px;
	border-radius: 3px;
}
.directorypress-map-info-window-buttons a:nth-child(even) {
	margin-left: 5px;
}
.infoBox>img {
	z-index: 100
}
span.directorypress-show-on-map {
	cursor: pointer
}
.directorypress-map-field-hours {
	display: inline-block
}
.directorypress-map-custom-controls {
	margin: 10px 5px
}
.directorypress-map-dummy-div {
	height: 52px
}
.directorypress-map-draw-panel {
	padding-right: 6px;
	z-index: 1!important;
	cursor: auto
}
.directorypress-map-custom-controls button,
.directorypress-map-draw-panel button {
	display: block!important
}
.directorypress-map-draw-panel button.btn.btn-primary,
.directorypress-map-draw-panel button.btn.btn-primary:focus,
.directorypress-map-draw-panel button.btn.btn-primary:hover,
.directorypress-map-draw-panel button.btn.btn-primary[disabled] {
	border-style: solid
}
.directorypress-map-draw-panel{
	top: 70px;
	right: 0px;
	left: auto !important;
}
.directorypress-map-draw-panel button.btn.btn-primary {
	font-weight: 500;
	margin: 0px 0 0px 0px;
	min-height: 28px;
	min-width: 28px;
	border-radius: 0;
	font-size: 12px !important;
	padding: 0;
}
.directorypress-map-draw-panel button.btn.btn-primary.btn-active {
	background: gray!important
}
.directorypress-map-marker,
.directorypress-map-marker-empty 
	{
    width: 50px;
    height: 50px;
    -webkit-border-radius: 50% 50% 50% 0;
    border-radius: 50% 50% 50% 0;
    background: #FFF;
    position: absolute;
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
    left: 50%;
    top: 50%;
    margin: -50px 0 0 -20px;
    box-shadow: 0 0 5px rgba(0, 0, 0, .47);
}

.directorypress-map-marker-empty:after,
.directorypress-map-marker:after {
	background: #fff;
	border-radius: 50%;
	content: "";
	position: absolute;
	display: block
}
.directorypress-map-marker:after {
	height: 78%;
	left: 11%;
	top: 11%;
	width: 78%
}
.directorypress-map-marker-empty:after {
	height: 40%;
	left: 32%;
	top: 28%;
	width: 40%
}
.directorypress-map-marker .directorypress-map-marker-icon {
	width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: #fff;
    text-align: center;
    line-height: 32px;
    margin: auto;
    vertical-align: middle;
    position: absolute;
    top: 8px;
    border-width: 1px;
    border-style: solid;
    left: 8px;
	right:auto;
    transform: rotate(45deg);
	z-index:1;
	font-size:18px !important;
}
.directorypress-widget-listing-logo,
a.directorypress-hint-icon {
	position: absolute
}

/* MapBox */
.directorypress-mapbox-marker {
  cursor: pointer;
}
.mapboxgl-popup {
    max-width: 270px !important;
}
.mapboxgl-popup-content{
	padding:0;
}
.directorypress-mapbox-cluster {
  background-color: none;
  text-align: center;
  color: #fff;
  font-size: 13px;
  font-weight: bold;
  
}
.directorypress-mapbox-cluster:focus{
	outline:none;
}
.directorypress-mapbox-cluster-m1 {
  background: url('../images/map_icons/clusters/m1.png');
  width: 52px;
  height: 52px;
  line-height: 46px;
}

.directorypress-mapbox-cluster-m2 {
  background: url('../images/map_icons/clusters/m2.png');
  width: 62px;
  height: 62px;
  line-height: 56px;
}

.directorypress-mapbox-cluster-m3 {
  background: url('../images/map_icons/clusters/m3.png');
  width: 72px;
  height: 72px;
  line-height: 67px;
}

.directorypress-mapbox-cluster-m4 {
  background: url('../images/map_icons/clusters/m4.png');
  width: 82px;
  height: 82px;
  line-height: 77px;
}

.directorypress-mapbox-cluster-m5 {
  background: url('../images/map_icons/clusters/m5.png');
  width: 92px;
  height: 92px;
  line-height: 88px;
}
@media screen and (max-width: 640px) {
	.directorypress-maps-canvas {
		height: 400px!important
	}
}