@charset "UTF-8";

:root {
    --tblr-font-sans-serif: 'Inter Var', -apple-system, BlinkMacSystemFont, San Francisco, Segoe UI, Roboto, Helvetica Neue, sans-serif;
}

.fa-spinner {
    color: #007bff;
}

.text-count {
    font-size: 30px;
}

.nav-link-title {
    font-size: 11px;
}

.nav-link-title-submenu {
    font-size: 11px;
}

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1050;
}

.loader {
    border: 6px solid #f3f3f3;
    /* Light grey */
    border-top: 6px solid #3498db;
    /* Blue */
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.navbar {
    /* width: 300px !important; */
    background-color: #000;
    color: #fff;
    padding: 8px 0;
}

.nav-link {
    color: #fff !important;
}

.nav-link-icon {
    color: #fff;
}

.nav-link:hover {
    color: #fff;
}

#sidebar-menu .nav-item:hover,
#sidebar-menu .nav-item:active,
#sidebar-menu .nav-item.active {
    background-color: rgba(0, 174, 255, 1);
}

.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999999999999;
}

.spinner {
    border: 8px solid rgba(0, 174, 255, 0.1);
    border-left-color: rgba(0, 174, 255, 1);
    border-radius: 50%;
    width: 100px;
    height: 100px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

#a2hs-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #4DBA87;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    font-size: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    z-index: 1000;
    animation: slideIn 0.3s ease-in-out;
    -webkit-animation: slideIn 0.3s ease-in-out;
}

@keyframes slideIn {
    from {
        transform: translateY(100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

#a2hs-button:hover {
    background-color: #3a946d;
}

body {
    font-feature-settings: "cv03", "cv04", "cv11";
}

.select2-container {
    z-index: 9999 !important;
}

.page-center {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.scroll-down-btn {
    position: absolute;
    z-index: 100;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background-color: transparent;
    border: none;
    font-size: 24px;
    color: white;
    cursor: pointer;
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
}

.scroll-down-btn:hover {
    color: #ffc107;
}

.page-login {
    background: url("../../public/assets/img/bg.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 100vh;
    max-height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-not-found {
    background: darkslategray;
    min-height: 100vh;
    max-height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#map {
    position: relative;
    min-height: calc(100vh - 72px);
    height: 100%;
    width: 100%;
    z-index: 1;
}

#custom-control {
    border-radius: 0;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    -ms-border-radius: 0;
    -o-border-radius: 0;
}

#custom-control h4 {
    margin: 0 0 10px 0;
    font-size: 16px;
}

#custom-control label {
    display: block;
    margin-bottom: 5px;
}

#custom-control input {
    margin-right: 5px;
}

.btn-fullscreen {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 99999;
}

#fullscreen-div {
    overflow-x: hidden;
    background-color: #fff;
}

.btn-select-layers {
    position: absolute;
    top: 60px;
    left: 10px;
    z-index: 9999;
}

.control-coordinate {
    font-size: 15px;
    background: rgba(0, 0, 0, 0.349);
    color: #fff;
    padding: 5px;
}

.box-search {
    position: absolute;
    z-index: 99999;
    top: 10px;
    left: 10px;
    border-radius: 10px;
    width: 350px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
}

.box-search input {
    font-size: 14px;
    padding: 5px 10px;
}

.box-searchResults {
    position: absolute;
    z-index: 999999;
    top: 40px;
    left: 10;
}

#searchResults {
    background: rgba(0, 0, 0, .8);
    color: #fff;
    font-size: 14px;
    border-radius: 5px;
    padding: 15px;
    max-height: 400px;
    width: 350px;
    overflow-y: auto;
    display: none;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
}

.search-results-item {
    cursor: pointer;
    padding: 10px 15px;
    border-radius: 5px;
}

.search-results-item:hover,
.search-results-item:active {
    background: rgb(255, 255, 255);
    color: #000;
}

.box-legend {
    position: absolute;
    bottom: 50px;
    left: 10px;
    z-index: 999999;
    background: white;
    padding: 10px;
    border-radius: 5px;
    font-size: 12px;
    max-height: 700px;
    min-width: 300px;
    overflow-y: auto;
    display: none;
}

#legend-box {
    z-index: 9999999;
    font-size: 12px;
    min-width: 100%;
    overflow-y: auto;
}

.legend-box {
    margin-top: 10px;
    width: 100%;
}

.legend-item {
    margin-top: 8px;
    display: flex;
    align-items: center;
}

.legend-color {
    display: inline-block;
    width: 15px;
    height: 15px;
    margin-right: 8px;
    border: 1px solid #ccc;
    border-radius: 2px;
}

hr {
    margin: 0;
    height: 3px;
    background-color: #000;
}

.box-info {
    left: 30px;
    z-index: 2;
    font-size: 12px;
    max-height: calc(100vh - 120px);
    background: #fff;
    overflow-y: auto;
    padding: 10px;
    width: 100%;
}

.bagian-info {
    border-radius: 10px;
    padding: 0;
}

.btn-toggle-legend {
    position: absolute;
    z-index: 99999;
    bottom: 10px;
    left: 10px;
}

#carousel-captions {
    height: calc(100vh - 164px);
    /* height: 600px; */
}

.carousel-inner {
    height: 100%;
}

.carousel-item {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel-item img.slide-img {
    height: 100%;
    width: auto;
    object-fit: cover;
}

.carousel-caption {
    position: absolute;
    width: 100%;
    top: 46%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
}

.info-carousel img {
    height: 130px;
}

.info-carousel h1 {
    font-size: 36px;
}

.card-view-home {
    padding: 60px 0;
    border-radius: 30px;
    -webkit-border-radius: 30px;
    -moz-border-radius: 30px;
    -ms-border-radius: 30px;
    -o-border-radius: 30px;
}

.border-radius {
    border-radius: 30px;
    -webkit-border-radius: 30px;
    -moz-border-radius: 30px;
    -ms-border-radius: 30px;
    -o-border-radius: 30px;
}

.footer {
    background-color: #00283a;
    border: none;
    color: #fff;
}

.footer a {
    color: #fff;
}

.video-container-custom {
    width: 100%;
    height: 280px;
    margin-top: -15px;
}

@media (max-width: 768px) {
    #carousel-captions {
        height: calc(100vh - 50px);
    }

    .carousel-inner {
        height: 100%;
    }

    .carousel-item {
        height: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .carousel-item img {
        height: 100%;
        width: auto;
        object-fit: cover;
    }

    .carousel-caption {
        position: absolute;
        z-index: 99999;
        top: 42%;
        left: 50%;
        width: 90%;
        text-align: center;
        color: white;
    }

    .info-carousel img {
        height: 120px;
    }

    .info-carousel h1 {
        font-size: 26px;
    }

    .info-carousel p {
        font-size: 12px;
    }

    .navbar {
        /* width: 300px !important; */
        padding: 0 0 10px 0;
    }

    .nav-item {
        padding: 5px 0;
    }

    .nav-item:hover,
    .nav-item:active,
    .nav-item.active {
        background-color: rgba(0, 174, 255, 1);
    }

    .video-container-custom {
        width: 100%;
        height: 230px;
    }

}
