/* Search results */

.mr-3,
.mx-3 {
  margin-right: 1rem !important;
}

.ml-auto,
.mx-auto {
  margin-left: auto !important;
}

.search__facet-trigger:before {
  display: inline-block;
  width: 1.5em;
  height: 1.5em;
  margin-right: 0.5rem;
  vertical-align: middle;
  content: "";
  background: no-repeat center center;
  background-size: 100% 100%;
  background: url("../../assets/filter_list.svg") center center no-repeat;
}

.filters__sort .form-select {
  /* max-height: 42px; */
  line-height: 1;
}

@media (max-width: 991.98px) {
  .facet-col .facet-col-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    background-color: #f0f0f0 !important;
    -webkit-clip-path: none;
    clip-path: none;
    display: none;
  }
}

.facet-col .facet-col-wrapper > .block:first-child > h2 {
  font-size: 1.5rem;
  line-height: 1.5;
  font-weight: 400;
  display: none;
}
@media (min-width: 992px) {
  .facet-col .facet-col-wrapper > .block:first-child > h2 {
    display: block;
  }
}

.facet-col .facet-col--close:before {
  display: inline-block;
  width: 1.5em;
  height: 1.5em;
  margin-right: 0.5rem;
  vertical-align: middle;
  content: "";
  background: no-repeat center center;
  background-size: 100% 100%;
  background: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iMTRweCIgaGVpZ2h0PSIxNHB4IiB2aWV3Qm94PSIwIDAgMTQgMTQiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+CiAgICA8IS0tIEdlbmVyYXRvcjogc2tldGNodG9vbCA2My4xICgxMDEwMTApIC0gaHR0cHM6Ly9za2V0Y2guY29tIC0tPgogICAgPHRpdGxlPjAzOUVDMkY0LURCQzAtNDY5Qy05QjFBLUJDQjk4NjZCMkUwQTwvdGl0bGU+CiAgICA8ZGVzYz5DcmVhdGVkIHdpdGggc2tldGNodG9vbC48L2Rlc2M+CiAgICA8ZyBpZD0iVmlzdWFsRGVzaWducyIgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+CiAgICAgICAgPGcgaWQ9IkhvbWVfTWVudV9Nb2JpbGUiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yOTEuMDAwMDAwLCAtMjEuMDAwMDAwKSI+CiAgICAgICAgICAgIDxnIGlkPSJHcm91cC0yIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgyODYuMDAwMDAwLCAxNi4wMDAwMDApIj4KICAgICAgICAgICAgICAgIDxnIGlkPSJjbG9zZS0yNHB4LSgyKSI+CiAgICAgICAgICAgICAgICAgICAgPHBvbHlnb24gaWQ9IlBhdGgiIGZpbGw9IiMzMzMzMzMiIGZpbGwtcnVsZT0ibm9uemVybyIgcG9pbnRzPSIxOSA2LjQxIDE3LjU5IDUgMTIgMTAuNTkgNi40MSA1IDUgNi40MSAxMC41OSAxMiA1IDE3LjU5IDYuNDEgMTkgMTIgMTMuNDEgMTcuNTkgMTkgMTkgMTcuNTkgMTMuNDEgMTIiPjwvcG9seWdvbj4KICAgICAgICAgICAgICAgICAgICA8cG9seWdvbiBpZD0iUGF0aCIgcG9pbnRzPSIwIDAgMjQgMCAyNCAyNCAwIDI0Ij48L3BvbHlnb24+CiAgICAgICAgICAgICAgICA8L2c+CiAgICAgICAgICAgIDwvZz4KICAgICAgICA8L2c+CiAgICA8L2c+Cjwvc3ZnPg==")
    center center no-repeat;
}

@media (min-width: 992px) {
  .facet-col .facet-col--close {
    display: none;
    opacity: 0;
  }
}

.facet-col .block-facet--checkbox {
  border-bottom: 1px solid #d9d9d9;
}
.facet-col .block-facet--checkbox:last-child {
  border-bottom: 0;
}
.facet-col .block-facet--checkbox > h2 {
  padding: 14px 0;
  margin: 0;
  font-weight: 400;
  cursor: pointer;
  display: flex;
  align-items: center;
}
.facet-col .block-facet--checkbox > h2:hover {
  color: #0064a3;
}
.facet-col .block-facet--checkbox > h2 .block-facet--checkbox-toggler {
  width: 18px;
  height: 18px;
  border-radius: 2px;
  border: 2px solid #495057;
}
.facet-col .block-facet--checkbox > h2 .block-facet--checkbox-toggler:hover {
  border-color: #0064a3;
  background-color: #f0f0f0;
  cursor: pointer;
}
.facet-col .block-facet--checkbox > h2 .block-facet--checkbox-toggler.checked {
  position: relative;
  border-color: #0064a3;
  background-color: #0064a3;
}
.facet-col
  .block-facet--checkbox
  > h2
  .block-facet--checkbox-toggler.checked:after {
  content: "";
  position: absolute;
  display: block;
  left: 5px;
  top: 1px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.facet-col .block-facet--checkbox > h2 .block-facet--toggler-text:hover {
  color: #0064a3;
}
.facet-col .block-facet--checkbox > h2 .block-facet--toggler {
  transition: color 0.2s ease-in-out, opacity 0.2s ease-in-out,
    background-color 0.2s ease-in-out, border-color 0.2s ease-in-out;
  width: 44px;
  height: 44px;
  background: url("../../assets/arrow_down.svg") center center no-repeat;
}
.facet-col .block-facet--checkbox.open .block-facet--toggler {
  transform: rotate(180deg);
}

.facet-col .facets-widget-checkbox {
  transition: all 0.3s ease-in-out;
}
.facet-col .facets-widget-checkbox:not(.collapse.show) {
  display: none;
}
.facet-col .facets-widget-checkbox ul {
  list-style: none;
  padding-left: 1rem;
  margin: 0 0 1rem 0;
}
.facet-col .facets-widget-checkbox ul .facet-item {
  position: relative;
}
.facet-col .facets-widget-checkbox ul .facet-item .facets-checkbox {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.facet-col
  .facets-widget-checkbox
  ul
  .facet-item
  .facets-checkbox:checked
  + label:before {
  background-color: #0064a3;
  border-color: #0064a3;
}
.facet-col
  .facets-widget-checkbox
  ul
  .facet-item
  .facets-checkbox:checked
  + label:after {
  display: block;
}
.facet-col
  .facets-widget-checkbox
  ul
  .facet-item
  .facets-checkbox:disabled
  + label:before {
  opacity: 0.5;
}
.facet-col .facets-widget-checkbox ul .facet-item .facets-checkbox ~ label {
  cursor: pointer;
}
.facet-col
  .facets-widget-checkbox
  ul
  .facet-item
  .facets-checkbox
  ~ label:before {
  content: "";
  position: absolute;
  top: 8px;
  left: 0;
  height: 12px;
  width: 12px;
  border: 2px solid #333333;
  border-radius: 2px;
}
.facet-col
  .facets-widget-checkbox
  ul
  .facet-item
  .facets-checkbox
  ~ label:after {
  transition: all 0.3s ease-in-out;
  content: "";
  position: absolute;
  display: none;
  left: 4px;
  top: 9px;
  width: 4px;
  height: 9px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.facet-col .facets-widget-checkbox label {
  padding-left: 1.5rem;

  line-height: 2;
}

.facet-col .block-facets > h2 {
  font-size: 1.125rem;
}

.block-facet-blockcontent-type {
  display: none;
}

.block-facets-summary-blocksearch-facet-summary ul {
  padding-left: 0;
}
.block-facets-summary-blocksearch-facet-summary ul li {
  display: none;
  list-style: none;
}
.block-facets-summary-blocksearch-facet-summary ul li a {
  font-size: 18px;
  line-height: 24px;
  font-weight: bold;
  font-family: "Open Sans", sans-serif;
}
.block-facets-summary-blocksearch-facet-summary
  ul
  li.facet-summary-item--clear {
  display: block;
}

article .search-result {
  padding-bottom: 1.5rem !important;
  margin-bottom: 1.5rem !important;
  border-bottom: 1px solid #d9d9d9;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.sr-only-focusable:active,
.sr-only-focusable:focus {
  position: static;
  width: auto;
  height: auto;
  overflow: visible;
  clip: auto;
  white-space: normal;
}

.block-pi-keyword-search form {
  display: flex;
}
.block-pi-keyword-search form > div {
  margin: 0;
}
.block-pi-keyword-search form .form-item-keywords {
  flex-grow: 1;
}
.block-pi-keyword-search form .form-item-keywords label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.block-pi-keyword-search form .form-item-keywords input {
  font-size: 1.125rem;
  height: 100%;
  border: none;
  padding: 1rem;
  font-weight: 600;
  max-height: 54px;
}
.block-pi-keyword-search form .form-item-keywords input::-moz-placeholder {
  font-size: 1.125rem;
}
.block-pi-keyword-search form .form-item-keywords input::placeholder {
  font-size: 1.125rem;
}
@media (min-width: 992px) {
  .block-pi-keyword-search form .form-item-keywords input {
    font-size: 1.5rem;
    padding: 1.5rem 2rem;
    max-height: 80px;
  }
  .block-pi-keyword-search form .form-item-keywords input::-moz-placeholder {
    font-size: 1.5rem;
  }
  .block-pi-keyword-search form .form-item-keywords input::placeholder {
    font-size: 1.5rem;
  }
}
.block-pi-keyword-search form .btn-search {
  border: none;
  text-indent: -9999em;
  background: url("../images/search_white.svg") center center no-repeat #0064a3;
  width: 54px;
  height: 54px;
  background-size: 32px;
}
@media (min-width: 992px) {
  .block-pi-keyword-search form .btn-search {
    width: 80px;
    height: 80px;
    background-size: 40px;
  }
}
.block-pi-keyword-search form .btn-search:hover {
  background-color: #004570;
}

.text-dark {
  color: #333333 !important;
}

a.text-dark:hover,
a.text-dark:focus {
  color: #0d0d0d !important;
}
