.serp-list .endemic {
  margin-bottom: 14px;
}
.serp-list .endemic a:hover .age {
  color: #3972B7;
}

.endemic a {
  overflow: hidden;
}
.endemic .primary-content {
  padding-bottom: 7px;
}
.endemic .primary-content,
.endemic .primary-content .dark-grey {
  color: #3972B7;
}
.endemic .sponsor {
  font-size: 12px;
  margin-bottom: 3.5px;
}
.endemic .secondary-content {
  clear: both;
  background-color: #5C9FF0;
  color: #fff;
  padding: 6px 0 0 7px;
  height: 31.5px;
  -webkit-border-radius: 0 0 2px 2px;
  -moz-border-radius: 0 0 2px 2px;
  -ms-border-radius: 0 0 2px 2px;
  -o-border-radius: 0 0 2px 2px;
  border-radius: 0 0 2px 2px;
  bottom: 1px;
  left: 1px;
}
.endemic .secondary-content p {
  font-size: 14px;
  text-align: center;
  margin-top: 1.75px;
}
.endemic .secondary-content .icons {
  position: absolute;
}
.endemic .secondary-content .icons img {
  margin: 0 7px 0 0;
}
.endemic .secondary-content .icons .endemic-email-icon {
  position: relative;
  top: 3.5px;
}
.endemic .more-link-wrapper {
  bottom: 0;
  right: 0;
}
.endemic .more-link-wrapper .more-link {
  border-color: transparent transparent transparent;
}
.endemic .more-link-wrapper .search-icon {
  background-position: -62px -262px;
  top: 23px;
  left: 22px;
}
.endemic .more-link-wrapper:before {
  display: none;
}

.grid-list-2 .endemic img {
  width: auto;
}

.detail .endemic-people a {
  color: #607afc;
  position: relative;
  border-style: solid;
  border-color: #607afc;
  border-width: 1px 1px 3px 1px;
}
.detail .endemic-people .caret-wrapper {
  display: block;
  width: 41px;
  height: 35px;
  background: #607afc;
  position: absolute;
  right: 0;
  top: 0;
}
.detail .endemic-people .caret {
  border-left: 4px solid #fff;
}

.inline-endemic a {
  color: #607afc;
  font-size: 14px;
}

.inline-endemic.centered {
  text-align: center;
  margin-top: -39px;
  margin-bottom: 30px;
}

.endemic-wrapper, .endemic-block {
  border-style: dotted;
  border-color: #ccc;
}

.endemic-wrapper {
  border-width: 3px 0 0 0;
  padding-top: 14px;
  margin-top: 7px;
}

.detail .endemic-wrapper {
  margin-top: 14px;
}

.endemic-block {
  font-size: 12px;
  border-width: 0 0 3px 0;
}
.endemic-block .title {
  font-size: 15.75px;
  font-weight: 500;
  margin-bottom: 0;
}
.endemic-block li {
  border-bottom: 1px solid #ddd;
  padding-bottom: 3.5px;
  margin-bottom: 3.5px;
}
.endemic-block li.no-border {
  border: none;
}
.endemic-block li:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}
.endemic-block span {
  width: 50%;
  float: left;
}
.endemic-block .name {
  width: 70%;
  font-size: 14px;
}
.endemic-block .unstyled {
  margin-top: 7px;
}
.endemic-block .location {
  width: 30%;
}
.endemic-block .location, .endemic-block .more-link {
  text-align: right;
}
.endemic-block .more-link {
  float: right;
}
.endemic-block a {
  text-decoration: none;
}
.endemic-block .record, .endemic-block .more-link {
  color: #3972B7;
  text-decoration: underline;
}

.endemic-block :last-child {
  border-bottom: 0;
}

.endemic-block.stacked-table,
.endemic-block.col-5 {
  font-size: 14px;
}

.endemic-block.stacked-table .table-head,
.endemic-block.col-5 .table-head {
  display: none;
}

.endemic-block.stacked-table .results,
.endemic-block.col-5 .results {
  margin-top: 7px;
  padding-top: 7px;
  border-top: 1px solid #ccc;
  position: relative;
}

.endemic-block.stacked-table li,
.endemic-block.col-5 li {
  margin-bottom: 0;
}

.endemic-block.stacked-table .results strong {
  display: none;
}

.endemic-block.stacked-table .btn-wrapper {
  float: right;
  margin-top: -56px;
}

.endemic-block.stacked-table .btn-wrapper .btn {
  padding: 3px 7px;
}

.endemic-block.col-5 .results strong {
  width: 120px;
}

.endemic-block.stacked-table span.divider,
.endemic-block.col-5 span.divider {
  padding: 0 7px;
}

.endemic-block.stacked-table span,
.endemic-block.col-5 span {
  float: none;
  width: auto;
}

.endemic-block.stacked-table .btn,
.endemic-block.stacked-table .btn:last-child {
  margin-top: 7px;
  color: #fff;
  background-color: #5C9FF0;
  border-color: #3D74BA;
  border-bottom: 1px solid #3D74BA;
}

.endemic-block.stacked-table .btn-wrapper,
.endemic-block.col-5 .cta {
  margin-left: 122px;
}

.endemic-block.col-5 img {
  margin-right: 7px;
}

.detail .endemic-block {
  clear: both;
}
.detail .endemic-block .title {
  margin-right: 14px;
}
.detail .endemic-block .name {
  font-size: 14px;
  padding: 0;
}

.detail .endemic-block.search li {
  border: none;
}
.detail .endemic-block.search li a {
  color: #607afc;
  text-decoration: underline;
}

/* 3 column endemic block */

.endemic-block.col-3 .name {
  width: 100%;
}

.endemic-block.col-3 .underline {
  text-decoration: underline; 
  color: #3972B7;
}

.endemic-block.col-3  span {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

/* Endemic search panel */

.detail .endemic-block.search-panel .title {
  margin-bottom: 0;
  float: none;
}

.detail .endemic-block.search-panel .subtitle {
  margin-top: -3.5px;
  font-size: 14px;
}

.detail .endemic-block.search-panel .primary-content {
  margin-left: 0;
  padding: 7px 0 3.5px;
  list-style: none;
}

.detail .endemic-block.search-panel .primary-content li,
.detail .endemic-block.search-panel .secondary-content li {
  border: none;
  font-size: 14px;
}

.detail .endemic-block.search-panel .primary-content li {
  width: 49%;
  list-style: none;
  list-style-type: none;
  margin-left: 0;
}

.detail .endemic-block.search-panel li a {
  color: #607afc;
  text-decoration: underline;
  display: inline;
}

.detail .endemic-block.search-panel .secondary-content {
  margin-bottom: 14px;
}

.detail .endemic-block.search-panel .secondary-content span {
  display: inline;
  float: none;
}

@media (min-width: 600px) {

  .endemic .primary-content {
    padding-bottom: 0;
  }

  .endemic-block {
    font-size: 14px;
  }

  .endemic-block span {
    width: 25%;
    min-height: 1px;
    *height: 20px;
  }

  .endemic-block .name {
    width: 40%;
  }

  .endemic-block .location {
    width: 10%;
  }

  .endemic-block .record {
    text-align: right;
  }

  .endemic-block .record, .endemic-block .more-link {
    color: #607afc;
    text-decoration: underline;
  }

  .detail .endemic-block .title {
    float: left;
  }

  .detail .endemic-block.search {
    font-size: 14px;
  }

  .detail .endemic-block.search .title {
    margin-bottom: 14px;
  }

  .detail .endemic-block.search .unstyled {
    clear: both;
  }

  .endemic-block.stacked-table .table-head, .endemic-block.stacked-table .results,
  .endemic-block.col-5 .table-head,
  .endemic-block.col-5 .results {
    display: block;
    margin-bottom: 0;
  }

  .endemic-block.stacked-table .table-head li, .endemic-block.stacked-table .results li,
  .endemic-block.col-5 .table-head li,
  .endemic-block.col-5 .results li {
    display: block;
    float: left;
  }

  .endemic-block.stacked-table .results,
  .endemic-block.col-5 .results {
    clear: both;
    margin-bottom: 7px;
    padding-top: 10.5px;
    padding-bottom: 1.75px;
  }

  .endemic-block.stacked-table .result-contact .home,
  .endemic-block.stacked-table .results strong,
  .endemic-block.col-5 .result-contact .home,
  .endemic-block.col-5 .results strong {
    display: none;
  }

  .endemic-block.stacked-table .view-more {
    position: relative;
    top: -10px;
  }

  .endemic-block.stacked-table .table-head li, .endemic-block.stacked-table .results li {
    width: 24%;
    margin-right: 1%;
  }

  .endemic-block.stacked-table .table-head .btn-wrapper, .endemic-block.stacked-table .results .btn-wrapper {
    width: 25%;
    position: absolute;
    right: 0;
    top: 10.5px;
    margin-right: 0;
  }
  
  .endemic-block.stacked-table .btn-wrapper {
    margin-top: 0;
  }

  .endemic-block.stacked-table .table-head .btn, .endemic-block.stacked-table .table-head .btn:last-child, .endemic-block.stacked-table .results .btn, .endemic-block.stacked-table .results .btn:last-child {
    margin-left: 0;
    width: 100%;
    margin-top: -3.5px;
  }

  .endemic-block.col-5 .table-head li, .endemic-block.col-5 .results li {
    width: 20%;
  }

  .endemic-block.col-5 .table-head li.result-name, .endemic-block.col-5 .table-head li.title-name, .endemic-block.col-5 .results li.result-name, .endemic-block.col-5 .results li.title-name {
    width: 30%;
  }

  .endemic-block.col-5 .table-head li.cta, .endemic-block.col-5 .results li.cta {
    margin-left: 0;
    float: right;
    text-align: right;
  }

  .endemic-block.col-5 .table-head li.result-age,
  .endemic-block.col-5 .table-head li.title-age, .endemic-block.col-5 .results li.result-age,
  .endemic-block.col-5 .results li.title-age {
    width: 5%;
    margin-right: 5%;
    text-align: center;
  }
  
  /* 3-col panel */
  
  .endemic-block.col-3 span {
    width: 27%;
    margin-right: 2%;
    position: relative;
    top: 20px;
  }

  .endemic-block.col-3 span.pull-right {
    float: right;
    margin-right: 0;
  }

  .endemic-block.col-3 .name, 
  .endemic-block.col-3 .name span{
    position: static;
    top: 0;
  }

  .endemic-block.col-3 .name {
    width: 38%;
  }
     
  .endemic-block.col-3 .name span {
    width: 100%;
  }
  
  /* Endemic Search Panel */
  .detail .endemic-block.search-panel .primary-content li {
    width: 45%;
    margin-left: 17.5px;
    list-style: disc;
  }
}

@media (min-width: 768px) {

  .endemic-block.stacked-table .table-head,
  .endemic-block.col-5 .table-head {
    display: none;
  }


  .endemic-block.stacked-table .results,
  .endemic-block.col-5 .results {
    padding-top: 10.5px;
    position: relative;
    padding-bottom: 3.5px;
  }


  .endemic-block.stacked-table .results li,
  .endemic-block.col-5 .results li {
    float: none;
    width: 75%;
  }


  .endemic-block.stacked-table .results strong,
  .endemic-block.col-5 .results strong {
    display: inline-block;
    vertical-align: baseline;
    zoom: 1;
    *display: inline;
    *vertical-align: auto;
    width: 30%;
  }


  .endemic-block.stacked-table .view-more {
    top: 0;
  }

  .endemic-block.stacked-table .results .btn-wrapper {
    width: 35%;
    position: absolute;
    top: 35px;
    right: 0;
  }


  .endemic-block.col-5 .results li.result-name,
  .endemic-block.col-5 .results li.title-name {
    width: 75%;
  }

  .endemic-block.col-5 .results li.title-age,
  .endemic-block.col-5 .results li.result-age {
    text-align: left;
    width: 75%;
  }

  .endemic-block.col-5 .results .cta {
    position: absolute;
    top: 10.5px;
    right: 0;
  }
}
@media (min-width: 976px) {

  .endemic-block.stacked-table .result-contact .home,
  .endemic-block.stacked-table .results strong,
  .endemic-block.col-5 .result-contact .home,
  .endemic-block.col-5 .results strong {
    display: none;
  }

  .endemic-block.stacked-table .table-head, .endemic-block.stacked-table .results,
  .endemic-block.col-5 .table-head,
  .endemic-block.col-5 .results {
    display: block;
  }

  .endemic-block.stacked-table .table-head li, .endemic-block.stacked-table .results li,
  .endemic-block.col-5 .table-head li,
  .endemic-block.col-5 .results li {
    float: left;
  }

  .endemic-block.stacked-table .view-more {
    top: -10px;
  }

  .endemic-block.stacked-table .table-head li, .endemic-block.stacked-table .results li {
    width: 25%;
  }

  .endemic-block.stacked-table .table-head .btn-wrapper, .endemic-block.stacked-table .results .btn-wrapper {
    width: 25%;
    top: 12px;
  }


  .endemic-block.col-5 .table-head li, .endemic-block.col-5 .results li {
    width: 21%;
  }

  .endemic-block.col-5 .table-head li.result-name, .endemic-block.col-5 .table-head li.title-name, .endemic-block.col-5 .results li.result-name, .endemic-block.col-5 .results li.title-name {
    width: 30%;
  }

  .endemic-block.col-5 .table-head li.cta, .endemic-block.col-5 .results li.cta {
    margin-left: 0;
    float: right;
    text-align: right;
  }

  .endemic-block.col-5 .table-head li.result-age,
  .endemic-block.col-5 .table-head li.title-age, .endemic-block.col-5 .results li.result-age,
  .endemic-block.col-5 .results li.title-age {
    width: 5%;
    margin-right: 10%;
    text-align: center;
  }
}