.dropdown-menu {
  max-height: 400px;
  overflow-y: auto;
}

#sources_list {
  max-height: 500px;
  overflow-y: auto;
}

/*color for the links*/
a {
  color: #2980b9;
}

/*color for the links when hovered*/
a:hover {
  color: #005281;
}

/*color for the links when visited*/
a:visited {
  color: #2980b9;
}

/* remove the underline from the links */
a {
  text-decoration: none;
}

/*color for the links in the navbar*/
.navbar-nav > li > a {
  color: black;
}

/*color for the links in the navbar when visited*/
.navbar-nav > li > a:visited {
  color: black;
}

summary {
  font-size: 1.2em;
  list-style-type: none;
  text-align: center;
}

.pagination {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  padding: 30px 0 30px;
}

.pagination__list, .pagination  {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pagination__item, .page-item > .page-link {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid #dddddd;
  border-radius: 5px;
  font-weight: 500;
  font-size: 12px;
  color: #565656;
  cursor: pointer;
  -webkit-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
}

.pagination__item:hover,
.pagination__item.active, .page-item.active > .page-link, .page-item:hover > .page-link {
  border-color: #5191ba;
  color: #fff;
  background-color: #5191ba;
}

.page-item.active > .page-link, .page-item:hover > .page-link {
  cursor: default;
}
.page-item.disabled > .page-link {
    border-color: #dddddd;
    color: #dddddd;
    background-color: #fff;
}

.copy {
    color: #fff;
    font-size: 15px;
    text-align: center;
}
.copy a {
    color: #fff;
}

@media screen and (max-width: 414px) {
  .pagination {
    padding: 10px 0 30px;
  }
  .copy {
    text-align: center;
  }
  .pt-12 {
    padding-top: 5rem !important;
  }
  h1.pt-5 {
    padding-top: 1.2rem !important;
  }
  .line-red:after {
    width: 80px;
  }
  summary.p-4 {
    padding: 0.5rem !important;
  }
}


.btn-primary, .btn-outline-primary {
  --bs-btn-font-weight: 600;
  --bs-btn-color: var(--bs-gray-600);
  --bs-btn-border-color: var(--bs-gray-400);
  --bs-btn-hover-color: var(--bs-white);
  --bs-btn-hover-bg: #5191ba;
  --bs-btn-hover-border-color: #5191ba;
  /* color for active disabled button */
    --bs-btn-active-color: var(--bs-white);
    --bs-btn-active-bg: #5191ba;
    --bs-btn-active-border-color: #5191ba;
    --bs-btn-active-box-shadow: inset 0 0.15em 0.3em rgba(0, 0, 0, 0.125);
    /* color for disabled button */
    --bs-btn-disabled-bg: #5191ba;
    --bs-btn-disabled-border-color: #5191ba;
    --bs-btn-disabled-box-shadow: none;
}
a:visited.btn-primary, a:visited.btn-outline-primary {
  color: var(--bs-gray-600);
}