/*Map canvas*/

/*Media query boilerplate
Follows Bootstrap grid breakpoints - XS, SM, MD, LG*/

/*Landscape - XS*/
@media screen and (max-width: 767px) and (orientation: landscape) {

}
/*Landscape - SM*/
@media screen and (min-width: 768px) and (max-width: 991px) and (orientation: landscape) {

}
/*Landscape - MD*/
@media screen and (min-width: 992px) and (max-width: 1199px) and (orientation: landscape) {

}
/*Landscape - LG*/
@media screen and (min-width: 1200px) and (orientation: landscape) {

}
/*Portrait - XS*/
@media screen and (max-width: 767px) and (orientation: portrait) {

}
/*Portrait - SM*/
@media screen and (min-width: 768px) and (max-width: 991px) and (orientation: portrait) {

}
/*Portrait - MD*/
@media screen and (min-width: 992px) and (max-width: 1199px) and (orientation: portrait) {

}
/*Portrait - LG*/
@media screen and (min-width: 1200px) and (orientation: portrait) {

}
/*--------------------------------------------------------------------------------------------------------------------------------*/
.map-canvas {
	width: 100%;
	min-height: 100%;
	padding: 0;
	margin: 0;
	background-color: #ddd;
	border: 1px solid #ddd;
}

/*Bullshit fix because Android keyboards suck ass*/
@media screen and (max-width: 400px) and (orientation: landscape) {
	.map-canvas {
		height: 200px !important;
		margin-top: 10px;
	}
}

/*Landscape - XS*/
@media screen and (max-width: 767px) and (orientation: landscape) {
	.map-canvas {
		height: 200px !important;
		margin-top: 10px;
	}
}
/*Landscape - SM*/
@media screen and (min-width: 768px) and (max-width: 991px) and (orientation: landscape) {
	.map-canvas {
		height: 200px;
	}
}
/*Landscape - MD*/
@media screen and (min-width: 992px) and (max-width: 1199px) and (orientation: landscape) {
	.map-canvas {
		height: 400px;
	}
}
/*Landscape - LG*/
@media screen and (min-width: 1200px) and (orientation: landscape) {
	.map-canvas {
		height: 600px;
	}
}
/*Portrait - XS*/
@media screen and (max-width: 767px) and (orientation: portrait) {
	.map-canvas {
		height: 180px !important;
		margin-top: 10px;
	}
}
/*Portrait - SM*/
@media screen and (min-width: 768px) and (max-width: 991px) and (orientation: portrait) {
	.map-canvas {
		height: 500px !important;
	}
}
/*Portrait - MD*/
@media screen and (min-width: 992px) and (max-width: 1199px) and (orientation: portrait) {
	.map-canvas {
		height: 300px;
	}
}
/*Portrait - LG*/
@media screen and (min-width: 1200px) and (orientation: portrait) {
	.map-canvas {
		height: 300px;
	}
}

.marker-toolbar {
	height: 30px !important;
	width: 100px !important;
	position: absolute;
	z-index: 1000 !important;
	border-radius: 5px;
}

.toolbar-ul li{
	display: inline-block;
    vertical-align: middle;
    text-align: center;
	float: left;
    width: 50px;
    height: 30px;
    line-height: 35px;
    border-right: 1px solid #ddd;
}

.map-fullscreen {
	position: fixed !important;
	z-index: 800 !important;
	top: 0 !important;
	left: 0 !important;
	height: 100% !important;
	width: 100% !important;
	margin: 0 !important;
}

/*Map btns*/
.map-fullscreen-btn {
	position: absolute;
	z-index: 850;
	right: 5px;
	margin-left: 0px;
}

.tag-gps-btn, .theme-gps-btn, .place-gps-btn {
	position: absolute;
	margin-left: 0px;
	z-index: 850;
	bottom: 80px;
	right: 10px;
}

/*Landscape */
@media screen and (orientation: landscape) {
	.map-fullscreen-btn {
		right: 10px;
		bottom: 120px;
	}
}
/*Portrait*/
@media screen and (orientation: portrait) {
	.map-fullscreen-close-btn, .image-close-btn {
		right: 5px;
		top: 5px;
	}

	.theme-map-fullscreen-close-btn {
		right: 5px;
		top: 85px;
	}

	@media screen and (min-width: 768px) and (max-width: 991px) and (orientation: portrait) {
		.map-fullscreen-close-btn, .image-close-btn {
			right: 10px;
			top: 10px;
		}
		.map-fullscreen-btn {
			right: 10px;
			bottom: 120px;
		}
		.gps-btn {
			right: 10px;
			bottom: 80px;
		}
	}
}

.map-fullscreen-btn i {
	/*font-size: 40px;*/
}

.map-fullscreen-btn-reposition, .gps-btn-reposition, .layer-control-toggle-reposition {
	/*position: fixed !important;*/
}

/*Landscape - XS*/
@media screen and (max-width: 767px) and (orientation: landscape) {
	.map-fullscreen-close-btn, .image-close-btn {
		right: 5px;
		top: 5px;
	}
	.map-fullscreen-btn-reposition {
		right: 5px !important;
		left: initial !important;
	}
	.map-fullscreen-btn-reposition {
		bottom: 5px !important;
	}
}
/*Landscape - SM*/
@media screen and (min-width: 768px) and (max-width: 991px) and (orientation: landscape) {
	.map-fullscreen-btn-reposition, .gps-btn-reposition {
		right: 5px !important;
		left: initial !important;
	}
	.map-fullscreen-btn-reposition {
		top: 45px !important;
	}
	.gps-btn-reposition {
		top: 100px !important;
	}
}
/*Landscape - MD*/
@media screen and (min-width: 992px) and (max-width: 1199px) and (orientation: landscape) {
	.map-fullscreen-btn-reposition, .gps-btn-reposition {
		/*bottom: 5px !important;*/
	}
	.map-fullscreen-close-btn {
		right: 10px;
		top: 60px;
	}
}
/*Landscape - LG*/
@media screen and (min-width: 1200px) and (orientation: landscape) {
	.tag-gps-btn, .theme-gps-btn, .place-gps-btn {
		right: 10px;
		bottom: 80px;
	}
	.map-fullscreen-close-btn {
		right: 10px;
		top: 60px;
	}
}

/*Portrait - XS*/
@media screen and (max-width: 767px) and (orientation: portrait) {
	.map-fullscreen-btn-reposition {
		bottom: 5px !important;
	}
}
/*Portrait - SM*/
@media screen and (min-width: 768px) and (max-width: 991px) and (orientation: portrait) {
	.map-fullscreen-btn-reposition, .gps-btn-reposition {
		/*bottom: 5px !important;*/
	}
}
/*Portrait - MD*/
@media screen and (min-width: 992px) and (max-width: 1199px) and (orientation: portrait) {
	.map-fullscreen-btn-reposition, .gps-btn-reposition {
		/*bottom: 5px !important;*/
	}
}
/*Portrait - LG*/
@media screen and (min-width: 1200px) and (orientation: portrait) {
	.map-fullscreen-btn-reposition, .gps-btn-reposition {
		/*bottom: 5px !important;*/
	}
}
