.component-search {
  background-image: none !important;
  background-color: transparent !important;
  padding-top: 0 !important;
}
.form-control-suggest input {
  background: none !important;
  border-radius: 0 !important;
}
.input-container-wrapper .input-container .sf-header-searchstudio-js .sf-form .btn {
  display: none;
}
.search-input-wrapper {
  width: 100% !important;
}
#searchstax-search-input {
  width: 100% !important;
}
.filter-header {
  font-size: 24px;
  margin-top: 30px;
  margin-bottom: 30px;
  color: #596781;
  line-height: 1.2;
}

/* Facet updates for custom checkboxes */
.list-group {
  padding-left: 0;
  list-style: none;
}

.custom-checkbox {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-family: sans-serif;
  font-size: 16px;
  line-height: 1.2;
  margin-bottom: 8px;
}

.custom-checkbox input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}
.custom-checkbox .checkmark {
  min-width: 18px;
  min-height: 18px;
  width: 18px;
  height: 18px;
  border: 1px solid #838aa0;
  margin-right: 10px;
  box-sizing: border-box;
  position: relative;
  flex-shrink: 0;
}

.custom-checkbox input:checked + .checkmark::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 1px;
  width: 6px;
  height: 12px;
  border: solid #838aa0;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.facet-list.sectionType_s {
  display: none;
}

/* Results templates */
.course-search-results .people .section-title {
  font-weight: bold;
}

.course-search-results {
  margin-top: 0;
  margin-bottom: 0;
}

.course-search-results li {
  border-bottom: none;
}

.section-description {
  margin-bottom: 20px !important;
}

.search-feedback-filters-custom {
  font-size: 15px;
}

.search-results-wrapper.row {
  margin-top: 0 !important;
}

.results-range {
  color: #08c3f4;
}

.search-results-summary-options-wrapper {
  display: flex;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.visually-hidden {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.sf-filter-actions-custom label {
  font-size: 15px;
}
.sf-filter-actions-wrapper label.ml-4.mr-2 {
  margin-left: 0 !important;
}

/* Pagination */
.pagination-wrap {
  padding-left: 0;
}
@media (min-width: 768px) and (max-width: 991.98px) {
  .paging-container {
    flex-wrap: nowrap !important;
    align-items: center; /* Optional: aligns items vertically */
  }

  .paging-container > .pagination-wrap {
    flex: 1 1 auto;
    width: auto;
    max-width: none;
  }

  .paging-container .pagination {
    flex-wrap: nowrap;
    white-space: nowrap;
  }
}
@media (max-width: 1023px) {
  .search-page .pagination li {
    width: 70px;
  }
}

/* Tabs */
.form-group {
  display: flex;
}

div#searchstax-search-input {
  width: 100%;
  border-right: none;
}

button#button-addon1 {
  border-left: none;
}

input#searchTerm {
  border-right: none;
}

button.t4-close-search.btn {
  display: block !important;
  position: absolute;
  top: 0;
  right: 0;
  z-index: 1;
  height: 100%;
  color: #00C0F3;
  font-size: 3rem;
  background: #fff;
  border-color: #E0E0E0;
  border-left: none;
  padding-right: 1rem;
}

div#searchTabs {
  display: flex;
  justify-content: space-between;
}

#searchTabs button {
  border-top-left-radius: .25rem;
  border-top-right-radius: .25rem;
  font-size: 18px;
  font-weight: bold;
  padding: 8px 0;
  text-transform: uppercase;
  color: #A9BFD8;
  border: none;
  border-bottom: solid 3px #A9BFD8;
  background: transparent;
}

#searchTabs button.active {
  background-color: #fff;
  border-color: #dee2e6 #dee2e6 #fff;
  font-weight: bold;
  color: #596781;
  border-bottom: solid 3px #FECE35;
  background: transparent;
  border-left: 0;
  border-right: none;
  border-top: none;
}

#searchTabs button:not(:disabled):hover {
  background-color: #fff;
  border-color: #dee2e6 #dee2e6 #fff;
  font-weight: bold;
  color: #596781;
  border-bottom: solid 3px #FECE35;
  background: transparent;
  border-left: 0;
  border-right: none;
  border-top: none;
}
.t4-search-container  .search-close-button {
  display: block !important;
}

.search-feedback-filters-wrapper .edit-button {
  display: none;
}

.t4-search-container.t4-show-results {
  padding: 0 0 40px;
}

.search-results-summary-options-wrapper {
  text-align: right;
  font-size: 20px;
  font-weight: 500;
  color: #6c757d !important;
}

.search-results-wrapper.row {
  margin-top: 36px;
}
.t4-search-container  .searchTab button span {
  margin-right: 5px;
}
.facet-container-wrapper.all-results.search-sidebar {
  display: none;
}

/*PSRR-24219*/
@media (max-width: 830px) {
  #searchTabs {
    /*display: block !important;*/
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: flex-start !important;
    width: 100%;
  }
  div.searchTab {
    margin: 0 20px 0 0;
  }
}
@media (max-width: 768px) {
  .search-results-summary-options-wrapper {
    display: block;
    width: 100%;
    text-align: left;
  }
  .sf-filter-actions-wrapper {
    margin-bottom: 1rem;
  }
  .sf-filter-actions-wrapper .form-inline,
  .sf-filter-actions-wrapper .justify-content-end {
    justify-content: flex-start !important;
  }
  .ml-4, .mx-4 {
    margin-left: 0 !important;
  }
}
/*/Tabs*/
#searchstax-search-results .list-wrapper {
	width: 100%;
}

/*Placeholder*/
.t4-search-placeholder, .search-loader {
	display: none;
}

.t4-search-placeholder {
    display: none;
    background: white;
    top: 125px;
    left: 0;
    z-index: 9999;
    width: 100%;
    height: 100%;
  	position: absolute;
}

.search-loader svg {
    animation-name: spin;
    animation-duration: 1000ms;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}
.search-loader svg {
    color: #596781;
    width: 3rem;
    height: 3rem;
}

@keyframes spin {
    from {
        transform:rotate(0deg);
    }
    to {
        transform:rotate(360deg);
    }
}

/*Results*/
.search-result {
    border-bottom: 1px solid #A9BFD8;
}

.search-result:first-child {
	border-top: 1px solid #A9BFD8;
}

.search-result a {
    display: block;
    padding: 25px 0;
    color: $color-brand-navy;
    width: 100%;
}
  
.search-result a:hover h3 {
  	color: #F05A8D;
}

/*No Results*/
.search-feedback-filters-custom.align-items-center.active {
  margin-top: 2rem;
  margin-bottom: 1rem;
  float: left;
  color: #212529;
  font-size: 1rem;
}

.sf-lists-custom.active {
  float: left;
  text-align: left;
  color: #212529;
  font-size: 1rem;
}
.search-results-wrapper.row.no-results .facet-container-wrapper {
  display: none;
}

.t4-search-page-wrapper, .t4-search-container {
  display: none;
}

.t4-show-results {
  display: block;
}

/* PSRR-24299 */
div.autosuggest__results ul {
  list-style-type: none;
  padding-left: 24px;
}

/* PSRR-24298 */
div.ispromoted h3, h3.promoted {
  color: #08c3f4;
  font-size: 30px;
  font-weight: 700;
}
div.card-searchstudio-js-text {
  color: #5A6781;
}
h3.promoted, .external-searches-container {
  margin-bottom: 20px;
}
