:root {
    --nb-location-map-popup-5-width: 470px;
    --nb-location-map-popup-5-bg: var(--nb-color-white);

    --nb-location-map-popup-5-location-name-color: var(--nb-text-color-primary);
    --nb-location-map-popup-5-location-name-font-size: var(--nb-font-size-18);
    --nb-location-map-popup-5-location-name-font-weight: var(--nb-font-weight-600);

    --nb-location-map-popup-5-location-short-description-color: var(--nb-text-color-primary);
    --nb-location-map-popup-5-location-short-description-font-size: var(--nb-font-size-14);
    --nb-location-map-popup-5-location-short-description-font-weight: var(--nb-font-weight-400);

    --nb-location-map-popup-5-location-work-time-color: var(--nb-text-color-primary);
    --nb-location-map-popup-5-location-work-time-active-color: var(--nb-color-green);
    --nb-location-map-popup-5-location-work-time-font-size: var(--nb-font-size-12);
    --nb-location-map-popup-5-location-work-time-font-weight: var(--nb-font-weight-400);

    --nb-location-map-popup-5-location-detail-link-color: var(--nb-spec-color);
    --nb-location-map-popup-5-location-detail-link-font-size: var(--nb-font-size-14);
    --nb-location-map-popup-5-location-detail-link-font-weight: var(--nb-font-weight-400);
}

.gm-style-iw-chr {
    display: block;
}

.gm-style-iw-chr .gm-style-iw-ch {
    display: none;
}

.gm-style-iw-chr .gm-ui-hover-effect {
    position: absolute !important;
    top: 0;
    right: 0;
    z-index: 99999;
}

.gm-style .gm-style-iw-c {
    border-radius: var(--nb-modal-border-radius);
}

.nb-location-map-popup-5 {
    background-color: var(--nb-location-map-popup-5-bg);
    position: relative;
    width: var(--nb-location-map-popup-5-width);
    max-width: 100%;
    overflow: hidden;
    padding: 20px;
}

.nb-location-map-popup-5 .nb-logo-name-and-description-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 28px;
}

.nb-location-map-popup-5 .nb-logo-name-and-description-wrapper .nb-inner-wrapper {
    display: flex;
    flex-direction: column;
    align-items: baseline;
    gap: 2px;
}

.nb-location-map-popup-5 .nb-logo-name-and-description-wrapper .nb-inner-wrapper .nb-location-name-2 .custom-text {
    color: var(--nb-location-map-popup-5-location-name-color);
    font-size: var(--nb-location-map-popup-5-location-name-font-size);
    font-weight: var(--nb-location-map-popup-5-location-name-font-weight);
}

.nb-location-map-popup-5 .nb-logo-name-and-description-wrapper .nb-inner-wrapper .nb-location-short-description,
.nb-location-map-popup-5 .nb-logo-name-and-description-wrapper .nb-inner-wrapper .nb-location-short-description > *,
.nb-location-map-popup-5 .nb-logo-name-and-description-wrapper .nb-inner-wrapper .nb-location-short-description > * > * {
    color: var(--nb-location-map-popup-5-location-short-description-color);
    font-size: var(--nb-location-map-popup-5-location-short-description-font-size);
    font-weight: var(--nb-location-map-popup-5-location-short-description-font-weight);
}

.nb-location-map-popup-5 .nb-location-logo .nb-img {
    max-width: 48px;
}

.nb-location-map-popup-5 .nb-location-info-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.nb-location-map-popup-5 .nb-location-working-hours-2 .nb-location-time-wrapper {
    width: 100%;
}

.nb-location-map-popup-5 .nb-location-info-wrapper .nb-location-work-time {
    color: var(--nb-location-map-popup-5-location-work-time-color);
    font-size: var(--nb-location-map-popup-5-location-work-time-font-size);
    font-weight: var(--nb-location-map-popup-5-location-work-time-font-weight);
}

.nb-location-map-popup-5 .nb-location-info-wrapper .nb-location-work-time.active {
    color: var(--nb-location-map-popup-5-location-work-time-active-color);
}

.nb-location-map-popup-5 .nb-location-working-hours-2 .nb-icon {
    display: none;
}

.nb-location-map-popup-5 .nb-info-box-4 .custom-text {
    text-align: left;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: var(--nb-rows);
    -webkit-box-orient: vertical;
    font-weight: var(--nb-paragraph-font-weight);
    line-height: var(--nb-paragraph-line-height);
    --nb-rows: 1;
}

.nb-location-map-popup-5 > .nb-location-detail-link {
    margin-top: 8px;
    display: block;
    color: var(--nb-location-map-popup-5-location-detail-link-color);
    font-size: var(--nb-location-map-popup-5-location-detail-link-font-size);
    font-weight: var(--nb-location-map-popup-5-location-detail-link-font-weight);
    text-align: center;
}

@media screen and (max-width: 576px) {
    .nb-location-map-popup-5 {
        padding: 20px 0;
    }

    .nb-location-map-popup-5 .nb-logo-name-and-description-wrapper {
        align-items: flex-start;
        margin-bottom: 16px;
    }

    .nb-location-map-popup-5 .nb-location-info-wrapper {
        gap: 10px;
    }

    .nb-location-map-popup-5 .row > *:first-of-type {
        margin-top: 16px;
    }

    .nb-location-map-popup-5 .row > *:last-of-type {
        margin-top: 12px;
    }

    .nb-location-map-popup-5 > .nb-location-detail-link {
        margin-top: 5px;
    }
}

@media screen and (max-width: 425px) {
    .gm-style-iw.gm-style-iw-c {
        max-width: 340px !important;
    }
}