/*
 Theme Name:   Stowe Child for Extension Publications
 Description:  Developed by the UConn DXG For UConn Extension
 Author:       Joel Salisbury - https://dxgroup.core.uconn.edu
 Template:     cornerstone
 Version:      1.0.4
*/
@import url(../beecher-stowe/css/bs-color-husky-blue.css);
@import url(../beecher-stowe/css/bs-font-compressed.css);



#publication-list li {
  margin-bottom: 30px;
  padding-bottom: 10px;
}

.publication-reference li {
  margin-bottom: 10px;
}



.filters {
  margin: 20px 0px;
}

#publication-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, 100%);
  justify-content: space-between;
}

.publication-block {
  border-bottom: 6px solid #3B833F;
  box-shadow: 0 4px 7px 0px rgba(0, 0, 0, .15);
  width: 100%;
}

.publication-block a {
  color: #000 !important;
  text-decoration: none !important;
}

.publication-block img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  margin-bottom: 20px;
}

.publication-block h2 {
  font-weight: 600;
  font-size: 24px;
  padding: 5px 20px 0px 20px;
  margin-bottom: 5px;
}

.publication-block p {
  margin: 0px 20px 20px 20px;
}

.publication-label span {
  color: #fff;
  background-color: #3B833F;
  font-weight: 600;
  padding-left: -50px !important;
  padding: 2px 5px;
}

.publication-cover-img {
  object-fit: cover;
}

.figure img {
  object-fit: contain;
  padding-top: 20px;
  width: 100%;
}

.publication-figure {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  grid-gap: 10px;
  text-align: center;
}

/* CUSTOM CHECKBOXES /*
  /* The container */
.checkbox-contain {
  display: block;
  position: relative;
  padding-left: 30px;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  margin-bottom: 2px;
}

/* Hide the browser's default checkbox */
.checkbox-contain input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* Create a custom checkbox */
.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 20px;
  width: 20px;
  background-color: #e0e0e0;
}

/* On mouse-over, add a grey background color */
.checkbox-contain:hover input~.checkmark {
  background-color: #3B833F;
}

/* When the checkbox is checked, add a blue background */
.checkbox-contain input:checked~.checkmark {
  background-color: #3B833F;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the checkmark when checked */
.checkbox-contain input:checked~.checkmark:after {
  display: block;
}

/* Style the checkmark/indicator */
.checkbox-contain .checkmark:after {
  left: 8px;
  top: 3px;
  width: 5px;
  height: 12px;
  border: solid white;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}

@media screen and (min-width: 960px) {
  #publication-list li {
    margin-bottom: 5%;
  }

  #publication-list {
    grid-template-columns: repeat(auto-fill, 32%);
  }

  .filters {
    position: sticky;
    top: 20px;
    min-width: 200px;
    height: max-content;
  }

  .filter-pub {
    display: flex;
    position: sticky;
    top: 45px;
  }

  #publication-list {
    margin-top: 20px;
    margin-left: 20px;
  }
}

.publication-block {
  position: relative;
}

.publication-block .pdf-icon {
  position: absolute;
  top: 0px;
  right: 0px;
  padding: 10px;
  color: red;
  background-color: rgba(255, 255, 255, 0.7);
  padding: 5px;
  font-size: 32px;
}



.pagination {
  margin-right: 50px;
  margin-bottom: 50px;
  margin-top: 50px;
  width: 100%;
  display: flex;
  justify-content: flex-end;
}

.pagination .page-numbers {
  color: #000;
  padding: 5px 5px;
  margin-right: 5px;
  font-weight: 600;
}


#expub_hero {
  color: #fff;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background-size: cover;
}


#expub_hero .hero__content {
  position: relative;
  z-index: 1;
}

#expub_hero .hero__title {
  font-size: 2rem;
  margin-bottom: 0;
}

#expub_hero .hero__author {
  font-size: 1.5rem;
  margin-top: 0;
}
