.pac-item {
    padding: 8px 10px !important;
    line-height: 36px !important;
}
.map-legend {
    padding: 20px 0 0 0;
}
.map-legend-float {
    float: left;
    line-height: 30px;
    margin: 0 20px 20px 0;
}
.map-legend-float span {
    display: block;
    float: left;
    line-height: 26px;
    width: 75px;
}
.map-legend-color {
    float: left;
    display: block;
    height: 24px;
    width: 24px;
    padding: 0;
    margin: 0 4px 0 0;
}
.map-legend-color.d1 {
    background-color: #8db7bf;
}
.map-legend-color.d2 {
    background-color: #efc0a8;
}
.map-legend-color.d3 {
    background-color: #a8d7db;
}
.map-legend-color.d4 {
    background-color: #cdbbe1;
}
.map-legend-color.d5 {
    background-color: #a8c4ae;
}
.map-legend-color.d6 {
    background-color: #a5a9ae;
}
.map-legend-color.d7 {
    background-color: #8db4d0;
}
.map-legend-color.d8 {
    background-color: #8d99a0;
}
.map-legend-color.d9 {
    background-color: #b6c3cb;
}
.map-legend-color.d10 {
    background-color: #c99eba;
}
.map-legend-color.d11 {
    background-color: #dcdca0;
}
#map {
  height: 100%;
}
#mapwrapper {
  height: 600px;
  width: 100%;
}
.address-lookup {
  width: 100%;
  max-width: 550px;
  padding: 20px;
  font-size: 20px;
  border: 1px solid #dcdcdc;
  color: #1a335f;
}
.search-button {
    width: 200px;
    margin-top: 10px;
    font-size: 24px;
}
#messages {
    color: #1a335f;
    font-weight: bold;
}
.precall-form {
    /*display: none;*/
    margin-top: 20px;
}
.precall-form #gform_submit_button_1 {
    background-image: linear-gradient(to top,#21a518,#20d13e) !important;
    background: #21a518 !important;
}
#district_name {
    background: #d6e7ee;
    padding: 0 20px 20px 20px;
    margin: 0;
    display: none;
}
#district_name .dname {
    font-weight: bold !important;
}
#candidate_info img {
    max-width: 150px;
    margin: 0 20px 0 0;
    float: left;
}
#candidate_info h2 {
    margin-bottom: 20px;
}
.inline {
    display: inline !important;
}
/* the address boxes are simply hidden */
.user-address {
    display: none !important;
}
.button-address-custom {
    background: #386b2f;
    color: white;
}
.address-found, .address-found:hover {
    background: #c7cac7 !important
}
.tname.active {
    font-size: 24px;
    color: #1a335f;
}
.tname.inactive {
    color: #18b70d;
    font-size: 16px;
    font-weight: bold;
}
.answer-table tr td {
    padding: 10px;
}
.answer-table tr td small {
    font-size: 14px !important;
}
#precall-photo {
    display: none;
}
.fusion-imageframe img {
    width: auto;
}

@media screen and (max-width: 667px) {
    #mapwrapper {
      height: 400px !important;
    }
    .address-lookup {
        font-size: 15px;
        padding: 14px 10px;
    }
    .address-lookup::placeholder {
        font-size: 15px;
    }
    #district_name .dname {
        font-size: 26px !important;
    }
    #candidate_info img {
        max-width: 100px;
    }
    #candidate_info h3 span {
        display: block;
    }
    .search-button.fusion-button {
        width: 100%;
    }
    .signature-count-table tr td, .answer-table tr td {
        font-size: 16px;
    }
    .tname {
        font-size: 16px;
    }
}