*
{
	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;*/
	touch-action: none;
}
#mapa {
	position:absolute;
	top: 0;
	left: 0;
	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_images {
	position: absolute;
	top: 0;
	left: 0;
	width: 6000px;
	height: 6000px;
	overflow: visible;
	pointer-events: none;
}
#map_zoom_spacer {
	position: absolute;
	top: 0;
	left: 0;
	pointer-events: none;
	visibility: hidden;
}

#panel{
	width:260px;
	height:calc(100% - 30px);
	position: absolute;
	top: 0;
	left:0;
	background: rgba(0, 0, 0, 0.6);
	color: white;
	font-family: Tahoma;
	padding: 15px;
}
#panel h1, h2
{
	text-align:center;
	font-size: 1.5em;
}
#panel h2
{
	font-weight: normal;
	text-transform: uppercase;
	font-size: 15pt;
	letter-spacing: 10px;
}

#panel_content{
	opacity: 1;
}

#map_coords{
	position: absolute;
	bottom: 0;
	right: 0;
	color: white;
	background-color: rgba(0, 0, 0, 0.6); 
	opacity: 0.9;
	width: 270px;
	padding: 5px;
	font-size: 0.8em;
	text-align: center;
}

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

@media screen and (max-width: 768px) {
    #viewport {
        flex: 1;
        width: 100%;
    }

    #panel {
        width: auto;
        max-width: 600px;
        height: auto;
        bottom: 0;
        top: auto;
        left: 0;
        right: 0;
        padding: 10px;
    }

    #panel_content {
        padding: 10px;
    }

    #panel h1, #panel h2 {
        font-size: 1.2em;
    }

    #factlist {
        padding: 0;
        list-style: none;
    }

    #factlist li {
        margin-bottom: 10px;
    }
}

.fact{
	cursor: pointer;
	padding: 2px 5px 2px 10px;
}

.factSquare{
	width: 10px;
	height: 10px;
	border: 1px solid white;
	display: inline-block;
}

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;
}

.polylist li:hover{
	background: #555;
}

.turfinlist{
	font-size: 0.8em;
}

#actBox{
	display: none;
	position: absolute;
	left: 4800px;
	top: 5200px;
	background: #222;
	opacity: 0.9;
	padding: 3px;
	border: 2px solid black;
    border-radius: 7px;
	color: white;
	min-width: 110px;
	z-index: 6;
	pointer-events: auto;
}

#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;
}
