/*Brand*/
:root {
  --darker-blue: #003863;
  --dark-blue: #0069a8;
  --bright-blue: #008fcf;
  --light-blue: #83b5e3;
  --yellow: #fece0d;
}

/* Font */

h1,h2,h3,h4,h5,h6{
  font-family: Helvetica,sans-serif;
}

h1{
  font-size: 48px;
  line-height: 54px;
  font-weight: 700;
}

h2{
  font-size: 30.6px;
  line-height: 38px;
  font-weight: 700;
  color: var(--darker-blue);
}

h3{
  font-size: 22.1px;
  line-height: 27.2px;
  color: var(--darker-blue);
}

p {
  font-family: 'Open Sans',sans-serif;
  color: #676767;
  font-size: 16px;
}

a{
  text-decoration: none;
  color: var(--bright-blue);
}

/* Buttons */

.btn-primary{
  border-radius: 50px; 
  border: 0px;
  background-color: var(--darker-blue); 
  color: white;
  padding-left: 20px; 
  padding-right: 20px; 
  font-weight: 500;
}

.btn-primary:hover {
  background-color: var(--dark-blue); 
}

.btn-secondary{
  border-radius: 50px; 
  border: 0px;
  font-weight: 500;

}

.btn-impact{
  background-color: rgb(32, 136, 32);
}


.btn-follow-scroll {
  position: fixed;
  bottom: 50%;
  right: 20px;
  background-color: #FFA500;
  color: black;
}

.btn-follow-scroll:hover {
  background-color: #e69500; /* Optional: A hover effect */
  color: white; /* Optional: Change text color on hover */
}

.btn-follow-scroll:disabled {
  opacity: 0.5; /* Optional: Visual indicator for disabled button */
  cursor: not-allowed; /* Optional: Change cursor when disabled */
}

.btn-follow-scroll.hidden {
  display: none; /* Hides the button */
}

.btn-warning{
  font-weight: 500;
  color: var(--darker-blue);
}
/* Images */

.footer-brand{
  max-width: 150px;
  padding-bottom: 20px;}
  
  .topic-image{
    max-width:400px;
  }

/* Styles */
.container-fluid{
  --bs-gutter-x: 0rem !important;
}

footer a{
color: lightgray;
}

.row {
  display: flex;
  align-items: stretch; /* Make columns the same height */
}

.dropdown{
  margin-right:20px;
}

.nav-link {
  font-family: Helvetica,sans-serif;
  text-transform: capitalize;
  font-weight: 700;
  color:  var(--darker-blue);
}

.card-title{
font-weight: 600;
color: var(--darker-blue);
}

.card:hover{
box-shadow: 0 10px 20px rgba(0,0,0,.12), 0 4px 8px rgba(0,0,0,.06);
}

.topic-card:hover{
  transform: scale(1.05);
}

.info-badge{
 font-size: 14px;
 border-left: 3px solid var(--bright-blue);
 padding-left: 15px;
 font-weight: bold;
}

.bullet-list{
  margin-left: 5rem;
}

.form-check-label{
  cursor:pointer;
  color: var(--bright-blue);
}

.unsupported-file-type{
  color: red; 
  font-weight: bold;
}

.btn{
  border-radius: 20px!important;
}

.pBorder{
  border: 1px solid #0038634d;
  border-radius: 20px;
  padding: 30px;
  margin-top: 50px;
  margin-bottom:20px;
}

#card-details-parent{
  display:flex
}

#uploaded-by-holder{
  margin-left: auto;
  margin-right: 0;
}

.paragraph-heading{
  font-weight: bold;
}

.top-description{
  padding-top:12px;
}

.tall-list{
  height: 200px;
}

#id_file + .helptext {
  color: #ff0000;
  font-size: 14px;
  margin-top: 10px;
}
.banner-no-margin{
  margin-top:0rem !important
}

.mid-list{
  margin-right:0px
}

.slider-container {
  width: 300px;
  position: relative;
  height: 50px; /* Adjust the height to accommodate both sliders */
}

/* Base slider styling */
.slider {
  -webkit-appearance: none;
  appearance: none;
  width: 90%;
  height: 10px;
  background: #6c757d;
  outline: none;
  position: absolute;
  top: 20px;
  left: 5%
}

/* Styling the thumb of the min-range slider */
.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  background: #6c757d;
  cursor: pointer;
  border-radius: 50%;
  z-index: 2;
}

.slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  background: #6c757d;
  cursor: pointer;
  border-radius: 50%;
  z-index: 2;
}

.age-filter-holder{
  display:flex
}

/* Max range slider's thumb styling */
#max-range::-webkit-slider-thumb {
  background: #6c757d;
}

#max-range::-moz-range-thumb {
  background: #6c757d;
}

/* Add overlap shadow to keep the thumb always visible */
.slider-container input[type="range"] {
  pointer-events: none;
}

.slider-container input[type="range"]::-webkit-slider-thumb {
  pointer-events: all;
  position: relative;
}

/* Adjust position so sliders appear on top of each other */
#min-range {
  z-index: 3;
}

#max-range {
  z-index: 2;
}

/* Make the sliders more distinguishable visually */
.slider-values {
  display: flex;
  justify-content: space-between;
}

.age-filter{
  margin-left:auto
}

.age-filter-text{
  color: black;
  font-family: Helvetica,sans-serif;
}

.hidden{
  display:none
}

.form-bod-checkbox{
  color: black;
  font-family: 'Open Sans',sans-serif;
}

.search_entry, .accepted-document-formats, #id_terms_and_conditions {
  font-family: 'Open Sans',sans-serif;
}

.bold-highlight{
  font-weight: 700;
}

table, th, td {
  border:1px solid black;
  font-family: 'Open Sans',sans-serif;
  padding: 10px;
}

table {
  margin-bottom: 20px;
}

/*Science Stories*/
.custom-pill {
  background-color: rgba(249, 207, 37, 0.15);
  color: #000;
  padding: 0.5rem 1rem;
  border-radius: 50rem;
  display: inline-block;
  font-weight: 600;
  }
  .objectives ul li {
 position: relative;
 padding-left: 2rem;
 margin-bottom: 2rem;
 list-style: none;
}

.objectives ul li::before {
 content: "\e65b";
 font-family: "Font Awesome 6 Pro";
 font-weight: 900;
 color: #133762;
 position: absolute;
 left: 0;
 top: 0.1rem;
}

.no-bullets ul {
 list-style: none;
 padding-left: 0;
 margin-left: 0;
}

.no-bullets ul li {
   margin-bottom: 0.5rem;
 list-style: none;
}

.team-info li:first-of-type {
  font-size: 1.25rem;
  margin-bottom: .5rem;
  line-height: 1.2;
  font-weight: bold;
  color: var(--darker-blue);
}
.team-info li:nth-of-type(2) {
  
  margin-bottom: .5rem;
  line-height: 1.2;

  color: var(--bright-blue);
}

.fixed-image-wrapper {
   width: 100%;
   max-width: 500px; /* or any width you want */
   height: 300px;     /* fixed height */
   overflow: hidden;
   border-radius: 0.375rem; /* optional, matches .rounded */
}

.fixed-image {
   width: 100%;
   height: 100%;
   object-fit: cover; /* use 'contain' if you want the full image to fit with possible padding */
   display: block;
}

.team-img {
  max-width: 300px;
  object-fit: cover; /* makes it fill the space while keeping aspect ratio */
  display: block;
}
/* Science Stories Landing Page*/
    .carousel-wrapper {
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform 0.4s ease-in-out;
  gap: 2rem; /* spacing between members */
}

.team-member {
  flex: 0 0 23%; /* 4 items visible */
  max-width: 25%;
  text-align: center;
}

.team-member img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 1rem;
}

    .carousel-controls {
      text-align: center;
      margin-top: 1.5rem;
    }

    .carousel-controls button {
      border: none;
      background: none;
      font-size: 2rem;
      color: var(--bright-blue);
      cursor: pointer;
    }

    @media (max-width: 991.98px) {
      .team-member {
        flex: 0 0 50%;
        max-width: 50%;
      }
    }

    @media (max-width: 575.98px) {
      .team-member {
        flex: 0 0 100%;
        max-width: 100%;
      }
    }