.pkp_head_wrapper .pkp_search {display:none;}

.hd_search {
    position: absolute;
    top: 0;
    right: 0;
    height: 40px;
    min-width: 100px;
    padding: 0;
    font-size: 14px;
    line-height: 20px;
    transition: min-width .4s;
    text-align: right;
    overflow-x: hidden;
    display: block;
}

.hd_search input[type="text"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    padding: 0;
    border: none;
}

.pkp_head_wrapper .hd_search button {
    position: absolute;
    top: -15px;  /*0px*/
    left: -9999px;
    width: auto;
    margin-top: 0;
    display: inline-block;
    padding: 0 1em;
    background:#eee;
    border: 1px solid rgba(0,0,0,0.4);
    border-top-color: 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);
    font-size: 13px;
    line-height: 28px;
    font-weight: 700;
    text-decoration: none;
    text-align:right;
}

.hd_search .search_controls {
    display: inline-block;
    position:relative;
}

.has_site_logo .pkp_head_wrapper .hd_search .search_prompt, .pkp_head_wrapper .hd_search .search_prompt {
    padding: 9px 0;
    text-decoration:none;
    display:inline-block;
    position:relative;
    cursor:pointer;
    transition: background-color .4s;
}

.pkp_head_wrapper .hd_search .search_prompt::before {
    font-size: 16px;
    margin-right: 0.25em;
    display: inline-block;
    font: normal normal normal 14px/1 FontAwesome;
    font-size: 14px;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transform: translate(0, 0);
    content: "\f002";
}

.has_site_logo .pkp_head_wrapper .hd_search .search_cancel, .pkp_head_wrapper .hd_search .search_cancel {
    display: none;
}

.pkp_head_wrapper .hd_search .search_cancel::before {
    display: inline-block;
    font: normal normal normal 14px/1 FontAwesome;
    font-size: 14px;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transform: translate(0, 0);
    content: "\f00d";
    width: 20px;
    height: 20px;
    line-height: 20px;
}

.pkp_head_wrapper .hd_search .search_controls a {
    text-decoration: none;
}

.pkp_head_wrapper .hd_search .search_cancel, .pkp_head_wrapper .hd_search .search_loading {
    position: absolute;
    top: 10px;
    right: 100%;
    margin-right: 20px;
    text-align: center;
    color:
    rgba(0,0,0,0.54);
}


.has_site_logo .pkp_head_wrapper .hd_search.is_open, .pkp_head_wrapper .hd_search.is_open {
    height: inherit;
    width: calc(100% + 30px);
    left: -15px;
    right: -15px;
    min-width:100%;
    background:#fff;
    border-bottom: 1px solid #ddd;
    z-index:100;
}

.has_site_logo .pkp_head_wrapper .hd_search.is_open input[type="text"], .pkp_head_wrapper .hd_search.is_open input[type="text"] {
    height: 38px;
    width:100%;
    max-width:100%;
    line-height:40px;
    top:0;
    left:0;
    padding: 0 180px 0 0.5em;
    border:none;
    font-size:16px;
    background:#fff;
    position:absolute;
}

.has_site_logo .pkp_head_wrapper .hd_search.is_open .search_prompt, .pkp_head_wrapper .hd_search.is_open .search_prompt {
    background: #fff;
    border-left: 1px solid #ddd;
    padding: 9px 15px;
    border-bottom:none;
    border-top:none;
}

.has_site_logo .pkp_head_wrapper .hd_search.is_open .search_cancel, .pkp_head_wrapper .hd_search.is_open .search_cancel {
    display: inline;
    margin-right: 10px;
}

.pkp_head_wrapper .hd_search .search_cancel:hover, .pkp_head_wrapper .hd_search .search_cancel:focus {
    outline: none;
    border-radius: 50%;
    background: #ff4040;
    color: #fff;
}


/*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(100% - 202px);
    max-width:calc(100% - 202px);
    margin-left:2px;
    margin-bottom:10px;
    float:left;
    height:38px;
}

.hdsearch_form > .search_restrict {
    clear:both;
    margin-top:1em;
}

.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:10px;
    width:50%;
    float:left;
    text-align:right;
}

.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);
}


.hdsearch_form > .submit > button > input {
    border:none;
    background:transparent;
}

/*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-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:#f1f1f1;
}

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

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

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

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

#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;
}

.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 #ddd;
   margin: 0 -15px;
}

ul.hits li.hit:hover {
   background:#f1f1f1;
}

ul.hits li.hit > img {
   display:none;
}


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

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 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: 992px) {
    .pkp_navigation_primary_wrapper {
      display:flex;
      flex-direction: column-reverse;
    }

    .pkp_head_wrapper .hd_search {
      position:relative;
      display: block;
      margin: 10px 0;
      font-size: 13px;
      line-height: 20px;
      text-align: center;
    }

    .hd_search input[type="text"] {
      position: relative;
      max-width: 200px;
      width:50%;
      min-width: 100px;
      padding: 0.6em 0.1em;
      border: none;
    }

    .pkp_head_wrapper .hd_search button {
      width: auto;
      margin-top: 0;
      position: relative;
      top: 0;
      left: 0;
    }

    .pkp_head_wrapper .hd_search .search_controls {
      display: none;
      position: relative;
    }

    .hdsearch_form > .search_restrict > .search_restrict_sort, .hdsearch_form > .search_restrict > .search_restrict_result {
      width: 100%;
      text-align: left;
    }
}

@media (max-width: 768px) {
    .hdsearch_form > .search_selects > .select {
      width: 100%;
      max-width: 100%;
      margin-bottom: 1px;
    }

    .hdsearch_form > .search_selects > .search_input, .cmp_form.hdsearch_form input[type="text"] {
      width: 100%;
      max-width: 100%;
      margin-left: 0;
      margin-bottom: 20px;
    }

    .hdsearch_form > .search_restrict > .search_restrict_result > select {
      width: 100%;
    }
}
