#search_input_holder {
    text-align:left;
    margin: 40px auto 20px auto;
    clear:both;
    width: 100%;
}

#search_input_holder h1 {
    font-size: 36px; color: #c00;
    vertical-align: middle;
}
#q {
    height:40px;
    font-size:24px;
    color: #c00;
    vertical-align:middle;
    margin-bottom: 20px;
}

#site_search_button {
    font-size:22px;
    vertical-align:middle;
}

#search_results_header {
    background-color:#D5DDF3;
    border-top:1px solid blue;
}

/* # */
#search_results_header p {
    text-align:right;
    padding: 5px;
    font-size:13px;
}

/* # */
#search_results {
    width:auto;
    margin: 0 auto 0 auto;
}
#search_right {
    float:right;
    width: 0px;
    padding-left: 20px;
}
.searchresult {
    margin-top:20px;
    margin-bottom:20px;
}

.searchresult_title {
    font-size:16px;
    font-weight:normal;
    margin:0px;
    padding:0px;
}

.search_result_table td { vertical-align: middle;}
a.search_result_img { display: block; float: left; margin-right: 10px; }
.search_result_img img { max-height: 100px; width: auto; }

.searchresult_desc {
    font-weight:normal;
    margin:0px;
    padding:0px;
}
.searchresult_addr {
    font-weight:normal;
    margin:0px;
    padding:0px;
    color:green;
    font-size:10px;
}

/* # */

#no_search_results h3 {
    color:#444444;
    font-weight:bold;
    text-align:center;
    font-size:22px;
}

hr.search { border: none; height: 1px; background: #ccc; }

.search_content_wrapper {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 20px;
}

.search_content_wrapper.stacked {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.search_result_img img {
  max-width: 100%;
  height: auto;
  max-height: 200px;
}

.searchresult:hover {
  background-color: rgba(0, 0, 0, 0.05); /* light transparent gray */
}
/* Keep text color same on hover */
.searchresult:hover .searchresult_title,
.searchresult:hover .searchresult_desc,
.searchresult:hover .searchresult_addr {
  color: inherit;
}

.searchresult {
  display: block;
  margin-top: 20px;
  margin-bottom: 20px;
  padding: 10px;
  transition: background-color 0.2s ease;
}

.searchresult:hover {
  background-color: rgba(200, 200, 200, 0.2); /* Light transparent gray */
  cursor: pointer;
}

#search_input_holder {
  text-align: center;
  margin: 40px auto 20px auto;
  width: 100%;
}

#search_input_holder input[type="text"] {
  font-size: 20px;
  padding: 8px;
  width: 400px;
  max-width: 90%;
}

#site_search_button {
  font-size: 18px;
  padding: 8px 16px;
  margin-left: 8px;
}

#search_results {
  max-width: 1200px;
  margin: 0 auto;
}

#site_search_pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin: 30px 0;
}

#site_search_pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 30px 0;
  flex-wrap: wrap;
}

#site_search_pagination a,
#site_search_pagination span {
  display: inline-block;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  font-size: 16px;
  font-weight: bold;
  background-color: #ccc;
  color: #000;
  border-radius: 6px;
  text-decoration: none;
  user-select: none;
  transition: background 0.2s;
}

#site_search_pagination a:hover {
  background-color: #999;
}

#site_search_pagination .active {
  background-color: #f33;
  color: #fff;
}