/*  Updated Date: 25 March 2019 9:19;
 * ELIB Version 3.1.10
 * Homepage: http://www.book.co.th
 * Copyright 2017 ELIB Devolopment Team
 * Licensed under Book Promotion & Service .Co,Ltd
/*Override Color CSS*/
body {
  font-size: 0.875rem !important;

}
@-moz-document url-prefix() 
{
body{
    max-width: auto !important;
    margin-top: -15px;
  }
}


.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;
}

.nav-sta {
  max-width: auto !important;
  /*   margin-top: -15px; */
}

@-moz-document url-prefix() {
  .nav-sta {
    max-width: auto !important;
    margin-top: -15px;
  }
}

.nav-pat {
  max-width: auto !important;
  margin-top: -20px !important;
}

.bg-dark {
  background-color: #2b579a !important;
}

.navbar-sm {
  padding: 0.1rem 0.5rem !important;
}

.navbar-dark .navbar-brand {
  color: white;
}

.bg-sub {
  background-color: transparent;
}

.navbar-dark .navbar-brand:focus,
.navbar-dark .navbar-brand:hover {
  color: white;
}

.navbar-dark .navbar-nav .nav-link {
  color: white;
}

.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 {
  background-color: #555555;
  color: #fff;
}

.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: #2b579a;
}

.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: #2b579a;
  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 {
  border-color: #2b579a;
  padding-right: 0px;
  padding-left: 0px;
}

.newa-body {
  border-color: #2b579a;
  padding-right: 0px;
  padding-left: 0px;
  border: 1px solid #2b579a !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: #2b579a;
}

.menumm {
  font-size: 0.875rem;
  color: #2b579a !important;
  border: 1px solid #2b579a !important;
}

.menumm:hover {

  color: #fff !important;
  background-color: #2b579a;
}

.menu {
  font-size: 0.875rem;
  color: #2b579a !important;
  border: 1px solid #2b579a !important;
}

.menu:hover {
  color: #fff !important;
  background-color: #2b579a;
}

/*Result Table*/


.result-table {
  width: 100%;
  max-width: 100%;
  margin-bottom: 20px;
}

.result-table table {
  width: 100%;
  max-width: 100%;
  margin-bottom: 20px;
}

.result-table table {
  border-collapse: collapse !important;
  border: 1px solid #2b579a;
}

.result-table th {
  background-color: #2b579a !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-size: 1.1rem;*/
  font-weight: normal;
  line-height: 1.5;
  color: #fff;
  background-color: #2b579a !important;
  vertical-align: bottom;
  text-align: center;
  border: 1px solid #2b579a;
  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-size: 1.1rem;*/
  font-weight: normal;
  line-height: 1.5;
  background-color: #fff !important;
  vertical-align: bottom;
  text-align: center;
  border: 1px solid #2b579a;
  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 #2b579a;
}

.item-table table {
  border-collapse: collapse !important;
}

.item-table th {
  background-color: #2b579a;
  vertical-align: bottom;
  color: #fff;
  border: 2px solid #2b579a;
}

.item-table td {
  background-color: #fff !important;
  border: 0.5px solid #2b579a;
}

/*Highlight Color*/
.res_subfield {
  color: blue;
}

.res_hi_w {
  color: #dc3545;
  font-weight: bold;
}

.search_hi_w {
  color: #dc3545;
  font-weight: bold;
}

/*DB name Color*/
.res_hi_db {
  font-weight: bold;
  color: #5cb85c
}

/*End Highlight Color*/
/*Card*/
.card {
  border-color: #2b579a;
}

.card-header {
  background-color: #2b579a;
  color: #fff;
}

.contact {
  border: 1px solid rgba(0, 0, 0, 0.125);
}

/*End Card*/
/*Table*/
.table-overrride th>tr>td {
  border: 1px solid #2b579a;
}

/*Copy Menu*/
.res_cmenu th>tr>td {
  border: 1px solid #2b579a;
}

.res_cmenu_th {
  color: #fff;
  background-color: #2b579a !important;
  border: 1px solid #2b579a !important;
}

.res_cmenu_td,
.res_cmenu_td_cno {
  background-color: #fff !important;
  border: 1px solid #2b579a;
}

.res_rs_table tr:nth-child(odd) {
  background-color: #f3f3f3;
}

a.list-group-item,
button.list-group-item {
  color: #000000;
}

/*End Copy Menu*/
.dis {
  background-color: #ddd !important;
  color: #fff !important;
}

.dis:hover {
  background-color: #ddd !important;
  color: #fff !important;
}

/*End Table*/
.list-item-selected {
  background-color: #2b579a !important;
  color: #fff !important;
}

@media (max-width: 425px) {
  .mb-dark {
    background-color: transparent;
    color: #fff;
  }

  a#hide-xs {
    display: none !important;
  }

  tr#hide-xs {
    display: none !important;
  }

  div#hide-xs {
    display: none !important;
  }

  .mb-dark-item {
    color: #fff !important;
  }
}

.mobile-row {
  border: 1px dotted #646363ee;

}


@media (min-width: 425px) {
  div#show-xs {
    display: none !important;
  }

  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;
  }
}