/* --------------------------- TALÁLATI LISTA / FACETTÁK ----------------------------- */

/*-------- active filters --------*/

#displayFacet div.filterData {
  padding-left: 20px;
}

/*-------- facet list --------*/

#displayFacet div.loading {
  text-align: center;
}

/* --------------------------- TALÁLATI LISTA / FACETTÁK ----------------------------- */

/*-------- facet list --------*/


#displayFacet .facetList .facetValue {
  border-bottom: 1px solid #FFFFFF;
  border-top: 1px solid #E4E4E4;
}

.facetShowLink a {
  text-decoration: none;
}

#displayFacet .facetControlsWrapper{
  display:flex;
}
#displayFacet .moreFacets {
  text-align: right;
  width:50%;
}

#displayFacet .lessFacets {
  text-align: left;
  width:50%;
}

.opac-portlet.opac-facets-portlet .loading-icon-wrapper{

}

.opac-portlet.opac-facets-portlet .loading-icon-wrapper .loading-icon{
  background: url('../../res/loading.gif') no-repeat;
  background-size: contain;
  width: 15px;
  height: 15px;
  margin: 0px auto;
}

.opac-portlet.opac-facets-portlet .facet-block-action-button a,
.opac-portlet.opac-facets-portlet .facet-block-action-button a:hover,
.opac-portlet.opac-facets-portlet .facet-block-action-button a:focus{
  text-decoration: none;
}

.opac-portlet.opac-facets-portlet .facet-block-action-button {
  text-align: center;
}

.opac-portlet.opac-facets-portlet .facet-multiselect .facet-more-available-button,
.opac-portlet.opac-facets-portlet .facet-multiselect .facet-less-available-button{
  float: right;
}

.facet-multiselect-filter-button{
  float: left;
}

.facet-block-body .facet-checkbox-left{
  float: left;
  left: 30px;
  position: absolute;
}

.facet-checkbox-disabled-wrapper {
  cursor: not-allowed;
}

.facet-checkbox-disabled-wrapper label {
  pointer-events: none;
}

.opac-portlet.opac-facets-portlet .facet-block-action-button .facet-more-available-button,
.opac-portlet.opac-facets-portlet .facet-block-action-button .facet-less-available-button{
  display: inline-block;
}

.opac-portlet.opac-facets-portlet .facet-block-header {
  padding: 5px 10px;
}

.opac-portlet.opac-facets-portlet .facet-block-footer {
  border-top: 1px solid #cdcdcd;
  padding: 5px 10px;
}

.opac-portlet.opac-facets-portlet .facet-block-footer.empty{
  display: none;
}

.facetCounter{
  float: right;
}

.opac-portlet.opac-facets-portlet .facetDataLeft,
.opac-portlet.opac-facets-portlet .facetDataRight,
.opac-portlet.opac-facets-portlet .facetData,
.opac-portlet.opac-facets-portlet .facetData-wrapper .facetCounter{
  padding-top: 2px;
  padding-bottom: 0px;
}

.opac-portlet.opac-facets-portlet .row:last-child .facetDataLeft
.opac-portlet.opac-facets-portlet .row:last-child .facetDataRight,
.opac-portlet.opac-facets-portlet .row:last-child .facetData{
  padding-bottom: 2px;
}

.opac-portlet.opac-facets-portlet .facetData{
  padding-left: 20px;
}

.opac-portlet.opac-facets-portlet .facetDataLeft{
  padding-left: 20px;
  padding-right: 0px;
}

.opac-portlet.opac-facets-portlet .facetData-wrapper .facetCounter ,
.opac-portlet.opac-facets-portlet .facetDataRight{
  padding-left: 0px;
  padding-right: 5px;
}

.opac-portlet.opac-facets-portlet .facetDataLeft a,
.opac-portlet.opac-facets-portlet .facetDataLeft a:hover,
.opac-portlet.opac-facets-portlet .facetDataLeft a:focus,
.opac-portlet.opac-facets-portlet .facetDataRight a,
.opac-portlet.opac-facets-portlet .facetDataRight a:hover,
.opac-portlet.opac-facets-portlet .facetDataRight a:focus
.opac-portlet.opac-facets-portlet .facetData a,
.opac-portlet.opac-facets-portlet .facetData a:hover,
.opac-portlet.opac-facets-portlet .facetData a:focus{
  color: #000000;
  text-decoration: none;
}

.opac-portlet.opac-facets-portlet .facetDataRight a{
  display: inline-block;
}

.opac-portlet.opac-facets-portlet .facetDataLeft,
.opac-portlet.opac-facets-portlet .facetData{
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.opac-portlet.opac-facets-portlet .facet-block.active .facetData,
.opac-portlet.opac-facets-portlet .activeFilters .facet-type-name,
.opac-portlet.opac-facets-portlet .facetData-wrapper .facetCounter{
  color: #999999;
}

.opac-portlet.opac-facets-portlet .facet-block.active a .facetData {
  color: #000000;
}

.opac-portlet.opac-facets-portlet .activeFilters .active-facet-action a{
  display: inline-block;
}

/*.opac-portlet.opac-facets-portlet .activeFilters .facet-button{
  background: url('../../res/opac/facet-delete.png') no-repeat;
  background-size: contain;
  width: 15px;
  height: 15px;
}

.opac-portlet.opac-search-portlet .activeFilters .facet-button{
  background: url("../../res/opac/facet-delete.png") no-repeat;
  background-size: contain;
  background-position: center bottom;
  width: 15px;
  height: 17px;
}*/

.opac-portlet.opac-search-portlet .facet-data-wrapper a,
.opac-portlet.opac-search-portlet .facet-data-wrapper a:hover,
.opac-portlet.opac-search-portlet .facet-data-wrapper a:focus{
  text-decoration: none;
}

.opac-portlet.opac-search-portlet .facet-data-wrapper,
.opac-portlet.opac-search-portlet .facet-data-wrapper .facet-data,
.opac-portlet.opac-search-portlet .facet-data-wrapper .facet-remove-button{
  display: inline-block;
}

.opac-portlet.opac-search-portlet .facet-data-wrapper{
  margin-right: 10px;
}

.opac-portlet.opac-search-portlet .facet-data-wrapper:last-child{
  margin-right: 0px;
}

.opac-portlet.opac-facets-portlet .facet-block-head-row{
  cursor: pointer;
}

.opac-portlet.opac-facets-portlet  .closed-facet .facet-block-head-row .facet-open-close-button i:before{
  content: "\f103";
}

.opac-portlet.opac-facets-portlet .closed-facet .facet-block-body,
.opac-portlet.opac-facets-portlet .closed-facet .facet-block-footer{
  display: none;
}

.quick-facet-block-wrapper{
  display: flex;
  justify-content: space-evenly;
}

.quick-facets.loading-icon-wrapper, .quick-facet-wrapper{
  height: 120px;
}

.quick-facet-wrapper{
  display: flex;
  align-items: center;
  max-width: 200px;
}

.quick-facet-field{
  border: solid #4b4b4b 2px;
  padding: 5px;
}

.quick-facet-disabled, .quick-facet-active{
  pointer-events: none;
}

.quick-facet-disabled-wrapper{
  cursor: not-allowed;
  filter: opacity(.2);
}

.quick-facet-active-wrapper{
  filter: opacity(.8);
}

.quick-facet-label{
  padding-right: 5px;
  flex: 1;
  font-size: 15px;
}

.quick-facet-pictogram{
  display: block;
  flex: 1;
  width: 120px;
  height: 120px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center right;
}
