/* Bootstrap 'sandstone' package controls most of the website appearance.  However, here are some 
 changes to customise the bootstrap package  */ 


/* ---------------------------------------------------------------------------------------- */
/* Surrey Colour Scheme */
@import url("./surreycolors.css");
.bg-primary {
  --bs-bg-opacity: 1;
  background-color: var(--surreyBatterseaBlue) !important;
}

.bg-secondary {
  --bs-bg-opacity: 1;
  background-color: var(--surreyStagYellow) !important;
}

.bg-success {
  --bs-bg-opacity: 1;
  background-color: var(--surreyPurple) !important;
}

.bg-danger {
  --bs-bg-opacity: 1;
  background-color: var(--surreyTeal) !important;
}

.bg-warning {
  --bs-bg-opacity: 1;
  background-color: var(--surreySportsParkGreen) !important;
}

.bg-info {
  --bs-bg-opacity: 1;
  background-color: var(--surreyRed) !important;
}


/* ---------------------------------------------------------------------------------------- */
/* Hover effects to cards on home page */

/*  Apply hover effect to cards but only if they are used as links
    (i.e. if .stretched-link is inside the card)
 */

.card:has(.stretched-link) {
    border: 4px solid transparent; /* Set a transparent border to prevent resizing */
    transition: box-shadow 0.2s ease-in-out, transform 0.2s ease-in-out;
}

.card:has(.stretched-link):hover {
    cursor: pointer;
    box-shadow: 0 0 19px var(--surreyBatterseaBlue); /* Glow effect instead of changing border */
    transform: scale(1.02);
}

/* ---------------------------------------------------------------------------------------- */
/* Customising colours used in drop down menus, buttons, links etc. */

.dropdown-menu {
  --bs-dropdown-bg: var(--surreyBatterseaBlue);
  --bs-dropdown-link-color: #ffffff;
  --bs-dropdown-link-hover-color: var(--surreyBatterseaBlue) ;
  --bs-dropdown-link-hover-bg: var(--surreyBatterseaBlue-light);
  --bs-dropdown-link-active-color: var(--surreyBatterseaBlue);
  --bs-dropdown-link-active-bg: var(--surreyBatterseaBlue-light);
}

.form-control:focus {
  border-color: var(--surreyBatterseaBlue);
}

.btn-outline-primary {
  --bs-btn-color: var(--surreyBatterseaBlue);
  --bs-btn-border-color: var(--surreyBatterseaBlue);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--surreyBatterseaBlue);
  --bs-btn-hover-border-color: var(--surreyBatterseaBlue);
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: var(--surreyBatterseaBlue);
  --bs-btn-active-border-color: var(--surreyBatterseaBlue);
  --bs-btn-disabled-color: var(--surreyBatterseaBlue);
  --bs-btn-disabled-border-color: var(--surreyBatterseaBlue);
}

.btn {
  --bs-btn-bg: white;
}

[data-bs-theme=dark] {
  --bs-link-color: var(--surreyBatterseaBlue-light) !important;
  --bs-link-hover-color: white !important;
  --bs-link-color-rgb: var(--surreyBatterseaBlue-light-rgb) !important;
  --bs-link-hover-color-rgb: 1,1,1 !important;
}

.nav {
  --bs-nav-link-color: white;
  --bs-nav-link-hover-color: var(--surreyBatterseaBlue-light);
}


.nav-link {
  display: block;
  color: white;
}

.nav-link:hover, .nav-link:focus {
  color: var(--surreyBatterseaBlue-light);
}


/* ---------------------------------------------------------------------------------------- */
/* Page layout customisations */
.form-control {
  display: inline;
  width: fit-content;
}

.mt-4 {
  margin-top: 0.5rem !important;
}

/* ---------------------------------------------------------------------------------------- */
/* Customise the appearance of text in body of website */

/* body {
  color: var(--surreyBatterseaBlue)
} */



