.hmsrf-wrap{max-width:1120px;margin:0 auto;padding:0 0 30px;font-family:inherit;color:#232323}
.hmsrf-search-panel{max-width:640px;margin:0 0 26px;padding:0}
.hmsrf-search-panel__inner{padding:18px 18px 30px 0px}
p.hmsrf-lead-label {font-weight: bold;}
.hmsrf-label,.hmsrf-browse__label,.hmsrf-results__label{font-size:16px; font-style: italic; margin:0 0 14px}
.hmsrf-tabs{display:flex;gap:0;align-items:flex-end;margin-bottom:0}
.hmsrf-tab{appearance:none;border:0;background:transparent;color:#153f8a;padding:12px 22px;cursor:pointer;font-size:18px;text-decoration:underline;text-underline-offset:3px}
.hmsrf-tab.is-active{background:#003369;color:#fff;text-decoration:none}
.hmsrf-form{background:#0b3f95;padding:22px}
.hmsrf-input-wrap{display:flex;align-items:stretch;max-width:430px}
.hmsrf-input-wrap input{flex:1;min-height:44px;border:0;padding:0 14px;font-size:15px;border-radius:0}
.hmsrf-input-wrap button{width:44px;border:0;background:#000;color:#fff;font-size:19px;cursor:pointer; border: 1px solid #fff;}
.hmsrf-results{margin:0 0 26px; padding: 0 0 24px;}
.hmsrf-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;padding-top: 10px;}
.hmsrf-card{display:grid;grid-template-columns:minmax(0,1fr) 155px;gap:18px;align-items:end;border:3px solid #d7d7d7;padding:26px;min-height:230px}
.hmsrf-card h3{margin:0 0 14px;font-size:20px;line-height:1.2;color:#232323}
.hmsrf-card p{margin:0 0 6px;font-size:16px}
.hmsrf-email{margin-top:16px !important}
.hmsrf-email a{color:#232323;text-decoration:underline;font-weight:600}
.hmsrf-card__image-wrap{display:flex;align-items:flex-end;justify-content:flex-end;height:100%}
.hmsrf-card__image{max-width:100%;height:auto;display:block}
.hmsrf-no-results{padding:18px 20px;background:#fff;border:1px solid #ddd}
.hmsrf-browse {margin-top: 100px;}
.hmsrf-accordion__item{margin:0 0 8px;border:0;background:#b9cde9}
.hmsrf-accordion__item summary{list-style:none;display:flex;align-items:center;justify-content:space-between;padding:18px 18px;cursor:pointer;font-size:18px;font-weight:700;color:#1a1a1a}
.hmsrf-accordion__item summary::-webkit-details-marker{display:none}
.hmsrf-plus{font-size:34px;line-height:1;font-weight:400}
.hmsrf-accordion__body{padding: 18px 5px 18px; background-color: #fff !important;}
.hmsrf-accordion__body .hmsrf-card-grid{padding:0 18px 6px}
.hmsrf-card-grid .hmsrf-card {border: none;}
.hmsrf-card-grid .hmsrf-card .hmsrf-card__image {border: 1px solid #ddd;}
.hmsrf-accordion__item[open] .hmsrf-plus {font-size: 0;}
.hmsrf-accordion__item[open] .hmsrf-plus::before {content: "-"; font-size: 34px; line-height: 1; font-weight: 400;}

#find-rep-search {
  background: linear-gradient(to bottom, #dedfe4 0%, #dedfe4 23%, #ffffff 23%, #ffffff 100%);
  padding: 28px 0 40px;
}

#find-rep-search .hmsrf-wrap,
#find-rep-search.hmsrf-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* top hero layout */
.hmsrf-hero {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
}

.hmsrf-hero__left {
  flex: 1 1 auto;
  max-width: 680px;
}

.hmsrf-hero__right {
  flex: 0 0 340px;
  display: flex;
  justify-content: flex-end;
  padding-top: 18px;
}

/* title */
.hmsrf-title {
  margin: 0 0 18px;
  font-size: 23px;
  line-height: 1.1;
  font-weight: bold;
  letter-spacing: 0;
  color: #003369;
}

.hmsrf-subtitle {
  margin: 0;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 400;
  color: #202020;
}

/* help box */
.hmsrf-help-box {
  width: 100%;
  max-width: 360px;
  border: 4px solid #f2f2f2;
  border-radius: 42px;
  padding: 34px 34px 30px;
  background: #ffffff4a;
}

.hmsrf-help-box strong {
  display: block;
  margin-bottom: 12px;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 700;
  color: #111;
}

.hmsrf-help-call {
  font-size: 18px;
  line-height: 1.3;
  color: #111;
}

.hmsrf-help-call a {
  color: #111;
  text-decoration: none;
}

.hmsrf-help-call .hmsrf-phone-icon,
.hmsrf-help-call svg,
.hmsrf-help-call img {
  vertical-align: middle;
}

/* search section */
.hmsrf-search-panel {
  margin-top: 6px;
}

.hmsrf-search-panel__inner {
  max-width: 720px;
}

.hmsrf-label {
  margin: 0 0 16px;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 700;
  font-style: normal;
  color: #111;
}

/* tabs */
.hmsrf-tabs {
  display: flex;
  align-items: flex-end;
  gap: 0;
  margin-bottom: 0;
}

.hmsrf-tab {
  appearance: none;
  border: 0;
  background: transparent;
  color: #113f8d;
  font-size: 18px;
  line-height: 1;
  padding: 0 26px 12px;
  margin: 0;
  cursor: pointer;
  text-decoration: underline;
  box-shadow: none;
}

.hmsrf-tab.is-active {
  background: #143f93;
  color: #fff;
  text-decoration: none;
  padding: 18px 26px 18px;
  min-width: 120px;
}

/* search box wrapper */
.hmsrf-form {
  margin: 0;
}

.hmsrf-input-wrap {
  display: flex;
  align-items: stretch;
  width: 100%;
  max-width: 720px;
  background: #143f93;
  padding: 28px 40px;
  box-sizing: border-box;
}

.hmsrf-input-wrap input[type="text"] {
  flex: 1 1 auto;
  min-width: 0;
  height: 50px;
  border: 2px solid #d7d7d7;
  border-right: 0;
  border-radius: 0;
  background: #fff;
  color: #222;
  font-size: 18px;
  padding: 0 14px;
  box-shadow: none;
}

.hmsrf-input-wrap input[type="text"]::placeholder {
  color: #7a7a7a;
  opacity: 1;
}

.hmsrf-input-wrap button {
  flex: 0 0 52px;
  width: 52px;
  height: 50px;
  border: 2px solid #d7d7d7;
  border-left: 0;
  border-radius: 0;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  box-shadow: none;
}

.hmsrf-input-wrap button img {
  width: 22px;
  height: 22px;
  display: block;
}

/* result spacing below search */
.hmsrf-results {
  margin-top: 42px;
}

/* mobile */
@media (max-width: 900px) {
  #find-rep-search {
    background: linear-gradient(to bottom, #dedfe4 0%, #dedfe4 46%, #ffffff 46%, #ffffff 100%);
  }

  .hmsrf-hero {
    flex-direction: column;
    gap: 24px;
    margin-bottom: 28px;
  }

  .hmsrf-hero__right {
    flex: 0 0 auto;
    width: 100%;
    max-width: 100%;
    padding-top: 0;
    justify-content: flex-start;
  }

  .hmsrf-help-box {
    max-width: 100%;
    border-radius: 28px;
    padding: 24px;
  }

  .hmsrf-title {
    font-size: 28px;
    margin-bottom: 12px;
  }

  .hmsrf-subtitle {
    font-size: 18px;
  }

  .hmsrf-search-panel__inner,
  .hmsrf-input-wrap {
    max-width: 100%;
  }

  .hmsrf-tab {
    font-size: 18px;
    padding: 0 18px 10px;
  }

  .hmsrf-tab.is-active {
    min-width: 92px;
    padding: 14px 18px;
  }

  .hmsrf-input-wrap {
    padding: 18px;
  }

  .hmsrf-input-wrap input[type="text"] {
    height: 46px;
    font-size: 16px;
  }

  .hmsrf-input-wrap button {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
  }
}

@media (max-width: 900px){
  .hmsrf-card-grid{grid-template-columns:1fr}
}
@media (max-width: 680px){
  .hmsrf-search-panel{border-width:8px}
  .hmsrf-tabs{gap:6px}
  .hmsrf-tab{padding:10px 14px;font-size:16px}
  .hmsrf-form{padding:16px}
  .hmsrf-input-wrap{max-width:none}
  .hmsrf-card{grid-template-columns:1fr;min-height:0}
  .hmsrf-card__image-wrap{justify-content:flex-start}
}
