/*
Mobile First Stylings
*/
.panel-bg {
  -webkit-filter: grayscale(0%);
  filter: grayscale(0%);
}
.panel-overlay {
    background-color: inherit;
    transition: .25s;
}

.thumbnail-image {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-position: center;
  object-fit: cover;
}

.pg-caption {
  margin-top: 0.75rem;
}

.card-subtitle {
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
}

.flyout-nav .flyout-nav-link {
  font-size: 1.125rem;
}

.flyout-nav-item {
  margin-bottom: 0.25rem;
}

/*
Cut off first line of text in "the lates frist page"
*/
.collection-item-body {
  width: 576px;
  display: block;
  height: 160px;
  white-space: inherit;
  overflow: hidden;
  text-overflow:ellipsis;

}

.alert-wrapper {
  background-color: #ffc728;
  color: #000;
}

.alert-container {
  padding: 1.5rem 0;
}

.alert-container a {
  text-decoration: underline;
  color: #75777a;
  font-weight: 600;
}

.alert-container a:hover {
  color: #c1440b;
}

.alert-button {
  color: #333;
  position: absolute;
  right: 1rem;
  top: 0.25rem;
  font-size: 1.5rem;
}

.main-nav-item {
  font-size: 1rem;
}

.main-nav-link {
  text-transform: none;
}

.header-right-top {
  display: flex;
  align-items: center;
  justify-content: end;
}

.header-search-container {
  margin-left: 1rem;
  min-width: 300px;
}

/*
larger screen phones
https://material.io/devices/
*/

@media screen and (max-width: 767px) {
  .header-container {
    display: block;
    height: 114px;
  }
  
  .header-left {
    padding: 0.5rem 0 0;
  }
  
  .header-search-container {
    width: 100%;
  }
  
}

@media screen and (min-width: 411px) {

}

/*
iPad Vertical
*/
@media screen and (min-width: 768px) {
  .header-right-top {
    padding-right: 80px;
  }
}

/*
 iPad Horizontal
*/
@media screen and (min-width: 1024px) {
    
}

/*
 Widescreen: desktop nav is shown
*/
@media screen and (min-width: 1192px) {
  .header-right-top {
    padding-right: 0;
  }
}

.notifications-modal.modal .modal-content {
  max-width: 800px;
  padding: 1rem;
}
