.ictj-blocks-resource-library-search.layout-wide.hero .hero__content--wrapper .hero__body {
  padding-bottom: 40px;
  color: var(--color-dark-gray);
}

.ictj-blocks-resource-library-search.layout-wide.hero .resource-library-search-hero {
  display: -webkit-box;
  display: flex;
  -webkit-box-align: end;
          align-items: flex-end;
  padding-bottom: 90px;
}

.ictj-blocks-resource-library-search.layout-wide.hero .resource-library-search-hero .form-item-search-api-fulltext {
  min-width: 250px;
  margin-bottom: 0;
}

@media (min-width: 62em) {
  .ictj-blocks-resource-library-search.layout-wide.hero .resource-library-search-hero .form-item-search-api-fulltext {
    width: -webkit-max-content;
    width: -moz-max-content;
    width: max-content;
    margin-bottom: 0;
  }
}

.ictj-blocks-resource-library-search.layout-wide.hero .resource-library-search-hero .form-item-search-api-fulltext input {
  width: 100%;
}

.ictj-blocks-resource-library-search.layout-wide.hero .form-resource-library-search-hero .form-actions {
  display: -webkit-box;
  display: flex;
}

.ictj-blocks-resource-library-search.layout-wide.hero .form-resource-library-search-hero .form-actions .button {
  background-color: var(--color-ictj-blue);
  padding: 0.555rem 1.25rem;
}

.ictj-blocks-resource-library-search.layout-wide.hero .form-resource-library-search-hero .form-actions .button .search-icon {
  font-size: 1.375rem;
  line-height: 22px;
  display: inline-block;
  content: "";
  background-image: url(../../../images/icons/searchicon.png);
  background-repeat: no-repeat;
  background-position: center;
  width: 17px;
  height: 21px;
  left: 152px;
  top: 11px;
  -webkit-box-flex: 0;
          flex: none;
  -webkit-box-ordinal-group: 2;
          order: 1;
  flex-grow: 0;
  margin: 2px 0 0 2px;
  cursor: pointer;
}

.resource-library-main {
  display: block;
}

.resource-library-main.layout {
  padding: 2rem 15px;
}

@media (min-width: 37.5em) {
  .resource-library-main.layout {
    padding: 2rem 7.4074074074%;
  }
}

.resource-library-main .resource-library-content {
  padding: 2rem 0;
}

@media (min-width: 37.5em) {
  .resource-library-main .resource-library-content {
    padding: 2rem 7.4074074074%;
  }
}

@media (min-width: 62em) {
  .resource-library-main {
    display: -webkit-box;
    display: flex;
  }
}

.resource-library-main.site-wide.layout .layout-sidebar-first {
  padding-top: 2rem;
}

.layout-sidebar-first {
  padding-top: 4rem;
}

.layout-sidebar-first .resource-filter-header {
  display: none;
}

@media (min-width: 37.5em) {
  .layout-sidebar-first .resource-filter-header {
    display: block;
  }
}

@media (min-width: 37.5em) {
  .layout-sidebar-first .resource-filter-header p {
    font-family: var(--font-family-serif);
    font-style: normal;
    font-weight: bold;
    font-size: 1.125rem;
    line-height: 170%;
    color: black;
  }
}

.layout-sidebar-first .mobile-resource-filter-header {
  display: block;
  cursor: pointer;
}

@media (min-width: 37.5em) {
  .layout-sidebar-first .mobile-resource-filter-header {
    display: none;
  }
}

.layout-sidebar-first .mobile-resource-filter-header p {
  font-family: var(--font-family-serif);
  font-style: normal;
  font-weight: bold;
  font-size: 1.125rem;
  line-height: 170%;
  color: black;
  display: -webkit-box;
  display: flex;
  -webkit-box-align: center;
          align-items: center;
}

.layout-sidebar-first .mobile-resource-filter-header p:before {
  border-bottom: 2px solid var(--color-lite-tan);
  content: "";
  display: block;
  -webkit-box-flex: 1;
          flex: 1;
  margin: 5px 0.5rem 0.3rem;
  -webkit-box-ordinal-group: 3;
          order: 2;
}

.layout-sidebar-first .mobile-resource-filter-header p:after {
  font-size: 1.375rem;
  line-height: 22px;
  content: "";
  background-image: url(../../../images/icons/angle-down-red.svg);
  background-repeat: no-repeat;
  background-position: center;
  width: 13px;
  height: 22px;
  top: 0;
  -webkit-box-flex: 0;
  flex: none;
  -webkit-box-ordinal-group: 2;
  order: 3;
  flex-grow: 0;
  margin: 0 10px;
  display: block;
}

.layout-sidebar-first div .block-facet--checkbox {
  padding-top: 56px;
}

.layout-sidebar-first div .block-facet--checkbox .facet-heading {
  font-family: var(--font-family-sans);
  font-style: normal;
  font-weight: 600;
  font-size: 1rem;
  line-height: 150%;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: black;
  position: relative;
  display: -webkit-box;
  display: flex;
  -webkit-box-align: center;
          align-items: center;
  border: none;
  background-color: white;
  width: 100%;
  padding-left: 0;
}

.layout-sidebar-first div .block-facet--checkbox .facet-heading:before {
  border-bottom: 2px solid var(--color-lite-tan);
  content: "";
  display: block;
  -webkit-box-flex: 1;
          flex: 1;
  margin: 0 0.5rem 0.3rem;
  -webkit-box-ordinal-group: 3;
          order: 2;
}

.layout-sidebar-first div .block-facet--checkbox .facet-heading:after {
  font-size: 1.375rem;
  line-height: 22px;
  content: "";
  background-image: url(../../../images/icons/angle-red-up.svg);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  width: 16px;
  height: 15px;
  top: 0;
  -webkit-box-flex: 0;
  flex: none;
  -webkit-box-ordinal-group: 2;
  order: 3;
  flex-grow: 0;
  margin: 0 10px;
  display: block;
}

.layout-sidebar-first div .block-facet--checkbox .facet-heading.closed:after {
  background-image: url(../../../images/icons/angle-down-red.svg);
}

.layout-sidebar-first div .block-facet--checkbox h3.facet-heading {
  font-family: var(--font-family-sans);
  font-style: normal;
  font-weight: 600;
  font-size: 1rem;
  line-height: 150%;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: black;
  position: relative;
  display: -webkit-box;
  display: flex;
  -webkit-box-align: center;
          align-items: center;
  border: none;
  background-color: white;
  width: 100%;
  padding-left: 0;
}

.layout-sidebar-first div .block-facet--checkbox h3.facet-heading:before {
  border-bottom: 2px solid var(--color-lite-tan);
  content: "";
  display: block;
  -webkit-box-flex: 1;
          flex: 1;
  margin: 0 0.5rem 0.3rem;
  -webkit-box-ordinal-group: 3;
          order: 2;
}

.layout-sidebar-first div .block-facet--checkbox h3.facet-heading:after {
  display: none;
}

.layout-sidebar-first div .block-facet--checkbox .facets-widget-checkbox ul {
  padding-left: 0;
  margin-top: 20px;
}

.layout-sidebar-first div .block-facet--checkbox .facets-widget-checkbox ul li.facet-item {
  list-style-type: none;
  display: -webkit-box;
  display: flex;
  margin-bottom: 10px;
}

.layout-sidebar-first div .block-facet--checkbox .facets-widget-checkbox ul li.facet-item input.facets-checkbox {
  border: 2px solid var(--color-tan);
}

.layout-sidebar-first div .block-facet--checkbox .facets-widget-checkbox ul li.facet-item label {
  font-family: var(--font-family-sans);
  font-style: normal;
  font-weight: normal;
  font-size: 0.875rem;
  line-height: 160%;
  margin-left: 12px;
  margin-bottom: 0;
  color: black;
  text-transform: none;
}

[dir="rtl"] .layout-sidebar-first div .block-facet--checkbox .facets-widget-checkbox ul li.facet-item label {
  padding-right: 5px;
}

.layout-sidebar-first div #block-issues,
.layout-sidebar-first div #block-mediatype,
.layout-sidebar-first div #block-newstype,
.layout-sidebar-first div #block-publicationtype,
.layout-sidebar-first div #block-relatedcountries {
  grid-column-start: 1;
  width: 350px;
}

.layout-sidebar-first div #block-issues {
  grid-row-start: 4;
}

.layout-sidebar-first div #block-mediatype {
  grid-row-start: 3;
}

.layout-sidebar-first div #block-newstype {
  grid-row-start: 2;
}

.layout-sidebar-first div #block-publicationtype {
  grid-row-start: 1;
}

.layout-sidebar-first div #block-relatedcountries,
.layout-sidebar-first div #block-regions {
  grid-row-start: 5;
  width: 350px;
}

.layout-sidebar-first div #block-relatedcountries .countries-facets .facet-item--expanded > input,
.layout-sidebar-first div #block-regions .countries-facets .facet-item--expanded > input {
  display: none;
}

.layout-sidebar-first div #block-relatedcountries .countries-facets .facet-item--expanded > label,
.layout-sidebar-first div #block-relatedcountries .countries-facets .facet-item--expanded > button,
.layout-sidebar-first div #block-regions .countries-facets .facet-item--expanded > label,
.layout-sidebar-first div #block-regions .countries-facets .facet-item--expanded > button {
  font-family: var(--font-family-sans);
  font-style: normal;
  font-weight: 600;
  font-size: 1rem;
  line-height: 150%;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: black;
  display: -webkit-box;
  display: flex;
  -webkit-box-align: center;
          align-items: center;
  position: relative;
  cursor: pointer;
}

.layout-sidebar-first div #block-relatedcountries .countries-facets .facet-item--expanded > label:before,
.layout-sidebar-first div #block-relatedcountries .countries-facets .facet-item--expanded > button:before,
.layout-sidebar-first div #block-regions .countries-facets .facet-item--expanded > label:before,
.layout-sidebar-first div #block-regions .countries-facets .facet-item--expanded > button:before {
  border-bottom: 2px solid var(--color-lite-tan);
  content: "";
  display: block;
  -webkit-box-flex: 1;
          flex: 1;
  margin: 0 0.5rem 0.3rem;
  -webkit-box-ordinal-group: 3;
          order: 2;
}

.layout-sidebar-first div #block-relatedcountries .countries-facets .facet-item--expanded > label:after,
.layout-sidebar-first div #block-relatedcountries .countries-facets .facet-item--expanded > button:after,
.layout-sidebar-first div #block-regions .countries-facets .facet-item--expanded > label:after,
.layout-sidebar-first div #block-regions .countries-facets .facet-item--expanded > button:after {
  font-size: 1.375rem;
  line-height: 22px;
  content: "";
  background-image: url(../../../images/icons/angle-down-red.svg);
  background-repeat: no-repeat;
  background-position: center;
  width: 13px;
  height: 22px;
  top: 1px;
  -webkit-box-flex: 0;
  flex: none;
  -webkit-box-ordinal-group: 2;
  order: 3;
  flex-grow: 0;
  margin: 0 10px;
  display: block;
}

.layout-sidebar-first div #block-relatedcountries .countries-facets .facet-item--expanded > label,
.layout-sidebar-first div #block-regions .countries-facets .facet-item--expanded > label {
  margin: 0;
  padding-top: 20px;
  padding-left: 20px;
  padding-bottom: 20px;
  padding-right: 10px;
}

.layout-sidebar-first div #block-relatedcountries .countries-facets .facet-item--expanded.open > label:after,
.layout-sidebar-first div #block-regions .countries-facets .facet-item--expanded.open > label:after {
  background-image: url(../../../images/icons/angle-red-up.svg);
}

.layout-sidebar-first div #block-relatedcountries .facets-widget-checkbox ul.item-list__checkbox.countries li.facet-item.facet-item--expanded,
.layout-sidebar-first div #block-regions .facets-widget-checkbox ul.item-list__checkbox.countries li.facet-item.facet-item--expanded {
  margin-top: 10px;
  background-color: #FAF7F0;
}

.search-top-filter-box {
  display: block;
  padding-bottom: 40px;
  border-bottom: 2px solid var(--color-lite-tan);
}

.search-top-filter-box header {
  font-family: var(--font-family-sans);
  font-style: normal;
  font-weight: 600;
  font-size: 1rem;
  line-height: 150%;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-dark-gray);
  float: none;
}

[dir="rtl"] .search-top-filter-box header {
  float: left;
}

@media (min-width: 37.5em) {
  .search-top-filter-box header {
    margin-top: 10px;
    display: -webkit-box;
    display: flex;
    float: right;
  }
}

.search-top-filter-box .form-item.js-form-item-sort-bef-combine {
  display: -webkit-box;
  display: flex;
  -webkit-box-align: baseline;
          align-items: baseline;
  margin-top: 0;
}

.search-top-filter-box .bef-links ul {
  display: -webkit-box;
  display: flex;
  flex-wrap: wrap;
}

.search-top-filter-box .bef-links ul li a {
  font-family: var(--font-family-sans);
  font-style: normal;
  font-weight: normal;
  font-size: 1rem;
  line-height: 150%;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-dark-gray);
  padding: 0 10px;
}

.search-top-filter-box .bef-links ul li a.bef-link--selected {
  color: var(--color-ictj-blue);
  font-weight: bold;
  text-decoration: underline;
}

.search-top-filter-box .bef-links ul li:before {
  display: none;
}

.search-top-filter-box .views-exposed-form .form-item-items-per-page {
  display: -webkit-box;
  display: flex;
  -webkit-box-align: baseline;
          align-items: baseline;
}

.search-top-filter-box .views-exposed-form .form-item-items-per-page > label {
  font-family: var(--font-family-sans);
  font-style: normal;
  font-weight: 600;
  font-size: 1rem;
  line-height: 150%;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-dark-gray);
  margin-bottom: 0;
}

.search-top-filter-box .views-exposed-form .form-item-items-per-page #edit-items-per-page > ul {
  display: -webkit-box;
  display: flex;
  -webkit-box-align: baseline;
          align-items: baseline;
}

.search-top-filter-box .views-exposed-form .form-item-items-per-page #edit-items-per-page > ul li a {
  font-family: var(--font-family-sans);
  font-style: normal;
  font-weight: normal;
  font-size: 1rem;
  line-height: 150%;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-dark-gray);
  padding: 0 10px;
}

.search-top-filter-box .views-exposed-form .form-item-items-per-page #edit-items-per-page > ul li:before {
  display: none;
}

.resource-filter-footer {
  padding-top: 48px;
}

.resource-filter-footer a {
  font-family: var(--font-family-sans);
  font-style: normal;
  font-weight: 600;
  font-size: 1rem;
  line-height: 150%;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-dark-gray);
}

.resource-filters {
  display: none;
}

@media (min-width: 37.5em) {
  .resource-filters {
    display: block;
  }
}

.bef-links ul li {
  list-style-type: none;
}

#block-regions > div.countries-facets.facets-widget-checkbox > ul > li.facet-item {
  display: none;
}

#block-regions > div.countries-facets.facets-widget-checkbox > ul > li.facet-item--expanded {
  display: block;
}

#block-regions > div.countries-facets.facets-widget-checkbox > ul > li > .countries-facets > ul.countries {
  margin-left: 20px;
  padding-bottom: 20px;
  margin-right: 10px;
  margin-top: 0;
}

#edit-items-per-page ul li {
  display: block !important;
}

/* Wrap both the input container and the button container */

.ictj-blocks-resource-library-search {
  display: -webkit-box;
  display: flex;
  -webkit-box-align: center;
          align-items: center;
  grid-gap: 0;
  gap: 0;
  /* keep button flush */
}

/* Make input expand */

.ictj-blocks-resource-library-search .form-item__search-api-fulltext,
.ictj-blocks-resource-library-search .form-item {
  -webkit-box-flex: 1;
          flex: 1;
  margin: 0;
  /* important to remove extra bottom spacing */
}

/* Ensure input takes full height */

.ictj-blocks-resource-library-search input[type=text] {
  width: 100%;
  height: 100%;
  display: block;
  margin: 0;
}

/* Button wrapper should not force a line break */

#edit-actions--4 {
  margin: 0;
  padding: 0;
  display: -webkit-box;
  display: flex;
}

/* Make button height match input height */

#edit-actions--4 button {
  height: 100%;
  margin: 0;
  display: -webkit-box;
  display: flex;
  -webkit-box-align: center;
          align-items: center;
  -webkit-box-pack: center;
          justify-content: center;
}

@media (max-width: 768px) {
  .ictj-blocks-resource-library-search {
    display: -webkit-box !important;
    display: flex !important;
    -webkit-box-orient: horizontal !important;
    -webkit-box-direction: normal !important;
            flex-direction: row !important;
    /* theme probably forces column */
    -webkit-box-align: center !important;
            align-items: center !important;
    grid-gap: 0;
    gap: 0;
  }

  /* keep the input flexible */

  .ictj-blocks-resource-library-search .form-item,
.ictj-blocks-resource-library-search .form-item__search-api-fulltext {
    -webkit-box-flex: 1 !important;
            flex: 1 1 auto !important;
    margin: 0 !important;
  }

  /* force button wrapper to stay beside the input */

  #edit-actions--4 {
    display: -webkit-box !important;
    display: flex !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* make the button match input height */

  #edit-actions--4 button {
    height: 100% !important;
    margin: 0;
    display: -webkit-box;
    display: flex;
    -webkit-box-align: center;
            align-items: center;
    -webkit-box-pack: center;
            justify-content: center;
  }
}

.resource-search-form {
  display: -webkit-box;
  display: flex;
  -webkit-box-align: baseline;
          align-items: baseline;
  grid-gap: 0;
  gap: 0;
  /* keep button flush */
}