@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
li {
  font-family: 'Poppins', sans-serif;
}

body a {
  color: #0082CB;
  text-decoration: none;
}


body a:hover {
  color: black !important;
  text-decoration: none;
}

blockquote {
  position: relative;
  padding: 20px 20px 20px 40px;
  margin: 20px 0;
  background: #f9f9f9;
  border-left: 10px solid #ccc;
  font-style: italic;
  font-family: 'Georgia', serif;
  color: #555;
}

blockquote::before {
  content: "\201C";
  /* Unicode for left double quotation mark */
  font-size: 3em;
  color: #ccc;
  position: absolute;
  left: 10px;
  top: 10px;
}

blockquote p {
  display: inline;
}

cite {
  display: block;
  margin-top: 10px;
  text-align: right;
  color: #999;
  font-style: normal;
  font-family: 'Arial', sans-serif;
}

/* newsletter */

.signup-form-container {
  padding: 20px;
  max-width: 400px;
  width: 100%;
}

.signup-form-title {
  text-align: center;
  color: white;
  margin-bottom: 20px;
}

.signup-form-group {
  margin-bottom: 15px;
}

.signup-form-label {
  display: block;
  font-weight: bold;
  margin-bottom: -25px;
  padding-top: 15px;
}

.signup-form-asterisk {
  color: white;
}

.signup-form-email {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

.signup-form-button {
  width: 100%;
  padding: 10px;
  background-color: #01649B;
  border: none;
  border-radius: 4px;
  color: white;
  font-size: 22px;
  line-height: 1.5em;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.signup-form-button:hover {
  background-color: #0056b3;
}

/* Search */

/* .form-actions .button {
  background-color: #0085ca !important;
} */

#myBtn {
  display: none;
  position: fixed;
  bottom: 16px;
  right: 16px;
  z-index: 1000;
  font-size: 15px;
  border: solid 1px #eee;
  outline: none;
  background-color: #0085ca !important;
  color: white;
  cursor: pointer;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

.form-text {
  margin-top: 0;
  font-size: .875em;
  color: var(--bs-secondary-color);
}

.donate-block-row {
  padding: 20px 0 45px 0;
  height: 30px;
  background: #0085ca;
  text-align: center;
  border-radius: 20px;
}

/* Full-width background with centered fixed-width content */
.region-primary-menu {
  background-color: #231F20;
  width: 100%;
  display: flex;
  justify-content: center;
}

/* Fixed-width container for menu - exactly 862px to match hero image */
.region-primary-menu .container {
  width: 862px;
  max-width: 862px;
  padding: 0 !important;
  margin: 0 auto !important;
}

/* Reset other menu containers */
.navbar,
.navbar-collapse {
  padding: 0 !important;
  margin: 0 !important;
  width: 100%;
}

/* Match the hero image width exactly */
.field--name-field-hero-image {
  width: 862px;
  max-width: 862px;
  margin: 0 auto;
}

/* Style the menu items */
.navbar-nav {
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding: 0 !important;
  margin: 0 !important;
}

/* Fix padding on menu items */
.navbar-nav>li {
  padding: 0;
  margin: 0;
}

.donate-block-row a {
  color: #fff;
}

.donate-block-row a:hover {
  color: #000;
}

.donate-block-home {
  padding: 10px;
  text-align: center;
}

.donate-text {
  color: #fff;
  font-size: 16px;
}

.header .header-wrapper .header {
  text-align: right;
}

/* Remove this section as it's causing conflicts */

/* Direct fix for the Donate button in the navigation */
.header-top-wrapper li a[href*="donorbox.org"] {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 40px !important;
  background-color: #00659b !important;
  color: white !important;
  padding: 0 15px !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  width: auto !important;
  text-align: center !important;
}

.header .header-wrapper .header .search-block-form {
  display: inline-block;
}

#search-block-form {
  display: flex;
  align-items: center;
  margin: 0;
  height: 100%;
}

#search-block-form .form-item {
  margin: 0;
  padding: 0;
}

#search-block-form .form-search {
  height: 36px;
  padding: 0 10px;
  border-radius: 4px;
  border: 1px solid #ddd;
  margin-right: 5px;
}

#search-block-form .form-actions {
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
}

#search-block-form .search-form__submit {
  height: 36px;
  padding: 0 15px;
  border-radius: 4px;
  background-color: #0085ca;
  border: none;
  color: white;
  cursor: pointer;
}

#search-block-form .search-form__submit:hover {
  background-color: #00659b;
}

.biorepository-link a {
  font-size: 14px;
}

/* Main Hero */

/* Match height of left-hero and right-hero */


.hero-container .left-hero,
.hero-container .right-hero {
  display: flex;
  align-items: center;
}

.left-hero p,
.left-hero a {
  color: white;
  /* Set text color to white */
  text-align: center;
}

/* Optional: Add padding or margin as needed */
.left-hero {
  padding: 20px;
}

.hero-text p {
  font-size: 16px;
}

.carousel-caption {
  font-size: 22px;
  font-weight: bold;
}

/* Stay Informed */

.stay-informed-container {
  margin-bottom: 40px;
}

.stay-informed-container h2 {
  border-bottom: none;
  color: white;
  font-size: 22px;
}

.stay-informed {
  display: flex;
  align-items: center;
  background: #0085ca;
  margin: 0;
  text-align: center;
  /* padding: 20px; */
  color: #fff;
}

/* Stories */

.block-title {
  font-size: 24px;
  font-weight: bold;
  color: #231F20;
  border-bottom: solid 1px #ddd
}

.stories-title {
  background: #0085ca;
  padding: 3px;
  text-align: center;
}

.stories-title a {
  margin: 0 auto;
  color: #fff;
  font-weight: lighter;
}

.story-block-body {
  font-size: 14px;
  margin-top: 10px;
}

.card-body {
  padding: 0;
  position: relative;
  z-index: 2;
}

.card-title {
  /* background: #0085ca; */
  background: #000000;
  padding: 10px;
  margin-top: -8px;
  text-align: center;
}

.card-title a {
  color: #fff;
}

.primary-image img {
  border-radius: 10px;
}

.primary-image {
  background: #f3f2ed;
  padding: 10px;
  border-radius: 10px;
}


/* Header Menu */


.header-wrapper {
  margin: 24px 0 0 0;
}

.header-top-wrapper {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  background: #0082CB;
  margin-left: 0;
  margin-right: 0;
}

/* Mobile navigation alignment */

.header-top {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  float: right;
}

.header-top nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: flex-end;
}

.header-top nav ul li {
  margin-left: 15px;
}

@media (max-width: 768px) {

  /* Force the navigation to the right side */
  .header-top-wrapper {
    justify-content: flex-end !important;
  }

  /* Move the navigation to the right */
  .header-top {
    float: right !important;
    width: auto !important;
  }

  /* Ensure the navigation items stay together */
  .header-top nav {
    float: right !important;
  }

  /* Keep the Contact Us and Donate buttons together */
  .header-top nav ul {
    float: right !important;
  }
}

.header-top nav ul {
  display: flex;
  justify-content: flex-end;
}

.header-top nav a {
  color: #fff;
  font-size: 14px;
}

.header-top nav a:hover {
  color: #000;
}

.header-top nav ul li {
  padding: 0;
  display: flex;
  align-items: center;
}

.header-top nav ul li:last-child {
  background-color: #00659b;
}

/* Slideshow */

.slider-container {
  margin-top: 0;
}

/* Remove gray rectangle overlay from text */
.hero-text._none {
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  margin-top: 0 !important;
  padding: 0 !important;
}

/* Fix for Donate button alignment */
.header-top nav ul li:last-child a {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 40px !important;
  text-decoration: none !important;
  padding: 0 15px !important;
  box-sizing: border-box !important;
  background-color: #00659b !important;
  color: white !important;
}

#views-bootstrap-slideshow-block-1 img {
  height: 480px;
}

/* Main Navigation */

/* Fix for menu width to match hero image */
.dempo.primary-menu {
  /* width: 97.9% !important; */
  max-width: calc(1320px - var(--bs-gutter-x)) !important;
  margin-left: calc(var(--bs-gutter-x) * 0.5) !important;
  /* margin-right: calc(var(--bs-gutter-x) * 0.5) !important; */
  box-sizing: border-box !important;
  /* overflow: hidden !important; */
}

/* Ensure both menu and hero image have the same container */
.field--name-field-hero-image {
  width: 97.9% !important;
  max-width: 1200px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  display: block !important;
}

/* Make the menu match the hero image exactly */
.region-primary-menu {
  width: 100% !important;
  display: flex !important;
  justify-content: center !important;
}

/* Fix for larger screens */
/* @media (min-width: 1400px) {

  .field--name-field-hero-image,
  .dempo.primary-menu {
    max-width: 1140px !important;
    width: 1140px !important;
  }
} */

.dempo-navbar-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  padding-left: 20px;
  padding-right: 20px;
}

.bg-light {
  background-color: #0085ca;
}

/* Breadcrumb */

.breadcrumb {
  background: #0082CB;
  padding: 5px 0 5px 30px;
  margin-bottom: 0;
}

.breadcrumb a {
  color: #fff;
}

/* Title Block */

#block-dempo-custom-pagetitle {
  height: 140px;
  max-width: calc(1320px - var(--bs-gutter-x)) !important;
  margin: 0 auto 40px auto;
  padding: 5px 0 5px 30px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  background-image: url('images/title-header.png');
  background-size: cover;
}

#block-dempo-custom-pagetitle h1 {
  margin: 0;
  color: #fff;
}

#block-dempo-custom-pagetitle h1 span {
  display: inline-block;
  vertical-align: middle;
}

.page-title-block h1 span {
  display: block;
  /* Ensures vertical centering */
}


.article-title {
  margin-left: 10px;
}

.field-category a {
  font-size: 11px;
}

/* Press Release */

.posted-on {
  padding-left: 11px;
  padding-bottom: 20px;
  font-size: 12px;
}

.field--name-field-related-file .field__label {
  background: #00659b;
  padding: 5px;
  color: #fff;
}

.field--name-field-related-content .field__label {
  background: #00659b;
  padding: 5px;
  color: #fff;
}

.field--name-field-website-url .field__label {
  background: #00659b;
  padding: 5px;
  color: #fff;
}

.content-category-list a {
  padding: 0px 8px 0 0;
  display: block;
  margin-bottom: 8px;
}

/* Press Release Archive */

.block-field-blocknodepress-releasebody {
  margin-top: 20px;
}

/* Featured Story */

.featured-story-container {
  background: #016499;
  margin: 40px auto 40px auto;

}

.featured-story {
  position: relative;
}

.featured-story img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.featured-story-title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  padding-left: 25px;
  padding-right: 10px;
  font-size: 24px;
  font-weight: bold;
  color: white;
}

.news-featured-left-right {
  padding: 20px 10px;
}

.news-featured-left-right p {
  color: white;
  font-size: 14px;
}

.news-featured-left-right h3 {
  font-size: 20px;
  color: white;
}

.left-feature-title {
  color: white;
  font-size: 22px;
  margin-bottom: 10px;
}

.right-featured-text p {
  font-size: 12px;
}

.worth-knowing {
  background: #0082CB;
  text-align: center;
  margin: -40px 0 auto;
  padding-top: 20px;
}

.worth-knowing a {
  color: #fff;
  margin: 0;
  padding: 0;
}

.featured-story-title a {
  color: white;
}

/* Footer */

footer,
footer.footer,
.footer {
  background: #0082CB !important;
  color: white !important;
}

.footer_wrapper,
footer .footer_wrapper,
.footer .footer_wrapper {
  background: #0082CB !important;
  color: white !important;
}

.footer_wrapper span,
.footer_wrapper p,
.footer_wrapper div,
.footer_wrapper a,
.footer_wrapper h1,
.footer_wrapper h2,
.footer_wrapper h3,
.footer_wrapper h4,
.footer_wrapper h5,
.footer_wrapper h6 {
  color: white !important;
}

.footer-line {
  background: #01649B !important;
  margin-bottom: 5px;
  min-height: 10px;
}

.footer_bot-wrapper,
footer .footer_bot-wrapper,
.footer .footer_bot-wrapper {
  background: #01649B !important;
  color: white !important;
}

.copyright-text,
.footer .copyright-text,
footer .copyright-text {
  color: white !important;
  font-size: 14px;
}

.copyright-text a {
  color: white;
}

/* Define variables for social icons configuration */
:root {
  --social-icon-container-size: 128px;
  --social-icon-size: 64px;
  --social-icon-gap: 20px;
  --social-icon-color: #0082CB;
  --social-icon-hover-color: #01649B;
}

/* Social Media Icons - Configuration Guide
 * Main adjustable properties are now CSS variables:
 * --social-icon-container-size: Size of the circular containers
 * --social-icon-size: Size of the icons inside containers
 * --social-icon-gap: Space between icons
 * --social-icon-color: Default background color
 * --social-icon-hover-color: Background color on hover
 */

.social-icons {
  display: flex;
  /* Space between each social icon */
  gap: var(--social-icon-gap);
  justify-content: center;
  align-items: center;
  margin: 20px 0;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  /* Container dimensions - controls the size of the circular background */
  width: var(--social-icon-container-size);
  height: var(--social-icon-container-size);
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s ease;
  /* Default background color for all icons */
  background-color: var(--social-icon-color);
}

/* Size for both Font Awesome icons and custom SVGs */
.social-icons a i,
.social-icons a svg {
  font-size: var(--social-icon-size);
  color: #fff;
  fill: #fff;
}

.social-icons a:hover {
  transform: translateY(-2px);
  /* Darker blue on hover */
  background-color: var(--social-icon-hover-color);
}

/* SVG specific styling to ensure consistent sizing */
.social-icons svg {
  width: var(--social-icon-size);
  height: var(--social-icon-size);
}

/* Ensure SVG paths are white */
.social-icons svg path {
  fill: #fff;
}

/* Specific size for Font Awesome icons to match SVGs */
.social-icons .fab {
  font-size: var(--social-icon-size);
}
