html, body {
    padding: 0;
    margin: 0;
    height: 100%;
    width: 100%;
}
#map {
    position: absolute;
    right: 0;
    height: 100%;
    width: 75%;
}
a {
    color: #ccd3e0;
}
#infopanel {
    margin-top: 0px;
    position: fixed;
    background-color: #555;
    left: 0;
    width: 25%;
    height: 60%;
    color: #eee;
    font: 14px Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    text-shadow: 0px 1px black;
}
#mapname{
    color: #eee;
    font: 20px Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    padding: 10px 10px 10px 10px;
    position: relative;
    text-align: center;
    word-break: break-word;
    display: block;
    background-color: #45484d;
    box-sizing: border-box;
}
#textinfo{
    color: #eee;
    font: 10px Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    text-shadow: 0px 1px black;
    margin: 5px 5px 5px 5px;
    position: relative;
    top: 10%;
    transform: translateY(-10%);
}
#filter {
    background-color: #555;
    height: 52%;
    position: absolute;
    left: 0;
    bottom: 0;
    width: 25%;
}
#left{
    position: absolute;
    width: 60px;
    height: 52%;
}
#right{
    position: absolute;
    right: 0;
    margin: 2px 10px 50px 0px;
    height: 50%;
}
.legend {
    background-color: #555;
    position: relative;
    left: 0;
    bottom: 0;
    width: 60%;
    color: #eee;
    padding: 10px 10px 0px 10px;
    font: 16px Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    text-shadow: 0px 1px black;
    text-align: left;
    white-space: nowrap;
}
#legend_name {
    top: 5px;
    background-color: #555;
    color: #eee;
    font: 18px Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    text-align: center;
    padding: 3px 10px 3px 10px;
    text-align: center;
    display: block;
    background-color: #45484d;
}

#legend_pr{
  position: absolute;
  width: 300px;
  left: 10px;
  bottom: 10px;
  font: 12px Arial, sans-serif;
  color: white;
  display: block;
  opacity: 0.9;
  z-index: 314159;
}

input[type=checkbox] {
    visibility: hidden;
}

.squaredTwo {
  vertical-align: top;
  margin: 0 3px 0 0;
  width: 15px;
  height: 15px;
}

.squaredTwo + label {
  cursor: pointer;
}

.squaredTwo:not(checked) {
  position: absolute;
  opacity: 0;
}

.squaredTwo:not(checked) + label {
  position: relative; /* будем позиционировать псевдочекбокс относительно label */
  padding: 0 0 0 0px; /* оставляем слева от label место под псевдочекбокс */
}

.squaredTwo:not(checked) + label:before {
  content: '';
  position: absolute;
  top: -4px;
  left: 0;
  width: 44px;
  height: 20px;
  border-radius: 13px;
  background: #CDD1DA;
  box-shadow: inset 0 2px 3px rgba(0,0,0,.2);
}
.squaredTwo:not(checked) + label:after {
  content: '';
  position: absolute;
  top: -2px;
  left: 2px;
  width: 16px;
  height: 16px;
  border-radius: 10px;
  background: #FFF;
  box-shadow: 0 2px 5px rgba(0,0,0,.3);
  transition: all .2s; /* анимация, чтобы чекбокс переключался плавно */
}
/* Меняем фон чекбокса, когда он включен. */
#egap:checked + label:before {
  background: #8A2BE2;
  opacity: 1;
}
#ulead:checked + label:before {
  background: #329932;
  opacity: 1;
}
#giz:checked + label:before {
  background: #ff3232;
  opacity: 1;
}
#euproject:checked + label:before {
  background: #fbff01;
  opacity: 1;
}
#rest:checked + label:before {
  background: #ffb732;
  opacity: 1;
}
#undp:checked + label:before {
  background: #3232ff;
  opacity: 1;
}
#priorOtg:checked + label:before {
  background: #fffdba;
  opacity: 1;
}
#subvention:checked + label:before {
  background: #4fff19;
  opacity: 1;
}
#dfrr:checked + label:before {
  background: #3df5ff;
  opacity: 1;
}
#ui:checked + label:before {
  background: #663300;
  opacity: 1;
}

/* Сдвигаем переключатель чекбокса, когда он включен. */
.squaredTwo:checked + label:after {
  left: 26px;
}
/* Показываем получение фокуса. */
.squaredTwo:focus + label:before {
  box-shadow: 0 0 0 3px rgba(255,255,0,.5);
}
div.image {
  position: absolute;
  content:url(logoblock.png);
  height: 50px;
  z-index: 1000;
  bottom: 0px;
  left: 25%;
  background: white; background: rgba(255,255,255,0.8); 
  box-shadow: 0 0 15px rgba(0,0,0,0.2);/* border-radius: 5px;*/
}