/* Book Dispenser */

#bod_search_area{
  background-color: #e0ebd9;
  position: relative;
}

#bod_search_area .field_label {
  display: block;
}

#bod_search_area .cb_label {
  display: inline-block;
}

#bod_search_area input[type=text] {
  width: 95%;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 3px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

#bod_search_area .btn_area {
  width: 187px;
  margin: 0 auto;
}

.richeditor #bod_search_area .btn_area {
  width: 200px;
}

#bod_search_area .btn_area a {
  -moz-box-shadow:inset 0px 1px 0px 0px #ffffff;
  -webkit-box-shadow:inset 0px 1px 0px 0px #ffffff;
  box-shadow:inset 0px 1px 0px 0px #ffffff;
  background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #ffffff), color-stop(1, #f6f6f6));
  background:-moz-linear-gradient(top, #ffffff 5%, #f6f6f6 100%);
  background:-webkit-linear-gradient(top, #ffffff 5%, #f6f6f6 100%);
  background:-o-linear-gradient(top, #ffffff 5%, #f6f6f6 100%);
  background:-ms-linear-gradient(top, #ffffff 5%, #f6f6f6 100%);
  background:linear-gradient(to bottom, #ffffff 5%, #f6f6f6 100%);
  filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#f6f6f6',GradientType=0);
  background-color:#ffffff;
  -moz-border-radius:6px;
  -webkit-border-radius:6px;
  border-radius:6px;
  border:1px solid #dcdcdc;
  display:inline-block;
  cursor:pointer;
  color:#666666;
  padding:6px 24px;
  text-decoration:none;
  text-shadow:0px 1px 0px #ffffff;
}
#bod_search_area .btn_area a:hover {
  background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #f6f6f6), color-stop(1, #ffffff));
  background:-moz-linear-gradient(top, #f6f6f6 5%, #ffffff 100%);
  background:-webkit-linear-gradient(top, #f6f6f6 5%, #ffffff 100%);
  background:-o-linear-gradient(top, #f6f6f6 5%, #ffffff 100%);
  background:-ms-linear-gradient(top, #f6f6f6 5%, #ffffff 100%);
  background:linear-gradient(to bottom, #f6f6f6 5%, #ffffff 100%);
  filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#f6f6f6', endColorstr='#ffffff',GradientType=0);
  background-color:#f6f6f6;
}

#bod_search_area .btn_area a:active {
  position:relative;
  top:1px;
}

#bod_result {
  position: relative;
  padding-top: 20px;
  min-height: 400px;
  font-size: 0.95em;
}

#bod_result {
  clear: both;
}

.richeditor #bod_result {
  padding-bottom: 60px;
}

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

.page_no_area a.current {
  text-decoration: none;
  cursor: default; 
  pointer-events: none;
}

#bod_booklist {
  display: none;
  width: 100%;
  /* IE will extend table if large size */
  table-layout: fixed;
}

#bod_booklist th {
  background-color: #CDCDA7;
}

#bod_booklist th a {
  color: #375D27;
}

.richeditor #bod_booklist tr td {
  background-color: #F2F3DD;
}

.richeditor #bod_booklist tr td .field_label {
  font-weight: bold;
}

#bod_booklist th:nth-child(2) /* Slot No */
{
  width: 7%;
}

#bod_booklist th:nth-child(4) /* Status */
{
  width: 8%;
}

#bod_booklist th:nth-child(3) /* Title */
{
  min-width: 20%;
  width: 20%;
}

#bod_booklist th:nth-child(5) /* Author */
{
  width: 9%;
}

#bod_booklist th:nth-child(1), /* Location */
#bod_booklist th:nth-child(9), /* Checkout Date */
#bod_booklist th:nth-child(8),  /* Shelving Date */
#bod_booklist th:nth-child(6),  /* Shelving Date */
#bod_booklist th:nth-child(7), /* Shelving Date */
#bod_booklist th:nth-child(10)  /* Shelving Date */
{
  width: 9%;
}

.tc #bod_booklist th:nth-child(2) /* Slot No */
{
  width: 8%;
}

.tc #bod_booklist th:nth-child(4) /* Status */
{
  width: 8%;
}

.tc #bod_booklist th:nth-child(1),
.tc #bod_booklist th:nth-child(5),
.tc #bod_booklist th:nth-child(7),
.tc #bod_booklist th:nth-child(6),
.tc #bod_booklist th:nth-child(9), /* Checkout Date */
.tc #bod_booklist th:nth-child(8), /* Shelving Date */
.tc #bod_booklist th:nth-child(10)
{
  width: 9%;
}

#bod_booklist tr.status_avail {
  background-color: #f9f9ab;
}

#bod_booklist tr.status_avail a {
  color: #4D7732;
}

#bod_result tr.status_avail td {
  background-color: inherit;
}

#bod_result .page_nav {
  float: right;
}

.page_no_area .no_link{
  display: none;
}

.richeditor .page_no_area {
  margin-top: 0px;
}

.errorPanel {
  background-color: #fcf1da;
  margin-bottom: 10px;
}

#out_of_service, #bin_full, #bin_status {
  display: none;
  color: red;
}

#bin_full ul li, #bin_full h5 {
	color: red;
}

#bin_status_lib,
#bin_status_lib th,
#bin_status_lib td {
	border: 1px solid gray;	
}

#bin_status ul li, #bin_status h5 {
	color: red;
}

.errorPanel div {
  padding: 10px;
}

.errorPanel ul, .errorPanel ul li:last-child {
  margin-bottom: 0;
}

.overlay {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #FFFFFF;
  overflow-x: hidden;
  opacity: 0.8;
}

a.sort-by { 
  padding-right: 18px;
  position: relative;
  display: block;
  width: 100%;
}

a.sort-by:before,
a.sort-by:after {
  border: 4px solid transparent;
  content: "";
  display: block;
  height: 0;
  right: 10px;
  top: 50%;
  position: absolute;
  width: 0;
}

a.sort-asc:before {
  border-bottom-color: #666;
  margin-top: -9px;
}

a.sort-desc:after {
  border-top-color: #666;
  margin-top: -1px;
}

select[name=sortBy] {
  margin-top: 20px;
}

/**
CSS at-rule has been disabled on 2018 June
@-moz-document url-prefix() 
*/

@media screen and (min--moz-device-pixel-ratio:0) {
	   
  #bod_booklist th:nth-child(2) /* Slot No */
  {
    width: 3%;
  }
  
  #bod_booklist th:nth-child(4) /* Status */
   {
    width: 5%;
  }
  
  #bod_booklist th:nth-child(5) /* Author */
   {
    width: 7%;
  }

  #bod_booklist th:nth-child(1), /* Location */
  #bod_booklist th:nth-child(6),
  #bod_booklist th:nth-child(7),   
  #bod_booklist th:nth-child(9), /* Checkout Date */
  #bod_booklist th:nth-child(8)  /* Shelving Date */
  {
    width:5%;
  }
  
  #bod_booklist th:nth-child(10){
	  width:6%;
  }
  
 .tc  #bod_booklist th:nth-child(2) /* Slot No */
  {
    width: 4%;
  }
  
  .tc #bod_booklist th:nth-child(4) /* Status */
  {
    width: 4%;
  }
  
  .tc #bod_booklist th:nth-child(1),
  .tc #bod_booklist th:nth-child(6),
  .tc #bod_booklist th:nth-child(7),
  .tc #bod_booklist th:nth-child(5),
  .tc #bod_booklist th:nth-child(9), /* Checkout Date */
  .tc #bod_booklist th:nth-child(8),  /* Shelving Date */
  .tc #bod_booklist th:nth-child(10)
   {
    width: 5%; 
  }

}

/* Book Dispenser End */