@charset "UTF-8";
.hidden {
  display: none !important;
}

#fessSearchForm {
  margin-bottom: 1.5rem;
}

#searchForm {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  align-items: center;
}

#searchQuery {
  flex: 1;
  min-width: 200px;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  border: 2px solid #ddd;
  border-radius: 6px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
#searchQuery:focus {
  outline: none;
  border-color: #0078d4;
  box-shadow: 0 0 0 3px rgba(0, 120, 212, 0.15);
}

#fessSearchButton {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: white;
  background-color: #0078d4;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.1s ease;
}
#fessSearchButton:hover {
  background-color: #005a9e;
}
#fessSearchButton:active {
  transform: scale(0.98);
}
#fessSearchButton:disabled {
  background-color: #999;
  cursor: not-allowed;
}

#subheader {
  margin-bottom: 1rem;
  padding: 0.75rem 1rem;
  background-color: #f8f9fa;
  border-radius: 6px;
  font-size: 0.95rem;
  color: #333;
}

#result ol {
  padding-left: 0;
  margin: 0;
  list-style: none;
}
#result > ol > li {
  padding: 1.25rem;
  margin-bottom: 1rem;
  background: white;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  list-style: none;
  transition: box-shadow 0.2s ease;
  overflow: hidden;
}
#result > ol > li:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
#result .title {
  margin: 0 0 0.75rem 0;
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.3;
}
#result .title a {
  color: #0078d4;
  text-decoration: none;
  transition: color 0.2s ease;
}
#result .title a:hover {
  color: #005a9e;
  text-decoration: underline;
}
#result .thumbnail {
  float: right;
  margin-left: 1rem;
  margin-bottom: 0.5rem;
}
#result .thumbnail img {
  width: 120px;
  height: 80px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid #e5e5e5;
}
#result .body {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #444;
}
#result .body cite {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: #666;
  font-style: normal;
}
#result .body cite::before {
  content: "— ";
}

#pageInfo {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid #e5e5e5;
}
#pageInfo .page-number {
  font-weight: 500;
  color: #333;
}
#pageInfo a {
  padding: 0.5rem 1rem;
  color: #0078d4;
  text-decoration: none;
  font-weight: 500;
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  transition: all 0.2s ease;
}
#pageInfo a:hover {
  background-color: #0078d4;
  color: white;
  border-color: #0078d4;
}

#searchLabels,
#searchFileTypes {
  margin-bottom: 1rem;
  padding: 1rem;
  background-color: #f8f9fa;
  border-radius: 6px;
}

#searchLabels h2,
#searchFileTypes h2,
#searchDate h2 {
  margin: 0 0 0.75rem 0;
  font-size: 1rem;
  font-weight: 600;
  color: #333;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

#labelList,
#fileTypeList {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.filter-item {
  display: inline-block;
  padding: 0.4rem 0.8rem;
  background: #414141;
  color: white;
  border-radius: 20px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.1s ease;
}
.filter-item:hover {
  background: #5a5a5a;
}
.filter-item.active {
  background: #0078d4;
}
.filter-item.hidden {
  display: none;
}

.clear-filter {
  cursor: pointer;
  margin-left: 0.5rem;
  color: #dc3545;
  font-size: 0.85rem;
  font-weight: 500;
  transition: color 0.2s ease;
}
.clear-filter:hover {
  color: #a71d2a;
  text-decoration: underline;
}

#searchDate {
  margin-bottom: 1rem;
  padding: 1rem;
  background-color: #f8f9fa;
  border-radius: 6px;
}
#searchDate label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #333;
}

#searchDateFilter {
  padding: 0.5rem;
  font-size: 0.95rem;
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  background: white;
  cursor: pointer;
}
#searchDateFilter:focus {
  outline: none;
  border-color: #0078d4;
}

@media (max-width: 600px) {
  #searchForm {
    flex-direction: column;
  }
  #searchQuery {
    width: 100%;
  }
  #fessSearchButton {
    width: 100%;
  }
  #result .thumbnail {
    float: none;
    margin-left: 0;
    margin-bottom: 0.75rem;
  }
  #result .thumbnail img {
    width: 100%;
    height: auto;
    max-width: 200px;
  }
}
/* Suggest-words autocomplete dropdown */
#searchForm {
  position: relative;
}

.fess-suggest-words {
  position: absolute;
  top: calc(100% + 2px);
  right: 0;
  left: 0;
  z-index: 1050;
  max-height: 20rem;
  margin: 0;
  padding: 0;
  overflow-y: auto;
  list-style: none;
  background: white;
  border: 1px solid #ddd;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.fess-suggest-words li {
  padding: 0.6rem 1rem;
  font-size: 0.95rem;
  color: #333;
  cursor: pointer;
}
.fess-suggest-words li + li {
  border-top: 1px solid #f0f0f0;
}
.fess-suggest-words li.active, .fess-suggest-words li:hover {
  color: white;
  background-color: #0078d4;
}

/*# sourceMappingURL=fess.css.map */
