.h_iframe-aparat_embed_frame {
    position: relative;
}

.h_iframe-aparat_embed_frame .ratio {
    display: block;
    width: 100%;
    height: auto;
}

.h_iframe-aparat_embed_frame {
    position: relative;
}

.h_iframe-aparat_embed_frame .ratio {
    display: block;
    width: 100%;
    height: auto;
}

.h_iframe-aparat_embed_frame iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.h_iframe-aparat_embed_frame iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

@font-face {
    font-family: 'vazir';
    src: url("../font/Vazir-Medium.ttf");
}

body {
    font-family: 'vazir' !important;
}

* {
    font-family: 'vazir' !important;
}

.leaflet-right .leaflet-control-attribution {
    display: none;
}

#miniMap {
    position: absolute;
    top: 50px;
    right: 15px;
    width: 200px;
    height: 150px;
    z-index: 9999;
    border: 1px solid #555;
    border-radius: 20px;
    background: #ff000000;
}

#panel {
    position: absolute;
    top: 35vh;
    right: 15px;
    /* width: 200px; */
    height: fit-content;
    z-index: 9999;
    border: 1px solid #555;
    border-radius: 20px;
    background: #7cdf936e;
}

.btn-panel {
    transition: .3s;
    cursor: pointer !important;
    background-color: #7cdf93b6;
    width: 40px;
    font-size: 23px;
    box-shadow: 0px 5px 10px #00000034;
    height: 40px;
}

.btn-panel:hover {
    box-shadow: 0px 5px 10px #00000067;
    transform: scale(1.1) !important;
}

.dropleft .dropdown-toggle::before {
    display: none;
}

.water-color {
    width: 20px !important;
    height: 20px !important;
    border-radius: 7px;
    display: inline-block;
    margin-left: 10px;
    background-color: rgb(152, 208, 224);
}

.green-color {
    width: 20px !important;
    height: 20px !important;
    border-radius: 7px;
    display: inline-block;
    margin-left: 10px;
    background-color: rgb(152, 224, 162);
}

.shop-color {
    width: 20px !important;
    height: 20px !important;
    border-radius: 7px;
    display: inline-block;
    margin-left: 10px;
    background-color: rgb(242, 218, 217);
}

.school-color {
    width: 20px !important;
    height: 20px !important;
    border-radius: 7px;
    display: inline-block;
    margin-left: 10px;
    background-color: rgb(255, 255, 213);
}

.dropdown-menu {
    padding: 10px;
    text-align: right;
    width: fit-content;
    border-radius: 20px;
}

.f-small {
    display: inline-block;
    font-size: small;
}

.leaflet-control-container {
    z-index: 10090000 !important;
}

.leaflet-control {
    position: fixed;
    bottom: 10vh;  
    right: 15px;
    padding: 10px;
    border-radius: 20px;
    z-index: 9999;
    border: 1px solid #555;
    border-radius: 20px;
    background: #7cdf936e;
    transition: .3s;
    /* color: ; */
}
.leaflet-control-zoom {
    display: none !important;
}

#areaDisplay {
    position: fixed;
    bottom: 0;
    right: 0;
    padding: 10px;
    border-radius: 20px;
    background: #7cdf936e;
    height: fit-content;
    text-align: right;
    width: fit-content;
    margin: 15px;
    z-index: 10000;
}
.leaflet-draw-actions li a{
    background: #7cdf93cf !important;
    color: black;
    box-shadow: 0px 5px 10px #00000034;
}
.leaflet-draw {
    display: none;
    transition: .3s;
}
.leaflet-draw-actions{
    position: fixed;
    top: 40vh !important;
    right: 10px !important;
    z-index: 9999;
}
.leaflet-draw-actions{
    position: static;
}
.form-controll {
    display: block;
    /* width: 100%; */
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    z-index: 1111111;
}
.leaflet-draw-edit-edit,.leaflet-draw-edit-remove,.leaflet-draw-draw-polygon{
    transition: .3s;
    cursor: pointer !important;
    background-color: #7cdf93cf !important;
    border: none !important;
    margin: 0;
    border-radius: 100% !important;
    box-shadow: 0px 5px 10px #00000034;
}
.leaflet-draw-edit-remove{
    margin-bottom: 5px;
}
.leaflet-draw-edit-edit{
    margin-bottom: 13px;
}
.leaflet-draw-edit-edit:hover,.leaflet-draw-edit-remove:hover,.leaflet-draw-draw-polygon:hover {
    box-shadow: 0px 5px 10px #00000067 !important;
    transform: scale(1.1) !important;
}
.leaflet-draw-toolbar{
    border: none !important;
}
.form-controll::-ms-expand {
    background-color: transparent;
    border: 0;
}

.form-controll:focus {
    color: #495057;
    background-color: #fff;
    border-color: #80bdff;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, .25);
}

.form-controll::placeholder {
    color: #6c757d;
    opacity: 1;
}

.form-controll:disabled,
.form-controll[readonly] {
    background-color: #e9ecef;
    opacity: 1;
}

.form-controll:disabled {
    cursor: not-allowed;
}

select.form-controll:focus::-ms-value {
    color: #495057;
    background-color: #fff;
}

select.form-controll[multiple],
select.form-controll[size] {
    height: auto;
}

textarea.form-controll {
    height: auto;
}

.f-s {
    white-space: nowrap;
    font-size: 10px;
}

.f-st {
    white-space: nowrap;
    font-size: 13px !important;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

#map {
    width: 100%;
    height: 95vh;
}

.sideItem:hover {
    background: rgb(221, 221, 221);
    cursor: pointer;
}

.sideItem {
    margin: 7px 0;
    font-size: small;
}

/* ساختار پایه برای layout دو ستونه */
.main {
    display: flex;
    height: 100vh;
    /* کل ارتفاع صفحه */
    overflow: hidden;
    /* جلوگیری از اسکرول کل صفحه */
}

body,
html {
    overflow: visible !important;
}

/* سایدبار */
.sidebarr {
    width: 280px;
    /* عرض سایدبار */
    background-color: #f8f9fa;
    /* رنگ پس‌زمینه */
    border-right: 1px solid #ddd;
    overflow-y: auto;
    /* اسکرول عمودی فقط برای سایدبار */
    position: sticky;
    top: 0;
    /* همیشه از بالای صفحه چسبیده */
    height: 95vh;
    /* ارتفاع کامل */
    scrollbar-width: thin;
    /* برای فایرفاکس */
    scrollbar-color: #999 #f0f0f0;
    /* رنگ اسکرول */
}

/* برای کروم و مرورگرهای WebKit */
.sidebarr::-webkit-scrollbar {
    width: 6px;
}

.sidebarr::-webkit-scrollbar-track {
    background: #f0f0f0;
}

.sidebarr::-webkit-scrollbar-thumb {
    background-color: #999;
    border-radius: 3px;
}

/* محتوای اصلی */
.main-content {
    flex: 1;
    overflow-y: auto;
    /* اسکرول مستقل برای محتوا در صورت نیاز */
    padding: 20px;
}

.header {
    padding-bottom: 30px;
    position: fixed;
    top: 0;
    width: 220px;
    left: 0;
    bottom: 0;
    overflow-y: auto;
    z-index: 1000;
    transition: 0.3s;
    display: block;
}

@media (max-width: 767px) {
    .header {
        left: -100%;
        transition: 0.3s;
    }
}

.header.header-show {
    left: 0;
    transition: 0.3s;
}

.header .header-toggle:hover {
    background-color: #d9d9d9;
}

.header-alert i {
    cursor: pointer;
    transition: .3s;
}

.header-alert i:hover {
    color: #bfdac6;
    ;
}

#layers {
    display: none;
}

#Project360List {
    display: none;
}

#Shanasaei {
    display: none;
}

#SearchAramestan {
    display: none;
}

#ShomareShenasaeMelk {
    font-size: small;
}

.font-small {
    font-size: small;
}

.header-alert {
    box-shadow: 0 10px 20px #1557243d;
}

#accordionExample p {
    /* font-size: 10px; */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: larger;
}

#accordionExample .card {
    font-size: small;
}

#accordionExample .card tr {
    cursor: pointer;
}

#imageslarge img {
    width: 15%;
    height: 15%;
}

.TextDecoration-none {
    text-decoration: none !important;
    color: #212529;
    transition: 0.3s;
}

.TextDecoration-none:hover {
    color: #000000;
    background-color: #ddd;
    transition: 0.3s;
    box-shadow: 0px 20px 50px #0000003d;
}

.shenavarBTN {
    /* background-color: #fff; */
    position: fixed;
    top: 0;
    width: 100%;
    right: 0;
    z-index: 10000;
}

#fullScreen {
    background-color: #7cdf93b9;
    color: black !important;
    box-shadow: 0px 5px 10px #00000052;
    border-color: #79f39579;
    transition: .4s;
    width: 50%;
}

#fullScreen:hover,
#ClearMap:hover {
    background-color: #7cdf93ea;
    box-shadow: 0px 5px 10px #00000067;
}

#ClearMap {
    transition: .3s;
    background-color: #7cdf93b9;
    width: 50%;
    color: black !important;
    box-shadow: 0px 5px 10px #00000052;
    border-color: #79f39579;
}

#InputSearch {
    position: fixed;
    top: 40px;
    right: 0px;
    width: 50%;
    z-index: 999;
}

#inpSearch {
    transition: .3s;
}

#inpSearch:hover {
    text-decoration: none;
    color: #495057;
    background-color: #c5c7c9;
}

#InputSearchOmrani {
    position: fixed;
    top: 40px;
    right: 0px;
    width: 50%;
    z-index: 999;
}

#inpSearchOmrani {
    transition: .3s;
}

#inpSearchOmrani:hover {
    text-decoration: none;
    color: #495057;
    background-color: #c5c7c9;
}

.btnSearchStyle:hover {
    background-color: #7cdb928e !important;
    color: #575757 !important;
}

@media (max-width: 410px) {
    #fullScreen {
        width: max-content;
    }

    #ClearMap {
        width: fit-content;
    }
}

@media (max-width: 530px) {
    #InputSearchOmrani {
        width: 100%;
    }

    #InputSearch {
        width: 100%;
    }
}

.btnSearchStyle {
    color: black;
    font-size: small;
    box-shadow: none;
    border: 1px solid #75c487;
    background-color: #7cdb92b9;
}

.inpSearchStyle {
    font-size: small;
    background-color: #d2e7d7d3;
    transition: .5s;
}

.ShoraImage {
    box-shadow: 0px 0px 20px #00000052;
    /* box-shadow: 0px 5px 10px #79f39579; */
    border-radius: 50%;
}

.CardShora {
    box-shadow: 0px 5px 10px #00000052;
    border-top-left-radius: 50%;
    border-top-right-radius: 50%;
    font-size: 12px;
}

.CardShora p {
    white-space: nowrap;
}

.CardShora .badge {
    white-space: nowrap;
}

.cal-btn {
    display: inline-block;
    width: 40px;
    height: fit-content;
    text-align: center;
    text-decoration: none;
    color: #000000;
    background-color: #79f39579;
    transition: .2s;
    font-size: 18px;
    border-radius: 100%;
    padding: 3px;
    margin: 10px;
    box-shadow: 0px 0px 10px #79f395;
}

.cal-btn:hover {
    color: #000000;
    background-color: #79f39546;
}

.cal-btn:hover {
    color: #8a8a8a;
}

.bg-image {
    position: relative;
    z-index: 1;
    min-height: 100vh;
}

body {
    overflow-x: hidden !important;
}

.bg-image::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: url("../images/bg-map.png") center/cover no-repeat;
    filter: blur(10px);
    transform: scale(1.1);
}

.hover-success:hover {
    color: white !important;
}

.hover-header {
    transition: .2s;
}

.hover-header:hover {
    background: #e4e4e4;
}