:root{
    --map-primary-color:#cdb47c;
    --map-scondary-color:#000;
}
#frt-map-wrap{
    height: 100vh;
    font-family: 'MappIranSans';
}
#frt-map-wrap i{
    font-style: normal!important;
}
#frt-map-wrap #frt-map .mapp-container .popup-contents p{
    line-height: 1.6;
    font-size: 12px;
    text-align: justify;
    margin-top: 10px;
}
#frt-map-wrap #frt-map .mapp-container .popup-header{
    position: relative;
    height: auto;
    color: #000;
    line-height: 1.6;
}
#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: center;
    /*flex-direction: column;*/
}
#frt-map-wrap .frt-location-detail-wrap .frt-location-direction-wrap .frt-goto-location{
    font-size: 12px;
    color: var(--map-scondary-color);
    border: 1px solid var(--map-scondary-color);
    border-radius: 8px;
    padding: 10px;
    display: block;
    width: 100%;
    text-decoration: none;
    text-align: center;
}
#frt-map-wrap .frt-location-detail-wrap .frt-location-direction-wrap .frt-goto-location:hover{
    background-color: var(--map-scondary-color);
    color: var(--map-primary-color);
}
#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 var(--map-scondary-color);
}
.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: var(--map-primary-color);
    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: var(--map-primary-color);
    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: var(--map-scondary-color);
}
#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 .frt-search-wrapper{
    display: flex;
    position: relative;
}
#frt-map-wrap .frt-sidebar .frt-search-wrapper input.frt-search-input {
    height: 40px;
    width: 100%;
    border: 1px solid var(--map-scondary-color);
    border-radius: 8px;
    padding: 0 15px 0 30px;
    background-color: transparent;
    font-family: inherit;
    color: var(--map-scondary-color);
    margin-bottom: 0;
}
#frt-map-wrap .frt-sidebar .frt-search-wrapper input.frt-search-input:focus{
    box-shadow: 3px 3px 5px rgba(0,0,0,0.3);
}
#frt-map-wrap .frt-sidebar .frt-search-wrapper input.frt-search-input::placeholder{
    color: var(--map-scondary-color);
}

#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: 40px;
    bottom: 0;
    margin: auto 0;
    display: block;
    font-style: normal;
    color: var(--map-scondary-color);
}
#frt-map-wrap .frt-sidebar .frt-search-wrapper .reset-search-input{
    color: var(--map-scondary-color);
}
/* Sidebar Body Start */
#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{
    display: flex;
    align-items: center;
    width: fit-content;
    padding: 10px 40px;
    background-color: var(--map-scondary-color);
    font-size: 16px;
    color: var(--map-primary-color);
    border-radius: 8px;
    text-decoration: none;
}
#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 #000;
    border-radius: 8px;
    color: #000;
    padding: 15px;
    display: flex;
    align-items: center;
    transition: all linear 0.3s;
    font-size: 14px;
    text-decoration: none;
}

#frt-map-wrap .frt-sidebar .frt-sidebar-body .frt-list-group .frt-list-group-item:hover{
    background-color: var(--map-scondary-color);
    color: var(--map-primary-color);
}
#frt-map-wrap .frt-sidebar .frt-sidebar-body .frt-list-group .frt-list-group-item:hover h5{
    color: var(--map-primary-color)!important;
}
#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:hover p{
    color: var(--map-primary-color)!important;
}
#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: var(--map-scondary-color);
    border: 1px solid var(--map-scondary-color);
    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: var(--map-scondary-color);
    line-height: 1.6;
    margin-bottom: 0;
}
#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;
    margin: 0;
    color: var(--map-scondary-color);
}
#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: var(--map-scondary-color);
}
#frt-map-wrap .frt-sidebar .frt-sidebar-body .frt-location-detail-wrap .frt-location-desc-wrap p{
    font-size: 12px;
    color: var(--map-scondary-color);
    line-height: 1.6;
    font-style: normal;
    margin-bottom: 15px;
}
#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: 50%;
        right: auto;
        bottom: 0;
        top: auto;
    }
    #frt-map-wrap .frt-sidebar.close{
        bottom: -50%;
        right: auto;
    }
    #frt-map-wrap .frt-sidebar .toggle-side-bar{
        left: 0;
        top: -50px;
    }
    #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);
    }
}