/* Invoice list */
/*---------------*/
.invoice-list-wrapper {
  margin-top: 45px;
  margin-bottom: 22px;
  /* invoice wrapper */
}

.invoice-list-wrapper .responsive-table {
  /* data table */
  /* Data table Pagination*/
  /* small bullet*/
}

.invoice-list-wrapper .responsive-table .top .action-filters {
  -webkit-box-flex: .95;
  -webkit-flex-grow: .95;
  -ms-flex-positive: .95;
  flex-grow: .95;
}

.invoice-list-wrapper .responsive-table .top .action-filters .dataTables_filter {
  width: 100%;
  padding-right: 30px;
}

.invoice-list-wrapper .responsive-table .top .action-filters .dataTables_filter label {
  position: relative;
}

.invoice-list-wrapper .responsive-table .top .action-filters .dataTables_filter label input[type="search"] {
  border: 1px solid #9e9e9e !important;
  background: white;
  margin: 0;
  height: 3.2rem;
  padding-left: 1.5rem;
  border-radius: 150px;
  border-bottom: none;
}

.invoice-list-wrapper .responsive-table .top .action-filters .dataTables_filter label input[type="search"]:focus {
  box-shadow: none;
}

.invoice-list-wrapper .responsive-table .top .action-filters .dataTables_filter label .filter-btn {
  position: absolute;
  right: 7px;
  top: -12px;
}

.invoice-list-wrapper .responsive-table .top .action-btns {
  -webkit-box-flex: .05;
  -webkit-flex-grow: .05;
  -ms-flex-positive: .05;
  flex-grow: .05;
  -webkit-justify-content: space-around;
  -ms-flex-pack: distribute;
  justify-content: space-around;
}

.invoice-list-wrapper .responsive-table .invoice-data-table {
  border-collapse: collapse;
  box-shadow: box-shadow .25s;
}

.invoice-list-wrapper .responsive-table .invoice-data-table th {
  width: auto !important;
  padding: 19px 15px;
  border-bottom: 1px solid #e0e0e0;
}

.invoice-list-wrapper .responsive-table .invoice-data-table.dataTable tbody td {
  padding: .8rem .8rem;
}

.invoice-list-wrapper .responsive-table .invoice-data-table.dataTable tbody td .invoice-action a {
  color: #9e9e9e;
}

.invoice-list-wrapper .responsive-table .invoice-data-table.dataTable tbody td .invoice-action a i {
  font-size: 1.5rem;
}

.invoice-list-wrapper .responsive-table .invoice-data-table tr:last-child {
  border-bottom-color: transparent;
}

.invoice-list-wrapper .responsive-table .invoice-data-table .dt-checkboxes-cell {
  /* Data Table checkbox style */
}

.invoice-list-wrapper .responsive-table .invoice-data-table .dt-checkboxes-cell input {
  opacity: .5;
  -webkit-appearance: none;
}

.invoice-list-wrapper .responsive-table .invoice-data-table .dt-checkboxes-cell input::before, .invoice-list-wrapper .responsive-table .invoice-data-table .dt-checkboxes-cell input::after {
  content: '';
  position: absolute;
  border-radius: 4px;
  top: -4px;
  left: 0;
  width: 18px;
  height: 18px;
  z-index: 0;
  border: 2px solid #9e9e9e;
  margin-top: -3px;
  -webkit-transition: .2s;
  transition: .2s;
}

.invoice-list-wrapper .responsive-table .invoice-data-table .dt-checkboxes-cell input:checked:before, .invoice-list-wrapper .responsive-table .invoice-data-table .dt-checkboxes-cell input:checked::after {
  top: -4px;
  left: -5px;
  width: 12px;
  height: 22px;
  border-top: 2px solid transparent;
  border-left: 2px solid transparent;
  border-right: 2px solid #ff4081;
  border-bottom: 2px solid #ff4081;
  -webkit-transform: rotate(40deg);
  -ms-transform: rotate(40deg);
  transform: rotate(40deg);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transform-origin: 100% 100%;
  -ms-transform-origin: 100% 100%;
  transform-origin: 100% 100%;
}

.invoice-list-wrapper .responsive-table .bottom {
  margin-top: 1rem;
}

.invoice-list-wrapper .responsive-table .bottom .dataTables_paginate .paginate_button {
  padding: 0.25em 0.65em;
  margin-top: 0.25rem;
}

.invoice-list-wrapper .responsive-table .bottom .dataTables_paginate .paginate_button.current, .invoice-list-wrapper .responsive-table .bottom .dataTables_paginate .paginate_button:hover {
  border-radius: 4px;
  background: #3f51b5;
  border: 1px solid #3f51b5;
  box-shadow: 0px 0px 8px 0px #3f51b5;
  color: white !important;
}

.invoice-list-wrapper .responsive-table .bullet {
  height: 10px;
  width: 10px;
  border-radius: 50%;
  display: inline-block;
  margin-right: .2rem;
}

/* Invoice */
/*--------*/
.invoice-view-wrapper .invoice-calc .invoice-title {
  width: 171px;
}

.invoice-view-wrapper .invoice-from,
.invoice-view-wrapper .invoice-to {
  font-size: 16px;
  font-weight: bold;
  color: #6b6f82;
  margin-bottom: 1rem;
}

.invoice-view-wrapper .invoice-action-wrapper .invoice-action-btn {
  margin-bottom: .8rem;
}

.invoice-view-wrapper .invoice-address {
  margin-bottom: 1rem;
}

/* Invoice Edit and Add */
/*----------------------*/
.invoice-edit-wrapper {
  /* Invoice Item */
  /* Invoice action button */
  /* border color all form element*/
}

.invoice-edit-wrapper .invoice-date-picker {
  /* Date Picker label */
}

.invoice-edit-wrapper .invoice-date-picker small {
  white-space: nowrap;
}

.invoice-edit-wrapper .px-36 {
  padding-left: 36px;
  padding-right: 36px;
}

.invoice-edit-wrapper .invoice-item {
  border: 1px solid #e8e8e8;
  border-radius: 4px;
  /* Invoice Icon*/
  /* invoice Item field*/
  /* dropdown content */
}

.invoice-edit-wrapper .invoice-item .invoice-icon {
  border-left: 1px solid #e8e8e8;
  padding: 5px;
}

.invoice-edit-wrapper .invoice-item .invoice-item-filed {
  padding: .8rem;
}

.invoice-edit-wrapper .invoice-item .dropdown-content {
  width: 254px;
  padding: 10px;
  overflow: visible;
}

.invoice-edit-wrapper .delete-row-btn,
.invoice-edit-wrapper .dropdown {
  text-align: center;
  cursor: pointer;
}

.invoice-edit-wrapper .delete-row-btn i,
.invoice-edit-wrapper .dropdown i {
  font-size: 1.2rem;
}

.invoice-edit-wrapper .invoice-action-wrapper .invoice-action-btn {
  margin-bottom: .8rem;
}

.invoice-edit-wrapper .invoice-action-wrapper .invoice-action-btn .preview,
.invoice-edit-wrapper .invoice-action-wrapper .invoice-action-btn .save {
  padding: 0 0.75rem;
}

.invoice-edit-wrapper .invoice-action-wrapper .btn {
  padding: 0 0;
}

.invoice-edit-wrapper textarea.materialize-textarea,
.invoice-edit-wrapper input,
.invoice-edit-wrapper select {
  border-bottom: 1px solid #e8e8e8 !important;
}

@media (min-width: 600px) {
  /* responsive table*/
  .responsive-table .top .action-btns,
  .responsive-table .top .action-filters {
    /* filters btn positioning on above middium screen */
  }
  .responsive-table .top .action-btns .btn,
  .responsive-table .top .action-filters .btn {
    padding: 0 1rem;
  }
  .responsive-table .top .action-btns .btn i,
  .responsive-table .top .action-filters .btn i {
    float: left;
    margin-right: 8px;
  }
  .invoice-date-picker {
    -webkit-box-pack: end;
    -webkit-justify-content: flex-end;
    -ms-flex-pack: end;
    justify-content: flex-end;
  }
  .invoice-logo {
    -webkit-box-pack: end;
    -webkit-justify-content: flex-end;
    -ms-flex-pack: end;
    justify-content: flex-end;
  }
}

@media (max-width: 600px) {
  .invoice-payment {
    border: 1px solid #e8e8e8;
    border-radius: 4px;
    padding: 1rem;
  }
  /* Date picker*/
  .invoice-date-picker {
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }
}

@media (max-width: 1054px) and (min-width: 600px) {
  .invoice-action-wrapper .btn .responsive-text {
    /* Button text */
    font-size: .8rem;
  }
}

@media (min-width: 1201px) {
  .invoice-view-wrapper .invoice-date {
    -webkit-box-pack: end;
    -webkit-justify-content: flex-end;
    -ms-flex-pack: end;
    justify-content: flex-end;
  }
}

@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: .5rem 0 !important;
  }
  .invoice-action-wrapper,
  .sidenav-main,
  .navbar,
  .btn-customizer,
  .theme-cutomizer,
  .btn-buy-now,
  .page-footer {
    display: none;
  }
  /* card shadow remove while printing invoice*/
  .card {
    box-shadow: none;
  }
  .card .card-content {
    padding: 0 !important;
  }
  /* table border added while printing invoice*/
  table th,
  table td {
    border: 1px solid #e8e8e8;
  }
  /* 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 */
}
