/***************************************************************************/
/***************************************************************************/
/****  G A L L E R Y  ******************************************************/
/***************************************************************************/
/***************************************************************************/

.gallery {
  margin: 0 auto;
  /*margin-top: 140px;*/
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-gap: 30px;
  padding-bottom: 180px;
}

.gallery .pager {
  grid-row: 4;
  grid-column: 2/12;
}

.gallery h2,
.directory-page .page_content h2 {
  grid-row: 1;
  grid-column: 2/12;
}

.gallery_thumbs {
  grid-row: 3;
  grid-column: 2/12;
  column-count: 5;
  /*column-gap: 60px;*/
  column-gap: 4vw;
}

.gallery_thumbs > div {
  margin-bottom: 4vw;
}

.pswp__scroll-wrap, .pswp__bg, .pswp__container, .pswp__item, .pswp__content, .pswp__img, .pswp__zoom-wrap  {
  background-color: black;
}
/*.pswp img {*/
  /*padding: 5vw;*/
/*}*/

/* For remote-video slides, ensure the slide area leaves room */
.pswp__remote-video-container {
  padding-bottom: 3.5rem;
  position: relative;
}

.pswp__dynamic-caption,
.pswp__video-caption {
  color: #ccc !important;
  font-family: azo-sans-web, sans-serif;
  font-weight: 500;
  letter-spacing: 3px;
  font-size: 14px;
  line-height: 22px;
  text-transform: uppercase;
  text-align: center;
  position: relative;
}

.pswp__dynamic-caption--on-hor-edge {
  display: none;
}

.pswp__dynamic-caption span.caption_name,
.pswp__video-caption span.caption_name {
  font-weight: 300 !important;
  font-size: 12px !important;
}

#gallery.gallery_thumbs.pswp-gallery div > a > span.caption,
#gallery.gallery_thumbs.pswp-gallery div > a > span.caption_name {
  display: none;
}

.pswp__dynamic-caption--below {
  max-width: unset !important;
  padding: 20px 0 40px 0 !important;
}

.pswp__remote-video-container {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column; 
  align-items: center;
  justify-content: center;
}

.pswp__remote-video-container iframe {
  width: 80%;
  display: block;
  max-width: 960px;
}

.pswp__video-caption {
  margin-top: 1rem;
  text-align: center;
  position: static;
}

.video_thumb {
  position: relative;
  display: inline-block;
}

.video_thumb a {
  position: relative;
  display: inline-block;
}

/* Play icon overlay */
.video_thumb a::after {
  content: "\f04b"; /* Font Awesome play icon */
  font-family: "Font Awesome 6 Free";  
  font-weight: 900;

  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  font-size: 2.0rem;
  color: white;
  opacity: 0.8;
  text-shadow: 0 0 10px rgba(0,0,0,0.6);
  pointer-events: none; 
  transition: 0.3s;
}

.gallery_thumbs > div > a img,
.video_thumb a img {
  transition: 0.3s;
}

.gallery_thumbs > div > a:hover img,
.video_thumb a:hover img {
  transform: scale(1.1);
}

.video_thumb a:hover::after {
  color: var(--color_app_gold);
  opacity: 1.0;
  font-size: 2.5rem;
}

@media only screen and (max-width: 1024px) {
  .gallery_thumbs {
    column-count: 4;
  }
}

@media only screen and (max-width: 768px) {
  .gallery_thumbs {
    column-count: 3;
  }
}
@media only screen and (max-width: 640px) {
  .gallery_thumbs {
    column-count: 2;
  }
  .pswp__dynamic-caption {
    font-size: 12px;
    line-height: 19px;
  }
  .pswp__dynamic-caption span.caption_name {
    font-size: 9px;
    line-height: 16px;
  }
}
@media only screen and (max-width: 480px) {
  .gallery_thumbs {
    column-count: 1;
  }
  .gallery_thumbs > div {
    margin-bottom: 40px;
  }
}

/***************************************************************************/
/***************************************************************************/
/****  K I C K E R  ********************************************************/
/***************************************************************************/
/***************************************************************************/

span.kicker {
  display: block;
  grid-row: 1;
  grid-column: 2/12;
  margin-bottom: 64px;
}

/*span.kicker,*/
span.kicker a,
span.kicker a:link,
span.kicker a:visited,
.the_news h2,
.the_news .news_article > h2,
.gallery h2 {
  font-family: study, serif;
  text-transform: capitalize;
  font-size: 4rem;
  line-height: 4.1rem;
  font-style: italic;
  font-weight: 600;
  letter-spacing: -1px;
  text-decoration: none !important;
  color: #aaa;
  position: relative;

  transition: color 0.3s ease;

  margin: 0;
  padding-bottom: 5px;
  padding-top: 5px;
  padding-left: 15px;
  display: inline-block;

  border-left: 20px solid var(--color_app_orange);
}

span.kicker a::after {
  background-color: var(--color_app_orange);
  /*bottom: 5px;*/
  left: -35px;
  bottom: 0;
  left: -20px;
  content: "";
  display: block;
  height: 5px;
  position: absolute;
  width: 0;
  transition: all 0.4s ease;
}

/*span.kicker:hover a {*/
/*color: #222;*/
/*}*/

span.kicker:hover a::after {
  width: calc(100% + 35px);
}

@media only screen and (max-width: 640px) {
  span.kicker a,
  span.kicker a:link,
  span.kicker a:visited,
  .the_news h2,
  .the_news .news_article > h2,
  .gallery h2 {
    font-size: 2rem;
    line-height: 2.1rem;
    padding-left: 10px;
    border-left: 10px solid var(--color_app_orange);
  }
}

/***************************************************************************/
/***************************************************************************/
/****  V I E W S  **********************************************************/
/***************************************************************************/
/***************************************************************************/

.kicker {
  display: block;
  grid-row: 1;
  grid-column: 2 / 12;
}

.filters {
  width: 100%;
  grid-row: 2;
  grid-column: 2/10;
  margin-top: 40px;
}

.filters label,
.filters select,
.filters input {
  font-family: azo-sans-web, sans-serif;
  font-weight: 400;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 1rem;
  line-height: 1.4rem;
  margin-bottom: 10px;
}
.filters label {
  font-weight: 700;
  margin-right: 10px;
  color: #222;
  line-height: 1.4rem;
}

.filters select {
  text-transform: none;
  letter-spacing: 0;
  margin-right: 20px;
  color: #333;
}

.filters input {
  font-size: 0.9rem;
}

.filters form div.js-form-item.form-item {
  float: left;
}

#edit-submit-gallery-student-page,
#edit-submit-gallery-faculty-page {
  clear: inline-start;
  display: block;
  float: left;
  margin-right: 20px;
  margin-top: 10px;
}
#edit-reset.form-submit {
  float: left;
  margin-top: 10px;
}

nav.pager {
  width: 100%;
  margin-top: 60px;
  text-align: center;
}
nav.pager ul {
  display: inline-block;
}
nav.pager li,
nav.pager li.pager__item {
  float: left;
  border: 1px solid #ccc;
  box-sizing: border-box;
  margin-right: -1px;
  /*display: block;*/
  /*vertical-align: middle;*/
  /*position: relative;*/
  display: flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 10px;
}

nav.pager li a,
nav.pager li a:visited,
nav.pager li.pager__item a,
nav.pager li.pager__item a:visited {
  letter-spacing: 1px;
  text-transform: lowercase;
  font-variant: all-small-caps;
  font-size: 24px;
  /*line-height: 24px;*/
  color: #777;
  text-decoration: none;
  transition: all 1.5s ease;
}
nav.pager li a:hover,
nav.pager lipager__item a:hover {
  background-color: var(--color_app_orange);
  color: white;
}

nav.pager ul li.pager__item pager__item--ellipsis {
  padding: 10px !important;
}

@media only screen and (max-width: 768px) {
  .filters {
    margin-top: 0;
  }

  .filters label,
  .filters select,
  .filters input {
    font-family: azo-sans-web, sans-serif;
    font-weight: 400;
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.8rem;
    margin-bottom: 10px;
  }
  .filters .js-form-submit.form-submit {
    margin: 0;
    clear: both;
    display: block;
  }
}
@media only screen and (max-width: 480px) {
  .directory_list .filters {
    margin-left: 20px;
  }
  .directory_list .filters label,
  .directory_list .filters select,
  .directory_list .filters input {
    font-size: 12px;
    display: block;
  }

  .filters .js-form-submit.form-submit {
    margin-left: 0;
    clear: both;
  }
  .filters .js-form-submit.form-reset {
    margin-left: 20px;
  }

  nav.pager li {
    font-size: 12px;
  }
}
