/*
 * Iran Map - SVG and Responsive.
 * Free and open source.
 * Version 1.1.0
 * By: MohammadReza Pourmohammad.
 * Email: mohammadrpm@gmail.com
 * Web: http://mrpm.ir
 */

#IranMap{
    display: block;
    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;
}
#IranMap .map svg{
    height: 500px;
    width: 500px;
}
#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: #fff !important;
    cursor: pointer;

}

#IranMap .list{
    display: block;
    float: right;
    width: 50%;
}
#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: white !important;
        color: black !important;
    }
#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;
}

@media(max-width: 930px){
    #IranMap .list{
        width: 50%;
    }
}
@media(max-width: 745px){
    #IranMap .list li ul li{
        width: 50%;
    }
}
@media(max-width: 515px){
    #IranMap .list, #IranMap .map{
        width: 100%;
    }
    #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%;
    }
}
.azerbaijan-east { fill: #6EC1E4 !important; }     /* آبی آسمانی زنده */
.azerbaijan-west { fill: #F4A261 !important; }      /* نارنجی خاکی */
.ardabil { fill: #2A9D8F !important; }              /* سبزآبی متین */
.isfahan { fill: #E76F51 !important; }              /* نارنجی گرم */
.alborz { fill: #8ECAE6 !important; }               /* آبی ملایم ولی واضح */
.ilam { fill: #F9844A !important; }                 /* هلویی زنده */
.bushehr { fill: #6D6875 !important; }              /* بنفش خاکستری خاص */
.tehran { fill: #E63946 !important; }               /* قرمز شارپ ولی کنترل‌شده */
.chahar-mahaal-bakhtiari { fill: #457B9D !important; }
.khorasan-south { fill: #FFB703 !important; }       /* زرد قوی و روشن */
.khorasan-razavi { fill: #264653 !important; }      /* سبز تیره حرفه‌ای */
.khorasan-north { fill: #A8DADC !important; }
.khuzestan { fill: #F94144 !important; }
.zanjan { fill: #90BE6D !important; }               /* سبز زیتونی سبک */
.semnan { fill: #F9C74F !important; }
.sistan-baluchestan { fill: #277DA1 !important; }
.fars { fill: #4D908E !important; }
.qazvin { fill: #F3722C !important; }
.qom { fill: #F9A826 !important; }
.kurdistan { fill: #F8961E !important; }
.kerman { fill: #577590 !important; }
.kermanshah { fill: #43AA8B !important; }
.kohgiluyeh-boyer-ahmad { fill: #BC4749 !important; }
.golestan { fill: #56A3A6 !important; }
.gilan { fill: #E9C46A !important; }
.lorestan { fill: #3D405B !important; }
.mazandaran { fill: #118AB2 !important; }
.markazi { fill: #EF476F !important; }
.hormozgan { fill: #FB5607 !important; }
.hamadan { fill: #6A4C93 !important; }
.yazd { fill: #9D4EDD !important; }

.abu-musa { fill: #FF9F1C !important; }
.qeshm { fill: #2EC4B6 !important; }
.farur-big { fill: #FF6F61 !important; }
.farur-small { fill: #F15BB5 !important; }
.hendorabi { fill: #00BBF9 !important; }
.hengam { fill: #F72585 !important; }
.hormoz { fill: #7209B7 !important; }
.khark { fill: #3F37C9 !important; }
.kish { fill: #4895EF !important; }
.larak { fill: #4CC9F0 !important; }
.lavan { fill: #56CFE1 !important; }
.siri { fill: #72EFDD !important; }
.tonb-big { fill: #80FFDB !important; }
.tonb-small { fill: #BDB2FF !important; }

li.azerbaijan-east a {
    background-color: #6EC1E4 !important;
    color: white;
}

li.azerbaijan-west a {
    background-color: #F4A261 !important;
    color: white;
}

li.ardabil a {
    background-color: #2A9D8F !important;
    color: white;
}

li.isfahan a {
    background-color: #E76F51 !important;
    color: white;
}

li.alborz a {
    background-color: #8ECAE6 !important;
    color: black;
}

li.ilam a {
    background-color: #F9844A !important;
    color: white;
}

li.bushehr a {
    background-color: #6D6875 !important;
    color: white;
}

li.tehran a {
    background-color: #E63946 !important;
    color: white;
}

li.chahar-mahaal-bakhtiari a {
    background-color: #457B9D !important;
    color: white;
}

li.khorasan-south a {
    background-color: #FFB703 !important;
    color: black;
}

li.khorasan-razavi a {
    background-color: #264653 !important;
    color: white;
}

li.khorasan-north a {
    background-color: #A8DADC !important;
    color: black;
}

li.khuzestan a {
    background-color: #F94144 !important;
    color: white;
}

li.zanjan a {
    background-color: #90BE6D !important;
    color: black;
}

li.semnan a {
    background-color: #F9C74F !important;
    color: black;
}

li.sistan-baluchestan a {
    background-color: #277DA1 !important;
    color: white;
}

li.fars a {
    background-color: #4D908E !important;
    color: white;
}

li.qazvin a {
    background-color: #F3722C !important;
    color: white;
}

li.qom a {
    background-color: #F9A826 !important;
    color: black;
}

li.kurdistan a {
    background-color: #F8961E !important;
    color: black;
}

li.kerman a {
    background-color: #577590 !important;
    color: white;
}

li.kermanshah a {
    background-color: #43AA8B !important;
    color: white;
}

li.kohgiluyeh-boyer-ahmad a {
    background-color: #BC4749 !important;
    color: white;
}

li.golestan a {
    background-color: #56A3A6 !important;
    color: white;
}

li.gilan a {
    background-color: #E9C46A !important;
    color: black;
}

li.lorestan a {
    background-color: #3D405B !important;
    color: white;
}

li.mazandaran a {
    background-color: #118AB2 !important;
    color: white;
}

li.markazi a {
    background-color: #EF476F !important;
    color: white;
}

li.hormozgan a {
    background-color: #FB5607 !important;
    color: white;
}

li.hamadan a {
    background-color: #6A4C93 !important;
    color: white;
}

li.yazd a {
    background-color: #9D4EDD !important;
    color: white;
}


li a:hover {
    color: black !important;
    background-color: white !important;
}