/*Suchseite*/
.helptext {
    margin-bottom:1em;
    overflow:hidden;
}

.helptexttitle {
    float:right;
    font-weight:bold;
}

.helptextcontent {
    clear:both;
}

.hdsearch_form .button-disabled {
    display:none;
}

.hdsearch_form > .search_selects {
    overflow:hidden;
}

.hdsearch_form > .search_selects > .select {
    width:200px;
    float:left;
    margin-bottom:10px;
    height:38px;
}

.hdsearch_form > .search_selects > .search_input, .cmp_form.hdsearch_form input[type="text"] {
    width:calc(75% - 202px);
    max-width:calc(100% - 202px);
    margin-left:2px;
    margin-right:10%;
    margin-bottom:10px;
    float:left;
    height:38px;
}

.hdsearch_form > .search_selects > .search_input:focus-visible, .cmp_form.hdsearch_form input[type="text"]:focus-visible {
    outline: none;
}


.hdsearch_form > .search_restrict {
    background: #f5f5f5;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 1em;
    padding: 10px;
    width: 75%;
}

.hdsearch_form > .submit {
    margin-top:20px;
}

.hdsearch_form > .submit > button {
    width: 50%;
    background: none;
    padding: 0;
}

.hdsearch_form > .submit > button > input {
    width: 100%;
    text-transform: uppercase;
    background: none;
    box-shadow: none;
    border: none;
    display: inline-block;
    font-weight: 400;
    text-align: center;
    vertical-align: middle;
    white-space: nowrap;
    padding: 6px 12px;
}

.hdsearch_form > .search_restrict > .search_restrict_result {
    margin-bottom:10px;
    width:50%;
    float:left;
}

.hdsearch_form > .search_restrict > .search_restrict_result > span {
    font-size:90%;
    margin-right:10px;
}

.hdsearch_form > .search_restrict > .search_restrict_result > select {
    width:auto;
}

.hdsearch_form > .search_restrict > .search_restrict_sort {
    margin-bottom:20px;
    width:100%;
    text-align:center;
}

.hdsearch_form > .search_restrict > .search_restrict_page > select {
    width:auto;
}

.hdsearch_form > .search_restrict > .search_restrict_page > button {
    height:27px;
    background:#eee;
    border: 1px solid rgba(0,0,0,0.4);
    border-top-color: #bbb;
    border-radius: 3px;
    box-shadow: inset 0 -1em 1em rgba(0,0,0,0.1);
}

/*Facetten*/
.hdsearch_form > .search_restrict > .search_restrict_sort > span {
    font-size:90%;
    margin-right:10px;
}

.hdsearch_form > .search_restrict > .search_restrict_sort > select {
    width:auto;
}

#graphq-result {
    width:calc(100% - 300px);
    }

#graphq-result-facet {
    background: #f5f5f5;
    margin-top:30px;
    padding:15px;
    width:300px;
    float:right;
}

#graphq-result-facet:empty {
    display:none;
}

#graphq-result-facet .facet {
    display:table;
}

#graphq-result-facet .facet .facet_entry, #graphq-result-facet .facet .facet_buttons {
    display:none;
}

#graphq-result-facet .facet .facet_title {
    font-weight:bold;
    display:table-row;
}

#graphq-result-facet .facet.open .facet_entry {
    display:table-row;
    cursor: pointer;
}

#graphq-result-facet .facet.open .facet_entry:hover {
    background:#f5f5f5;
}

#graphq-result-facet > .facet > i, #graphq-result-facet > .facet.open > i {
   display:none;
}

#graphq-result-facet .facet .facet_title:before {
   font-family: FontAwesome;
   content: "\f055";
   margin-right:5px;
}

#graphq-result-facet .facet.open .facet_title:before {
   font-family: FontAwesome;
   content: "\f056";
   margin-right:5px;
}

#graphq-result-facet .facet.open .facet_entry {
   display:table-row;
}

#graphq-result-facet .facet.open .facet_buttons {
   display:block;
}

#graphq-result-facet .facet.open .facet_entry .facet_word {
   display: table-cell;
   padding:0.1em 0.2em 0.1em 1em;
}

#graphq-result-facet .facet.open .facet_entry .facet_count {
   display: table-cell;
   padding:0.1em 0.2em 0.1em 1em;
}

#graphq-result-facet hr {
   border:1px solid #ddd;
}

.facets-title {
   font-weight:bold;
   margin-bottom:0.5em;
}

.facets-title:after {
  content: ":";
}

.facet-title .tooltip { display:none; }

.facet_applied {
   list-style:none;
   border-bottom:1px solid #ddd;
   padding-bottom:1em;
}

.facet_applied li:hover {
   text-decoration: line-through;
   cursor: pointer;
}

.facet_applied li:before {
   font-family: FontAwesome;
   content: "\f057";
   margin-right:5px;
}

.facet_applied li > i {display:none;}

#graphq-result-facet .facet.open .facet_entries .facet_more_entry, #graphq-result-facet .facet.open .facet_entry.facet_more_entry {
    display:none;
}

/*Facette, die nur auf der Übersichtsseite gebraucht wird*/
#graphq-result-facet.journal_facet .facet.facet_field_meta_periodical_title_s {display:none;}

/*Einschränkung nach Elementtyp wird nicht gebraucht, da dies bei den Zeitschriften nur eingeschränkt funktioniert*/
#graphq-result-facet .facet.facet_field_type_s {display:none;}

/*Einschränkung nach Domain wird nicht gebraucht*/
#graphq-result-facet .facet.facet_field_domain_s {display:none;}

/*Suche nach Signatur und Sortierung nach Signatur wird nicht gebraucht*/
.search_selects select option[value=meta_shelflocator_txt], .search_restrict_sort select option[value="sort_shelflocator_s asc"]  {
   display:none;
}

#graphq-result > img {
   position: absolute;
   width: 50px;
   max-width: 50px;
   height: auto;
   margin-top:20px;
   margin-bottom:20px;
}

.numFound {
   margin-top:1em;
   font-weight:bold;
}

ul.hits {
   list-style:none;
   padding:0;
}

ul.hits li.hit {
   padding-top:1em;
   border-bottom:1px solid #f5f5f5;
   min-height:200px;
}

ul.hits li.hit img {
   position: absolute;
   width: 30%;
   max-width: 100px;
   height: auto;
}

ul.hierarchy {
   list-style:none;
   padding:0;
   margin:0 15px 0 130px;
}

.highlighting.highlighting_meta_abstract_txt, .highlighting.highlighting_text_pdf_ft {
  margin-left: 150px;
}

ul.hierarchy li a {
   text-decoration:none;
}

ul.hierarchy li.type_journal {
   display:none;
}

ul.hierarchy li.type_issue {
   font-weight:normal;
}

ul.hierarchy li.type_monograph a {
   margin-left: -22px;
   text-indent: -20px;
}

li.type_monograph a::before {

    font-family: FontAwesome;
    content: "\f02d";
    margin-right: 8px;
    font-style: normal;

}

.highlighting.highlighting_text_pdf_ft li a::before {
  font-family: FontAwesome;
  content: "\f1c1";
  margin-right: 8px;
  font-style: normal;
}

ul.hierarchy li a .hit_highlight,
ul.highlighting li a .hit_highlight {
   font-weight:bold;
   text-decoration:none;
   font-style:italic;
}

ul.highlighting {
   list-style:none;
   padding:0;
   margin:1em 15px 0 15px;
   padding-bottom:1em;
}

ul.highlighting li a {
   text-decoration:none;
}

ul.highlighting li a:before {
   font-family: FontAwesome;
   content:"\f016";
   margin-right:8px;
   font-style:normal;
}

@media (max-width: 1200px) {
   .hdsearch_form > .search_selects > .search_input, .cmp_form.hdsearch_form input[type="text"] {width: calc(100% - 202px); max-width: 100%; margin-right:0;}
   .hdsearch_form > .search_restrict {width:100%;}

   .hd_openSearch {width: 250px; margin: 7px auto; float: none;}
}

@media (max-width: 992px) {
   .hdsearch_form > .search_selects > .select {width: 100%; max-width: 100%; margin-bottom:5px;}	
   .hdsearch_form > .search_selects > .search_input, .cmp_form.hdsearch_form input[type="text"] {width: 100%; margin-left:0; margin-bottom:15px;}	
   #graphq-result-facet {width:100%; float:none;}
   #graphq-result {width: 100%;}   
}

