.logo {
  width: 43px;
  margin: 0 0 0;
}

.gp-4 {
  gap: 4px;
}

.gp-14 {
  gap: 14px;
}

.red {
  color: red;
  font-weight: bolder;
}

.q-mark {
  border: 1px solid #0011ff75;
  border-radius: 50%;
  height: 75px;
  width: 75px;
  text-align: center;
  margin: 34px 40%;
  color: #0011ff75;
  font-size: 49px;
}

.search input {
  border: 1px solid #edeff2;
  border-radius: 5px;
  padding: 0px 9px;
  /* height: 35px; */
}

.filter button {
  padding: 6px 31px
}

.filter button.btn-secondary {
  height: 35px;
}

.filter {
  margin: 29px 0;
  flex-wrap: wrap;
}

/* Custom Multi Select */
.sd-multiSelect {
  position: relative;
}

.sd-multiSelect .placeholder {
  opacity: 1;
  background-color: transparent;
  cursor: pointer;
}

.sd-multiSelect .ms-offscreen {
  height: 1px;
  width: 1px;
  opacity: 0;
  overflow: hidden;
  display: none;
}

.sd-multiSelect .sd-CustomSelect {
  width: 100% !important;
}

.sd-multiSelect .ms-choice {
  position: relative;
  text-align: right;
  width: 100%;
  border: 1px solid #e3e3e3;
  background: #ffff;
  box-shadow: none;
  font-size: 15px;
  height: 44px;
  font-weight: 500;
  color: #212529;
  line-height: 1.5;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border-radius: 0.25rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.sd-multiSelect .ms-choice:after {
  content: "\1F893 ";
  font-family: "FontAwesome";
  position: absolute;
  left: 10px;
  top: 78%;
  transform: translateY(-50%);
  font-size: 28px;
}

.sd-multiSelect .ms-choice:focus {
  border-color: var(--theme-color);
}

.sd-multiSelect .ms-drop.bottom {
  display: none;
  background: #fff;
  border: 1px solid #e5e5e5;
  padding: 10px;
}

.sd-multiSelect .ms-drop li {
  position: relative;
  margin-bottom: 10px;
}

.sd-multiSelect .ms-drop li input[type="checkbox"] {
  padding: 0;
  height: initial;
  width: initial;
  margin-bottom: 0;
  display: none;
  cursor: pointer;
}

.sd-multiSelect .ms-drop li label {
  cursor: pointer;
  user-select: none;
  -ms-user-select: none;
  -moz-user-select: none;
  -webkit-user-select: none;
}


.sd-multiSelect .ms-drop li input:checked+span:after {
  content: "";
  display: block;
  position: absolute;
  top: 9px;
  left: 5px;
  width: 10px;
  height: 10px;
  background: var(--theme-color);
  border-width: 0 2px 2px 0;
}

.hover-active tfoot tr {
  background: rgb(235 51 73 / 75%);
  color: #fff;
}

.hover-active tr:hover {
  background:  rgb(235 51 73 / 50%);
  color: #fff;
}
.hover-active tr:hover a {
  color: white;
}
.hover-active tfoot tr a {
  color: #fff;
}

.hidden-input {
  display: none;
}

.invoice {
  border: 2px solid #37474f;
  padding: 16px;
  margin: 16px;
  border-radius: 5px;
  text-align: center;
}

.hidden {
  display: none;
}

.d-flex {
  display: flex;
}

.pro_scroll .table-responsive {
  height: 505px;
}

#itemList,
#selectedList {
  height: 195px;
  overflow: auto;
  padding: 0 13px;
  cursor: pointer;
}

#itemList li {
  margin: 11px 0;
}

#itemList li.selected {
  color: #808080a1;
}

.trash {
  color: red;
  cursor: pointer;
  margin: 0 18px;
}

.items,
.selected-items {
  background-color: #fff;
  padding: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  width: 45%;
}

.genealogy-body {
  white-space: nowrap;
  overflow-y: hidden;
  padding: 50px;
  min-height: 500px;
  padding-top: 10px;
  direction: ltr;
  width: 100%;
}

div#genealogy-tree ul {
  padding-top: 20px;
  position: relative;
  padding-left: 0px;
  display: flex;
}

.tree li {
  float: left;
  text-align: center;
  list-style-type: none;
  position: relative;
  /* padding: 21px ​128px 0 37px; */
  padding: 20px 5px 0 5px;
  transition: all 0.5s;
  -webkit-transition: all 0.5s;
  -moz-transition: all 0.5s;
}

.tree li::before,
.tree li::after {
  content: '';
  position: absolute;
  top: 0;
  right: 50%;
  border-top: 1px solid #ccc;
  width: 50%;
  height: 20px;
}

.tree li::after {
  right: auto;
  left: 50%;
  border-left: 1px solid #ccc;
}

.tree li:only-child::after,
.tree li:only-child::before {
  display: none;
}

.tree li:only-child {
  padding-top: 0;
}

.tree li:first-child::before,
.tree li:last-child::after {
  border: 0 none;
}

.tree li:last-child::before {
  border-right: 1px solid #ccc;
  border-radius: 0 5px 0 0;
  -webkit-border-radius: 0 5px 0 0;
  -moz-border-radius: 0 5px 0 0;
}

.tree li:first-child::after {
  border-radius: 5px 0 0 0;
  -webkit-border-radius: 5px 0 0 0;
  -moz-border-radius: 5px 0 0 0;
}

.tree ul ul::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  border-left: 1px solid #ccc;
  width: 0;
  height: 20px;
}

.tree li div {
  border: 1px solid #ccc;
  padding: 5px 7px;
  text-decoration: none;
  color: #666;
  font-size: 13px;
  display: inline-block;
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  transition: all 0.5s;
  -webkit-transition: all 0.5s;
  -moz-transition: all 0.5s;
}

.tree li div:hover,
.tree li div:hover+ul li div {
  background: #c8e4f8;
  color: #000;
  border: 1px solid #94a0b4;
}

.tree li div:hover+ul li::after,
.tree li div:hover+ul li::before,
.tree li div:hover+ul::before,
.tree li div:hover+ul ul::before {
  border-color: #94a0b4;
}

.actions .disappear {
  display: none;
}

.actions:hover .disappear {
  display: block;
}

.actions:hover .disappear .btn {
  padding: 2px 5px;
  font-size: 11px;
}

.dropzone {
  background: white;
  border-radius: 5px;
  border: 2px dashed rgb(0, 135, 247);
  border-image: none;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.dropzone .needsclick {
  margin: 14px 0;
}

.dz-success-mark,
.dz-error-mark {
  display: none;
}

.long {
  min-width: 200px;
  white-space: normal !important;
}

.kind_row td.long {
  white-space: normal;

}

#edit_discount,
#edit_price,
#kind,
#gov,
#time,
#group,
#price_plan_id,
#rep,
#rep-client {
  display: none;
}

.button-f {
  justify-content: flex-end;
  flex-wrap: wrap;
}

.button-f button {
  height: 40px;
}

.filter .btn-group .dropdown-toggle {
  min-width: 202px
}

/* @media (max-width: 576px) {
  .filter .btn-group .dropdown-toggle {
    min-width: auto
  }
} */
.nav-icon {
  /* width: 56px; */
  font-size: 15px;
  text-align: center;
}

.pcoded-navbar.navbar-collapsed .b-brand.logo {
  display: none;
}

.pcoded-navbar.menu-light .b-brand.logo {
  width: 100%;
  place-content: center;
  margin: -116px 0 72px;
}

/* width */
.pcoded-navbar::-webkit-scrollbar {
  width: 2px;
}

/* Track */
.pcoded-navbar::-webkit-scrollbar-track {
  background: #f1f1f1;
}

/* Handle */
.pcoded-navbar::-webkit-scrollbar-thumb {
  background: #aeaeae;
  border-radius: 10px;
}

/* Handle on hover */
.pcoded-navbar::-webkit-scrollbar-thumb:hover {
  background: #aeaeae;
}

.btn.btn-icon.btn-outline-primary i,
.btn.btn-icon.btn-outline-primary svg,
.btn.btn-icon.btn-outline-primary span {
  color: #89CFF0;
}

.btn.btn-icon.btn-outline-primary:hover i,
.btn.btn-icon.btn-outline-primary:hover svg,
.btn.btn-icon.btn-outline-primary:hover span {
  color: #ffff;
}

.btn.btn-icon.btn-outline-primary.bank {
  display: flex;
  gap: 6px;
}
/******************** Print ************************/
/* @media print {
  nav ,
  header,
  .page-header,
  button, .btn {
    display: none !important;
  }
  .table-responsive {
    max-width: 100%;
    width: 100%;
    overflow-x: hidden;
    overflow-y: hidden;
    max-height: 100% !important;
  }
  .table-responsive table th,
  .table-responsive table td {
    text-wrap: wrap; */

  /* } */
  /* h3 {
    font-size: 16px;
  }
  .box.bg-gray {
    width: 49%;
    margin-left: auto;
    display: inline-block;
  }
  .pcoded-content {
    margin-top: 0px !important;
    padding-top: 0px !important;
    padding-bottom: 0px !important;
    background-color: white;
  }
  .page-header {
     margin-bottom: 0px;
    margin-top: 0px;
  }
  .card-header {
    padding-top: 0px !important;
    padding-bottom: 0px !important;
  }
  .card-body {
    padding-top: 0px !important;
  }
  .print-header {
    display: block !important;
    text-align: right;
  }
  .page-header {
    margin-bottom: 0px;
  }
  .print-header h4 {
    display: inline-block;
    width: 80%;
    text-align: left;
    vertical-align: middle;
    margin-right: auto;
  }
  .pcoded-main-container {
    position: relative;
  }
  .print-footer { 
    display: block !important;
    width: 100%;
    display: block;
    margin-top: 100px;
    background-color: white;
    text-align: center;
  }
  .print-footer h4 {
    width: calc(98% / 3);
    display: inline-block;
  }
  body {
    position: relative;
    background-color: white;
  }
  .card {
    background-color: white;
  }
  .print-header .logo {
    display: inline-block;
    width: 18%;
  }
  .print-header .logo img {
    width: 100%;
    
  }
  .break-line {
    margin:10px 0px 0px ;
  }
} */
 /* @media print {
    nav,
    header, .page-header {
      display: none !important;
    }
 }
/******************** Print ************************/
@media  print{
  body {
    background-color: white !important;
  }
  .table-container {
    max-height: initial !important;
  }
  nav,header, .page-header,.pagination,.btn, .hidden-print ,a.btn {
    display: none ;
    opacity: 0;
  }
  .pcoded-main-container {
    margin-right: 0px; 
    width: 100%;
  }
  table table button {
    display: block !important;
    opacity: 1 !important;
  }
  .card, .card-body {
    padding-top: 0px !important;
  }
  .pcoded-content {
    margin-top: 0px !important;
    padding: 0px !important;
   }
   table {
    border-collapse: collapse !important;
    /* page-break-inside: auto !important; */
   }
       tr:nth-child(even) {
        background-color: #f9f9f9; /* Light gray for even rows */
    }
    table.table, * {
      page-break-before: avoid !important;
      /* page-break-before: auto; */
    }
    .no-print {
      display: none !important;
    }
    /* tr { */
      /* page-break-inside: auto !important; */
      /* page-break-after: auto !important; */
      /* page-break-before: auto !important; */
    /* } */
    th, td {
      page-break-inside: avoid !important;
      white-space: wrap !important;
      text-wrap: wrap !important;
    }
    .box:not(.account) {
      width: 48%;
      display: inline-block;
    }
    .box:nth-child(even) {
      margin-right: auto !important;
    }
    div {
      page-break-inside: avoid !important;
    }
 
    .header {
        position: fixed;
        display: flex !important;
        flex-direction: row-reverse;
        align-items: center;
        justify-content: space-between;
        top: 0;
        left: 0;
        right: 0;
        text-align: center;
        background-color: transparent !important;
        padding: 5px 0;
        border-bottom: 1px solid #000;
        z-index: 1000;
    }
    .header img {
      width: 150px;
    }

    .footer {
        position: fixed;
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        bottom: 0 !important;
        left: 0;
        right: 0;
        text-align: center;
        background-color: transparent !important;
        page-break-after: always;
        padding: 5px 0;
        border-top: 1px solid #000;
        z-index: 100000000 !important;
    }
    /* @page {
      padding-top: 100px !important;
    } */
}
           
/***************** Multible Select **********/
.choices__inner {
    display: inline-block;
    vertical-align: top;
    width: 100%;
    background-color: white !important;
    padding: 7.5px 7.5px 3.75px;
    border: 1px solid #ced4da5c !important;
    border-radius: 2.5px;
    font-size: 14px;
    min-height: 43px !important;
    overflow: hidden;
}
.choices__list--multiple .choices__item {
    display: inline-flex !important;
    vertical-align: middle;
    border-radius: 20px;
    padding: 4px 10px;
    font-size: 12px;
    flex-direction: row-reverse;
    font-weight: 500;
    margin-right: 3.75px;
    margin-bottom: 3.75px;
    background-color: #f4f4f4 !important;
    border: 1px solid #4f4f4f !important;
    color: black !important;
    word-break: break-all;
    box-sizing: border-box;
}
.choices[data-type*=select-multiple] .choices__button, .choices[data-type*=text] .choices__button {
  background-image: url("../images/4781838_cancel_close_delete_exit_logout_icon.svg") !important;
  opacity: 1 !important;
  background-size: 12px !important;
}
.choices__list--dropdown .choices__list, .choices__list[aria-expanded] .choices__list {
  max-height: 200px !important;
}
/***************** Multible Select **********/
/***************** Table Sticky **********/
        .table-container {
            max-height: 300px; /* Set a fixed height for scrolling */
            overflow-y: auto; /* Enable vertical scrolling */
        }
        .table-container table {
          margin-bottom: 0px !important;
        }
        .table-container table th {
          border-bottom: 0px;
        }
        .sticky-header {
            position: sticky;
            top: 0;
            z-index: 1;
            background: white; /* Background color for the sticky header */
        }
        .sticky-footer {
            position: sticky;
            bottom: 0;
            z-index: 1;
            background: white; /* Background color for the sticky footer */
        }
/***************** Table Sticky **********/
@media print {
  input,select, .dropdown-select button {
    display: block !important;
  }
  .table-responsive.branch-data {
    width: 100% ;
    max-width: 100%;
  }
  .header, .footer {
    display: flex !important;
  }
  .card {
    max-width: 100%;
  }
  .table-container th {
    border-style: solid;
    border-color: #eee !important;
    border-width: 1px !important;
  }
  .box.bg-gray {
  margin-top: 24px;
}
.box.bg-gray {
  margin-left: 15px !important;
}
.card-header {
  padding-bottom: 0px;
}
.card-body {
  padding-top: 0px;
}
  body,.pcoded-main-container,
  .table-box > tfoot td {
    background-color: white !important;
  }

  .table-box thead {
    display: table-header-group;
  }
  .dropdown-select,input[type="date"] {
    display: none;
  }
  .card-body,.card {
                padding-left: 0 !important;
                padding-right: 0 !important;
            }
            .card-header {
                padding-top: 0px !important;
            }
  @page {
    size: A4  ; 
    background-color: white !important;
    height: 100%;
  }
   .table-box tfoot > tr > td {
            height: 80px;

        }
    .table-box    thead th {
            height: 60px;
        }
}
.table-box {
  width: 100%;
  table-layout: fixed !important;
}
/* .table-box > tbody > tr > td,
.table-box > tfoot > tr > td {
  border: none;
} */
@media (max-width:577px) {
  #target-popup {
    max-width: 100% !important;
  }
}
.table-box .card {
  margin-bottom: 0px !important;
}
  .table-box  > thead th,
  .table-box > tbody > tr > td,
  .table-box > tfoot td{
    border: none;
  }
.table-container.one {
  max-height: 38.5em !important;
}
.table-container.two {
  max-height: 42em ;
}
.table-container.three {
  max-height: 34.4em !important;
}
.table-box > tbody > tr > td {
  padding: 0 15px !important;
}
table table button {
  margin-bottom: 0px !important;
}



