:root {
  --custom-red: rgb(102 38 38);
}

@font-face {
  font-family: IRANSansX;
  font-style: normal;
  font-weight: 100;
  src: url("../fonts/woff/IRANSansX-Thin.woff") format("woff"),
    url("../fonts/woff2/IRANSansX-Thin.woff2") format("woff2");
}

@font-face {
  font-family: IRANSansX;
  font-style: normal;
  font-weight: 200;
  src: url("../fonts/woff/IRANSansX-UltraLight.woff") format("woff"),
    url("../fonts/woff2/IRANSansX-UltraLight.woff2") format("woff2");
}

@font-face {
  font-family: IRANSansX;
  font-style: normal;
  font-weight: 300;
  src: url("../fonts/woff/IRANSansX-Light.woff") format("woff"),
    url("../fonts/woff2/IRANSansX-Light.woff2") format("woff2");
}

@font-face {
  font-family: IRANSansX;
  font-style: normal;
  font-weight: 500;
  src: url("../fonts/woff/IRANSansX-Medium.woff") format("woff"),
    url("../fonts/woff2/IRANSansX-Medium.woff2") format("woff2");
}

@font-face {
  font-family: IRANSansX;
  font-style: normal;
  font-weight: 600;
  src: url("../fonts/woff/IRANSansX-DemiBold.woff") format("woff"),
    url("../fonts/woff2/IRANSansX-DemiBold.woff2") format("woff2");
}

@font-face {
  font-family: IRANSansX;
  font-style: normal;
  font-weight: 800;
  src: url("../fonts/woff/IRANSansX-ExtraBold.woff") format("woff"),
    url("../fonts/woff2/IRANSansX-ExtraBold.woff2") format("woff2");
}

@font-face {
  font-family: IRANSansX;
  font-style: normal;
  font-weight: 900;
  src: url("../fonts/woff/IRANSansX-Black.woff") format("woff"),
    url("../fonts/woff2/IRANSansX-Black.woff2") format("woff2");
}

@font-face {
  font-family: IRANSansX;
  font-style: normal;
  font-weight: bold;
  src: url("../fonts/woff/IRANSansX-Bold.woff") format("woff"),
    url("../fonts/woff2/IRANSansX-Bold.woff2") format("woff2");
}

@font-face {
  font-family: IRANSansX;
  font-style: normal;
  font-weight: normal;
  src: url("../fonts/woff/IRANSansX-Regular.woff") format("woff"),
    url("../fonts/woff2/IRANSansX-Regular.woff2") format("woff2");
}

body {
  font-family: IRANSansX !important;
  color: #000;
  /* background-color: transparent; */
}

.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: IRANSansX !important;
}

p {
  font-family: IRANSansX !important;
}

a {
  font-family: IRANSansX !important;
}

.form-control {
  color: #000;
}

.form-control:focus {
  color: #000;
}

.tooltip {
  font-family: IRANSansX !important;
}

.swal2-modal {
  font-family: IRANSansX !important;
}

.rtl .treeview-item .treeview-item {
  margin-right: 2rem !important;
  margin-left: 0.7rem !important;
}

.rtl .row-all .col-12 {
  text-align: right;
}

.rtl .row-all .col-12 .pull-right {
  float: left !important;
}

.rtl .form-check.form-check-inline {
  margin-right: 0rem !important;
}

.rtl .btn.dropdown-toggle {
  margin-right: 0rem !important;
}

.rtl .dropdown-menu {
  right: 0px;
  left: unset;
}

.rtl ngx-treeview-item {
  text-align: right;
  direction: rtl;
}

@media (min-width: 576px) {
  .rtl .form-inline .form-check-input {
    margin: 3px;
  }
}

.rtl .form-inline .form-check-input {
  margin: 3px;
  position: inherit;
}

.rtl .dropdown button {
  text-align: right !important;
  direction: rtl;
}

.rtl .fa.fa-caret-right {
  transform: rotate(180deg);
}

#checkTree input[type="checkbox"] {
  width: 20px;
  height: 20px;
  cursor: pointer;
}

#checkTree input[type="checkbox"]+label {
  cursor: pointer;
}

#checkTree .form-check {
  padding: 3px 3px 3px 7px;
  cursor: pointer;
}

#checkTree .form-check:hover {
  background-color: rgba(59, 175, 218, 0.15);
}

.invalid-input {
  border-color: red;
}

.input-btn {
  position: absolute;
  left: 0;
}

#documentAccountingTr td {
  min-width: 170px;
}

#documentAccountingTr :first-child {
  min-width: auto;
}

#documentAccountingTr :last-child {
  min-width: auto;
}

.fa-1-5x {
  font-size: 1.5em;
}

.separator {
  display: flex;
  align-items: center;
  text-align: center;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  border: 0;
}

.separator::before,
.separator::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid #e5e8eb;
}

.separator:not(:empty)::before {
  margin-right: 0.25em;
}

.separator:not(:empty)::after {
  margin-left: 0.25em;
}

.separator span {
  padding: 5px 15px;
  border-radius: 15px;
  background-color: var(--light);
}

.hashured {
  /* background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAJCAYAAADgkQYQAAAAAXNSR0IArs4c6QAAADtJREFUKFNjZCACMBJS8+7du814FYEUCAkJ+RI0CWQTVkUwE2BOwVCErgCnSeiegZuEzQQU6/ApACkEACjdF4eKPzIUAAAAAElFTkSuQmCC)
    repeat; */
  opacity: 0.5;
}

.record-btn {
  position: absolute;
  top: 0px;
  left: 0px;
}

.audio-player {
  position: absolute;
  top: 1px;
  right: 1px;
  height: 35px;
  width: 90%;
}

.contact-image-size {
  height: 42px;
  width: 42px;
}

.point {
  border-radius: 50%;
  padding: 3px;
  width: 10px;
  height: 10px;
  margin-left: 5px;
}

.point-success {
  background: var(--success);
  color: var(--white);
}

.point-danger {
  background: var(--danger);
  color: var(--white);
}

.right-0 {
  right: 0 !important;
}

.has-loading-overlay {
  position: relative;
  width: 50px;
  height: 50px;
}

.has-loading-overlay .loading-overlay {
  position: absolute;
  /* background-color: rgb(238 238 238 / 75%); */
  width: 100%;
  height: 100%;
  z-index: 1;
}

#activity-fields input {
  width: 500px !important;
}

.was-validated .custom-select:invalid+.select2 .select2-selection {
  border-color: #dc3545 !important;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23f1556c' viewBox='0 0 12 12'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23f1556c' stroke='none'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right calc(0.375em + 0.225rem) center;
  padding-right: calc(1.5em + 0.9rem);
  background-size: calc(0.75em + 0.45rem) calc(0.75em + 0.45rem);
}

.was-validated .custom-select:valid+.select2 .select2-selection {
  border-color: #28a745 !important;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath fill='%231abc9c' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right calc(0.375em + 0.225rem) center;
  padding-right: calc(1.5em + 0.9rem);
  background-size: calc(0.75em + 0.45rem) calc(0.75em + 0.45rem);
}

*:focus {
  outline: 0px;
}

.dropdown-menu.show {
  line-height: 2;
  right: 0;
}

.dropdown-item {
  border-bottom: 0;
  border-top: 0;
  border-right: 0;
  border-left: 0;
  color: #000;
}

.dropdown-menu i {
  margin-left: 3px;
}

.jq-toast-single {
  font-family: IRANSansX !important;
}

.jq-toast-single h2 {
  font-family: IRANSansX !important;
}

.ag-theme-material {
  font-family: IRANSansX !important;
}

.jq-icon-info {
  background-image: none;
}

.action-icon {
  cursor: pointer;
}

dp-date-picker.dp-material .dp-picker-input {
  width: unset !important;
  height: unset !important;
  font-size: unset !important;
}

dp-date-picker.dp-material .dp-picker-input {
  color: #6c757d !important;
}

.scrollable {
  display: block;
  white-space: nowrap;
  max-height: 400px;
  overflow: auto;
}

.not-show-arrays>tr>td>input::-webkit-outer-spin-button,
.not-show-arrays>tr>td>input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.not-show-arrays::-webkit-outer-spin-button,
.not-show-arrays::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
.not-show-arrays>tr>td>input {
  -moz-appearance: textfield;
}

.table {
  color: #000;
}

.table-bordered td,
.table-bordered th {
  vertical-align: middle;
}

.w-100 {
  width: 100px !important;
}

.w-150 {
  width: 150px !important;
}

.w-200 {
  width: 200px !important;
}

.w-300 {
  width: 300px !important;
}

.w-400 {
  width: 400px !important;
}

.custom-checkbox-size {
  width: 15px;
  height: 15px;
}

.document-summary {
  width: 100%;
}

.document-summary-item {
  background-color: #f0f1f3;
}

.document-summary-item p {
  margin: 0;
}

.inside-input-btn {
  position: absolute;
  top: 3px;
  left: 0;
}

.second {
  left: 40px;
}

.content-page {
  overflow: unset !important;
}

#wrapper {
  overflow: unset !important;
}

.custom-login-btn {
  /* background: linear-gradient(90deg, #c2e59c, #64b3f4); */
  background: linear-gradient(90deg, #35c0cb, #2e8f97);
  border-color: unset;
  height: 50px;
  border-radius: 10px;
  font-size: 18px;
}

.custom-login-input {
  height: 50px;
  border-radius: 10px;
  text-align: center;
  font-size: 18px;
}

.ss01 {
  -moz-font-feature-settings: "ss01";
  -webkit-font-feature-settings: "ss01";
  font-feature-settings: "ss01";
  font-weight: 900;
}

.ss02 {
  -moz-font-feature-settings: "ss02";
  -webkit-font-feature-settings: "ss02";
  font-feature-settings: "ss02";
}

.ss03 {
  -moz-font-feature-settings: "ss03";
  -webkit-font-feature-settings: "ss03";
  font-feature-settings: "ss03";
}

.reference-color {
  padding: 15px 8px;
  border-radius: 5px;
}

.custom-selection {
  height: max-content;
  margin: 0;
  position: absolute;
  top: 38px;
  z-index: 10000;
  background-color: #fff;
  box-shadow: 0 0 15px rgb(0 0 0 / 20%);
}

.custom-selection-item {
  display: flex;
  justify-content: space-around;
  align-items: center;
  cursor: pointer;
  padding: 8px 15px;
  border-bottom: 1px solid #eee;
}

.custom-selection-item span {
  width: 50%;
  text-align: right;
}

.custom-selection-item:hover {
  background-color: var(--light);
}

.custom-selection-item:first-child {
  cursor: initial;
}

.custom-selection-item:first-child:hover {
  background-color: #fff;
}

.topnav .navbar-nav .nav-link {
  color: #000;
}

.navbar-custom .app-search {
  width: 500px;
  max-width: unset;
}

.auth-fluid .auth-fluid-right {
  background-repeat: no-repeat;
  background-size: cover;
}

.jq-toast-wrap {
  width: 300px !important;
}

.custom-tbody tr td {
  padding: 5px 5px !important;
  vertical-align: middle !important;
}

.custom-tbody tr td input {
  text-align: center;
}

.custom-thead tr th {
  width: 80px;
}

.fixed-width tr td input {
  width: 100px;
}

body[data-color-mode="dark"] .ag-theme-material .ag-root-wrapper {
  color: #dee2e6;
  background-color: transparent !important;
}

body[data-color-mode="dark"] .ag-theme-material .ag-row {
  color: #dee2e6;
  border-color: #323b44;
  background-color: transparent !important;
}

body[data-color-mode="dark"] .ag-theme-material .ag-row-hover {
  background-color: #323b44 !important;
}

body[data-color-mode="dark"] .ag-theme-material .ag-cell.ag-cell-last-left-pinned:not(.ag-cell-range-right):not(.ag-cell-range-single-cell) {
  color: #dee2e6;
  border-right-color: #323b44;
}

body[data-color-mode="dark"] .ag-theme-material .ag-pinned-right-header {
  border-left-color: #323b44;
}

body[data-color-mode="dark"] .ag-theme-material .ag-menu {
  background-color: #36404a !important;
}

body[data-color-mode="dark"] .ag-theme-material .ag-tabs-header,
body[data-color-mode="dark"] .ag-theme-material .ag-column-drop-horizontal {
  color: #dee2e6;
  background-color: transparent !important;
}

body[data-color-mode="dark"] .ag-theme-material .ag-header {
  color: #dee2e6;
  border-color: #323b44;
  background-color: transparent !important;
}

body[data-color-mode="dark"] .ag-theme-material .ag-pinned-left-header {
  color: #dee2e6;
  border-color: #323b44;
}

body[data-color-mode="dark"] .ag-theme-material .ag-header-cell,
body[data-color-mode="dark"] .ag-theme-material .ag-header-group-cell {
  color: #dee2e6 !important;
}

body[data-color-mode="dark"] .ag-theme-material .ag-checkbox-input-wrapper::after {
  color: #dee2e6 !important;
}

body[data-color-mode="dark"] .ag-theme-material .ag-header-group-cell:not(.ag-column-resizing)+.ag-header-group-cell:not(.ag-header-cell-moving):hover,
body[data-color-mode="dark"] .ag-theme-material .ag-header-group-cell:not(.ag-column-resizing)+.ag-header-group-cell.ag-column-resizing,
body[data-color-mode="dark"] .ag-theme-material .ag-header-cell:not(.ag-column-resizing)+.ag-header-cell:not(.ag-header-cell-moving):hover,
body[data-color-mode="dark"] .ag-theme-material .ag-header-cell:not(.ag-column-resizing)+.ag-header-cell.ag-column-resizing,
body[data-color-mode="dark"] .ag-theme-material .ag-header-group-cell:first-of-type:not(.ag-header-cell-moving):hover,
body[data-color-mode="dark"] .ag-theme-material .ag-header-group-cell:first-of-type.ag-column-resizing,
body[data-color-mode="dark"] .ag-theme-material .ag-header-cell:first-of-type:not(.ag-header-cell-moving):hover,
body[data-color-mode="dark"] .ag-theme-material .ag-header-cell:first-of-type.ag-column-resizing {
  background-color: #323b44 !important;
}

body[data-color-mode="dark"] .ag-theme-material [class^="ag-"],
body[data-color-mode="dark"] .ag-theme-material [class^="ag-"]:focus,
body[data-color-mode="dark"] .ag-theme-material [class^="ag-"]:after,
body[data-color-mode="dark"] .ag-theme-material [class^="ag-"]:before {
  color: #dee2e6 !important;
}

body[data-color-mode="dark"] .ag-theme-material .ag-column-drop-cell {
  background-color: #323b44 !important;
}

body[data-color-mode="dark"] .ag-theme-material .ag-menu-option-active,
.ag-theme-material .ag-compact-menu-option-active {
  background-color: #323b44 !important;
}

body[data-color-mode="dark"] .ag-theme-material .ag-select .ag-picker-field-wrapper {
  background-color: transparent !important;
}

body[data-color-mode="dark"] .ag-theme-material .ag-status-bar {
  border-color: #323b44 !important;
}

body[data-color-mode="dark"] .ag-theme-material .ag-paging-panel {
  border-top-color: #323b44 !important;
}

body[data-color-mode="dark"] .document-summary-item {
  background-color: #323b44 !important;
}

body[data-color-mode="dark"] .ag-theme-material .ag-overlay-loading-center {
  background-color: #36404a !important;
}

.datepicker-outer-container {
  z-index: 10;
  position: absolute;
}

.nav-pills .nav-link.active,
.nav-pills .show>.nav-link {
  background-color: #005488;
}

.custom-card {
  cursor: pointer;
  transition: 0.3s ease;
  height: 150px;
}

.custom-card:hover {
  box-shadow: 0 0 15px rgb(0 0 0 / 20%);
}

.custom-card h5 {
  line-height: 1.5;
}

.reportAgGrid .ag-header-group-cell-label {
  justify-content: center;
}

.reportAgGrid .ag-header-cell-label {
  justify-content: center;
}

.reportAgGrid .ag-cell {
  text-align: center;
}

.print-only {
  display: none;
}

.print-table {
  text-align: center;
}

.print-table td {
  font-weight: bolder;
  font-size: 16px;
  color: rgb(53, 14, 14);
}

@media print {

  @page {
    size: auto;
  }

  .noprint {
    display: none;
  }

  /*
  .col-9 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .print-only {
    display: block !important;
  }

  body {
    margin: 0;
  } */
}

.report-grid-header {
  /* color: var(--custom-red); */
  color: #959595;
}

.ag-theme-material .ag-rtl .ag-column-drop-horizontal {
  background-color: #eff6ff;
  border-radius: 7px;
}

.report-header-td-value {
  color: var(--custom-red);
  padding-right: 5px;
}

.ag-theme-balham .ag-rtl .ag-cell {
  border-left: 1px solid #00000026 !important;
}

.datepicker-outer-container {
  width: unset !important;
}

.ag-theme-balham .ag-header-cell::after,
.ag-theme-balham .ag-header-group-cell::after {
  height: 100% !important;
  top: unset !important;
  background-color: var(--ag-header-column-separator-color,
      rgba(61, 61, 61, 0.5)) !important;
}

/* .ag-theme-balham .ag-rtl .ag-cell {
  border-left: 1px solid var(
    --ag-header-column-separator-color,
    rgba(61, 61, 61, 0.5)) !important;
  border-bottom: 1px solid var(
    --ag-header-column-separator-color,
    rgba(61, 61, 61, 0.5)) !important;
} */

.report-table thead tr th {
  color: var(--custom-red);
}

.report-table thead tr th,
.report-table tbody tr td {
  border-color: #323a46;
}

.table thead th,
.table tbody td {
  padding-top: 8px;
  padding-bottom: 8px;
}

.ag-theme-material .ag-header-row {
  font-size: 13px !important;
  font-weight: 900 !important;
}

.ag-theme-material {
  font-size: 15px !important;
  font-weight: 500;
}

.select2-rtl {
  direction: rtl;
  text-align: right;
}

.select-all {
  text-align: right !important;
}

.list-filter {
  padding-right: 35px !important;
}

.list-filter .c-search {
  right: 10px;
}

.dropdown-list ul li {
  text-align: right !important;
}

.pure-checkbox input[type=checkbox]+label {
  padding-right: 2em !important;
}

.pure-checkbox input[type=checkbox]+label:before {
  right: 0 !important;
}

.pure-checkbox input[type=checkbox]+label:after {
  right: 3px;
}

.selected-list .c-angle-down,
.selected-list .c-angle-up {
  right: unset !important;
  left: 10px !important;
}

.clear-all {
  right: unset !important;
  left: 30px !important;
}

.selected-list .c-list .c-token {
  float: right !important;
}

input,
select,
textarea,
.select2-container .select2-selection--single {
  border-radius: 15px !important;
  background-color: rgba(0, 92, 231, 0.03) !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  color: #4e4e4e !important;
}

input[type=number],
input[type=text],
input[type=password] {
  direction: ltr;
  text-align: center;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button,
input[type=text]::-webkit-inner-spin-button,
input[type=text]::-webkit-outer-spin-button,
input[type=password]::-webkit-inner-spin-button,
input[type=password]::-webkit-outer-spin-button {
  direction: ltr;
  text-align: center;
}

input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button,
input[type=text]::-webkit-inner-spin-button,
input[type=text]::-webkit-outer-spin-button,
input[type=password]::-webkit-inner-spin-button,
input[type=password]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button,
input[type=text]::-webkit-inner-spin-button,
input[type=text]::-webkit-outer-spin-button,
input[type=password]::-webkit-inner-spin-button,
input[type=password]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type=number] {
  -moz-appearance: textfield;
}

.datepicker-content input {
  text-align: center;
}

.chart-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: #00000035;
  z-index: 1000;
  backdrop-filter: blur(2px);
}

.foad-card {
  background: rgba(0, 92, 231, 0.04);
  border-radius: 15px;
}

.foad-card-header {
  background: rgba(0, 92, 231, 0.08);
  border-radius: 15px;
  text-align: center;
  vertical-align: middle;
  font-size: 15px;
  padding: 10px;
  font-weight: 500;
}

.foad-card-body {
  display: flex;
  padding: 10px;
}

.foad-card-body-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin-top: 10px;
  margin-right: 10px;
  margin-left: 10px;
  font-size: 15px;
  font-weight: 400;
}

.foad-card-body-cell span:first-child {
  margin-bottom: 15px;
}

.foad-card-body-cell span:only-child {
  margin-bottom: 0px;
}

.foad-card-body-data {
  font-weight: 700;
  text-align: center;
}

.foad-table {
  border-radius: 15px;
  background-color: rgba(0, 92, 231, 0.04);
}

.foad-table thead tr th {
  background-color: rgba(0, 92, 231, 0.08);
  vertical-align: middle;
  text-align: center;
  font-size: 15px;
  font-weight: 300;
}

.foad-table thead tr th:first-child {
  border-radius: 0 15px 15px 0;
}

.foad-table thead tr th:last-child {
  border-radius: 15px 0 0 15px;
}

.td-nopadding td {
  padding: 0 !important;
}

.td-nopadding td input {
  text-align: center;
}

.selected-list .c-list .c-token {
  border-radius: 15px;
}

.selected-list .c-btn {
  border-radius: 15px;
}

.ag-theme-material .ag-row-selected {
  background-color: #eee !important;
  background-color: var(--ag-selected-row-background-color, #eee) !important;
}

#breedTable th:first-child,
#breedTable td:first-child {
  position: sticky;
  right: 0px;
  background-color: #eee;
  z-index: 10;
}

.buble-item {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #00548870;
  border: 1px solid #005488;
  color: #fff;
  margin-right: 10px;
  padding-top: 15px;
}

.dashboard-report-item {
  transition: 0.3s;
  position: relative;
  height: 100% !important;
}

.dashboard-report-item i {
  position: absolute;
  top: 3px;
  right: 5px;
  cursor: pointer;
}

.dashboard-report-item-focused {
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
  transform: scale(2);
  z-index: 1000;
  border: 1px solid #000;
}

.form-control:disabled,
.form-control[readonly] {
  background-color: #f1f5f7 !important;
}
.clock-timepicker-popup {
  direction: ltr !important;
}
