/*
Theme Name: The Pad Project
Description: This is a custom child theme for Salient
Theme URI:   https://themeforest.net/item/salient-responsive-multipurpose-theme/4363266
Author: ThemeNectar
Author URI:  https://themeforest.net/user/themenectar
Template: salient
Version: 1.0
*/


@font-face {
  font-family: 'Avenir-Book';
  src: url('Avenir-Book.eot') format('embedded-opentype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Avenir-BookOblique';
  src: url('Avenir-BookOblique.eot') format('embedded-opentype');
  font-weight: normal;
  font-style: italic;
}

@font-face {
  font-family: 'Avenir-Black';
  src: url('Avenir-Black.eot?#iefix') format('embedded-opentype'),  url('Avenir-Black.woff') format('woff'), url('Avenir-Black.ttf')  format('truetype'), url('Avenir-Black.svg#Avenir-Black') format('svg');
  font-weight: 600;
  font-style: normal;
}

.staff-member-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

@media screen and (max-width: 900px) {
  .staff-member-list {
    grid-template-columns: 1fr;
  }
}

.staff-member-card {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-bottom: 2rem;
  position: relative;
}

.staff-member-card .modaltrigger {
  all: unset;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  cursor: pointer;
}

.staff-member-card .staff-member-card__image {
  max-height: 150px;
  max-width: 150px;
  overflow: hidden;
  display: block;
  margin: 0;
}

.staff-member-card .staff-member-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.staff-member-card .staff-member-card__title {
    font-size: 18px !important;
    color: #E03A7C;
    text-transform: capitalize;
    line-height: 1 !important;
    margin-bottom: 1rem !important;
    font-family: 'neue-haas-unica', sans-serif;
    font-weight: 600;
}

.staff-member-card p {
  padding-bottom: 0;
  line-height: 20px;
  font-size: 16px;
}

.staff-member-popup {
  display: none;
}

.staff-member-list[data-category='advisory-council'] .staff-member-card .staff-member-card__title {
  font-size: 30px !important;
  color: #444;
  font-family: 'neue-haas-unica', sans-serif;
  font-weight: 600;
}

.staff-member-list[data-category='advisory-council'] .staff-member-card .staff-member-card__job {
  font-size: 14px !important;
  color: #E03A7C;
  font-family: 'neue-haas-unica', sans-serif;
  font-weight: 600;
}

.modal__overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
}

.modal__container {
    background-color: #fff;
    max-width: calc(100vw - 2rem);
    max-height: 80vh;
    overflow-y: auto;
    box-sizing: border-box;
    width: 850px;
}

.modal__title {
    margin-top: 0;
    margin-bottom: 0;
    box-sizing: border-box;
}

.modal__close {
    background: transparent;
    border: 0;
    position: absolute;
    top: 0;
    right: 0;
    line-height: 1;
    font-size: 1.5rem;
    padding: 0.75rem;
    color: black;
    transition: all 250ms ease-in-out;
}

.modal__close:hover {
  opacity: .5;
}

.modal__close:before {
  content: "\2715";
}


.modal__content p:last-of-type {
  margin-bottom: 0;
}

.modal__btn {
    padding-left: 1rem;
    padding-right: 1rem;
    padding-top: .5rem;
    padding-bottom: .5rem;
    border-radius: .25rem;
    border-style: none;
    border-width: 0;
    cursor: pointer;
    line-height: 1.15;
    margin: 0;
}

/**************************\
    Demo Animation Style
  \**************************/
  @keyframes mmfadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes mmfadeOut {
    from {
        opacity: 1;
    }

    to {
        opacity: 0;
    }
}

@keyframes mmslideIn {
    from {
        transform: translateY(15%);
    }

    to {
        transform: translateY(0);
    }
}

@keyframes mmslideOut {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-10%);
    }
}

.micromodal-slide {
    display: none;
}

.micromodal-slide.is-open {
    display: block;
}

.micromodal-slide[aria-hidden="false"] .modal__overlay {
    animation: mmfadeIn .3s cubic-bezier(0.0, 0.0, 0.2, 1);
}

.micromodal-slide[aria-hidden="false"] .modal__container {
    animation: mmslideIn .3s cubic-bezier(0, 0, .2, 1);
}

.micromodal-slide[aria-hidden="true"] .modal__overlay {
    animation: mmfadeOut .3s cubic-bezier(0.0, 0.0, 0.2, 1);
}

.micromodal-slide[aria-hidden="true"] .modal__container {
    animation: mmslideOut .3s cubic-bezier(0, 0, .2, 1);
}

.micromodal-slide .modal__container,
.micromodal-slide .modal__overlay {
    will-change: transform;
}

/* .staff-member-modal .content-wrapper {
      height: 100%;
      display: flex;
      align-items: stretch;
      flex-direction: column-reverse;
}
.staff-member-modal .content {
    padding: 2rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
} */

.staff-member-modal .modal__container {
  background: #f6eede;
}

.staff-member-modal h2 {
    font-size: 20px;
    line-height: 36px;
    color: #E03A7C;
    font-weight: 700;
}

.staff-member-modal p {
  font-size: 16px;
  font-weight: 400;
  line-height: 20px;
  color: #676767;
}

.staff-member-modal .modal__image img {
  width: 100% !important;
  max-width: 100%;
  height: auto;
}
.staff-member-modal .modal__content{
  padding: 40px 40px 20px 40px;
}

.staff-member-modal .content {
  display: grid;
  grid-template-columns: 60% 1fr;
}

@media screen and (max-width: 768px) {
  .staff-member-modal .content {
    grid-template-columns: 1fr;
  }
}

.staff-member-modal .modal__close {
  position: absolute;
  top: 0;
  right: 0;
  padding: 1rem;
}

.staff-member-modal .modal__social {
  font-size: 28px;
  display: flex;
  gap: 20px;
  margin-bottom: 1rem;
}