/* Homepage search box */

#thesis-homepage-search {
    background-color: #f5f5f5;
    border: 1px solid #e0e0e0;
    padding: 1.25em 1.5em;
    margin-bottom: 1.5em;
}

#thesis-homepage-search p {
    margin: 0 0 0.75em 0;
    font-style: italic;
    font-weight: bold;
}

#thesis-homepage-search form {
    display: flex;
    gap: 0.5em;
}

#thesis-homepage-search input[type="search"] {
    flex: 1;
    padding: 0.5em 0.75em;
    border: 1px solid #8A8A8A;
    font-size: 1em;
}

#thesis-homepage-search button[type="submit"] {
    padding: 0.5em 1.25em;
    background-color: #FF6E1E;
    color: #fff;
    border: none;
    font-size: 1em;
    cursor: pointer;
}

#thesis-homepage-search button[type="submit"]:hover {
    background-color: #c96310;
}

/* Homepage Thesis UL list a block */

#thesis-homepage-browse-list ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
}
  
#thesis-homepage-browse-list li {
    padding: 0.75em 0; 
    border-bottom: 1px solid #ccc;
}
  
/* Left column cells get a right border to create the vertical divider */
#thesis-homepage-browse-list li:nth-child(odd) {
    padding-right: 1.5em;
    border-right: 1px solid #ccc;
}
  
/* Right column cells get left padding to match */
#thesis-homepage-browse-list li:nth-child(even) {
    padding-left: 1.5em;
}
  
/* Remove bottom border from last-row items; ul border-bottom handles the full-width line */
#thesis-homepage-browse-list li:last-child,
#thesis-homepage-browse-list li:nth-last-child(2):nth-child(odd) {
    border-bottom: none;
}

/* The link (browse category name) is italic, displayed as block */
#thesis-homepage-browse-list li a {
    display: block;
    font-style: italic;
    margin-bottom: 0.3em;
}

/**
 * Screen reader and visual hidden elements
 */

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

