
.titlePage{
    margin:24px;
    color: var(--FontColor);
}
.city{
    font-size: 14px;
    counter-reset: var(--BaseBlueColor);  
}
.DataBox{
    display: none;
    font-size: 14px;
    counter-reset: var(--BaseBlueColor);
}
.BannerPic{
    margin-top: 10px;
    width: 100%;
    height: 320px;
}

#IranMap {
    display: flex;
    justify-content: space-between;
    position: relative;
    direction: rtl;
    text-align: right;
    padding: 0;
    font-family: Tahoma;
    font-size: 11px;
    width: 90%;
    margin: 50px auto; 
}

    #IranMap .show-title {
        display: none;
        position: absolute;
        background-color: #333;
        color: #fff;
        margin: 0 !important;
        padding: 0 5px;
        text-align: center;
        line-height: 26px;
        border-radius: 2px;
        -moz-border-radius: 2px;
        -webkit-border-radius: 2px;
        opacity: 0.8;
    }

    #IranMap .map {
        display: block;
        float: left;
        width: 50%;
        text-align: left;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        margin-top: -98px;
        height: 600px;
    }

        #IranMap .map svg {
            height: 100%;
            width: 100%;
        }

        #IranMap .map .border path, #IranMap .map .island path {
            fill: #fff;
        }

        #IranMap .map .province path {
            fill: #999;
        }

        #IranMap .map .sea path, #IranMap .map .lake path {
            fill: #6caed8;
        }

        #IranMap .map .province path:hover, #IranMap .map .island path:hover, #IranMap .map .province path.hover, #IranMap .map .island path.hover {
            fill: #c33a2c !important;
            cursor: pointer;
        }

        #IranMap .BoxList{
            width:45%;
        }

    #IranMap .list {
        display: block;
        float: right;
        width: 100%;
        margin-bottom: 30px;
    }

        #IranMap .list ul {
            padding: 0;
        }

        #IranMap .list > ul {
            margin-left: 10px;
        }

        #IranMap .list li {
            list-style: none;
        }

        #IranMap .list span {
            background: #242424;
            color: #ecf0f1;
            display: block;
            margin: 0 2px;
            padding: 0 8px;
            line-height: 26px;
            margin-top: 10px;
            margin-bottom: 2px;
        }

        #IranMap .list li ul li {
            display: block;
            float: right;
            width: 33.33333333333333%;
        }

            #IranMap .list li ul li a {
                background: #34495e;
                color: #ecf0f1;
                display: block;
                padding: 0 8px;
                line-height: 26px;
                margin: 2px 2px;
                text-decoration: none;
            }

                #IranMap .list li ul li a:hover, #IranMap .list li ul li a.hover {
                    background: #c33a2c;
                }

        #IranMap .list ul:before, #IranMap .list ul:after {
            display: table;
            content: " ";
        }

        #IranMap .list ul, #IranMap .list ul:after {
            clear: both;
        }

    #IranMap .city {
        clear: both;
        padding: 10px 0;
    }




.city-list ul {
    list-style-type: none;
    padding-left: 0;
}

    .city-list ul li a {
        display: block;
        padding: 8px 12px;
        margin: 4px 0;
        background-color: #f0f0f0;
        color: #333;
        border-radius: 6px;
        text-decoration: none;
/*        transition: 0.3s;*/
    }

        .city-list ul li a:hover {
            background-color: #c7e1d4;
            color: #000;
        }

.DataBox {
    /*    display: none;
    margin-top: 30px;*/

    display: none;
    margin-top: 30px;
    max-height: 500px; /* محدودیت ارتفاع */
    overflow-y: auto; /* فقط اسکرول عمودی در صورت نیاز */
    padding: 10px;

}

.city-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #2b4e34;
    margin-bottom: 20px;
}

.branchBox {
    border: 1px solid #d5d5d5;
    border-radius: 10px;
    margin-bottom: 20px;
    background: #f9f9f9;
/*    transition: 0.3s ease;*/
    padding: 20px;
    box-shadow: 0px 1px 4px 0 #736c6c !important;
}

    .branchBox:hover {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
    }












@media(max-width: 745px) {
    #IranMap .list li ul li {
        width: 50%;
    }
}

@media(max-width: 515px) {

        #IranMap .list li ul li {
            width: 33.33333333333333%;
        }

            #IranMap .list li ul li a {
                font-size: 10px !important;
            }
}

@media(max-width: 515px) {
    #IranMap .list li ul li {
        width: 50%;
    }
}

@media(max-width: 250px) {
    #IranMap .list li ul li {
        width: 100%;
    }
}


@media (max-width: 1023px) {
    #IranMap{
        height:450px;
    }
    #IranMap .map{
        display:none;
    }
        #IranMap .BoxList {
            width: 100%;
            height: auto;
            overflow: auto;
        }
    .menuNavDiv {
        display: none;
    }
    .titlePage{
        margin-top:135px;
    }
}



/* Country picker on the branches page (direction-neutral, so it is the same in Agent.css and Agent.ltr.css). */
.branch-country-picker {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin: 0 24px 10px;
}

    .branch-country-picker .form-label {
        margin: 0;
        font-weight: bold;
    }

    .branch-country-picker .form-select {
        width: auto;
        min-width: 220px;
    }

.country-branches {
    margin-top: 30px;
    margin-bottom: 50px;
}

.country-empty {
    padding: 24px;
    border: 1px dashed #c9c9c9;
    border-radius: 10px;
    background: #f9f9f9;
    text-align: center;
}
