/*
	maps.css
*/

.map-canvas { height: 300px; }

@media (max-width: 768px) {
	.maps { font-size: 1.2em; text-align: center; }
}

@media (min-width: 769px) {
	.map-canvas { height: 340px; }
}

#mapitems { display: none; }


/* Paikannustulokset */
#paikannus-tulokset,
.paikannus-wrapper { display: none !important; }
#paikannus-tulokset.open { display: block !important; }

.laatikko .etaisyys {
	font-size: 0.7em;
	font-weight: bold;
	float: right;
}

#paikannus-tulokset .laatikko {
	margin-bottom: 5px;
}


/* Loading overlay */
#overlay {
	position: absolute;
	top: 0; right: 0; left: 0; bottom: 0;
	z-index: 8000;
	
	background: #fff;
	background:rgba(255,255,255,0.95);
	padding: 30px 20px;
	
	display:none;
}

#overlay .loading {
	margin: 0 auto;
	text-align: center;
	display: none;
	margin-top: 30px;
}

#overlay .loading .load-icon {
	display: inline-block;
	width: 32px; height: 32px;
	background: url(gfx/loading.html) center center no-repeat;
}
#overlay .loading .load-text {
	display: block;
	text-align: center;
	
	margin-top: 10px;
	font-size: 1.4em;
}

#overlay.open, #overlay.load .loading { display: block; }


/* Paikannusmainos */
#paikannusmainos {
	position: absolute;
	top: 10px;
	left: 10px;
	right: 10px;
	display: none;
	
	z-index: 8001;
	
	font-size: 1.2em;
	line-height: 1.4em;
}
#paikannusmainos #paikannusmainos-wrap {
	max-width: 640px;
	padding: 15px;
	margin: 0 auto;
	
	background: #eee;
	border: 3px solid #fff;
	
	box-shadow: 0px 2px 12px rgba(0,0,0,0.5);
}
#paikannusmainos-overlay {
	position: absolute; top: 0; left: 0; right: 0; bottom: 0;
	z-index: 8000;
	display: none;
	background: rgba(0,0,0,0.8);
}
#paikannusmainos.open, #paikannusmainos-overlay.open { display: block; }



/* Infowindow */
#infowindow h2, 
#infowindow h3 { text-align:center; }
#infowindow p { margin: 0 0 5px 0; font-size: 1.1em; line-height: 1.3em; text-align:center;}
#infowindow .puhelin a.call, #infowindow .osoite {
	font-size: 1.2em !important;
	line-height: 1.5em !important;
}
#infowindow .lisatietoja {
	border-top: 1px dotted #aaa;
	border-bottom: 1px dotted #aaa;
	color: #888;
	padding: 10px 0;
	margin: 5px 0;
}


/* Multi map */
#map { height: 340px; }
@media (min-width: 769px) {
	#map { height: 480px; }
}
@media (min-width: 1024px) {
	#map { height: 520px; }
}

#map a.nappi {
	-webkit-border-radius:0; -moz-border-radius:0; border-radius:0;
	-webkit-box-shadow:none; -moz-box-shadow:none; box-shadow:none;
	
	font-size:14px;
	padding:10px 20px;
}
#map a.nappi:hover { text-indent:0; }

/* Linkkilista */
.openmap-list, .openmap-list li {
	list-style: none;
	margin:0;
}
.openmap-list { 
	border-top: 1px dotted #ccc;
}
.openmap-list li {
	padding: 10px 0;
	border-bottom: 1px dotted #ccc;
	font-size:18px;
}
.openmap-list .city {
	float: right;
}
.openmap-list .yritys {
	float: right;
}

@media (min-width:801px) { .openmap-list { margin:0 10%; } }


/* Karttaikonien korjaus */
#map img { max-width:none; }



/* Hakukenttä */
.jalleenmyyjahaku { text-align:center; }

.openmap-list li, 
.jalleenmyyjahaku input { font-family:'Lato', sans-serif; font-weight:300; }

.jalleenmyyjahaku input {
	background: #242424;
	border: 0;
	padding: 10px;
	margin: 10px 0 30px 0;
	
	font-size: 32px;
	text-align: center;
	color: #fff;
	text-transform:uppercase;
}



#bottom.nobottom { display:none; }

body.toimipisteet #bottom .bottom-body { padding:0; }


/* Kartan peitto mobiilissa */
.maparea { position:relative; margin-top:20px; }
.maparea .peitto {
	position:absolute;
	top:0; left:0; right:0; bottom:0;
	z-index:10;
	background:rgba(0,0,0,0.6);
	display:none;
}
.maparea .peitto p { font-size:5vh; line-height:6vh; color:#fff; padding:15%; text-align:center; }

@media (max-width:1024px) { .maparea .peitto { display:block; } }

