/*image-map*/
.imageMap__wrapper {
    width: 100%;
    position: relative;
}

.imageMap__wrapper img {
    width: 100%;
}

.imageMap__x-icon {
    width: 48px !important;
}

.imageMap__container .btn:active {
    border-color: transparent;
}

.imageMap__x-icon-button {
    max-height: 54px;
    padding-bottom: 7px !important;
    margin-top: -8px !important;
}

.imageMap__wrapper > a {
    display: block;
    width: 30px;
    height: 30px;
    border: 4px solid var(--primary-color);
    background-color: var(--white-color);
    border-radius: 50%;
    position: absolute;
    box-sizing: border-box;
}

.imageMap__modal-content.two-columns {
    display: grid;
    grid-template-columns: 245px auto;
    align-items: start;
}

.imageMap__modal-content {
    border-radius: 0 !important;
    min-width: 729px;
    padding: 36px;
    gap: 45px;
}

.imageMap__text-wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.imageMap__image-wrapper {
    display: block;
    width: 245px;
}

.imageMap__image-wrapper img {
    width: 248px;
    height: 385px;
    object-fit: cover;
}

.imageMap__modal-content div h5 {
    font-weight: var(--font-bold);
    font-size: 36px;
    line-height: 42px;
    margin-bottom: 0;
}

.imageMap__modal-subtitle {
    font-weight: var(--font-light);
    font-size: 23px;
    line-height: 36px;
    padding-bottom: 13px;
}

.imageMap__modal-description {
    font-weight: var(--font-regular);
    font-size: 20px;
    line-height: 27px;
    padding-bottom: 13px;
}

.image-map-area.active {
    background-color: var(--primary-color);
}

.imageMap__modal {
    --bs-modal-width: 729px !important;
}

@media screen and (max-width: 768px) {
    .imageMap__wrapper > a {
        width: 22px;
        height: 22px;
    }
    .imageMap__modal {
        --bs-modal-width: 500px !important;
    }

    .imageMap__container {
        padding: 10% 0;
    }

    .imageMap__wrapper {
        gap: 3%;
    }

    .imageMap__modal-content {
        min-width: auto;
        grid-template-columns: 1fr !important;
    }

    .imageMap__modal-content div h5 {
        font-size: 24px;
        line-height: 24px;
        margin-top: 8px;
    }

    .imageMap__modal-subtitle {
        font-size: 18px;
        line-height: 24px;
        margin-top: -6px;
    }

    .imageMap__modal-description {
        font-size: 16px;
        line-height: 22px;
    }

    .imageMap__modal-content {
        flex-direction: column-reverse;
    }

    .imageMap__text-wrapper {
        min-height: auto;
    }

    .imageMap__image-wrapper img {
        width: 100%;
        height: auto;
    }

    .imageMap__image-wrapper {
        width: 100%;
    }

    .imageMap__text-wrapper {
        max-width: 100%;
    }
}