#factor-styles {
  direction: rtl;
  font-size: 14px !important;
  font-family: 'dana', 'Tahoma' !important;
  /* background: #ecf0f5 !important; */
  color: #000;
  font-variation-settings: 'FANU' 1;
}

#factor-styles .bg-pre-mizfa-tools:before {
  content: 'پیش فاکتور';
  opacity: 0.1;
  margin-top: 107px;
  font-size: 196px;
  display: inline-block;
  transform: rotate(331deg);
  font-weight: bolder;
  top: 10%;
  position: absolute;
}

#factor-styles table {
  width: 100%;
}
#factor-styles b {
  font-size: 14px;
  font-weight: 600 !important;
}

/* 
#factor-styles .bg-mizfa-toola {
  background-image: url(bg.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.14;
  height: 69%;
  margin-top: -65%;
} */

#factor-styles .row {
  display: -webkit-flex;
  display: -moz-box;
  display: flex;
  -webkit-flex-flow: row wrap;
  -moz-box-orient: horizontal;
  -moz-box-direction: normal;
  flex-flow: row wrap;
}

#factor-styles .col {
  position: relative;
  max-width: 100%;
  min-height: 1px;
}

#factor-styles .col-3 {
  display: block;
  -webkit-flex: 0 0 25%;
  -moz-box-flex: 0;
  flex: 0 0 25%;
  max-width: 25%;
}

#factor-styles .col-6 {
  display: block;
  -webkit-flex: 0 0 50%;
  -moz-box-flex: 0;
  flex: 0 0 50%;
  max-width: 50%;
}

#factor-styles .factor_wrapper {
  transition:
    padding-right 0.3s ease,
    transform 0.3s ease;
  position: relative;
}

#factor-styles .factor_container {
  min-height: calc(100vh - 95px);
  transition:
    padding 0.3s ease,
    width 0.15s ease;
  position: relative;
  margin: auto;
  padding: 40px 0;
  max-width: calc(100% - 120px);
  width: 1110px;
}

#factor-styles .y-box.y-box-lg {
  width: 992px;
}

#factor-styles .y-box {
  box-shadow:
    0 1px 3px 0 rgba(0, 0, 0, 0.2),
    0 1px 1px 0 rgba(0, 0, 0, 0.14),
    0 2px 1px -1px rgba(0, 0, 0, 0.12);
  position: relative;
  background: #fff;
  margin: 0 auto;
  max-width: 100%;
}

#factor-styles .y-box-body {
  padding: 16px;
  background-color: #fff;
  background-color: var(--box-background-color);
}

#factor-styles .mb-1,
#factor-styles .my-1 {
  margin-bottom: 4px !important;
}
#factor-styles .ml-0,
#factor-styles .mx-0 {
  margin-left: 0 !important;
}
#factor-styles .mr-0,
#factor-styles .mx-0 {
  margin-right: 0 !important;
}
#factor-styles .mt-1 {
  margin-top: 0.5rem !important;
}

#factor-styles .align-items-center {
  align-items: center !important;
}
#factor-styles .justify-content-center {
  justify-content: center !important;
}

#factor-styles .y-invoice-sectionHeader {
  padding: 4px;
  border-radius: 4px;
}

#factor-styles .y-invoice-sectionHeader,
#factor-styles .invoice-serialNumber {
  font-size: 15px;
  width: 110px;
  display: inline-block;
  text-align: center;
}
#factor-styles .font-weight-bold {
  font-weight: 700 !important;
}

#factor-styles .factor_section_header {
  border: 1px solid #000;
  color: inherit;
  padding: 4px;
  border-radius: 4px;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
}

#factor-styles .factor_payment_table {
  font-size: 15px;
  border: 2px solid #000;
  border-collapse: collapse;
  width: 100%;
  margin-top: -1px;
}

#factor-styles .factor_payment_table td,
#factor-styles .factor_payment_table th {
  border: 2px solid #000;
  text-align: center;
  padding: 2px 4px;
}
