@font-face {
  font-family: "IRANSansLocal";
  src: url("../fonts/IRANSansWeb_UltraLight.woff2") format("woff2");
  font-weight: 200;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+200C-200F, U+FB50-FDFF, U+FE70-FEFF;
}

@font-face {
  font-family: "IRANSansLocal";
  src: url("../fonts/IRANSansWeb_Light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+200C-200F, U+FB50-FDFF, U+FE70-FEFF;
}

@font-face {
  font-family: "IRANSansLocal";
  src: url("../fonts/IRANSansWeb.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+200C-200F, U+FB50-FDFF, U+FE70-FEFF;
}

@font-face {
  font-family: "IRANSansLocal";
  src: url("../fonts/IRANSansWeb_Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+200C-200F, U+FB50-FDFF, U+FE70-FEFF;
}

@font-face {
  font-family: "IRANSansLocal";
  src: url("../fonts/IRANSansWeb_Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+200C-200F, U+FB50-FDFF, U+FE70-FEFF;
}

/*
 * The JavaScript adds these classes to existing elements only.
 * It never creates wrappers and never changes display, width, height,
 * flex/grid children, padding, line-height, white-space or button structure.
 */
.iransans-fa-text,
.iransans-fa-control {
  font-family: "IRANSansLocal", var(--iransans-original-font, Tahoma, Arial, sans-serif) !important;
}

.iransans-fa-control::placeholder {
  font-family: "IRANSansLocal", var(--iransans-original-font, Tahoma, Arial, sans-serif) !important;
}


/*
 * Joomla Clear Cache mobile containment.
 * The detector activates this block only on option=com_cache. It does not
 * change button structure, font size, line height, or front-end layouts.
 */
@media (max-width: 767.98px) {
  html.iransans-context-com-cache,
  html.iransans-context-com-cache body {
    max-width: 100%;
    overflow-x: hidden !important;
  }

  html.iransans-context-com-cache #content,
  html.iransans-context-com-cache #j-main-container,
  html.iransans-context-com-cache #adminForm {
    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }

  html.iransans-context-com-cache #j-main-container,
  html.iransans-context-com-cache #adminForm {
    overflow-x: hidden !important;
  }

  html.iransans-context-com-cache #adminForm > .row,
  html.iransans-context-com-cache #adminForm > .row > [class*="col-"] {
    box-sizing: border-box !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }

  html.iransans-context-com-cache .alert,
  html.iransans-context-com-cache .js-stools,
  html.iransans-context-com-cache .js-stools-container-bar,
  html.iransans-context-com-cache .js-stools-container-filters,
  html.iransans-context-com-cache .js-stools-container-selector,
  html.iransans-context-com-cache .js-stools-container-list {
    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }

  html.iransans-context-com-cache .alert {
    overflow-wrap: anywhere;
  }

  html.iransans-context-com-cache .js-stools-container-bar .btn-toolbar,
  html.iransans-context-com-cache .js-stools-container-filters .row {
    max-width: 100% !important;
    flex-wrap: wrap !important;
  }

  html.iransans-context-com-cache .js-stools-container-bar .filter-search-bar,
  html.iransans-context-com-cache .js-stools-container-bar .input-group {
    box-sizing: border-box !important;
    flex: 1 1 100% !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }

  html.iransans-context-com-cache .js-stools-field-filter,
  html.iransans-context-com-cache .js-stools-field-filter .form-select,
  html.iransans-context-com-cache .js-stools-field-filter .choices,
  html.iransans-context-com-cache .js-stools-field-filter .choices__inner {
    box-sizing: border-box !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }

  html.iransans-context-com-cache #j-main-container > .table-responsive {
    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  html.iransans-context-com-cache #j-main-container > .table,
  html.iransans-context-com-cache #j-main-container > .table-responsive > .table {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    table-layout: fixed !important;
  }

  html.iransans-context-com-cache #j-main-container > .table > thead > tr > td:first-child,
  html.iransans-context-com-cache #j-main-container > .table > tbody > tr > td:first-child,
  html.iransans-context-com-cache #j-main-container > .table-responsive > .table > thead > tr > td:first-child,
  html.iransans-context-com-cache #j-main-container > .table-responsive > .table > tbody > tr > td:first-child {
    width: 3rem !important;
    min-width: 3rem !important;
    max-width: 3rem !important;
  }

  html.iransans-context-com-cache #j-main-container .table th.title,
  html.iransans-context-com-cache #j-main-container .table th[scope="row"],
  html.iransans-context-com-cache #j-main-container .table th[scope="row"] * {
    min-width: 0 !important;
    max-width: 100% !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: break-word !important;
  }
}
