#permit-map-container {
    width: 100%;
    margin: 0 auto;
}

#permit-map {
    /*height: 0;
  overflow: hidden;
  padding-bottom: 50%;
  padding-top: 30px;
  position: relative;*/
    width: 100%;
    height: 600px;
}

#geocode-address-submit {
    margin-top: -4px;
}

#geocode-address-text {
    width: 50%;
}

#permit-result {
    display: none;
    width: 100%;
    padding: 10px;
    margin: 0 0 20px 0;
    border: 1px solid transparent;
    border-radius: 4px;
    background-color: #d9edf7;
    border-color: #bce8f1;
    color: #31708f;
    text-align: center;
    height: 87px;
}

#permit-result-span {
    font-size: 16px;
    display: table-cell;
    vertical-align: middle;
}

#permit-result-span a {
    margin-top: 5px;
    font-size: 16px;
}

#permit-result-span h2 {
    margin: 0 0 10px 0;
}

#permit-result-span p {
    text-align: left;
    margin-bottom: 5px;
}

#permit-result-span .terms_note {
    color: #ff0000;
}

#permit-result img {
    margin-bottom: 5px;
}

#permit-terms {
    font-size: 18px;
    margin: 10px 0;
}

#permit-legend {
    /*background: rgba(210, 210, 210, 0.9);*/
    margin: 10px 0 20px 0;
    min-width: 300px;
    border: 1px solid #8c8c8c;
    font-family: "Lato", sans-serif;
    padding: 20px;
}

#permit-legend h5 {
    text-align: left;
    margin: 0;
}

.permit-square-limit {
    clear: both;
    margin-top: 10px;
}

.permit-square-regulated-box {
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.3);
    float: left;
    margin: 2px 5px 0 0;
    border: 3px solid #800080;
}

.permit-square-limit-box {
    width: 30px;
    height: 30px;
    background: rgba(255, 132, 0, 0.5);
    float: left;
    margin: 2px 5px 0 0;
}

#permit-legend input[type=checkbox] {
    float: left;
    margin: 1px 5px 0 0;
}

#permit-map .mapboxgl-ctrl-geocoder--input {
    padding: 6px 35px;
}

#geocode-address .mapboxgl-ctrl-geocoder--input {
    padding: 6px 35px;
}

#geocode-address .mapboxgl-ctrl-geocoder {
    width: 50%;
    max-width: 2000px;
}

@media screen and (min-width: 640px) {
    #geocode-address .mapboxgl-ctrl-geocoder {
        width: 70%;
        max-width: 2000px;
    }
}

  #permitQueries table {
    font: 14px/24px "Open Sans", "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", Sans-Serif;
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
  }
  #permitQueries th,
  #permitQueries td {
    padding: 6px 15px;
  }
  #permitQueries th {
    background: #42444e;
    color: #fff;
    text-align: left;
  }
  #permitQueries tr:first-child th:first-child {
    border-top-left-radius: 6px;
  }
  #permitQueries tr:first-child th:last-child {
    border-top-right-radius: 6px;
  }
  #permitQueries td {
    border-right: 1px solid #c6c9cc;
    border-bottom: 1px solid #c6c9cc;
  }
  #permitQueries td:first-child {
    border-left: 1px solid #c6c9cc;
  }
  #permitQueries tr:nth-child(even) td {
    background: #eaeaed;
  }
  #permitQueries tr:last-child td:first-child {
    border-bottom-left-radius: 6px;
  }
  #permitQueries tr:last-child td:last-child {
    border-bottom-right-radius: 6px;
  }