#map {
    display: block;
    position: relative;
    direction: rtl;
    text-align: right;
    padding: 0;
    font-size: 13px;
    width: 100%;
}

#map .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: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    opacity: 0.8;
}

#map .right {
    display: block;
    float: right;
    width: 50%;
}

#map .list {
    display: block;
    margin: 70px 10px 0 10px;
}

#map .list li {
    list-style: none;
}

#map .list li > span {
    background-color: #f2f2f2;
    color: #000;
    display: block;
    margin: 0 2px;
    font-weight: bold;
    padding: 1rem;
    font-size: 15px;
    line-height: 26px;
    margin-top: 10px;
    margin-bottom: 2px;
    border-radius: 4px;
    text-align:left;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
}
.agancy-tab-wrapper {
    width: 100%;
    clear: both;
    padding: .5rem;
    background: #f2f2f2;
    text-align: left;
}
.agancy-tab-info-wrapper {
    background: #f2f2f2;
    padding: 15px 10px;
    margin-bottom: 5px;
    overflow: hidden;
    border-bottom: 2px solid #eee;
}
#map .list li ul li {
    display: block;
    float: left;
    width: 33.33333333333333%;
}

#map .list li ul li a {
    background: #f2f2f2;
    color: #000;
    display: block;
    padding: 5px 1rem;
    line-height: 26px;
    margin: 2px 2px;
    text-align: left;
    text-decoration: none;
}

#map .list li ul li a:hover,
#map .list li ul li a.hover,
#map .list li ul li a.active {
    background: var(--second);
    color: #fff !important;
}

#map .list ul:before,
#map .list ul:after {
    display: table;
    content: " ";
}

#map .list ul,
#map .list ul:after {
    clear: both;
}

#map .left {
    display: block;
    float: left;
    width: 50%;
    text-align: center;
}

.map-iran {
    height: 500px;
    width: 500px;
}

.map-iran .border path,
.map-iran .island path {
    fill: #fff;
}

.map-iran .province path {
    fill: #f2f2f2;
}

.map-iran .sea path,
.map-iran .lake path {
    fill: #6caed8;
}

.map-iran .province path:hover,
.map-iran .island path:hover,
.map-iran .province path.hover,
.map-iran .island path.hover {
    fill: var(--second) !important;
    cursor: pointer;
}

@media(max-width: 992px) {
    #map .right,
    #map .left {
        width: 100%;
    }
}

@media(max-width: 745px) {
    .list li ul li {
        width: 50%;
    }
}

@media(max-width: 515px) {
    .list li ul li {
        width: 33.33333333333333%;
    }

    .list li ul li a {
        font-size: 10px !important;
    }
}

@media(max-width: 250px) {
    .list li ul li {
        width: 100%;
    }
}

.clear:before,
.clear:after {
    display: table;
    content: " ";
}

.clear,
.clear:after {
    clear: both;
}
