/* TLSUN site search: header entry + results page. */
.tlsun-search-entry { position: relative; display: inline-block; vertical-align: middle; }
.tlsun-search-entry .tlsun-search-toggle { cursor: pointer; }
.tlsun-search-entry .icon-search4:before, .tlsun-search .icon-search4:before { content: "\e7b2"; }
.tlsun-search-pop {
  display: none; position: absolute; top: 100%; right: -10px; z-index: 1000; margin-top: 8px;
  padding: 10px; background: #fff; border-radius: 4px; box-shadow: 0 4px 16px rgba(0, 0, 0, .18); white-space: nowrap;
}
.tlsun-search-entry.is-open .tlsun-search-pop { display: block; }
.tlsun-search-pop input {
  width: 240px; height: 34px; padding: 0 10px; border: 1px solid #ccc; border-right: 0; border-radius: 4px 0 0 4px;
  font-size: 14px; color: #333; outline: none; vertical-align: middle; box-sizing: border-box;
}
.tlsun-search-pop input:focus { border-color: #163a88; }
.tlsun-search-pop button, .tlsun-search-form button {
  height: 34px; padding: 0 16px; border: 0; border-radius: 0 4px 4px 0; background: #163a88; color: #fff;
  font-size: 14px; cursor: pointer; vertical-align: middle;
}
.tlsun-search-pop button:hover, .tlsun-search-form button:hover { background: #d92929; }

.tlsun-search { max-width: 1200px; margin: 0 auto; padding: 40px 20px 60px; box-sizing: border-box; color: #333; font-size: 14px; }
.tlsun-search-form { display: flex; max-width: 720px; margin: 0 auto 28px; }
.tlsun-search-form input {
  flex: 1; min-width: 0; height: 46px; padding: 0 14px; border: 1px solid #ccc; border-right: 0; border-radius: 4px 0 0 4px;
  font-size: 16px; color: #333; outline: none; box-sizing: border-box;
}
.tlsun-search-form input:focus { border-color: #163a88; }
.tlsun-search-form button { height: 46px; padding: 0 28px; font-size: 16px; }
.tlsun-search-tabs { border-bottom: 1px solid #e5e5e5; margin-bottom: 16px; }
.tlsun-search-tabs a {
  display: inline-block; padding: 10px 16px; margin-bottom: -1px; color: #555; text-decoration: none; border-bottom: 2px solid transparent;
}
.tlsun-search-tabs a span { color: #999; font-size: 12px; }
.tlsun-search-tabs a.is-active, .tlsun-search-tabs a:hover { color: #163a88; border-bottom-color: #163a88; }
.tlsun-search-status { margin: 8px 0 16px; color: #666; line-height: 1.8; }
.tlsun-search-status strong { color: #d92929; font-weight: normal; }
.tlsun-search-none { font-size: 16px; color: #333; }
.tlsun-search-browse { display: inline-block; margin-top: 8px; padding: 8px 20px; background: #163a88; color: #fff !important; border-radius: 4px; text-decoration: none; }
.tlsun-search-results { list-style: none; margin: 0; padding: 0; }
.tlsun-search-item { display: flex; padding: 18px 0; border-bottom: 1px solid #f0f0f0; }
.tlsun-search-thumb { flex: none; width: 120px; height: 90px; margin-right: 18px; border: 1px solid #eee; border-radius: 4px; overflow: hidden; background: #fafafa; }
.tlsun-search-thumb img { display: block; width: 100%; height: 100%; object-fit: contain; }
.tlsun-search-body { flex: 1; min-width: 0; }
.tlsun-search-title { display: inline-block; font-size: 17px; color: #163a88; text-decoration: none; line-height: 1.5; }
.tlsun-search-title:hover { color: #d92929; text-decoration: underline; }
.tlsun-search-meta { margin: 4px 0 6px; color: #999; font-size: 12px; }
.tlsun-search-snippet { margin: 0; color: #555; line-height: 1.7; word-break: break-all; }
.tlsun-search mark { background: #fff1a8; color: inherit; padding: 0 1px; }
.tlsun-search-pages { padding: 24px 0 0; text-align: center; clear: both; }
.tlsun-search-pages a {
  display: inline-block; margin: 0 3px 6px; padding: 0 14px; line-height: 34px; border: 1px solid #e5e5e5;
  border-radius: 2px; color: #666; text-decoration: none; background: #fff;
}
.tlsun-search-pages a[href]:hover { color: #163a88; border-color: #163a88; }
.tlsun-search-pages a.page-num-current { background: #163a88; border-color: #163a88; color: #fff; }
@media (max-width: 767px) {
  .tlsun-search { padding: 24px 12px 40px; }
  .tlsun-search-form input, .tlsun-search-form button { height: 40px; font-size: 15px; }
  .tlsun-search-form button { padding: 0 16px; }
  .tlsun-search-thumb { width: 84px; height: 64px; margin-right: 12px; }
  .tlsun-search-title { font-size: 15px; }
  .tlsun-search-tabs { white-space: nowrap; overflow-x: auto; }
}
