 /* //------------------------------------------------------
// BEGIN Longleaf Nexus Directory STYLES
// ------------------------------------------------------ */

/* signup pages */
.nexus-section-heading {
  font-style: italic;
  font-size: 18px;
  color: #5297CB;
  padding-top: 16px;
  padding-bottom: 5px;
  font-weight: bold;
  border-bottom: 2px solid #5297CB;
  margin-bottom: 5px;
  margin-top: 1rem;
}

.nexus-section-wrapper {
  background: #f4f8fb;
  padding: 15px;
  margin-top: -10px;
}

/* csutom modalJS styles to make z-index work */
.blocker {
    z-index: 5 !important;
}

.modal {
    z-index: 6 !important;
}

#directory_listings .dir-listing {
    text-align: center;
    margin-top: 40px;
    min-height: 280px;
    display: none;
}

#directory_listings .dir-listing.nx-filter-active {
  display: block;
}

#directory_listings .dir-listing img.profile-image {
    width: 150px;
    height: 150px;
    border-radius: 100%;
    margin: 0;
    margin-bottom: 20px;
    box-shadow: 0px 0px 20px 0px rgb(0 0 0 / 30%);
    object-fit: cover;
}

#directory_listings .dir-listing .profile-name {
    font-size: 1.1em;
    text-transform: uppercase;
    font-weight: 600;
    color: #5b5b5b;
    font-family: 'Lato', sans-serif;
}

#directory_listings .dir-listing .profile-location {
    font-size: 14px;
    padding: 0;
    margin: 0;
    line-height: 17px;
    color: #222;
    font-family: 'Lato', sans-serif;
}

.specific-state {
    display: none;
}

#directory_listings .dir-listing .profile-industry {
    font-size: 16px;
    padding: 0;
    margin: 0;
    line-height: 17px;
    color: #222;
    font-family: 'Lato', sans-serif;
}

.results_counter {
    margin-top: -2rem;
    font-style: italic;
    font-family: "Lato",sans-serif;
    color: #656565;
    font-size: 14px;
    text-align: right;
}

/* modal styles */
.modal.dir-listing-modal {
    padding: 2rem 2rem;
}

.modal.dir-listing-modal .fa.fa-fw.fa-graduation-cap {
    margin-right: 5px;
}

.dir-listing-modal img.profile-image {
    width: 170px;
    height: 170px;
    border-radius: 100%;
    margin: 0;
    margin-bottom: 20px;
    box-shadow: none;
    object-fit: cover;
}

.dir-listing-modal .profile-name {
    font-size: 1.1em;
    text-transform: uppercase;
    font-weight: 600;
    color: #5b5b5b;
    font-family: 'Lato', sans-serif;
    white-space: nowrap; /* added this to stop columns breaking, but may break if names are really long. */
 }

.dir-listing-modal .profile-location {
    font-family: 'Lato', sans-serif;
    font-size: 14px;
    color:#222;
}

.dir-listing-modal .profile-industry, .dir-listing-modal .profile-college {
    font-family: 'Lato', sans-serif;
    font-size: 14px;
    color:#222;
}

.dir-listing-modal p.profile-bio {
    margin-top: .5rem;
    /* margin-bottom: 3rem; */
    font-family: 'Lato', sans-serif;
    font-size: 16px;
    color:#222;
}

h3.message-heading {
    font-size: 16px;
    line-height: 1;
    /* margin-top: 10rem; */
}

input.messenger-submit {
    background: #5297CB;
    border: 1px solid #5297CB;
    text-transform: uppercase;
    padding: 10px 30px;
    color: #fff;
    border-radius: 0px!important;
    font-style: normal;
    float: right;
    cursor: pointer;
}

/* Updated Donation Page Styles for /donate */

.page-pages-show-donation-wide hr {
    margin-top: 15px;
    margin-bottom: 15px;
}

.page-pages-show-donation-wide .span12.cc {
    text-align: right;
}

.page-pages-show-donation-wide #donation_confirmation_amount {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    margin-top: .5rem;
}

.page-pages-show-donation-wide #donation_confirmation_amount .confirm_amount {
    margin-left: .5rem;
}

/* Special styles for custom PDF viewer pages -- eg /paideia-dolphin-editions */
.longleaf-pdf-embed .cover {
    height: 300px;
    width: 200px;
  }
  
  .longleaf-pdf-embed .books {
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: row;  
    justify-content: center;  
  }
  
  .longleaf-pdf-embed .button {
    display: flex;
    margin: auto;
    max-width: 150px;
    font-size: small;
  }
  
  /* The Modal (background) */
  .longleaf-pdf-embed .modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 999; /* Sit on top */
    left: 0;
    top: 0;
    max-width: unset;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
  }
  
  /* Modal Content/Box */
  .longleaf-pdf-embed .modal-content {
      background-color: #ffffff;
      padding: 20px;
      border: 1px solid #888;
      width: 60%;
      height: 90%;
      margin-top: 5%;
      margin-bottom: 5%;
      margin-left: auto;
      margin-right: auto;
      display: flex;
      border-radius: 10px;
  }
  
  .longleaf-pdf-embed .book {
    margin-left: auto;
    margin-right: auto;
  }
  
  .longleaf-pdf-embed .preview {
    display: flex;
    justify-content: center;
  }
   
  @media (max-width: 800px) {
    .longleaf-pdf-embed .books {
      flex-direction: column;
      text-align: center;
    }
  
    .longleaf-pdf-embed .preview {
      display: none;
    }
  }
  
  @media (min-width: 800px) {
    .longleaf-pdf-embed .download {
      display: none;
    }
  }
  
  .longleaf-pdf-embed .modal.longleaf-modal a.close-modal {
    top: 50px;
    right: 50px;
    display: block;
    width: 35px;
    height: 35px;
  }

#newsletterSignup input {
  margin-bottom: 0;
  height: 38px;
}

#newsletterSignup .button {
  padding: 8px;
  font-size: 16px;
  font-style: normal;
}

nav #newsletterSignup {
  margin: 0px 5px;
}

.popup-modal {
  position: relative;
  background: #FFF;
  padding: 20px;
  width: auto;
  max-width: 500px;
  margin: 20px auto;
}