@font-face {
  font-family: "Kingthings Petrock";
  src: url('/fonts/Kingthings_Petrock-webfont.eot'),
       url('/fonts/Kingthings_Petrock-webfont.eot?#iefix') format('embedded-opentype'),
       url('/fonts/Kingthings_Petrock-webfont.woff2') format('woff2'),
       url('/fonts/Kingthings_Petrock-webfont.woff') format('woff'),
       url('/fonts/Kingthings_Petrock-webfont.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "JMH Beda";
  src: url("../fonts/JMH Beda.woff") format("woff"),
       url("../fonts/JMH Beda.eot"),
       url("../fonts/JMH Beda.eot?#iefix") format("embedded-opentype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Deutsch Gothic";
  src: url("../fonts/Deutsch.woff") format("woff"),
       url("../fonts/Deutsch.eot"),
       url("../fonts/Deutsch.eot?#iefix") format("embedded-opentype");
  font-weight: normal;
  font-style: normal;
}

body {
  padding: 0;
  margin: 0;
}

html, body, #mapid {
  height: 100%;
  width: 100vw;
  background: black;
  font-family: "Kingthings Petrock", "Times New Roman", Times, serif;
  overflow: hidden;
  -webkit-touch-callout: none;
    -webkit-user-select: none;
     -khtml-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;
}

button,
select,
input,
textarea {
  font-family: "Kingthings Petrock", "Times New Roman", Times, serif;
  font-size: 100%;
}

textarea {
  resize: none;
}

:focus {
  outline: none;
  -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
}

#topnavi {
  height: 20%;
  overflow: hidden;
  text-align: center;
}

#logoheadline {
  font-family: "JMH Beda", "Kingthings Petrock", "Times New Roman", Times, serif;
  color: saddlebrown;
  text-shadow: 2px 0 2px #666;
  font-size: 300%;
}

#message {
  position: absolute;
  left: 1%;
  right: 1%;
  top: 25%;
  padding: 1% 2%;
  background: #ccc;
  z-index: 999;
}

#message .close {
  cursor: pointer;
  position: absolute;
  top: -17px;
  right: -17px;
  width: 30px;
  height: 30px;
  text-indent: -9999px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
  background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADwAAAA8CAYAAAA6/NlyAAAAAXNSR0IArs4c6QAAA3hJREFUaAXlm8+K00Acx7MiCIJH/yw+gA9g25O49SL4AO3Bp1jw5NvktC+wF88qevK4BU97EmzxUBCEolK/n5gp3W6TTJPfpNPNF37MNsl85/vN/DaTmU6PknC4K+pniqeKJ3k8UnkvDxXJzzy+q/yaxxeVHxW/FNHjgRSeKt4rFoplzaAuHHDBGR2eS9G54reirsmienDCTRt7xwsp+KAoEmt9nLaGitZxrBbPFNaGfPloGw2t4JVamSt8xYW6Dg1oCYo3Yv+rCGViV160oMkcd8SYKnYV1Nb1aEOjCe6L5ZOiLfF120EjWhuBu3YIZt1NQmujnk5F4MgOpURzLfAwOBSTmzp3fpDxuI/pabxpqOoz2r2HLAb0GMbZKlNV5/Hg9XJypguryA7lPF5KMdTZQzHjqxNPhWhzIuAruOl1eNqKEx1tSh5rfbxdw7mOxCq4qS68ZTjKS1YVvilu559vWvFHhh4rZrdyZ69Vmpgdj8fJbDZLJpNJ0uv1cnr/gjrUhQMuI+ANjyuwftQ0bbL6Erp0mM/ny8Fg4M3LtdRxgMtKl3jwmIHVxYXChFy94/Rmpa/pTbNUhstKV+4Rr8lLQ9KlUvJKLyG8yvQ2s9SBy1Jb7jV5a0yapfF6apaZLjLLcWtd4sNrmJUMHyM+1xibTjH82Zh01TNlhsrOhdKTe00uAzZQmN6+KW+sDa/JD2PSVQ873m29yf+1Q9VDzfEYlHi1G5LKBBWZbtEsHbFwb1oYDwr1ZiF/2bnCSg1OBE/pfr9/bWx26UxJL3ONPISOLKUvQza0LZUxSKyjpdTGa/vDEr25rddbMM0Q3O6Lx3rqFvU+x6UrRKQY7tyrZecmD9FODy8uLizTmilwNj0kraNcAJhOp5aGVwsAGD5VmJBrWWbJSgWT9zrzWepQF47RaGSiKfeGx6Szi3gzmX/HHbihwBser4B9UJYpFBNX4R6vTn3VQnez0SymnrHQMsRYGTr1dSk34ljRqS/EMd2pLQ8YBp3a1PLfcqCpo8gtHkZFHKkTX6fs3MY0blKnth66rKCnU0VRGu37ONrQaA4eZDFtWAu2fXj9zjFkxTBOo8F7t926gTp/83Kyzzcy2kZD6xiqxTYnHLRFm3vHiRSwNSjkz3hoIzo8lCKWUlg/YtGs7tObunDAZfpDLbfEI15zsEIY3U/x/gHHc/G1zltnAgAAAABJRU5ErkJggg==);
}

#message.alert-danger {
  border: solid 5px darkred;
  padding: 2% 3%;
  margin: 0 15%;
  font-family: "Kingthings Petrock", "Times New Roman", Times, serif;
  font-weight: bold;
  background: pink;
}

#message.alert-info {
  border: solid 5px darkgreen;
  border-radius: 10px;
  font-family: "Kingthings Petrock", "Times New Roman", Times, serif;
  padding: 2% 3%;
  margin: 0 15%;
  background: lightblue;
}

#exit {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

#actionmenu {
  display: none;
  position: absolute;
  top: 22.5%;
  left: 22.5%;
  width: 50%;
  padding: 2% 3%;
  border-radius: 4px;
  background: brown;
  border: solid 5px sandybrown;
  z-index: 401;
  box-shadow: 12px -9px 10px #444;
}

#actionmenu h4 {
  margin-top: 0;
  text-align: center;
}

#actionmenu button {
  width: 100%;
  height: 30px;
  margin-bottom: 5%;
  border-radius: 4px;
  border: solid 2px black;
  background: sandybrown;
}

#actionmenu button:last-child {
  margin-bottom: 0;
}

#statusmessages {
  height: 5.5%;
  margin-top: 1.5%;
  overflow: hidden;
}

#statusmessages .inventory {
  white-space: nowrap;
  display: inline;
  margin-left: 1%;
  margin-right: 1%;
}

#statusmessages .inventory img {
  max-height: 80%;
}

#statusmessages .inventory span {
  position: relative;
  top: -8px;
  font-size: 16px;
  color: ghostwhite;
}

#helptext {
  color: #222;
  background: sandybrown;
  border-radius: 4px;
  padding: 4% 6%;
  margin: 2% 0;
}

#helptext .headline {
  text-transform: uppercase;
  overflow: hidden;
  text-overflow: ellipsis;
  font-family: "Kingthings Petrock light regular", "Times New Roman", Times, serif;
  margin-bottom: 2%;
}

#resurrection {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 400;
  text-align: center;
}

#resurrection span {
  color: black;
  -webkit-animation: blink 3s infinite alternate;
  -moz-animation: blink 3s infinite alternate;
  -ms-animation: blink 3s infinite alternate;
  -o-animation: blink 3s infinite alternate;
  animation: blink 3s infinite alternate;
}

#compass {
  position: absolute;
  height: 4%;
  right: 1%;
  bottom: 20%;
  z-index: 400;
}

.pulsing {
  position: relative;
  width: 80px;
  height: 80px;
}

.pulsing div {
  position: absolute;
  border: 4px solid #fff;
  opacity: 1;
  border-radius: 50%;
  animation: pulsing 2.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

.pulsing div:nth-child(2) {
  animation-delay: -1s;
}

.mailText {
  min-height: 100px;
  width: 100%;
  padding: 1% 2%;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

@keyframes pulsing {
  0% {
    top: 36px;
    left: 36px;
    width: 0;
    height: 0;
    opacity: 0;
  }
  4.9% {
    top: 36px;
    left: 36px;
    width: 0;
    height: 0;
    opacity: 0;
  }
  5% {
    top: 36px;
    left: 36px;
    width: 0;
    height: 0;
    opacity: 1;
  }
  100% {
    top: 0px;
    left: 0px;
    width: 72px;
    height: 72px;
    opacity: 0;
  }
}

@-webkit-keyframes blink {
  from { color: white; }
  to { color: black; }
}
@-moz-keyframes blink {
  from { color: white; }
  to { color: black; }
}
@-ms-keyframes blink {
  from { color: white; }
  to { color: black; }
}
@-o-keyframes blink {
  from { color: white; }
  to { color: black; }
}
@keyframes blink {
  from { color: white; }
  to { color: black; }
}