@import "../fonts/iransans.css";

/********** General **********/
body {
  font-family: "IranSans";
  cursor: default;
  /* background-color: #f5f6fa; */
}

* {
  scrollbar-width: thin;
  scrollbar-color: #90a4ae transparent;
}
*::-webkit-scrollbar {
  width: 7px;
}
*::-webkit-scrollbar-track {
  background: transparent;
}
*::-webkit-scrollbar-thumb {
  background-color: #90a4ae;
  border-radius: 0;
  border: 0px solid transparent;
}

img {
  pointer-events: none;
}

.full-height {
  height: 100vh;
  height: 100dvh;
}

.min-full-height {
  min-height: 100vh;
  min-height: 100dvh;
}

/********** Other **********/

.pattern1 {
  background-image: url("/images/p1.jpg");
  position: absolute;
  inset: 0;
  z-index: -9999;
  background-repeat: repeat;
  background-size: 400px 400px;
  background-blend-mode: multiply;
  opacity: 0.2;
}

#svgIran {
  width: 100%;
  min-height: auto !important;
}
#svgIran path[fill="#999 "] {
  display: none;
}

#svgIran #path3423 {
  display: none;
}

#svgIran path.province:not(.active-fill) {
  fill: #cbd5e1;
}

.active-fill {
  fill: #22c55e;
  cursor: pointer;
  transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);
  stroke: #16a34a;
  stroke-width: 0;
}

.active-fill:hover {
  fill: #16a34a;
}

/*------------------------------- Loading ------------------------------- */
#main-loader {
  position: fixed;
  left: 0;
  top: 0;
  background: #fff;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
}

.lds-ring {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}
.lds-ring div {
  box-sizing: border-box;
  display: block;
  position: absolute;
  width: 64px;
  height: 64px;
  margin: 8px;
  border: 8px solid #343a40;
  border-radius: 50%;
  animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  border-color: #343a40 transparent transparent transparent;
}
.lds-ring div:nth-child(1) {
  animation-delay: -0.45s;
}
.lds-ring div:nth-child(2) {
  animation-delay: -0.3s;
}
.lds-ring div:nth-child(3) {
  animation-delay: -0.15s;
}
@keyframes lds-ring {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.lds-ellipsis {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}
.lds-ellipsis div {
  position: absolute;
  top: 33px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #343a40;
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
}
.lds-ellipsis div:nth-child(1) {
  left: 8px;
  animation: lds-ellipsis1 0.6s infinite;
}
.lds-ellipsis div:nth-child(2) {
  left: 8px;
  animation: lds-ellipsis2 0.6s infinite;
}
.lds-ellipsis div:nth-child(3) {
  left: 32px;
  animation: lds-ellipsis2 0.6s infinite;
}
.lds-ellipsis div:nth-child(4) {
  left: 56px;
  animation: lds-ellipsis3 0.6s infinite;
}
@keyframes lds-ellipsis1 {
  0% {
    transform: scale(0);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes lds-ellipsis3 {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(0);
  }
}
@keyframes lds-ellipsis2 {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(24px, 0);
  }
}
/*------------------------------- end of Loading ------------------------------- */
