/* Common Styles */

@viewport {
  width: device-width;
  zoom: 1.0;
}

@media screen and (max-width: 639px) {
  #parent {
    font-family: sans-serif;
    position: relative;
    top: 0;
    left: 0;
  }
}

@media screen and (min-width: 640px) {
  #parent {
    font-family: sans-serif;
    position: relative;
    top: 0;
    left: 0;
    margin: auto;
    width:640px; /* determined by base image*/*/
  }
}

#baseImg {
  position: relative;
  top: 0;
  left: 0;
  z-index: 1;
}


/* Main Page Styles */

.hexImg {
  position: absolute;
  top: 0;
  left: 0;
  display: none;
  z-index: 2;
}

map {
  position: relative;
  display: block;
}
/* block to make it work in webkit browsers*/
area {
  display: block;
  cursor: pointer;
}


/* Information Page Styles */

#overlayImg {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  display: none;
}

@media screen and (max-width: 639px) {
  #info {
    background: rgba(255,255,255, 0.85);
    color: #424242;
    border: 0.3em solid white;
    border-radius: 0.2em;
    box-shadow: 0.1em 0.1em 0.2em 0.1em rgba(0,0,0,0.25);
    position: absolute;
    left: 5px;
    top: 5px;
    width: 85%;
    padding: 1em;
    z-index: 3;
    display: none;
    font-size: 90%;
  }
}

@media screen and (min-width:640px) {
  #info {
    background: rgba(255,255,255, 0.85);
    color: #424242;
    border: 0.3em solid white;
    border-radius: 0.2em;
    box-shadow: 0.1em 0.1em 0.2em 0.1em rgba(0,0,0,0.25);
    position: absolute;
    left: 50%; /* based on bg. image */
    top: 25%; /*50%;*/ /* based on bg. image */
    padding: 1em;
    transform: translate(-50%,-25%);
    z-index: 3;
    display: none;
    font-size: 90%;
  }
}

#info p.sub1 {
  font-style: italic;
  font-size: 80%;
}

#info li {
  font-size: 90%;
}

.blur {
  filter: blur(0.1em);
}