
/* Popup buttons: pill shape like homepage CTAs */
.simple-popup-blocks-global .btn,
.simple-popup-blocks-global .popup-button,
.simple-popup-blocks-global .nwhm-popup-cta,
.simple-popup-blocks-global .nwhm-popup-submit {
  border-radius: 999px !important;
}

/* Popup buttons: match CTA typography */
.simple-popup-blocks-global .btn,
.simple-popup-blocks-global .popup-button,
.simple-popup-blocks-global .nwhm-popup-cta,
.simple-popup-blocks-global .nwhm-popup-submit {
  font-family: inherit;
  font-size: 16px;         /* matches .wh-hero__cta */
  font-weight: 700;        /* adjust if CTA is different */
  text-transform: uppercase;
  letter-spacing: 0.04em;  /* adjust if CTA is different */
}

@media (min-width: 1024px) {
  .simple-popup-blocks-global .btn,
  .simple-popup-blocks-global .popup-button,
  .simple-popup-blocks-global .nwhm-popup-cta,
  .simple-popup-blocks-global .nwhm-popup-submit {
    padding: 1.5rem 4.5rem;
    font-size: 16px;
  }
}

/* Timed Engagement: remove popup border/outline */
#spb-block-popuptimedengagement .spb-popup-main-wrapper,
#spb-block-popuptimedengagement .spb-popup-main-wrapper * {
  outline: none !important;
}

#spb-block-popuptimedengagement .spb-popup-main-wrapper {
  border: 0 !important;
}

/* Some themes add a border to the inner block/section */
#spb-block-popuptimedengagement section.block,
#spb-block-popuptimedengagement .block,
#spb-block-popuptimedengagement .field--name-body {
  border: 0 !important;
}

/* Popup wrapper background + default text color */
#spb-block-popuptimedengagement .spb-popup-main-wrapper {
  background: #FFCCFF !important;
  color: #1c1c1c !important;
}

/* Ensure body copy inherits the intended color */
#spb-block-popuptimedengagement,
#spb-block-popuptimedengagement p,
#spb-block-popuptimedengagement .field--name-body {
  color: #1c1c1c !important;
}

/* Title color (covers h2/h3 variations) */
#spb-block-popuptimedengagement h1,
#spb-block-popuptimedengagement h2,
#spb-block-popuptimedengagement h3,
#spb-block-popuptimedengagement .nwhm-popup-title {
  color: #2A24E4 !important;
}

/* Close “X” visibility on the lighter background */
#spb-block-popuptimedengagement .spb_close,
#spb-block-popuptimedengagement .spb-controls .spb_close {
  color: #1c1c1c !important;
  opacity: 1 !important;
}

/* ------------------------------------------------------------
   NWHM - Simple Popup Blocks newsletter popup (module version)
   Scoped so it only affects our new popup block content.
------------------------------------------------------------ */
.nwhm-popup-panel {
  padding: 0px !important;
  box-sizing: border-box;
}

/* Timed Engagement popup: match Welcome popup spacing */
#spb-block-popuptimedengagement .spb-popup-main-wrapper {
  box-sizing: border-box;
}


/* Global: increase popup inner spacing for all Simple Popup Blocks */
.simple-popup-blocks-global .spb-popup-main-wrapper {
  padding: 25px !important;
  box-sizing: border-box;
}

/* Global: add a small gap from the top for top-positioned popups */
.simple-popup-blocks-global .spb-popup-main-wrapper.spb_top_left,
.simple-popup-blocks-global .spb-popup-main-wrapper.spb_top_right,
.simple-popup-blocks-global .spb-popup-main-wrapper.spb_top_center,
.simple-popup-blocks-global .spb-popup-main-wrapper.spb_top_bar {
  top: 15px !important;
}


/* Force fixed width for the Exit popup when using Top center */
#spb-block-exitpopupsupportthemuseum .spb-popup-main-wrapper.spb_top_center {
  width: 600px !important;
  max-width: 600px !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
}

/* If the overlay container is forcing full width, constrain it too */
#spb-block-exitpopupsupportthemuseum .block-exitpopupsupportthemuseum-modal.spb_overlay {
  width: auto !important;
}

/* Exit popup wrapper background */
#spb-block-exitpopupsupportthemuseum .spb-popup-main-wrapper {
  background-color: #F32958 !important;
  color: #FFFFFF;
  border: 0;
}
/* EXIT POPUP: make the heading ("Before you go…") white */
#spb-block-exitpopupsupportthemuseum h2,
#spb-block-exitpopupsupportthemuseum .nwhm-popup-title {
  color: #ffffff !important;
}

/* Close/minimize controls visible on exit popup */
#spb-block-exitpopupsupportthemuseum .spb-controls,
#spb-block-exitpopupsupportthemuseum .spb_close {
  background: transparent !important;
  color: #FFFFFF !important;
  opacity: 1 !important;
}


/* Fix close button visibility for this popup */
#spb-block-welcomepopupdigitalofferings .spb-controls {
  background: transparent !important;
}

#spb-block-welcomepopupdigitalofferings .spb-controls .spb_close,
#spb-block-welcomepopupdigitalofferings .block-welcomepopupdigitalofferings-modal-close {
  color: #ffffff !important;
  font-weight: 700;
  font-size: 24px;
  line-height: 1;
  opacity: 1 !important;
}

/* Optional: make the clickable area clearer without a white box */
#spb-block-welcomepopupdigitalofferings .spb-controls .spb_close {
  padding: 6px 10px;
  cursor: pointer;
}

/* Optional hover so users can see it’s interactive */
#spb-block-welcomepopupdigitalofferings .spb-controls .spb_close:hover,
#spb-block-welcomepopupdigitalofferings .spb-controls .spb_close:focus {
  opacity: 0.85 !important;
}

#spb-block-welcomepopupdigitalofferings .spb-controls .spb_close {
  background: transparent !important;
}

/* Make the entire Simple Popup Blocks wrapper blue for this specific popup */
#spb-block-welcomepopupdigitalofferings .spb-popup-main-wrapper {
  background-color: #2f2be5;
  color: #ffffff;
  border: 0;
}

/* Close button area */
#spb-block-welcomepopupdigitalofferings .spb-controls {
  background-color: #2f2be5;
}

/* Make the X visible on blue */
#spb-block-welcomepopupdigitalofferings .spb_close {
  color: #ffffff;
  opacity: 1;
}

/* Remove the inner panel’s own background so you don't get “blue inside blue” */
#spb-block-welcomepopupdigitalofferings .nwhm-popup-panel {
  background: transparent;
  border: 0;
}

/* Optional: ensure text inside is white by default */
#spb-block-welcomepopupdigitalofferings .field--name-body {
  color: #ffffff;
}

.nwhm-popup--newsletter.nwhm-popup-panel {
  background-color: #2f2be5;        /* match legacy blue feel */
  color: #ffffff;
  padding: 5px;
  border: 1px solid #2f2be5;
  width: 90%;
  max-width: 500px;
}

.nwhm-popup--newsletter .nwhm-popup-title {
  margin: 0 0 12px 0;
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
}

.nwhm-popup--newsletter .nwhm-popup-row {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 10px;
}

.nwhm-popup--newsletter .nwhm-popup-email {
  flex: 1 1 auto;
  min-width: 200px; /* keeps old feel */
  color: #000;
}

/* Welcome popup: match email input height to the CTA button */
.simple-popup-blocks-global .nwhm-newsletter-form .nwhm-popup-row{
  display: flex;
  align-items: center;
  gap: 15px; /* optional spacing */
}

.simple-popup-blocks-global .nwhm-newsletter-form .nwhm-popup-email,
.simple-popup-blocks-global .nwhm-newsletter-form .nwhm-popup-submit{
  height: 56px;              /* adjust (52–60) to taste */
  box-sizing: border-box;
}

.simple-popup-blocks-global .nwhm-newsletter-form .nwhm-popup-email{
  padding: 0 18px;
  line-height: 56px;         /* helps keep placeholder vertically centered */
}

.simple-popup-blocks-global .nwhm-newsletter-form .nwhm-popup-submit{
  padding: 0 32px;           /* button width feel */
  line-height: 56px;
}

.simple-popup-blocks-global input[type="email"],
.simple-popup-blocks-global input[type="text"] {
  border-radius: 999px !important;
}


.nwhm-popup--newsletter .nwhm-popup-submit {
  flex: 0 0 auto;
}

/* Override the old teal button color for THIS popup only */
.nwhm-popup--newsletter .popup-button {
  background-color: #000000;
  border-color: #000000;
  color: #ffffff;
}

.nwhm-popup--newsletter .popup-button:hover,
.nwhm-popup--newsletter .popup-button:focus {
  background-color: #111111;
  border-color: #111111;
}

/* Options / notes */
.nwhm-popup--newsletter .nwhm-popup-option {
  display: block;
  margin-top: 10px;
  font-size: 16px;
  font-weight: 600;
}

.nwhm-popup--newsletter .nwhm-popup-option input[type="checkbox"] {
  margin-right: 6px;
}

.nwhm-popup--newsletter .nwhm-popup-option-note {
  font-size: 14px;
  margin: 4px 0 0 22px;
  font-weight: 400;
}

.nwhm-popup--newsletter .nwhm-popup-privacy {
  margin-top: 10px;
  font-size: 11px;
}


/* The Modal (background) */
.n-modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 10; /* Sit on top - slider buttons are 9*/
    left: 0;
    top: 0;
    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.6); /* Black w/ opacity */
}

/* Modal Content/Box */
.n-modal-content {
    background-color: #e94364;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #e94364;
    width: 90%;
    max-width: 500px;
    color: white;
}

/* The Close Button */
.close-b {
    color: white;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close-b:hover,
.close-b:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.popup-input {
    font-size: 16px;
    padding: 5px 10px;
    margin-right: 10px;
    min-width: 200px;
}

.popup-button {
    color: white;
    background-color: #286069;
    border-color: #286069;
}

.popup-comment {
    margin-top: 5px;
}

#dynamicContent form {
    text-align: center;
    padding-bottom: 20px;
}

.field--name-field-media-credit {
    text-align: left !important;
}

.field--name-field-caption-long {
    margin-top:10px;
}

.field--name-field-media-credit,
.field--name-field-caption-long {
    margin-left:10px;
    margin-right:10px;
    font-size: 14px !important;
}

.close-bK:hover {
    cursor: pointer;
}

.site-navigation nav>ul>li.open>ul>li.expanded {
    width: 270px;
}

.yellow-text {
    color:rgb(253,184,37);
}

.black-bg {
    background-color: black;
}

.field-image img {
    margin-top: 10px;
    padding-left: 10px;
    padding-right: 10px;
}

.content {
  padding-bottom: 20px;
}

#what-were-reading {
  padding: 20px;
  padding-bottom: 30px;
  margin: 10px;
  border-radius: 16px;
  background-color: #2191a180;
}

.tealy-bg {
  background-color: #2191a180;
}

.field-boxed-image {

}

.field-boxed-image img {
  height: 100px;
  width: 200px;
  object-fit: cover;
}

#what-were-reading a {
  font-size: 18px !important;
}

#upcoming-events {
  min-height: 506px;
}

#block-donatebutton .shop {
    border: none !important;
    position: absolute;
    top: 8px;
    right: 186px;
    z-index: 1000;
    width: auto !important;
    padding: 1px 15px 3px !important;
}

#block-donatebutton .join {
    border: none !important;
    position: absolute;
    top: 8px;
    right: 122px;
    z-index: 1000;
    width: auto !important;
    padding: 1px 15px 3px !important;
}

.page-node-type-exhibit .layout-main .container-fluid .content .item--paragraph--type--exhibit-resource .paragraph--type--exhibit-resource.alt-para-item-style-exhibit-1, .block-views-blockcontent-by-topic-block-block-1 article.card .content .field--type-image .page-node-type-exhibit .layout-main .container-fluid a .item--paragraph--type--exhibit-resource .paragraph--type--exhibit-resource.alt-para-item-style-exhibit-1, .page-node-type-exhibit .layout-main .container-fluid .content .item--paragraph--type--content .paragraph--type--content, .block-views-blockcontent-by-topic-block-block-1 article.card .content .field--type-image .page-node-type-exhibit .layout-main .container-fluid a .item--paragraph--type--content .paragraph--type--content {
    background-color: rgba(0,0,0,0) !important;
}

@media (min-width: 992px) {
    header.site-header>.container-full .page-header a.logo {
        width: 147px !important;
    }
}

@media screen and (max-width: 992px) {
  #upcoming-events {
    min-height: 0;
  }
}
