/* 병원지도 */
.hospital-location {
  position: relative;

  width: 100%;
  height: 350px;

  margin-bottom: 10px;
}

.hospital-location .map-container {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;

  width: 100%;
  height: 100%;
}

.hospital-location .nearby {
  display: block;
  position: absolute;
  bottom: 20px;
  z-index: 100;

  width: 80%;

  margin: 0px 10%;
  padding: 14px 0px;

  border: 1px solid var(--main-color);
  border-radius: 6px;
  background: #fff;

  font-weight: 500;
  font-size: 14px;
  color: var(--main-color);
  text-align: center;
  text-decoration: none !important;
}

.hospital-location .info-overlay {
  min-height: 90px;
  margin: 4px 12px 10px;

  box-sizing: border-box;

  background: #fff;
}

.hospital-location .info-overlay a {
  font-size: 16px;
  font-weight: 700;
  width: 100%;
  padding: 8px 4px;
  color: #121212;
  background: url("https://image.daedamo.com/images/img/renew/i_next_black.svg") no-repeat 100%;
  border-bottom: 1px solid var(--border-color);
  overflow: hidden;
  display: block;
}

.hospital-location .info-overlay.brand .name {
  padding-left: 24px;
  color: var(--main-color);

  background: url("https://image.daedamo.com/images/img/renew/i_trust_d.svg") no-repeat 0 50%;
  background-size: 20px;
}

.hospital-location .info-overlay .description {
  margin: 10px 0;
  display: flex;
  align-items: center;
}

.hospital-location .info-overlay .description .info {
  flex: 1 1;
  padding-right: 5px;
  overflow: hidden;
}

.hospital-location .info-overlay .description .info .fa {
  margin-right: 2px;
  width: 14px;
  color: #121212;
}

.hospital-location .info-overlay .description .info .address {
  width: 100%;
  margin-bottom: 5px;
  color: #777;
  line-height: 1;
  white-space: nowrap;
}

.hospital-location .info-overlay .description .info .telephone {
  font-weight: 700;
}

.hospital-location .info-overlay .description .logo {
  width: 40px;
  height: 40px;
}

.hospital-location .info-overlay .description .logo img {
  width: 100%;
  height: 100%;
}

/* -----------------------------------------------------------
  ------ mobile ------
--------------------------------------------------------------  */
.mobile .hospital-location {
  height: 200px;
}
.mobile .hospital-location .nearby {
  padding: 10px 0px;
}

/* kakao */
.mobile .hospital-location .map-container.kakao .info-overlay {
  max-width: 80vw;
  min-height: 100px;
}
.mobile .hospital-location .map-container.kakao .info-overlay .description .info .address {
  white-space: normal;
}

/* google */
.mobile .hospital-location .map-container.google .info-overlay {
  margin: 0;
}
.mobile .hospital-location .map-container.google .info-overlay a {
  padding: 0 0 7px;
}
.mobile .hospital-location .map-container.google .info-overlay .description {
  padding-bottom: 0;
}
