





/* == STANDARD SCHOOL LIFE CSS == */
/* Page Structure */
html {
	overflow-y: scroll;
	overflow-x: hidden;
}

body {
	font-family: "Montserrat", sans-serif;
	min-height: 100%;
	background-color: #fff;

}

h1, h2, h3 {
	font-family: "Montserrat", sans-serif;
	font-weight: bold;
	color: #007aa3;
}

/* Fix to add padding at the top of page for the collapsed nav bar */
@media screen and (max-width: 768px) {
	body {
		padding-top: 50px;
	}
}
.navbar-brand > img {
	margin-top: -10px;
	max-height: 42px;
}

a {
	color: #555555;
}

a:hover {
	color: #777777;
}

#mainbody {
	background-color: white;
	padding-top: 10px;
	border-radius: 10px;
	padding-bottom: 40px; /* Spacing between content and border */
	margin-bottom: 20px;
}
@media screen and (max-width: 768px) {
	#mainbody {
		border-radius: 0px;
	}
}
#sidenav-outer {
}
#bodycontent {

}
#header-outer {
	min-height: 250px;
	margin-bottom: 20px;
}
#header { padding-top: 20px; }
#motto { color: white; padding-top: 40px; }
#footer-outer {
	background-color: #007aa3;
	color: #fff;
	padding-top: 40px;
	padding-bottom: 40px;
}
#footer-outer a {
	color: #fff;
}
#footer-outer h3 {
	color: #fff;
}
/* End of Page Structure*/

/* Animation for sliding in pages */
.slideLeft {
	-moz-animation-name: slideLeft;
	-o-animation-name: slideLeft;
	animation-name: slideLeft;
	-webkit-animation-name: slideLeft;
	-moz-animation-duration: 1s;
	-o-animation-duration: 1s;
	animation-duration: 1s;
	-webkit-animation-duration: 1s;
	-moz-animation-timing-function: ease-in-out;
	-o-animation-timing-function: ease-in-out;
	animation-timing-function: ease-in-out;
	-webkit-animation-timing-function: ease-in-out;
	visibility: visible !important;
}

@keyframes slideLeft {
	0% {
		-moz-transform: translateX(150%);
		-ms-transform: translateX(150%);
		-o-transform: translateX(150%);
		-webkit-transform: translateX(150%);
		transform: translateX(150%);
		opacity: 0;
	}

	75% {
		-moz-transform: translateX(0%);
		-ms-transform: translateX(0%);
		-o-transform: translateX(0%);
		-webkit-transform: translateX(0%);
		transform: translateX(0%);
	}

	90% {
		-moz-transform: translateX(2%);
		-ms-transform: translateX(2%);
		-o-transform: translateX(2%);
		-webkit-transform: translateX(2%);
		transform: translateX(2%);
		opacity: 1;
	}

	100% {
		-moz-transform: translateX(0%);
		-ms-transform: translateX(0%);
		-o-transform: translateX(0%);
		-webkit-transform: translateX(0%);
		transform: translateX(0%);
	}
}
/* End of page structure */

/* Side menu */
.lr-sidemenu {
}

.lr-navlist {
	list-style: none;
	padding-left: 0;
}

.lr-navlist li {
	margin: 0;
}
.lr-navlist li a {
	display: block;
	text-decoration: none;
	color: #777777;
	padding: 5px;
	border-bottom: 1px dashed #555555;
	-moz-transition: all .25s ease-in-out;
	-o-transition: all .25s ease-in-out;
	-webkit-transition: all .25s ease-in-out;
	transition: all .25s ease-in-out;
	background-color: #eeeeee;
}

.lr-navlist li a:hover {
	color: #000000;
	box-shadow: 0 0 13px rgba(128, 128, 128, 0.50);
	-moz-transform: translateX(20px);
	-ms-transform: translateX(20px);
	-o-transform: translateX(20px);
	-webkit-transform: translateX(20px);
	transform: translateX(20px);
	border-top-right-radius: 20px;
	border-bottom-right-radius: 20px;
	border-bottom: 1px solid #eeeee;
}
/* End of side menu */

/* Page/Article */
.page-title {
}

.page-subtitle {
}

.page-paragraph {
}

.page-image {
}

.page-quote {
}

.page-boxout {
    margin-left: -15px !important;
    margin-right: -15px !important;
}

.page-hyperlink {
}
.page-file {
}

.page-bulletlist {
}

.gallery-item {
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	margin: 0;
	-moz-transition: all 0.5s;
	-o-transition: all 0.5s;
	-webkit-transition: all 0.5s;
	transition: all 0.5s;
	transform: scale(0.8, 0.8);
	height: 200px;
	display: flex;
	align-items: center;
}

.gallery-item:hover {
	transform: scale(1.0, 1.0);
	box-shadow: 0 10px 20px rgba(128, 128, 128, 0.75);
}
.page-image > div {
	text-align: center;
	margin: 20px auto;
}

.page-image > div > img {
	width: 100%;
	max-width: 600px;
	display: block;
	margin: 0 auto;
}
.page-image-25 > div > img {
	width: 25%;
	max-width: 600px;
	display: block;
	margin: 0 auto;
}
.page-image-50 > div > img {
	width: 50%;
	max-width: 600px;
	display: block;
	margin: 0 auto;
}

.page-quote > p {
	font-style: italic;
	text-align: center;
	margin: 20px auto;
}

.page-boxout > div > p {
	background-color: #007aa3;
	color: #fff;
	font-size: 1.8em;
	font-weight: 900;
	padding: 15px;
	margin-left: -15px;
	margin-right: -15px;
	margin-top: 15px;
}

.page-bulletlist > div > ul {
}

.page-imageslider .carousel-inner > .item > img,
.carousel-inner > .item img {
	max-height: 300px;
	margin: 0 auto;
}
.page-imageslider .carousel-control.left, .page-imageslider .carousel-control.right {
	background-image: none;
}
.fa-external-link:before {
    content: "\f08e";
	font-size: 1.2em;
  position: absolute;
  right: 0;
    top: 50%;
    transform: translateY(-50%);
	padding-right: 20px;
}
.page-file a:hover {
	color: #007aa3;
	border:2px solid #007aa3;
}
.page-hyperlink {
	margin-top:10px;
}
.page-hyperlink a {
	margin: auto;
	font-weight: 900;
	font-size: 1.3em;
	color: #fff;
    padding: 15px 50px 15px 15px;
    display: block;
    background-color: #b60057;
    margin-bottom: 10px;
	border: 4px solid #fff;
	margin-left: -15px;
	margin-right: -15px;
	margin-top: 15px;
}
.page-hyperlink a:hover {
	color: #b60057;
	background-color: #fff;
	border: 4px solid #b60057;
}
.page-file .fa.fa-external-link:before {
    content: "\f1c1" !important;
    font-size: 2.4em;
}

.page-file a {
	margin: auto;
	color: #fff;
    padding: 15px 50px 15px 15px;
    display: block;
    background-color: #b60057;
    margin-bottom: 10px;
	border:2px solid #b60057;
}
.page-file a:hover {
    background-color: #fff;
}
.page-file a:hover .fa.fa-external-link:before{
    font-size: 2em;
}
/* End of Page/Article */

/* Messages */
.message {
	position: relative;
	padding: 15px;
	color: #000;
	background: #dddddd;
	-webkit-border-radius: 20px;
	-moz-border-radius: 20px;
	border-radius: 20px;
}

.message:after {
	content: "";
	position: absolute;
	bottom: -15px;
	left: 40px;
	border-width: 15px 15px 0;
	border-style: solid;
	border-color: #dddddd transparent;
	display: block;
	width: 0;
}

.messagedate {
	text-align: right;
	margin-bottom: 1.8em;
	font-size: .75em;
}
/* End of Messages */

/* Category Items */
.cat-item {
	margin-bottom: 0;
	padding-bottom: 10px;
	padding-top: 10px;
	border-bottom: 1px dotted #777777;
}

.cat-item:hover {
	background-color: #ffffca;
}

.cat-title {
	margin-top: 0;
}

.cat-summary {
}
/* End of Category Items */

/* Newsletters */
.nl-item {
	margin-bottom: 20px;
}

.nl-title {
	margin-top: 0;
}

.nl-summary {
}

.nl-date {
}
/* End of Newsletters */

/* Document List */
.dl-item {
	margin-bottom: 20px;
}

.dl-title {
	margin-top: 0;
}

.dl-filename {
}
/* End of Document List */

/* Calendar */
.cal-event {
	color: black;
	border-bottom: 1px dotted #777777;
	padding-top: 10px;
	padding-bottom: 10px;
}

.cal-event:hover {
	background-color: #ffffca;
}

.cal-dateblock {
	border-right: 1px dotted #777777;
}

.cal-day {
	display: block;
}

.cal-dayofmonth {
	font-size: 2em;
	display: block;
}

.cal-monthyear {
	display: block;
}

.cal-time {
	display: block;
	font-size: 0.8em;
}

.cal-title {
	margin-top: 5px;
	color: black;
}

.cal-summary {
	display: block;
}
/* End of Calendar */

/* Homework */
.hw-student {
	border-bottom: 1px solid #777777;
	padding-top: 10px;
	padding-bottom: 0;
	margin-bottom: 0;
}

.hw-item {
	margin-bottom: 0;
	padding-bottom: 10px;
	padding-top: 10px;
	border-bottom: 1px dotted #777777;
}

.hw-item:hover {
	background-color: #ffffca;
}

.hw-title {
	margin-top: 0;
}

.hw-summary {
}

.hw-date {
}
/* End of Homework */


/* Tables */
.page-table td { border: 1px solid #bbbbbb !important; }
.cellshaded { background-color: #dddddd; }

.page-table-container { overflow-x: auto; }

.sl-searchbox { margin-bottom: 5px; }
@media screen and (max-width: 769px) {    
	.sl-searchbox {
		margin-bottom: 15px;
		margin-top: 15px;
	}
}
.sl-searchresult {
	margin-bottom: 10px;
}
.sl-searchresulttitle {
	display: block;
	font-size: 1.2em;
	font-weight: bold;
}
.sl-searchresulttext {
	display: block;
}
.sl-searchresultdate {
	display: block;
	font-size: 0.8em;
}

.page-video {
	margin-top: 15px;
}

.video-responsive {
	overflow:hidden;
	padding-bottom:56.25%;
	position:relative;
	height:0;
}

.video-responsive iframe {
	left:0;
	top:0;
	height:100%;
	width:100%;
	position:absolute;
}
/* Sticky navbar base */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
    background-color: transparent;
    transition: background-color 0.3s ease, padding 0.3s ease;
}

/* Navbar when scrolled */
.navbar.scrolled {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Change menu text to black */
.navbar.scrolled .navbar-nav > li > a {
    color: #000 !important;
}

/* Optional: change icon colours too */
.navbar.scrolled .navbar-nav > li > a i {
    color: #000 !important;
}

/* Optional: dropdown background on scroll */
.navbar.scrolled .dropdown-menu {
    background-color: #fff;
}

.navbar.scrolled .dropdown-menu > li > a {
    color: #000 !important;
}

.navbar.scrolled .dropdown-menu > li > a:hover {
    background-color: #f5f5f5;
    color: #b60057 !important; /* your brand pink for hover */
}
/* Default logo styling */
.navbar-brand img {
  transition: all 0.3s ease;
  max-height: 80px; /* Starting height */
}

/* Colour logo is hidden initially */
.navbar-brand .logo-scrolled {
  display: none;
}

/* When navbar is scrolled */
.navbar.scrolled .navbar-brand .logo-default {
  display: none;
}

.navbar.scrolled .navbar-brand .logo-scrolled {
  display: inline;
}

/* Shrink the logo smoothly */
.navbar.scrolled .navbar-brand img {
  max-height: 45px; /* Match navbar height */
  transition: all 0.3s ease;
}
.connect-icons {
  display: inline-flex;
  gap: 10px;
}

.connect-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: #fff;
  color: #007aa4!important;
  text-decoration: none;
  font-size: 20px;
  border-radius: 4px; /* Slightly rounded corners */
  transition: background-color 0.3s, color 0.3s;
}

.connect-icon:hover {
  background-color: rgb(0, 122, 163,0.1);
  color: #fff!important;
	text-decoration: none;
}
.sl-advlayout-row {
	margin-left: -15px;
	margin-right: -15px;
}

/* Base */
.speech-blue,
.speech-red {
  position: relative;
  display: inline-block;       /* grows with content */
  width: 100%;
  margin: 20px 0;
  padding: 15px 20px;
  line-height: 1.4;
  border-radius: 10px;
  color: #fff;                  /* text colour */
  box-sizing: border-box;
  overflow: visible;            /* avoid clipping by local rules */
}

/* Colours */
.speech-blue { background-color: #007aa3; }
.speech-red  { background-color: #b60057; }

/* Tail (left by default) */
.speech-blue::after,
.speech-red::after {
  content: "";
  position: absolute;
  bottom: -10px;                /* how far the tail drops */
  left: 30px;                   /* tail x-position */
  width: 0; height: 0;
  border-style: solid;
  border-width: 10px 10px 0 10px;
}

/* Match tail colour explicitly (avoid inherit/currentColor quirks) */
.speech-blue::after { border-color: #007aa3 transparent transparent transparent; }
.speech-red::after  { border-color: #b60057 transparent transparent transparent; }

/* Optional: tail on the right */
.speech-right::after {
  left: auto;
  right: 30px;
}

/* Small-screen tweak */
@media (max-width: 600px) {
  .speech-blue,
  .speech-red {
    padding: 12px 16px;
    font-size: 0.95rem;
  }
}
/* Grey speech bubble */
.speech-grey {
  position: relative;
  display: inline-block;
  width: 100%;
  margin: 20px 0;
  padding: 15px 20px;
  line-height: 1.4;
  border-radius: 10px;
  color: #000;                  /* black text for contrast */
  background-color: #ededed;    /* grey background */
  box-sizing: border-box;
}

/* Tail on right, halfway down */
.speech-grey::after {
  content: "";
  position: absolute;
  top: 40%;                     /* halfway down */
  right: -15px;                 /* position just outside bubble */
  transform: translateY(-50%);  /* vertically centre tail */
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 0 10px 15px; /* triangle pointing right */
  border-color: transparent transparent transparent #ededed;
}

.background-colour-purple {
	color: #fff;
	background-color: #9922ed;
	border-radius: 10px;
	padding: 50px 10px;
	margin-top: 20px;
	height: 227px;
}
@media screen and (max-width: 1199px) {
	.background-colour-purple {
		height: 182px;
	padding: 20px 10px;
	}
}
@media screen and (max-width: 991px) {
  .background-colour-purple {
    display: block;
    width: 100%;
    margin: 0 auto;
    float: none;
    left: 0;
    right: 0;
    height: auto;       /* makes height adapt to text content */
    padding: 25px 20px; /* comfortable spacing on mobile */
  }

  /* Neutralise Bootstrap column padding on smaller screens */
  .col-sm-12.col-md-6.sl-advlayout-col {
    padding-left: 0;
    padding-right: 0;
  }
}
/* Hide the checkbox */
.toggle-box input[type="checkbox"] {
  display: none;
}

/* Style the button */
.toggle-btn {
  display: inline-block;
  background-color: #007aa3; /* blue variant */
  color: #fff;
  padding: 10px 20px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  text-align: center;
  transition: background-color 0.3s ease;
}

.toggle-btn:hover {
  background-color: #005f82;
}

/* Hide the content by default */
.toggle-content {
  display: none;
  margin-top: 15px;
  background: #f6f6f6;
  padding: 15px;
  border-radius: 8px;
}

/* Show content when checkbox is checked */
.toggle-box input[type="checkbox"]:checked ~ .toggle-content {
  display: block;
}

/* Optional red version */
.toggle-btn.red {
  background-color: #b60057;
}

.toggle-btn.red:hover {
  background-color: #930045;
}

.open-link-external {
}
/* Swap logos automatically under 1210px */
@media screen and (max-width: 1210px) {
    .navbar-brand .logo-default {
        display: none !important;
    }
    .navbar-brand .logo-scrolled {
        display: inline !important;
        max-height: 40px; /* optional, adjust as needed */
    }
}
@media screen and (max-width: 430px) {
	.carousel-caption h1 {
		font-size: 26px;
	}
	.kimcfv {
		margin: 10px 20px!important;
	}
}
@media (max-width: 768px) {
    .navbar {
        background-color: #fff !important;
    }

    /* Ensure menu text is readable */
    .navbar .navbar-nav > li > a {
        color: #000 !important;
    }

    /* Dropdown background */
    .navbar .dropdown-menu {
        background-color: #fff;
    }
}
#mainbody {
	margin-top: 145px;
    margin-left: auto;
    margin-right: auto;
}
#wmps-navbar .navbar-brand img {
    height: 150px!important;
}
.navbar {
    background: rgba(0, 131, 212)!important;
}
/* Marquee Banner CSS */
marquee {
	color: #fff;
	white-space: nowrap;
	font-size: 1.4em;
}
.scroll {
	list-style-type: none;
	margin: 14px;
	padding: 0;
	overflow: visible;
}
.scroll li {
	display: inline-block;
	padding: 0 20px 0 20px;
	border-right: 1px solid white;
}
.scroll li:last-child {
	border-right: none;
}
.scroll li a {
	display: block;
	color: white;
	text-align: center;
	text-decoration: none;
}

div.fixed {
  position: fixed;
  bottom: 0;
	width: 101%;
	z-index: 300;
}	
@media screen and (max-width: 1050px) {
#wmps-navbar .navbar-brand img {
    height: 55px !important;
}
	#mainbody {
    margin-top: 85px;
}
}