.main-body {
	margin-top: 70px;
}
#popup {
	position:fixed;
	margin:0 0;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 9999;
}
#popup img {
	width: 60%;
}
#overlay {
  height: 100%;
  overflow: visible;
  pointer-events: none;
  background: none !important;
}
.school-video {
	margin-top: 25px;
}
.vid-overlay {
	position: relative;
	margin-right: -15px!important;
	margin-left: -2%!important;
}
.school-vid {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; 
  height: 0;
}
.school-vid iframe{
  position: absolute;
  top: -60px;
  left: 0;
  width: 100%;
  height: 100%;
	z-index: 2;
}
.view-video-button {
	position: absolute;
  bottom: 8px;
  right: 16px;
}
.trustLink img {
	width: 220px;
	position: absolute;
	z-index: 1100;
	top: -170px;
	margin-left: 40px;
	background: #fff;
	border: 10px solid #fc161c;
	border-radius: 50%;
	padding: 75px 5px 5px;
}
.trustLink img:hover {
	transform: translate(0,3%);
	    transition: .3s;
}

.home-quicklinks {
	position: relative; 
	top: -50px;
}
.home-quicklinks .pulse-button-upper {
	position: relative; 
	top: -60px;
}
@media screen and (max-width: 768px) {
	.home-quicklinks {
		position: relative; 
		top: 0;
	}
	.home-quicklinks .pulse-button-upper {
		position: relative; 
		top: 0;
	}
}
.pulse-button {
	position: relative;
	width: 175px;
	height: 175px;
	border: none;
	box-shadow: 0 0 0 0 rgba(10, 36, 99, 0.7);
	border-radius: 50%;
	color: #fff;
	background-color: #0A2463;
	background-size: cover;
	background-repeat: no-repeat;
	cursor: pointer;
	-webkit-animation: none;-moz-animation: none;-ms-animation: none;animation: none;
	margin: 20px 0px;

}
.pulse-button:focus {
	outline: 0;
}
.pulse-button:hover  {
	-webkit-animation: pulse 1.00s infinite cubic-bezier(0.66, 0, 0, 1);
	-moz-animation: pulse 1.00s infinite cubic-bezier(0.66, 0, 0, 1);
	-ms-animation: pulse 1.00s infinite cubic-bezier(0.66, 0, 0, 1);
	animation: pulse 1.00s infinite cubic-bezier(0.66, 0, 0, 1);	
}

@-webkit-keyframes pulse {to {box-shadow: 0 0 0 45px rgba(232, 76, 61, 0);}}
@-moz-keyframes pulse {to {box-shadow: 0 0 0 45px rgba(232, 76, 61, 0);}}
@-ms-keyframes pulse {to {box-shadow: 0 0 0 45px rgba(232, 76, 61, 0);}}
@keyframes pulse {to {box-shadow: 0 0 0 45px rgba(232, 76, 61, 0);}}





@media screen and (max-width: 1455px) {
	
	.ofsted-logo img {
		margin-right: 60px !important;
		height: 100px !important;
	}
}
@media screen and (max-width: 1741px) {
	.school-name-bar {
		font-size: 1.5em;
	}
}
@media screen and (max-width: 991px) {
	.ofsted-logo {
		position: fixed;
		right: 0px;;
		top: 30px;
		margin-right: 40px !important;
	}
}
body {
	padding-bottom: 100px;
}

div.fixed {
  position: fixed;
  bottom: 0;
	width: 100%;
}
/* Home Slide CSS */
.carousel-caption h3 {
	font-family: 'Nixie One', cursive;
	color: #AAC0AF;
	font-size: 3.5em;
}
.carousel-caption p {
	font-family: 'Martel Sans', sans-serif;
	background-color: rgb(232,233,235,0.5);
	width: 50%;
	margin: auto;
	text-align: center;
	font-size: 1.8em;
	color: #fff;
}

.carousel-inner>.item {
    -webkit-transition: -webkit-transform 0.8s ease-in-out !important;
    -o-transition: -o-transform 0.8s ease-in-out !important;
    transition: transform 0.8s ease-in-out !important;
}

.page-imageslider .carousel-inner > .item > img, .carousel-inner > .item img {
	max-height: none !important;
}
.slidelayout {
	background-repeat: no-repeat;
	background-size: cover;
	display: flex;
	height: 750px;
	background-position: center center;
}
.slide-1 {
	background-image:url(/webcontent/webimage/dji_0186-1.jpg);
	background-position: center top;
}
.slide-2 {
	background-image:url(/webcontent/webimage/c65395dc-670d-48ce-838c-31f482b87c45.jpg);
}
.slide-3 {
	background-image:url(/webcontent/webimage/dsc00719.jpg);
}
.slide-4 {
	background-image:url(/webcontent/webimage/dsc00665.jpg);
}
.slide-5 {
	background-image:url(/webcontent/webimage/ef88d0f3-7e0f-4349-9976-ec4688bdba9d.jpg);
}
.slide-6 {
	background-image:url(/webcontent/webimage/thorns-1.jpg);
}
.slide-7 {
	background-image:url(/webcontent/webimage/36c30596-8552-43fe-9f2d-5755a7d9dfd2.jpg);
	background-position: 50% 40%;
}
.slide-8 {
	background-image:url(/webcontent/webimage/761da437-8943-43d9-b396-1bb79b633cab.jpg);
}
.slide-9 {
	background-image:url(/webcontent/webimage/6e91c093-d1ac-4a45-a3d3-31791c3ef0d2.jpg);
}
.slide-10 {
	background-image:url(/webcontent/webimage/7fa59de1-2090-42b6-b505-096b9014f570.jpg);
	background-position: top center;
}
.slide-11 {
	background-image:url(/webcontent/webimage/6c04c061-febe-4ec6-a3a7-3f51938243b7.jpg);
}
.slide-12 {
	background-image:url(/webcontent/webimage/af5f16bd-ce68-4b01-a290-59719762fe10.jpg);
	background-position: 50% 40%;
}
.carousel-caption>p>a {
	color: #fef914;
}
/* Media CSS */
@media screen and (max-width: 1024px) {

}
@media screen and (max-width: 768px) {
.slidelayout {
	background-repeat: no-repeat;
	background-size: cover;
	display: flex;
	height: 200px;
	background-position: top center;
}
.carousel-caption p {
	font-size: 0.8em;
	margin-bottom: -30px;
}
.carousel-caption h3 {
	font-size: 3.0em;
	padding-bottom: -50px;
	-webkit-text-stroke-width: 1px;
	-webkit-text-stroke-color: black;
}
	
@-webkit-keyframes slide-fwd-top {
	0% {
		-webkit-transform: translateZ(0) translateY(0);
		transform: translateZ(0) translateY(0);
	}
	100% {
		-webkit-transform: translateZ(80px) translateY(-50px);
		transform: translateZ(80px) translateY(-50px);
	}
}
@keyframes slide-fwd-top {
	0% {
		-webkit-transform: translateZ(0) translateY(0);
		transform: translateZ(0) translateY(0);
	}
	100% {
		-webkit-transform: translateZ(80px) translateY(-50px);
		transform: translateZ(80px) translateY(-50px);
	}
}

}
@media screen and (max-width: 425px) {

}
.covidbg {
  background-image: url("/webcontent/webimage/36c30596-8552-43fe-9f2d-5755a7d9dfd2.jpg");
  background-color: #cccccc;
  height: 200px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;

}
.redfooter {
	background-color: rgba(175, 0, 9, 0.7);
	position: relative;
    bottom: -100px;
    left: 0;
    width: auto;
    padding: 15px 25px;
    font-size: 25px;
    right: 0;
    color: #fff;
    font-weight: bold;
    margin: auto;
}
.redfooter a {
	color: #fff;
}
.lightgreyfooter {
	background-color: rgba(205, 205, 205, 0.7);
	position: relative;
    bottom: -100px;
    left: 0;
    width: auto;
    padding: 15px 25px;
    font-size: 25px;
    right: 0;
    color: #fff;
    font-weight: bold;
    margin: auto;
}
.lightgreyfooter a {
	color: #fff;
}
.greyfooter {
	background-color: rgba(66, 76, 85, 0.7);
	position: relative;
    bottom: -100px;
    left: 0;
    width: auto;
    padding: 15px 25px;
    font-size: 25px;
    right: 0;
    color: #fff;
    font-weight: bold;
    margin: auto;
}
.greyfooter a {
	color: #fff;
}
.greenfooter {
	background-color: rgba(111, 115, 47, 0.7);
	position: relative;
    bottom: -100px;
    left: 0;
    width: auto;
    padding: 15px 25px;
    font-size: 25px;
    right: 0;
    color: #fff;
    font-weight: bold;
    margin: auto;
}
.greenfooter a {
	color: #fff;
}
.orangefooter {
	background-color: rgba(209, 123, 15, 0.7);
	position: relative;
    bottom: -100px;
    left: 0;
    width: auto;
    padding: 15px 25px;
    font-size: 25px;
    right: 0;
    color: #fff;
    font-weight: bold;
    margin: auto;
}
.orangefooter a {
	color: #fff;
}
.newsfooter {
	background-color: rgba(170, 192, 175, 0.7);
	position: relative;
    bottom: -100px;
    left: 0;
    width: auto;
    padding: 15px 25px;
    font-size: 25px;
    right: 0;
    color: #fff;
    font-weight: bold;
    margin: auto;
}
.newsfooter a {
	color: #fff;
}
.clubsbg {
  background-image: url("/webcontent/webimage/clubs.jpg");
  background-color: #cccccc;
  height: 200px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;

}
.classesfooter {
	background-color: rgba(83, 134, 228, 0.7);
	position: relative;
    bottom: -100px;
    left: 0;
    width: auto;
    padding: 15px 25px;
    font-size: 25px;
    right: 0;
    color: #fff;
    font-weight: bold;
    margin: auto;
}
.classesfooter a {
	color: #fff;
}
.teamsbg {
  background-image: url("/webcontent/webimage/brooke-cagle-g1kr4ozfoac-unsplash.jpg");
  background-color: #cccccc;
  height: 200px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.teamfooter {
	background-color: rgba(170, 0, 11, 0.7);
	position: relative;
    bottom: -100px;
    left: 0;
    width: auto;
    padding: 15px 25px;
    font-size: 25px;
    right: 0;
    color: #fff;
    font-weight: bold;
    margin: auto;
}
.teamfooter a {
	color: #fff;
}
.schoolbg {
  background-image: url(/webcontent/webimage/image12.jpg);
  background-color: #cccccc;
  height: 200px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.visionbg {
  background-image: url(/webcontent/webimage/our-values.jpg);
  background-color: #cccccc;
  height: 200px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.newsbg {
  background-image: url(/webcontent/webimage/pexels-brotin-biswas-5185431.jpg);
  background-color: #cccccc;
  height: 200px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.curriculumbg {
  background-image: url(/webcontent/webimage/slide4.jpg);
  background-color: #cccccc;
  height: 200px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.classbg {
  background-image: url(/webcontent/webimage/slide7.jpg);
  background-color: #cccccc;
  height: 200px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.safebg {
  background-image: url(/webcontent/webimage/pexels-pixabay-396241.jpg);
  background-color: #cccccc;
  height: 200px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.policybg {
  background-image: url(/webcontent/webimage/tim-gouw-kigtvxqetxa-unsplash.jpg);
  background-color: #cccccc;
  height: 200px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.parentbg {
  background-image: url(/webcontent/webimage/39273f58-0f44-49d9-9a1b-e98aadca787a.jpg);
  background-color: #cccccc;
  height: 200px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.inclusionbg {
  background-image: url(/webcontent/webimage/pexels-pixabay-4610491.jpg);
  background-color: #cccccc;
  height: 200px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.breakfastbg {
  background-image: url(/webcontent/webimage/slide2.jpg);
  background-color: #cccccc;
  height: 200px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.pcabg {
  background-image: url(/webcontent/webimage/brooke-cagle-g1kr4ozfoac-unsplash.jpg);
  background-color: #cccccc;
  height: 200px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.row {
    margin-right: 0;
    margin-left: 0;
}
.navbar-default {
    border-radius: 0;
    border: 0;
    background-color: #424C55 !important;
    z-index: 100;
    margin-bottom: 2px !important;
}

.video-container {
  position: relative;
}

/* 🎯 Overlay wrapper */
.video-overlay {
  position: absolute;
  top: 25%;
  left: 25%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: left;
  background: rgba(0, 0, 0, 0.5); /* optional for readability */
  padding: 15px 20px;
  border-radius: 10px;
}

/* 🏫 Logo */
.school-overlay-logo {
  height: 180px;
  margin-right: 15px;
}

/* 📝 Text */
.school-overlay-text h1 {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

.school-overlay-text p {
  color: #fff;
  font-size: 1.5rem;
  margin: 5px 0 0;
}

/* 🖼 Stack images spacing */
.image-stack img {
  width: 100%;
  margin-bottom: 10px;
}

/* 📱 Responsive tweaks */
@media (max-width: 767px) {
  .video-overlay {
    flex-direction: column;
    text-align: center;
  }

  .school-overlay-logo {
    margin: 0 0 10px 0;
    height: 60px;
  }

  .school-overlay-text h1 {
    font-size: 1.5rem;
  }

  .school-overlay-text p {
    font-size: 0.9rem;
  }
}
/* Force the navbar nav to float right */
.navbar-default .navbar-nav {
  float: right !important;
  margin: 0 !important;
}

/* Make the link text white */
.navbar-default .navbar-nav > li > a {
  color: #fff !important;
}

/* On hover / focus, slightly lighter (still whiteish) */
.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus {
  color: #f0f0f0 !important;
  background-color: transparent !important;
}

/* If there is a .navbar-brand or logo part, ensure it doesn't also push nav */
.navbar-default .navbar-header {
  float: left;  /* keep brand on left */
}

/* (Optional) In case dropdown menus are affected, make them look consistent */
.navbar-default .navbar-nav .dropdown-menu > li > a {
  color: #000;  /* or white if preferred */
}
.navbar-default .navbar-nav .dropdown-menu {
  background-color: #fff;  /* or a dark background if you want contrast */
}

/* ✅ Desktop: right align nav items */
@media (min-width: 768px) {
  .navbar-default .navbar-nav {
    float: right !important;
    margin: 0;
  }
}

/* ✅ Mobile: fix toggle button to the right */
.navbar-header {
  float: none;
}
.navbar-toggle {
  display: block;
  float: right;
  margin-right: 15px;
  margin-top: 8px;
}

/* Center the brand on mobile (optional) */
.navbar-brand {
  float: none;
  display: block;
  text-align: center;
}

/* ✅ Ensure collapsed menu appears below header and full width */
.navbar-collapse {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}
.navbar-collapse.collapse {
  display: none !important;
}
.navbar-collapse.collapse.in {
  display: block !important;
}

/* ✅ Mobile menu: make background match navbar and text white */
.navbar-default .navbar-nav > li > a {
  color: #fff !important;
}
.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus {
  background-color: rgba(255, 255, 255, 0.1);
}

/* Mobile dropdown menu fix */
.navbar-nav {
  float: none !important;
  margin: 7.5px -15px;
}
.navbar-nav > li {
  float: none;
}
.navbar-nav > li > a {
  padding-top: 10px;
  padding-bottom: 10px;
}
/* ==============================
   HOUSEPOINTS
================================ */
.housepoints { margin: 60px 0 40px; }
.housepoints a { text-decoration: none; }
.housepoints h2 {
  color: var(--pink);
  font-weight: 900;
}

.sl-housepoints {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 0 10px;
}

.sl-hp-entry {
  flex: 1 1 calc(25% - 20px);
  max-width: 25%;
  min-width: 220px;
  padding: 20px;
  text-align: center;
}
.sl-hp-house {
  font-weight: bold;
  font-size: 1.5em;
  margin-top: 10px;
}
.sl-hp-points {
  font-size: 2em;
  margin-top: 10px;
}
/* Housepoints: place markers (1st/2nd/3rd/4th) */
.sl-hp-entry { 
  position: relative; 
  overflow: visible; /* ensure the badge can sit above the box */
}

.place-label {
  position: absolute;
  top: 0;                 /* anchor at top edge of the box */
  left: 50%;
  transform: translate(-50%, -110%); /* sit above and centred */
  background: #ffd700;    /* gold badge */
  color: #000;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 0.9em;
  line-height: 1;
  z-index: 10;            /* above winner pulse and content */
  display: none;          /* toggled by .show */
  box-shadow: 0 2px 6px rgba(0,0,0,.15);
}

/* little pointer under the badge */
.place-label::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -6px;
  border: 6px solid transparent;
  border-top-color: #ffd700;
}

/* show state (set by JS) */
.place-label.show { 
  display: inline-block;
  animation: fadeInLabel 0.5s ease-in forwards;
}

/* keep it tidy on small screens */
@media (max-width: 575px) {
  .place-label {
    font-size: 0.8em;
    transform: translate(-50%, -115%);
  }
}

/* Winner highlight */
.sl-hp-entry.winner::before { animation: pulse-winner 1.5s infinite; }
@keyframes pulse-winner {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

/* Housepoint images */
[data-housename="Diamond"]::before,
[data-housename="Emerald"]::before,
[data-housename="Ruby"]::before,
[data-housename="Sapphire"]::before {
  content: "";
  display: inline-block;
  width: 200px;
  height: 200px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  margin: 5px auto;
}
[data-housename="Diamond"]::before { background-image: url('/webcontent/webimage/diamond.png'); }
[data-housename="Emerald"]::before { background-image: url('/webcontent/webimage/emerald.png'); }
[data-housename="Ruby"]::before { background-image: url('/webcontent/webimage/ruby.png'); }
[data-housename="Sapphire"]::before { background-image: url('/webcontent/webimage/sapphire.png'); }

/* House-specific colours */
[data-housename="Diamond"] .sl-hp-house { color: #f6c73b; }
[data-housename="Emerald"] .sl-hp-house { color: #358848; }
[data-housename="Ruby"] .sl-hp-house { color: #e34132; }
[data-housename="Sapphire"] .sl-hp-house { color: #297199; }

/* Responsive */
@media screen and (max-width: 1100px) {
.full-screen-video-container {
    position: relative;
    height: 60vh;
    overflow: hidden;
}
}
@media screen and (max-width: 991px) {
  .sl-hp-entry { flex: 1 1 calc(50% - 20px); max-width: 50%; }
	.row {
		margin-right: 0px;
    	margin-left: 0px;
	}
}
@media screen and (max-width: 575px) {
  .sl-hp-entry { flex: 1 1 100%; max-width: 100%; }
  .full-screen-video-container { height: 40vh; }
}