*
{
	padding:0;
	margin: 0;
	border: none;
	overflow: hidden;
	font-family: Tahoma;
}
#viewport {
	position: relative;
	background: white;
	/*width: calc(100% - 260px);*/
	width: 100%;
	height: 100%;
	position: absolute;
	/*left: 260px;*/
}
#mapa {
	position:relative;
	width: 6000px;
	height: 6000px;
	overflow: hidden;
	background: url('../images/map.jpg') no-repeat;
	background-size: 6000px 6000px;
}
#_mapa {
	position:absolute;
	top: 0;
	left: 0;
	width: 6000px;
	height: 6000px;
	overflow: hidden;
	background-size: 6000px 6000px;
	pointer-events: visibleFill;
}

#map_coords{
	position: absolute;
	bottom: 0;
	right: 0;
	color: white;
	opacity: 0.9;
	width: auto;
	padding: 3px 8px;
	font-size: 0.8em;
	text-align: center;
	border-top-left-radius: 8px;
}

#panel li{
	margin-left: 5px;
}

.fact, .polylist li {
	transition: background 0.18s, border-radius 0.18s, box-shadow 0.18s;
	user-select: none;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	cursor: pointer;
	margin: 6px 0;
}

table, td, tr{
	color: white;
}

.headbutt{
	background: #555;
	color: white;
	font-weight: bold;
	padding: 5px 10px 5px 10px;
	margin: 5px 5px 0 0;
	cursor: pointer;
	font-family: Tahoma;
}

.headbutt:hover{
	background: #777;
}

.factid{
	display: none;
}

.polylist{
	margin-left: 20px;
}

.polylist li{
	padding: 2px 5px 2px 10px;
	cursor: pointer;
	margin: 4px 0;
}

.polylist li.selected, .polylist li:active, .polylist li:hover {
	border-radius: 6px;
	box-shadow: 0 1px 4px 0 rgba(0,0,0,0.07);
	background: rgba(184,196,224,0.13);
  	color: rgba(227, 221, 221, 0.82);
}

.turfinlist{
	font-size: 0.8em;
}

#actBox {
  display: none;
  position: absolute;
  left: 4800px;
  top: 5200px;
  background: #222;
  opacity: 0;
  padding: 3px;
  border: 2px solid black;
  border-radius: 7px;
  color: white;
  z-index: 6;
  transition: opacity 0.22s cubic-bezier(.4,0,.2,1), transform 0.22s cubic-bezier(.4,0,.2,1);
  transform: translateY(20px) scale(0.98);
}

.actbox-visible {
  display: block !important;
  opacity: 1 !important;
  transform: translateY(0) scale(1);
}

.actbox-hiding {
  opacity: 0 !important;
  transform: translateY(20px) scale(0.98);
}

#actBox a{
	color: #AAA;
	text-decoration: none;
	border-bottom: 1px solid #EEE;
	display: block;
	padding: 2px;
}

#actBox a:hover{
	color: white;
}

.actbutt{
	border: 1px solid;
	background: #222;
	color: white;
	padding: 2px 15px 2px 15px;
	margin: 5px 0 0 10px;
}

.deleter{
	color: white;
	font-weight: bold;
	font-size: 0.8em;
}

#panel a, #panel a:visited {
  color: rgba(227,221,221,0.82);
}

.dragger {
    cursor: move;
}

polygon {
  transition: opacity 0.1s cubic-bezier(.4,0,.2,1), fill 0.1s cubic-bezier(.4,0,.2,1), stroke 0.1s cubic-bezier(.4,0,.2,1);
}
polygon:hover {
  opacity: 0.7 !important;
  /* Можно добавить изменение цвета границы или заливки, если нужно */
}