.leaflet-popup-content-wrapper {
	border-radius: 0px; -moz-border-radius: 0px; -webkit-border-radius: 0px;
}

.leaflet-control-layers {
	text-align: left;
	border-radius: 2px; -moz-border-radius: 2px; -webkit-border-radius: 2px;
}

.leaflet-left {
	margin-left: 20px;
}

.leaflet-left .leaflet-control-layers {
	margin-left: 14px;
}

.leaflet-control-layers-toggle {
	background-image: url(img/layers.png);
	width: 26px;
	height: 26px;
	cursor: default;
}

.leaflet-marker-icon {
	background-color: #fff;
}
	
.leaflet-marker-icon img {
	margin: 1px;
	border: 1px solid #fff;
}

.leaflet-div-icon {
	box-shadow: 0 0 7px #aaa; -webkit-box-shadow: 0 0 7px #aaa; -moz-box-shadow: 0 0 7px #aaa;
	background-color: #0073ea;
	border-color: #0073ea;
	border-width: 2px;
}

.leaflet-div-icon img {
	border: 1px solid #fff;
}

.leaflet-div-icon .marker-pin {
	width: 29px;
	height: 42px;
	position: absolute;
	background: url(img/marker-icon-left.png);
	top: -30px;
	left: -15px;
}

#map-container{
	position: absolute;
	top: 0px;
	left: 0px;
	z-index: 1;
	padding: 0px;
	overflow: hidden;
	width: 100%;
	height: 100%;
}

#map{
	position: absolute; 
	opacity:1; 
	height: 600px; 
	width: 50%; 
	border : 1px solid #000; 
	margin-top: 10px; 
	border-radius: 7px; -webkit-border-radius: 7px;  -moz-border-radius: 7px; 
}

.map-dialog-titlebar {
	border: 0px;
	font-weight: bold;
	color: #fff;
	background: #7d7e7d; /* Old browsers */
	background: -moz-linear-gradient(top,  #7d7e7d 0%, #0e0e0e 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#7d7e7d), color-stop(100%,#0e0e0e)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #7d7e7d 0%,#0e0e0e 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #7d7e7d 0%,#0e0e0e 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #7d7e7d 0%,#0e0e0e 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #7d7e7d 0%,#0e0e0e 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#7d7e7d', endColorstr='#0e0e0e',GradientType=0 ); /* IE6-9 */
}

#ajaris-map-counter{
	display:none;
	position:absolute;
	cursor:default;
	opacity:1;
	z-index:1010;
	text-align:left;
	font-weight:bold;
	top:20px;right:120px;
	top:32px;
	right:100px;
	font-size:13px;
	padding-bottom:5px;padding-top:5px;padding-left:8px;padding-right:8px;
	color:#fff;
	border-radius:3px;
	box-shadow: 0 0 8px rgba(0,0,0,0.8); -webkit-box-shadow: 0 0 8px rgba(0,0,0,0.8); -moz-box-shadow: 0 0 8px rgba(0,0,0,0.8);
	background:rgba(255,255,255,0.7);
	color:#000;
   -moz-user-select:-moz-none;-khtml-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none;
}

#ajaris-map-counter.nonempty { cursor:pointer; }
#ajaris-map-counter.nonempty:hover {
	background: rgba(125,126,125,0.9);

	background: rgba(230,230,230,0.7);
	color:#222;
}
#ajaris-map-counter.nonempty:active { box-shadow: none; -webkit-box-shadow: none; -moz-box-shadow: none; }

@media screen and (max-width: 640px) {
	#ajaris-map-counter {
		visibility: hidden;
	}
  
	#map-grid-container, #map-grid-background {
    	visibility: hidden;
  	}
}

#ajaris-map-search {
	display:block;
	position:absolute;
	cursor:pointer;
	opacity:1;
	z-index:3;
	text-align:center;
	font-weight:bold;
	top:5px;
	left:50%;transform:translateX(-50%);
	font-size:14px;
	padding-bottom:9px;padding-top:12px;padding-left:8px;padding-right:8px;
	color:#fff;
	border-radius:3px;
	background: rgba(0,0,0,0.7);
   -moz-user-select:-moz-none;-khtml-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none;
}

#ajaris-map-search:hover {
	background: rgba(0,0,0,0.9);
	background: #000; /* Old browsers */
}
#ajaris-map-search:active { box-shadow: none; -webkit-box-shadow: none; -moz-box-shadow: none; }

#ajaris-map-search.searching {
	cursor: default;
	background: rgba(0,0,0,0.3);
}

#ajaris-map-close {
	display:block;
	position:absolute;
	cursor:pointer;
	opacity:1;
	z-index:1010;
	top:5px;
	right:5px;
	border-radius:50%;
	width:20px;
	height:20px;
	background:rgba(0,0,0,0.5);
	background-image: url(img/close.svg);
	background-size:10px 10px;
    background-repeat:no-repeat;
    background-position: center center;
    transition: transform 330ms ease-in-out;	
}

#ajaris-map-close:hover {
	transform:scale(1.2);
}

#map-grid-container{
	position: absolute;
	top: 35px;
	scrollbar-width: thin;	
	right: 0px;
	z-index: 1010;
	height: 0px;
	overflow-x: hidden;
	overflow-y: auto;
	width: 90px;
}

#map-grid-background {
	display: none;
	position: absolute;
	top: 30px;
	right: 0px;
	z-index: 1009;
	width: 90px;
	height: 0px;
	opacity: 0.65;
	-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=65)";
	filter: alpha(opacity=65);
	-moz-opacity:0.65;
	-khtml-opacity: 0.65;
	overflow: hidden;
	background-color: #fff;
	box-shadow: 0 0 8px rgba(0,0,0,0.8); -webkit-box-shadow: 0 0 8px rgba(0,0,0,0.8); -moz-box-shadow: 0 0 8px rgba(0,0,0,0.8);
	border-top-left-radius: 5px; -webkit-top-bottom-left-radius: 5px; -moz-border-radius-topleft: 5px;
	border-bottom-left-radius: 5px; -webkit-border-bottom-left-radius: 5px; -moz-border-radius-bottomleft: 5px;
}

#ajaris-map-modal-counter{
	margin-top: 100px;
}

/* websuite grid classes */
.mapgrid-cell, .mapgrid-cell-empty, .mapgrid-cell-fake {
	width: 80px;
	height: 80px;
	margin-left: -2px;
	float: left;
	text-align: center;
	padding: 0px;
	overflow: hidden;
}

.mapgrid-cell div {
	line-height: 80px;
	height: 80px;
	background: transparent;
}

.mapgrid-cell div img {
	cursor: pointer;
	vertical-align: middle;
	user-select: none; -moz-user-select: none;  -webkit-user-select: none;  -khtml-user-select: none; 
}

.mapgrid-cell-fake div {
	position: relative;
	border-radius: 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px;
	left: 12px;
	top: 10px;
	border: 1px dashed #aaa;
	width: 60px;
	height: 60px;
	line-height: 60px;
}

.leaflet-div-spot-icon {
	background: transparent !important;
	border: 0px !important;
	outline: none;
}
.leaflet-div-spot-icon img {
	margin: 0px;
	border: 0px;
}
.ajarismap-spot-marker {
	width:60px;
	height:60px;
	border:0;
	position:relative;
}
#ajarismap-spot {
	display:block;
	position:absolute;
	left:50%;
	top: 50%;
	margin-left:-10px;
	margin-top:-10px;
	width:20px;
	height:20px;
}
#ajarismap-spot-center {
	display:block;
	position:absolute;
	left:50%;
	top: 50%;
	margin-left:-4px;
	margin-top:-4px;
	width:8px;
	height:8px;
}

#ajaris-map-popup-media {
	width: 250px;
	height: 250px;
	margin-top: 8px;
	margin-bottom: 8px;
	background: #fff;
}

.popup-inner {
	text-decoration: none;
	width:100%;
	padding:0px;
	margin:0px;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.map-popup-icon {
	width: 16px;
	height: 16px;
	display:inline-block;
	cursor: pointer;
	outline: none;
    background-repeat:no-repeat;
    background-position: center center;
    background-size: 16px 16px;
}

.map-popup-icon:hover {
	opacity: 0.65;
	-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=65)";
	filter: alpha(opacity=65);
	-moz-opacity:0.65;
	-khtml-opacity: 0.65;
}
.map-popup-icon.info {
	background-image: url(img/icon-form_black.png);
    float: left;
}

.map-popup-icon.cart, .map-popup-icon.fav {
    float: right;
    margin-left:5px;
}
.map-popup-icon.cart {
    background-size: 18px 18px;
}
.map-popup-icon.cart.out {background-image: url(img/icon-cart-black-128.png);}
.map-popup-icon.cart.in {background-image: url(img/icon-cart-checked-black-128.png);}
.map-popup-icon.fav.out { background-image: url(img/icon-heart-dark-outline.svg); }
.map-popup-icon.fav.in { background-image: url(img/icon-heart-dark.svg); }


.popup-link {
	width: 16px;
	height: 16px;
	position: absolute;
	bottom: 36px;
	left: 16px;
	cursor: pointer;
	outline: none;
	background-image: url(img/info.png);
    background-position: 50% 50%;
    background-repeat:no-repeat;
}

.popup-link:hover {
	opacity: 0.65;
	-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=65)";
	filter: alpha(opacity=65);
	-moz-opacity:0.65;
	-khtml-opacity: 0.65;
}

#ajaris-map-info-panel {
	position:absolute;
	left:0px;top:0px;
	width:200px;height:2000px;
	display:none;
	background-color:rgba(255,255,255,0.65);
	z-index: 1009;
	box-shadow: 0 0 8px rgba(0,0,0,0.8);
	-webkit-box-shadow: 0 0 8px rgba(0,0,0,0.8);
	-moz-box-shadow: 0 0 8px rgba(0,0,0,0.8);
}

#ajaris-map-info-panel-toggler {
	position:absolute;right:-20px;
	top:50%;transform:translateY(-50%);
	width:18px;height:40px;
    cursor:pointer;
	box-shadow: 0 1px 2px rgba(60,64,67,0.3),0 2px 6px 2px rgba(60,64,67,0.15);
	border-left: 1px solid #dadce0;
	border-radius: 0 8px 8px 0;
	background: #fff 7px center/7px 10px no-repeat;
	background-image: url(img/arrow_left.png);
	background-size:24px 24px;
    background-repeat:no-repeat;
    background-position: center center;
}

#ajaris-map-info-panel-toggler.reveal {
	background-image: url(img/arrow_right.png);
}

#geoloc-doc-caption-container {
	position:absolute;
	top:0px;
	left:0px;
	width:100%;
	height:0px;
	overflow-x:hidden;
}

#geoloc-doc-caption {
	display: none;
	position: absolute;
	margin: 0px;
	padding: 0px;
	left: 0px;
	top: 0px;
	text-align: center;
	width: 190px;
	overflow: hidden;
	font-family: 'HelveticaNeue-Light','Helvetica Neue Light','Helvetica Neue','open sans',arial,helvetica,sans-serif;
	font-size: 12px;
	font-weight: bold;
	overflow-y: auto;
	scrollbar-width: thin;	
	box-sizing:border-box;
	padding-right:16px;
	width: 210px;
	cursor:pointer;
}

#geoloc-doc-text {
	text-align: left;
	padding: 2px 8px;
	color: #000;
	padding: 0px 0px 0px 15px;
	width:190px;
	box-sizing: border-box;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
	overflow-wrap:break-word;
}

#geoloc-doc-address {
	margin-top: 15px;
	border-top: 1px solid #dedede;
	text-align: left;
	padding: 7px;
	width:190px;
	box-sizing: border-box;
}

#geoloc-reverse-address {
	color: #000;
	font-weight: normal;
	padding: 0px 0px 0px 15px;
	background-image: url(img/marker-icon-anchor.png);
    background-position: 0px 0px;
    background-repeat:no-repeat;
    cursor: pointer;
}

#geoloc-doc-preview {
	display: none;
	position: absolute;
	margin: 0px;
	padding: 0px;
	left: 50%;
	transform: translateX(-50%);
	top:10px;
	object-fit:contain;
	width:auto;
	height:auto;
	max-width:180px;
	cursor: pointer;
}

#google-maps-link {
	display: inline-block;
	font-weight: bold;
	margin: 0px;
	margin-left:20px;
	padding: 0px;
	text-align: left;
	width: 196px;
	margin-bottom:20px;
	width:190px;
	box-sizing: border-box;
}

#google-maps-link, #google-maps-link:active ,#google-maps-link:visited ,#google-maps-link:link {
	text-decoration: none; outline: none; color: #1155cc;
}
