.tiledImageViewer {
	background: url(images/maploading.png);
	position: relative;
	overflow: hidden;
}

.tiledImageViewer div.image {
	position: absolute;
}

.tiledImageViewer .rect {
	position: absolute;
	border: 1px solid #F00;
	-moz-opacity: 0.5;
}

.tiledImageViewer .rect div {
	background-color: #FFF;
}

.tiledImageViewer div.dpad {
	position: absolute;
	top: 14px;
	left: 14px;
	width: 44px;
	height: 44px;
	background: url(images/dpad.png) top left no-repeat;
}

.tiledImageViewer div.dpad div {
	position: absolute;
	width: 15px;
	height: 15px;
	cursor: pointer;
}

.tiledImageViewer div.dpad div.up {
	top: 0;
	left: 14px;
}

.tiledImageViewer div.dpad div.right {
	top: 14px;
	left: 28px;
}

.tiledImageViewer div.dpad div.down {
	top: 28px;
	left: 14px;
}

.tiledImageViewer div.dpad div.left {
	top: 14px;
	left: 0;
}

/* THANK YOU IE!! */

/* END OF CRUCIAL STUFF */
#map map
{
	border: 0px solid blue;
}

div.minimap
{
	bottom: 0px;
	left: 0px;
	border: 1px solid black;
}

/* Choosing a location in the mobile layout: Place/Cancel bar at the bottom of the map */
#map_select_actions
{
	position: fixed;
	left: 0;
	right: 0;
	bottom: var(--sheet-bottom, 0);
	z-index: 100000;
	display: flex;
	gap: 12px;
	padding: 12px 16px;
	background: rgba(0, 0, 0, 0.6);
	box-sizing: border-box;
}

#map_select_actions button
{
	flex: 1 1 0;
	min-height: 44px;
	font-size: 16px;
	border-radius: 6px;
	border: 1px solid #333;
	cursor: pointer;
}

#map_select_actions button.cancel
{
	background: #eee;
	color: #222;
}

#map_select_actions button.place
{
	background: #3a7d2c;
	color: #fff;
}
