@import url("https://fonts.googleapis.com/css?family=Montserrat:400,500,700&display=swap");

/* Search Form */
div.cmg_mapped_districts_search {
  background-color: #ededed;
  padding: 40px 30px;
  height: 415px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}
div.cmg_mapped_districts_search h2 {
  color: #000;
  font-size: 2.375rem;
  line-height: 1.3;
  font-weight: 400;
}

div.cmg_mapped_districts_search form {
  text-align: center;
}
div.cmg_mapped_districts_search input#cmg_mapped_districts_search {
  display: block;
  width: 100%;
  height: auto;
  padding: 12px;
  margin-bottom: 20px;
  background: url(arrow-right-solid.svg) no-repeat right 15px center #fff;
  background-size: 14px;
  border: 0;
  border-radius: 0;
  transition: border 0.3s;
  border: 2px solid transparent;
}
div.cmg_mapped_districts_search input#cmg_mapped_districts_search::placeholder {
  color: #999;
}
div.cmg_mapped_districts_search input#cmg_mapped_districts_search:focus {
  background: #fff;
  border: 2px solid #ef4937;
}
div.cmg_mapped_districts_search button.cmg_mapped_districts_search_submit {
  padding: 16px 32px;
  background-color: #ef4937;
  border-radius: 0;
  border: 0;
  text-transform: uppercase;
  transition: width 0.3s;
  width: 200px;
  color: #fff;
  font-weight: 900;
}
div.cmg_mapped_districts_search button.cmg_mapped_districts_search_submit:hover,
div.cmg_mapped_districts_search button.cmg_mapped_districts_search_submit:focus {
  width: 100%;
  background-color: #024f6c;
}
/* Search Results */
.cmg_mapped_districts_candidate_group {
  font-family: "Montserrat", sans-serif;
}

.cmg_mapped_districts_candidate_group h3 {
  font-family: "Montserrat", sans-serif;
  text-transform: uppercase;
  text-align: center;
  font-size: 1.375rem;
  font-weight: 500;
  letter-spacing: 0.125rem;
  color: #000;
  padding: 0 0 0 0;
  margin: 0 0 30px 0;
}
.cmg_mapped_districts_role_candidates {
  flex-basis: 100%;
}

.cmg_mapped_districts_candidate_name {
  font-weight: 700;
  font-size: 1.25rem;
  padding-left: 12px;
}
div.cmg_mapped_districts_candidates ul {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  list-style: none;
  padding: 0 16px;
  margin: 0;
}
.cmg_mapped_districts_candidates ul li {
  margin-bottom: 2px;
  color: #000;
  padding-left: 48px;
  padding-right: 30px;
  min-width: 230px;
}
.cmg_mapped_districts_candidates ul li::before {
  content: "";
  background: url(check-solid.svg) no-repeat center left;
  background-size: 20px;
  display: inline-block;
  margin-left: -20px;
  width: 20px;
  height: 20px;
}
.cmg_mapped_districts_candidates .cmg_mapped_districts_candidate_role {
  display: block;
  padding: 0 0 20px 16px;
}
.cmg_mapped_districts_candidate_group .cmg_mapped_districts_candidate_disclaimer {
  font-size: 1rem;
  margin-top: 8px;
  line-height: 1;
  text-align: center;
}

.cmg_mapped_districts_layer_details {
  white-space: pre-wrap;
}

/*WPBakery code*/
.wpb_wrapper .cmg_mapped_districts_candidate_group {
  color: #000;
}
.wpb_wrapper .cmg_mapped_districts_candidate_group:nth-child(2) {
  background: #ededed;
}
/* Additional classes */
.ballot_heade {
  margin-bottom: 60px;
}
.ballot_header h2 {
  font-family: "Montserrat", sans-serif;
  position: relative;
  text-align: center;
  padding-bottom: 38px;
  font-weight: 500;
  color: #000;
}

.ballot_header h2::after {
  content: "";
  position: absolute;
  width: 80px;
  height: 8px;
  background: #ef4937;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
}
.wpb_content_element.box_red_highlight {
  background-color: #ededed;
  padding-bottom: 20px;
  border: 3px solid #000;
  border-top: none;
}
.wpb_content_element.box_red_highlight h2 {
  background-color: #f1093a;
  color: #fff;
  font-size: 1.25rem;
  padding: 10px 0;
  text-transform: uppercase;
  letter-spacing: 2px;
}
.wpb_content_element.box_red_highlight a,
.wpb_content_element.box_red_highlight a:hover,
.wpb_content_element.box_red_highlight a:focus,
.wpb_content_element.box_red_highlight a:active {
  color: #000;
  text-decoration: underline;
}
.box_red_highlight h3 {
  padding: 0 0 0 0;
  font-size: 16px;
  font-weight: bold;
}
.box_red_highlight p {
  margin-bottom: 20px;
}

@media (min-width: 1024px) {
  div.cmg_mapped_districts_candidates ul {
    flex-direction: row;
  }
  div.cmg_mapped_districts_candidates ul {
    justify-content: center;
  }
}
