.epm-wrap { position: relative; width: 100%; }
.epm-map { width: 100%; min-height: 300px; }
.epm-map img { max-width: none !important; box-shadow: none !important; border: 0 !important; }

/* Theme rules like ".entry-content input[type=text]{width:100%}" must not stretch the search box. */
.epm-wrap .epm-map input.epm-search,
.epm-wrap .epm-map input.epm-search[type="text"] {
	width: 300px !important;
	min-width: 0 !important;
	max-width: calc(100vw - 110px) !important;
	height: 36px !important;
	min-height: 0 !important;
	margin: 10px 0 0 10px !important;
	padding: 0 12px !important;
	border: 1px solid transparent !important;
	border-radius: 2px !important;
	box-sizing: border-box !important;
	box-shadow: 0 2px 6px rgba(0, 0, 0, .3) !important;
	background: #fff !important;
	color: #222 !important;
	font: 300 15px/34px Arial, sans-serif !important;
	text-align: right;
	direction: rtl;
	text-overflow: ellipsis;
	outline: none;
}
.epm-wrap .epm-map input.epm-search:focus { border-color: #4d90fe !important; }

.epm-legend {
	margin: 10px;
	padding: 6px 4px;
	background: #fff;
	box-shadow: 0 2px 6px rgba(0, 0, 0, .3);
	text-align: center;
	font: 12px/1.3 Arial, sans-serif;
	direction: rtl;
}
.epm-legend div + div { margin-top: 6px; }
.epm-legend img { display: block; margin: 2px auto 0; }

.epm-popup { direction: rtl; text-align: right; padding-left: 20px; line-height: 1.5; }

.epm-error {
	direction: rtl;
	margin: 8px 0 0;
	padding: 8px 10px;
	background: #fff3cd;
	border: 1px solid #ffe69c;
	color: #664d03;
}
