.map-provinces-show-list-btn {
  position: absolute;
  top: 10px;
  right: 168px;
  z-index: 401;
  background: #0b6078;
  border-radius: 5px;
  padding: 5px;
  border: none;
}

.modal#province_map .province-map-box svg {
  margin: auto;
  height: auto;
}
.modal#province_map .province-map-box svg #iran path {
  fill: #e9e9e9;
}
.modal#province_map .province-map-box svg #iran .kerman,
.modal#province_map .province-map-box svg #iran .isfahan,
.modal#province_map .province-map-box svg #iran .azerbaijan-east {
  cursor: pointer;
  fill: #bdbdbd;
}
.modal#province_map .province-map-box svg #iran .kerman:hover,
.modal#province_map .province-map-box svg #iran .isfahan:hover,
.modal#province_map .province-map-box svg #iran .azerbaijan-east:hover {
  fill: #ff5630;
}
.modal#province_map .province-map-box svg #iran .map-selected {
  fill: #ff5630;
}
.modal#province_map .province-map-box svg .border path,
.modal#province_map .province-map-box svg .island path {
  fill: #fff;
}
.modal#province_map .province-map-box svg .sea path,
.modal#province_map .province-map-box svg .lake path {
  fill: #6caed8;
}
.modal#province_map .province-map-box .tooltiptextmap {
  display: none;
  background-color: #333;
  color: #fff;
  text-align: center;
  margin: 0;
  padding: 0 5px;
  font-size: 13px;
  line-height: 26px;
  border-radius: 2px;
  position: absolute;
  opacity: 0.8;
}

#map {
  width: 100%;
  height: 100%;
}
#map .map-routing-popup-distance {
  color: #f56b39;
}
#map .map-routing-popup-time {
  color: #f56b39;
}

.leaflet-container {
  font-family: "IRANSansFaNum";
}

.marker-cluster div {
  font: 12px "IRANSansFaNum";
}

.leaflet-container .leaflet-control-attribution {
  background: transparent;
}

.leaflet-control-attribution-box {
  --bs-text-opacity: 1;
  color: rgba(var(--bs-dark-rgb), var(--bs-text-opacity)) !important;
}

body[map-tile=dark] .leaflet-control-attribution-box {
  --bs-text-opacity: 1;
  color: rgba(var(--bs-light-rgb), var(--bs-text-opacity)) !important;
}

.leaflet-contextmenu a.leaflet-contextmenu-item {
  font-size: 14px;
  padding: 5px 12px;
}

.leaflet-contextmenu-icon {
  float: right;
  margin: 2px 0 0 8px;
}

.leaflet-grab {
  cursor: auto;
}

.leaflet-dragging .leaflet-grab {
  cursor: move;
}

@media (max-width: 991.98px) {
  .leaflet-bottom .leaflet-control {
    margin-bottom: 27px;
  }
}
.map-limitation .category_fa {
  color: #F56B39;
}

.map-obstruction .category_fa {
  color: #F56B39;
}

.footer {
  z-index: 400;
  background-color: rgba(255, 255, 255, 0.79);
  font-size: 10px;
  cursor: pointer;
}
@media (min-width: 992px) {
  .footer {
    font-size: 12px;
  }
}

.history-item {
  border: 1px dashed #f56b39;
  border-radius: 5px;
  cursor: pointer;
}

.history-src-des-text {
  max-width: 80px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 14px;
  font-weight: 400;
}
.history-src-des-text:hover {
  color: #C34F28 !important;
}

.empty-history {
  text-align: center;
  letter-spacing: 2px;
  color: #ff5c0f;
  padding-top: 10px;
  padding-bottom: 10px;
}

.map-routing-box .map-input-location .input-location-check {
  border-top-right-radius: 0.25rem !important;
  border-bottom-right-radius: 0.25rem !important;
}
.map-routing-box .map-input-location .map-routing-city-list {
  width: 100%;
  max-height: 150px;
  overflow-y: scroll;
  position: absolute;
  z-index: 99;
  top: 100%;
  background-color: #ffff;
  font-size: 14px;
  overflow: auto;
  scroll-behavior: smooth;
  scrollbar-color: #C5C2C2;
  scrollbar-width: thin;
}
.map-routing-box .map-input-location .map-routing-city-list::-webkit-scrollbar {
  width: 5px;
}
.map-routing-box .map-input-location .map-routing-city-list::-webkit-scrollbar-track {
  background: transparent;
}
.map-routing-box .map-input-location .map-routing-city-list::-webkit-scrollbar-thumb {
  background: #A2A2A2;
}
.map-routing-box .map-input-location .map-routing-city-list .suggestion-each-item {
  border: 1px solid #ced4da;
}
.map-routing-box .map-input-location .map-routing-city-list .suggestion-each-item:hover {
  background-color: #077695;
  cursor: pointer;
  color: #ffffff;
}
.map-routing-box .map-input-location .map-routing-city-list .selected {
  background-color: #077695;
  color: #ffffff;
}
.map-routing-box .map-btn-routing {
  color: #F56B39;
  font-size: 14px;
  border-color: #ced4da;
}
.map-routing-box .map-btn-routing:hover {
  background-color: #077695;
}
.map-routing-box .map-routing-height {
  min-height: 45%;
}

.leaflet-bar-layers {
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
}
.leaflet-bar-layers a {
  background-color: #077695;
}
.leaflet-bar-layers a:hover {
  background-color: #077695 !important;
}

.map-left-box {
  z-index: 403;
  top: 10px;
  max-height: 450px;
  background-color: #ffff;
  font-size: 14px;
}
@media (min-width: 1400px) {
  .map-left-box {
    max-height: 480px;
  }
}
.map-left-box .map-left-box-arrow {
  top: 4px;
  width: 32px;
  right: -11px;
  z-index: 20000;
  height: 32px;
  background-color: #ffffff;
  border-radius: 50%;
  border: 2px solid #0B6078;
  cursor: pointer;
  filter: drop-shadow(3px 3px 6px #ffffff);
}
.map-left-box .map-left-box-arrow .arrow {
  position: absolute;
}
.map-left-box .map-left-box-arrow .arrow::after {
  position: relative;
  content: "";
  display: block;
  transition: 0.3s ease-in-out;
  height: 15px;
  width: 15px;
  border: 1px solid #0B6078;
  border-width: 3px 3px 0 0;
  left: -2px;
  top: 7px;
}
.map-left-box .arrow::after {
  left: -2px;
  top: 7px;
  transform: rotate(-500deg);
}
.map-left-box .map-left-box-arrow.active .arrow::after {
  left: -9px;
  top: 6px;
  transform: rotate(45deg);
}
.map-left-box .map-left-box-header {
  background-color: #0B6078;
  color: #ffff;
  height: 40px;
  cursor: pointer;
  font-size: 15px;
}
.map-left-box .map-left-box-header .active {
  background-color: #ffffff;
  color: #0B6078;
}
.map-left-box .map-left-box-body {
  height: calc(100% - 40px);
  border: 1px solid #CCCCCC;
  overflow: auto;
  scroll-behavior: smooth;
  scrollbar-color: #C5C2C2;
  scrollbar-width: thin;
}
.map-left-box .map-left-box-body::-webkit-scrollbar {
  width: 5px;
}
.map-left-box .map-left-box-body::-webkit-scrollbar-track {
  background: transparent;
}
.map-left-box .map-left-box-body::-webkit-scrollbar-thumb {
  background: #A2A2A2;
}

.map-left-box-close {
  left: 0px;
  width: 30px;
  background-color: #0B6078;
}

.map-left-box-open {
  left: 15px;
  width: 340px;
  border: 1px solid #CCCCCC !important;
}
@media (min-width: 1400px) {
  .map-left-box-open {
    width: 360px;
  }
}

.map-input-location {
  align-items: center;
}
.map-input-location span.remove-marker {
  position: absolute;
  display: block;
  left: 5px;
  color: #F56B39;
  text-align: center;
  cursor: pointer;
  z-index: 10;
  font-size: 20px;
}

.map-routing-camera-height {
  width: unset !important;
  min-height: unset !important;
  background-color: #F1F1F1;
}
.map-routing-camera-height .splide {
  padding: 1em 2em 1em 2em !important;
}
@media (max-width: 575.98px) {
  .map-routing-camera-height .splide .splide_mobile {
    height: 145px !important;
  }
}
.map-routing-camera-height .splide .splide__arrow {
  top: 40%;
  border: 2px solid #034A5E;
}
.map-routing-camera-height .splide .splide__arrow svg {
  fill: #034A5E;
}
.map-routing-camera-height .splide .splide__list {
  height: 180px;
}
.map-routing-camera-height .splide .splide__slide img {
  width: 100%;
  height: 100%;
  -o-object-fit: fill;
     object-fit: fill;
  border-radius: 5px !important;
  border: 2px solid #0B6078;
  cursor: pointer;
}
.map-routing-camera-height .splide .splide__slide .splide-camera-name {
  font-size: 13px;
}
.map-routing-camera-height .splide .splide__slide .splide-camera-date {
  font-size: 12px;
  color: #fff;
}
.map-routing-camera-height .splide .splide__slide .dark-backdrop {
  position: absolute;
  bottom: 0;
  background: rgba(18, 18, 18, 0.55);
  width: 100%;
  text-align: center;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
  padding: 5px 0px;
  box-shadow: rgba(18, 18, 18, 0.55) 0 -7px 9px 3px;
}
.map-routing-camera-height .splide .splide__pagination__page {
  background: #077695;
}
.map-routing-camera-height .splide .splide__pagination__page.is-active {
  transform: scale(1);
  background: #053B4A !important;
}
.map-routing-camera-height .map-routing-details-header {
  color: #F56B39;
}
.map-routing-camera-height .map-routing-camera-button {
  background-color: #F56B39;
  color: #ffffff;
  font-size: 12px;
  height: 32px;
}
.map-routing-camera-height .map-routing-camera-not-found {
  color: #F56B39;
  font-weight: bold;
  text-align: center;
}

p {
  margin-bottom: unset;
}

::-webkit-scrollbar {
  width: 7px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: #fff;
}

.chat-bot {
  bottom: 30px;
  right: 20px;
  z-index: 1000;
}

.chat-button {
  padding: 12px;
  border-radius: 50px;
  background-color: #0d2c35;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  cursor: pointer;
}
.chat-button .material-icons {
  font-size: 35px;
  color: #fff;
}

.rotation {
  transform: rotate(45deg);
}

.chat-box {
  border-radius: 15px;
  background-color: #0a4b5d;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  width: 0;
  height: 0;
  margin-right: 5px;
  overflow: hidden;
  position: relative;
}
.chat-box .header {
  border-bottom: 1px solid #fff;
  background: #0d2c35;
}
.chat-box .header .header-text-box .header-text {
  color: #fff;
  white-space: nowrap;
}
.chat-box .header .header-text-box .material-icons {
  font-size: 22px;
  color: #fff;
}
.chat-box .header .close-chat {
  padding: unset;
  color: #fff;
}
.chat-box .header .close-chat .material-icons {
  font-size: 22px;
}
.chat-box .chat-content {
  overflow-y: scroll;
}
.chat-box .chat-content .item {
  background: #ffffffb8;
  color: #102b33b8;
  padding: 10px;
  margin-bottom: 10px;
  border-radius: 2px;
  cursor: pointer;
  transition: 0.3s all;
}
.chat-box .chat-content .item h6 {
  margin-bottom: unset;
  font-weight: 500;
}
.chat-box .chat-content .item:hover {
  background: #102b33b8;
  color: #fff;
  transform: translate(-8px, 2px);
  box-shadow: rgba(17, 17, 26, 0.1) 0px 4px 16px, rgba(17, 17, 26, 0.1) 0px 8px 24px, rgba(17, 17, 26, 0.1) 0px 16px 56px;
}
.chat-box .chat-content .return-btn {
  background: #bb3030b8;
  color: #fff;
  padding: 10px;
  margin-bottom: 10px;
  border-radius: 2px;
  cursor: pointer;
  transition: 0.3s all;
}
.chat-box .chat-content .return-btn h6 {
  margin-bottom: unset;
  font-weight: 500;
}
.chat-box .chat-content .return-btn:hover {
  background: #731313b8;
  transform: translate(-8px, 2px);
  box-shadow: rgba(17, 17, 26, 0.1) 0px 4px 16px, rgba(17, 17, 26, 0.1) 0px 8px 24px, rgba(17, 17, 26, 0.1) 0px 16px 56px;
}
.chat-box .chat-content .active-item {
  background: #102b33b8;
  color: #fff;
  transform: translate(-8px, 2px);
  box-shadow: rgba(17, 17, 26, 0.1) 0px 4px 16px, rgba(17, 17, 26, 0.1) 0px 8px 24px, rgba(17, 17, 26, 0.1) 0px 16px 56px;
}
.chat-box .conversation-box {
  max-height: 60%;
  width: 100%;
}
.chat-box .conversation-box .accordion-button {
  background-color: #0a4b5d;
  border-top: 1px solid #fff;
  border-radius: unset;
  color: #fff;
  font-weight: 700;
  box-shadow: none;
  padding: 10px;
}
.chat-box .conversation-box .accordion-button .material-icons {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  transition: all 0.3s;
}
.chat-box .conversation-box .accordion-button hr {
  display: flex;
  flex: 1;
}
.chat-box .conversation-box .accordion-button::after {
  display: none;
}
.chat-box .conversation-box .accordion-button:disabled .material-icons {
  color: #e1e1e1;
}
.chat-box .conversation-box .accordion-button:disabled hr {
  background-color: #e1e1e1;
}
.chat-box .conversation-box .accordion-collapse {
  background-color: #0a4b5d;
  color: #fff;
  overflow-y: scroll;
}
.chat-box .conversation-box .history-content {
  color: #fff;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  padding: 5px 10px;
  border-radius: 50px;
  margin-bottom: 5px;
  font-size: 14px;
}
.chat-box .conversation-box .message-questation {
  display: flex;
  justify-content: start;
  margin-left: 25px;
}
.chat-box .conversation-box .message-questation .history-content {
  background: #0f343f;
  border-bottom-right-radius: 0px;
}
.chat-box .conversation-box .message-answer {
  display: flex;
  justify-content: end;
  margin-right: 25px;
}
.chat-box .conversation-box .message-answer .history-content {
  background: #163020;
  border-bottom-left-radius: 0px;
}

@-webkit-keyframes closeChatAnimate {
  0% {
    height: 500px;
    width: 300px;
  }
  50% {
    height: 57px;
    width: 300px;
  }
  100% {
    height: 57px;
    width: 0;
  }
}

@keyframes closeChatAnimate {
  0% {
    height: 500px;
    width: 300px;
  }
  50% {
    height: 57px;
    width: 300px;
  }
  100% {
    height: 57px;
    width: 0;
  }
}
@-webkit-keyframes openChatAnimate {
  0% {
    height: 57px;
    width: 0;
  }
  50% {
    height: 57px;
    width: 300px;
  }
  100% {
    height: 500px;
    width: 300px;
  }
}
@keyframes openChatAnimate {
  0% {
    height: 57px;
    width: 0;
  }
  50% {
    height: 57px;
    width: 300px;
  }
  100% {
    height: 500px;
    width: 300px;
  }
}
.animate-close {
  -webkit-animation: closeChatAnimate 1s ease-in-out forwards;
          animation: closeChatAnimate 1s ease-in-out forwards;
}

.animate-open {
  -webkit-animation: openChatAnimate 1s ease-in-out forwards;
          animation: openChatAnimate 1s ease-in-out forwards;
}

@media only screen and (max-width: 767px) {
  .animate-close {
    -webkit-animation: closeChatAnimateMobile 1s ease-in-out forwards;
            animation: closeChatAnimateMobile 1s ease-in-out forwards;
  }

  .animate-open {
    -webkit-animation: openChatAnimateMobile 1s ease-in-out forwards;
            animation: openChatAnimateMobile 1s ease-in-out forwards;
  }

  @-webkit-keyframes closeChatAnimateMobile {
    0% {
      height: 400px;
      width: 250px;
    }
    50% {
      height: 57px;
      width: 250px;
    }
    100% {
      height: 57px;
      width: 0;
    }
  }

  @keyframes closeChatAnimateMobile {
    0% {
      height: 400px;
      width: 250px;
    }
    50% {
      height: 57px;
      width: 250px;
    }
    100% {
      height: 57px;
      width: 0;
    }
  }
  @-webkit-keyframes openChatAnimateMobile {
    0% {
      height: 57px;
      width: 0;
    }
    50% {
      height: 57px;
      width: 250px;
    }
    100% {
      height: 400px;
      width: 250px;
    }
  }
  @keyframes openChatAnimateMobile {
    0% {
      height: 57px;
      width: 0;
    }
    50% {
      height: 57px;
      width: 250px;
    }
    100% {
      height: 400px;
      width: 250px;
    }
  }
}
audio {
  width: 100%;
  height: 40px;
  margin-top: 5px;
}

audio::-webkit-media-controls-time-remaining-display {
  display: none;
}

audio::-webkit-media-controls-current-time-display {
  display: none;
}

audio::-webkit-media-controls-play-button,
audio::-webkit-media-controls-panel,
audio::-webkit-media-controls-volume-slider {
  background-color: #ffffff;
  color: #ffffff;
}

.Camera-slider-date {
  position: absolute;
  bottom: 0;
  color: #fff;
  background: rgba(18, 18, 18, 0.55);
  width: 100%;
  text-align: center;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
  padding: 5px 0px;
  box-shadow: rgba(18, 18, 18, 0.55) 0 -7px 9px 3px;
}

.splide__slide img {
  width: 100%;
  max-height: 330px;
  -o-object-fit: fill;
     object-fit: fill;
}

#thumbnail-camera-carousel {
  padding: 2em 3em 1em 3em;
}
#thumbnail-camera-carousel .splide__arrows--rtl .splide__arrow--next {
  left: 0em;
  right: auto;
}
#thumbnail-camera-carousel .splide__arrows--rtl .splide__arrow--prev {
  left: auto;
  right: 0em;
}
#thumbnail-camera-carousel .splide__track--nav > .splide__list > .splide__slide.is-active {
  border: 3px solid #053B4A;
}
#thumbnail-camera-carousel .splide__arrow svg {
  fill: #053B4A;
  height: 1.2em;
  width: 1.2em;
}
#thumbnail-camera-carousel .splide__slide img {
  width: 100%;
  height: 100%;
  -o-object-fit: fill;
     object-fit: fill;
}

.map-webservices-show-list-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  z-index: 401;
  font-size: 16px;
  cursor: pointer;
  font-size: 16px;
  cursor: pointer;
  border: 2px solid #0B6078;
  border-radius: 3px;
  background: #fff;
  color: #fff;
  padding: 1px;
}
.map-webservices-show-list-btn .inner-btn {
  background: #0B6078;
  border-radius: 3px;
  padding: 5px 10px;
}

.map-webservices-list-box {
  position: absolute;
  direction: ltr;
  top: 52px;
  right: 26px;
  z-index: 402;
  max-height: 65vh;
  background-color: rgba(255, 255, 255, 0.9);
  border: 1px solid #cccccc;
  overflow: auto;
  scroll-behavior: smooth;
  min-width: 216px;
  font-size: 14px;
  overflow: auto;
  scroll-behavior: smooth;
  scrollbar-color: #C5C2C2;
  scrollbar-width: thin;
}
.map-webservices-list-box::-webkit-scrollbar {
  width: 5px;
}
.map-webservices-list-box::-webkit-scrollbar-track {
  background: transparent;
}
.map-webservices-list-box::-webkit-scrollbar-thumb {
  background: #A2A2A2;
}
@media (min-width: 1400px) {
  .map-webservices-list-box {
    font-size: 15px;
  }
}
@media (max-width: 767.98px) {
  .map-webservices-list-box {
    top: 60px;
  }
}
@media (max-width: 575.98px) {
  .map-webservices-list-box {
    max-height: 55vh;
  }
}
.map-webservices-list-box .webservices-list {
  direction: rtl;
  list-style-type: none;
  white-space: nowrap;
}
.map-webservices-list-box .map-webservice-image {
  width: 20px;
  height: 20px;
}
.map-webservices-list-box .webservice-blockage {
  border-bottom: 3px dashed #D1D1D1;
}
.map-webservices-list-box .form-check-input:checked {
  background-color: #04ABD9 !important;
  border-color: #04ABD9 !important;
}
.map-webservices-list-box .webservice-traffic {
  font-size: 11px;
}
.map-webservices-list-box .webservice-traffic::before {
  content: "";
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 7.5px;
  background-color: #69b6d5;
}
.map-webservices-list-box .traffic-1::before {
  background-color: #006400;
}
.map-webservices-list-box .traffic-2::before {
  background-color: #48C649;
}
.map-webservices-list-box .traffic-3::before {
  background-color: #FFF000;
}
.map-webservices-list-box .traffic-4::before {
  background-color: #FF8C00;
}
.map-webservices-list-box .traffic-5::before {
  background-color: #A20A09;
}
.map-webservices-list-box .traffic-6::before {
  background-color: #250101;
}
.map-webservices-list-box .traffic-7::before {
  background-color: #676766;
}

.leaflet-container a.leaflet-popup-close-button {
  left: 5px;
  right: auto;
}

.leaflet-popup-content {
  min-width: 150px;
  margin: 1rem;
  text-align: right;
}
.leaflet-popup-content .popup-content {
  text-align: right;
}
.leaflet-popup-content .popup-content .popup-header {
  border-bottom: 1px solid #AFAFAF;
}
.leaflet-popup-content .popup-content .popup-header img {
  height: 16px;
  margin: 3px 15px 5px 10px;
}
.leaflet-popup-content .popup-content .popup-header span {
  color: #0051CD;
  padding-top: 5px;
}
.leaflet-popup-content .popup-content .popup-box-content .popup-box {
  height: auto;
  padding: 2%;
  border-radius: 5px;
  width: 100%;
  text-align: center;
  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
}
.leaflet-popup-content .popup-content .popup-box-content .popup-box span {
  color: #0051CD;
  display: block;
  font-size: 10px;
}
.leaflet-popup-content .popup-content .popup-box-content .popup-box div {
  font-size: 10px;
  font-weight: bold;
}

.map-norooz {
  direction: ltr;
  bottom: 30px;
  right: 15px;
  z-index: 401;
  width: auto;
  height: auto;
  border-radius: 0.2rem;
  cursor: pointer;
  background-color: #ffffff;
  border: 1px solid #8c8c8c;
  padding: 10px;
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.1);
  opacity: 0.9;
}
.map-norooz .map-norooz-image {
  width: 150px;
}
.map-norooz .map-norooz-border {
  margin-top: 7px;
}
.map-norooz .map-norooz-text {
  font-size: 15px;
  color: #fd0000;
  font-weight: bold;
  text-shadow: 0px 0px 10px #ffffff;
}

.map-arbaeen {
  direction: ltr;
  bottom: 30px;
  right: 15px;
  z-index: 401;
  width: auto;
  height: auto;
  border-radius: 0.2rem;
  cursor: pointer;
  background-color: #000;
  border: 1px solid #8c8c8c;
  padding: 10px;
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.1);
  opacity: 0.9;
}
.map-arbaeen .map-arbaeen-image {
  width: 150px;
  height: 135px;
}
.map-arbaeen .map-arbaeen-border {
  margin-top: 7px;
}
.map-arbaeen .map-arbaeen-text {
  font-size: 15px;
  color: #fd0000;
  font-weight: bold;
  text-shadow: 0px 0px 10px #ffffff;
}
