﻿#mapwrapper {
  /* margin: 0 0 0 15%; */
  flex: 1;
  max-width: 400px;
}

@media screen and (max-width: 768px) {
  #mapwrapper {
    margin: 0 5%;
    min-height: 540px;
  }
}

#mapbase svg {
  max-height: 100%;
  width: 100%;
  margin: 0;
  /* -webkit-filter: drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.2));
filter: drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.2)); */
}

#dejstip {
  font: 14px/16px Trebuchet MS, Helvetica, Arial, sans-serif;
  display: none;
  max-width: 40%;
  padding: 5px;
  border: 1px solid #404040;
  color: #404040;
  z-index: 1000;
  float: left;
  position: absolute;
  background: rgba(265, 265, 265, 0.9);
  word-break: keep-all;
  box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.5);
  -moz-box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.5);
  -webkit-box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.5);
}

#dejstip p {
  margin: 0 !important;
  color: #404040 !important;
}

#dejstip img {
  float: left;
  padding: 3px;
  max-width: 100%;
}

/* @media screen and (max-width: 320px) {
  #mapbase svg {
    height: 140px;
  }
}

@media screen and (max-width: 400px) and (min-width: 321px) {
  #mapbase svg {
    height: 180px;
  }
}

@media screen and (max-width: 480px) and (min-width: 401px) {
  #mapbase svg {
    height: 250px;
  }
}

@media screen and (max-width: 568px) and (min-width: 481px) {
  #mapbase svg {
    height: 290px;
  }
}

@media screen and (max-width: 685px) and (min-width: 569px) {
  #mapbase svg {
    height: 340px;
  }
}

@media screen and (max-width: 767px) and (min-width: 686px) {
  #mapbase svg {
    height: 430px;
  }
}

@media screen and (min-width: 768px) {
  #mapbase svg {
    height: 550px;
  }
} */
/* THIS IS TO HIDE AN AREA IF NEEDED
#dejs2, #dejsvn2 {
  display: none;
}*/