.table-label {
  margin-top: 0;
  margin-bottom: 0;
  font-size: 20px;
}

.path-webform .webform-submission-form > [id^=edit-actions] {
  float: right;
  width: 100px;
  margin-top: -56px;
}
.path-webform #search-block-form > [id^=edit-actions] > button {
  background-color: transparent !important;
  margin-top: 10px !important;
}
.path-webform section.row.region.region-header-form {
  height: 60px;
}
.path-webform [id^=edit-cancel-button] {
  width: 100px;
  margin-left: auto;
  margin-right: 140px;
}
.path-webform [id^=edit-cancel-button] > p > a:hover {
  background-color: #F5F5F6;
}
.path-webform [id^=edit-cancel-button] > p {
  height: 40px;
}
.path-webform [id^=edit-cancel-button] > p > a {
  height: 43px;
  padding: 8px 24px;
  border-radius: 4px;
}
.path-webform .webform-button--submit:hover {
  background-color: #A63D17 !important;
}

.path-trophies #edit-kill-description2--description i {
  font-size: 0.85rem;
}
.path-trophies .signature-button:hover {
  background-color: #A63D17;
}
.path-trophies .add-trophy-form-esignature, .path-trophies .add-trophy-form-hgh {
  background-color: white;
}
.path-trophies .cancel-button:hover {
  background-color: #F5F5F6;
}
.path-trophies th {
  position: relative;
  top: 0px !important;
}
.path-trophies a.page-link {
  background-color: transparent;
  border-radius: 0.375rem;
}
.path-trophies a.page-link:hover {
  background-color: #CDCFD4 !important;
}
.path-trophies .content nav {
  margin-top: 8px;
  margin-right: 30px;
  margin-left: 30px;
}

#main-animal-dropdown .js-form-item {
  display: flex;
  flex-direction: column;
}

.select2-container {
  font-family: "Inter", sans-serif;
  font-size: 14px;
}

div#main-animal-dropdown {
  padding-top: 25px;
}

span.select2-results, span.select2-search.select2-search--dropdown {
  color: black;
}

#kill-information-form, #location-details-form, #score-chart-form, #add-scorechart-form, #affiliations-form, #trophy-submit-form, #upload-documents-form, #upload-images-form {
  background-color: white;
  display: inline-grid;
  width: 100%;
}

.table-label-hr {
  margin-top: 0;
  margin-bottom: 0;
}

.table-borderless {
  border: 0;
}

.responsive-table {
  overflow-x: auto;
  color: black;
  background-color: #e5e7eb;
}

table {
  font-size: 14px;
  text-align: left;
  border-collapse: collapse;
  width: 100%;
}

table > thead > tr > th {
  padding: 8px;
}

table > tbody > tr > td {
  padding: 8px;
}

tr.odd {
  background-color: rgba(0, 32, 68, 0.4);
}

tr.even {
  background-color: rgba(0, 32, 68, 0.2);
}

/*Specific width for the container for the button*/
.btn-trophy {
  width: 90%;
}

.font-small {
  font-size: 14px;
}

.font-xs-small {
  font-size: 12px;
}

.clickable-row:hover {
  border-top: 2px solid #1A1A1A;
  border-bottom: 2px solid #1A1A1A;
  cursor: pointer;
}

.add-owner {
  background-color: #E6EFF8;
  display: none;
}

/* .clickable-row:focus td {
  background-color: #9ebfd9;
  color: white;
} */
.clickable-row:active td,
.clickable-row.clicked td {
  background-color: #E6EFF8;
}

/* .clickable-row {
  border-right: 1px solid #2A2B2F;
  border-left: 1px solid #2A2B2F;
} */
#search-results-wrapper {
  min-width: 100%;
  padding-top: 1rem;
}

.owner-to-add {
  display: flex;
  flex-direction: row;
  align-items: center;
  font-family: Inter;
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  padding-bottom: 1rem;
}

.owner-to-add svg {
  margin-right: 8px;
  height: 20px;
}

.second-svg {
  margin-left: 8px;
  cursor: pointer;
}

.js-form-item.js-form-type-textfield.form-type-textfield.js-form-item-search-box.form-item-search-box.form-no-label.mb-3 {
  position: relative;
}

.js-form-item.js-form-type-textfield.form-type-textfield.js-form-item-search-box.form-item-search-box.form-no-label.mb-3:before {
  height: 37px;
  content: "";
  position: absolute;
  left: 10px;
  top: 0px;
  bottom: 0;
  width: 20px;
  background: url("/themes/custom/bc/images/icons/search.svg") center/contain no-repeat;
}

input.search-input {
  padding-left: 35px;
}

#search-result-text {
  font-size: 12px;
  font-family: Inter;
  font-weight: 400;
  color: #1A1A1A;
  margin-right: 16px;
}

.table-wrapper {
  min-width: 100%;
  max-height: 25vh;
  overflow: auto;
  border-top-right-radius: 7px;
  border-top-left-radius: 7px;
  border-bottom: 1px solid #ABAFB5;
}

.search-result-table {
  width: 100%;
  /* Ensure the table takes up the full container width */
  border-collapse: collapse;
}

.search-result-table thead {
  background-color: #2A2B2F;
  color: white;
  text-transform: uppercase;
  font-family: Inter;
  font-weight: 600;
  font-size: 11px;
  position: sticky;
  top: -0.02px;
  border: 1px solid #2A2B2F;
  /* Keep the header row at the top of the container */
  z-index: 1;
  /* Ensure it's displayed above the table body when scrolling */
}

.search-result-table thead th {
  padding: 1rem;
  white-space: nowrap;
}

.first-column {
  border-top-left-radius: 5px;
}

.last-column {
  border-top-right-radius: 5px;
}

.search-result-table tbody td {
  padding-left: 1rem;
  font-size: 11px;
  font-family: Inter;
  font-weight: 400;
  color: #313131;
}

.search-result-table tbody tr {
  border-bottom: 1px solid #ABAFB5;
}

td.no-results-cell {
  text-align: center;
  padding-top: 2rem;
  padding-bottom: 2.5rem;
  background: #F3F7FC;
  border-bottom: 0px solid white;
}

td img {
  padding-top: 2rem;
}

.no-results-title {
  color: #1A1A1A;
  font-family: Inter;
  font-size: 1rem;
  font-style: normal;
  font-weight: 700;
  line-height: 3rem;
  letter-spacing: 0.015rem;
}

.form-item-hunter-is-owner {
  padding-top: 1rem;
}

.form-item-hunter-is-owner label, .fieldset-legend {
  font-family: Inter;
  font-size: 1rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1.5rem;
  letter-spacing: 0.015rem;
  color: #1A1A1A;
  text-transform: none;
}

.form-item-hunter-is-owner label {
  /*margin-left: -20px;*/
}

.form-item-youth-hunter label, .form-item-hunter-not-owner label {
  /*margin-left: -20px;*/
  text-transform: none;
}

.hunter-available legend .fieldset-legend, .form-item-youth-hunter label {
  font-family: Inter;
  font-weight: 400;
  margin-top: -8px;
  font-size: 14px;
  margin-top: 0px;
  text-transform: none;
}

.hunter-available legend {
  width: auto;
}

.form-item-hunter-is-owner label span, .form-item-youth-hunter label span {
  font-weight: 700;
}

.hunter-available {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-top: 0px;
}

#edit-hunter-available, .form-item-hunter-available {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-left: 8px;
}

.regular-radios .form-check-input, .regular-checkbox {
  -moz-box-shadow: none;
  box-shadow: none;
  width: 18px !important;
  height: 18px;
}

.regular-checkbox {
  border-radius: 4px !important;
  background-image: none !important;
}

.regular-checkbox:checked {
  background-image: url("/themes/custom/bc/images/icons/blue-check.svg") !important;
  background-repeat: no-repeat;
}

input#edit-hunter-available-yes, input#edit-hunter-available-no {
  --bs-form-switch-bg: white;
  background-color: white;
}

input#edit-hunter-available-yes:checked,
input#edit-hunter-available-no:checked {
  background-image: url("/themes/custom/bc/images/icons/blue-circle.svg");
  background-repeat: no-repeat;
  background-size: cover;
  transition: none;
}

.form-item-hunter-available label {
  font-size: 12px;
  font-weight: 400;
  padding-left: 8px;
  padding-right: 8px;
}

#hunter-wrapper {
  margin-top: -2rem;
  margin-bottom: 1rem;
}

#hunter-wrapper .fieldset-wrapper {
  display: flex;
  flex-direction: row;
  align-items: end;
  height: 58px;
}

#hunter-wrapper label {
  display: none;
}

#hunter-wrapper input {
  height: 2rem;
}

#hunter-wrapper .js-form-item {
  margin-right: 1rem;
  width: 57%;
}

#hunter-wrapper .js-form-item label {
  font-family: Inter;
  font-style: normal;
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  margin-bottom: 0px;
}

.add-hunter, .remove-hunter {
  margin-left: 8px;
  width: 2rem;
  height: 2rem;
  margin-bottom: 1rem;
  padding-right: 14px;
}

[id^=hunter-set-] {
  height: 58px;
}
