h1.page-title {
  line-height: 4rem;
  display: inline-block;
  max-width: 910px;
}

#edit-select-year {
  margin-bottom: 10px;
}

#name-text-wrapper {
  display: flex;
  justify-content: space-between;
  gap: 0;
  flex-grow: 2;

}

#tpr-view-records>fieldset, #name-filter {
  padding: 0;
  margin: 0;
  border: 0;
}

#name-filter {
  margin-top: 20px;
  width: 80%;
}

#name-filter > .fieldset-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  height: 50px;
  justify-content: space-between;
  align-items: center;
}

#name-filter-text {
  display: inline-block;
  flex-grow:2;
  height: 46px !important;
  background-color: white;
  border: 1px solid var(--border-gray);
}

#name-filter-button {
  height: 50px;
  line-height: 50px;
  padding: 0 20px;
}

#name-filter-button:hover {
}

#name-filter .form-item-select-year {
  margin: 0;
  min-width: 210px;
  height: 50px;
  line-height: 50px;
}

#name-filter .fieldset-wrapper, #name-filter .js-form-type-select, #name-filter .js-form-type-textfield {
  background-color: white;
}

#name-text-wrapper>.form-item-name-text {
  display: flex;
  margin: 0;
  justify-content: space-between;
  align-items: center;
  gap: 0;
  width: 100%;
}

#name-text-wrapper>.form-item-name-text>label {
  padding-right: 5px;
}

#name-filter .js-form-type-select {
  margin-right: 20px;
}

.tpr-record {
  display: table-row;
  width: 100%;
  margin: 20px;
}

a.tpr-link {
  display: block;
  width: 100%;
  color: black;
  height: auto;
  padding: 10px 10px 20px 10px;
  margin: 0px;
  border-bottom: 0px !important;
  text-decoration: none;
}

a.tpr-link:hover, a.tpr-link:visited {
  color: black;
}

.fod {
  font-size: 0.9rem;
}

.yor {
}

#reset-name {
  display: inline-block;
  cursor: pointer;
  background-image: none;
  text-align: center;
  font-weight: bold;
  font-size: 18px;
  margin-left: -30px;
  margin-right: 18px;
}

.tpr-image {
  display: table-cell;
  padding-right: 20px;
  width: 170px;
}
.tpr-image>img {
  width: 150px;
  height: auto;
  border: 1px solid #e5e5e5;
}

.tpr-details {
  vertical-align: top;
  display: table-cell;
}

.tpr-details p:first-of-type {
  margin-top: 0;
  line-height: 1.2rem;
}

.tpr-details p {
  margin: 10px 0 10px 0;
}

h3.year-heading {
  font-weight: normal;
  font-size: 2rem;
  color: #434343;
  padding: 10px;
  margin-top: 20px;
  border-top: 1px solid var(--border-light-gray);
}

[id^='edit-load-more'] {
  display: block !important;
  margin-top: 20px !important;
  margin-right: auto !important;
  margin-left: auto !important;
}

@media screen and (max-width: 1178px) {
  #name-filter > .fieldset-wrapper {
    min-height: 110px;
  }
}

@media screen and (max-width: 667px) {

#name-filter-text {
  width: 180px;
}

.tpr-image {
  float: left;
}

.tpr-details {
  display: inline;
}

}

@media screen and (max-width: 512px) {

#name-filter-text {
  width: 160px;
}

}
