.media {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 25px;
  border: 2px solid lightgray;
  border-radius: 10px;
  overflow: hidden;
}

.mediaBlogCategory {
  color: #b4975b;
  text-transform: uppercase;
  font-size: 15px;
  margin: 0;
}

.mediaTitle {
  margin: 10px 0 !important;
  text-align: center;
}

.mediaBody {
  padding: 15px;
  display: flex;
  flex-direction: column;
  text-align: center;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
}

.mediaBody p {
  margin-bottom: 0;
}

.mediaBody a {
  text-decoration: none;
}

.mediaBody p a {
  word-break: break-all;
}

.media a {
  text-decoration: none;
  width:100%;
}

.mediaPhoto {
  height: 300px;
}

.mediaPhoto img {
  object-fit:cover;
  object-position: top;
  height:100%!important;
  width:100%;
}

.mediaFooter p {
  color: gray;
  margin: 2rem 0 0 0 !important;
  font-style: italic;
  font-size: 15px;
  text-align: left;
}

.mediaFooter .divider {
  color: #e4b646;
  font-style: normal;
}

#noResults {
  width: 100%;
  text-align: center;
}

#backToTop {
  width: 100%;
  text-align: center;
  padding-top: 8rem;
}

#backToTop span {
  cursor: pointer;
  color: black;
}

#backToTop span:hover {
  text-decoration: underline;
}

select,
input {
  padding: 10px;
  font-size: 1em;
}

#mediaButtons {
  display: flex;
  flex-direction: column;
  margin-bottom: 25px;
}

#filter-category option {
  font-family: Poppins;
}

.hidden {
  display: none;
}

@media (min-width: 481px) {
  #mediaButtons {
    flex-direction: row;
    gap: 15px;
  }

  .mediaBody p a {
    word-break: normal;
  }
}

/* Datepicker overrides */

.vdp-datepicker input {
  width: 100%;
}

.vdp-datepicker__calendar-button {
  top: 25%;
  right: 8px;
}

.vdp-datepicker__clear-button {
  top: 50%;
  right: 30px;
}
