* {
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
            box-sizing: border-box;
}

#mapa-dos-imoveis {
  display: flex;
  display: -webkit-flex;
  flex-wrap: wrap;
  -webkit-flex-wrap: wrap;
  max-width: 800px;
  width: calc( 100% - 40px );
  margin: 40px auto;
  font-size: 18px;
  z-index: 2;
}

#painel {
  width: 50%;
}

#mapa-wrap {
  position: relative;
  width: 50%;
  padding: 40px;
}

#mapa-heading {
  font-size: 24px;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 40px;
}

#painel p {
  line-height: 27px;
  margin-bottom: 80px;
}

.button {
  background-color: #fff;
  border: none;
  padding: 0;
  padding-bottom: 5px;
  display: block;
  margin-bottom: 20px;
  text-transform: uppercase;
  float: left;
  opacity: .75;
}

.button:hover {
  border-bottom: 2px solid #ccc;
}

.button:focus {
  outline: 0;
}

#button-venda {
  margin-right: 20px;
}

.button-ativo,
.button-ativo {
  opacity: 1;
  font-weight: bold;
  border-bottom: 2px solid #000;
  pointer-events: none;
}

/* select */

#select {
  width: 100%;
  font-size: 18px;
  margin-bottom: 80px;
  text-transform: uppercase;
  border: 2px solid #e5e5e5;
  border-radius: 0;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding: 10px 20px;
  background: url(./caret.png) right center no-repeat;
}

#select:hover {
  cursor: pointer;
  border: 2px solid #ccc;
  background: url(./caret-hover.png) right center no-repeat;
  -webkit-box-shadow: 0px 0px 3px 0px rgba(0,0,0,0.15);
     -moz-box-shadow: 0px 0px 3px 0px rgba(0,0,0,0.15);
          box-shadow: 0px 0px 3px 0px rgba(0,0,0,0.15);
}

#select:focus {
  outline: none;
}

/* tabela */

#tabela-heading {
  font-size: 18px;
  font-weight: bold;
  text-transform: uppercase;
  padding-bottom: 5px;
  border-bottom: 2px solid #000;
  margin-bottom: 40px;
}

.row {
  width: 100%;
  display: flex;
  display: -webkit-flex;
}

.col {
  width: 50%;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 2px solid #ccc;
}

.col-preco,
.col-variacao {
  font-weight: bold;
}

#nota {
  font-size: 14px;
  opacity: .5;
}

.distrito {
  stroke: #ccc;
  fill-opacity: 0;
}

.distrito:hover {
  cursor: pointer;
  fill-opacity: 1;
}

.distrito:active {
  fill-opacity: .75;
}

.fill-blank {
  fill: #f5f5f5;
  background-color: #f5f5f5;
}

.fill-1 {
  fill: #C5E0ED;
  background-color: #C5E0ED;
}

.fill-2 {
  fill: #618FA3;
  background-color: #618FA3;
}

.fill-3 {
  fill: #3B6075;
  background-color: #3B6075;
}

.fill-4 {
  fill: #1B2C3A;
  background-color: #1B2C3A;
}

.ativo {
  stroke: #ccc;
  fill-opacity: 1;
}

/* legenda */

#legenda {
  position: absolute;
  bottom: 0;
  right: 0;
  padding: 40px;
}

@media (max-width: 420px) {
  #legenda {
    padding-right: 0;
  }
}

#legenda li {
  list-style: none;
  margin-bottom: 10px;
  font-size: 14px;
}

#legenda li span {
  width: 12px;
  height: 12px;
  margin-right: 10px;
  display: inline-block;
  float: left;
}

/* transition */

.transition {
  -webkit-transition: all ease .3s;
     -moz-transition: all ease .3s;
       -o-transition: all ease .3s;
          transition: all ease .3s;
}

/* responsivo */

@media (max-width: 900px) {
  #painel {
    width: 100%;
  }
  #mapa-wrap {
    width: 100%;
  }
}
