:root {
  --clinic-locator-brand: #f05c22;
  --clinic-locator-brand-hover: #f05c22;
  --clinic-locator-brand-gradient-start: #f9a74f;
  --clinic-locator-brand-gradient-end: #f05c22;
  --clinic-locator-community-clinic-color: #0077ba;
  --clinic-locator-wellness-center-color: #73b264;
  --clinic-locator-my-clinic-btn-gradient-start: #5cb2ea;
  --clinic-locator-my-clinic-btn-gradient-end: #2083c4;
  --clinic-locator-my-clinic-btn-hover: #0077ba;
  --clinic-locator-my-clinic-link-color: #0077bd;
}

.my-clinic-content,
.clinic-locator-content {
  color: #000;
}

@media (min-width: 981px) {
  .clinic-locator-content {
    display: flex;
  }

  .clinic-locator-content .clinic-locator-sidebar {
    width: 285px;
    margin-right: 60px;
    padding-bottom: 30px;
  }

  .clinic-locator-content .clinic-locator-list {
    flex: 1 1 0;
  }
}

.filter-modal-content .btn-clinic,
.my-clinic-content .btn-clinic,
.clinic-locator-content .btn-clinic {
  -webkit-font-smoothing: antialiased;
  font-family: 'Poppins', Helvetica, Arial, Lucida, sans-serif;
  box-sizing: border-box;
  margin: 0;
  outline: 0;
  vertical-align: baseline;
  text-decoration: none;
  font-weight: 500;
  line-height: 1.7em;
  background-size: cover;
  background: transparent
    linear-gradient(
      180deg,
      var(--clinic-locator-brand-gradient-start) 0%,
      var(--clinic-locator-brand-gradient-end) 100%
    )
    no-repeat 50%;
  border-radius: 5px;
  position: relative;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.15);
  display: inline-block;
  color: #ffffff;
  border-width: 0;
  font-size: 1em;
  padding: 15px 1em;
  max-width: 350px;
}

.filter-modal-content .btn-clinic:hover,
.my-clinic-content .btn-clinic:hover,
.clinic-locator-content .btn-clinic:hover {
  background: var(--clinic-locator-brand-hover);
}

.my-clinic-content .clinic-listings-footer a.btn-clinic {
  width: 100%;
  color: #fff !important;
  text-align: center;
}

button.btn-clinic.btn-apply-filters,
button.btn-clinic.btn-clear-filters {
  width: 100%;
  text-align: center;
  margin: 25px 0 0;
}

@media (min-width: 981px) {
  .my-clinic-content .clinic-listings-footer a.btn-clinic {
    min-width: 50%;
    margin: 0 auto;
  }
}

.clinic-locator-content .btn-use-my-location {
  width: 100%;
  font-size: 16px;
  line-height: 24px;
  margin-bottom: 20px;
}

.filter-modal-content .btn-clear-filters,
.clinic-locator-content .btn-clear-filters,
.btn-show-mobile-filters,
.btn-my-clinic,
.btn-set-as-my-clinic {
  width: 100%;
  border-radius: 5px;
  border: 1px solid var(--clinic-locator-brand);
  color: #000;
  font-size: 16px;
  padding: 7px 10px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.15);
  line-height: 1.7em;
  background-image: linear-gradient(180deg, #fefefe 0%, #e5e5e5 100%);
  max-width: 350px;
}

.btn-show-mobile-filters {
  margin-top: 20px;
  margin-bottom: 30px;
}

.clinic-locator-content .btn-clear-filters {
  display: none;
}

.filter-modal-content .btn-clear-filters:hover,
.clinic-locator-content .btn-clear-filters:hover,
.btn-show-mobile-filters:hover,
.btn-set-as-my-clinic:hover {
  background-image: linear-gradient(180deg, #fefefe 0%, #e5e5e5 100%);
  color: var(--clinic-locator-brand-hover);
}

.btn-my-clinic {
  background-image: linear-gradient(
    180deg,
    var(--clinic-locator-my-clinic-btn-gradient-start) 0%,
    var(--clinic-locator-my-clinic-btn-gradient-end) 100%
  );
  color: #fff;
  border-color: transparent;
}

.btn-my-clinic:hover {
  background: var(--clinic-locator-my-clinic-btn-hover);
}

@media (min-width: 981px) {
  .btn-show-mobile-filters {
    display: none;
  }

  .clinic-locator-content .btn-clear-filters {
    display: block;
  }

  .clinic-locator-content .btn-set-as-my-clinic {
    display: inline-block;
  }
}

.clinic-locator-listing {
  border-top: 1px solid #cbe2ef;
  padding: 20px 0;
  font-size: 14px;
}

.clinic-locator-content .clinic-listings-footer {
  padding-top: 20px;
}

@media (min-width: 981px) {
  .my-clinic-content .clinic-listings-footer {
    padding: 0 20px 20px 20px;
  }

  .clinic-locator-content .clinic-listings-footer {
    border-top: 1px solid #cbe2ef;
  }
}

.clinic-locator-listing .location-marker {
  display: flex;
  margin-right: 10px;
}

.clinic-locator-listing .location-marker .marker {
  position: relative;
  width: 35px;
  margin-right: 6px;
}

@media (min-width: 981px) {
  .clinic-locator-listing {
    display: flex;
  }

  .clinic-locator-listing .location-marker {
    display: block;
    width: 90px;
    margin-right: 5px;
  }

  .clinic-locator-listing .location-marker .marker {
    position: relative;
    width: 40px;
  }
}

.clinic-locator-listing .location-marker .marker-text {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  font-size: 20px;
  font-weight: bold;
  line-height: 40px;
  text-align: center;
  color: #fff;
}

.clinic-locator-listing .location-distance {
  font-size: 16px;
  font-weight: bold;
  line-height: 40px;
}

.my-clinic-content .location-distance {
  margin-bottom: 5px;
  font-size: 14px;
}

.clinic-locator-listing .location-info {
  flex: 1 1 0;
}

.clinic-locator-listing .location-address-container {
  flex: 1 1 0;
  display: flex;
}

.clinic-locator-listing .location-info .location-address {
  flex: 1 1 0;
  margin-right: 10px;
}

.clinic-locator-listing .location-info .location-name {
  font-size: 20px;
  font-weight: bold;
}

.my-clinic-content .location-info .location-directions,
.clinic-locator-listing .location-info .location-directions {
  /*color: var(--clinic-locator-brand) !important;*/
  font-size: 18px;
}

.clinic-locator-listing .location-brand {
  text-align: right;
  flex-grow: 1;
}

.clinic-locator-listing .location-brand svg {
  height: 38px;
}

.btn-my-clinic path {
  fill: white !important;
}

.clinic-type-icon.type-community-clinic path {
  fill: white !important;
}

.clinic-type-icon.type-wellness-center path {
  fill: white !important;
}

.clinic-locator-listing .location-actions .location-brand {
  display: none;
}

.clinic-locator-listing .location-actions {
  margin-top: 20px;
}

.clinic-locator-content .location-address-container .location-actions {
  display: none;
}

.mobile-btn {
  margin-top: 20px;
}

@media (max-width: 981px) {
  .hide-on-mobile {
    display: none;
  }
}

.hide-on-desktop {
  display: block;
}

@media (min-width: 981px) {
  .hide-on-desktop {
    display: none;
  }

  .clinic-locator-content .location-address-container .location-actions {
    display: block;
  }

  .clinic-locator-listing .location-actions {
    width: 150px;
    text-align: center;
    margin-top: 0px;
  }

  .clinic-locator-listing .location-distance {
    line-height: inherit;
  }

  .clinic-locator-listing .location-actions .location-brand {
    display: block;
    margin-top: 15px;
    text-align: center;
  }

  .clinic-locator-listing .location-actions .location-brand img {
    height: auto;
  }

  .location-marker .location-brand {
    display: none;
  }
}

.clinic-locator-map {
  height: 250px;
  margin: 20px 0;
  display: none;
}

@media (min-width: 981px) {
  .clinic-locator-map {
    display: block;
  }
}

.clinic-locator-dropdown-wrap {
  margin-bottom: 20px;
}

.clinic-locator-dropdown label {
  display: block;
  font-size: 15px;
  color: #000;
  font-weight: bold;
  margin-bottom: 5px;
}

.clinic-locator-dropdown select {
  display: block;
  font-size: 16px;
  color: #000;
  line-height: 1.3;
  padding: 0.8em 1.4em 0.8em 0.8em;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin: 0;
  border: 0;
  border-radius: 5px;
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  background-color: #e7e7e7;
  background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23000000%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E');
  background-repeat: no-repeat, repeat;
  background-position: right 0.7em top 50%, 0 0;
  background-size: 0.65em auto, 100%;
}

.clinic-locator-dropdown select::-ms-expand {
  display: none;
}

.clinic-locator-dropdown select:focus {
  outline: none;
}

.clinic-locator-dropdown select option {
  font-weight: normal;
}

.clinic-listings-count-title {
  font-weight: bold;
  font-size: 18px;
  padding-bottom: 15px;
}

@media (min-width: 981px) {
  .clinic-listings-count-title {
    font-size: 26px;
    margin-bottom: 15px;
  }
}

.clinic-listing-dates {
  margin-top: 20px;
  max-width: 350px;
}

.clinic-upcoming-dates table {
  width: 100%;
}

.my-clinic-block-container .clinic-type,
.clinic-listing-dates .clinic-type {
  background-image: linear-gradient(to bottom, #f3f3f3, #e4e4e4);
  border-top-right-radius: 5px;
  display: flex;
  height: 50px;
  line-height: 50px;
  color: #000;
}
.my-clinic-block-container .clinic-type {
  width: 90%;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
  height: 42px;
  line-height: 42px;
  margin: 10px 0;
}
@media (min-width: 1024px) {
  .my-clinic-block-container .clinic-type {
    width: 85%;
  }
}

.my-clinic-block-container .clinic-type-icon,
.clinic-listing-dates .clinic-type-icon {
  width: 60px;
  text-align: center;
  height: 100%;
  color: #fff;
  border-top-left-radius: 5px;
}
.my-clinic-block-container .clinic-type-icon {
  width: 48px;
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
}

.my-clinic-block-container .clinic-type-icon svg,
.clinic-listing-dates .clinic-type-icon svg {
  vertical-align: text-bottom;
}

.my-clinic-block-container .clinic-type-icon.type-community-clinic,
.clinic-listing-dates .clinic-type-icon.type-community-clinic {
  background: var(--clinic-locator-community-clinic-color);
}

.clinic-listing-dates .clinic-type-icon.type-community-clinic svg {
  width: 37px;
  margin-top: 14px;
}
.my-clinic-block-container .clinic-type-icon.type-community-clinic svg {
  width: 34px;
  margin-top: 6px;
}
.my-clinic-block-container .clinic-type-icon.type-wellness-center,
.clinic-listing-dates .clinic-type-icon.type-wellness-center {
  background: var(--clinic-locator-wellness-center-color);
}

.clinic-listing-dates .clinic-type-icon.type-wellness-center svg {
  margin-top: 6px;
  width: 37px;
}
.my-clinic-block-container .clinic-type-icon.type-wellness-center svg {
  width: 28px;
  margin-top: 6px;
}

.my-clinic-block-container .clinic-type-label,
.clinic-listing-dates .clinic-type-label {
  flex: 1;
  font-weight: bold;
  padding-left: 10px;
  height: 100%;
  font-size: 16px;
  display: flex;
}
.my-clinic-block-container .clinic-type-label {
  font-size: 14px;
}
.clinic-listing-dates .clinic-upcoming-dates {
  border: 1px solid #cbe2ef;
  border-top: 0;
  padding: 10px;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
}

.entry-content .clinic-upcoming-dates table:not(.variations),
#content-area .clinic-upcoming-dates table,
.entry-content .clinic-upcoming-dates table td,
#content-area .clinic-upcoming-dates table td {
  border: 0;
}

.entry-content .clinic-upcoming-dates tr td,
#content-area .clinic-upcoming-dates table tr,
#content-area .clinic-upcoming-dates table td {
  padding: 0;
}

#content-area .clinic-upcoming-dates table td {
  line-height: 1.2em;
  padding-bottom: 11px;
}

.clinic-upcoming-dates table tr.cancelled-clinic td {
  color: #adadad;
  text-decoration: line-through;
}

.clinic-locator-search {
  max-width: 350px;
  position: relative;
  margin-bottom: 20px;
}

.clinic-locator-filters {
  display: none;
}

.filter-modal-content .clinic-locator-filters {
  display: block;
}

@media (min-width: 981px) {
  .clinic-locator-search {
    margin: 0;
  }

  .clinic-locator-filters {
    display: block;
  }
}

.clinic-locator-search .search-icon {
  position: absolute;
  right: 10px;
  top: 16px;
}

/**** MY CLINIC ****/
.clinic-locator-modal-backdrop {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 10;
}

.my-clinic-selector {
  width: 100%;
}

.my-clinic-content {
  padding: 0 30px;
}

@media (min-width: 981px) {
  .my-clinic-content {
    top: 0;
    position: absolute;
    background: #fff;
    z-index: 20;
    width: 100%;
    padding: 3px 10px 10px 10px;
  }

  .my-clinic-search {
    display: flex;
    padding: 15px 25px;
  }
}

.filter-modal-content {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  overflow: scroll;
  position: fixed;
  background: #fff;
  z-index: 100002; /* very high to get in front of the wp admin bar */
  padding: 25px;
}

.filter-modal-header {
  border-bottom: 1px solid #dcedf8;
  padding-bottom: 10px;
  margin-bottom: 10px;
  font-size: 17px;
  font-weight: bold;
  color: #000;
  display: flex;
}

.filter-modal-header-title {
  flex: 1 1 0;
}

.my-clinic-search-box {
  width: 60%;
  margin-right: 20px;
}

.my-clinic-search-distance {
  flex: 1 1 0;
}

.my-clinic-header-link {
  font-size: 14px;
}

.my-clinic-header-link > a {
  display: flex;
  justify-content: left;
  margin-left: 10%;
  color: var(--clinic-locator-my-clinic-link-color);
}

.my-clinic-selector-container.opened .my-clinic-header-link > a {
  margin-left: 0;
}

@media (min-width: 981px) {
  .my-clinic-header-link > a {
    text-align: right;
    justify-content: flex-end;
    margin-left: 0;
  }
}

.my-clinic-header-link-content {
  padding-right: 10px;
  flex: 1 1 0;
  display: flex;
}

@media (min-width: 981px) {
  .my-clinic-header-link-content {
    flex: unset;
  }
}

.my-clinic-header-link .my-clinic-label {
  font-size: 12px;
  display: block;
  padding-top: 2px;
}

.my-clinic-location-text {
  display: flex;
  flex-direction: column;
  margin-right: 10px;
}

@media (max-width: 480px) {
  .my-clinic-location-text {
    line-height: 1;
  }
}

@media (min-width: 481px) {
  .my-clinic-header-link .my-clinic-label {
    display: inline;
    font-size: 100%;
  }

  .my-clinic-location-text {
    display: inline;
  }
}

.my-clinic-location-icon {
  width: 24px;
  height: 24px;
  display: inline-block;
  margin-right: 6px;
  margin-top: 2px;
  vertical-align: sub;
}

.my-clinic-expand-arrow {
  width: 10px;
  padding-top: 5px;
  margin-bottom: -5px;
}
.no-selected-clinic .my-clinic-expand-arrow {
  padding-top: 0;
  margin-bottom: 0;
}
@media (min-width: 481px) {
  .my-clinic-location-icon {
    width: 20px;
    height: 24px;
  }
  .my-clinic-expand-arrow {
    padding-top: 0;
    margin-bottom: 0;
  }
}

.my-clinic-locator-list .clinic-locator-listing {
  margin-top: 5px;
  padding-top: 10px;
  text-align: left;
}

@media (min-width: 981px) {
  .my-clinic-locator-list .clinic-locator-listing {
    padding: 20px;
  }
}

.clinic-locator-search input.clinic-locator-search-input {
  box-sizing: border-box;
  border: 1px solid transparent;
  width: 100%;
  height: 54px;
  padding: 20px 35px 20px 10px;
  border-radius: 5px;
  -webkit-box-shadow: 0px 0px 5px 0px #c1c1c1;
  -moz-box-shadow: 0px 0px 5px 0px #c1c1c1;
  box-shadow: 0px 0px 5px 0px #c1c1c1;
  font-size: 16px;
  outline: none;
  text-align: left;
}

.vip-checkbox {
  display: flex;
  cursor: pointer;
  position: relative;
  font-size: 14px;
}

.vip-checkbox > div {
  /*color: #34495E;*/
  /*padding: 3px 0;*/
  font-weight: bold;
}

.vip-checkbox > input[type='checkbox'] {
  height: 30px;
  width: 30px;
  -webkit-appearance: none;
  -moz-appearance: none;
  -o-appearance: none;
  appearance: none;
  border: 2px solid #757575;
  line-height: 35px;
  outline: none;
  transition-duration: 0.2s;
  cursor: pointer;
  border-radius: 5px;
  margin: 0;
}

.vip-checkbox > input:checked {
  border: 2px solid var(--clinic-locator-brand);
  background-color: var(--clinic-locator-brand);
}

.vip-checkbox > input + svg.vip-checkbox-check {
  display: none;
  width: 20px;
  height: 20px;
  position: absolute;
  left: 5px;
  top: 5px;
  vertical-align: bottom;
}

.vip-checkbox > input:checked + svg.vip-checkbox-check {
  display: inline-block;
}

.vip-checkbox > input:active {
  border: 2px solid #34495e;
}

.clinic-locator-content .btn-clinic.btn-show-more-listings {
  display: block;
  margin: 0 0 30px 0;
  width: 100%;
}

@media (min-width: 981px) {
  .clinic-locator-content .btn-clinic.btn-show-more-listings {
    max-width: 350px;
    margin-left: 95px;
  }
}

.filter-modal-footer {
  margin-top: 20px;
  border-top: 1px solid #dcedf8;
}

.filter-modal-content .filter-modal-footer .btn-clear-filters {
  display: block;
}

.my-clinic-selector-container.mobile.opened .my-clinic-content {
  padding-bottom: 30px;
  padding-left: 10%;
  padding-right: 10%;
}

.clinic-type-info-icon {
  cursor: pointer;
}

.clinic-type-modal-content {
  max-width: 370px;
  position: fixed;
  background: #fff;
  border-radius: 10px;
  box-shadow: 5px 4px 8px 0 rgba(0, 0, 0, 0.15);
  margin: 20px auto;
  z-index: 20;
  padding: 20px 40px 40px 40px;
}

.clinic-type-modal-container {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 100005;
  position: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
}

.clinic-type-modal-content h2 {
  margin: 40px 0 20px 0;
  font-size: 18px;
  line-height: 1.17;

  font-weight: bold;
}
.clinic-type-modal-content h3 {
  font-size: 20px;
}

.clinic-type-modal-content blockquote {
  line-height: 1.3;
  font-weight: 300;
  color: #000;
  font-size: 14px;
}

.clinic-type-modal-content .community-clinic-label {
  color: var(--clinic-locator-community-clinic-color);
  font-weight: bold;
}

.clinic-type-modal-content .wellness-center-label {
  color: var(--clinic-locator-wellness-center-color);
  font-weight: bold;
}

.clinic-type-modal-content hr {
  border: 0;
  height: 1px;
  background-color: #e9f3fa;
}

.clinic-locator-phone-number {
  font-weight: bold;
  color: #000;
}

.my-clinic-block-container {
  background: #fff;
  border-radius: 5px;
  box-shadow: 0 12px 34px 0 rgba(0, 0, 0, 0.13);
  padding: 20px 25px 20px;
  margin: -25px;
}

.my-clinic-block-label {
  display: block;
  font-size: 14px;
  font-weight: bold;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.43;
  letter-spacing: normal;
  color: var(--clinic-locator-brand);
  text-transform: uppercase;
}
.my-clinic-block-container .listing-location-name {
  display: inline-block;
  font-size: 18px;
  font-weight: bold;
  line-height: 1.1;
  margin-top: 8px;
}
.my-clinic-block-container .listing-contact-info {
  font-size: 14px;
  line-height: 1.57;
  letter-spacing: -0.1px;
}

.my-clinic-block-no-results {
  font-size: 14px;
  line-height: 1.57;
  margin-top: 3px;
}

.my-clinic-block-no-location {
  margin-top: 45px;
}
