@media (min-width:1440px) {
    .genplan-hint {
        display: none;
    }
}

@media (max-width:1439px) {

    .genplan-viewport {
        position: relative;
        width: 100%;
        height: 80vh;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
    }

    #mapping-img {
        height: 80vh !important;
        width: auto !important;
        max-width: none !important;
        display: block;
    }

    .genplan-viewport {
        position: relative;
    }

    .genplan-viewport {
        position: relative;
    }

    .genplan-viewport {
        position: relative;
    }

    .genplan-box {
        position: relative;
    }

    .genplan-hint {
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(0,0,0,.45);
        z-index: 1000;
        opacity: 1;
        transition: opacity .25s ease;
        pointer-events: auto;
        touch-action: none;
        cursor: pointer;
        user-select: none;
    }

    .genplan-hint.hidden {
        opacity: 0;
    }

    .genplan-hint__label {
        padding: 10px 14px;
        background: rgba(0,0,0,.65);
        color: #fff;
        border-radius: 999px;
        white-space: nowrap;
    }
}
