html, body {
  height: 100%;
}

html, body, div {
  margin: 0;
  padding: 0;
  border: 0;
}

body {
  /*margin-top: 60px;
  padding: 10px; */
  background-color: grey;
}

@font-face {
    font-family: "Symbola";
    src: url("Symbola.ttf");
}


/* Home */

.col-centered{
    float: none;
    margin: 0 auto;
}

.welcomepage {
  background-color: white;
  height: 80%;
}


/* Page-level elements */

.infocolumn {
  position: absolute;
  top: 25px;
  left: 15px;
  z-index: 200;
}

.infobox {
  border: 0px solid black;
  background-color: white;
  position: relative;
  padding: 5px;
  margin-bottom: 5px;
}

.borderedname {
  text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
}

.infoboxflag {
  width: 24px;
  height: 16px;
  border: 1px solid black;
  position: absolute;
  right: 5px;
  top: 5px;
}

.linkhome {
  z-index: 500;
  position: fixed;
  background-color: black;
  color: grey;
  width: 20px;
  text-align: center;
}
.linkhome > a {
  color: grey;
}


.mapframe {
  position: relative;
  overflow: hidden;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.scrollablemap {
  position: absolute;
}

/* Generic map elements */

.surfacecell {
  position: absolute;
  padding: 0;
  margin: 0;
  border: 0;
  width: 10px;
  height: 20px;
  line-height: 20px;
  font-size: 17px;
  font-family: Symbola;
  text-align: center;
}

.cellleftear {
  position: relative;
  left: -10px;
  top: 00px;
  border-right: 10px solid green;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  height: 20px;
  width: 0px;
}

.cellrightear {
  position: relative;
  left: 10px;
  top: -20px;
  border-left: 10px solid green;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  height: 20px;
  width: 0px;
}

.cellmiddle {
  position: relative;
  top: -40px;
}

.overcell {
  position: absolute;
  color: black;
  left: 0;
  top: 0;
}

.cityname {
  z-index: 100;
  position: absolute;
  top: 20px;
  text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
  display: inline-block;
  white-space: nowrap;
  transform: translate(-50%, 0px);
  pointer-events: none;
}

.cityflag {
  z-index: 150;
  position: absolute;
  top: -5px;
  left: 10px;
  width: 12px;
  height: 8px;
  border: 1px solid black;
}


/* Specific terrain types (could be made more dynamic) */

.sea {
  background-color: rgb(0%, 0%, 80%);
  color: rgb(0%, 0%, 85%);
}

.mountain {
  color: rgb(30%, 30%, 30%);
}

.tundra {
  color: green;
}

.forest {
  color: darkgreen;
}

.swamp {
  color: darkbrown;
}

.plains {
  color: green;
  background-color: lightyellow;
}
