/* Updated Date: 11 JUN 2025 14.24;
/* ELIB Version 4.2
/*Override Color CSS*/

html { 
  filter: grayscale(80%); 
}
:root {
  --maincolor: #2b579a;
}

body {
  font-size: 0.85rem !important;
}

input,
select,
button {
  font-size: 0.85rem !important;
}

select#id_db {
  font-size: 0.85rem !important;
}

@-moz-document url-prefix() {
  body {
    max-width: auto !important;
    margin-top: -15px;
  }
}

.pagehead-fluid {
  /* styles for pagehead-fluid */
}

/*Navigation Bar*/
.navbar {
  margin-bottom: 20px !important;
}

.nav-sm {
  margin-bottom: 0px !important;
  padding: 1px !important;
  display: flex;
  line-height: 1.5;
  position: relative;
}

.nav-patron {
  padding: 0.3rem 0.5rem !important;
  color: rgba(0, 0, 0, 0.5);
  cursor: default;
}

.nav-patron:hover {
  color: rgba(0, 0, 0, 0.5);
  cursor: default;
}

.form-cat {
  margin-block-end: 0em !important;
}

.nav-sta {
  max-width: auto !important;
}

@-moz-document url-prefix() {
  .nav-sta {
    max-width: auto !important;
    margin-top: -15px;
  }
}

.nav-pat {
  max-width: auto !important;
  margin-top: -20px !important;
  margin-bottom: 10px !important;
}

.bg-dark {
  background-color: var(--maincolor) !important;
}

.navbar-sm {
  padding: 0.1rem 0.5rem !important;
}

.navbar-dark .navbar-brand,
.navbar-dark .navbar-brand:focus,
.navbar-dark .navbar-brand:hover {
  color: white;
}

.bg-sub {
  background-color: transparent;
}

.navbar-dark .navbar-nav .nav-link,
.navbar-dark .navbar-nav .nav-link:focus,
.navbar-dark .navbar-nav .nav-link:hover {
  color: white;
}

.navbar-disabled {
  color: #9498a1 !important;
}

/*End Navigation Bar*/
.card-deck {
  margin-top: 15px;
}

/* Share and Social */
.fb-share {
  background-color: rgb(59, 89, 152);
  color: #fff;
}

.twtter-share {
  background-color: #1b95e0;
  color: #fff;
}

.print-out,
.email-out {
  background-color: #555555;
  color: #fff;
}

/* Menu */
.left-tab {
  border-top-left-radius: 5px !important;
}

.carousel-indicators {
  bottom: -10px;
}

.carousel-indicators li {
  background-color: #9498a1;
}

.carousel-indicators .active {
  background-color: var(--maincolor);
}

.carousel-control-prev,
.carousel-control-next {
  width: 5%;
  color: #9498a1;
  background-color: transparent;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  background-color: #9498a1;
}

.newadiv {
  margin-top: 10px;
  margin-bottom: 15px;
}

.nav-pills .nav-link.active,
.show>.nav-pills .nav-link {
  color: #fff;
  background-color: var(--maincolor);
  border-top-left-radius: 0px !important;
  border-bottom-left-radius: 0px !important;
  border-top-right-radius: 0px !important;
  border-bottom-right-radius: 0px !important;
  cursor: default;
}

.newa-head,
.newa-body {
  border-color: var(--maincolor);
  padding-right: 0px;
  padding-left: 0px;
}

.newa-body {
  border: 1px solid var(--maincolor) !important;
  border-top-left-radius: 0px !important;
  border-bottom-left-radius: 5px !important;
  border-top-right-radius: 0px !important;
  border-bottom-right-radius: 5px !important;
}

.dropdown-item {
  font-size: 14px !important;
}

.dropdown-item:focus {
  background-color: var(--maincolor);
}

.menumm,
.menu {
  font-size: 0.875rem;
  color: var(--maincolor) !important;
  border: 1px solid var(--maincolor) !important;
}

.menumm:hover,
.menu:hover {
  color: #fff !important;
  background-color: var(--maincolor);
}

/* Result Table */
.result-table {
  width: 100%;
  max-width: 100%;
  margin-bottom: 20px;
}

.result-table table {
  width: 100%;
  max-width: 100%;
  margin-bottom: 20px;
  border-collapse: collapse !important;
  border: 1px solid var(--maincolor);
}

.result-table th {
  background-color: var(--maincolor) !important;
  vertical-align: bottom;
  color: #fff;
}

.result-table td {
  background-color: #fff !important;
}

.result-table th,
td {
  padding: 8px;
  line-height: 1.42857143;
  vertical-align: middle;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  border-left: 1px solid #fff;
  border-right: 1px solid #fff;
}

/* Res Citem Menu */
.res_cmenu_th {
  font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-weight: normal;
  line-height: 1.5;
  color: #fff;
  background-color: var(--maincolor) !important;
  vertical-align: bottom;
  text-align: center;
  border: 1px solid var(--maincolor);
  padding: 8px;
}

.res_cmenu_td,
.res_cmenu_td_cno {
  font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-weight: normal;
  line-height: 1.5;
  background-color: #fff !important;
  vertical-align: bottom;
  text-align: center;
  border: 1px solid var(--maincolor);
  padding: 8px;
}

.res_cmenu_td_cno {
  font-weight: bold;
  vertical-align: middle;
}

.res_rs_table tr:nth-child(odd) {
  background-color: #f3f3f3;
}

/* Item Table */
.item-table table {
  width: 100%;
  max-width: 100%;
  margin-bottom: 20px;
  border: 1px solid var(--maincolor);
  border-collapse: collapse !important;
}

.item-table th {
  background-color: var(--maincolor);
  vertical-align: bottom;
  color: #fff;
  border: 2px solid var(--maincolor);
}

.item-table td {
  background-color: #fff !important;
  border: 0.5px solid var(--maincolor);
}

/* Highlight Color */
.res_subfield {
  color: blue;
}

.res_hi_w,
.search_hi_w {
  color: #dc3545;
  font-weight: bold;
}

.res_hi_db {
  font-weight: bold;
  color: #5cb85c;
}

/* Card */
.card {
  border-color: var(--maincolor);
}

.card-header {
  background-color: var(--maincolor);
  color: #fff;
}

.contact {
  border: 1px solid rgba(0, 0, 0, 0.125);
}

/* Table */
.table-overrride th>tr>td,
.res_cmenu th>tr>td,
.res_cmenu_td,
.res_cmenu_td_cno {
  border: 1px solid var(--maincolor);
}

a.list-group-item,
button.list-group-item {
  color: #000000;
}

.dis {
  background-color: #ddd !important;
  color: #fff !important;
}

.dis:hover {
  background-color: #ddd !important;
  color: #fff !important;
}

.list-item-selected {
  background-color: var(--maincolor) !important;
  color: #fff !important;
}

@media (max-width: 425px) {
  .mb-dark {
    background-color: transparent;
    color: #fff;
  }

  a#hide-xs,
  tr#hide-xs,
  div#hide-xs {
    display: none !important;
  }

  .mb-dark-item {
    color: #fff !important;
  }
}

.mobile-row {
  border: 1px dotted #646363ee;
}

@media (max-width: 425px) {
  .mobile-hide {
    display: none !important;
  }
}

@media (min-width: 780px) {
  .desktop-hide {
    display: none !important;
  }
}

@media (min-width: 425px) {
  div#show-xs,
  a#show-xs {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .mb-dark {
    background-color: initial;
  }
}

@media (max-width: 992px) {
  .mb-dark {
    background-color: initial;
  }
}

@media (max-width: 1200px) {
  .mb-dark {
    background-color: initial;
  }
}

/*Quick Link*/
#cirlink,
#holdlink {
  display: none;
}

/* Fix size marc table */
form>table#mrc_res_cat>thead>tr>td:nth-child(0) {
  width: 5% !important;
  margin: 2px;
}
form>table#mrc_res_cat>thead>tr>td:nth-child(1) {
  width: 5% !important;
  margin: 2px;
}form>table#mrc_res_cat>thead>tr>td:nth-child(2) {
  width: 5% !important;
  margin: 2px;
}
form>table#mrc_res_cat>tbody#idMarcCat>tr>td {
  width: inherit !important;
  margin: 2px;
}
/*Fix size marc tableEdit*/
form>table#ctm_cvr_table0>tbody>tr>td#ctm_cvr_res0>table#mrc_res_cat>thead>tr>td:nth-child(0) {
  width: 5% !important;
  margin: 2px;
}

form>table#ctm_cvr_table0>tbody>tr>td#ctm_cvr_res0>table#mrc_res_cat>thead>tr>td:nth-child(1) {
  width: 5% !important;
  margin: 2px;
}

form>table#ctm_cvr_table0>tbody>tr>td#ctm_cvr_res0>table#mrc_res_cat>thead>tr>td:nth-child(2) {
  width: 5% !important;
  margin: 2px;
}

form>table#ctm_cvr_table0>tbody>tr>td#ctm_cvr_res0>table#mrc_res_cat>tbody#idMarcCat>tr>td {
  width: inherit !important;
  margin: 2px;
}
/*Fix size non-marc table*/
form>table#nmrc_res_cat>tbody>tr>th {
  width: 15% !important;
  margin: 2px;
}

/*Fix size non-marc tableEdit*/
form>table#ctnm_cvr_table0>tbody>tr>td#ctnm_cvr_res0>table#nmrc_res_cat>tbody>tr>th {
  width: 15% !important;
  margin: 2px;
}

/*-AI Search-*/
