/* body > div:not(.pdf-page){
    display: none;
} */
.programs-page>div.pdf-page {
  display: none !important;
}

.programs-page>div.pdf-page.active {
  display: block;
  position: fixed;
  width: 90%;
  padding: 5% 10%;
  height: 100%;
  z-index: 1002;
  /* background-color: white; */
  /* left: 0; */
  /* bottom: 0; */
  overflow-y: auto;
}

.programs-page>.container-fluid .pdf-logo {
  display: none;
  /* max-width: 350px !important;
  max-height: 350px !important; */

}

.programs-page>.container-fluid .pdf-username {
  display: none;
}

.container-fluid {
  /* background-image: url('/assets/images/image_2023-05-18_15_05_47.png');
  background-size: 1px 1px;
  background-repeat: no-repeat;
  position: relative !important; */
  /* background: transparent !important; */
  /* break-after: always; */
}

.pdf-page {
  /* background-image:linear-gradient(63deg, white, white),url(/assets/images/image_2023-05-18_15_05_47.png); */
}

body>.pdf-page {
  display: none !important;
}

.price_advance {
  /* display: none; */
}

@media print {

  * {
    border: 0px solid black;
    margin: 0;
    padding: 0;
  }

  @page {
    size: A4 !important;
    margin: 0cm;
  }

  body {
    zoom: 100% !important;
  }


  .pdf-page .container-fluid {
    page-break-after: avoid;
    height: auto;
  }

  .pdf-page .card {
    background-color: unset !important;
  }


  ::-webkit-scrollbar {
    display: none;
  }

  *:not(body) {
    background-color: transparent !important;
  }

  html,
  body {

    height: 100vh;
    margin: 0 !important;
    padding: 0 !important;
  }

  body {
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
    page-break-after: avoid;

  }

  .pdf-page .container-fluid {
    height: 100vh !important;
  }

  main,
  section {}

  .programs-page>div.pdf-page {
    display: block !important;
  }



  .pdf-page .pdf-username {
    /* position: relative; */
    text-align: left !important;
    font-size: 1rem;
    margin-bottom: 3rem;
    margin-top: 5rem;
    display: block !important;
    float: left;
    width: fit-content;
    /* right: 7%; */
  }

  .pdf-page .pdf-logo img {
    display: block !important;
    /* max-width:  100% !important; */
    width: 100% !important;
    /* width: auto !important; */
    height: 100% !important;
    object-fit: cover !important;
    margin: auto;
    border-radius: 5px;
  }

  .pdf-page .pdf-logo {
    display: block !important;
    float: right;
    z-index: 400;
    text-align: center;
    /* position: relative; */
    /* left: 5%;
    top: 1%; */
    margin-top: 5rem;
    max-width: 140px;
    max-height: 140px;
    overflow: hidden;
  }

  .pdf-page table {
    page-break-after: avoid;
    margin-top: 250px;
  }

  tr {
    break-inside: avoid;
  }

  .pdf-page tbody {
    display: block;

  }

  .pdf-page tbody tr.tr-break {}

  .pdf-page tbody tr.active:last-of-type {}

  .pdf-page tbody tr.tr-break-top {}

  .pdf-page tbody td span {
    color: black !important;
  }


  tr {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding: 5px 0 !important;
  }

  thead tr {}

  tbody tr {
    border-bottom: 3px solid var(--primary-hover-color);

  }

  .pdf-page tbody tr.active {
    display: block !important;
  }

  .pdf-page thead {
    /* display: none !important; */
  }

  .pdf-page tbody tr.not-active {
    display: none;
  }

  .pdf-page tbody tr td:first-child {
    display: none;
  }

  .pdf-page td {
    color: rgb(10, 0, 0);
    display: inline-block;
  }


  .pdf-page .language,
  .pdf-page .university_name,
  .pdf-page .university_logo,
  .pdf-page .university {
    width: 20% !important;
    max-width: 20% !important;
    font-size: 13px !important;
    text-align: center !important;
    min-height: 100%;
    max-height: max-content;
    vertical-align: middle !important;
    overflow: hidden;
  }

  .pdf-page .language,
  .pdf-page .university {
    width: 30% !important;
    max-width: 30% !important;
  }
  .pdf-page  .university_logo{
    display: inline-flex !important;
    text-align: center !important;
    align-items: center !important;
    justify-content: center !important;
    align-self: center;
  }
  .pdf-page tbody .university_logo{
    height: 80px !important;
    vertical-align: middle;
  }
  .pdf-page tbody .university_logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    display: block;
  }
 
  .pdf-page .pdf_label{
    background-color: var(--primary-color) !important;
    color: white !important;
    border-radius: 20px;
    padding: 0.2rem !important;
  }
  .pdf-page .pdf_label span{
    color: white !important;
  }
  .pdf-page .pdf_price_after{
    background-color: var(--success-color) !important;
  }
  .pdf-page .price,
  .pdf-page .brother_discount,
  .pdf-page .price_before,
  .pdf-page .degree,
  .pdf-page .cash,
  .price_advance,
    .campus,
  .currency,
  .advanced_payment,
  .country,
  .city,
  .pdf-page .active_status {
    display: none !important;
  }

  .pdf-page td {
    text-align: center;
    border-bottom: 0px solid black;
  }

  .pdf-page td span {
    display: flex !important;
    width: fit-content !important;
    margin: auto !important;
    min-width: 100%;
    height: 100% !important;
    align-items: center !important;
    justify-content: center !important;
    border-bottom: 0px solid black; 
  }

  .pdf-page table .active-university .active_status span {

    color: white !important;
    background-color: var(--success-color) !important;
    padding: 1rem !important;
    width: fit-content !important;
    border-radius: var(--border-radius) !important;
  }

  .pdf-page table .inactive-university .active_status span {

    color: white !important;
    padding: 1rem !important;
    width: fit-content !important;
    border-radius: var(--border-radius) !important;
    background-color: var(--error-color) !important;

  }

  .university_name {

    color: rgb(10, 0, 0);

  }


  .pdf-page nav,
  .pdf-page nav.main-header,
  .pdf-page .card-header,
  .pdf-page .filters,
  .pdf-page .dataTables_paginate
   {
    display: none !important;
  }

  .pdf-page .card {
    border: 0px !important;

  }

  .pdf-page thead {
    /* padding-top: 5rem !important;
    padding-bottom: 5rem !important;
    border: 1px solid black !important; */
    margin-top: 5rem !important;
    /* display: block !important; */
  }

  .choose-checkbox {
    display: none;
  }

  thead tr {
    border-color: var(--primary-color) !important;

  }

  thead th {
    background-color: var(--primary-color) !important;
    color: white !important;
  }

  .pdf-page .pdf-td-key {
    background-color: var(--primary-color) !important;
    color: white !important;
    padding: 0.5rem !important;
    border-radius: var(--border-radius) !important;

  }

  .pdf-page .pdf-td-key,
  .pdf-page .pdf-td-key+span {}

  .pdf-page td div {
    display: flex;
    width: 100%;
    justify-content: center;
    margin-bottom: 0.2rem;
  }

  .pdf-page span.d-none {
    display: none !important;
  }



  .programs-page>.container-fluid,
  .programs-page>.main-header,
  nav,
  #sidebarMenu {
    display: none !important;
  }

}