﻿/*
 * Iran Map - SVG and Responsive.
 * Free and open source.
 * Version 1.1.0
 * By: MohammadReza Pourmohammad.
 * Email: mohammadrpm@gmail.com
 * Web: http://mrpm.ir
 */
.boxLearns2 {
    float: right;
    width: 100%;
    padding: 30px 0;
    margin-bottom: 50px;
}
#IranMap {
    display: block;
    position: relative;
    direction: rtl;
    text-align: right;
    padding: 0;
    font-family: "INT", sans-serif;
    font-size: 11px;
    width: 100%;
    margin: 30px 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!important;
            width: 500px!important;
        }

        #IranMap .map .border path, #IranMap .map .island path {
            fill: #fff;
        }

        #IranMap .map .province path {
            fill: #00347c;
        }

        #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: #009999 !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: #03367c;
                color: #fff;
                display: block;
                padding: 5px 8px;
                line-height: 26px;
                margin: 2px 2px;
                border-radius: 5px;
                text-decoration: none;
                font-size: 12px
            }

                #IranMap .list li ul li a:hover, #IranMap .list li ul li a.hover {
                    background: #66cccc;
                    color: #006666;
                }

        #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%;
    }
    #IranMap .map svg {
        height: auto !important;
        width: auto !important;
    }
}

@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%;
    }
}
