@media print {
    *,
    *::before,
    *::after {
      text-shadow: none !important;
      box-shadow: none !important;
    }
    a:not(.btn) {
      text-decoration: underline;
    }
    abbr[title]::after {
      content: " (" attr(title) ")";
    }
    pre {
      white-space: pre-wrap !important;
    }
    pre,
    blockquote {
      border: 1px solid #adb5bd;
      break-inside: avoid;
    }
    tr,
    img {
      break-inside: avoid;
    }
    p,
    h1,
    h2,
    h3 {
      orphans: 3;
      widows: 3;
    }
    h1,
    h2,
    h3 {
      break-after: avoid;
    }
    @page {
      size: a4;
    }
    body {
      min-width: 992px !important;
    }
    .container {
      min-width: 992px !important;
    }
    .badge {
      border: 1px solid #000;
    }
    .table {
      border-collapse: collapse !important;
    }
    .table th {
      background-color: #fff !important;
    }
    .table-bordered th,
    .table-bordered td {
      border: 1px solid #dee2e6 !important;
    }
    /* TODO: not working ?? */
    .table-striped tr:nth-child(even) {
      background-color: #d0ead2;
    }
    .table-dark {
      color: inherit;
    }
    .table-dark th,
    .table-dark td,
    .table-dark thead th,
    .table-dark tbody + tbody {
      border-color: #dee2e6;
    }
  }
/* ============ Override navbar style ============ */

.navbar-dark {
    background-color: #307F5B !important;
}

.nav-link {
    color: white !important;
}

.nav-link:hover {
    color: black !important;
}


.logo {
    width: 100%;
    height: auto;
}

/* ============ dropdown on hover > desktop view ============ */
@media all and (min-width: 992px) {
	.navbar .nav-item .dropdown-menu{ display: none; }
    .navbar .nav-item .dropdown-menu{ margin-top: 0; }
	.navbar .nav-item:hover .dropdown-menu{ display: block; }
}


/* ============ Override h1-h5 style ============ */
h1, h2, h3, h4, h5 {
    color: #307F5B !important;
}

/* ============ Override table-striped style ============ */
.table.table-striped {
    --bs-table-striped-bg: #d0ead2;
}

/* ============ hide screen-hide class in screen ============ */
@media screen {
    .screen-hide {
      display:none;
    }
}

.clickable {
    cursor: pointer;
}

.clickable:hover {
    text-decoration: underline;
}



/* ======== max-width classes ========= */

.max-width-sm {
    max-width: 576px;
}

.max-width-md {
    max-width: 768px;
}

.max-width-lg {
    max-width: 992px;
}

.max-width-xl {
    max-width: 1200px;
}

.max-width-xxl {
    max-width: 1400px;
}

/* ============ bootstrap pagination ============ */

.pagination {
    --bs-pagination-padding-x: 0.75rem;
    --bs-pagination-padding-y: 0.375rem;
    --bs-pagination-font-size: 1rem;
    --bs-pagination-color:  #307F5B !important;
    --bs-pagination-bg: #fff;
    --bs-pagination-border-width: 1px;
    --bs-pagination-border-color: #dee2e6;
    --bs-pagination-border-radius: 0.375rem;
    --bs-pagination-hover-color: #307F5B !important;
    --bs-pagination-hover-bg: #e9ecef;
    --bs-pagination-hover-border-color: #dee2e6;
    --bs-pagination-focus-color: var(--bs-link-hover-color);
    --bs-pagination-focus-bg: #e9ecef;
    --bs-pagination-focus-box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
    --bs-pagination-active-color: #fff;
    --bs-pagination-active-bg: #307F5B !important;
    --bs-pagination-active-border-color: #307F5B !important;
    --bs-pagination-disabled-color: #6c757d;
    --bs-pagination-disabled-bg: #fff;
    --bs-pagination-disabled-border-color: #dee2e6;
    display: flex;
    padding-left: 0;
    list-style: none;
}
@media print {
  /* All your print styles go here */

  #header {
    display: none !important;
  }



  .print-hide {
    display:none;
  }

  footer {
    display: none !important;
  }

  nav {
    display: none !important;
  }






  /*

  #print-area {
    break-inside: avoid-page !important;
  }


  table {
    break-inside: avoid;
  }

  thead {
    display: table-header-group;
  }

  tr {
    break-inside: avoid;
    break-after: auto;
  }



  */




}
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */
