/* Search clear button. */
.js-document-blocks .document-block-search-clear {
  position: absolute;
  top: 50%;
  right: 0.75rem;
  transform: translateY(-50%);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0.25rem;
  border: 0;
  background: none;
  line-height: 1;
  box-shadow: none;
}

.js-document-blocks .document-block-search-clear.is-visible {
  display: inline-flex;
}

.js-document-blocks .document-block-search-clear .c-icon {
  width: 0.75rem;
  height: 0.75rem;
  fill: currentColor;
}

@media screen and (min-width: 62em) {
  .js-document-blocks .event-search-vp .document-block-search-clear {
    right: 1.75rem;
  }
}
