/* =========================================================
   TFG MAP GEOGRAPHIC GRATICULE
   ========================================================= */


/*
 * Label lintang/bujur berada langsung di atas viewport peta.
 */
.tfg-graticule-label-overlay {
    position: absolute !important;

    inset: 0 !important;

    width: 100% !important;
    height: 100% !important;

    display: block;

    z-index: 750 !important;

    overflow: hidden !important;

    pointer-events: none !important;
}


.tfg-graticule-label-overlay[hidden] {
    display: none !important;
}


/*
 * Tampilan label sementara dipertahankan cukup kontras
 * karena sudah dinyatakan berfungsi.
 */
.tfg-graticule-label {
    position: absolute !important;

    display: block !important;

    padding: 2px 4px !important;

    border:
        1px solid
        rgba(20, 47, 60, .42) !important;

    background:
        rgba(255, 255, 255, .94) !important;

    color: #102b38 !important;

    font-size: 9px !important;
    font-weight: 700 !important;

    line-height: 1.15 !important;

    white-space: nowrap !important;

    box-shadow:
        0 1px 2px
        rgba(0, 0, 0, .16) !important;

    pointer-events: none !important;
}


/*
 * Lintang:
 * label pada sisi kiri dan kanan.
 */
.tfg-graticule-left {
    left: 6px !important;

    transform:
        translateY(-50%) !important;
}


.tfg-graticule-right {
    right: 6px !important;

    transform:
        translateY(-50%) !important;
}


/*
 * Bujur:
 * label pada sisi atas dan bawah.
 */
.tfg-graticule-top {
    top: 6px !important;

    transform:
        translateX(-50%) !important;
}


.tfg-graticule-bottom {
    bottom: 6px !important;

    transform:
        translateX(-50%) !important;
}


@media (max-width: 768px) {

    .tfg-graticule-label {
        font-size: 8px !important;
    }


    .tfg-graticule-left {
        left: 4px !important;
    }


    .tfg-graticule-right {
        right: 4px !important;
    }


    .tfg-graticule-top {
        top: 4px !important;
    }


    .tfg-graticule-bottom {
        bottom: 4px !important;
    }
}
