:root {
  --link-color: #4D8DC9;
}

p {
  font-size: 16px;
}

a, a:hover {
  color: var(--link-color);
}

a:hover {
  text-decoration: underline;
}

.content ul li {
  font-size: 16px;
}

.content a.anchor {
  display: none;
  font-size: .75em;
  vertical-align: middle;
  text-decoration: none;
}

.content h2:hover .anchor,
.content h3:hover .anchor,
.content h4:hover .anchor {
  display: initial;
}

.pagination a {
  color: var(--link-color);
}

a.bg-white {
  transition: .2s ease !important;
}

a.bg-white:hover {
  background-color: var(--primary-color) !important;
  text-decoration: none;
}

a.bg-white:hover h3, a.bg-white:hover i {
  color: #FFF !important;
}

/* -------------------------------------------------------------------------- */
/* Banner */

.overlay::before {
  position: absolute;
  content: '';
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  background: var(--primary-color);
  opacity: .4;
}

/* -------------------------------------------------------------------------- */
/* Header */

.navbar .nav-item .nav-link:hover {
  text-decoration: underline;
}

.navbar .img-fluid {
  width: 25px;
  margin-right: 5px;
}

.navbar .navbar-brand:hover {
  text-decoration: underline;
}

header.sticky-top {
  position: initial;
}

/* -------------------------------------------------------------------------- */
/* Index */

.index {
  background-color: #FFF;
}

.index-cards {
  padding-top: 40px;
}

.filters {
  padding-top: 0 !important;
}

.filterbtn-wrapper {
  padding: 5px 5px;
}

button.filter-btn {
  width: 100%;
  height: 100%;
  min-height: 80px;
  border: none;
  background-color: #F8F8F8 !important;
}

button.bg-white:hover {
  color: #FFF;
  background-color: #4D4D4D !important;
  transition: .1s ease !important;
}

button.selected {
  color: #FFF;
  background-color: #4D4D4D !important;
}

.cta {
  padding-bottom: 30px;
}

/* -------------------------------------------------------------------------- */
/* TOC */

.section-sm {
  padding-top: 30px;
}

.toc {
  top: 70px !important;
}

#TableOfContents ul {
  list-style-type: none;
  margin: 0;
  padding-left: 0;
}

#TableOfContents ul li {
  padding-left: 0;
  /* position: relative; */
}
#TableOfContents ul li ul li {
  padding-left: 0.3rem;
}

#TableOfContents ul li ul li ul li {
  padding-left: 0.8rem;
}

#TableOfContents a {
  color: #000;
  padding: 10px 0;
  font-size: 15px;
  line-height: 1.4;
}

/* -------------------------------------------------------------------------- */
/* Content */

a {
  text-decoration: none;
  color: "#007bff";
}

a:hover,
a:focus {
  text-decoration: underline;
  color: "#007bff";
}

.pagination.mt-3 {
  padding-top: 35px;
}

h1,
.h1 {
  font-size: 2em;
}

h2,
.h2 {
  font-size: 1.5em;
}

h3,
.h3 {
  font-size: 1.17em;
}

h4,
.h4 {
  font-size: 1.12em;
}

h5,
.h5 {
  font-size: 0.83em;
}

h6,
.h6 {
  font-size: 0.75em;
}

/* -------------------------------------------------------------------------- */
/* Images grid */

.image-grid-row {
  display: flex;
  flex-direction: row;
  margin: 0 50px;
}

a.image-link {
  display: flex;
  flex-direction: column;
  flex: 0 0 29%;
  align-items: center;
  justify-content: center;
  border: 1px solid #e5e5e5;
  border-radius: 5px;
  margin: 20px 20px;
}

figure.image-card {
  padding: 20px;
  margin: 0;
}

.image-card img {
  max-width: 55px;
  margin: auto;
  vertical-align: middle;
}

.image-card figcaption {
  color: #676767;
  margin: 0;
  font-size: 13px;
  text-align: center;
  margin-top: 10px;
}

/* -------------------------------------------------------------------------- */
/* CTA banner area */

.custom {
  width: 30%;
  border: 2px solid #ffffff;
  border-radius: 4px;
}

.custom:hover {
  border: 2px solid white;
  background-color: rgba(255, 255, 255, 0);
}

.last-cta {
  padding: 70px 0px;
  margin-bottom: -1px;
}

.bg-bl {
  background-image: linear-gradient(175deg, #4D8DC9 0%, #68B8E5 100%);
}

.bg-bl p {
  font-weight: 500;
  margin-top: 18px;
}

.bg-bl h1,
.bg-bl h2,
.bg-bl h3,
.bg-bl h4,
.bg-bl h5,
.bg-bl h6 {
  margin-top: 14px !important;
}

.bg-bl a:not(.btn):not(.btn-white) {
  font-weight: 700;
  border-bottom: 1px solid #ffffff;
  padding-bottom: 1px;
}

.bg-bl h1,
.bg-bl h2,
.bg-bl h3,
.bg-bl h4,
.bg-bl h5,
.bg-bl p {
  color: #ffffff;
  font-weight: 400;
}

.bg-bl a {
  color: #4D8DC9;
}

.bg-bl a:hover {
  color: #ffffff;
}
