/*
 * Iran Map - SVG and Responsive.
 * Free and open source.
 * Version 1.1.0
 * By: MohammadReza Pourmohammad.
 * Email: mohammadrpm@gmail.com
 * Web: http://mrpm.ir
 */
/*
* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
} */

.clearfix::after {
  content: "";
  clear: both;
  display: table;
}

.alh-c-dr {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  float: right;
}
/* .alh-c-dr *{
  width: 100%;
} */

#IranMap {
  display: block;
 

 position: relative;
  direction: rtl;
  text-align: right;
  padding: 0;
  font-family: PeydaWeb;
  font-size: 14px;
  width: 100%;
  margin: 0px auto;
  list-style-type: none !important;
}

#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: right;
  width: 56%;
  /* max-height: 670px; */
  text-align: left;
  margin-left: 40px;
  margin-top: 10px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

/*#IranMap .map {
    display: block;
    float: left;
    width: 65%;*/
/* height: 100vh; */
/* text-align: left;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}*/

#IranMap .map svg {
  max-height: 98vh !important;
  height: 98vh !important;
  width: 99% !important;
}

#IranMap .map .border path,
#IranMap .map .island path {
  /* fill: #fff;*/

  fill: #fdfdfd;
}

#IranMap .map .province path {
  /*  fill: #999;*/
  fill: #d8d3cb;
}
#IranMap .map .sea path {
  fill: #12a2da;
  /* fill: #fdfdfd;*/
}

#IranMap .map .lake path {
  fill: #12a2da;
}

#IranMap .map .province path:hover,
#IranMap .map .island path:hover,
#IranMap .map .province path.hover,
#IranMap .map .island path.hover {
  /*fill: #c33a2c !important;
   fill: #6e0000 !important ;*/
  transition: all 0.6s;

  fill: #0e2254 !important ;
  bolder: red 3px !important;
  cursor: pointer;
  -webkit-transition: all 0.6s;
  -moz-transition: all 0.6s;
  -ms-transition: all 0.6s;
  -o-transition: all 0.6s;
}

.hover {
  font-size: 15px;
}

#IranMap .list {
  display: flex;
  float: right;
  width: 35%;
  height: 94vh;
  align-items: center;
  justify-content: center;
}

#IranMap .list ul {
  padding: 0;
}

#IranMap .list > ul {
  margin-left: 10px;
}

#IranMap .list li {
  list-style: none;
}

#IranMap .list span {
  font-family: "bkoodak";
  /* background: #242424; */
  background: #6e0000;
  color: #ffffff;
  display: block;
  font-size: 22px;
  padding: 4px 8px;
  line-height: 26px;
  text-align: center;
  margin-bottom: 2px;
  border-radius: 2px;
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  -ms-border-radius: 2px;
  -o-border-radius: 2px;
  border-bottom-left-radius: 10px;
  border-top-right-radius: 10px;
}

#IranMap .list li ul li {
  display: block;
  float: right;
  width: 50%;
}

#IranMap .list li ul li a:hover {
  font-size: 18px;
}

#IranMap .list li ul li a {
  transition: all 0.6s;
  -webkit-transition: all 0.6s;
  -moz-transition: all 0.6s;
  -ms-transition: all 0.6s;
  -o-transition: all 0.6s;
  /*background: #34495e;*/
  /* background: #34383c;*/
  background: #181c16;
  color: #ffffff;
  display: block;
  padding: 8px 8px;
  line-height: 12px;
  margin: 2px 2px;
  text-decoration: none;
  font-family: "bkoodak";
  border-radius: 20px;
  font-size: 15px;
  text-align: center;
}

#IranMap .list li ul li a:hover,
#IranMap .list li ul li a.hover {
  /* background: #c33a2c; */
  /* background: #6e0000;*/
  background: #cf0015;
}

#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;
}

/* start modal */

#map-modals {
  /*position: fixed; amir*/
  height: 100vh;
  top: 0;
  right: 0;
  width: 100%;
  z-index: -999;
  background-color: rgba(253, 253, 253, 0);
}
#map-modals ul li {
  list-style-type: none !important;
}
.province-items {
  display: flex;
  float: right;
  width: 35%;
  height: 94vh;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.map-modal {
  overflow-y: scroll;
  overflow-x: hidden;
  height: inherit;
  opacity: 0;
  display: none;
  width: 100%;
  font-family: PeydaWeb;
  font-size: 15px;
  color: #000;
}

.map-modal p {
  text-align: center;
  font-size: 16px;
  font-family: PeydaWeb;
  position: absolute;
  top: -18px;
  right: 25px;
  padding: 0 10px;
  min-width: 100px;
  height: 35px;
  border-radius: 8px;
  background-color: #b2b2b2;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 2px 3px 3px 0 rgba(0, 0, 0, 0.4);
}
.map-modal p img {
  width: 20px;
  height: 20px;
  margin-left: 5px;
}
.container-nam {
  margin-top: 20px;
}
.nam {
  list-style-type: none;
  direction: rtl;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  text-align: right;
  width: 99%;
  padding-top: 20px;
  padding-right: 0;
  margin-right: 4px;
  margin-bottom: 50px;
  background-color: #e1e1e1;
  position: relative;
  border-radius: 15px;
  box-shadow: 2px 3px 3px 0 rgba(0, 0, 0, 0.4);
}

.mgtop {
  margin-top: 10px;
  margin-bottom: 7px;
  display: flex;
  flex-direction: column;
  align-self: end;
  width: 100%;
  padding-right: 10px;
}
.mgtop .row2-modal:not(:last-child) {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
/* .mgtop::after{
    content: "";
    display: block;
    width: 100%;
    border: 1px dashed black;
} */

/* .nam li{
    flex-grow: 1;
} */

/* .nam li:last-child{
    flex-basis: 100%;
} */

.row1-modal {
  display: flex;
  width: 100%;
  align-items: center;
  text-align: right;
  margin: 5px 0;
}

.row1-modal li {
  list-style-type: none !important;
}
.row1-modal img {
  width: 20px;
  height: 20px;
}

.row1-modal li:nth-child(2) {
  margin-right: 3px;
}

.row2-modal {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}

.row2-modal li {
  text-align: right;
}

.row2-modal li:nth-child(1) {
  width: 80%;
  display: flex;
}

.row2-modal :nth-child(2) {
  width: 20%;
}

.number {
  display: block;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  margin-left: 2px;
  background-color: springgreen;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
}

.address {
}

/* .azsh-modal{
    background-color: violet;
}
.azgh-modal{
    background-color: yellow;
}
.ardebil-modal{
    background-color: slateblue;
}
.esfahan-modal{
    background-color: #242424;    
} */

.close {
  margin-bottom: 3px;
  display: flex;
  width: 20px;
  height: 20px;
  position: relative;
  cursor: pointer;
  /* background-color: #c8d1d1;*/
  float: right !important;
}

.closel {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  background-color: white;
  width: 14px;
  height: 2px;
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
}

.closer {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  background-color: white;
  width: 14px;
  height: 2px;
  transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
}

/* end modal */

/* start scroll bar */
/* width */
.map-modal::-webkit-scrollbar {
  width: 0px;
}

/* Track */
.map-modal::-webkit-scrollbar-track {
  background: #f1f1f1;
}

/* Handle */
.map-modal::-webkit-scrollbar-thumb {
  background: #888;
}

/* Handle on hover */
/* .map-modal::-webkit-scrollbar-thumb:hover {
    background: #555;
  } */

/* start responsive */
@media (max-width: 930px) {
  #IranMap .list > ul {
    margin-left: 0;
  }
  #IranMap .map {
    width: 100%;
    text-align: center;
    display: none;
  }
  #IranMap .province-items {
    width: 70%;
    margin: auto;
    float: none;
    height: auto;
  }
}

@media (max-width: 745px) {
  #IranMap .map {
    width: 100%;
    height: auto;
    margin-top: -60px;
    margin-bottom: -60px;
  }
  #IranMap .map svg {
    height: 402px !important;
    width: 99% !important;
  }
  #IranMap .list li ul li {
    width: 50%;
  }
  .row2-modal li:nth-child(1) {
    width: 100%;
    display: flex;
  }

  .row2-modal :nth-child(2) {
    width: 100%;
  }
}

@media (max-width: 515px) {
  #IranMap .province-items {
    width: 100%;
  }
  #IranMap .map {
    width: 100%;
  }
  #IranMap .list li ul li {
    width: 33.33333333333333%;
  }
  #IranMap .list li ul li a {
    font-size: 12px !important;
  }
}

@media (max-width: 515px) {
  #IranMap .list li ul li {
    width: 50%;
  }
}

@media (max-width: 250px) {
  #IranMap .list li ul li {
    width: 100%;
  }
}