/* Invoice Application css */
/*-------------------------*/
.invoice-view-wrapper hr {
  border-style: dashed;
}

.invoice-view-wrapper .invoice-info .invoice-from,
.invoice-view-wrapper .invoice-info .invoice-to {
  margin-bottom: 0.8rem;
}

.invoice-view-wrapper .invoice-product-details .table th {
  font-weight: 500;
}

.invoice-view-wrapper .invoice-product-details .table th,
.invoice-view-wrapper .invoice-product-details .table td {
  padding: 0.75rem 2rem;
}

.invoice-view-wrapper .invoice-subtotal .invoice-calc {
  margin: 0.2rem 0;
}

.invoice-view-wrapper .invoice-subtotal .invoice-calc .invoice-title {
  width: 171px;
}

.invoice-view-wrapper .invoice-subtotal .invoice-calc .invoice-value {
  color: #304156;
  margin-bottom: 0;
}

.invoice-view-wrapper .invoice-action-wrapper {
  background-color: #fafbfb;
}

.invoice-view-wrapper .invoice-action-wrapper .invoice-action-btn {
  margin-bottom: 1.2rem;
}

.invoice-view-wrapper
  .invoice-action-wrapper
  .invoice-action-btn
  .invoice-send-btn {
  box-shadow: 0 2px 4px 0 rgba(90, 141, 238, 0.6);
}

.invoice-list-wrapper .dataTables_wrapper .top {
  border: 1px solid #dfe3e7;
  background-color: #ffffff;
  border-top-left-radius: 0.267rem;
  border-top-right-radius: 0.267rem;
}

.invoice-list-wrapper
  .dataTables_wrapper
  .top
  .action-filters
  .dataTables_filter {
  padding: 0 15px;
}

.invoice-list-wrapper
  .dataTables_wrapper
  .top
  .action-filters
  .dataTables_filter
  label {
  width: 100%;
  margin-bottom: 0;
  position: relative;
  font-family: boxicons !important;
  line-height: 1;
  font-size: 1rem;
}

.invoice-list-wrapper
  .dataTables_wrapper
  .top
  .action-filters
  .dataTables_filter
  label::after {
  position: absolute;
  content: "\eb54";
  left: 20px;
  top: 12px;
}

.invoice-list-wrapper
  .dataTables_wrapper
  .top
  .action-filters
  .dataTables_filter
  label
  input {
  width: 99%;
  height: 38px;
  font-family: "IBM Plex Sans", Helvetica, Arial, serif;
  padding-left: 2rem;
  font-size: 1rem;
}

.invoice-list-wrapper
  .dataTables_wrapper
  .top
  .action-filters
  .dataTables_filter
  label
  input::placeholder {
  font-family: "IBM Plex Sans", Helvetica, Arial, serif;
  color: #828d99;
  font-size: 1rem;
}

.invoice-list-wrapper .dataTables_wrapper .top .action-btns button {
  padding: 0.367rem 1.5rem;
}

.invoice-list-wrapper .dataTables_wrapper .invoice-data-table {
  background-color: #ffffff;
  border: 1px solid #dfe3e7;
  border-top: none;
  border-bottom-left-radius: 0.267rem;
  border-bottom-right-radius: 0.267rem;
  border-collapse: separate !important;
  border-spacing: 0;
}

.invoice-list-wrapper .dataTables_wrapper .invoice-data-table thead th {
  font-weight: normal;
  font-size: 0.99rem;
}

.invoice-list-wrapper
  .dataTables_wrapper
  .invoice-data-table
  thead
  th:last-child::after,
.invoice-list-wrapper
  .dataTables_wrapper
  .invoice-data-table
  thead
  th:last-child::before {
  display: none;
}

.invoice-list-wrapper .dataTables_wrapper .invoice-data-table tr:hover {
  box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.12);
}

.invoice-list-wrapper
  .dataTables_wrapper
  .invoice-data-table
  tr
  th:nth-child(2),
.invoice-list-wrapper
  .dataTables_wrapper
  .invoice-data-table
  tr
  td:nth-child(2) {
  padding-left: 10px;
}

.invoice-list-wrapper
  .dataTables_wrapper
  .invoice-data-table
  tr
  .invoice-action
  a {
  color: #b3c0ce;
}

.invoice-list-wrapper .dataTables_wrapper .invoice-data-table tr td {
  white-space: nowrap;
}

.invoice-list-wrapper
  .dataTables_wrapper
  .invoice-data-table
  .dt-checkboxes-cell {
  width: 1px !important;
  padding: 0 20px 3px 19px;
}

.invoice-list-wrapper
  .dataTables_wrapper
  .invoice-data-table
  .dt-checkboxes-cell::after,
.invoice-list-wrapper
  .dataTables_wrapper
  .invoice-data-table
  .dt-checkboxes-cell::before {
  display: none;
}

.invoice-list-wrapper
  .dataTables_wrapper
  .invoice-data-table
  .dt-checkboxes-cell
  input {
  width: 0;
  position: relative;
}

.invoice-list-wrapper
  .dataTables_wrapper
  .invoice-data-table
  .dt-checkboxes-cell
  input::before {
  content: "";
  height: 20px;
  width: 20px;
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 4px;
  background-color: #ffffff;
  border: 1px solid #dfe3e7;
}

.invoice-list-wrapper
  .dataTables_wrapper
  .invoice-data-table
  .dt-checkboxes-cell
  input::after {
  content: "";
  height: 20px;
  width: 20px;
  border: 1px solid #dfe3e7;
  position: absolute;
  border-radius: 4px;
  top: 0;
  left: 0;
  transition: 100ms ease-in-out;
}

.invoice-list-wrapper
  .dataTables_wrapper
  .invoice-data-table
  .dt-checkboxes-cell
  input:checked::after {
  border-top-style: none;
  border-right-style: none;
  -ms-transform: rotate(-45deg);
  transform: rotate(-45deg);
  height: 0.4rem;
  width: 0.8rem;
  border-color: #5a8dee;
  border-radius: 0;
  border-width: 2px;
  top: 6px;
  left: 4px;
}

.invoice-list-wrapper
  .dataTables_wrapper
  .invoice-data-table
  .dt-checkboxes-cell
  input:checked::before {
  box-shadow: 0 0 6px 0 rgba(22, 22, 22, 0.2);
}

.invoice-list-wrapper
  .dataTables_wrapper
  .invoice-data-table
  tbody
  .selected-row-bg {
  background-color: #e7edf3;
}

.invoice-list-wrapper .dataTables_wrapper .invoice-data-table tbody .bullet-sm {
  margin-right: 0.2rem;
}

.invoice-list-wrapper
  table.dataTable.dtr-column
  > tbody
  > tr
  > td.control:before,
.invoice-list-wrapper
  table.dataTable.dtr-column
  > tbody
  > tr
  > th.control:before {
  line-height: 18px;
}

.invoice-edit-wrapper hr {
  border-style: dashed;
}

.invoice-edit-wrapper .invoice-info .invoice-to {
  margin-bottom: 0.8rem;
}

.invoice-edit-wrapper .invoice-date-picker .pickadate {
  max-width: 130px;
}

.invoice-edit-wrapper .invoice-item-title {
  color: #475f7b;
  font-weight: 500;
}

.invoice-edit-wrapper .invoice-icon .dropdown .dropdown-toggle::after {
  display: none;
}

.invoice-edit-wrapper .invoice-icon .dropdown .dropdown-menu {
  width: 20rem;
}

.invoice-edit-wrapper .invoice-icon .dropdown .dropdown-menu::before {
  display: none;
}

.invoice-edit-wrapper .invoice-repeat-btn {
  font-size: 1rem;
  font-weight: 500;
}

.invoice-edit-wrapper .invoice-subtotal-value {
  color: #304156;
}

.invoice-edit-wrapper .invoice-subtotal-title {
  color: #727e8c;
}

.invoice-edit-wrapper .subtotal-preview-btn {
  box-shadow: 0 2px 4px 0 rgba(90, 141, 238, 0.4);
}

.invoice-edit-wrapper .invoice-action-wrapper {
  background-color: #fafbfb;
}

.invoice-edit-wrapper
  .invoice-action-wrapper
  .invoice-action-btn
  .invoice-send-btn {
  box-shadow: 0 2px 4px 0 rgba(90, 141, 238, 0.6);
}

.invoice-edit-wrapper .invoice-terms .invoice-terms-title {
  font-family: "Rubik", Helvetica, Arial, serif;
  color: #475f7b;
}

@media screen and (max-width: 1290px) {
  .invoice-subtotal {
    width: 100% !important;
  }
  .invoice-subtotal .invoice-title {
    width: auto !important;
  }
}

@media screen and (max-width: 596px) {
  .action-btns {
    margin-bottom: 1rem;
    padding-left: 23px;
  }
}

@media screen and (max-width: 767px) {
  .invoice-payment {
    border: 1px solid #dfe3e7;
    border-radius: 0.267rem;
    padding: 1rem;
  }
}

@media print {
  /* Hide a Unnecessary div while print invoice*/
  html,
  body {
    visibility: hidden;
  }
  .invoice-print-area {
    visibility: visible;
    page-break-after: auto;
  }
  .invoice-print-area .divider {
    margin: 0.5rem 0 !important;
  }
  body.dark-layout .card {
    box-shadow: none !important;
  }
  .invoice-action-wrapper,
  .sidenav-main,
  .navbar,
  .btn-customizer,
  .theme-cutomizer,
  .btn-buy-now,
  .page-footer {
    display: none;
  }
  .horizontal-menu.navbar-sticky .content > .content-wrapper {
    margin-top: 0 !important;
  }
  html body.navbar-sticky .app-content .content-wrapper,
  body.vertical-layout.vertical-menu-modern.menu-collapsed .app-content {
    margin: 0;
    padding: 0;
  }
  .main-menu {
    display: none;
  }
  /* card shadow remove while printing invoice*/
  .card {
    box-shadow: none;
  }
  /* table border added while printing invoice*/
  table th,
  table td {
    border: 1px solid #dfe3e7;
  }
  /* column size change*/
  .invoice-subtotal .row .col {
    width: 50% !important;
  }
  .invoice-date-number .col,
  .invoice-logo-title .col,
  .invoice-info .col {
    width: 50% !important;
  }
}

@page {
  size: auto;
  /* auto is the initial value */
  margin: 0;
  padding: 0;
  /* this affects the margin in the printer settings */
}
