/* Main css file for site: search. */

/* Import the Foundation Grid */
@import url(/css/foundation-grid.css);

/* Directory search form - found on /search/index.asp */
#directory input[type="text"] {
  padding: 0 1.5rem;
}

/* Main site search form - found on /search/index.asp */
#topsearch {
  margin-bottom: 2rem;
}

#topsearch .search-form-row {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

#topsearch input[type="search"] {
  width: 100%;
  height: 60px;
  margin-bottom: 2rem;
  padding: 0 1.5rem;
  border: 1px solid #54585a;
  font-size: 1.8rem;
  outline-offset: 0;
}

#topsearch input[type="submit"] {
  /* min-width: 175px; */
  height: 60px;
}

@media only screen and (max-width: 992px) {
  #topsearch .search-form-row {
    display: block;
  }

  #topsearch input[type="search"] {
    margin-bottom: 1rem;
  }

  #topsearch input[type="submit"] {
    width: 100%;
  }
}

#topsearch:focus,
#topsearch:focus-within,
#topsearch .gsc-control-cse:focus,
#topsearch .gsc-control-cse:focus-within,
#topsearch .gsc-search-box:focus,
#topsearch .gsc-search-box:focus-within,
#topsearch table:focus,
#topsearch table:focus-within {
  outline: none;
  box-shadow: none;
}

/* Google Custom Search Engine Customizations */
.page-content .gsc-wrapper {
  max-width: 950px;
}

.page-content .gsc-orderby-label, .page-content .gsc-result-info, .page-content .gsc-results .gsc-cursor .gsc-cursor-page {
  color: #54585a;
  font-size: 1.5rem
}

.page-content .gsc-results .gsc-cursor-box .gsc-cursor-current-page {
  color: #000;
  /* font-size: 1.5rem */
}

.page-content .gs-web-image-box .gs-image {
  max-width: 120px;
  max-height: 240px;
}

/* The meta desc text - it is Arial in the GCSE settings */
.page-content .gs-snippet {
  /* padding-left: 130px; */
  font-family: "Milo", serif;
  font-size: 2rem;
  line-height: 1.25;
}

/* Changed to Source Sans Pro 260515 */
.page-content .gs-webResult.gs-result a.gs-title:link, .page-content .gsc-control-cse .gs-result .gs-title * {
  /* font-family: "League Gothic", sans-serif; */
  font-family: "Source Sans Pro", sans-serif;
  font-size: 3.25rem;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.25;
  /* letter-spacing: -0.63px; */
  text-transform: none;
  margin-bottom: 2.5rem; 
  color: #c8102e;
}

.page-content .gs-title:hover {
  text-decoration:  underline solid #c8102e;
  color: #c8102e;
}

.page-content a.gs-title:hover, .page-content a.gs-title:active, .page-content a.gs-title:focus {
  text-decoration: underline solid #c8102e;
  color: #c8102e;
}

.page-content .gs-webResult.gs-result .gs-visibleUrl-long {
  font-size: 15.5px;
  padding-left: 2px;
  color: #54585a;
}

.page-content .gs-webResult.gs-result .gs-snippet {
  padding-left: 3px;
}

.page-content .gsc-result-info, .page-content table tbody tr td.gsc-result-info-container, .page-content table tbody tr th.gsc-result-info-container {
  padding-left: 2px;
}

.page-content .gsc-webResult.gsc-result {
  padding: 20px 0;
}

.page-content .gs-visibleUrl, .page-content .gs-visibleUrl-long {
  padding-bottom: 2px;
}

/* For the names in the new module for the directory */
.page-content .title-header a, .page-content .title-header a:hover, .page-content .title-header a:active, .page-content .title-header a:visited {
  color: #fff;
}

/* Keep profileImages in the Directory to 300px, thanks to Ricky Tan for the idea */
img.profileImage {
  max-width: 300px;
  height: auto;
}

/* Building Access Hours table styles - /includes/search/include-building-access-hours.php */
table.hours tbody tr:nth-child(even) {
  background: #fff;
}

table.hours tbody td[rowspan] {
  vertical-align: middle;
}

.table-bordered.hours td {
  border: 1px solid #000;
}

.table-bordered.hours th {
  border: 1px solid #000;
  border-bottom: 2px solid #000;
}