:root {
  --primaryBgColor: #174703;
  --secondaryBgColor: #f9ae3e;
  --thierthBgColor: #fcce89;
  --primarytextColor: #174703;
  --secondarytextColor: #f9ae3e;
  --fontsizePercent: 85%;
}

html {
  font-size: var(--fontsizePercent) !important;
}

@font-face {
  font-family: "CertificateFont";
  font-weight: bold;
  font-style: normal;
  font-display: fallback;
  src: url("../fonts/farsi-fonts/IRANSansWeb(FaNum)_Medium.eot");
  src: url("../fonts/farsi-fonts/IRANSansWeb(FaNum)_Medium.eot?#iefix") format("embedded-opentype"), url("../fonts/farsi-fonts/IRANSansWeb(FaNum)_Medium.woff2") format("woff2"), url("../fonts/farsi-fonts/IRANSansWeb(FaNum)_Medium.woff") format("woff"),
    url("../fonts/farsi-fonts/IRANSansWeb(FaNum)_Medium.ttf") format("truetype");
}

.main-menu.menu-light .navigation {
  /* background: var(--secondaryBgColor); */
  background: #f2f4f4;
}

.main-menu.menu-light .navigation > li.nav-item.open.has-sub.open,
.main-menu.menu-light .navigation > li.nav-item.open.has-sub.sidebar-group-active,
.main-menu.menu-light .navigation > li.nav-item.sidebar-group-active.has-sub.open,
.main-menu.menu-light .navigation > li.nav-item.sidebar-group-active.has-sub.sidebar-group-active {
  border-radius: 0.267rem;
  border: 1px solid #dfe3e7;
  /* background-color: var(--thierthBgColor); */
  background-color: white;
  -webkit-transition: none;
  transition: none;
}

.main-menu.menu-light {
  color: #727e8c;
  /* background: var(--secondaryBgColor); */
  background: #f2f4f4;
  border: #dfe3e7;
  border-left-color: rgb(223, 227, 231);
  border-left-style: none;
  border-left-width: medium;
}

.main-menu .shadow-bottom {
  display: none;
  position: absolute;
  z-index: 2;
  height: 60px;
  width: 100%;
  pointer-events: none;
  margin-top: -1.3rem;
  -webkit-filter: blur(5px);
  filter: blur(5px);
  /* background: -webkit-linear-gradient(var(--secondaryBgColor) 41%, rgba(187, 226, 226, 0.11) 95%, rgba(255, 255, 255, 0));
  background: linear-gradient(var(--secondaryBgColor) 41%, rgba(187, 226, 226, 0.11) 95%, rgba(255, 255, 255, 0)); */
  background: -webkit-linear-gradient(#eee 41%, rgba(187, 226, 226, 0.11) 95%, rgba(255, 255, 255, 0));
  background: linear-gradient(#eee 41%, rgba(187, 226, 226, 0.11) 95%, rgba(255, 255, 255, 0));
}

.main-menu.menu-light .navigation > li.active:not(.sidebar-group-active) > a {
  background: var(--secondaryBgColor);
  color: var(--primaryBgColor);
  border-radius: 0.267rem;
}

.main-menu.menu-light .navigation > li ul .active > a {
  background: var(--secondaryBgColor);
  color: var(--primarytextColor);
  border-radius: 0.267rem;
}

.main-menu.menu-light .navigation > li ul .active {
  background: none;
}

.main-menu.menu-light .navigation li.has-sub ul {
  padding: 7px 0 7px;
  margin: -7px 0 0;
}

.swal2-container {
  z-index: 1000060 !important;
}

.ADMdtpInput input,
.form-control,
.select2-container--classic .select2-selection--single,
.select2-container--default .select2-selection--single {
  border: 1px solid var(--primaryBgColor);
}

body,
label,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6,
.main-menu.menu-light .navigation li a {
  color: var(--primarytextColor);
}

.main-menu.menu-light .navigation li.active a {
  color: #444;
}

.tableFixHead .btn i,
.collapse-icon .card-header {
  position: initial;
}

.tableFixHead {
  overflow-y: auto;
  height: 500px;
  border-radius: 7px;
  margin-bottom: 12px;
}

.ngdialog-content .card-body {
  max-height: 75vh;
  overflow-y: auto;
}

.tableFixHead.costmode {
  border: 2px solid rgba(255, 5, 5, 0.42);
  -webkit-box-shadow: 0px 0px 15px 4px rgba(255, 5, 5, 0.42);
  box-shadow: 0px 0px 15px 4px rgba(255, 5, 5, 0.42);
  margin-bottom: 12px;
}

.tableFixHead.incomemode {
  border: 2px solid rgba(5, 255, 5, 0.42);
  -webkit-box-shadow: 0px 0px 15px 4px rgba(5, 255, 5, 0.42);
  box-shadow: 0px 0px 15px 4px rgba(5, 255, 5, 0.42);
  margin-bottom: 12px;
}

.tableFixHead thead {
  position: sticky;
  color: #fff;
  top: 0;
  z-index: 2;
}

.tableFixHead tfoot {
  position: sticky;
  color: #fff;
  bottom: 0;
  z-index: 2;
}

.tableFixHead .table td {
  white-space: nowrap;
  padding-top: 0.5em;
  padding-bottom: 0.5em;
}

.tableFixHead .table th {
  white-space: nowrap;
}

.tableFixHead th.orderable {
  cursor: pointer;
}

.tableFixHead th.sortasc:after {
  font-family: "boxicons";
  content: "\ea57";
}

.tableFixHead th.sortdesc::after {
  font-family: "boxicons";
  content: "\ea4a";
}

.tableFixHead thead {
  background-color: var(--primaryBgColor);
  border: 2px solid var(--primaryBgColor);
  z-index: 4;
}

.tableFixHead tfoot {
  background-color: var(--primaryBgColor);
  border: 2px solid var(--primaryBgColor);
  z-index: 4;
}

.tableFixHead thead .form-control {
  background-color: #f1f4f4;
}

.tableFixHead thead tr:last-child th {
  color: var(--secondarytextColor);
  font-size: 0.95rem;
  font-weight: lighter;
  font-family: "secondary-font";
}

.tableFixHead thead th {
  border: none;
  vertical-align: top;
}

.tableFixHead .ADMdtpInput > .removeIcon {
  left: 3.5em;
}

.tableFixHead .ADMdtpInput > input {
  background-color: #f1f4f4;
  height: calc(1.1em + 0.94rem + 3.7px);
  font-size: 0.8rem;
  line-height: 1.1;
  border-radius: 0.267rem;
}

.tableFixHead thead tr > * {
  padding-top: 7px;
  padding-bottom: 7px;
}

.landing {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  text-align: center;
}

.tableFixHead > .landing {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  text-align: center;
  background: transparent;
  z-index: 3;
}

.landing .landingcenter {
  position: absolute;
  width: 256px;
  height: 256px;
  top: 50%;
  left: 50%;
  margin-left: -128px;
  margin-top: -128px;
}

.landing .landingcenter .landingAlt {
  position: absolute;
  width: 256px;
  height: 35px;
  top: 50%;
  left: 50%;
  margin-left: -128px;
  margin-top: -15px;
}

tr.araexchangeSelected {
  background: rgb(60, 109, 253) !important;
  background: linear-gradient(180deg, rgba(60, 109, 253, 0.6) 0%, rgba(60, 109, 253, 0.6) 100%) !important;
  color: #006 !important;
}

tr.araexchangeSelected:nth-of-type(2n + 1) {
  background: rgb(20, 69, 213) !important;
  background: linear-gradient(180deg, rgba(20, 69, 213, 0.6) 0%, rgba(20, 69, 213, 0.6) 100%) !important;
  color: #004 !important;
}

@media screen and (max-width: 767px) {
  div.dataTables_wrapper div.dataTables_length {
    text-align: right;
  }
}

.select2-container {
  z-index: 1000001;
}

body.ngdialog-open > .select2-container {
  z-index: 1000004 !important;
}

div.dataTables_wrapper div.dataTables_filter > label {
  text-align: right;
}

div.dataTables_wrapper div.dataTables_length {
  text-align: left;
}

.tooltip {
  z-index: 1237000;
}

.main-menu .navbar-header {
  /* background-color: var(--primaryBgColor); */
  background-color: white;
}

div.dataTables_wrapper div.dataTables_filter label {
  width: 100%;
}

div.dataTables_wrapper div.dataTables_filter input {
  width: 40%;
  margin: 0;
}

div.dataTables_wrapper div.dataTables_paginate ul.pagination {
  flex-wrap: wrap;
}

div.dataTables_wrapper div.dataTables_info {
  white-space: normal;
}

.dataTable thead tr:first-child th {
  padding: 2px;
}

table.table-bordered.dataTable th:last-child,
.table.table-bordered.dataTable th:last-child,
.table.table-bordered.dataTable td:last-child,
.table.table-bordered.dataTable td:last-child {
  border-right-width: 1px;
}

body.dark-layout .table tbody td a i,
body.dark-layout .table tbody th a i {
  color: #fff !important;
}

.btn {
  cursor: pointer;
}

/* custom scrollbar */
/* 
::-webkit-scrollbar {
    width: 17px;
}

::-webkit-scrollbar-track {
    background-color: #d6dee14d;
    border-radius: 20px;
    border: 16px solid transparent;
    background-clip: content-box;
}

::-webkit-scrollbar-thumb {
    background-color: #d6dee1;
    border-radius: 20px;
    border: 16px solid transparent;
    background-clip: content-box;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #a8bbbf;
} */

.dtp-ig {
  border-radius: 3px;
  border: 1px solid #ccc;
}

.ADMdtp.rtl .masterInput input {
  direction: ltr;
  padding-left: 2em;
}

.innershadow {
  box-shadow: 2px 2px 11px -2px rgba(74, 69, 69, 0.75) inset;
  -webkit-box-shadow: 2px 2px 11px -2px rgba(74, 69, 69, 0.75) inset;
  -moz-box-shadow: 2px 2px 11px -2px rgba(74, 69, 69, 0.75) inset;
  border-radius: 4px;
}

.ADMdtpInput > .removeIcon {
  position: absolute;
  display: block;
  left: 2em;
  right: unset;
  top: 0;
  z-index: 3;
  fill: #e64949;
  padding: 8px;
  cursor: pointer;
  opacity: 0.7;
  font-size: 1.1em;
  height: 34px;
}

.table-striped tbody tr {
  background-color: var(--thierthBgColor);
  color: var(--primarytextColor);
  border-right: 2px solid var(--primaryBgColor);
  border-left: 2px solid var(--primaryBgColor);
}

.forcebgthierth {
  background-color: var(--thierthBgColor) !important;
}

.table-striped tbody tr:last-child {
  border-bottom: 2px solid var(--primaryBgColor);
}

.table-striped tbody tr:nth-of-type(2n + 1) {
  background-color: var(--secondaryBgColor);
  color: #030;
  border-right: 2px solid var(--primaryBgColor);
  border-left: 2px solid var(--primaryBgColor);
}

.forcebgsecondary {
  background-color: var(--secondaryBgColor) !important;
}

div.card {
  border-radius: 7px;
}

/*
	Max width before this PARTICULAR.table gets nasty. This query will take effect for any screen smaller than 760px and also iPads specifically.
	*/

.tableFixHeadFilterbtn {
  /* height: max-content; */
  display: none;
}

/* @media only screen and (min-width: 830px), (max-device-width: 838px) and (min-device-width: 900px) {
    div.dataTables_wrapper .dataTables_filter {
        display: none;
    }

    .tableFixHeadFilterbtn {
        display: none;
    }
} */

@media only screen and (max-width: 830px), (min-device-width: 838px) and (max-device-width: 900px) {
  /* .tableFixHead thead, .table-striped tbody tr, .table-striped tbody tr:last-child, .table-striped tbody tr:nth-of-type(2n+1) {
        border: none;
    }

    div.dataTables_wrapper .dataTables_filter {
        display: block;
    }

    .tableFixHeadFilterbtn {
        display: block;
    }

    .tableFixHead {
        height: auto;
        border: none;
    }

    .tableFixHead .table td {
        white-space: unset;
    }

    .tableFixHead .table th {
        white-space: unset;
    }

    .table-striped tbody tr:nth-of-type(2n+1) {
        background: var(--secondary);
        color: #fff;
    }

    .table-striped tbody tr:nth-of-type(2n) {
        background: var(--secondary);
        color: #fff;
    } */

  .ngdialog-content .card-body {
    max-height: 60vh;
    overflow-y: auto;
  }

  /* .table:not(.table-fbordered) td {
        border-bottom: none !important;
    }

    .table:not(.table-fbordered),
    .table:not(.table-fbordered) thead,
    .table:not(.table-fbordered) tbody,
    .table:not(.table-fbordered) th,
    .table:not(.table-fbordered) td,
    .table:not(.table-fbordered) tr {
        display: block;
        overflow-y: auto;
    }

    .table:not(.table-fbordered) thead {
        overflow-y: clip;
    }

    .table:not(.table-fbordered) thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    .table:not(.table-fbordered) tr {
        margin: 7px;
        min-height: 47px;
        border-radius: 7px;
    }

    .table:not(.table-fbordered) tr td {
        border: none;
    }

    .table:not(.table-fbordered) th {
        display: none;
    }

    .table:not(.table-fbordered) td {
        border: none;
        border-bottom: 1px solid #eee;
        position: relative;
        padding-left: 50%;
        min-height: 47px;
    }

    .table:not(.table-fbordered) td:after {
        position: absolute;
        top: 0;
        left: 6px;
        width: 45%;
        padding-right: 10px;
        white-space: nowrap;
    }

    .table:not(.table-fbordered) td:before {
        content: attr(data-header) "  :  ";
        white-space: pre;
        float: right;
        direction: rtl;
        text-align: right;
    } */
}

.card .card.shadowMe {
  box-shadow: rgba(0, 0, 0, 0.02) 0px 1px 3px 0px, rgba(27, 31, 35, 0.15) 0px 0px 0px 1px !important;
}

.shadowMe {
  box-shadow: rgba(0, 0, 0, 0.02) 0px 1px 3px 0px, rgba(27, 31, 35, 0.15) 0px 0px 0px 1px !important;
}

.card .card.redshadowMe {
  box-shadow: 0px 5px 10px 5px rgb(175 0 0) !important;
}

.propertyrow {
  border-radius: 4px;
  padding: 5px 0px;
  box-shadow: rgb(6 24 44 / 40%) 0px 0px 0px 2px, rgb(6 24 44 / 65%) 0px 4px 6px -1px, rgb(255 255 255 / 8%) 0px 1px 0px inset;
}

.relationrow {
  border-radius: 4px;
  padding: 5px 0px;
  box-shadow: rgb(6 24 44 / 40%) 0px 0px 0px 2px, rgb(6 24 44 / 65%) 0px 4px 6px -1px, rgb(255 255 255 / 8%) 0px 1px 0px inset;
}

.propertyrow i.draghandle {
  font-size: 2.2rem;
  color: #aaa;
  cursor: move;
  cursor: grab;
  cursor: -moz-grab;
  cursor: -webkit-grab;
}

.relationrow i.draghandle {
  font-size: 2.2rem;
  color: #aaa;
  cursor: move;
  cursor: grab;
  cursor: -moz-grab;
  cursor: -webkit-grab;
}

.sortingbagContainer .sortingBox {
  cursor: move;
  cursor: grab;
  cursor: -moz-grab;
  cursor: -webkit-grab;
}

.sortingBox.gu-mirror {
  cursor: grabbing;
  cursor: -moz-grabbing;
  cursor: -webkit-grabbing;
}

.gu-mirror {
  z-index: 1000009999 !important;
}

.gu-mirror i.draghandle {
  cursor: grabbing;
  cursor: -moz-grabbing;
  cursor: -webkit-grabbing;
}

.badgeremover {
  display: -webkit-inline-box;
  display: inline-flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  border-radius: 50%;
  width: 24px;
  height: 24px;
}

.topzindex {
  z-index: 10000000;
}

.text-right li {
  text-align: right;
}

@media (max-width: 767.98px) {
  .heading-elements .list-inline {
    display: block;
  }
}

.toast-container {
  z-index: 1000061;
}

body.vertical-layout.vertical-menu-modern.menu-expanded .main-menu .navigation > li > ul > li > a > span.badge {
  position: absolute;
  left: 7px;
  top: 11px;
}

.ADMdtp {
  max-width: 280px;
}

.CertificateDesignerBackground {
  background-color: #bbb;
  position: relative;
  overflow: auto;
}

.CertificateDesigner {
  width: 297mm;
  height: 209mm;
  background-color: #fff;
  border: 1px solid #444;
  margin: 5px auto;
  overflow: hidden;
}

.certibgimg {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  display: inline-block;
}

.CertificateLayer {
  position: absolute;
  border: 1px dashed #33f;
  left: 44px;
  top: 44px;
  width: 250px;
  height: 60px;
  overflow: hidden;
  background-color: transparent;
  transition: box-shadow 0.3s ease-in-out;
  display: inline-block;
}

.CertificateElement {
  position: absolute;
  border: 1px dashed #f33;
  left: 44px;
  top: 44px;
  width: 250px;
  height: 60px;
  overflow: hidden;
  /* background-color: #fff; */
  transition: box-shadow 0.3s ease-in-out;
}

.layersList i.draghandle {
  cursor: move;
  cursor: grab;
  cursor: -moz-grab;
  cursor: -webkit-grab;
}

.elementsList i.draghandle {
  cursor: move;
  cursor: grab;
  cursor: -moz-grab;
  cursor: -webkit-grab;
}

.CertificateLayer.redshadowMe {
  box-shadow: 0px 5px 10px 5px rgb(175 0 0) !important;
}

.CertificateElement.redshadowMe {
  box-shadow: 0px 5px 10px 5px rgb(175 0 0) !important;
}

.CertificatePageLayout {
  position: relative;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  display: inline-block;
}

.CertificateElement .cetext {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  margin: 0;
  color: #000;
}

.CertificateElement .cetext * {
  color: #000;
}

.borderless {
  border: none !important;
}

.color-000 {
  color: #005;
}

.font-size-large {
  font-size: large;
}

.font-size-x-large {
  font-size: x-large;
}

.font-size-xx-large {
  font-size: xx-large;
}

.IranNastaliqi {
  font-family: "IranNastaliq" !important;
}

.overflowinitial {
  overflow: initial !important;
}

.table-fbordered,
.table-fbordered td,
.table-fbordered th {
  border: 1px solid #002 !important;
}

.table-fbordered thead th {
  background-color: #eee;
  font-size: unset;
}

.locator {
  position: absolute;
  left: -20px;
  top: -20px;
}

.table-fbordered td,
.table-fbordered th {
  padding: 0.15rem 2rem !important;
}

.ql-container {
  min-height: 350px !important;
}

.img-fluidX {
  height: 100%;
  width: 100%;
  display: block;
}

.layersettingbtn {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
  cursor: pointer;
  width: 5mm;
  height: 5mm;
  white-space: nowrap;
}

.bx-zzz {
  background-color: #a8b1bb !important;
  content: "";
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 50%;
  margin-left: 2.4rem;
}

.bankgateway {
  border-radius: 50%;
  max-width: 200px;
  width: 200px;
  height: 200px;
  max-height: 200px;
  margin: auto;
}

/* li.nav-item.has-sub>a:after {
    content: '\ea4d';
    font-family: 'boxicons';
    font-size: 1.2rem;
    color: #8494A7;
    display: inline-block;
    position: absolute;
    left: 7px;
    -webkit-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    transform: rotate(0deg);
    transition: -webkit-transform 0.4s ease-in-out;
}

li.nav-item.has-sub.open>a:after {
    -webkit-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    transform: rotate(-90deg);
} */

@media print {
  .CertificateDesigner {
    margin: 0;
    padding: 0;
  }
}

.ql-editor .ql-size-huge {
  font-size: 2em !important;
}

.messagePanel {
  max-height: 600px;
  overflow: auto;
}

.expertMessagePanel {
  margin-bottom: 10px;
}

.expertMessagePanel .message {
  width: 100%;
  border: 2px solid var(--secondaryBgColor);
  /* background-color: var(--secondaryBgColor); */
  border-radius: 7px 0 7px 7px;
  padding: 7px;
  position: relative;
}

.expertMessagePanel .message .messagedate {
  position: absolute;
  left: 0;
  top: 0;
  direction: ltr;
}

.supporterMessagePanel {
  margin-bottom: 10px;
}

.supporterMessagePanel .message {
  width: 100%;
  border: 2px solid var(--primaryBgColor);
  /* background-color: var(--primaryBgColor); */
  /* color: var(--secondarytextColor); */
  border-radius: 0 7px 7px 7px;
  padding: 7px;
  position: relative;
}

.supporterMessagePanel .message .messagedate {
  position: absolute;
  left: 0;
  top: 0;
  direction: ltr;
}

.supporterMessagePanel .message .removebtn {
  position: absolute;
  bottom: 36px;
  left: 0;
}

.ticketattachment {
  position: absolute;
  left: 0;
  bottom: 0;
}

.changesrow {
  border-radius: 4px;
  padding: 5px 0px;
  box-shadow: rgb(6 24 44 / 40%) 0px 0px 0px 2px, rgb(6 24 44 / 65%) 0px 4px 6px -1px, rgb(255 255 255 / 8%) 0px 1px 0px inset;
}

.changesrow i.draghandle {
  color: #666;
  cursor: move;
  cursor: grab;
  cursor: -moz-grab;
  cursor: -webkit-grab;
}

.loaderAnimation {
  border-radius: 50%;
  border-left: 6px solid var(--secondarytextColor);
  border-bottom: 6px dashed var(--secondarytextColor);
  animation: loading 1s linear infinite;
}

@keyframes loading {
  0% {
    transform: rotate(0);
  }

  100% {
    transform: rotate(-360deg);
  }
}

html.ngdialog-open {
  overflow: hidden;
}

html.ngdialog-open body.ngdialog-open {
  padding-right: 0 !important;
}

/* body.ngdialog-open {
    overflow: hidden;
}

.ngdialog-theme-none {
    overflow: hidden;
} */

@media (max-width: 450px) {
  .customizer.open {
    width: 100vw;
    min-width: 350px;
  }
}

div.message img {
  max-width: 90%;
}

html.layout-menu-hover body.vertical-menu-modern .main-menu {
  width: 260px !important;
  height: 100vh !important;
  border-radius: 0 !important;
  right: 0 !important;
}

/* 
html.layout-menu-hover body.vertical-menu-modern .navbar.fixed-top {
  right: 260px !important;
}

html.layout-menu-hover body.vertical-menu-modern .app-content {
  margin-right: 260px !important;
} */

body.menu-collapsed .main-menu.menu-light .navigation > li.open > ul {
  display: none;
}

html.layout-menu-hover body.menu-collapsed .main-menu.menu-light .navigation > li.open > ul {
  display: block;
}

body.vertical-layout.vertical-menu-modern.menu-collapsed .ngdialog {
  -webkit-transition: 300ms ease all;
  transition: 300ms ease all;
  -webkit-backface-visibility: hidden;
}

html.layout-menu-hover body.vertical-layout.vertical-menu-modern.menu-collapsed .ngdialog {
  margin-right: 260px !important;
}

#CertificatePage .table * {
  color: black;
}

#CertificatePage .table {
  table-layout: auto !important;
}

#CertificatePage .table td,
#CertificatePage .table thead th,
#CertificatePage .table th,
#CertificatePage .table tbody td,
#CertificatePage .table tfoot td,
#CertificatePage .table tfoot th {
  width: auto !important;
  font-family: "farhang2";
  text-align: center;
  text-transform: uppercase;
  font-weight: 600;
  -moz-font-feature-settings: "ss02";
  -webkit-font-feature-settings: "ss02";
  font-feature-settings: "ss02";
}

.ql-editor .ql-align-justify {
  text-align: justify;
  display: block;
  white-space: pre-line;
}

::selection {
  color: var(--secondarytextColor) !important;
  background: var(--primaryBgColor) !important;
}

.ledgerContainer {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  align-content: space-evenly;
}

.ledgeritem {
  min-width: unset !important;
  width: 130px;
  height: 140px;
  text-align: center;
  margin-right: 7px;
  position: relative;
}

.ledgeritem > i {
  font-size: 6em;
}

.ledgeritem .ribbonG {
  width: 0px;
  height: 35px;
  background-color: transparent;
  position: absolute;
  top: -5px;
  right: 5px;
  border: solid 12px aqua;
  border-bottom: solid 15px transparent;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}

.ledgeritem .ribbonS {
  width: 0px;
  height: 35px;
  background-color: transparent;
  position: absolute;
  top: -5px;
  right: 5px;
  border: solid 12px greenyellow;
  border-bottom: solid 15px transparent;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}

.ledgeritem .ribbonA {
  width: 0px;
  height: 35px;
  background-color: transparent;
  position: absolute;
  top: -5px;
  right: 5px;
  border: solid 12px mediumslateblue;
  border-bottom: solid 15px transparent;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}

.ledgeritem .nav {
  list-style: none;
  text-align: center;
}

.ledgeritem > p {
  margin: 0;
  padding: 0;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.ledgeritem > p.sokansyncer {
  position: absolute;
  left: -17%;
  top: 15%;
  width: 50%;
  transform: rotate(-90deg);
}

.ledgeritem .nav li {
  position: relative;
  display: inline-block;
  margin-right: -4px;
}

.ledgeritem .nav li::before {
  content: "";
  display: block;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #fff;
  width: 100%;
  height: 1px;
  position: absolute;
  top: 50%;
  z-index: -1;
}

.ledgeritem .nav a {
  display: block;
  background-color: #f7f7f7;
  background-image: -webkit-gradient(linear, left top, left bottom, from(#f7f7f7), to(#e7e7e7));
  background-image: -webkit-linear-gradient(top, #f7f7f7, #e7e7e7);
  background-image: -moz-linear-gradient(top, #f7f7f7, #e7e7e7);
  background-image: -ms-linear-gradient(top, #f7f7f7, #e7e7e7);
  background-image: -o-linear-gradient(top, #f7f7f7, #e7e7e7);
  color: #a7a7a7;
  margin: 7px;
  width: 32px;
  height: 32px;
  position: relative;
  text-align: center;
  line-height: 32px;
  border-radius: 50%;
  box-shadow: 0px 3px 8px #aaa, inset 0px 2px 3px #fff;
}

.ledgertreeview {
  min-height: 450px;
}

.fullscreenpanel {
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 1000002;
  margin: 0;
  padding: 0;
}

.transactionsContainer {
  display: flex;
  min-height: 500px;
  overflow-x: auto;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 30px 60px -12px inset, rgba(0, 0, 0, 0.3) 0px 18px 36px -18px inset;
  border-radius: 7px;
}

.payerContainer {
  min-width: max-content;
  text-align: center;
  border: 1px solid #bbe2e2;
  border-radius: 4px 4px 0 0;
}

.payerContainer > .payer {
  background-color: #bbe2e2;
  border-radius: 4px 4px 0 0;
  min-width: max-content;
  display: block;
}

.receivers {
  display: flex;
}

.receiverContainer {
  min-width: max-content;
  text-align: center;
  border: 1px solid #009292;
  border-radius: 4px 4px 0 0;
}

.receiverContainer > .receiver {
  background-color: #009292;
  border-radius: 4px 4px 0 0;
  min-width: max-content;
  display: block;
}

.creditcards {
  display: flex;
}

.creditcardContainer {
  min-width: max-content;
  text-align: center;
  border: 1px solid #779200;
  border-radius: 4px 4px 0 0;
}

.creditcardContainer > .creditcard {
  background-color: #779200;
  border-radius: 4px 4px 0 0;
  min-width: max-content;
  display: block;
}

.paids {
  text-align: right;
  line-height: 38px;
}

.paidContainer {
  min-width: max-content;
  text-align: center;
  border: 1px solid #945686;
  background-color: #945686;
  border-radius: 4px;
}

button[data-shortcut] {
  position: relative;
}

button[data-shortcut]::after {
  content: attr(data-shortcut);
  position: absolute;
  padding: 0 5px;
  left: -10px;
  top: -10px;
  border-radius: 50%;
  background-color: #000;
  display: inline-block;
  z-index: 4;
}

.flexableMe {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  align-content: space-evenly;
}

table .ADMdtp.rtl .masterInput input {
  direction: rtl;
  padding-left: 2em;
}

.rightSticky {
  position: sticky;
  right: 0;
  background-color: transparent;
  z-index: 5;
}

.logo.logo-name {
  opacity: 1;
  transition: all 0.5s;
}

html.layout-menu-hover .logo.logo-name {
  opacity: 1;
}

html:not(.layout-menu-hover) .logo.logo-name {
  opacity: 0;
}

html:not(.layout-menu-hover) .ZebraFox,
body.menu-expanded .ZebraFox {
  display: none;
}

body.menu-expanded .ZebraFox {
  display: block;
}

body.menu-expanded .logo.logo-name {
  opacity: 1 !important;
}

@media (max-width: 767.98px) {
  .logo.logo-name {
    opacity: 1 !important;
  }

  .ZebraFox {
    display: block !important;
  }
}

.bgbgContainer {
  background-image: url("/assets/images/logo/bgbg.jpg");
  background-size: cover;
  margin: 0;
  color: white !important;
  height: 150px;
}

.noteContainer {
  max-height: 400px;
  height: 400px;
  overflow: auto;
}

.noteContainer .note {
  border-top: 1px solid gray;
}

.noteContainer .note .viewer {
  padding: 1em 0.2em;
  position: relative;
}

.noteContainer .note .viewer .controls {
  display: none;
}

.noteContainer i {
  color: brown !important;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  border: 1px solid brown;
  line-height: 22px;
  text-align: center;
}

.noteContainer .note .viewer:hover .controls {
  display: inline;
  position: absolute;
  left: 4px;
  top: 10px;
}

.noteContainer .note .viewer .noteTitle {
  margin: 0 !important;
  line-height: unset !important;
}

.noteColorSelectorContainer {
  background-color: #ccc;
  border-radius: 0 0 7px 7px;
  height: 40px;
  border: 1px solid #fff;
  border-top: none;
}

.noteColorSelectorContainer .noteColorSelector {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  cursor: pointer;
  margin: 10px 4px;
}

.noteColorSelectorContainer .noteColorSelector.selected {
  border: 1px solid black;
}

.noteContainer .note:last-child {
  border-bottom: 1px solid gray;
}

.addnewNote {
  border-radius: 7px;
  padding: 0.5em;
}

.creditcardContainer .paids ul li:nth-of-type(2n + 1) {
  background-color: var(--secondaryBgColor);
}

.creditcardContainer .paids ul li {
  background-color: var(--thierthBgColor);
}

.badge {
  font-size: unset !important;
}

.reminderContainer {
  max-height: 350px;
  height: 350px;
  overflow: auto;
}

.reminderContainer .reminder {
  border-top: 1px solid gray;
}

.reminderContainer .reminder .viewer {
  padding: 1em 0.2em;
  position: relative;
}

.reminderContainer .reminder .viewer .controls {
  display: none;
}

.reminderContainer i {
  color: brown !important;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  border: 1px solid brown;
  line-height: 22px;
  text-align: center;
}

.reminderContainer .reminder .viewer:hover .controls {
  display: inline;
  position: absolute;
  left: 4px;
  top: 10px;
}

.reminderContainer .reminder .viewer .reminderTitle {
  margin: 0 !important;
  line-height: unset !important;
}

.reminderColorSelectorContainer {
  background-color: #ccc;
  border-radius: 0 0 7px 7px;
  height: 40px;
  border: 1px solid #fff;
  border-top: none;
}

.reminderColorSelectorContainer .reminderColorSelector {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  cursor: pointer;
  margin: 10px 4px;
}

.reminderColorSelectorContainer .reminderColorSelector.selected {
  border: 1px solid black;
}

.reminderContainer .reminder:last-child {
  border-bottom: 1px solid gray;
}

.addnewNote {
  border-radius: 0 0 7px 7px;
  padding: 0;
  margin: 0 -10px -10px -10px;
}

.addnewReminder {
  border-radius: 0 0 7px 7px;
  padding: 0;
  margin: 0 -10px -10px -10px;
}

.rightSticky {
  position: sticky;
  right: 0;
  background-color: var(--primaryBgColor);
  z-index: 5;
}

.tableFixHead table thead fieldset.form-group {
  margin: 0 !important;
}

.tableFixHead table thead th {
  padding: 0 0.1em !important;
}

.tableFixHead table thead .form-control {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  height: 2rem;
  border-radius: 0;
}

.tableFixHead table tbody:has(.btn-group) tr td {
  padding-top: 2px !important;
  padding-bottom: 2px !important;
}

.tableFixHead table tbody tr td {
  padding-top: 2px !important;
  padding-bottom: 2px !important;
}

.table td,
.table th {
  padding: 1.15rem 0.5rem !important;
}

body div.navbar-container.shadowMe {
  background-color: white;
  margin: 0.3rem 0.5rem;
  border-radius: 7px;
}

body.page-scrolled div.navbar-container.shadowMe {
  margin: 0 0.5rem;
  box-shadow: none !important;
}

.rounded-pill-right {
  border-radius: 0 50rem 50rem 0 !important;
}

.rounded-pill-left {
  border-radius: 50rem 0 0 50rem !important;
}

.color-mazou {
  color: #f9ae3e !important;
}

.bg-mazou {
  background-color: #f9ae3e !important;
  color: #fff !important;
}

.bolder {
  font-weight: bolder !important;
}

.panelox {
  border-radius: 7px;
  padding: 0.5em;
  /* box-shadow: rgba(0, 0, 0, 0.25) 0px 0.0625em 0.0625em,
    rgba(0, 0, 0, 0.25) 0px 0.125em 0.5em,
    rgba(255, 255, 255, 0.1) 0px 0px 0px 1px inset; */
  box-shadow: rgba(0, 0, 0, 0.02) 0px 1px 3px 0px, rgba(27, 31, 35, 0.15) 0px 0px 0px 1px;
  margin: 15px 4px 0 4px;
  position: relative;
}

.panelox[data-title]::after {
  content: attr(data-title);
  position: absolute;
  right: 10px;
  top: -9px;
  background-color: white;
  padding: 0 10px;
  box-shadow: rgba(0, 0, 0, 0.25) 0px 0.0625em 0.0625em, rgba(0, 0, 0, 0.25) 0px 0.125em 0.5em, rgba(255, 255, 255, 0.1) 0px 0px 0px 1px inset;
  box-shadow: rgba(0, 0, 0, 0.02) 0px 1px 3px 0px, rgba(27, 31, 35, 0.15) 0px 0px 0px 1px;
  border-radius: 4px;
}

.f1_5-3 {
  font-size: 1.5vw;
}

.f4-10 {
  font-size: 4vw;
}

@media (max-width: 576px) {
  .f1_5-3 {
    font-size: 3vw;
  }

  .f4-10 {
    font-size: 10vw;
  }
}

.ADMdtp-calendar-container.rtl {
  font-family: unset !important;
}

.ledgerSelectorBtn {
  max-width: 150px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  width: 150px;
}

.SB-Asset {
  background-color: rgba(26, 179, 148, 0.15);
  color: #1ab394;
  border-right: 8px solid #1ab394;
  border-radius: 4px;
  padding: 4px;
}

.SB-Asset .SB-header {
  border-bottom: 2px dotted #1ab394;
}

.SB-Asset .SB-footer {
  border-top: 2px dotted #1ab394;
}

.SB-Remain {
  background-color: rgba(179, 26, 148, 0.15);
  color: #b31a94;
  border-right: 8px solid #b31a94;
  border-radius: 4px;
  padding: 4px;
}

.SB-Remain .SB-header {
  border-bottom: 2px dotted #b31a94;
}

.SB-Remain .SB-footer {
  border-top: 2px dotted #b31a94;
}

.SB-Equity {
  background-color: rgba(26, 148, 179, 0.15);
  color: #1a94b3;
  border-right: 8px solid #1a94b3;
  border-radius: 4px;
  padding: 4px;
}

.SB-Equity .SB-header {
  border-bottom: 2px dotted #1a94b3;
}

.SB-Equity .SB-footer {
  border-top: 2px dotted #1a94b3;
}

.SB-Debit {
  background-color: rgba(227, 35, 35, 0.15);
  color: #e32322;
  border-right: 8px solid #e32322;
  border-radius: 4px;
  padding: 4px;
}

.SB-Debit .SB-header {
  border-bottom: 2px dotted #e32322;
}

.SB-Debit .SB-footer {
  border-top: 2px dotted #e32322;
}

.SB-Item {
  display: flex;
}

.SB-Item-Title {
  cursor: pointer;
  width: 65%;
}

.SB-Item-Sum {
  width: 35%;
  text-align: center;
}

.SB-Item-ShowInOtherCurrencies {
  text-align: center;
}

.SB-Item-Title:hover {
  background-color: snow;
}

.SBx-Item {
  display: flex;
}

.SBx-Item-Title {
  width: 65%;
}

.SBx-Item-Sum {
  width: 35%;
  text-align: center;
}

.SBx-Item-ShowInOtherCurrencies {
  text-align: center;
}

.SB-Debt-Input,
.SB-Debt-Input:focus {
  background-color: #d1ebe6;
}

.SB-Credit-Input,
.SB-Credit-Input:focus {
  background-color: #e9d3e6;
}

.cursor-pointer {
  cursor: pointer;
}

.FlexContainer {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: flex-start;
  align-content: flex-start;
  flex-direction: row;
}

.FlexContainer .FlexBox {
  margin: 5px;
}

tbody.noBG tr {
  background: unset !important;
}

.MoneyBox {
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-size: cover;
  background-position-y: center;
  -webkit-filter: blur(20px);
  -moz-filter: blur(20px);
  -o-filter: blur(20px);
  -ms-filter: blur(20px);
  filter: blur(20px);
  position: absolute;
  left: 0;
  top: 0;
  width: 80%;
  z-index: 0;
}

.CIBox {
  background-image: url("/assets/images/chartbg.png");
  background-repeat: no-repeat;
  background-size: 250px;
  background-position-y: top;
  background-position-x: left;
  position: absolute;
  left: -5px;
  top: -5px;
  width: 80%;
  z-index: 0;
  mix-blend-mode: color-burn;
  height: 140px;
}

.red-shadow {
  -webkit-box-shadow: 0px 0px 15px 4px rgba(255, 5, 5, 0.42);
  box-shadow: 0px 0px 15px 4px rgba(255, 5, 5, 0.42);
}

.green-shadow {
  -webkit-box-shadow: 0px 0px 15px 4px rgba(5, 255, 5, 0.42);
  box-shadow: 0px 0px 15px 4px rgba(5, 255, 5, 0.42);
}

.shortcutcontainer {
  width: 480px;
  padding: 8px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 10px;
  max-width: 100%;
}

.storageinfocontainer {
  width: 480px;
  padding: 8px;
  max-width: 100%;
}

.shortcutItem {
  padding: 7px;
  width: 100px;
  height: 90px;
  max-height: 90px;
  display: block;
  margin-bottom: 7px;
  text-align: center;
  overflow: hidden;
  box-shadow: rgba(255, 255, 255, 0.2) 0px 0px 0px 1px inset, rgba(0, 0, 0, 0.9) 0px 0px 0px 1px;
  border-radius: 6px;
  color: unset !important;
}

.shortcut {
  position: relative;
}

.shortcut .remover {
  position: absolute;
  left: -5px;
  top: -5px;
  border-radius: 50%;
  height: 30px;
  float: unset;
}

.shortcutItem i.bx,
.shortcutItem i.bi {
  font-size: xx-large;
  float: unset !important;
  color: lightslategrey;
  cursor: pointer;
}

.shortcutItem p.shortcutTitle {
  cursor: pointer;
  font-size: 0.8rem;
}

ul.menu-content i.bi {
  padding-left: 3px;
}

.select2-container--default .select2-selection--single .select2-selection__clear {
  float: right !important;
  margin-left: 7px;
  margin-right: 7px;
}

.greenborderforcard .card {
  box-shadow: rgba(0, 150, 0, 0.7) 0px 1px 3px 0px, rgba(27, 181, 0, 1) 0px 0px 0px 1px !important;
}

.VoucherfabButton {
  position: fixed;
  left: 10px;
  bottom: 10px;
  padding: 10px;
  border-radius: 50%;
  height: 64px;
  width: 64px;
  text-align: center;
  background-color: cadetblue;
  line-height: 64px;
  opacity: 0.5;
  cursor: pointer;
  border: 1px solid black;
}

.VoucherfabButton:focus {
  opacity: 1;
}

.mazouflexbox {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.mazouflexbox .mazouflexitem {
  margin-right: 7px;
  margin-left: 7px;
}

.lh36 {
  line-height: 36px;
}

/* استایل dropdown فقط برای این کامپوننت */
.persian-typeahead .dropdown-menu {
  direction: rtl;
  text-align: right;
  font-size: 14px;
  left: auto !important;
  right: 0 !important;
  min-width: 250px;
}

.persian-typeahead .dropdown-menu li {
  cursor: pointer;
}

.persian-typeahead .dropdown-menu:before {
  left: unset !important;
  right: 1.2rem;
}

.persian-typeahead .dropdown-menu .uib-typeahead-match {
  text-align: right;
  padding: 8px 12px;
}

.persian-typeahead .dropdown-menu .uib-typeahead-match.active,
.persian-typeahead .dropdown-menu .uib-typeahead-match:hover {
  background-color: #337ab7;
}

.persian-typeahead .dropdown-menu .uib-typeahead-match.active a,
.persian-typeahead .dropdown-menu .uib-typeahead-match:hover a {
  color: white;
}

/* همان استایل‌های مرحله ۱ با این تفاوت که کلاس‌ها را برای کامپوننت نگه می‌داریم */
.fab-button {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #3f51b5;
  color: #fff;
  border: none;
  font-size: 30px;
  cursor: pointer;
  opacity: 0.7;
  transition: all 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.fab-button:hover {
  opacity: 1;
  transform: scale(1.05);
}
body.menu-collapsed .fab-button {
  right: 30px;
}
body.menu-expanded .fab-button {
  right: 280px;
}
body.fab-panel-open .fab-button {
  background: #ff31b5;
  transform: rotate(45deg);
}

.slide-panel {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 260px;
  max-width: 90vw;
  background: #ffffff;
  box-shadow: 4px 0 20px rgba(0, 0, 0, 0.2);
  transform: translateX(110%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1000003;
  padding: 0.5rem 1rem;
  overflow-y: auto;
}
.slide-panel.open {
  transform: translateX(0);
}

body.fab-panel-open .select2-dropdown,
body.fab-panel-open .select2-container--open {
  z-index: 1000003 !important;
}

body.fab-panel-open .ngdialog {
  z-index: 1000003 !important;
}

@media (max-width: 600px) {
  .slide-panel {
    width: 100vw;
    max-width: 100vw;
    border-radius: 0;
  }
}

.zoomable-image-viewer {
  width: 100%;
  height: 100%;
  min-height: 500px;
  overflow: hidden;
  position: relative;
  border-radius: 8px;
  background: #f8f8f8;
  touch-action: none;
}

.zoomable-image-viewer:active {
  cursor: grabbing;
}

.zoomable-image-viewer .zoomable-image {
  width: 100%;
  height: 100%;
  object-fit: contain; /* یا cover بسته به نیازت */
  max-width: none;
  max-height: none;
}
