/* ============== Google Map =========== */
.map_canvas {
	line-height: normal;
	padding: 0px;
	border: 1px solid #DDD;
	-moz-box-shadow: inset 0 1px 1px rgba(0,0,0,0.1);
	-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.1);
	box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.1);
	float:left;
	width:100%;
	height: 100%;
	background-image: url(../images/ajax-loader.gif);
	background-repeat: no-repeat;
	background-position: center center;
	-webkit-hyphens: none;
	-moz-hyphens: none;
	hyphens: none;
}
.map_canvas img {
	box-shadow: none !important;
	max-width:none !important;
	border-radius:0px !important;
	-webkit-border-radius:0px !important;
	-moz-border-radius:0px !important;
}
.map_canvas .cluster img {
	margin:0 !important;
	padding:0 !important;
}
.map_canvas h1, .map_canvas h2, .map_canvas h3, .map_canvas h4, .map_canvas h5, .map_canvas h6, .map_canvas p, .widget-area .widget .map_canvas p, .map_canvas ul {
	margin:0;
	padding:5px 0;
	line-height:normal;
}
.map_canvas ul {
	padding:0;
	margin:10px 0;
}
.map_canvas ul.map-button-dropdown {
	margin:5px 0 0 0;
	z-index:1 !important;
	list-style:none;
	list-style-type:none;
}
.map_canvas ul.map-button-dropdown li {
	position:relative;
	white-space:nowrap;
	margin:0px;
	list-style:none;
	list-style-type:none;
}
.map_canvas ul.map-button-dropdown ul {
	margin:0px;
	display: none;
	background-color:#ffffff;
}
.map_canvas ul.map-button-dropdown:hover ul {
	display: block;
	text-align:left;
	border:1px solid #666;
	border: 1px solid rgba(0, 0, 0, 0.14902);
	-webkit-box-shadow: rgba(0, 0, 0, 0.298039) 0px 1px 4px -1px;
	box-shadow: rgba(0, 0, 0, 0.298039) 0px 1px 4px -1px;
}
.map_canvas ul.map-button-dropdown li div.legend-button {
	margin:0;
	text-align:left;
	padding-right:25px;
}
.map_canvas ul.map-button-dropdown li ul li div.legend-button {
	border-radius:0px;
	padding:3px 6px;
	border:none;
	color: rgb(86, 86, 86);
}
.map_canvas ul.map-button-dropdown li ul li div.legend-button:hover {
	color:#000000;
}
.postbox .map_canvas h3 {
	background:none;
}
.legend-container {
	width:100%;
	height:30px;
	position: relative !important;
	top:0px;
	right:0px;
}
.legend-button {
	margin:5px;
	cursor:pointer;
	direction: ltr;
	overflow: hidden;
	text-align: center;
	position: relative;
	color: rgb(0, 0, 0);
	font-family: Roboto, Arial, sans-serif;
	-webkit-user-select: none;
	font-size: 11px;
	background-color: rgb(255, 255, 255);
	padding: 1px 6px;
	-webkit-border-radius:2px;
	-moz-border-radius:2px;
	border-radius: 2px;
	-webkit-background-clip: padding-box;
	background-clip: padding-box;
	border:1px solid #666;
	border: 1px solid rgba(0, 0, 0, 0.14902);
	-webkit-box-shadow: rgba(0, 0, 0, 0.298039) 0px 1px 4px -1px;
	box-shadow: rgba(0, 0, 0, 0.298039) 0px 1px 4px -1px;
	min-width: 24px;
	font-weight: 500;
	line-height: normal;
}
.legend-button:hover {
	background-color: rgb(235, 235, 235);
	color: rgb(0, 0, 0);
}
.close-button {
	background-color:#f75448;
	color:#fff;
	font-weight:700;
	margin-left:0px;
}
.direction-div {
	width:0px;
	position:absolute;
	top:30px !important;
	right:0px !important;
	left:auto !important;
	max-width:80%;
	padding-left:20px;
	z-index:100;
}
.direction-div.special
{
	position: static;
	width: 100%;
	max-width: 100%;	
	padding-left: 0px;
	border: 1px solid #ddd;
	margin-bottom: 20px;
}
.direction-div.special .direction-container
{
	max-width: 100%;	
}
.direction-grabber {
	position:absolute;
	top:0px;
	left:0px;
	width:20px;
	height:100%;
	color:#fff;
	cursor:pointer;
	text-align:center;
}
.map-nav-bg {
	background-color: rgba(0, 0, 0, 0.5);
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#7f000000, endColorstr=#7f000000);
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#7f000000, endColorstr=#7f000000)";
}
.direction-grabber span {
	display:block;
	position:absolute;
	left:1px;
	top:50%;
	height:16px;
	width:16px;
	line-height:15px;
	margin-top:-8px;
	color:#000;
	font-weight:400;
	font-size:14px;
	background-color:#fff;
	-moz-border-radius: 50%;
	-webkit-border-radius: 50%;
	border-radius: 50%;
	-khtml-border-radius: 50%;
	border:1px solid #666;
	border: 1px solid rgba(0, 0, 0, 0.14902);
	-webkit-box-shadow: rgba(0, 0, 0, 0.298039) 0px 1px 4px -1px;
	box-shadow: rgba(0, 0, 0, 0.298039) 0px 1px 4px -1px;
}
.direction-grabber:hover span {
	background-color: rgb(235, 235, 235);
	color: rgb(0, 0, 0);
}
.direction-container {
	position: relative;
	min-height:120px;
	background-color:#fff;
	overflow:hidden;
	min-width:245px;
	max-width:300px;
}
.input-wrap {
	padding:5px;
	position:relative;
}
.dir-input {
	margin:0px 6px;
	padding:1px 3px 1px 36px;
	zoom: 1;
	position:relative;
}
.dir-input .wp {
	min-height: 16px;
	/*line-height: 16px;*/
	margin: -1px -6px;
	padding: 3px 5px;
	width: 100%;
	-moz-box-sizing: content-box;
	-webkit-box-sizing: content-box;
	-ms-box-sizing: content-box;
	box-sizing: content-box;
}
.kd-input-text {
	background-color: #fff;
	padding-left: 8px;
	border: 1px solid #d9d9d9;
	border-top: 1px solid #c0c0c0;
	-webkit-border-radius: 1px;
	-moz-border-radius: 1px;
	border-radius: 1px;
}
.adp-step, .adp-text
{
	padding-left: 35px;
}
input[type="button"].kd-button, input[type="submit"].kd-button, .kd-button {
	display: inline-block;
	margin: 2px 6px 0px 0px;
	text-transform: uppercase;
	border: 1px solid #dcdcdc;
	border: 1px solid rgba(0,0,0,0.1);
	text-align: center;
	color: #444;
	font-size: 85%;
	font-weight: bold;
	height: 27px;
	padding: 0px 8px;
	line-height: 27px;
	-webkit-border-radius: 0px;
	-moz-border-radius: 0px;
	border-radius: 0px;
	-webkit-transition: all 0.218s;
	-moz-transition: all 0.218s;
	-o-transition: all 0.218s;
	transition: all 0.218s;
	background-color: #f5f5f5;
	background-image: -webkit-gradient(linear,left top,left bottom,from(#f5f5f5),to(#f1f1f1));
	background-image: -webkit-linear-gradient(top,#f5f5f5,#f1f1f1);
	background-image: -moz-linear-gradient(top,#f5f5f5,#f1f1f1);
	background-image: -ms-linear-gradient(top,#f5f5f5,#f1f1f1);
	background-image: -o-linear-gradient(top,#f5f5f5,#f1f1f1);
	background-image: linear-gradient(top,#f5f5f5,#f1f1f1);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#f5f5f5',EndColorStr='#f1f1f1');
	overflow:visible;
	width: auto;
}
input[type="button"].kd-button-submit, 
input[type="submit"].kd-button-submit, 
input[type="button"].kd-button-submit:visited, 
input[type="submit"].kd-button-submit:visited, 
.kd-button-submit, 
.kd-button-submit:visited {
	padding: 0px 8px;
	border: 1px solid #3079ed;
	color: #fff;
	background-color: #4d90fe;
	background-image: -webkit-gradient(linear,left top,left bottom,from(#4d90fe),to(#4787ed));
	background-image: -webkit-linear-gradient(top,#4d90fe,#4787ed);
	background-image: -moz-linear-gradient(top,#4d90fe,#4787ed);
	background-image: -ms-linear-gradient(top,#4d90fe,#4787ed);
	background-image: -o-linear-gradient(top,#4d90fe,#4787ed);
	background-image: linear-gradient(top,#4d90fe,#4787ed);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#4d90fe',EndColorStr='#4787ed');
}
input[type="button"].kd-button-submit:hover, 
input[type="submit"].kd-button-submit:hover, 
.kd-button-submit:hover, 
input[type="button"].kd-button-submit:focus, 
input[type="submit"].kd-button-submit:focus, 
.kd-button-submit:focus {
	padding: 0px 8px;
	border: 1px solid #3079ed;
	color: #fff;
	background-color: #4787ed;
	background-image: -webkit-gradient(linear,left top,left bottom,from(#4787ed),to(#4d90fe));
	background-image: -webkit-linear-gradient(top,#4787ed,#4d90fe);
	background-image: -moz-linear-gradient(top,#4787ed,#4d90fe);
	background-image: -ms-linear-gradient(top,#4787ed,#4d90fe);
	background-image: -o-linear-gradient(top,#4787ed,#4d90fe);
	background-image: linear-gradient(top,#4787ed,#4d90fe);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#4787ed',EndColorStr='#4d90fe');
}
input[type="button"].kd-button-submit:active, 
input[type="submit"].kd-button-submit:active, 
.kd-button-submit:active {
	padding: 0px 8px;
	border: 1px solid #3079ed;
	color: #fff;
	background-color: #4787ed;
	background-image: -webkit-gradient(linear,left top,left bottom,from(#4787ed),to(#4d90fe));
	background-image: -webkit-linear-gradient(top,#4787ed,#4d90fe);
	background-image: -moz-linear-gradient(top,#4787ed,#4d90fe);
	background-image: -ms-linear-gradient(top,#4787ed,#4d90fe);
	background-image: -o-linear-gradient(top,#4787ed,#4d90fe);
	background-image: linear-gradient(top,#4787ed,#4d90fe);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#4787ed',EndColorStr='#4d90fe');
	-webkit-box-shadow: inset 0px 0px 10px 3px #9ac0fe;
	box-shadow: inset 0px 0px 10px 3px #9ac0fe;
}
input[type="button"].kd-button-submit:disabled, 
input[type="submit"].kd-button-submit:disabled, 
.kd-button-submit:disabled {
	border: 1px solid #3079ed;
	color: #fff;
	background-color: #4787ed;
	background-image: -webkit-gradient(linear,left top,left bottom,from(#4787ed),to(#4d90fe));
	background-image: -webkit-linear-gradient(top,#4787ed,#4d90fe);
	background-image: -moz-linear-gradient(top,#4787ed,#4d90fe);
	background-image: -ms-linear-gradient(top,#4787ed,#4d90fe);
	background-image: -o-linear-gradient(top,#4787ed,#4d90fe);
	background-image: linear-gradient(top,#4787ed,#4d90fe);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#4787ed',EndColorStr='#4d90fe');
	-webkit-box-shadow: inset 0px 0px 10px 3px #305ca2;
	box-shadow: inset 0px 0px 10px 3px #305ca2;
}
.input-letter, 
.input-letter:visited,
.input-letter:hover,
.input-letter:active {
	position: absolute;
	width: 22px;
	height: 22px;
	left: 0px;
	top: 0px;
	line-height:22px;
	font-weight:700;
	background-color:#b2d0fe;
	text-align:center;
	-moz-border-radius: 50%;
	-webkit-border-radius: 50%;
	border-radius: 50%;
	-khtml-border-radius: 50%;
	padding:0;
}
.directions-response {
	background-color: #fff;
	border: none;
}
.directions-response img {
	padding: 0px;
	background: none;
	border: none;
	-moz-box-shadow: none;
	-webkit-box-shadow: none;
	box-shadow: none;
	max-width:none !important;
}
.directions-response table {
	width:100%;
}
.map-directions-response {
	background-color:#fff;
	overflow-y: scroll;
	display:none;
}
.small_map_container {
	width:100%;
	height:auto;
	margin:0px 0px 30px;
	max-width: 100%;
}
.small_map_container.directions .map_canvas
{
	display: none;
	margin-bottom: 20px;
}
.large_map_container {
	position:fixed;
	width:100% !important;
	height:100% !important;
	z-index:100000;
	display:none;
	top:0px;
	left:0px;
}
.large_map_container.directions .map_canvas
{
	display: none;
}
.marker_directions, .zoom_controls {
	clear:both;
}
.custom_marker_select {
	margin:15px;
}
.reverse-directions {
	position:absolute;
	width: 22px;
	height: 22px;
	left: 5px;
	top: 4px;
	line-height: 22px;
	background-image:url(../images/reverse.png);
	background-position: center center;
	background-repeat:no-repeat;
	text-align: center;
	-moz-border-radius: 50%;
	-webkit-border-radius: 50%;
	border-radius: 50%;
	-khtml-border-radius: 50%;
	transition:all .3s;
	-webkit-transition:all .3s;
	cursor:pointer;
	display:none;
}
.reverse-directions:hover {
	transform:rotate(180deg);
	-ms-transform:rotate(180deg);
	-webkit-transform:rotate(180deg);
}
#map_makers_list .attachment {
	margin:8px;
	max-width:120px;
}
#map_makers_list .attachment-preview {
	max-width:100px;
	max-height:100px;
}
#map_makers_list .attachment-preview .thumbnail {
	width:100px;
	height:100px;
}
.fullscreen-icon {
	background-image:url(../images/fullscreen.png);
	background-position: center center;
	background-repeat:no-repeat;
	width:19px;
	min-width:0px;
	padding:1px;
	margin-left:0px;
}
.legend-button-down-arrow {
	background-image:url(https://maps.gstatic.com/mapfiles/arrow-down.png);
	background-position:center center;
	-webkit-user-select: none; 
	border: 0px; 
	padding: 0px; 
	margin: -2px 0px 0px; 
	position: absolute; 
	right: 6px; 
	top: 50%; 
	width: 7px; 
	height: 4px;
}
.infowindow-content {
	/*Horrible fix for FireFox text wrapping*/
	margin-right:-1px;
}
/* Containers */
/* For modern browsers */
.map_canvas .map_style_container {
	line-height:normal;
}
.map_style_container:before,
.map_style_container:after {
    content:"";
    display:table;
}
.map_style_container:after {
    clear:both;
}
/* For IE 6/7 (trigger hasLayout) */
.map_style_container {
    zoom:1;
}
.ie-copyright-fix {
	width:auto !important;
}