/* Books  */

.books-front-view .owl-carousel .owl-item img {
  -webkit-transform-style: initial;
  transform-style: initial;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  position: relative;
}

.book-image-carousel-item {
  position: relative;
  -webkit-transition: all linear 150ms;
  -o-transition: all linear 150ms;
  transition: all linear 150ms;
}

.book-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 6;
  background: rgba(0, 0, 0, 0.6);
  top: 0;
  left: 0;
  -webkit-transition: all linear 150ms;
  -o-transition: all linear 150ms;
  transition: all linear 150ms;
  opacity: 0;
}

.book-overlay:after {
  font-family: FontAwesome;
  content: '\f00e';
  z-index: 10;
  color: #ffffff;
  vertical-align: middle;
  font-size: 2.5em;
  -webkit-transition: all linear 150ms;
  -o-transition: all linear 150ms;
  transition: all linear 150ms;
  opacity: 1;
  top: 30%;
  position: absolute;
  left: 50%;
  -webkit-transform: translate(-50%, 50%);
  -ms-transform: translate(-50%, 50%);
  transform: translate(-50%, 50%);
}

.book-image-carousel-item:hover .book-overlay:after,
.book-image-carousel-item:hover .book-overlay {
  opacity: 1;
  cursor: pointer;
}

.books-image-modal {
  background: rgba(0, 0, 0, 0.65);
  overflow-y: scroll !important;
}

.books-front-view .owl-carousel .owl-item:nth-child(2) img {
  margin-top: 45%;
}

.books-front-view .owl-thumb-item img {
  width: 100%;
  height: 120px;
  -o-object-fit: cover;
  object-fit: cover;
}

.books-front-view .owl-thumbs {
  display: inline-block;
  width: 100%;
  text-align: center;
  padding-top: 0.6rem;
}

.books-front-view .owl-thumb-item {
  border: none;
  background: none;
  padding: 0;
  display: inline-block;
  opacity: 0.4;
  width: 50%;
  height: auto;
}

.books-front-view .owl-thumb-item:nth-child(1) {
  padding-left: 0.5rem;
}

.books-front-view .owl-thumb-item:nth-child(2) {
  padding-right: 0.5rem;
}

.books-front-view .owl-thumb-item.active {
  opacity: 1;
}

.owl-theme .owl-nav {
  top: 30% !important;
}

.books-front-view .tabs-animated {
  overflow: hidden;
  margin: 1.5rem 0 0.5rem 0;
}

.books-front-view .tab-pane {
  max-width: 62em;
  padding: 2rem;
  word-wrap: break-word;
  text-align: justify;
}

.books-front-view .nav-tabs > li.active > a, .books-front-view .nav-tabs > li.active > a:hover, .books-front-view .nav-tabs > li.active > a:focus {
  border: unset;
  border-bottom: 1px solid #ddd;
}

.books-front-view .nav > li > a:hover, .books-front-view .nav > li > a:focus {
  background: transparent;
  border: unset;
  border-bottom: 1px solid #ccc;
}

.books-front-view h1 {
  margin: 0;
}

.book-detail-wrapper span:nth-child(1) {
  font-weight: bold;
  font-size: 1.1em;
}

.book-detail-wrapper span:nth-child(2) {
  font-size: 1em;
}

.book-short-info-full {
  line-height: 2.5;
}

.book-short-info-half {
  margin-top: 1.5rem;
  line-height: 2.7;
}

.book-detail-wrapper {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.second-view .book-detail-wrapper {
  border-bottom: none;
}

/* SideBar */

.categories-widget .title {
  margin: 0;
  margin-bottom: 2.5rem;
}

.recent-books-list li {
  display: table;
}

.recent-books-list li a {
  display: table-cell;
}

.recent-books-list li a:nth-child(2) {
  vertical-align: top;
  padding: 1rem;
}

.recent-books-list li a img {
  -o-object-fit: cover;
  object-fit: cover;
}

/* Books List */

.books-index {
  overflow: hidden;
  height: 185px;
}

.pagination {
  width: 100%;
  text-align: center;
  margin: 0 auto;
  display: inline-block;
}

.books-front-index {
  padding-top: 1.5rem;
}

.books-box img {
  width: 100%;
  height: 210px;
  -o-object-fit: cover;
  object-fit: cover;
}

.books-box {
  border: 1px solid #cccccc;
  margin: 0 0 1rem 0;
}

.books-box .book-desc-box {
  height: 205px;
  padding: 2rem 0.7rem;
  position: relative;
  overflow: hidden;
}

.books-box .book-desc-box:after {
  content: '';
  left: 0px;
  bottom: 0;
  width: 100%;
  right: 0;
  height: 30px;
  position: absolute;
  z-index: 99;
  background: -webkit-gradient(linear, left bottom, left top, from(#fff), to(rgba(255, 255, 255, 0)));
  background: -webkit-linear-gradient(bottom, #fff, rgba(255, 255, 255, 0));
  background: -o-linear-gradient(bottom, #fff, rgba(255, 255, 255, 0));
  background: linear-gradient(to top, #fff, rgba(255, 255, 255, 0));
}

.book-main-title {
  font-weight: bold;
  font-size: 1em;
}

/* Search */

.search-box .title {
  font-size: 16px;
  padding-bottom: 5px;
  margin: 0;
  margin-bottom: 2.5rem;
  border-bottom: 2px solid #cccccc;
}

.search-buttons-box .btn {
  padding: 0.8rem 1.2rem;
  border-radius: 5px;
}

.search-buttons-box .btn i {
  font-size: 16.5px;
}

.date-picker-box {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.books-front-index .summary {
  text-align: center;
}

.books-search-box {
  background: #f9f9f9;
  border: 1px solid #ccc;
  padding: 3rem;
}
h1.title {
  text-align: center !important;
}
.books-search-box .fa.fa-search {
  padding: 0 1rem;
}

@media only screen and (max-width: 768px) {
  .search-buttons-box button.btn, .search-buttons-box a.btn {
    width: 100% !important;
    margin: 0.5rem auto;
    padding: 1rem 3rem;
  }
}

.books-search-box .row-gutter {
  margin: 0 !important;
  padding: 0 !important;
  position: relative;
  top: 0.8em;
}

.search-input-wrapper {
  padding: 0 !important;
}

.search-buttons-box-wrapper {
  padding: 0 !important;
}

.search-buttons-box button.btn, .search-buttons-box a.btn {
  padding: 1rem !important;
  width: 50%;
  border-radius: 0 !important;
  border: 1.3px solid #3bbe3b !important;
  color: #ffffff;
  width: 48%;
  -webkit-transition: all 150ms linear;
  -o-transition: all 150ms linear;
  transition: all 150ms linear;
}

.search-buttons-box button.btn:hover {
  background: transparent;
  color: #3bbe3b;
}

.search-buttons-box a.btn {
  -webkit-transition: all 150ms linear;
  -o-transition: all 150ms linear;
  transition: all 150ms linear;
  color: #3bbe3b;
  background: transparent;
}

.search-buttons-box a.btn:hover {
  -webkit-transition: all 150ms linear;
  -o-transition: all 150ms linear;
  transition: all 150ms linear;
  color: #ffffff;
  background: #3bbe3b;
}

.books-search-box .form-control, .books-search-box .form-group .select2-selection {
  height: 2.79em !important;
  font-size: 16px;
  border: 0 !important;
  border-radius: 0 !important;
  -webkit-box-shadow: none  !important;
  box-shadow: none  !important;
}
