.pagination>.active>a, .pagination>.active>a:focus, .pagination>.active>a:hover, .pagination>.active>span, .pagination>.active>span:focus, .pagination>.active>span:hover {
    z-index: 3;
    color: #fff;
    cursor: default;
    background-color: #cf4949;
    border-color: #cf4949;
}

.pagination>li>a, .pagination>li>span {
    position: relative;
    float: left;
    padding: 6px 12px;
    margin-left: -1px;
    line-height: 1.42857143;
    color: #cf4949;
    text-decoration: none;
    background-color: #fff;
    border: 1px solid #ddd;
}

#input_img {
    position:absolute;
    top:22px;
    left:-15px;
}

.search-input {
    border-color: transparent;
    font-size: 3rem !important;
    height:75px;
    padding-left: .8em;
    padding-right: .8em;
    font-family: "Open Sans", sans-serif;
    border-radius: 0;
    width: 70%;
}
.search-input:focus {
    outline: none;
}

.search-button {
    /*background-color: #e6e6e6;*/
    /*line-height: 53px !important;*/
    width: 10% !important;
}

.form-subtitle{
    position: relative;
    margin-bottom: .2em;
    padding: 10px 0 10px 0px;
    margin-bottom:5px;
    color: #938d8d; letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 1.3rem;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;

}

.subcategory{
  background-color: #f2f2f2;
  padding: 25px;
  padding-bottom: 35px;
  padding-top: 10px;
  margin-top:0px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.1), 0 6px 20px 0 rgba(0, 0, 0, 0.09);
}

.book-title {
    margin-top:20px;
    padding: 12px;
    color: #5a485b;  
    text-align: center;
    font-weight: bold;
}

optgroup { font-size:16px; }

.gallery-list-img {
  object-fit:contain;
  max-height: 330px;
  box-shadow: 0 4px 8px 5px  rgba(0, 0, 0, 0.2), 0 6px 20px 10px rgba(0, 0, 0, 0.19);

 }
.gallery-list-img:hover {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  /* -webkit-filter: grayscale(100%);filter: grayscale(100%); 
  -webkit-filter: blur(1x);filter: blur(1px);
 /* -webkit-filter: opacity(50%);filter: opacity(50%); */
 /* -webkit-filter: drop-shadow(0 4px 8px #CF4949); filter: drop-shadow(0 6px 20px #CF4949); */

}


.single-book-img{
  margin-top: 50px;
  width: auto !important;
  height: auto;
  box-shadow: 0 4px 8px 5px  rgba(0, 0, 0, 0.2), 0 6px 20px 10px rgba(0, 0, 0, 0.19);

}

.single-book-title{
  font-size: 30px;
  padding: 50px 20px 10px 20px;
  font-weight: 600;
}

.single-book-author{
  position: relative;
  margin-bottom: .2em;
  padding: 10px 0 10px 20px;
  color: #938d8d; letter-spacing: 1px;
  font-weight: 700;
  font-size: 1.8rem;
}

.single-book-annotation{
  padding: 10px 20px;
  font-size: 18px;
  word-spacing:0.2px;

}

.single-book-more-title{
  font-size: 20px;
  padding: 20px 20px;
  font-weight: 600;
}

.single-book-more-detail{
  padding: 10px 20px; 
}

.single-book-more-key{
  font-size: 18px;
  font-weight: 700;
}

.single-book-more-key{
  font-size: 18px;
}

.publication_date{
  height: 30px; 
}

/* -------------------------------- 

Primary style

-------------------------------- */
*, *::after, *::before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;

  
}

.page-title h1 {
    position:relative;
    margin-top:0px;

    line-height:35px;
    color: #ffffff;
    text-align: center;
    font-size: 4.3rem;
    font-weight: 300;
             

  }
.page-title h1 label {
   
    font-size: 2.2rem;
          
  }

html {
  font-size: 62.5%;
}

html * {
  -webkit-font-smoothing: antialiased;
  /*-moz-osx-font-smoothing: grayscale;*/
}

body {
  font-size: 1.6rem;
  font-family: "Open Sans", sans-serif;
  color: #331d35;
  background-color: #e7e7e7;
}

a {
  color: #33414a;
  text-decoration: none;
}

/* -------------------------------- 

Main Components 

-------------------------------- */
.cd-header {
  position: relative;
  height: 150px;
  background-color: #331d35;
}
.cd-header h1 {
  color: #ffffff;
  line-height: 150px;
  text-align: center;
  font-size: 2.4rem;
  font-weight: 300;
}
@media only screen and (min-width: 1170px) {
  .cd-header {
    height: 180px;

  }
}

.cd-main-content {
         
  position: relative;
  min-height: 100vh;
}
.cd-main-content:after {
  content: "";
  display: table;
  clear: both;
}
.cd-main-content.is-fixed .cd-tab-filter-wrapper {
    
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;

}
.cd-main-content.is-fixed .cd-gallery {
  padding-top: 76px;
}
.cd-main-content.is-fixed .cd-filter {
  position: fixed;
  height: 100vh;
  overflow: hidden;
  }
.cd-main-content.is-fixed .cd-filter form {
  height: 100vh;
  overflow: auto;
  -webkit-overflow-scrolling: touch;

}
.cd-main-content.is-fixed .cd-filter-trigger {
  position: fixed;
 
}
@media only screen and (min-width: 768px) {
  .cd-main-content.is-fixed .cd-gallery {
    padding-top: 90px;
  }
}
@media only screen and (min-width: 1170px) {
  .cd-main-content.is-fixed .cd-gallery {
    padding-top: 100px;
  }
}

/* -------------------------------- 

xtab-filter 

-------------------------------- */
.cd-tab-filter-wrapper {
  background-color: #ffffff;
  
  z-index: 1;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
.cd-tab-filter-wrapper:after {
  content: "";
  display: table;
  clear: both;
}

.cd-tab-filter {
  /* tabbed navigation style on mobile - dropdown */
  position: relative;
  height: 75px;
  width: 80%;
  margin: 0 auto;
  z-index: 1;
}
.cd-tab-filter ul {
  position: absolute;
  top: 0;
  left: 0;
  background-color: #ffffff;
  box-shadow: inset 0 -2px 0 #33414a;
}
.cd-tab-filter li {
  display: none;
}
.cd-tab-filter li:first-child {
  /* this way the placehodler is alway visible */
  display: block;
}
.cd-tab-filter a {
  display: block;
  /* set same size of the .cd-tab-filter */
  height: 50px;
  width: 140px;
  line-height: 50px;
  padding-left: 14px;
}
.cd-tab-filter a.selected {
  background: #33414a;
  color: #ffffff;
}
.cd-tab-filter.is-open::after {
  /* small arrow rotation */
  -webkit-transform: translateY(-50%) rotate(-180deg);
  -moz-transform: translateY(-50%) rotate(-180deg);
  -ms-transform: translateY(-50%) rotate(-180deg);
  -o-transform: translateY(-50%) rotate(-180deg);
  transform: translateY(-50%) rotate(-180deg);
}
.cd-tab-filter.is-open ul {
  box-shadow: inset 0 -2px 0 #33414a, 0 2px 10px rgba(0, 0, 0, 0.2);
}
.cd-tab-filter.is-open ul li {
  display: block;
}
.cd-tab-filter.is-open .placeholder a {
  /* reduces the opacity of the placeholder on mobile when the menu is open */
  opacity: .4;
}
@media only screen and (min-width: 768px) {
  .cd-tab-filter {
    /* tabbed navigation style on medium devices */
    width: 80%;
    cursor: auto;
  }
  .cd-tab-filter::after {
    /* hide the arrow */
    display: none;
  }
  .cd-tab-filter ul {
    background: transparent;
    position: static;
    box-shadow: none;
    text-align: center;
  }
  .cd-tab-filter li {
    display: inline-block;
  }
  .cd-tab-filter li.placeholder {
    display: none !important;
  }
  .cd-tab-filter a {
    display: inline-block;
    padding: 0 1em;
    width: auto;
    color: #938d8d; letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 1.3rem;
  }
  .no-touch .cd-tab-filter a:hover {
    color: #33414a;
  }
  .cd-tab-filter a.selected {
    background: transparent;
    color: #33414a;
    /* create border bottom using box-shadow property */
    box-shadow: inset 0 -2px 0 #33414a;
  }
  .cd-tab-filter.is-open ul li {
    display: inline-block;
  }
}
@media only screen and (min-width: 1170px) {
  .cd-tab-filter {
    /* tabbed navigation on big devices */
    width: 80%;
    float: right;
    margin: 0;
    -webkit-transition: width 0.3s;
    -moz-transition: width 0.3s;
    transition: width 0.3s;
  }
  .cd-tab-filter.filter-is-visible {
    /* reduce width when filter is visible */
    width: 80%;
  }
}

/* -------------------------------- 

xgallery 

-------------------------------- */
.cd-gallery {
  padding: 24px 8px 8px 24px;
  width: 100%;
}
.cd-gallery li {
  padding-top:32px;
  margin-bottom: 1.6em;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
  display: none;
  width: 100%;
  cursor: pointer;
  background-color: #e6e6e6;
}
.cd-gallery li:hover {
    /*background-color:#d9534f;*/
    background-color:#c9c9c9;
}
.cd-gallery li.gap {
  /* used in combination with text-align: justify to align gallery elements */
  opacity: 0;
  height: 0;
  display: inline-block;
}
.cd-gallery img {
  display: block;
  margin: 0 auto;
}
.cd-gallery .cd-fail-message {
  display: none;
  text-align: center;
}
@media only screen and (min-width: 768px) {
  .cd-gallery {
    padding: 24px 8px 8px 24px;
  }
  .cd-gallery ul {
    text-align: justify;
  }
  .cd-gallery ul:after {
    content: "";
    display: table;
    clear: both;
  }
  .cd-gallery li {
      padding-top:32px;
  
    width: 100%;
    margin-bottom: 2em;
  }
}
@media only screen and (min-width: 1170px) {
  .cd-gallery {
    padding: 24px 8px 8px 24px;
    /*float: right;*/
    -webkit-transition: width 0.3s;
    -moz-transition: width 0.3s;
    transition: width 0.3s;
  }
  .cd-gallery li {
      padding-top:32px;
  
    width: 100%;
  }
  .cd-gallery.filter-is-visible {
    /* reduce width when filter is visible */
    width: 100%;
  }
}
 @media screen and (device-width : 1920px)
                {
  .cd-gallery {
    padding: 24px 8px 8px 24px;
    /*float: right;*/
    -webkit-transition: width 0.3s;
    -moz-transition: width 0.3s;
    transition: width 0.3s;
  }
  .cd-gallery li {
      padding-top:32px;
  
    width: 85%;
  }
  .cd-gallery.filter-is-visible {
    /* reduce width when filter is visible */
    width: 100%;
  }
}

/* -------------------------------- 

xfilter 

-------------------------------- */
.cd-filter {
  /*position: absolute;*/
  top: 0;
  left: 0;
  width: 100%;
  background: #ffffff;
  box-shadow: 4px 4px 20px transparent;
  z-index: 2;
  /* Force Hardware Acceleration in WebKit */
  -webkit-transform: translateZ(0);
  -moz-transform: translateZ(0);
  -ms-transform: translateZ(0);
  -o-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transform: translateX(-100%);
  -moz-transform: translateX(-100%);
  -ms-transform: translateX(-100%);
  -o-transform: translateX(-100%);
  transform: translateX(-100%);
  -webkit-transition: -webkit-transform 0.3s, box-shadow 0.3s;
  -moz-transition: -moz-transform 0.3s, box-shadow 0.3s;
  transition: transform 0.3s, box-shadow 0.3s;
}
.cd-filter::before {
  /* top colored bar */
  content: '';
  /*position: absolute;*/
  top: 0;
  left: 0;
  /*height: 50px;*/
  width: 100%;
  /*background-color: #33414a;*/
  z-index: 2;
}
.cd-filter form {
  padding: 20px 20px;
}
.cd-filter .cd-close {
  position: absolute;
  top: 0;
  right: 0;
  height: 50px;
  line-height: 50px;
  width: 60px;
  color: #ffffff;
  font-size: 1.3rem;
  text-align: center;
  background: #52616b;
  opacity: 0;
  -webkit-transition: opacity 0.3s;
  -moz-transition: opacity 0.3s;
  transition: opacity 0.3s;
  z-index: 3;
}
.no-touch .cd-filter .cd-close:hover {
  background: #32255f;
}
.cd-filter.filter-is-visible {
  background-color: #e6e6e6;
  -webkit-transform: translateX(0);
  -moz-transform: translateX(0);
  -ms-transform: translateX(0);
  -o-transform: translateX(0);
  transform: translateX(0);
  /*box-shadow: 4px 4px 20px rgba(0, 0, 0, 0.2);*/
}
.cd-filter.filter-is-visible .cd-close {
  opacity: 1;
}
@media only screen and (min-width: 1170px) {
  .cd-filter {
    width: 100%;
  }
  .cd-filter form {
    padding: 20px 10% 100px;
    margin-bottom: 25px;
    margin-left: 5% !important;
    margin-top: 5% !important;
    box-shadow: 0 4px 8px 5px  rgba(0, 0, 0, 0.1), 0 6px 20px 10px rgba(0, 0, 0, 0.09);
   }
}

.cd-filter-trigger {
  position: absolute;
  top: 0;
  left: 0;
  height: 50px;
  line-height: 50px;
  width: 60px;
  /* image replacement */
  overflow: hidden;
  text-indent: 100%;
  color: transparent;
  white-space: nowrap;
  /*background: transparent url("../img/cd-icon-filter.png") no-repeat center center; */
  z-index: 3;
}
.cd-filter-trigger.filter-is-visible {
  pointer-events: none;
}
@media only screen and (min-width: 1170px) {
  .cd-filter-trigger {
    width: auto;
    left: 2%;
    text-indent: 0;
    color: #938d8d; letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 1.3rem;
    font-weight: 700;
    padding-left: 24px;
    background-position: left center;
    -webkit-transition: color 0.3s;
    -moz-transition: color 0.3s;
    transition: color 0.3s;
  }
  .no-touch .cd-filter-trigger:hover {
    color: #33414a;
  }
  .cd-filter-trigger.filter-is-visible, .cd-filter-trigger.filter-is-visible:hover {
    color: #ffffff;
  }
}

/* -------------------------------- 

xcustom form elements 

-------------------------------- */
.cd-filter-block {
  margin-bottom: 1.35em;

}
.cd-filter-block h4 {
  /* filter block title */
  position: relative;
  margin-bottom: 1em;
  margin-top: 1em;
  padding: 10px 0 10px 0px;
  color: #938d8d; letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 1.3rem;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.no-touch .cd-filter-block h4:hover {
  color: #33414a;
}
.cd-filter-block h4::before {
  /* arrow */
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 16px;
  height: 16px;
  /*background: url("../img/cd-icon-arrow.svg") no-repeat center center;*/
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
  -webkit-transition: -webkit-transform 0.3s;
  -moz-transition: -moz-transform 0.3s;
  transition: transform 0.3s;
}
.cd-filter-block h4.closed::before {
  -webkit-transform: translateY(-50%) rotate(-90deg);
  -moz-transform: translateY(-50%) rotate(-90deg);
  -ms-transform: translateY(-50%) rotate(-90deg);
  -o-transform: translateY(-50%) rotate(-90deg);
  transform: translateY(-50%) rotate(-90deg);
}

.cd-filter-block .checkbox-label::before {
  /* shared style for input elements */
  font-family: "Open Sans", sans-serif;
  border-radius: 0;
  background-color: #ffffff;
  border: 2px solid transparent;
}

.cd-filter-block .list li {
  position: relative;
  margin-bottom: .8em;
}
.cd-filter-block .list li:last-of-type {
  margin-bottom: 0;
}

.cd-filter-block .checkbox-label,
.cd-filter-block .radio-label {
  display: initial;
  font-weight: 500;
  padding-left: 24px;
  font-size: 1.4rem;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.cd-filter-block .checkbox-label::before, .cd-filter-block .checkbox-label::after,
.cd-filter-block .radio-label::before,
.cd-filter-block .radio-label::after {
  /* custom radio and check boxes */
  content: '';
  display: block;
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
}
.cd-filter-block .checkbox-label::before,
.cd-filter-block .radio-label::before {
  width: 16px;
  height: 16px;
  left: 0;
}
.cd-filter-block .checkbox-label::after,
.cd-filter-block .radio-label::after {
  /* check mark - hidden */
  display: none;
}
.cd-filter-block .checkbox-label::after {
  /* check mark style for check boxes */
  width: 16px;
  height: 16px;
  background: url("../img/cd-icon-check.svg") no-repeat center center;
}
.cd-filter-block .radio-label::before,
.cd-filter-block .radio-label::after {
  border-radius: 50%;
}
.cd-filter-block .radio-label::after {
  /* check mark style for radio buttons */
  width: 6px;
  height: 6px;
  background-color: #ffffff;
  left: 5px;
}
.cd-filter-block input[type=radio]:checked + label::before,
.cd-filter-block input[type=checkbox]:checked + label::before {
  border-color: #33414a;
  background-color: #33414a;
}
.cd-filter-block input[type=radio]:checked + label::after,
.cd-filter-block input[type=checkbox]:checked + label::after {
  display: block;
}

/*
 DROP DOWN MULTIPLE SELECT
 */

.ms-parent {
    display: inline-block;
    position: relative;
    vertical-align: middle;
    width: 100%;
}

.ms-choice {
    display: inline-block;
    width: 100%;
    height: 36px;
    
    overflow: hidden;
    cursor: pointer;
    border: 1.5px outset;
    border-color:#938D8D;
    text-align: left;
    white-space: nowrap;
    line-height: 26px;
    color: #999;
    font-size : 1.3rem;
    
    font-family: "Open Sans", sans-serif;
    text-decoration: none;
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    border-radius: 0px;
    background-color: #fff;
    text-align: justify;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.1), 0 6px 20px 0 rgba(0, 0, 0, 0.08);
    
    
}
.ms-choice:active 
{
     border: 0px groove #938D8D;
}

.ms-choice.disabled {
    background-color: #f4f4f4;
    background-image: none;
    border: 1px solid #ddd;
    cursor: default;
}

.ms-choice > span {
    position: absolute;
    top: 0;
    left: 0;
    right: 20px;
    
    overflow: hidden;
   
    font-weight:100;
    padding-left: 15px;
    padding-top: 5px;
    width: 90%;
    color: #5e5a5a;
    font-family: "Open Sans", sans-serif;
    letter-spacing : 0.5px;  
    font-weight: 300;
    
}

.ms-choice > span.placeholder {
    color: #999;

}

.ms-choice > div {
   position: absolute;
    top: 0;
    right: 0;
    left:90%;
    width: 20px;
    height: 25px;
    margin-top: 5px;
    background: url('../img/multiple-select.png') left top no-repeat;
}

.ms-choice > div.open {
   margin-top: 5px;
     background: url('../img/multiple-select.png') right top no-repeat;
     
}

.ms-drop {
    width: 100%;
    overflow: hidden;
    display: none;
    margin-top: -1px;
    padding: 0;
    position: absolute;
    z-index: 1000;
    background: #fff;
    color: #000;
    border: 1px solid #aaa;
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    border-radius: 0px;
}

.ms-drop.bottom {
    top: 100%;
    -webkit-box-shadow: 0 4px 5px rgba(0, 0, 0, .15);
    -moz-box-shadow: 0 4px 5px rgba(0, 0, 0, .15);
    
}

.ms-drop.top {
    bottom: 100%;
    -webkit-box-shadow: 0 -4px 5px rgba(0, 0, 0, .15);
    -moz-box-shadow: 0 -4px 5px rgba(0, 0, 0, .15);
    box-shadow: 0 -4px 5px rgba(0, 0, 0, .15);
}

.ms-search {
    display: inline-block;
    margin: 0;
    min-height: 26px;
    padding: 4px;
    position: relative;
    white-space: nowrap;
    width: 100%;
    z-index: 10000;
}

.ms-search input {
    width: 100%;
    height: auto !important;
    min-height: 24px;
    padding: 0 20px 0 5px;
    margin: 0;
    outline: 0;
    color: #332f2f;
    text-decoration-color : #332f2f;
    font-family: "Open Sans", sans-serif;
    
    font-size: 1em;
    border: 1px solid #aaa;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    background: #fff url('../img/multiple-select.png') no-repeat 100% -22px;
    background: url('../img/multiple-select.png') no-repeat 100% -22px, -webkit-gradient(linear, left bottom, left top, color-stop(0.85, white), color-stop(0.99, #eeeeee));
    background: url('../img/multiple-select.png') no-repeat 100% -22px, -webkit-linear-gradient(center bottom, white 85%, #eeeeee 99%);
    background: url('../img/multiple-select.png') no-repeat 100% -22px, -moz-linear-gradient(center bottom, white 85%, #eeeeee 99%);
    background: url('../img/multiple-select.png') no-repeat 100% -22px, -o-linear-gradient(bottom, white 85%, #eeeeee 99%);
    background: url('../img/multiple-select.png') no-repeat 100% -22px, -ms-linear-gradient(top, #ffffff 85%, #eeeeee 99%);
    background: url('../img/multiple-select.png') no-repeat 100% -22px, linear-gradient(top, #ffffff 85%, #eeeeee 99%);
}

.ms-search, .ms-search input {
    -webkit-box-sizing: border-box;
    -khtml-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
}

.ms-drop ul {
    overflow: auto;
    margin: 0;
    padding: 5px 8px;
}

.ms-drop ul > li {
    
    list-style: none;
    display: list-item;
    background-image: none;
    position: static;
}

.ms-drop ul > li .disabled {
    opacity: .35;
    filter: Alpha(Opacity=35);
}

.ms-drop ul > li.multiple {
    display: block;
    float: left;
}

.ms-drop ul > li.group {
    clear: both;
}

.ms-drop ul > li.multiple label {
    width: 100%;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;

}

.ms-drop ul > li label {
    
    
       color: #5e5a5a;
    font-family: "Open Sans", sans-serif;
    letter-spacing : 0.2px;  
    font-weight: 300;
    
}

.ms-drop ul > li label.optgroup {
    font-weight: bold;
}

.ms-drop input[type="checkbox"] {
    
    margin-right : 5px;
    margin-bottom : 1px;
    
}

.ms-drop .ms-no-results {
    display: none;
}
