@import url('https://fonts.googleapis.com/css?family=Open+Sans');
@import url('https://fonts.googleapis.com/css?family=Lato');

@font-face {
    font-family: 'kenpixel_mini_square';
    src: url('kenpixel_mini_square.woff') format('woff');
}

div#preloads {
   position: absolute;
   overflow: hidden;
   left: -9999px; 
   top: -9999px;
   height: 1px;
   width: 1px;
}

html {
    background-color: #333
}

h1, h2 {
    margin: 0 0 0 0;
}

body {
    font-family: Lato, Open Sans, Arial;
    color: #FFF;
    font-size: 16px;
    margin: 2em auto;
    max-width: 1600px;
    padding: 1em;
    line-height: 1.4;
    text-align: justify
}

a, a:visited {
    color: #7BAE7F
}

[type=radio] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

/* IMAGE STYLES */
[type=radio] + img {
    cursor: pointer;
    margin-top: 3px;
    margin-bottom: 3px;
    margin-right: 3px;
    margin-left: 3px;
    background-color: #222;
    -webkit-filter: drop-shadow(0 0 0px #222);
    transition: background-color 0.2s;
}


/* CHECKED STYLES */
[type=radio]:checked + img {
    background-color: #658968;
    -webkit-filter: drop-shadow(0 0 4px #658968);
    z-index: 10;
}

.colorbox {
    float: left;
    width: 16px;
    height: 16px;
    border: 1px solid rgba(0, 0, 0, .2);
    margin-top: 10px;
    margin-bottom: 12px;
    margin-right: 3px;
    margin-left: 3px;
}

#tooltip {
    font-family: 'kenpixel_mini_square';
    position: absolute;
    background: #7BAE7F;
    color: #ffffff;
    padding: 0 7px 2px 7px;
}

canvas {
    image-rendering: optimizeSpeed; /* Older versions of FF */
    image-rendering: -moz-crisp-edges; /* FF 6.0+ */
    image-rendering: -webkit-optimize-contrast; /* Safari */
    image-rendering: -o-crisp-edges; /* OS X & Windows Opera (12.02+) */
    image-rendering: pixelated; /* Awesome future-browsers */
    -ms-interpolation-mode: nearest-neighbor; /* IE */
    cursor: pointer;
    font-smooth: never;
    -webkit-font-smoothing: none;
    subpixel-antialias: none;
}

#gridoverlay {
  position: absolute;
  height: 256px;
  width: 256px;
  background-repeat:repeat;
  background-size: 256px;
  image-rendering: optimizeSpeed;
  image-rendering: -moz-crisp-edges;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: -o-crisp-edges;
  image-rendering: pixelated;
  -ms-interpolation-mode: nearest-neighbor;
  pointer-events: none;
}

.section {
    margin-bottom: 30px;
    margin-right: 30px;
}

th:nth-child(1) {
    padding-right: 0.2em
}

.sizebtn {
    margin-top: 2px;
    margin-left: 2px;
    cursor: pointer;
    float: right;
}

#progress {
  background-color: black;
  display: none;
}

#progresstext {
  position: absolute;
  padding-left:6px;
}

#progressdiv {
  background-color: #688E6B;
  height: 24px;
}

.contactinfo {
    filter:blur(8px);
    cursor: pointer;
}

.greenbtn {
    font-family: 'kenpixel_mini_square';
    background:#688E6B;
    color: #333333;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    margin: 0 5px 5px 0;
    cursor: pointer;
    width:250px;
    height:29px;
    font-size:100%;
}

.languages {
    position:absolute;
    text-align: right;
    right:50px;
}

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: hidden;
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: #7BAE7F5E; /* Black w/ opacity */
}

.modalbtn {
  position:absolute;
  color: #FFF;
  font-weight: bold;
  line-height: 0;
  top: 20px;
}

.modalbtn:hover,
.modalbtn:focus {
  color: #7BAE7F;
  text-decoration: none;
  cursor: pointer;
}

.close {
  left: 10px;
  font-size: 42px;
}

.rotate {
  left: 40px;
  font-size: 32px;
}

.config {
  left: 70px;
  font-size: 26px;
}
