
.splash {
  position: relative;
  padding-bottom: calc(var(--line-height-em)*3);
}

.splash__bg-image {
  width: 100%;
  height: 300px;
  background-image: url('splash.webp');
  background-size: cover;
  background-repeat: no-repeat;
}

.no-webp .splash__bg-image {
  width: 100%;
  height: 300px;
  background-image: url('splash.webp');
  background-size: cover;
  background-repeat: no-repeat;
}

.splash__overlapping {
  width: 40em;
  background: #fff;
  display: block;
  margin: calc(-var(--line-height-em)*6) auto;
  padding: var(--line-height-em) 2.5em var(--line-height-em) 2.5em;
}


.search-explanation {
  font-weight: 500;
  margin-bottom: calc(var(--line-height-em)* 2);
}

input.splash__search-input {
  font-size: var(--fs-large);
  margin-bottom: calc(var(--line-height-em)/2);
}

/* ------- filters TODO: break out to common -------- */

.filter--year-to {
  padding: 0 .5em;
  color: var(--muted);
  font-weight: var(--fw-book);
}

.filter__years {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.filter--type {
  width: 10em;
}

input.filter--year {
  max-width: 3.5em;
  padding: 0 .5em;
}

input.filter:focus {
  border-left: 0;
  border-right: 0;
  border-top: 0;
  border-bottom: 1px solid var(--bright-orange);
  background-color: transparent;
}

.filter__expanded {
  display: none;
  position: absolute;
  top: calc(var(--line-height-em)*4);
  padding: 1em var(--line-height-em);
  max-width: 400px;
  width: auto;
  max-height: 300px;
  overflow-y: auto;
  background: var(--white);
  box-shadow: 0 0 2px 2px rgba(30, 30, 30, .5);
}

input.filter--type {
  cursor: pointer;
  width: 14em;
  margin-bottom: 0;
}

input.filter--type {
  background-image: url('/static/components/assets/down-carat--burnt-orange.webp');
  background-size: 1em;
  background-repeat: no-repeat;
  background-position: right;
}

.no-webp input.filter--type {
  background-image: url('/static/components/assets/down-carat--burnt-orange.png');
}

.filter__action {
  position: relative;
}

@media all and (max-width:400px) {
  .filter__dropdown {
    width: 100%;
  }
}

/* ---- list of publication results ---- */

.search-results-summary {
  color: var(--muted);
}

.publications {
  padding-left: 0;
  margin-left: 0;
  list-style: none;
}

.publication {
  padding: calc(var(--line-height-em)/2) 0 calc(var(--line-height-em)/2) 0;
  border-bottom: 2px solid var(--block-gray);
  display: flex;
  justify-content: space-between;
}

.publication__info {
  width: 75%;
}

.publication__type {
  text-transform: uppercase;
  font-weight: var(--fw-light);
  margin-bottom: calc(var(--line-height-em)/2);
}

.publication__authors {
  color: var(--muted);
  font-weight: var(--fw-medium);
  margin-bottom: calc( (var(--line-height-em) + .125em) / 2 );
}

.publication__date {
  color: var(--muted);
  font-weight: var(--fw-book);
}


.publication__copy {
  margin-top: calc((var(--line-height-em) + .125em)/2);
}

.publication__copy-link {
  color: var(--extra-muted);
  text-decoration: none;
  font-weight: var(--fw-medium);
}

.publication__copy-link__icon {
  height: 1em;
  margin-bottom: .1em;
}

.publication__copy-link:hover {
  color: var(--muted);
  text-decoration: none;
}

.publication__copied-link {
  background: var(--yellow);
}

.fade-enter-active, .fade-leave-active {
  transition: opacity .5s;
}
.fade-enter, .fade-leave-to /* .fade-leave-active below version 2.1.8 */ {
  opacity: 0;
}

.publication__image-wrapper {
  max-height: calc(1.625*8em);
}

.publication__image {
  display: block;
  margin-right: 0;
  margin-left: auto;
  height: 100%;
}


/* ---- for faculty ----- */

.for-faculty {
  background: var(--white);
  border-top: 1px solid var(--burnt-orange);
  border-left: 1px solid var(--burnt-orange);
  border-bottom: 1px solid var(--burnt-orange);
  border-top-left-radius: 1px;
  border-bottom-left-radius: 1px;
  padding: var(--line-height-em);
  margin-top: var(--line-height-em);
  margin-bottom: var(--line-height-em);
  max-width: 20em;
  position: fixed;
  z-index: 1;
  right: 0;
}

@media screen and (max-width:63.9375em) {
  .for-faculty {
    position: relative;
    border-right: 1px solid var(--burnt-orange);
  }
}
