/***************************************************************************/
/***************************************************************************/
/****  S E C T I O N S  :  G A L L E R I E S  ******************************/
/***************************************************************************/
/***************************************************************************/

body.galleries .page_content_section .page_head {
  /*background-image: url(../../../../sites/default/files/images/sections/4B0A2708-26k-cb4f11.jpg);*/
  /*background-image: url(../../../../sites/default/files/images/sections/4B0A2978-26kcb4f11.jpg);*/
  background-image: url(../../../../sites/default/files/images/sections/4B0A2306-26k-cb4f11.jpg);
}

.galleries .galleries_walling.stack_row .stack_items .stack_item,
.galleries .galleries_walling.stack_row .stack_items .stack_item .stack_image,
.galleries .galleries_smith.stack_row .stack_items .stack_item,
.galleries .galleries_smith.stack_row .stack_items .stack_item .stack_image {
  height: calc(100vw / 3);
  background-color: #111;
}

.student_gallery_preview,
.faculty_gallery_preview {
  display: grid;
  grid-template-columns: 37.5fr 62.5fr;
  max-height: 40vh;
  margin-bottom: 120px;
}

.faculty_gallery_preview {
  direction: rtl;
}

.faculty_gallery_preview .view_item_head {
  background-color: var(--color_app_orange);
}

.faculty_gallery_preview .view_item_head a {
  border-left: 10px solid var(--color_app_gold);
}

.galleries .view_item > span.img_info,
.galleries .view_item > span.name_first,
.galleries .view_item > span.name_last {
  font-family: "azo-sans-web", sans-serif;
  font-weight: 600;
  font-size: 12px;
  line-height: 20px;
  color: #ccc;
  text-transform: uppercase;
  letter-spacing: 3px;
  text-align: center;
  display: block;
}

.galleries .view_item span.name_first,
.galleries .view_item span.name_last {
  letter-spacing: 3px;
  display: inline-block;
  padding-bottom: 20px;
  font-weight: 300;
  font-size: 12px;
}

.gallery_selection_item span.name_first::after {
  content: "\2008";
}

@media screen and (max-width: 820px) {
  .galleries .view_item {
    min-height: unset;
  }

  .student_gallery_preview,
  .faculty_gallery_preview {
    grid-template-columns: repeat(2, 1fr);
    max-height: fit-content;
    margin: 0;
  }

  .view_item_head span {
    font-size: 3.2rem;
    line-height: 3.3rem;
  }

  .galleries .view_item > span.img_info,
  .galleries .view_item > span.name_first,
  .galleries .view_item > span.name_last {
    font-size: 0.8rem;
    line-height: 1.4rem;
    letter-spacing: 2px;
  }

  .view_item_head a {
    font-size: 0.8rem;
    line-height: 1rem;
    margin-top: 1.5rem;
    padding: 7px 14px;
    letter-spacing: 2px;
    border-left: 10px solid var(--color_app_orange);
  }
}

@media screen and (max-width: 640px) {
  .galleries .view_item {
    /*min-height: 25vh;*/
    min-height: unset;
  }

  .student_gallery_preview,
  .faculty_gallery_preview {
    grid-template-columns: 1fr;
    max-height: fit-content;
    margin: 0;
  }
}

.faculty_gallery_preview .view_item {
  direction: ltr !important;
}

.gallery_selection_item span.img_info {
  display: block;
  margin-top: 0.5rem;
  font-weight: 700;
  padding: 0 60px;
}

@media screen and (max-width: 768px) {
  .galleries .galleries_smith.stack_row .stack_items,
  .galleries .galleries_walling.stack_row .stack_items {
    grid-template-columns: 1fr;
    grid-gap: 0;
  }

  .galleries .galleries_smith.stack_row .stack_items .stack_item,
  .galleries .galleries_walling.stack_row .stack_items .stack_item {
    height: auto;
  }
  .galleries .galleries_smith.stack_row .stack_items .stack_item .stack_image,
  .galleries .galleries_walling.stack_row .stack_items .stack_item .stack_image {
    height: 40vh;
  }

  .galleries .galleries_walling.stack_row .stack_items .stack_item:last-child {
    padding: 0 6.25% 20px;
  }

  .galleries .galleries_smith.stack_row .stack_items .stack_item:first-child {
    order: 2;
    padding: 0 6.25% 20px;
  }
  .galleries .galleries_smith.stack_row .stack_items .stack_item:last-child {
    order: 1;
  }
}

.cards.section_cards {
  padding-top: 5vw;
  padding-bottom: 0;
}

.cards.section_cards .stack_items .stack_item a {
  margin-left: 30px;
  text-align: left;
  max-width: unset;
  width: calc(100% - 90px);
}

.cards.section_cards .stack_items {
  grid-template-columns: repeat(3, 1fr);
  margin: 10vw 0 10vw 0;
}
.cards.section_cards .stack_items:first-of-type {
  margin-top: 10vw;
  margin-bottom: 10vw;
}
.cards.section_cards .stack_items:last-of-type {
  margin-bottom: 10vh;
}

@media screen and (max-width: 1280px) {
  .cards.section_cards .stack_items {
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 5vh;
  }

  .cards.section_cards .stack_items:first-of-type,
  .cards.section_cards .stack_items:last-of-type {
    margin-top: 0;
    margin-bottom: 10vh;
  }

  .galleries .cards.section_cards .stack_items .stack_item:nth-child(1) {
    grid-column: 1/2;
    grid-row: 2;
  }
  .galleries .cards.section_cards .stack_items .stack_item:nth-child(2) {
    grid-column: 2/3;
    grid-row: 2;
  }
  .galleries .cards.section_cards .stack_items .stack_item:nth-child(3) {
    grid-column: 1/3;
    grid-row: 1;
  }
}

@media screen and (max-width: 820px) {
  .cards.section_cards {
    margin-top: 10vh;
  }
  .cards.section_cards .stack_items {
    grid-template-columns: 1fr;
    grid-gap: 10vh;
  }
  
  .galleries .cards.section_cards .stack_items .stack_item:nth-child(1) {
    grid-column: 1;
    grid-row: 2;
  }
  .galleries .cards.section_cards .stack_items .stack_item:nth-child(2) {
    grid-column: 1;
    grid-row: 3;
  }
  .galleries .cards.section_cards .stack_items .stack_item:nth-child(3) {
    grid-column: 1;
    grid-row: 1;
  }
  
  .cards.section_cards .stack_items .stack_item span {
    font-size: 1.5rem;
    line-height: 1.7rem;
    margin-top: 10px;
  }
  .cards.section_cards .stack_items .stack_item span.subhead {
    font-size: 0.7rem;
    line-height: 1.2rem;
    letter-spacing: 1px;
  }
}
