/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */
 
 .wrappedtext { word-wrap: break-word; }
 .entry-content .ifpri-ebrary-container p.toppage a { padding: 8px 35px 8px 0px;  }
 .entry-content div.PubsULlist { margin-left: 0px; list-style-type: none; }
 .entry-content div.PubsULlist div.fp-eb-record { margin-top: 15px;  }
 .entry-content div.PubsULlist > div { padding-bottom: 12px;   list-style-type: none;  }
 .entry-content #ifeb-featured div.PubsULlist > div { border-bottom: 0px  }
 p.more-from-section { clear: both; text-transform: uppercase; color: #0D2A3D; padding: 12px 0px; margin-top: 10px; margin-bottom: 0px;font-size: 16px; }
 p.more-from-section a { color: #0D2A3D;  }
 .ifpri-ebrary-container h2 { margin-top: 20px; clear: both; }
 .ifpri-ebrary-container h2#results-title, h2.IfEb-featured-heading { margin-bottom: 4px; color: #405361; font-size: 26px; }
 .ifpri-ebrary-container #IfEbFilters { margin-bottom: 20px; display: block;   }
 .ifeb-filters-sel { display: inline-block; }
 .IfEb-intro-text { color: #405361; /*! height: 0; */}
 .ifeb-main-col, .ifeb-side-col-left { display: inline-block; vertical-align: top; text-align: left; box-sizing: border-box; } 
 .ifeb-row { clear: both; width: 100%; display: block; margin-top: 12px;}
 .ifeb-side-col-left { width: 24%; }
 .ifeb-main-col.ifeb-with-filters { width: 75%; padding-left: 12px; }
 .ifeb-main-col.ifeb-nofilters { width: 100%; padding-left: 0px; }
 
 /* following class specific to plugin page type */
 .single-ebrary-publ-page  .entry-meta {display: none; }
 #if-eb-search-record { visibility: hidden; height: 0;}
 .ifeb-filters-share { display: inline-block; margin-right: 20px;text-transform: capitalize; }
 .ifpri-ebrary-data { display: none; }
 #ifeb-main-container button { font-size: 14px; padding: 3px 10px; }
 
 #ifebsort p { display: inline-block; vertical-align: top;color: #F78D2C;padding: 0;}
 #ifeb-featured { color: #405361; padding: 5px 0px; margin-bottom: 15px; position: relative;  }
 
 .fp-eb-record-featured { width: 23%;  margin-right: 2.2%; display: inline-block; vertical-align: top; text-align: left; box-sizing: border-box;  }
 .fp-eb-record-featured:last-child { margin-right: 0%;   }
 .ifpri-ebrary-container .ifeb-featured-col1 .results_tn_img, .holder_img {  width: 100%; height: auto; border: 1px solid #cccccc;  box-shadow: none;  margin-bottom: 0px;}
 .ifpri-ebrary-container .ifeb-featured-col1 .results_tn_img { border-bottom: 0px; }
 .ifpri-ebrary-container .ifeb-featured-col2 { margin-top: -4px; }
 .ifpri-ebrary-search p { display: none; }
 .if-eb-categories { margin-top: 23px; }
 ul.ifeb-filters { padding: 0; list-style-type: none; margin-left: 0;   }  
 ul.ifeb-filters li, ul.ifeb-filters2 li, .ifeb-filtersLang li { padding: 0; list-style-type: none; width: 90%; }  
 
 ul.ifeb-filters li input { display: block; display:inline-block;  }  
 input.termS[type=checkbox] { opacity: 0; margin-left: -20px;  }
 .ifeb-label { display: inline-block; padding: 2px 0px 3px 3px; margin-bottom: 1px; width: 97%; }
 input.termS:checked + .ifeb-label {color: #ffffff; background: #F78D2C url("close2.png") no-repeat 98%; }
 #regiondivide { border-bottom: 1px solid #cccccc; padding-bottom: 5px; margin-bottom: 5px; }
 #IfEb-PageURL { visibility: hidden; height: 0;}
 .ifpri-ebrary-container { font-size: 14px; font-weight: normal; line-height: 120%; }
 #IfEb-share-top { display: inline-block; clear: both;  width: 100%; vertical-align: top; text-align: left; box-sizing: border-box;}
 #shareDiv { display: inline-block;  margin: 0px; vertical-align: top; text-align: left; box-sizing: border-box; }
 #shareDiv #shareShow, #ifebsuggest, #ifebsuggest2 { padding: 5px 20px 5px 45px; color: #ffffff; font-weight: bold; font-size: 16px; background: #405361 url("people.png") no-repeat 5% 50%; display: inline-block; clear: both; margin: 0px; width: auto; vertical-align: top; text-align: right; box-sizing: border-box; border-radius: 3px; cursor: pointer;}
 #ifebsuggest, #ifebsuggest2  { background-image: url("feedback.png"); }
 #ifebsuggest2 { display: none; }
 #shareDiv #shareResult { display: none; }
 @media only screen and (min-width: 1170px) {
     #shareResult textarea { width: 843px; }
 }
 @media only screen and (max-width: 1170px) {
    #shareResult textarea { width: 100%; }
 }
 
 #IfEb-ShareResultLink { display: inline-block; width: 85%; }
 #IfEbTop { display: inline-block; text-align: right; padding-top: 15px; width: 15%; }
 
 .ifpri-ebrary-container #IfEb-pager { clear: both; border-bottom: 1px dotted #cccccc; display: inline-block; width: 100%;  }
 #IfEb-pager-L, #IfEb-pager-R, #IfEb-pager-records { display: inline-block; vertical-align: top; text-align: left; box-sizing: border-box; }
 #IfEb-pager-L { width: 45%; }
 #IfEb-pager-R { width: 30%; margin-right: -1%; }
 #IfEb-pager-records { width: 25%; margin-right: -1%; }
 #IfEb-pager-R { text-align: right;  }
 .ifpri-ebrary-container #ifeb-page-left { float: left; padding: 3px 10px; margin-bottom: 10px; }
 .ifpri-ebrary-container #ifeb-page-right { float: right; padding: 3px 10px; margin-bottom: 10px; }
 .ifpri-ebrary-container #ifeb-totalNum { clear: both; display: none; }
 #ifeb-featured #IfEb-pager-L { width: 30%; }
 #ifeb-featured #IfEb-pager-R { width: 30%; margin-right: 0%;  }
 #ifeb-featured #IfEb-pager-records { width: 40%; margin-right: 0%;  text-align: center; }
 
 /* Featured records pager (shortcode) */
 
 #ifeb-featured #IfEb-pager_feature { clear: both; border-bottom: 1px dotted #cccccc; display: grid; width: 100%; grid-template-columns: 30% 40% 30%;  }
 #IfEb-pager-L_feature, #IfEb-pager-R, #IfEb-pager-records_feature { align-self:center; text-align: left; box-sizing: border-box; }
 #IfEb-pager-R_feature { justify-self: right;  }
 .ifpri-ebrary-container #ifeb-page-left_feature {  padding: 3px 10px; margin-bottom: 10px; }
 .ifpri-ebrary-container #ifeb-page-right_feature {  padding: 3px 10px; margin-bottom: 10px; }
 .ifpri-ebrary-container #ifeb-totalNum_feature { clear: both; display: none; }
 #ifeb-featured #IfEb-pager-records_feature { justify-self: center; }
 
 .ifpri-ebrary-container ul, .ifpri-ebrary-container ul li { list-style-type: none; margin-left: 0;}
 .if-eb-hidden { visibility: hidden; height: 0; display:block;   }
 .if-eb-shown { visibility: visible; height: auto; }
 .ifeb-clear { clear: both;}
 .if-eb-featured-title { background: #f78d2c; bottom: 0px; color: #fff; font-size: 14px; font-weight: 400; line-height: 18px; margin: 0 0 15px 0; min-height: 44px; padding: 14px 5px;
 text-align: center; text-transform: uppercase; width: 100%;}
 .if-eb-featured-title a { color: #ffffff;}
 p.IfEbFeatLinks { margin: 10px 0 10px 0; padding-bottom: 0; }
 #ifeb-showfilters { padding:3px 10px; }
 /* Toggled State */
 div.checkboxIndicator {
 display: block;
 width: 100%;
 height: 3px;
 clear:left;
 background-color: transparent;
 }
 .ifeb-filter-header { background: url("arrow-down.png") no-repeat 85%; color: #405361;}
 .ifeb-filter-header.ifeb-arrow-up { background-image: url("arrow-up.png") ;}
 #ifeb-filter-lang-h { color: #405361; }
 .ifeb-full-width { width: 100%;}
 .ifeb-side-col-left ul li { margin-left: 3px; }
 
 .ifeb-filters-sel { text-transform: capitalize; font-size: 14px; color: #60982D; background: url("close.png") no-repeat right; padding-right: 20px; margin-right: 5px }
 .ifpri-ebrary-container .holder_img { display: block; height: 75px; background-color: #f2f2f2; }
 .ifpri-ebrary-search  fieldset { padding: 0px; border: 0;}
 .ifpri-ebrary-search #cs, .ifpri-ebrary-search #ifeb-searchsubmit { float: left; /*! display: inline-block; */ vertical-align: top; box-sizing: border-box; }
 .ifebAuthors { margin-left: 12px; }
 .pub-search br {display: none; }
 .ifpri-ebrary-search #cs { width: 81%; margin-right: 0px; padding: 6px;}
 .ifpri-ebrary-search #ifeb-searchsubmit { width:12%; padding: 6px; background: #f78d2c url('ic_search.png') no-repeat 3px 5px; }
 .IfEbShowHideBtn2 { background-color: #fff; border-radius: 10px; border: 1px solid #ccc; color: #444; margin: 0 14px 0 0; padding: 3px 7px; border-radius: 10px; width: 28px;
 }
 
 #IfEbRemoveAll, #ifeb-searchinstead2, #ifeb-reset-div { background-color: rgb(96, 152, 45); color: white; display: inline-block; align-content: right; text-align: right; margin-left: 50px; padding: 2px 15px 2px 30px; background: #60982D url("close3.png") no-repeat 7px center; text-transform: none; }
 #ifeb-reset-div { margin-left: 0; }
 #ifeb-searchinstead2 { background-image: url('ic_add_circle.png'); background-position: 4px center;  }
 #ifeb-remove-div { display: inline-block; margin-left: 0px; }
 #ifeb-remove-div.ifeb-next-line { display: block; clear: both; margin-top: 30px; margin-left: -50px;}
 
 #pub-search { display: inline-block;width: 100%;}
 #pub-search br { display: none; width: 0; }
 #totalNum { display: none; }
 
 .ifeb-changesort, .ifeb-changesort-rev, .ifeb-col1, .ifeb-col2, .ifeb-col3, .ifeb-col4, #ifebsort, #ifeb-sort-type, #ifebsuggest, .ifeb-width-24 { display: inline-block; vertical-align: top; box-sizing: border-box;   margin-left: -2px;}
 
 .ifpri-ebrary-search { display: inline-block; margin-bottom: 0px; }
 #ifebsuggest { margin-right: 1%; }
 #ifebsort { text-align:left; padding: 7px 2px 2px 4px; height: 35px;}
 .ifeb-width-25 { width: 25%; }
 .ifeb-width-50 { width: 50%; }
 .ifeb-width-24 { width: 24%; }
 
 .ifeb-changesort, .ifeb-changesort-rev { text-align: right; width: auto; margin-right: 10px; margin-left: 10px; padding: 3px 9px; margin-top: -3px; cursor:pointer; }
 .ifeb-sortsel { color: white; background-color: #F78D2C; }
 .ifeb-col1 { width: 13%;} 
 .ifeb-col2  { width: 86%; }
 .ifeb-col3 { width: 50%; }
 .col3-right { text-align:right; }
 #ifeb-main-container .ifeb-filters2 { margin-bottom: 0; position:relative; }
 #ifeb-main-container .if-eb-categories br { display: none; }
 p.ifeb-helper-buttons { clear: both;  text-align: center; margin-top: 30px;  }
 .ifeb-helper-buttons button {  display: inline-block; margin: 10px; padding: 5px; }
 .ifpri-ebrary-container .results_tn_img, .holder_img {  width: 60px; height: auto; border: 1px solid #cccccc;  box-shadow: 1px 1px 4px #989595; margin-left: 0; float: none;}
 .col-md-10.ifeb-rec-details { margin-left: -5%; } 
 
 #IfEbshowQuery { background-color: #6ab446; border: none; border-radius: 3px; color: #fff; cursor: pointer; font-size: 14px;  font-weight: 400; padding: 4px 8px 5px 8px;  text-transform: uppercase;  width: auto; text-align: center; display: inline-block; margin-left: 4px; margin-top: -1px;  }
 #IfEbshowQuery a { color: #ffffff; }
 .ifeb-helper-buttons {  display: inline-block; padding: 4px 10px;}
 #ifeb-admin-buttons { width: 100%; text-align: center;  }
 #ifeb-searchinstead, #ifeb-remove-all { clear: both; display: inline-block; color: #f78d2c; cursor: pointer; }
 #AbstSeriesA1 { background-color: #DEDEDE; padding: 15px; border: 1px solid #444444; margin-bottom: 14px;  }
 #ifeb-no-matching { display: block; width: 80%;text-align: center; margin: 100px 0px;  margin-left: 10%; background-color: #EEEEEE; font-size: 40px; padding: 40px 0; color: #888888; border-radius: 12px; }
 #ifeb-furtheropts {  display: block; width: 100%; text-align: center; font-size: 16px;  }
 #NoResultsMsg  { margin-bottom: 25px; }
 /* To correct for auto insert of paragraphs on some versions WP: */
 .if-eb-categories ul.ifeb-filters2 p { margin-top: -26px; }
 .ifeb-fadeout {
      display: block; 
     position: absolute; 
     bottom: 0em;
     width:100%;
     height: 32px;
     margin-left: -4%;
     background: -webkit-linear-gradient(
         rgba(255, 255, 255, 0) 0%,
         rgba(255, 255, 255, 1) 100%
     ); 
     background-image: -moz-linear-gradient(
         rgba(255, 255, 255, 0) 0%,
         rgba(255, 255, 255, 1) 100%
     );
     background-image: -o-linear-gradient(
         rgba(255, 255, 255, 0) 0%,
         rgba(255, 255, 255, 1) 100%
     );
     background-image: linear-gradient(
         rgba(255, 255, 255, 0) 0%,
         rgba(255, 255, 255, 1) 100%
     );
     background-image: -ms-linear-gradient(
         rgba(255, 255, 255, 0) 0%,
         rgba(255, 255, 255, 1) 100%
     );
 } 
 .ifeb-sortsel[data-sort-order="dec"] .ifeb-arrow { 
 width: 0px;
 height: 0px;
 border-left: 6px solid transparent;
 border-right: 6px solid transparent;
 border-top: 7px solid #405361;
 display: inline-block;
 margin-left: 4px;
 }
 
 .ifeb-sortsel[data-sort-order="asc"] .ifeb-arrow { 
 width: 0px;
 height: 0px;
 border-left: 6px solid transparent;
 border-right: 6px solid transparent;
 border-bottom: 7px solid #405361;
 display: inline-block;
 margin-left: 4px;
 }
 
 #ifeb-sort-year.ifeb-sortsel[data-sort-order="asc"] .ifeb-arrow { 
 width: 0px;
 height: 0px;
 border-left: 6px solid transparent;
 border-right: 6px solid transparent;
 border-top: 7px solid #405361;
 border-bottom:0px;
 display: inline-block;
 margin-left: 4px;
 }
 
 #ifeb-sort-year.ifeb-sortsel[data-sort-order="dec"] .ifeb-arrow { 
 width: 0px;
 height: 0px;
 border-left: 6px solid transparent;
 border-right: 6px solid transparent;
 border-bottom: 7px solid #405361;
 border-top: 0px;
 display: inline-block;
 margin-left: 4px;
 }
 
 #ifpri-ebrary-container input#cs { width: 85%; }
 #ifpri-ebrary-container #pub-search fieldset { border: 0; }
 
 #ifeb-showfilters { display: none; } 
 .ifeb-Combined-List-Template div.IfEbShowHide { display: none; }
 .ifeb-Combined-List-Template .if-eb-hidden { visibility: hidden; height: 0; display: block;  }
 .ifeb-altmetric { margin-top: 12px;  }
 .if-eb-downloads { margin-top: 12px; }
 
 .ifeb-row.ifeb-shortcode .ifeb-col1 img, .ifeb-records.ifeb-shortcode .ifeb-col1 img { max-width: 80%; }
 
 .PubsULlist.ifeb-widget-template .holder_img { width: auto; max-width: 80%; }
 
 /* Added 20190522 */
 
 .ifeb-filters.if-eb-hidden li {
     margin: 0px;
     padding: 0px;
     height: 0px;
 }
 
 #ifeb-main-container .ifeb-filters2, #ifeb-main-container .ifeb-filters { padding-left: 12px; }
 
 #ifeb-main-container .ifeb-filters2, #ifeb-main-container .ifeb-filters, .ifpri-ebrary-container ul {
     padding-left: 12px;
 }
 #ifebAdditional { display: none; }
 @media only screen and (max-width: 768px) {
 #ifeb-showfilters { display: block; }
 .fp-eb-record-featured {  width: 46%; margin-left: 0%;  }
 .fp-eb-record-featured:nth-child(odd) {  margin-right: 6%;    }
 .content .ifpri-ebrary-container .results_tn_img, .holder_img { width: 80%; }
 #ifeb-featured .results_tn_img { width: 100%; }
 .ifeb-side-col-left { position: absolute; width: 45%; margin-left: -56%; overflow:hidden; -webkit-transition: all 1s; transition: all 1s; }


 
 .ifeb-main-col { width: 100%; padding-left: 0px; -webkit-transition: all 0.5s; transition: all 0.5s; }
 .ifeb-width-25, .ifeb-width-24, .ifeb-width-50 { width: 100%; margin-bottom: 5px; text-align: center; }
 .col3-right { text-align: left; }
 #ifebsuggest { display: none;  }
 #ifebsuggest2 { display: block; width: 75%;  }
 #ifeb-showfilters { margin-top: 12px; }
 .fadeout { width: 95%; }
 #ifeb-no-matching { width: 100%; 	margin-left: 0px; line-height: 1.2; }
     .fp-eb-record-featured { margin-right: 0; }   
 .fp-eb-record-featured:nth-child(2n+1) { margin-right: 6%; }   
 .if-eb-featured-title {  min-height: 85px; }
 .ifeb-changesort, .ifeb-changesort-rev { margin: -2px 2px 3px 1px; padding: 2px 10px 2px 5px; }   
 #ifebsort { font-size: 13px;}    
 #ifebsort p { color: #F78D2C; }
 .ifeb-helper-buttons { margin-right: 10px;margin-bottom: 5px; }
 #IfEbTop { width: 30%; float:right; }    
 }    
 
 @media only screen and (max-width: 360px) {
 #ifeb-showfilters { display: block; }
 .fp-eb-record-featured {  width: 100%; margin-left: 0%;  }
 .fp-eb-record-featured:nth-child(odd) {  margin-right: 6%;    }
 .content .ifpri-ebrary-container .results_tn_img, .holder_img { width: 80%; }
 #ifeb-featured .results_tn_img { width: 100%; }
 .ifeb-side-col-left { 
     position: absolute; 
     width: 45%; 
     margin-left: -56%; 
    overflow:hidden; 
    -webkit-transition: all 1s; 
    transition: all 1s; }
 .ifeb-main-col { 
     width: 100%; 
     padding-left: 0px; 
     -webkit-transition: all 0.5s;
     transition: all 0.5s;
     }
 .ifeb-width-25, .ifeb-width-24, .ifeb-width-50 { width: 100%; margin-bottom: 5px; text-align: center; }
 .col3-right { text-align: left; }
 #ifebsuggest { display: none;  }
 #ifebsuggest2 { display: block; width: 75%;  }
 #ifeb-showfilters { margin-top: 12px; }
 .fadeout { width: 95%; }
 #ifeb-no-matching { width: 100%; 	margin-left: 0px; line-height: 1.2; }
     .fp-eb-record-featured { margin-right: 0; }   
 .fp-eb-record-featured:nth-child(2n+1) { margin-right: 6%; }   
 .if-eb-featured-title {  min-height: 85px; }
 .ifeb-changesort, .ifeb-changesort-rev { margin: -2px 2px 3px 1px; padding: 2px 10px 2px 5px; }   
 #ifebsort { font-size: 13px;}    
 #ifebsort p { color: #F78D2C; }
 .ifeb-helper-buttons { margin-right: 10px;margin-bottom: 5px; }
 #IfEbTop { width: 30%; float:right; }    
 }    
     
 p:empty { display: none; }
 /* Larger screens */
 @media only screen and (min-width: 1000px) {
     .if-eb-featured-title { min-height: 58px; }
     
 }
 
 /* Version 2 - may cause issues with legacy */
 div.IfEbShowHide { display: none; padding-top: 10px; clear: both;}
 div.if-eb-extra-info { display: none; }
 div.if-eb-extra-info-shown { height: auto; display: block;  border-top: 1px solid #cccccc; padding-top: 8px; padding-bottom: 8px; border-bottom: 1px solid #cccccc; margin: 8px; }
 
 .ifeb-row.if-eb-custom-template-row {margin-top: 8px; border-bottom: 1px dotted #C2CCD9; }
 .ifeb-sortdefault { visibility: hidden; height: 0; }
 
 /* Some Color customizations */
 .ifpri-ebrary-color2 .ifpri-ebrary-search #ifeb-searchsubmit {background-color: #89A527 }
 .ifpri-ebrary-color2 .ifeb-sortsel {background-color: #89A527 }
 .ifpri-ebrary-color2 a {color: #89A527 }
 .ifpri-ebrary-color2 input.termS:checked + .ifeb-label {background-color: #89A527}
 
 .ifpri-ebrary-color3 .ifpri-ebrary-search #ifeb-searchsubmit {background-color: #0088AF }
 .ifpri-ebrary-color3 .ifeb-sortsel {background-color: #0088AF }
 .ifpri-ebrary-color3 a {color: #0088AF }
 .ifpri-ebrary-color3 input.termS:checked + .ifeb-label {background-color: #0088AF}
 
 .ifpri-ebrary-color4 .ifpri-ebrary-search #ifeb-searchsubmit {background-color: #4D4D4D }
 .ifpri-ebrary-color4 .ifeb-sortsel {background-color: #4D4D4D }
 .ifpri-ebrary-color4 a {color: #4D4D4D }
 .ifpri-ebrary-color4 input.termS:checked + .ifeb-label {background-color: #4D4D4D}
 .ifpri-ebrary-thumbnails-no .ifeb-col1 { display: none; }
 .ifpri-ebrary-thumbnails-no .ifeb-col2 { width: 100%; }
 
 #ifeb-main-container.ifpri-ebrary-biblio-bibliography a.thetitle {
 
     font-weight: 600; color: #405361;
 }
 
 /* Reference https://coryrylan.com/blog/css-gap-space-with-flexbox
 .FeaturedPubsULlist > * {
     margin: 12px 0 0 12px;
   }
 .FeaturedPubsULlist ...
      margin: -12px 0 0 -12px;
     width: calc(100% + 12px);
 
  */ 
 
 .FeaturedPubsShortlist { 
     display: flex;
     flex-wrap: wrap;
     overflow: hidden;
     grid-column-gap: 1%;
     grid-row-gap: 10px;
 }
 .FeaturedPubsShortlist > div {
     flex: 0 0 24%;
     
 }
 .FeaturedPubsShortlist.NumRecs2 { 
  grid-template-columns: repeat(2, 1fr);
 }
 .FeaturedPubsShortlist.NumRecs3 { 
     grid-template-columns: repeat(3, 1fr);
 }
 .FeaturedPubsShortlist.NumRecs4 { 
 grid-template-columns: repeat(4, 1fr);
 }
 .FeaturedPubsShortlist.NumRecs5 { 
 grid-template-columns: repeat(5, 1fr);
 }
 .FeaturedPubsShortlist.NumRecs6 { 
 grid-template-columns: repeat(3, 1fr);
 }
 .FeaturedPubsShortlist.NumRecs8 { 
     grid-template-columns: repeat(4, 1fr);
 }
 .FeaturedPubsShortlist.NumRecs9 { 
 grid-template-columns: repeat(3, 1fr);
 }
 .FeaturedPubsShortlist.NumRecs10 { 
     grid-template-columns: repeat(5, 1fr);
     }
 .if-eb-short-featured {
     background-color: #f2f2f2;
     display: flex;
     margin-bottom: 20px;
     flex-direction:column;
 }
 
 .if-eb-short-featured .ifeb-featured-col2 {
     position: relative; 
     display: grid;
     grid-template-rows: 1fr auto;
 }
 .if-eb-short-featured  { flex: 1; }
 .if-eb-short-featured p.IfEbFeatLinks {
     text-align:center;
 }
 .FeaturedPubsShortlist .ifeb-featured-col1 { /* max-height: 115px;*/ overflow: hidden; }
 .FeaturedPubsShortlist.NumRecs4 .ifeb-featured-col1 { /* max-height: 118px; */overflow: hidden; }
 .FeaturedPubsShortlist.NumRecs9 .ifeb-featured-col1, .FeaturedPubsShortlist.NumRecs3 .ifeb-featured-col1 { /* max-height: 158px;*/ overflow: hidden; }
 .FeaturedPubsShortlist .if-eb-featured-title {
     background-color: #f2f2f2;
     width: unset;
 }
 
 .FeaturedPubsShortlist .if-eb-featured-title a {
     color: #000000;
 }
 
 .if-eb-short-featured.if-eb-hidden {
     display: none; 
 }
 
 #ifebAdditional { display: none; }
 
 @media only screen and (max-width: 768px) {
     #ifeb-featured .FeaturedPubsShortlist {
         grid-template-columns: 1fr 1fr;
     }
 
     #ifeb-featured .FeaturedPubsShortlist .ifeb-featured-col1 {
         max-height: 190px;
     }
     .ifpri-ebrary-container .results_tn_img { width: 80%; }
 
 }
 
 @media only screen and (max-width: 450px) {
     #ifeb-featured .FeaturedPubsShortlist {
         display: grid;
         grid-template-columns: 1fr;
     }
     .ifpri-ebrary-container .results_tn_img { width: 60%; }
 }    
 
 .ifeb_feat_img { 
    width: 100%;
    height:160px; 
    object-fit: contain; 
 }
 
 .if-eb-short-featured.searchHidden { display: none; }
 #ifEbDetailsFilters { position: relative; }
 #ifeb-shortcode-items { 
 position: absolute;
 top: 35px; 
 background:rgba(43, 43, 43, 0.8);
 z-index: 20;
 width: 100%;
 opacity: 0.95;
 padding: 10px; 
 box-sizing: border-box;
 }
 
 #ifeb-shortcode-items * {  opacity: 1; 
 }
 
 #ifeb-shortcode-items { display: flex; gap: 5px 8px; flex-flow: row wrap; margin-top: -40px;}
 #ifeb-shortcode-items > div {  flex: 1 0 17%; }
 
.ifEbDetailsFilters1 #ifeb-shortcode-items > div {
    flex: 1;
}

 #ifeb-shortcode-items button {
     display: block;
     padding:0.2em 1em;
     border-radius:1em;
     box-sizing: border-box;
     text-decoration:none;
     color:#525252;
     background-color:#f2f2f2;
     text-align:center;
     transition: all 0.2s;
     margin: 8px 0px 8px 4px;
     width: 100%;
     border: 0px;
     box-sizing: border-box;
 }

 .ifEbDetailsFilters1  #ifeb-shortcode-items button {
    display: inline-block;
    width: auto; 
    margin-right: 4%;
 }
 
 #ifeb-shortcode-items button:empty {
     display: none;
 }
 
 #ifeb-shortcode-items h3 {
     display: block;
     padding:0.2em 1em;
     border-radius:4px;
     color:#222222;
     background-color:#ffffff;
     text-align:center;
     margin: 8px 0px 8px 4px;
     width: 100%;
     box-sizing: border-box;
 }
#IfEbFiltersTrigger, #ifEbFeatSearch input[type=submit]  {
     display: block;
     padding:0.2em 1.5em;
     border-radius:4px;
     text-align:center;
     background:rgba(43, 43, 43, 0.9);
     color:#FFFFFF;
     margin-left: 0px;
     cursor: pointer;
     text-align:center;
     font-size: 100%;
     border: 0px;
     line-height: 170%;
     display: flex;
     align-items: center;
     font-weight: normal;
     justify-content: center;
     text-transform: capitalize;
 }

 #ifEbFeatSearch input[type=submit] { width: auto;  padding: 0.3em 1em; margin-left: 2px;  display: inline-block; cursor: pointer; }
 #ifeb-shortcode-filters summary { height: 0; visibility: hidden; }

 #ifeb-shortcode-items button:hover{
    background-color:rgb(97, 124, 72);
    color: #EEEEEE;
    background-image: none;
 }

 #ifeb-shortcode-items button.ifeb-filter-selected {
    background-color:rgb(96, 152, 45);
    color: #ffffff;
    
 }

 @media all and (max-width:30em) {
 #ifeb-shortcode-items button{
  display:block;
  margin:0.2em auto;
  }
 }
 
 .ifEb-FeaturedModal.hidden {  height: 75px; overflow: hidden;  display: block;  position: static;
    background-color: transparent;  border: 0px; }
 .ifebReadMoreDesc { cursor: pointer; font-weight: bold; margin-bottom: 15px; margin-right: 14px;  text-align: right;  }
 .ifEb-featured-desc { vertical-align: top;}

/* The Modal (background) */
.ifEb-FeaturedModal{
    height: auto; 
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
  }
  
  /* Modal Content/Box */
 .ifEb-FeaturedModalInner {
    background-color: #fefefe;
    margin: 15% auto; /* 15% from the top and centered */
    padding: 40px;
    border: 1px solid #888;
    width: 60%; /* Could be more or less, depending on screen size */
    position: relative;
    border-radius: 15px;
    max-width: 620px;
  }

  .ifEb-FeaturedModal.hidden  .ifEb-FeaturedModalInner {    background-color: transparent;
    margin: auto; /* 15% from the top and centered */
    padding: 2px;
    border: 0px;
    width: 100%;  }

    /* The Close Button */
.ifEb-FeaturedModal .ifEb-mdlClose {
    color: rgb(105, 104, 104);
    position: absolute;
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
    top: -20px; 
    right: 10px;
  }
.ifEb-FeaturedModalInner h2, .entry-content .ifEb-FeaturedModalInner h2 { margin: 2px 12px 12px 0px;}
.ifEb-FeaturedModal.hidden .ifEb-mdlClose, .ifEb-FeaturedModal.hidden h2 {
 display: none;
  }

#ifEbFiltersSearchFilter {
    display: grid;
    grid-template-columns: auto auto 1fr;
    grid-gap: 15px;
    justify-items: right;
    margin-bottom:10px;

}
#ifEbFeatSearchTerm { max-width: 160px;}

#featuredPubsShortlist .if-eb-featured-title {
    min-height: 25px; margin-bottom: 4px; 
}
input.submitHidden { display: inline-block;}
#chosenFilters .ifeb-filters-sel {
    border: 1px solid #60982D;
    border-radius: 3px;
    padding: 2px 29px 2px 6px;
    background-position: right 5px bottom 50%;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    font-weight: normal;
    justify-content: center;
}
