﻿/**
 * EC Map Renderer
 * Copyright 2023 by Rainer Kaufmann (DraconisMC)
 *
 * Maptile Styles
 */

.maptileback {
	position: absolute;
	background: rgb(34,34,34);
	background: linear-gradient(315deg, rgba(34,34,34,1) 0%, rgba(41,41,41,1) 100%);
	display: block;
}

.forcedmap .maptileback {
	z-index: 310 !important;
}

.maptile {
	position: absolute;
	display: none;
}
.mcmap .maptile {
	display: block;
}

.forcedmap .maptile {
	z-index: 311 !important;
}

.maptile.preview {
	border: 1px solid #00ff00;
	box-shadow: 0 0 10px 5px #00ff00 inset;
	display: block !important;
	z-index: 1000 !important;
}

.maptile.hovered {
	box-shadow: 0 0 10px 5px #fff;
	display: block !important;
	z-index: 312 !important;
}

.maptile.active {
	box-shadow: 0 0 10px 5px #fff inset;
	display: block !important;
	/*z-index: 312 !important;*/
}

/**
 * Maptile Details
 */

.maptile-details {
	background-color: #222;
	min-height: 88px;
	display: none;
}

.mcmap .maptile-details {
	display: block;
}

.maptile-details.deleted h2,
.maptile-details.deleted .maptile-details-content {
	color: #666 !important;
}

.maptile-tooltip {
	background-color: #222 !important;
	background-image: none !important;
	padding: 2px 8px;
}

.mapimage {
	position: absolute;
	top: 20px;
	right: 0;
	width: 64px;
	height: 64px;
	border: 1px solid #999;
	border-top-left-radius: 6px;
	border-bottom-left-radius: 6px;
	margin: 4px 0 24px 0;
}

.mapimage img {
	width: 64px;
	height: 64px;
	border-top-left-radius: 6px;
	border-bottom-left-radius: 6px;
}

.deleted .mapimage img {
	filter: grayscale(100%);
}

