hr {
  margin: 0;
}
.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;
}

.search-results_wrapper {
  display: flex;
  flex-direction: column;
}

.search-results_header {
  display: flex;
  width: 100%;
  min-height: 373px;
  justify-content: center;
  align-items: center;
  background: linear-gradient(0deg, rgba(46, 68, 73, 0.33) 0%, rgba(46, 68, 73, 0.33) 100%),
    var(--dfm-search-bg) lightgray 0px -211.78px / 100% 385.673% no-repeat;
}
.search-results_header section {
  display: flex;
  width: 965px;
  padding: 36px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 22px;
  flex-shrink: 0;
  border-radius: 12px;
  opacity: 0.9;
  background: var(--DFM-New-DFM-Color-Background-Primary, #2e4449);
  box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(4px);
}
.search-results_header section h1 {
  align-self: stretch;
  color: var(--DFM-New-DFM-Color-Background-Secondary, #e8edd9);
  text-align: center;

  /* Headers/H4 */
  font-family: var(--font-family-Heading, "Open Sans");
  font-size: var(--font-size-3xl, 28px);
  font-style: normal;
  font-weight: 700;
  line-height: var(--font-line-height-xl, 36px); /* 128.571% */
}

.search-results {
  border-bottom: #1d2a20 solid 4px;
  padding-bottom: 18px;
}

.search-results a {
  text-wrap: nowrap;
  color: #1d2a20;

  /* Headers/H3 */
  -webkit-text-stroke-width: 1px;
  -webkit-text-stroke-color: #1d2a20;
  font-size: 40px;
  font-style: normal;
  font-weight: 700;
  line-height: 48px; /* 120% */
}

form#dfm-search {
  width: 100%;
  position: relative;
}

form#dfm-search label {
  color: #fff;
  font-family: Arial;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: 0.32px;
}

form#dfm-search button {
  position: absolute;
  right: 16px;
  bottom: 8px;
}

.dfm-search {
  display: flex;
  height: 40px;
  padding: 0 12px;
  align-items: center;
  gap: 4px;
  align-self: stretch;

  border-radius: var(--Spacing-3, 12px);
  border: 1px solid var(--itt-color-surface-border, #bbb);
  background: var(--itt-color-surface-primary, #fff);
}

.dfm-search input {
  border: none;
  height: 38px;

  overflow: hidden;
  text-overflow: ellipsis;

  /* Body/Medium/Regular */
  font-family: var(--font-family-Body, Montserrat);
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px; /* 150% */
  letter-spacing: 0.32px;
}

.dfm-search input:focus {
  outline: none;
}

form#dfm-search input:hover {
  outline: 2px solid #bbb;
  box-shadow: 3px 3px 1px 1px #e8edd9;
}
form#dfm-search input:focus {
  box-shadow: 1px 1px 8.4px 2px #ac883e;
}
form#dfm-search input:not(:placeholder-shown) {
  border: 2px solid #6392c5;
  background: #f6f6f6;
}
form#dfm-search input:active {
  outline: none;
  background: #f6f6f6;
  box-shadow: 0 0 0 2px #ac883e;
}

.dfm-search::placeholder {
  color: var(--itt-color-text-placeholder, #595959);
  font-family: var(--font-family-Body, Montserrat);
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px; /* 150% */
  letter-spacing: 0.32px;
}

.search-tips {
  margin-bottom: 20px;
  /* Headers/Subheader 2 */
  font-family: var(--font-family-Subheading, "Open Sans");
  font-size: var(--font-size-2xl, 24px);
  font-style: normal;
  font-weight: 400;
  line-height: var(--font-line-height-lg, 32px);
}
.search-tips strong {
  color: #000;
  font-family: var(--font-family-Subheading, "Open Sans");
  font-size: var(--font-size-2xl, 24px);
  font-style: normal;
  font-weight: 700;
  line-height: var(--font-line-height-lg, 32px); /* 133.333% */
}

.search-results_page {
  display: column;
  gap: 20px;
  padding: 113px 82px 152px 82px;
}

.results-container {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.results-container-header {
  display: flex;
  justify-content: space-between;
}

.results-container-header h5 {
  color: #000;
  font-family: Arial, sans-serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
  line-height: 32px;
}

.sort-container {
  position: relative;
}

.sort-options {
  user-select: none;
}
.sort-options {
  position: absolute;
  margin-top: 9px;
  right: 0;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;

  width: 159px;

  background-color: #fdfcfd;
  border: 1px solid #bbb;
  border-radius: 12px;
  box-shadow: 0px 4px 8px -2px rgba(16, 24, 40, 0.1);
}

ul.sort-options {
  padding: 0px;
  margin: 0px;
}

.sort-options li {
  padding: 0px;
  margin: 0px;
  list-style: none;
}

.sort-options button {
  padding: 10px;
  width: 100%;
  background-color: #fdfcfd;
}

.sort-options li:not(:last-child) {
  border-bottom: 1px solid #bbb;
}

.sort-options button.selected {
  background: #ffeecf;
}

/* SECTION PAGINATION */

#dfm-pagination.pagination-section {
  margin-top: 16px;
  display: flex;
  width: 100%;
  justify-content: space-between;
}

#dfm-pagination.pagination-section .page-size {
  display: flex;
  align-items: center;
  gap: 20px;
}

.page-size .per-page {
  color: var(--Text-Primary, #1d2a20);
  text-align: center;

  /* Body/Medium/Semibold */
  font-family: var(--font-family-Body, Montserrat);
  font-size: 16px;
  font-style: normal;
  font-weight: 600;
  line-height: 24px; /* 150% */
  letter-spacing: 0.32px;
}

.page-size .item-count {
  color: var(--Text-Primary, #1d2a20);
  text-align: center;
  font-family: var(--font-family-Body, Montserrat);
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px; /* 150% */
  letter-spacing: 0.32px;
}

#dfm-pagination.pagination-section .page-size select {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 60px;
  height: 40px;
  border-radius: 4px;
  border: 1px solid var(--DFM-color-text-disabled, #595959);
}

#dfm-pagination.pagination-section .page-number {
  display: flex;
}
#dfm-pagination.pagination-section .pagination-list {
  display: flex;
}

#dfm-pagination.pagination-section .pagination-list li {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0.5rem;
}

.btn-page-carrot {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8px 16px 8px 12px;
  align-items: flex-start;
  gap: 12px;
  background-color: #00000000;
}
.btn-page-carrot.disabled {
  opacity: 50%;
  pointer-events: none;
}
.btn-pagination {
  display: flex;
  padding: 4px 12px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background-color: #00000000;

  color: var(--DFM-color-text-headings, #4d4d4d);
  text-align: center;

  /* Button/Large */
  font-family: var(--font-family-Button, Montserrat);
  font-size: 18px;
  font-style: normal;
  font-weight: 600;
  line-height: 24px; /* 133.333% */
  letter-spacing: 0.36px;
}
.btn-pagination.selected {
  border-radius: var(--itt-spacing-xs, 4px);
  border: 1px solid var(--DFM-New-DFM-Color-Background-Primary, #2e4449);
  background: var(--DFM-New-DFM-Color-Background-Primary, #2e4449);

  color: var(--Text-Secondary, #e8edd9);
  text-align: center;

  /* Button/Large */
  font-family: var(--font-family-Button, Montserrat);
  font-size: 18px;
  font-style: normal;
  font-weight: 600;
  line-height: 24px; /* 133.333% */
  letter-spacing: 0.36px;
}

.btn-pagination.selected:focus {
  outline: black solid 2px;
  outline-offset: 2px;
}

/* SECTION END PAGINATION */

.btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 40px;
  border-radius: 32px;
  border: 1px solid #bbb;
  background-color: #fff;

  color: #1d2a20;
  text-align: center;

  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: 24px;
  letter-spacing: 0.28px;
}

.btn-transparent {
  width: 24px;
  height: 24px;
  background-color: #00000000;
}

.document-results {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 20px;
}

/* Mobile */
@media (max-width: 980px) {
  .search-results_page {
    flex-direction: column;
  }

  .search-results_wrapper {
    gap: 42px;
  }

  .search-results {
    display: flex;
    align-items: baseline;
    gap: 10px;
    padding-bottom: 2px;
  }

  .search-results a {
    color: #1d2a20;
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: 28px;
    -webkit-text-stroke-width: 0px;
  }

  .search-results_header {
    padding: 0px 32px;
  }
  .search-results_header section {
    width: 100%;
  }

  .dfm-search {
    height: 33px;
    width: 100%;
  }

  .dfm-search input {
    height: 31px;
  }

  .results-container-header h5 {
    font-size: 16px;
  }

  #dfm-pagination.pagination-section {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }
}
