body .page-template-template-map, html .page-template-template-map, body.page-template-template-map a:hover, body.page-template-template-map a {
    cursor: auto !important;
}

body #frt-map-wrap a {
    cursor: pointer !important;
}

#frt-map-wrap .leaflet-popup-tip{
    background-color: #D0BFAD;
}
#frt-map-wrap .leaflet-popup-content-wrapper {
    background-color: #D0BFAD;
    border-radius: 0;
    border-bottom-left-radius: 35%;
    border-bottom-right-radius: 35%;
}

#frt-map-wrap .leaflet-popup-content-wrapper .popup-header, #frt-map-wrap .leaflet-popup-content-wrapper .popup-contents {
    text-align: center;
    font-size: 16px;
    font-family: 'morabaaFa';
    padding-bottom: 25px;
}

#frt-map-wrap {
    height: 100vh;
    font-family: 'morabaaFa';
}

#frt-map-wrap #frt-back-to-home {
    position: absolute;
    left: 25px;
    top: 25px;
    background: #D0BFAD;
    display: block;
    color: #261F19;
    z-index: 9999;
    padding: 8px 36px;
}

#frt-map-wrap #frt-map .mapp-container .popup-contents p {
    line-height: 1.6;
    font-size: 12px;
    text-align: justify;
    margin-top: 10px;
    font-family: 'morabaaFa';
}

#frt-map-wrap #frt-map .mapp-container .popup-header {
    position: relative;
    height: auto;
    color: #000;
    line-height: 1.6;
    padding: 0;
}

#frt-map-wrap #frt-map .mapp-container .popup-header .frt-popup-logo{
    max-height: 50px;
    width: auto;
    margin: auto;
    display: block;
}

#frt-map-wrap #frt-map {
    width: 100%;
    height: 100%;
}

#frt-map-wrap .frt-location-detail-wrap .frt-location-direction-wrap {
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: space-between;
}

#frt-map-wrap .frt-location-detail-wrap .frt-location-direction-wrap .frt-goto-location {
    font-size: 14px;
    color: #D0BFAD;
    border: 1px solid #D0BFAD;
    border-radius: 8px;
    padding: 10px;
    display: block;
    width: 100%;
    text-align: center;
}

#frt-map-wrap .frt-location-detail-wrap .frt-location-direction-wrap .frt-goto-location img {
    max-height: 30px;
    display: block;
    margin: auto auto 10px;

}

#frt-map-wrap .frt-location-detail-wrap .frt-location-image-wrap img {
    max-width: 100%;
    border-radius: 8px;
    border: 1px solid #D0BFAD;
}

.current-location-marker-popup {
    width: fit-content;
}

.current-location-marker-popup .popup-toolbar {
    display: none;
}

#frt-map-wrap #frt-current-location {
    width: 50px;
    height: 50px;
    background-color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    position: fixed;
    left: 50px;
    bottom: 50px;
    z-index: 9999;
    box-shadow: 0 0 4px 3px #0000004d;
}

#frt-map-wrap.select-location #frt-current-location {
    background-color: blue;
    color: #ffffff;
}

#frt-map-wrap #frt-map .leaflet-tile {
    filter: sepia(0.3) saturate(0.8) brightness(1);
}

#frt-map-wrap #frt-map .mapp-logo {
    display: none;
}

#frt-map-wrap .frt-sidebar {
    background-color: #261f19;
    width: 25%;
    /*max-width: 400px;*/
    height: 100%;
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 999999;
    box-shadow: 2px 0 7px #75614f;
    transition: all linear 0.5s;
}

#frt-map-wrap .frt-sidebar.close {
    right: -25%;
}

#frt-map-wrap .frt-sidebar .toggle-side-bar {
    width: 50px;
    height: 50px;
    position: absolute;
    left: -50px;
    background: #261F19;
    top: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all linear 0.5s;
    transform: rotate(0deg);
    font-size: 26px;
}

#frt-map-wrap .frt-sidebar .toggle-side-bar i {
    color: #D0BFAD;
}

#frt-map-wrap .frt-sidebar.close .toggle-side-bar i {
    transform: rotate(-180deg);
}

body.admin-bar #frt-map-wrap .frt-sidebar {
    margin-top: 32px;
}

#frt-map-wrap .frt-sidebar-header {
    position: relative;
    padding: 20px;
}

#frt-map-wrap .frt-sidebar-header .frt-logo-wrap img {
    display: block;
    margin: 20px auto 40px auto;
}

#frt-map-wrap .frt-sidebar .frt-search label {
    font-size: 24px;
    color: #D0BFAD;
}

#frt-map-wrap .frt-sidebar .frt-search-wrapper {
    position: relative;
}

#frt-map-wrap .frt-sidebar .frt-search-wrapper input.frt-search-input {
    height: 40px;
    width: 100%;
    border: 1px solid #B4936F;
    padding: 0 15px 0 30px;
    background-color: transparent;
    color: #B4936F;
}

#frt-map-wrap .frt-sidebar .frt-search-wrapper input.frt-search-input:focus {
/ / box-shadow: 3 px 3 px 5 px #D0BFAD;
}

#frt-map-wrap .frt-sidebar .frt-search-wrapper input.frt-search-input::placeholder {
    color: #B4936F;
}

#frt-map-wrap .frt-sidebar .frt-search-wrapper .frt-icon-search, #frt-map-wrap .frt-sidebar .frt-search-wrapper .reset-search-input {
    position: absolute;
    left: 10px;
    top: 0;
    font-size: 20px;
    line-height: 26px;
    bottom: 0;
    margin: auto 0;
    display: block;
    height: fit-content;
    color: #B4936F;
}

#frt-map-wrap .frt-sidebar .frt-search-wrapper .reset-search-input {
    color: #B4936F;
}

/* Sidebar Body Start */
#frt-map-wrap .frt-sidebar .frt-sidebar-body .frt-region-title {
    display: block;
    margin: 20px auto 40px auto;
    max-height: 65px;
}

#frt-map-wrap .frt-sidebar .frt-sidebar-body {
    padding: 20px;
    overflow-y: auto;
}

#frt-map-wrap .frt-sidebar .frt-sidebar-body .frt-list-group .frt-back-button, #frt-map-wrap .frt-sidebar .frt-sidebar-body .frt-list-group .frt-back-button-region {
    display: flex;
    align-items: center;
    width: fit-content;
    padding: 10px 40px;
    background-color: #D0BFAD;
    font-size: 16px;
    color: #261F19;
}

#frt-map-wrap .frt-sidebar .frt-sidebar-body .frt-list-group {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 10px;
}

#frt-map-wrap .frt-sidebar .frt-sidebar-body .frt-list-group .frt-list-group-item {
    border: 1px solid #63513D;
    color: #D0BFAD;
    padding: 10px;
    display: flex;
    align-items: center;
    transition: all linear 0.3s;
}

#frt-map-wrap .frt-sidebar .frt-sidebar-body .frt-list-group .frt-list-group-item:hover {
    background-color: rgba(208, 191, 173, .1);
}

#frt-map-wrap .frt-sidebar .frt-sidebar-body .frt-list-group .frt-list-group-item h5 {
    font-size: 16px;
}

#frt-map-wrap .frt-sidebar .frt-sidebar-body .frt-list-group .frt-list-group-item.frt-location-item {
    flex-direction: column;
    height: auto;
    align-items: start;
}

#frt-map-wrap .frt-sidebar .frt-sidebar-body .frt-list-group .frt-list-group-item.frt-location-item .frt-location-item-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
}

#frt-map-wrap .frt-sidebar .frt-sidebar-body .frt-list-group .frt-list-group-item.frt-location-item .frt-location-item-wrap .frt-location-image-wrap {
    width: 75px;
    height: 75px;
    background-color: #D0BFAD;
    border: 1px solid #D0BFAD;
    border-radius: 8px;
    margin-left: 10px;
    overflow: hidden;
}

#frt-map-wrap .frt-sidebar .frt-sidebar-body .frt-list-group .frt-list-group-item.frt-location-item .frt-location-item-wrap .frt-location-image-wrap img {
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

#frt-map-wrap .frt-sidebar .frt-sidebar-body .frt-list-group .frt-list-group-item.frt-location-item .frt-location-item-wrap .frt-location-desc-wrap {
    flex-shrink: 100;
}

#frt-map-wrap .frt-sidebar .frt-sidebar-body .frt-list-group .frt-list-group-item.frt-location-item .frt-location-item-wrap .frt-location-desc-wrap p {
    font-size: 12px;
    color: #D0BFAD;
    line-height: 1.6;
}

#frt-map-wrap .frt-sidebar .frt-sidebar-body .frt-list-group .frt-list-group-item.frt-location-item .frt-location-item-wrap .frt-location-desc-wrap h5 {
    font-size: 16px;
    font-weight: bold;
}

#frt-map-wrap .frt-sidebar .frt-sidebar-body .frt-location-detail-wrap .frt-location-desc-wrap h5 {
    font-size: 16px;
    font-weight: bold;
    margin: 15px 0;
    color: #D0BFAD;
}

#frt-map-wrap .frt-sidebar .frt-sidebar-body .frt-location-detail-wrap .frt-location-desc-wrap p {
    font-size: 12px;
    color: #D0BFAD;
    line-height: 1.6;
}

#frt-map-wrap .frt-loader {
    width: 100%;
    height: 100%;
    position: absolute;
    display: none;
    right: 0;
    top: 0;
    justify-content: center;
    align-items: center;
    background: rgba(208, 191, 173, 0.7);
}

#frt-map-wrap .frt-loader.show {
    display: flex;
}

#frt-map-wrap .frt-loader .frt-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #261F19;
    border-right-color: transparent;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: frt-rotation 1s linear infinite;
}

@keyframes frt-rotation {
    from {
        transform: rotate(0);
    }
    to {
        transform: rotate(360deg);
    }
}

@media screen and (max-width: 767px) {
    #frt-map-wrap .frt-sidebar {
        width: 100%;
        height: 70%;
        right: auto;
        bottom: 0;
        top: auto;
    }

    #frt-map-wrap .frt-sidebar.close {
        bottom: -70%;
        right: auto;
    }

    #frt-map-wrap .frt-sidebar .toggle-side-bar {
        left: 0;
        top: -50px;
    }
    #frt-map-wrap .frt-sidebar .frt-sidebar-header{
        display: none;
    }
    #frt-map-wrap .frt-sidebar .toggle-side-bar i {
        transform: rotate(90deg);
    }

    #frt-map-wrap .frt-sidebar.close .toggle-side-bar i {
        transform: rotate(-90deg);
    }
}

.region-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.region-block {
    width: 120px;
    display: block;
}