/* Generated by script */
@font-face {
  font-family: Vazirmatn;
  src: url('fonts/webfonts/Vazirmatn-FD-Thin.woff2') format('woff2');
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Vazirmatn;
  src: url('fonts/webfonts/Vazirmatn-FD-ExtraLight.woff2') format('woff2');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Vazirmatn;
  src: url('fonts/webfonts/Vazirmatn-FD-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Vazirmatn;
  src: url('fonts/webfonts/Vazirmatn-FD-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Vazirmatn;
  src: url('fonts/webfonts/Vazirmatn-FD-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Vazirmatn;
  src: url('fonts/webfonts/Vazirmatn-FD-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Vazirmatn;
  src: url('fonts/webfonts/Vazirmatn-FD-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Vazirmatn;
  src: url('fonts/webfonts/Vazirmatn-FD-ExtraBold.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Vazirmatn;
  src: url('fonts/webfonts/Vazirmatn-FD-Black.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* TODO: Delete --tblr-text-secondary-rgb after Tabler next release  */
:root {
  --tblr-font-sans-serif: 'Vazirmatn';
  --tblr-text-secondary-rgb: var(--tblr-secondary-rgb);
  --map-tiles-filter: invert(100%) hue-rotate(180deg) brightness(95%) contrast(90%);
}

.table-limit-col-width td {
  max-width: 350px;
}
/* Map */
.leaflet-container * {
  font-family: var(--tblr-body-font-family);
}

/*:host, :root, [data-bs-theme="light"] {
    --tblr-primary: #17a2b8;
    --tblr-primary-rgb: 23, 162, 184;
}*/

.navbar-nav .nav-link-icon {
    font-size: 1.25rem;
}

[data-bs-theme="dark"] .leaflet-container-default, [data-bs-theme="dark"] .leaflet-container {
    filter: var(--map-tiles-filter, none);
}

.leaflet-control-tools {
  border: 2px solid rgba(0,0,0,0.2);
  background-clip: padding-box;
  border-radius: 4px;
  cursor: auto;
}

.leaflet-control-tools a {
  background-color: #fff;
  border-bottom: 1px solid #ccc;
  width: 50px;
  height: 30px;
  line-height: 30px;
  display: block;
  text-align: center;
  text-decoration: none;
  color: black;
  border-top-left-radius: 2px;
  border-top-right-radius: 2px;
  cursor: pointer;
}

.leaflet-tool-active a {
  background-color: #d4d4d4 !important;
}

.leaflet-marker-selected {
  filter: hue-rotate(-180deg) contrast(3);
}
/* Fix tom-select style on RTL */
.ts-wrapper.plugin-remove_button.rtl .item .remove {
  border-left: none;
  margin-left: 0;

  border-right: 1px solid #dadfe5;
  margin-right: 5px;
}

/* Login and Logout pages  */
.my-auth-form #username,
.my-auth-form #password {
  direction: ltr;
  text-align: left;
}
.my-auth-form #username::placeholder,
.my-auth-form #password::placeholder {
  direction: rtl;
  text-align: right;
}
