/* Custom CSS for the documentation site */


/* Change colours of the buttons in the grid */
.btn-custom-colour {
    background-color: #0A7D91 !important;
    color: white !important;
    border-color: #0A7D91 !important;
    font-weight: bold !important;
}

.btn-custom-colour:hover,
.btn-custom-colour:hover a {
    background-color: #087588 !important;
    color: white !important;
    font-weight: bold !important;
}

.btn-custom-colour a {
    display: inline-block;
    width: 100%;
    height: 100%;
}


/* Resize the top images in grid-item-cards */
.sd-card .sd-card-img-top {
    width: 60px;         
    height: auto;
    margin: 0 auto;      /* center horizontally */
    padding-top: 1rem;   /* optional spacing above */
}

/* Responsive override for smaller screens */
@media (max-width: 768px) {
  .sd-card .sd-card-img-top {
    width: 40px;
  }
}


.btn-bold-white {
  color: white !important;
  font-weight: bold !important;
}
.btn-bold-white:hover {
  color: white !important;
}


.bd-navbar .navbar-brand {
    padding: 0; /* Sometimes padding around the brand limits size */
}