@charset "UTF-8";
:root {
  --bs-offcanvas-height: 100vh;
 --bs-primary: rgba(0, 78, 143, 1.0); /* Original Hex: #004e8f */
  --bs-primary-alt: rgba(0, 49, 116, 1.0); /* Original Hex: #003174 */
  --bs-info: rgba(255, 167, 38, 1.0); /* Original Hex: #ffa726 */
  --kc-golden-color: rgba(255, 167, 38, 1.0); /* Original Hex: #ffa726 */
  --bs-info-alt: rgba(130, 203, 178, 1.0); /* Original Hex: #82CBB2 */
  --kc-link-color: rgba(79, 127, 159, 1.0); /* Original Hex: #4F7F9F */
  --kc-text-color-green: rgba(0,210,185,1);
  --kc-text-color-green-half:rgba(0,210,185,0.45);	
  --bs-body-font-family:"Lato", Arial, sans-serif;
  --bs-body-font-size: 1rem;
  --bs-body-font-weight: 400;
  --bs-body-line-height: 1.6;
  --kc-yellow-color: rgba(235,235,5,1); /* Original Hex: #ebeb05*/
	
  --kc-font-cursive: "trajan-pro-3", cursive;
  --kc-font-hand: "ff-market-web", sans-serif;
  --kc-font-serif: "quincy-cf", serif;

}
.btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: rgba(49, 78, 118, 1.0);/* Original Hex: #314e76 */
    --bs-btn-border-color: rgba(49, 78, 118, 1.0);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: rgba(49, 78, 118, 1.0);
    --bs-btn-hover-border-color: rgba(49, 78, 118, 1.0);
    --bs-btn-focus-shadow-rgb: 121, 53, 128;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: rgba(49, 78, 118, 1.0);
    --bs-btn-active-border-color:rgba(49, 78, 118, 1.0);
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: rgba(49, 78, 118, 1.0);
    --bs-btn-disabled-border-color: rgba(49, 78, 118, 1.0);
}

@media (min-width: 320px) and (max-width: 1600px) { /* Adjust as needed */
    #toolbar-administration {
        display: none !important; /* Prevents display of admin toolbar in small viewports for testing responsive modes */
    }
}


.form-control:focus {
  
    border-color: var(--kc-text-color-green);

    box-shadow: 0 0 0 0.25rem rgba(0,215,185, 0.25);
}
html {
  scroll-behavior: smooth;
}
main{
	min-height: 100vh;
}

.text-white {
  --bs-body-color: white;
}

/* Custom typography for Person cards - about-us/our-people*/

.pcard-name {
  font-size: 1.5rem;
  font-family: Spectral semi-bold;
}

.pcard-role {
  font-size: 1rem;
}

/*the accordion*/
details summary {
    display: list-item;
    cursor: pointer;
    color: white;
    padding: 0;
    border-radius: 5px;
}

summary.pcard{
text-align: left;
}

.profile-contact {
  padding: 0;
  text-align: left;
}

details.dash-links summary {
    background: #333;  
}
dt {
    border-left: 5px solid;
    padding-left: 10px;
}
h1,
.lead {
  font-family: var(--bs-body-font-family);
  font-weight: normal;
  font-weight: 700;
}

h2, h3, h4, h5, h6,
.lead {
  font-family: var(--bs-body-font-family);
  font-weight: normal;
  font-weight: 500;
}



label{
    font-size: 1.2vw!important;
}
@media only screen and (max-width: 800px) {
label{
    font-size: 3vw!important;
}
}
.handwriting {
  font-family: var(--kc-font-hand);
}
.form-check {
    display: inline-block;
}
.form-check .form-check-input {
    margin-left: -1.3em;
}
.logo, .offcanvas .offcanvas-header .logo {
  display: block;
  width: 100px;
  padding: 10px;
  position: absolute;
  top: 0;
  left: 0;
}
@media only screen and (min-width: 1024px) {
  .logo, .offcanvas .offcanvas-header .logo {
    width: 300px;
    padding: 20px;
  }
}
@media only screen and (min-width: 1400px) {
  .logo, .offcanvas .offcanvas-header .logo {
    width: 350px;
    padding: 25px;
  }
}
@media only screen and (min-width: 2160px) {
  .logo, .offcanvas .offcanvas-header .logo {
    width: 450px;
    padding: 40px;
  }
}

.offcanvas .offcanvas-header .logo {
  margin-bottom: 0;
}
@media only screen and (min-width: 1024px) {
  .offcanvas .offcanvas-header {
    margin-bottom: 25px;
  }
  .offcanvas .offcanvas-header .logo {
    width: 200px;
  }
}
@media only screen and (min-width: 1400px) {
  .offcanvas .offcanvas-header {
    margin-bottom: 50px;
  }
  .offcanvas .offcanvas-header .logo {
    width: 250px;
  }
}
@media only screen and (min-width: 2160px) {
  .offcanvas .offcanvas-header {
    margin-bottom: 100px;
  }
  .offcanvas .offcanvas-header .logo {
    width: 400px;
  }
}

/* HEADER */

header .nav {
  column-gap: 0;
  row-gap: 0;
  align-items: center;
}
header .nav li {
  height: 100%;
  text-transform: uppercase;
}

header ul.nav a.nav-link.text-secondary {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  font-size: 0.8rem;
}
header ul.nav a.nav-link.text-secondary svg {
  margin-right: 0.5rem;
  fill: var(--bs-secondary);
  width: 1rem;
}
@media only screen and (min-width: 992px) {
  header ul.nav a.nav-link.text-secondary svg {
    width: 1rem;
  }
}
@media only screen and (min-width: 1200px) {
  header ul.nav a.nav-link.text-secondary svg {
    width: 1.2rem;
  }
}
@media only screen and (min-width: 1400px) {
  header ul.nav a.nav-link.text-secondary svg {
    width: 1.3rem;
  }
}
@media only screen and (min-width: 2160px) {
  header ul.nav a.nav-link.text-secondary svg {
    width: 1.4rem;
  }
}


header ul.nav a.nav-link.text-secondary:hover {
  color: white !important;
  background-color: var(--bs-primary);
}
header ul.nav a.nav-link.text-secondary:hover svg {
  fill: white;
}
@media only screen and (min-width: 992px) {
  header ul.nav a.nav-link.text-secondary {
    font-size: 1rem;
  }
}
@media only screen and (min-width: 1200px) {
  header ul.nav a.nav-link.text-secondary {
    font-size: 1.2rem;
  }
}
@media only screen and (min-width: 1400px) {
  header ul.nav a.nav-link.text-secondary {
    font-size: 1.3rem;
  }
}
@media only screen and (min-width: 2160px) {
  header ul.nav a.nav-link.text-secondary {
    font-size: 1.4rem;
  }
}

/* GLOBAL NAVIGATION */   
.offcanvas.offcanvas-top {
  max-height: 100vh;
}

.offcanvas.offcanvas-top ul.nav a.nav-link.text-secondary {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  font-size: 0.8rem;
  text-transform: uppercase;
}
.offcanvas.offcanvas-top ul.nav a.nav-link.text-secondary svg {
  fill: var(--bs-secondary);
  margin-right: 0.5rem;
  width: 1rem;
}
@media only screen and (min-width: 992px) {
  .offcanvas.offcanvas-top ul.nav a.nav-link.text-secondary svg {
    width: 1rem;
  }
}
@media only screen and (min-width: 1200px) {
  .offcanvas.offcanvas-top ul.nav a.nav-link.text-secondary svg {
    width: 1.2rem;
  }
}
@media only screen and (min-width: 1400px) {
  .offcanvas.offcanvas-top ul.nav a.nav-link.text-secondary svg {
    width: 1.3rem;
  }
}
@media only screen and (min-width: 2160px) {
  .offcanvas.offcanvas-top ul.nav a.nav-link.text-secondary svg {
    width: 1.4rem;
  }
}
.offcanvas.offcanvas-top ul.nav a.nav-link.text-secondary:hover {
  color: white !important;
}
.offcanvas.offcanvas-top ul.nav a.nav-link.text-secondary:hover svg {
  fill: white;
}
@media only screen and (min-width: 992px) {
  .offcanvas.offcanvas-top ul.nav a.nav-link.text-secondary {
    font-size: 1rem;
  }
}
@media only screen and (min-width: 1200px) {
  .offcanvas.offcanvas-top ul.nav a.nav-link.text-secondary {
    font-size: 1.2rem;
  }
}
@media only screen and (min-width: 1400px) {
  .offcanvas.offcanvas-top ul.nav a.nav-link.text-secondary {
    font-size: 1.3rem;
  }
}
@media only screen and (min-width: 2160px) {
  .offcanvas.offcanvas-top ul.nav a.nav-link.text-secondary {
    font-size: 1.4rem;
  }
}



.placeholder {
	display: inline-block;
	min-height: 1em;
	vertical-align: middle;
	cursor: unset;
	background-color: unset;
	opacity: 0.5;
	font-weight: 900;
}

.offcanvas-body nav li,
.offcanvas-footer nav li {
  padding: 0.25rem 0;
  list-style: none;
}
.offcanvas-body nav a,
.offcanvas-footer nav a {
  --bs-body-color: white;
}

.offcanvas-body nav a {
  font-family: var(--kc-font-cursive);
  font-size: 1.2rem;
}
@media only screen and (min-width: 992px) {
  .offcanvas-body nav a {
    font-size: 1.8rem;
  }
}
@media only screen and (min-width: 1200px) {
  .offcanvas-body nav a {
    font-size: 2rem;
  }
}
@media only screen and (min-width: 1400px) {
  .offcanvas-body nav a {
    font-size: 3rem;
  }
}
@media only screen and (min-width: 2160px) {
  .offcanvas-body nav a {
    font-size: 4rem;
  }
}

.offcanvas-footer {
  font-size: 0.8rem;
}
.offcanvas-footer h3 {
  color: var(--bs-secondary);
  font-family: var(--bs-body-font-family);
  font-size: inherit;
}
@media only screen and (min-width: 992px) {
  .offcanvas-footer {
    font-size: 1rem;
  }
}
@media only screen and (min-width: 1200px) {
  .offcanvas-footer {
    font-size: 1.2rem;
  }
}
@media only screen and (min-width: 1400px) {
  .offcanvas-footer {
    font-size: 1.3rem;
  }
}
@media only screen and (min-width: 2160px) {
  .offcanvas-footer {
    font-size: 1.4rem;
  }
}



/* end CREST */
/* BREADCRUMB */
.breadcrumb {
  font-size: 0.9rem;
}
.breadcrumb a {
  --bs-info: transparent;
}

/* FOOTER */
footer {

 border-top:5px solid #333;
}
footer {
  overflow: hidden;
  position: relative;
  color: var(--bs-white);
}
 footer a {
  color: var(--bs-white);
  text-decoration: none!important;
}


footer .text-prime-color{
	color: var(--kc-text-color-green);
	font-size: 0.7rem;
}
footer .our-address .add-border-bottom, footer .footer-menu-item {
	border-bottom: 0.01rem solid rgb(0, 90, 80);
}
footer li.footer-menu-item{
	width:100%;
}
footer li.footer-menu-item a{
	color: var(--kc-text-color-green)!important;
	outline: none!important;
	position: relative;
	font-size: inherit ;
}
footer li.footer-menu-item a:hover{
	background: transparent;
	padding:0.5rem;
	
}

.smedia {
  padding: 1.8rem;
}


main{
	min-height: 100vh;
}

main a.link--underline, main .offcanvas-body nav a, .offcanvas-body nav main a,
main .offcanvas-footer nav a,
.offcanvas-footer nav main a, main .breadcrumb a, .breadcrumb main a {
  color: var(--bs-body-color);
}
main a.link--underline.text-light, main .offcanvas-body nav a.text-light, .offcanvas-body nav main a.text-light,
main .offcanvas-footer nav a.text-light,
.offcanvas-footer nav main a.text-light, main .breadcrumb a.text-light, .breadcrumb main a.text-light {
  --bs-body-color: var(--bs-light);
}
main a.link--underline:hover svg, main .offcanvas-body nav a:hover svg, .offcanvas-body nav main a:hover svg,
main .offcanvas-footer nav a:hover svg,
.offcanvas-footer nav main a:hover svg, main .breadcrumb a:hover svg, .breadcrumb main a:hover svg {
  fill: var(--bs-primary);
}


/* Reusable link styles */
#navbar,#top-nav{
	background-color: white;
}

/* BOOTSTAP FIXES */
.ratio img {
  object-fit: cover;
}

main ol:not(.breadcrumb) li a,
main a.icon-link.icon-link-hover {
  /* remove defaut link style */
  border-bottom: none;
  box-shadow: none;
}
main ol:not(.breadcrumb) li a svg,
main a.icon-link.icon-link-hover svg {
  translate: 0 -2px;
}
main ol:not(.breadcrumb) li a:hover,
main a.icon-link.icon-link-hover:hover {
  background-color: transparent;
  color: var(--kc-link-color);
}

/* definition lists */
dl dt {
  font-size: smaller;
  font-weight: var(--bs-body-font-weight);
  line-height: 1rem;
}
dl dd {
  font-weight: var(--bs-body-font-weight);
}

/* BS style push pull classes */
/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {
  .g-col-md-8.g-col-md-pull-4 {
    grid-column-start: 0;
    grid-row-start: 1;
  }
  .g-col-md-6.g-col-md-pull-6 {
    grid-column-start: 0;
    grid-row-start: 1;
  }
  .g-col-md-4.g-col-md-push-8 {
    grid-column-start: 9;
    grid-row-start: 1;
  }
  .g-col-md-6.g-col-md-push-6 {
    grid-column-start: 7;
    grid-row-start: 1;
  }
}
/* Add extra styling to header when position absolute */
body > header.position-absolute {
  background-color: transparent;
  width: 100%;
  z-index: 999;
}


@media only screen and (min-width: 768px), (orientation: landscape) {
  main .hero .btn {
    display: initial;
    padding: 20px;
  }
}

main .hero .btn:hover {
  outline-color: rgba(255, 255, 255, 0);
  outline-offset: 15px;
  color: var(--bs-dark);
  box-sizing: border-box;
  background: var(--bs-light);
  /* Medium devices (landscape tablets, 768px and up) */
}
@media only screen and (min-width: 768px), (orientation: landscape) {
  main .hero .btn:hover {
    display: initial;
    padding: 20px;
  }
}

/* HACK */

main .lead {
  border-left: 10px solid #833383;
  padding-left: 30px;
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 2.5rem;
}

figure {
  margin: 0;
}
figure img {
  object-fit: contain;
}



main section {
  position: relative;
}

/*Override rules by Ade*/
.brand-color{
    color:#833383;
}
a.link-to i{
  font-size: 2rem;
}
a.link-to:hover i{
  color: var(--kc-golden-color);
}

button:focus,input:focus,select:focus {
	text-decoration: none;
	outline: 0;
	box-shadow: none!important;
}
ul,li{
	list-style: none;
}

.navbar-brand {
    padding: 2rem!important;
}
@media (max-width: 1399px) {
    /* CSS rules here will only be applied when the viewport width is less than 1400px */
.navbar-brand {
	padding: 1.5rem!important;
}
}

img.kings-logo{
	width:220px
}
.offcanvas-dismiss{
    cursor: pointer;
	color: #fff;
	font-size: 1.5rem;
}
.navbar-toggler {
	font-size: 1.5rem;
	line-height: 1;
	color: #fff;
	background-color: var(--kc-text-color-green);
	border: var(--bs-border-width) solid transparent;
}

.navbar-toggler:hover {
	background-color: #000;
}
@media only screen and (max-width: 450px) {
 .navbar-toggler {
	font-size: 1.5rem;	
}
img.kings-logo{width:120px}
}




.hero .hero-content , .hero .hero-alternative-content {
	position: relative;	
	padding-top: 8rem;
	background-image: var(--banner-url);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
}
.hero .hero-alternative-content {
    max-height: 300px;
    height: 300px;
}

.header-caption {
    margin: 20px auto;
    position: relative;
    padding: 5%;
}
div.header-caption {
    max-width: 80%
}
fieldset.header-caption {
    width: 100%
}

.carousel-caption h5{
    /*background: var(--kc-text-color-green);*/
    color: #000;
}
.header-caption h1, .carousel-caption{
	max-width: 48%;	
}

/*
.header-caption span {
	font-size:2rem;
} */
.hero .hero-alternative-content .header-caption {
    margin: 0px auto;
    padding: 0.5%;
    max-height: 90px;
    line-height: 45px;
}
.kings-bg-dark,.fixed-nav-bar{
	background-color: var(--bs-primary);
}
.nav a{
	color:#000!important;
}

.nav a:hover {background: none; }

@media (min-width: 1401px) {
.nav a:hover {
	background: rgb(0, 210, 185, .5);
}
}



#primary-menu a.nav-link {
    font-size: 1.2rem;
    font-weight: 500;
	line-height:2.5;
	height: 60px;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hoverable:hover{
 	color: var(--bs-yellow);	
}
.link-arrow{
	cursor: pointer;
	font-size:32px;
}
.icon-link-hover i{
    line-height: 2px;
}
.icon-link {
	display: inline-flex;
	gap: 0.375rem;
	align-items: center;
	text-decoration-color: rgba(var(--bs-link-color-rgb), var(--bs-link-opacity, 0.5))!important;
	text-underline-offset: 0.25em;
	backface-visibility: hidden;
}
.ui-autocomplete {
    background-color: white;
    border: 1px solid #ccc;
    max-height: 200px;
    overflow-y: auto;
    color:#000;
}

.mega-menu-item-wrapper .bi::before {
  line-height: 2.5 !important;
}

/* Faculty updates carousel controls */
#block-kings-barrio-themehelpernewsgridblock .news-carousel-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding: 16px;
}

/* Consistent sizing and button styling */
#block-kings-barrio-themehelpernewsgridblock .news-carousel-controls > button {
  position: static;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  box-sizing: border-box;
  border: 1px solid #505050;
  border-radius: 4px;
  background-color: transparent;
  color: #505050;
  opacity: 1;
  transition: background-color 0.2s ease, color 0.2s ease;
}

/* Previous and Next buttons */
#block-kings-barrio-themehelpernewsgridblock .news-carousel-controls .carousel-control-prev,
#block-kings-barrio-themehelpernewsgridblock .news-carousel-controls .carousel-control-next {
  width: 44px;
  flex: 0 0 44px;
}

/* Pause/Play button - fixed width */
#block-kings-barrio-themehelpernewsgridblock .news-carousel-controls #pausePlayButton {
  width: 90px;
  flex: 0 0 90px;
}

/* Matching hover and keyboard focus styling */
#block-kings-barrio-themehelpernewsgridblock .news-carousel-controls > button:hover,
#block-kings-barrio-themehelpernewsgridblock .news-carousel-controls > button:focus-visible {
  background-color: rgba(0, 210, 185, .5);
  color: #000;
}

/* Recolour Bootstrap's white arrow icons */
#block-kings-barrio-themehelpernewsgridblock .news-carousel-controls .carousel-control-prev-icon,
#block-kings-barrio-themehelpernewsgridblock .news-carousel-controls .carousel-control-next-icon {
  filter: brightness(0);
}

/* Preserve Study button styling within rich-text fields */
main .field--type-text-long a.study-button {
  color: #000;
}

/* ==========================================
   OUR PEOPLE — RESPONSIVE CARD GRID
   ========================================== */

/* Continuous grid across Infinite Scroll batches */
.view-id-about .views-infinite-scroll-content-wrapper {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 20px 10px;
}

/* Remove intermediate grid layout without removing HTML */
.view-id-about .views-view-responsive-grid {
  display: contents;
}

/* Prevent cards overflowing their grid cells */
.view-id-about .views-view-responsive-grid__item {
  min-width: 0;
}

/* Desktop */
@media (max-width: 1400px) {
  .view-id-about .views-infinite-scroll-content-wrapper {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

/* Small desktop */
@media (max-width: 1199px) {
  .view-id-about .views-infinite-scroll-content-wrapper {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* Tablet */
@media (max-width: 991px) {
  .view-id-about .views-infinite-scroll-content-wrapper {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Large mobile */
@media (max-width: 767px) {
  .view-id-about .views-infinite-scroll-content-wrapper {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Small mobile */
@media (max-width: 575px) {
  .view-id-about .views-infinite-scroll-content-wrapper {
    grid-template-columns: 1fr;
  }
}

/* Basic page header typography */

.basic-page-header .hero-header-caption h1 {
  font-size: clamp(2.25rem, 2.5vw, 3rem);
  line-height: 1.08;
}

.basic-page-header .hero-header-caption h2.subheading {
  font-size: clamp(1rem, 1.25vw, 1.35rem);
  line-height: 1.4;
 font-weight: 400;
}

/* Basic page header */
.basic-page-header {
  padding-top: 3rem;
  padding-bottom: 3.5rem;
  margin-bottom: 1.5rem;
  width: auto;
  max-width: none;
  position: relative;
}

/* Full-width background using box-shadow */
.basic-page-header {
  clip-path: inset(0 -100vmax);
}

/* Background colours */
.basic-page-header--lilac {
  background-color: #be8cd7;
  box-shadow: 0 0 0 100vmax #be8cd7;
}

.basic-page-header--yellow {
  background-color: #ebeb78;
  box-shadow: 0 0 0 100vmax #ebeb78;
}

.basic-page-header--pink {
  background-color: #ffacc3;
  box-shadow: 0 0 0 100vmax #ffacc3;
}

.basic-page-header--green {
  background-color: #61e3d4;
  box-shadow: 0 0 0 100vmax #61e3d4;
}

/* Caption container */
.basic-page-header .hero-header-caption {
  max-width: 1230px;
  margin-left: auto;
  margin-right: auto;
  padding: 2rem 0;
}

/* Caption alignment */
.basic-page-header .hero-header-caption .fieldset-wrapper {
  width: 100%;
  padding: 0 2rem;
}

/* H1 typography */
.basic-page-header .hero-header-caption h1 {
  font-size: clamp(2.25rem, 2.5vw, 3rem);
  line-height: 1.08;
  max-width: 850px;
}
@media (max-width: 576px) {
  .basic-page-header .hero-header-caption h1 {
    font-size: 1.75rem;
    line-height: 1.12;
  }

  .basic-page-header .hero-header-caption h2 {
    font-size: 1.1rem;
    line-height: 1.4;
  }
}

.node--type-page .field--name-body {
  max-width: 1000px;
  margin-left: 0;
  margin-right: auto;
  padding-left: 4rem;
}
/* Basic page section headings */
.node--type-page .field--name-body h2,
.node--type-page .field--name-body h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  line-height: 1.25;
}

/* Avoid unnecessary space above the first heading */
.node--type-page .field--name-body > :first-child {
  margin-top: 0;
}
@media (max-width: 768px) {
  .node--type-page .field--name-body {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}