.professionals-map-canvas {
  min-height: 772px;
  background-color: #d7ecf2;
}

.professionals-map-card .is-hidden {
  display: none;
}

.professionals-map-window {
  height: 772px;
  min-height: 772px;
  overflow: hidden;
}

.professionals-map-card.results-map-card--schedule {
  position: absolute;
  top: 16px;
  bottom: auto;
  left: 16px;
  display: flex;
  width: 328px;
  max-width: calc(100% - 32px);
  max-height: calc(100% - 32px);
  height: auto;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 8px;
  box-sizing: border-box;
  overflow-y: auto;
  padding: 8px 8px 16px;
  background-color: #fff;
  border: 1px solid #ccc;
  font-family: "Mulish", Arial, sans-serif;
  transform: none;
}

.professionals-map-card__photo-link {
  display: block;
  width: 100%;
  height: 140px;
  flex: 0 0 140px;
  overflow: hidden;
}

.professionals-map-card__photo-link > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.professionals-map-card__title {
  display: -webkit-box;
  overflow: hidden;
  color: #151515;
  font-size: 14px;
  font-weight: 700;
  line-height: 18px;
  letter-spacing: .28px;
  text-decoration: none;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.professionals-map-card__title > span {
  display: block;
  max-width: 100%;
  overflow: hidden;
}

.professionals-map-card__title:hover,
.professionals-map-card__title:focus {
  color: #151515;
  text-decoration: none;
}

.professionals-map-card__location {
  display: flex;
  width: 100%;
  min-width: 0;
  align-items: center;
  gap: 4px;
  color: #151515;
  font-size: 12px;
  font-weight: 500;
  line-height: 18px;
  letter-spacing: .24px;
}

.professionals-map-card__location img {
  display: block;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  object-fit: contain;
}

.professionals-map-card__location span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.professionals-map-card__status {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.professionals-map-card__badge {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  padding: 2px 4px;
  background: #fff86a;
  color: #151515;
  font-size: 12px;
  font-weight: 700;
  line-height: 18px;
  letter-spacing: .24px;
}

.professionals-map-card__badge--open {
  background: #c9f76e;
}

.professionals-map-card__toggle {
  display: inline-flex;
  min-width: 0;
  flex: 0 1 auto;
  align-items: center;
  gap: 4px;
  padding: 0;
  background: transparent;
  border: 0;
  color: #151515;
  font-size: 10px;
  font-weight: 500;
  line-height: 14px;
  letter-spacing: .2px;
  cursor: pointer;
}

.professionals-map-card__toggle span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.professionals-map-card__toggle i {
  display: block;
  width: 0;
  height: 0;
  flex: 0 0 auto;
  border-right: 4px solid transparent;
  border-bottom: 0;
  border-left: 4px solid transparent;
  border-top: 5px solid #151515;
}

.professionals-map-card__toggle[aria-expanded="true"] i {
  border-top: 0;
  border-bottom: 5px solid #151515;
}

.professionals-map-card__worktime {
  display: flex;
  width: 100%;
  flex-direction: column;
  gap: 8px;
  color: #151515;
}

.professionals-map-card.is-worktime-collapsed .professionals-map-card__worktime {
  display: none;
}

.professionals-map-card .schedule-container {
  display: flex;
  width: 100%;
  flex-direction: column;
  gap: 0;
  margin-bottom: 0;
}

.professionals-map-card .schedule-left,
.professionals-map-card .schedule-right {
  display: flex;
  width: 100%;
  flex-direction: column;
  gap: 0;
}

.professionals-map-card .schedule-right {
  margin-top: 8px;
}

.professionals-map-card .profile-map-card__worktime-row {
  display: flex;
  width: 100%;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  box-sizing: border-box;
  padding-bottom: 4px;
  border-bottom: 1px solid #e6e6e6;
}

.professionals-map-card .profile-map-card__worktime-row + .profile-map-card__worktime-row {
  margin-top: 8px;
}

.professionals-map-card .profile-map-card__worktime-row span {
  flex: 1 1 auto;
  color: #151515;
  font-size: 10px;
  font-weight: 500;
  line-height: 14px;
  letter-spacing: .2px;
}

.professionals-map-card .profile-map-card__worktime-row strong {
  flex: 0 0 auto;
  color: #151515;
  font-size: 12px;
  font-weight: 700;
  line-height: 18px;
  letter-spacing: .24px;
  white-space: nowrap;
}

.professionals-map-card .profile-map-card__worktime-row--muted {
  opacity: .4;
}

.professionals-map-card__book {
  display: flex;
  width: 100%;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  margin: 8px 0;
  padding: 0 32px;
  background: #151515;
  border: 0;
  color: #c9f76e;
  font-size: 12px;
  font-weight: 700;
  line-height: 18px;
  letter-spacing: .48px;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}

.professionals-map-card__book:hover,
.professionals-map-card__book:focus {
  color: #c9f76e;
  text-decoration: none;
}

.professionals-map-card__nav {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-sizing: border-box;
  padding: 0 16px;
}

.professionals-map-card__nav .schedule-nav-link {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
  color: #000;
  font-size: 12px;
  font-weight: 500;
  line-height: 18px;
  letter-spacing: .24px;
  text-decoration: none;
  white-space: nowrap;
}

.professionals-map-card__nav .schedule-nav-link:hover,
.professionals-map-card__nav .schedule-nav-link:focus {
  color: #000;
  text-decoration: none;
}

.professionals-map-card__nav .schedule-nav-link img {
  display: block;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  object-fit: contain;
}

.professionals-map-card__legacy-fields {
  display: none;
}

@media (max-width: 576px) {
  .professionals-map-window {
    display: flex;
    width: 100%;
    height: auto;
    min-height: 0;
    flex-direction: column;
    overflow: visible;
  }

  .professionals-map-canvas {
    position: relative;
    inset: auto;
    height: 420px;
    min-height: 320px;
    flex: 0 0 420px;
    border-bottom: 1px solid #151515;
  }

  .professionals-map-card.results-map-card--schedule {
    position: relative;
    top: 0;
    right: auto;
    bottom: auto;
    left: 0;
    width: 100%;
    max-width: none;
    max-height: none;
    height: auto;
    overflow: visible;
    transform: none;
  }

  .professionals-map-card__photo-link {
    height: 140px;
    flex-basis: 140px;
  }
}

@media (min-width: 577px) and (max-width: 768px) {
  .professionals-map-card.results-map-card--schedule {
    top: 16px;
    left: 16px;
    width: 328px;
    max-width: calc(100% - 32px);
    max-height: calc(100% - 32px);
  }

  .professionals-map-card__photo-link {
    height: 120px;
    flex-basis: 120px;
  }
}

@media (max-width: 360px) {
  .professionals-map-card__nav {
    gap: 8px;
    padding: 0 8px;
  }

  .professionals-map-card__nav .schedule-nav-link {
    gap: 6px;
  }
}



.professionals-map-card__worktime .schedule-container .s-ditail__item {
    height: auto;
}



@media (max-width: 576px) {
    .professionals-map-card.results-map-card--schedule {
        position: relative;
        top: 0;
        right: auto;
        left: 0;
        width: 100%;
        max-width: none;
        height: auto;
        gap: 8px;
    }

    .home-professionals-map__content .results-map-canvas {
        position: relative;
        height: 470px;
        flex: 0 0 470px;
        border-bottom: 1px solid #151515;
        background-position: center;
    }

       .home-professionals-map__content .results-map-window {
        height: auto;
    }
}
