body,
html {
  height: 100%;
  margin: 0 !important;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

#IranMap {
  display: flex;
  position: relative;
  direction: rtl;
  text-align: right;
  padding: 0;
  font-size: 11px;
  width: 95%;
  margin: auto;
  height: 97vh;
  width: 100% !important;
  padding: 20px !important;
  height: calc(100vh - 0px);
  overflow: hidden !important;
  gap: 15px;
}

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

#map {
  height: 100%;
  border-radius: 15px;
}

#sidebar {
  width: 25%;
  background: #f9f9f9;
  padding: 20px;
  box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1);
  overflow-y: auto;
}

#IranMap .map {
  display: block;
  width: 70%;
  text-align: left;
  z-index: 1;
  position: relative;
  height: 100%;
  border-radius: 15px;

}


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

#IranMap .map .province path {
  fill: #999;
  transition: all 0.3s ease;
}

#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: #00a4af !important;
  cursor: pointer;

}

#list {
  display: flex;
  width: 50%;
  font-size: 13px;
  position: relative;
  height: 100%;
  transition: 0.5s all;
}

.htlist {
  width: 100%;
  background-color: #fff;
  box-shadow: 0px 0px 20px #00000017;
  z-index: 4;
  padding: 20px 20px 0px 20px;
  border-radius: 14px;

}

.htldetails {
  box-shadow: 0px 0px 20px #00000017;
  border-radius: 10px;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  padding: 20px;
  transition: 0.5s;
  transform: translateX(0%);
  z-index: 3;
  overflow: hidden;
  opacity: 0;
  width: 70%;
  position: absolute;
  top: 0;
  left: 0;
}

.htldetails.open {
  transform: translateX(-102%);
  opacity: 1;
}

span.htld-close {
  font-size: 18px;
  padding: 7px;
  background-color: #e8e8e8;
  width: 21px;
  height: 21px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 100%;
  cursor: pointer;
  font-weight: bold;
}
div.htld-close {
  position: absolute;
  bottom: 4px;
  right: 50%;
  transform: translateX(50%);
  font-size: 10px;
  background-color: #00b0b5;
  padding: 0px 6px;
  border-radius: 6px;
  color: #fff;
  font-weight: bold;
}
div.htld-close img {
  width: 14px;
  filter: invert(100);
}
.shomorhrs span {
  border: 1px solid #00b0b5;
  padding: 3px 7px;
  border-radius: 15px;
  font-weight: normal;
}
.htdlhead {
  display: flex;
  align-items: center;
}

.htdlhead h4 {
  padding: 4px;
  margin: 0;
  font-size: 15px;
  font-weight: bold;
}

.htldcontent {
  margin-top: 3px;
}

.htdlhead img {
  width: 20px;
  height: 20px;
  display: block;
  margin-bottom: -3px;
  margin-left: 6px;
}
.htdlhead {
  margin-bottom: 13px;
}
.htldcontent p {
  margin-bottom: 10px;
  line-height: 22px;
}
.htlinner {
  height: 100%;
  overflow-y: scroll;
  scrollbar-width: none;
  position: relative;
}

.htlist::after {
  height: 60px;
  content: '';
  position: absolute;
  bottom: 0;
  border-radius: 0px 0px 10px 10px;
  background: linear-gradient(to bottom, #fff0 0%, #fff);
  background-color: transparent;
  z-index: 7;
  width: 100%;
  right: 0;
}

.htlhead {
  background-color: #fff;
  display: flex;
  flex-direction: column;
  padding-bottom: 14px;
  top: 0;
  z-index: 1;
  position: sticky;
  border-bottom: 1px solid #f2f2f2;
  margin-bottom: 6px;
}

.htlhead input {
  width: 100%;
  padding: 8px 14px;
  border-radius: 25px;
  border: 1px solid #d7d7d7;
}

#htlsearch {
  position: absolute;
  left: 11px;
  padding: 1px 12px;
  border-radius: 25px;
  border: none;
  bottom: 22px;
  transition: 0.2s;
  cursor: pointer;
  background-color: #00b0b5c7;
  color: #fff;
}

.htlhead h2 {
  background-color: #f4f8fa;
  padding: 6px;
  border-radius: 7px;
  text-align: center;
  color: #000;
  line-height: normal;
  margin-bottom: inherit;
  font-weight: bold;
  font-size: 16px;
}

.htl-ul {
  list-style: none;
  padding: 0;
}

.htlocs {
  display: flex;
  align-items: center;
}

.htlocs img {
  width: 50px;
  transition: 0.3s;
  margin-left: 13px;
  margin-right: 5px;
}

.htl-ul li {
  padding: 10px 0px;
  transition: 0.3s;
  border-bottom: 1px solid #f0f0f0;
  border-radius: 4px;
}

.htl-ul li:hover {
  background-color: #f4f8fa;
  cursor: pointer;
}

.htl-ul li:hover img {
  transition: 0.3s;
  transform: scale(1.08);
}

.htl-ul li.open {
  background-color: #ebf9f9;
}

.htlocshead span {
  background-color: #00b0b5;
  padding: 2px 10px;
  color: #fff;
  font-size: 12px;
  border-radius: 5px;
  margin-left: 8px;
}

.htlocshead h3 {
  display: inline-block;
  margin: 6px 0;
  line-height: inherit;
  font-size: 14px;
  font-weight: bold;
  color: #121c24;
}

.htlocscontent p {
  margin-bottom: 4px;
}

.htldsocial > a {
  padding: 0px 11px;
  background: #00b0b5;
  border-radius: 25px;
  display: inline-block;
  margin-left: 10px;
  color: #fff;
  cursor: pointer;
  margin-bottom: 6px !important;
}

.htldsocial {
  margin: 10px 0 10px 0;
}

.htldcontent.show,
.show {
  animation: showdetails 0.5s forwards;
  transform-origin: top;
}

@keyframes showdetails {
  0% {
    transform: translate(10px, 0);
    opacity: 0.1;
  }

  100% {
    transform: translate(0px, 0px);
    opacity: 1;
  }
}

.htlocscontent span {
  display: block;
}

.blurred {
  filter: blur(5px);
  pointer-events: none;
  /* optional: prevent clicks */
  transition: filter 0.8s ease;
}

.leaflet-popup-content {
  margin: 10px;
  line-height: 1.3;
  font-size: 12px;
  font-family: Yekan !important;
}

.shanbe {
  display: flex;
  justify-content: space-between;
}
    .hoursdetails {
        height: 0px;
        transition: 0.4s;
        overflow: hidden;
        margin-top: 25px;
    }
.shomorhrs {
  cursor: pointer;
  margin-top: 3px;
  display: inline-block;
}
.htTodayhours{
  display: block;
  direction: ltr;
}
.htldmore img,.htldcontent p img {
  width: 10px;
  margin-left: 6px;
}
.hoursdetails .shanbe:nth-child(2n) {
  background-color: #f4f8fa;
}
.shanbe {
  display: flex;
  justify-content: space-between;
  padding: 2px 10px;
  border-radius: 4px;
  direction: ltr;
  flex-direction: row-reverse;
}

.htlicon {
  width: 20px !important;
  display: block;
  margin: auto !important;
  margin-bottom: 20px !important;
}
.htdlhead h4{
  position: relative;
}
.htdlhead h4::after {
  content: " ";
  position: absolute;
  bottom: 6px;
  right: 0;
  display: block;
  height: 6px;
  width: calc(100% + 6px);
  background-color: #00a4b04d;
  -webkit-clip-path: polygon(6px 0,100% 0,100% 100%,0 100%);
  clip-path: polygon(6px 0,100% 0,100% 100%,0 100%);
  z-index: 0;
}
.shomorhrs img.rotate {
  transform: rotate(180deg);
}
.shomorhrs img {
  transition: 0.4s;
}
.leaflet-container a.leaflet-popup-close-button {
  top: -6px !important;
}
#IranMap b, #IranMap h4,.shomorhrs {
  color: #000 !important;
  font-weight: bold;
}
section.p-1 > div {
  padding-right: 0px !important;
  padding-left: 0px !important;
}
.hourdropdown {
  font-weight: bold;
  color: #000;
}
.htmapmodalcontent img {
  width: 23px;
}
.htmapmodal {
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  position: absolute;
  background-color: #f4f8fa;
  border-radius: 23px;
  z-index: -1;
  transition: 0.4s;
  opacity: 0;
}
.htmaplinks {
  display: flex;
  flex-direction: column;
}
.htmapmodalcontent {
  padding: 10px 20px;
  border-radius: 15px;
  text-align: center;
}
.htmaplinks {
  display: flex;
  flex-direction: column;
  border: 1px solid #f0f0f0;
  padding: 15px 15px;
  background-color: #fff;
  border-radius: 35px;
  margin-top: 20px;
}
.htmodalheader {
  font-weight: bold;
  color: #000;
  position: relative;
}
.htmaplinks a {
  color: #000;
  text-align: right;
  margin-bottom: 10px;
  border-bottom: 1px solid #f0f0f0;
  padding-bottom: 10px;
  transition: 0.2s;
}
.htmaplinks a:hover {
  transform: scale(0.9);
  cursor: pointer;
}
.htmaplinks a:last-child {
  border-bottom: none;
  margin-bottom: 0px;
  padding: 0px;
}
.htmaplinks a:nth-child(2){
    border-bottom: none;
  margin-bottom: 0px;
  padding: 0px;
}
.htmaplinks a img {
  margin-left:5px;
}
.htmodalheader::after {
  position: absolute;
  bottom: -5px;
  right: 50%;
  transform: translateX(50%);
  background-color: #38c1c5;
  width: 40px;
  height: 2px;
  content: '';
  border-radius: 10px;
}
.htmodalheader {
  font-weight: bold;
  color: #000;
  position: relative;
  margin-bottom: 20px !important;
  display: block;
}
.showModal {
  opacity: 1;
  z-index: 2 !important;
}
div.htmapmodal-close {
  font-size: 12px;
  background-color: #00b0b5;
  padding: 1px 7px;
  border-radius: 5px;
  color: #fff;
  cursor: pointer;
  font-weight: bold;
  width: max-content;
  margin: auto;
    margin-top: auto;
  margin-top: 20px;
}
.htmap-ba {
  display: none;
}
.htmapmodal-close img {
  width: 15px;
  margin-left: 5px;
  transition: 0.3s;
  transform: scaleY(1.0);
}
.htmapmodal-close:hover img {
  transform: scaleY(-1.0);
}
.leaflet-popup {
  margin-bottom: 60px !important;
  font-weight: bold;
}

































@media(min-width: 768px) {
  #IranMap #list {
    width: 35%;
  }

  .htlist {
    width: 100%;
  }
  div.htld-close{
    display: none;
  }
}

@media (min-width: 1100px) and (max-width: 1350px) {
  .htldetails {
    width: 90%;
  }

  .htlocs img {
    width: 40px;
  }
}

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

  #list {
    width: 100%;
    height: 100%;
  }

  #IranMap .map {
    width: calc(100% - 40px);
    position: absolute;
    bottom: 20px;
    height: calc(40% - 40px);
    right: 20px;
  }

  #IranMap {
    flex-direction: column;
    align-items: center;
  }

  .htldetails.open {
    transform: translateX(0);
    z-index: 4;
  }

  .htldetails {
    width: 100%;
    height: 100%;
  }
/* .htldcontent * {
  font-size: 12px;
}
#IranMap h4{
  font-size: 13px;
} */




}