/* 2024 Template by POKJA IV GANISPEDIA */

body,
html {
    font-family: Arial, sans-serif;
    background-color: white;
    color: #333;
    height: 100%;
    overflow: hidden;
    margin: 0;
    font-family: 'Roboto', sans-serif;
}

p {
    margin-bottom: 5px;
}

.gp-landing{
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: #3acae1;
    text-align: center;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    align-items: center;
}

.gp-landing .gp-landing-logo {
    flex-grow: 0;
    display: flex;
    align-items: center;
    margin: 20px 0px 0px 0px;
}

.gp-landing-logo-icon {
    float: left;
    margin-right: 10px;
    width: 40px;
    height: 40px;
}

.gp-landing-logo-watermark {
    display: block;
    margin: 0 auto;
    height: 50px;
}

.gp-landing-logo-tagline {
    display: block;
    margin: 5px auto 0;
    width: auto;
    height: 11px;
}

.gp-landing .gp-landing-desc{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-grow: 1;
    flex-shrink: 1;
    max-height: 250px;
    /* background-color: rgba(0, 0, 0, 0.198); */
}

.gp-landing .gp-landing-desc .gp-desc-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 500px;
    align-items: center;
    margin: 0px 50px;
}

.gp-landing .gp-landing-desc .gp-landing-button{
    color: black;
    width: 50px;
    height: 50px;
    font-size: 20px;
    background-color: white;
    border-radius: 25px;
    line-height: 2.5;
    box-shadow: 0px 0px 14px 0px rgba(0, 0, 0, 0.17) !important;
        -webkit-box-shadow: 0px 0px 14px 0px rgba(0, 0, 0, 0.17) !important;
        -moz-box-shadow: 0px 0px 14px 0px rgba(0, 0, 0, 0.117) !important;
}

.gp-landing .gp-desc-text h1 {
    font-weight: 800;
}

.gp-landing .gp-desc-text p {
    margin-bottom: 20px;
}

.gp-landing .gp-desc-text .gp-desc-submit {
    font-weight: 800;
    background-color: green;
    padding: 10px 40px;
    display: inline-block;
    color: white;
    border-radius: 25px;
    text-decoration: none;
}

.gp-landing .gp-desc-text .gp-desc-submit:hover {
    text-decoration: none;
    background-color: rgb(0, 110, 0);
}

.gp-landing .gp-landing-image{
    display: flex;
    flex-direction: column;
    justify-content: end;
    height: 300px;
    flex-grow: 0;
    flex-shrink: 0;
    align-items: center;
    position: relative;
}

.gp-landing .gp-landing-image img {
    height: 0%;
    position: absolute;
    bottom: 0px;
}

.main {
    display: flex;
    flex-direction: row;
    align-items: center;
    height: 100%;
}

.navibar-mobile {
    display: none;
}

.main-menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    justify-content: flex-start;
    width: 60px;
    flex-grow: 0;
    flex-shrink: 0;
    display: none;
}

.main-menu-active {
    width: 120px;
}

.main-menu.main-menu-active span{
    display: inline-block;
}

.main-menu.main-menu-active .main-menu-toggle{
    display: inline-block;
    color: #9a210c;
}

.main-menu-toggle {
    color: black;
    font-size: 20px;
    width: 100%;
    height: 100px;
    text-align: center;
    line-height: 5;
    flex-grow: 0;
    flex-shrink: 0;
    text-align: left;
    padding-left: 20px;
}

.menu-button-wrapper {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
}

.menu-button {
    color: black;
    height: 40px;
    width: 100%;
    text-align: center;
    /* line-height: 3; */
    margin: 10px 0px;
    font-size: 10px;
    padding: 5px 10px;
    text-align: left;
    border-left: 4px solid white;
}

.menu-button i {
    font-size: 20px;
    margin-right: 10px;
    line-height: 1.5;
    width: 20px;
}

.menu-button span {
    position: relative;
    top:-4px;
    font-weight: 700;
    display: none;
}

.menu-button-active {
    border-left: 4px solid #9a210c;
    color: #9a210c;
}

.main-container {
    display: flex;
    flex-direction: column;
    height: 100%;
    flex-grow: 1;
    flex-shrink: 1;
    width: 100%;
}

.navibar {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-grow: 0;
    flex-shrink: 0;
    height: 100px;
    background-color: white !important;
    margin: 0px 10px;
}

#sidebar-toggle {
    color: black;
    margin: 0px 20px;
    font-size: 20px;
    flex-grow: 0;
}

#backButton {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 1000;
    display: none;
}

.gp-logo {
    flex-grow: 0;
    display: flex;
    height: 100%;
    align-items: center;
    /* min-width: 13.875em; */
}

.gp-logo-icon {
    float: left;
    margin-right: 10px;
    width: 50px;
    height: 50px;
}

.gp-logo-mobile {
    display: none;
}

.gp-user-icon {
    float: right;
    margin-left: 10px;
    width: 3.125em;
    height: 3.125em;
}

.gp-logo-watermark {
    display: block;
    margin: 0 auto;
    width: auto;
    height: 20px;
}

.gp-logo-tagline {
    display: block;
    margin: 5px auto 0;
    width: auto;
    height: 11px;
}

.main-menu-top{
    display: flex;
    flex-direction: row;
    padding: 0px 20px;
}

.menu-top-item{
    padding: 10px 15px;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    box-shadow: none;
    border: none;
    background-color: white;
    border-radius: 25px;
}

.menu-top-item-active {
    background-color: black;
    color: white;
}

.gp-account img {
    margin-right: 20px;
    clip-path: circle(50%);
}

.gp-account-mobile {
    display: none;
}

.navbar {
    flex-grow: 0;
    height: 60px;
    background-color: white !important;
}

.search-bar {
    width: 100%;
    min-width: 200px;
    border-radius: 20px;
    font-size: inherit;
    padding: .375rem .75rem .375rem 2.2rem;
    border-color: #f2f2f2;
}

.search-bar:focus{
    border-width: 3px;
}

.search-bar:hover {
    background-color: #dedede !important;
}

.search-loading{
    position: absolute;
    right: 35px;
    top: 10px;
    width: 20px;
    height: 20px;
    display: none;
}

#top-search-bar {
    flex-grow: 1;
    position: relative;
    /* margin-left: 20px; */
    z-index: 500;
}

#top-search-bar input {
    height: 40px;
    background-color: #f1f1f1;
    position: relative;
}

#top-search-bar .search-icon {
    position: absolute;
    left: 15px;
    top: 7px;
    color: #767676;
    line-height: 2;
}

.top-search-suggestion {
    top: 20px;
    width: 100%;
    padding: 40px 20px 20px 20px;
    background-color: white;
    position: absolute;
    border-radius: 0px 0px 25px 25px;
    display: none;
    overflow-y: scroll;
    max-height: 600px;
}

#side-content-search-bar {
    flex-grow: 1;
    position: relative;
    margin-left: 10px;
    z-index: 11;
}

#side-content-search-bar input {
    height: 40px;
    background-color: #f1f1f1;
    position: relative;
}

#side-content-search-bar .search-icon {
    position: absolute;
    left: 15px;
    top: 7px;
    color: #767676;
    line-height: 2;
}

.top-search-suggestion {
    top: 20px;
    width: 100%;
    padding: 40px 20px 20px 20px;
    background-color: white;
    position: absolute;
    border-radius: 0px 0px 25px 25px;
    display: none;
}

.recent-search-header {
    margin-bottom: 10px;
}

.recent-search-wrapper {
    display: flex;
    flex-direction: row;
}

.recent-search {
    padding: 5px 15px;
    margin-right: 10px;
    background-color: #e9e9e9;
    border-radius: 20px;
    position: relative;
}

.recent-search span {
    position: relative !important;
}

.search-result-header{
    margin-top: 20px;
}

.search-result{
    display: inline-block;
    width: 100%;
    padding: 10px 0px;
    color: black;
}

.search-result:hover{
    text-decoration: none;
    background-color: #f1f1f1;
    color: black;
}

.search-result span{
    padding: 0px 10px;
}

.search-bar::placeholder {
    color: #767676;
}

.content {
    flex-grow: 1;
    position: relative;
    height: 100%;
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
    margin: 0px;
    padding: 0px 10px 10px 10px;
}

#map {
    position: relative;
    height: 100%;
    width: 100%;
    overflow: hidden;
    border-radius: 15px;
    /* margin: 0px 10px 10px 10px; */
}

.side-content-wrapper {
    width: 0%;
    padding: 0px 10px;
    display: none;
    flex-direction: column;
    height: 100%;
}

.side-content-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    border: 1px solid #f2f2f2;
    border-left: none;
    border-right: none;
    padding: 10px 0px 10px 0px;
}

.side-content-header .header-close{
    margin-left: 10px;
    margin-right: 0px;
    background-color: #9a210c;
    color: white;
    height: 40px;
    width: 40px;
    border-radius: 50%;
    text-align: center;
    line-height: 3;
}

.side-content {
    margin-top: 10px;
    overflow-y: auto;
    height: 100%;
}

.side-content-item {
    position: relative;
    display: flex;
    flex-direction: row;
    padding: 10px;
    background-color: white;
    border: 1px solid #f2f2f2;
    border-radius: 5px;
    margin-bottom: 10px;
    cursor: pointer;
    color: black;
}

.side-content-item-selected{
    background-color: #f1f1f1;
}

.side-content-item:hover {
    background-color: rgb(247, 247, 247);
    text-decoration: none;
    color: black;
}

.item-content-label {
    position: absolute;
    z-index: 11;
    background-color: red;
    color: white;
    font-weight: 700;
    border-radius: 5px;
    padding: 2px 15px;
    left: 5px;
    top: 15px;
}

.item-content-img {
    height: 100px;
    width: 100px;
    clip-path: inset(0% round 5px);
}

.item-content-wrapper {
    margin-left: 10px;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.item-content-detail {
    /* border-bottom: 1px solid #f2f2f2; */
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.item-content-footer {
    display: flex;
    flex-direction: row;
    flex-grow: 0;
    padding: 5px;
}

.item-content-footer .footer-item {
    margin-right: 10px;
    padding-right: 10px;
    border-right: 1px solid #f2f2f2;
}

.item-content-footer .footer-item span {
    margin-left: 8px;
}

.item-content-detail h6 {
    margin-bottom: 2px;
}

.satker-content-wrapper {
    width: 0%;
    display: none;
    flex-direction: column;
    height: 100%;
    border: 1px solid #f2f2f2;
    margin: 0px 10px;
    overflow-y: auto;
}

.satker-content-header {
    position: relative;
}

.satker-content-header img {
    height: 200px;
    width: 100%;
    object-fit: cover;
}

.satker-tab-bar {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    padding: 0px 20px;
    border-bottom: 1px solid #f2f2f2;
}

.satker-tab-item {
    flex-grow: 1;
    padding: 10px 5px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    color: black;
}

.satker-tab-item:hover {
    border-bottom: 5px solid #f2f2f2;
    text-decoration: none;
    color: green;
}

.satker-tab-item-selected {
    border-bottom: 5px solid green;
    color: green;
}

.incontent-tab-bar-scroll {
    width: 100%;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
    -ms-overflow-style: none;
    background-color: #f1f1f1;
}

.incontent-tab-bar-scroll::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, Opera */
}

.incontent-tab-bar {
    display: inline-flex;
    padding: 0px;
}

.incontent-tab-item {
    padding: 10px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    background-color: #f8f8f8;
    /* border-bottom: 1px solid #f2f2f2; */
    color: #c1c1c1;
    display: inline-block;
}

.incontent-tab-item:hover {
    text-decoration: none;
    color: black;
}

.incontent-tab-item-selected {
    background-color: white;
    /* border: 1px solid #f2f2f2; */
    /* border-bottom: none; */
    /* border-left: none; */
    color: black;
}

.gp-list{
    width: 100%;
}

.gp-list td{
    color: black;
    padding-bottom: 10px;
}

.gp-list td .keadaaan-sdm-card{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 10px 15px 10px 20px;
    border-radius: 5px;
    background-color: white;
    border: 1px solid #f1f1f1;
    height: 60px; 
    border-radius: 30px;  
    align-items: center;
}

.gp-list td .keadaaan-sdm-card .keadaan-sdm-status{
    height: 30px;
    width: 30px;
    background-color: green;
    /* border: 1px solid green; */
    color: white;
    border-radius: 15px;
    text-align: center;
    line-height: 2.2;
}

.gp-list td:nth-child(1) {
    /* border-right: 1px solid #f2f2f2; */
}

.gp-list td:nth-child(2) {
    /* text-align: center; */
}

.gp-list th {
    text-align: center;
    font-weight: 800;
    background-color: black;
    color: white;
    padding: 10px;
}

.gp-list th:nth-child(1) {
    border-right: 1px solid grey;
}

.gp-table {
    width: 100%;
    border: 1px solid #f1f1f1;
}

.gp-table td {
    color: black;
    padding: 10px;
}

.gp-table td .keadaaan-sdm-card {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 10px 15px 10px 20px;
    border-radius: 5px;
    background-color: white;
    border: 1px solid #f1f1f1;
    height: 60px;
    border-radius: 30px;
    align-items: center;
}

.gp-table td .keadaaan-sdm-card .keadaan-sdm-status {
    height: 30px;
    width: 30px;
    background-color: green;
    /* border: 1px solid green; */
    color: white;
    border-radius: 15px;
    text-align: center;
    line-height: 2.2;
}

.gp-table td:nth-child(1) {
    /* border-right: 1px solid #f2f2f2; */
}

.gp-table td:nth-child(2) {
    /* text-align: center; */
}

.gp-table th {
    font-weight: 800;
    background-color: white;
    color: black;
    padding: 10px;
}

.gp-table th:nth-child(1) {
    /* border-right: 1px solid grey; */
}

.gp-table tr:nth-child(even) {
    background-color: #f8f8f8;
    color: black;
    border-bottom: 1px solid#f1f1f1;
}

.gp-table tr:nth-child(odd) {
    background-color: white;
    color: black;
    border-bottom: 1px solid #f1f1f1;
}

.satker-action-bar{
    display: flex;
    flex-direction: row;   
    justify-content: space-evenly; 
    margin: 20px 0px 0px 0px;
}

.satker-action-bar .action-button{
    text-align: center;
}

.satker-action-bar .action-button .action-button-icon{
    width: 40px;
    height: 40px;
    border: 1px green solid;
    border-radius: 20px;
}

.action-button-icon i{
    font-size: 15px;
    color: green;
    margin-top: 10px;
}

.satker-action-bar .action-button span {
    margin-top: 5px;
    color: green;
}

.satker-action-bar .action-button:hover .action-button-icon{
    background-color: green;
}

.satker-action-bar .action-button:hover .action-button-icon i{
    color: white;
}

.satker-content-detail {
    /* overflow-y: auto; */
    display: none;
    /* padding: 20px 25px 25px 25px; */
    min-height: 200px;
}

.satker-content-container{
    padding: 20px;
}

.satker-detail-basic {
    margin-bottom: 20px;
}

.satker-detail-basic span {
    font-weight: 700;
}

.satker-detail-info {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-bottom: 10px;
}

.satker-detail-info i {
    margin-right: 10px;
}

.satker-detail-info .flash-info {}

.satker-detail-info .flash-info small {
    font-weight: 800;
}

.header-overlay {
    position: absolute;
    background-color: black;
    opacity: 0.4;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
}

.header-top {
    display: flex;
    flex-direction: row;
    /* justify-content: space-between; */
    width: 100%;
    font-weight: 700;
    position: absolute;
    top: 0px;
    left: 0px;
    color: white;
    padding: 20px;
    border-bottom: 1px solid #f2f2f273;
}

.header-top h6 {
    margin: 0px;
}

.header-close {
    margin-right: 10px;
    cursor: pointer;
}

.header-bottom {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    align-items: center;
    position: absolute;
    width: 100%;
    bottom: 0px;
    left: 0px;
    padding: 20px;
}

.btn {
    border-radius: 25px;
    font-size: inherit;
    background-color: #9a210c;
    color: white;
    border: none;
    padding: 10px 20px;
}

.hover-popup {
    color: #fff;
    border-radius: 4px;
    padding: 5px;
    text-align: center;
    background-color: transparent;
}

.popup-img {
    width: 100%;
    height: 80px;
    object-fit: cover;
}

.popup-container {
    display: flex;
    flex-direction: column;
}

.popup-content {
    padding: 10px;
}

.eis-stars-wrapper {
    margin-top: 5px;
    color: gold;
}

.leaflet-popup-content-wrapper {
    background-color: white;
    box-shadow: none;
    border-radius: 0;
}

.leaflet-popup-content {
    width: 150px;
    margin: 0px;
}

.leaflet-popup-tip-container {
    box-shadow: none;
}

.fluid-start {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    flex-grow: 1;
    width: 100%;
    margin-right: 20px;
    padding-left: 20px;
}

.fluid-end {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
    flex-grow: 0;
    flex-shrink: 0;
}

.top-content {
    padding: 10px;
    /* Add some padding */
    color: white;
    /* Text color */
}

.leaflet-popup-close-button {
    display: none;
}

.accordion-content {
    display: none;
    /* Hide content by default */
    padding: 10px;
    border: 1px solid #f2f2f2;
    background-color: white;
}

.accordion-header {
    cursor: pointer;
    background-color: #9a210c;
    color: white;
    padding: 10px;
}

.accordion-item+.accordion-item {
    margin-top: 5px;
}

/* Reset some default styles */
/* * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
} */

/* Tablet devices */
/* @media (min-width: 600px) {
    .container {
        grid-template-columns: 1fr 1fr;
    }
} */

/* Desktop devices */
/* @media (min-width: 900px) {
    .container {
        grid-template-columns: 1fr 1fr 1fr;
    }
} */

/* @media only screen and (min-device-width : 768px) and (max-device-width : 1024px) and (orientation : landscape) {
    .main-container{
            height: calc(100% - 85px);
        }
} */

@media only screen and (max-width: 768px) {
    .main-menu{
        display: none;
    }

    .navibar{
        position: absolute;
        width: 100%;
        margin: 0px;
        padding: 0px 20px;
        height: 80px;
        z-index: 500;
        background-color: transparent !important;
    }

    .main-menu-top{
        display: none;
    }

    .gp-account {
        display: none;
    }

    .gp-account-mobile{
        display: block;
        position: absolute;
        right: 5px;
        z-index: 10;
        top: 5px;
    }

    .gp-account-mobile img{
        margin: 0px;
        width: 40px;
        height: 40px;
    }

    .content{
        padding: 0px;
        flex-direction: column;
    }

    #map{
        border-radius: 0;
    }

    .info{
        width: calc(100% - 40px);
    }

    .gp-logo{
        display: none;
    }

    .gp-logo-mobile{
        display: block;
        position: absolute;
        z-index: 10;
        left: 10px;
        top: 10px;
    }

    .gp-logo-mobile img{
        width: 30px;
        height: 30px;
    }

    #top-search-bar{
        margin-left: 0px;
    }

    #top-search-bar .search-icon{
        display: none;
    }

    #top-search-bar input{
        background-color: white;
        box-shadow: 0px 0px 14px 0px rgba(0, 0, 0, 0.17) !important;
        -webkit-box-shadow: 0px 0px 14px 0px rgba(0, 0, 0, 0.17) !important;
        -moz-box-shadow: 0px 0px 14px 0px rgba(0, 0, 0, 0.117) !important;
        height: 50px;
        border-radius: 25px;
        padding: .375rem .75rem .375rem 3rem;
    }

    .recent-search-wrapper{
        flex-direction: column;
    }

    .recent-search{
        background-color: transparent;
    }

    .recent-search span{
        display: none;
    }

    .fluid-start{
        margin-right: 0;
        padding-left: 0px;
    }

    .fluid-end button{
        display: none;
    }

    .fluid-end .gp-account img{
        margin: 0;
    }

    .navibar-mobile-wrapper {
        position: fixed;
        /* height: 60px; */
        bottom: 0px;
        width: 100%;
        left: 0px;
        z-index: 1000;
    }        

    .navibar-mobile{
        background-color: white;
        height: 100%;
        width: 100%;
        border-top: 1px solid #cbcbcb;
        box-shadow: 0px 0px 14px 0px rgba(0, 0, 0, 0.17) !important;
        -webkit-box-shadow: 0px 0px 14px 0px rgba(0, 0, 0, 0.17) !important;
        -moz-box-shadow: 0px 0px 14px 0px rgba(0, 0, 0, 0.117) !important;
        display: flex;
        flex-direction: row;
    }

    .menu-button{
        text-align: center;
        margin:0px;
        height: 100%;
    }

    .menu-button span{
        display: inline-block;
    }

    .menu-button i{
        font-size: 20px;
        margin-right: 0px;
    }
    
    .menu-button-active {
        border:none;
        color: white;
        background-color: #9a210c;
    }

    .side-content{
        padding-bottom: 200px;
    }

    .side-content-wrapper{
        z-index: 11;
        background-color: white;
        max-height: 70%;
    }

    .side-content-header #side-content-search-bar{
        display: none;
    }

    .item-content-img{
        width: 60px;
        height: 60px;
    }

    .item-content-footer{
        display: none;
    }

    .item-content-label{
        padding: 2px 5px;
    }

    .item-content-detail{
        border-bottom: none;
    }
}

#screen-size {
    font-size: 20px;
    padding: 10px;
    margin-top: 20px;
    background-color: #f0f0f0;
    border: 1px solid #ddd;
    position: absolute;
    left: 0px;
    z-index: 999;
}

@keyframes bounceMarker {

    0% {
        top: 0px;
    }

    50% {
        top: -10px;
    }

    100% {
        top: 0px;
    }
}

@keyframes bounceMarkerShadow {

    0% {
        top: 0px;
        left: 0px;
    }

    50% {
        top: -5px;
        left: 5px;
    }

    100% {
        top: 0px;
        left: 0px;
    }
}

.leaflet-marker-icon {
    animation: bounceMarker 3s 1;
}

.leaflet-marker-shadow {
    animation: bounceMarkerShadow 3s 1;
}

.marker-hover {
    animation: bounceMarker 3s infinite;
}

.markerShadow-hover {
    animation: bounceMarkerShadow 3s infinite;
}

.scroll-test{
    width: 100%;
    height: 100%;
    position: relative;
}

.button-container {
    position: absolute;
    top: 10px;
    left: 10px;
}

.target-container {
    position: relative;
    overflow-y: scroll;
    background-color: red;
    width: 100%;
    height: 100%;
    padding: 0px;
    text-align: center;
}

.target {
    display: block;
    margin-bottom: 5px;
    position: relative;
    padding: 20px;
    color: white;
    background-color: blue;
}
.debugger{
    z-index: 1000;;
    background-color: blue;
    color: white;
    padding: 10px;
    position: fixed;
    top: 10px;
    left: 10px;
}