/* Map */
.iran-map svg {
    width: 100%;
    height: 100%;
}

/* .iran-map svg .land{
    fill: #f0f0f0;
    fill-opacity: 1;
    stroke: #ffffff;
    stroke-opacity: 1;
    stroke-width: 0.5;
    transition: 0.3s;
}
.iran-map svg .land.found{
    fill: #bdbdbd;
} */
/* .iran-map svg .land.hover{
    fill:var(--color1);
} */
.page-template-iran-map h2 {
    font-size: 22px;
    margin-bottom: 10px;
}

.island-list {
    display: flex;
    margin-bottom: 50px;
}

.province-list-wrapper {
    display: inline-block;
    margin-bottom: 40px;
    width: 100%;
}

.province-search-box {
    position: relative;
}

.province-search-box input {
    position: relative;
    width: 100%;
    min-height: 45px;
    border-radius: 8px;
    border: solid 1px #f0f0f0;
    background: #ffffff;
    box-shadow: 3px 6px 18px rgb(0 0 0 / 5%);
    padding: 6px 30px;
}

.province-search-box input:focus {
    border: 1px solid var(--color1);
}

.province-search-box i {
    position: absolute;
    left: 30px;
    top: 13px;
    font-size: 17px;
    color: var(--color2);
    cursor: pointer;
    transition: .3s ease;
}

.province-search-box i:hover {
    color: var(--color1);
}

.province-list-wrapper h4,
.island-list-wrapper h4 {
    font-size: 18px;
    margin: 20px 0;
}

.iran-map-color-status {
    float: left;
    border-radius: 10px;
    border: solid 1px #f3f3f3;
    background: #ffffff;
    box-shadow: 3px 6px 18px rgb(0 0 0 / 5%);
    padding: 10px 30px;
}

.iran-map-color-status li {
    font-size: 10px;
    line-height: 28px;
}

/* List */
.iran-map-list ul {
    list-style-type: none;
    padding: 0;
    /*margin: 0 -2px;*/
}

.iran-map-list ul li {
    width: 50%;
    padding: 0 2px;
    margin: 2px 0;
    float: right;
}

.iran-map-list ul li .inner {
    display: inline-block;
    width: 100%;
    padding: 5px;
    background: #f0f0f0;
    transition: 0.3s;
    border-radius: 8px;
    font-size: 14px;
    text-align: center;
}

.iran-map-list ul li.found .inner {
    background: #bdbdbd;
    color: #FFFFFF;
}

.iran-map-list ul li.hover .inner {
    background-color: var(--color1);
    color: #FFFFFF;
}

/* Color status */
.iran-map-color-status ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.iran-map-color-status ul li:before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    margin: 0 0 0 10px;
    background-color: #f0f0f0;
    border-radius: 2px;
}

.iran-map-color-status ul li.found:before {
    border: solid 1px #666666;
    background: #666666;
}

/* Media queries */
@media (min-width: 1200px) {
    .iran-map-list ul li {
        width: 25%;
    }
}

@media screen and (max-width: 768px) {
    .province-list-wrapper {
        margin-bottom: unset;
    }

    .island-list {
        display: flex;
        margin-bottom: 35px;
    }

    .province-list-wrapper h4,
    .island-list-wrapper h4 {
        font-size: 16px;
        margin: 8px 0;
    }
}

@media only screen and (max-width: 1100px) and (min-width: 768px) {
    .iran-map {
        margin: 35px 0;
    }
}






.iran-map svg {
    width: 100%;
    height: 100%;
}

.iran-map svg .land {
    fill: #83A851;
    fill-opacity: 1;
    stroke: #5F7A3B;
    stroke-opacity: 1;
    stroke-width: 0.5;
    transition: 0.3s;
}

.iran-map svg .land.found {
    fill: #E07839;
}

.iran-map svg .land.found:hover {
    fill: #E07839;
}

.branches .tooltip::after {
    content: '';
    position: absolute;
    top: -8px;
    left: 12%;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid white;
}

.branches .tooltip {
    position: absolute;
    background-color: #ffffff;
    color: #313233;
    padding: 6px 12px;
    visibility: hidden;
    border-radius: 6px;
    font-size: 16px;
    line-height: 22px;
    text-wrap: nowrap;
}

.branches {
    position: relative;
}

.ir--bg {
    background-image: url(../img/iran-map.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
}

.iran-map-wrapper {
    margin-block: 8rem;
}

.iran-map-banner {
    margin-bottom: 120px;
}


.branch__banner img {
    transition: 400ms;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    object-fit: cover;
    border-radius: 32px;
}

.branch__banner {
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 32px;
}

.branch__banner:hover img {
    transform: scale(1.1);
}

.rY {
    transform: rotateY(180deg);
}

@media (max-width:992px) {
    .ir--bg {
        overflow: hidden !important;
    }

    .iran-map-wrapper {
        margin-block: 5rem;
    }

    .iran-map-banner {
        margin-bottom: 80px;
    }
}