


/* --- Addons ---- */
.row_head_cloud_white_grey {
background-image: url(/_styles/images/row_head_cloud_white_grey.svg);
height: 90px;
background-attachment: unset;
background-position: center;
background-repeat: repeat-x;
background-size: unset;
}
.imageBorderOnHover img{
border: solid 6px transparent;
transition: .5s ease !important;
}
.imageBorderOnHover img:hover {
 border: solid 6px white;
}

.imageBorderOnHover .img-responsive{
border: solid 6px transparent;
transition: .5s ease !important;
}
.imageBorderOnHover .img-responsive:hover {
 border: solid 6px white;
}
.imageShrink img {
    padding: 0 120px 0 120px;
}
.imageRotateCW img  {
transform: rotate(5deg);
}


.verticalCentredText2Col .content .colv-50{
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.verticalCentredText2Col .content .colv-2{
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.verticalCentredText2Col .title {
line-height: 1;
margin-top: 0;
margin-bottom: 0;
padding: 0;
min-height :20px;
}


.verticalCentredText2Col .title h2 {
margin-bottom: 0.5em;
line-height: 1em;
}
.imageRotateAC img  {
transform: rotate(-5deg);
}


.paperCurl2 {
background-image: url("/_styles/images/_backgroundImage/secshaddow.png");
background-position: top;
background-repeat: no-repeat;
background-size: 100% 100%; 
content: '';
height: 15px;
width: 90%;
max-width: 1250px;
margin-right: auto;
margin-left: auto;
opacity: 0.8;
}
.paperCurl2 .pr-footer {
height: 15px;
}
.customer_grad_1bg {
background-image: linear-gradient(to bottom, #140B98, #140B98);
}
.customer_grad_2bg {
background-image: linear-gradient(to bottom, #EFBF00, #EFBF00);
}
.imageDarkenOnHover img {
    -webkit-filter: brightness(100%);
}

.imageDarkenOnHover img:hover {
    -webkit-filter: brightness(70%);
    -webkit-transition: all 1s ease;
    -moz-transition: all 1s ease;
    -o-transition: all 1s ease;
    -ms-transition: all 1s ease;
    transition: all 1s ease;
}
.row_head_cloud_grey_white {
background-image: url(/_styles/images/row_head_cloud_grey_white.svg);
height: 90px;
background-attachment: unset;
background-position: center;
background-repeat: repeat-x;
background-size: unset;
}
.hd2 {
border-bottom: none;
}
.row_footer_cloud_white_grey {
background-image: url(/_styles/images/row_footer_cloud_white_grey.svg);
height: 90px;
background-attachment: unset;
background-position: center;
background-repeat: repeat-x;
background-size: unset;
}
.row_footer_cloud_grey_white {
background-image: url(/_styles/images/row_footer_cloud_grey_white.svg);
height: 90px;
background-attachment: unset;
background-position: center;
background-repeat: repeat-x;
background-size: unset;
}
.row_footer_cloud_white_mid {
background-image: url(/_styles/images/row_footer_cloud_white_mid.svg);
height: 90px;
background-attachment: unset;
background-position: center;
background-repeat: repeat-x;
background-size: unset;
}
.row_head_cloud_white_mid {
background-image: url(/_styles/images/row_head_cloud_white_mid.svg);
height: 90px;
background-attachment: unset;
background-position: center;
background-repeat: repeat-x;
background-size: unset;
}
.imageHighlightOnHover img {
    -webkit-filter: brightness(100%);
}

.imageHighlightOnHover img:hover {
    -webkit-filter: brightness(130%);
    -webkit-transition: all 1s ease;
    -moz-transition: all 1s ease;
    -o-transition: all 1s ease;
    -ms-transition: all 1s ease;
    transition: all 1s ease;
}
.allWhiteText {
    color:white!important ;
}

.allWhiteText   .title h1  {
    color:white!important;
}

.allWhiteText   .title h2  {
    color:white!important;
}

.allWhiteText   .title h3  {
    color:white!important;
}

.allWhiteText  .title h4  {
    color:white!important;
}

.allWhiteText  .title h5  {
    color:white!important;
}

.allWhiteText  .title h6  {
    color:white!important;
}

.allWhiteText  .title a  {
    color:white!important;
}

.allWhiteText   a  {
    color:white!important;
}

.allWhiteText .docTableWithIcons {
    border-color: white!important;
}

.allWhiteText .docList  {
    color: white!important;
}

.allWhiteText  .docListItem  {
    color: white!important;
}

.allWhiteText .docList a {
    border-color: white!important;
    color: white;
}

.allWhiteText .docList .fileInfo {
    color: #ffffff!important; 
    opacity: 0.8;
} 

.allWhiteText .linksList .notes {
    color: #ffffff!important; 
    opacity: 0.8;
}

.allWhiteText .notes {
    color: #ffffff!important; 
    opacity: 0.8;
} 
.boxShadowRow  {
-webkit-box-shadow: 3px 5px 10px -1px rgba(0,0,0,0.45); 
box-shadow: 3px 5px 10px -1px rgba(0,0,0,0.35);
    padding-top: 30px;
    padding-right: 30px;
    padding-bottom: 30px;
    padding-left: 30px;
}
.boxShadowRowInset {
-webkit-box-shadow: inset 3px 5px 10px -1px rgba(0,0,0,0.45); 
box-shadow: inset 3px 5px 10px -1px rgba(0,0,0,0.45);
    padding-top: 30px;
    padding-right: 30px;
    padding-bottom: 30px;
    padding-left: 30px;
}
.secPadding {
	padding-top: 20px;
    padding-right: 30px;
    padding-bottom: 30px;
    padding-left: 30px; 
    margin-right: 5px;
    margin-left: 5px;
}
.padding80 {
padding-top:80px!important;
padding-bottom:80px!important;
}
.imageScaleOnHover img{
transition: all .6s ease;
}
.imageScaleOnHover img:hover {
transform: scale(1.1);
}

.imageScaleOnHover .img-responsive{
transition: all .6s ease;
}
.imageScaleOnHover .img-responsive:hover {
transform: scale(1.1);
}
.secContentTWhiteBG  {
    background-color:rgba(255, 255, 255, 0.68);
padding-top: 20px;
    padding-right: 30px;
    padding-bottom: 30px;
    padding-left: 30px;
border-radius:10px;
}
.secContentTBlackBG {
    background-color:rgba(0, 0, 0, 0.38);
	padding-top: 20px;
    padding-right: 30px;
    padding-bottom: 30px;
    padding-left: 30px;
	border-radius:10px;
	color:white;
}

.secContentTBlackBG   .title  {
	color:white;
}

.secContentTBlackBG .docTableWithIcons {
border-color: white;
}

.secContentTBlackBG .docList  {
color: white;
}
.secContentTBlackBG .docList a {
border-color: white;
color: white;
}

.secContentTBlackBG .docList .fileInfo {
color: #fbfbfba6;
} 

.secContentTBlackBG  .notes {
color:#fffdfdbf;
} 

.fixedBackground {
 background-attachment: fixed;
}
.hideDiv {
display: none;
}
.padding0 {
    padding-top: 0;
    padding-bottom: 0;
}
.padding10 {
padding:10px;

}
.padding20 {
padding:20px;
}
.blurFilter  {
-webkit-backdrop-filter: blur(4px);
backdrop-filter: blur(4px);
}
.roundBorderLarge {
	padding-top: 50px;
padding-right: 50px;
padding-bottom: 65px;
padding-left: 50px;
	border-radius:50px;
}
.roundBorderSmall {
padding-top: 20px;
padding-right: 20px;
padding-bottom: 20px;
padding-left: 20px;
border-radius:10px;
}
.rotateAnticlockwise {
-webkit-transform: rotate(-3deg);
transform: rotate(-3deg);
}
.rotateClockwise {
-webkit-transform: rotate(3deg);
transform: rotate(3deg);
}
.paperCurl {
	position:relative;
	background-color:white;
	padding:20px;
}

.paperCurl:before, .paperCurl:after {            
    bottom:22px;
	content: "";
	position: absolute;
	z-index: -1;
	-ms-transform: rotate(-5deg);
	-webkit-transform: rotate(-5deg);
	-o-transform: rotate(-5deg);
	-moz-transform: rotate(-5deg);
	box-shadow: 0 15px 5px rgba(0, 0, 0, 0.2);
	height: 50px;
	max-width: 50%;
	width: 50%;
	left:3px;
}

.paperCurl:after {
	-ms-transform: rotate(5deg);
	-webkit-transform: rotate(5deg);
	-o-transform: rotate(5deg);
	-moz-transform: rotate(5deg);
	left: auto;
	right: 2px;
}
.insetShaddow1 {
-moz-box-shadow:   inset 0  3px 10px #00000082;
-webkit-box-shadow:  inset 0  3px 10px #00000082;
box-shadow: inset 0  3px 10px #00000082;
}
.shadow_small {
box-shadow: 3px 3px 5px #00000052;
}
.customer_col_1bg {
	background-color: #140B98;	
}
.customer_col_2bg {
background-color: #140B98;
}
.customer_col_3bg {
background-color: #EFBF00;
}
.customer_col_4bg {
background-color: #EFBF00;
}
.customer_col_5bg {
background-color: #5045E4;
}
.customer_col_6bg {
background-color: #FFF;
}
.customer_col_7bg {
background-color: #F4F4FF;
}
.customer_col_8bg {
background-color: #FEFCF3;
}
.foliageTexture3_bg {
background-image: url(/_styles/images/_backgroundImage/foliageAutumSeamlessTexture3.jpg);
background-position: center;
}
.noticeboardBG2 {
background-image: url(/_styles/images/noticeboard-bg2.jpg);
min-height: 400px;
background-attachment: fixed;
background-position: center;
background-repeat: no-repeat;
background-size: cover;
}
.googlemapBG {
background-image: url(/_styles/images/googlemap-bg2.jpg);
min-height: 400px;
background-attachment: fixed;
background-position: center;
background-repeat: no-repeat;
background-size: cover;
}
.paperTexture1_bg  {
background-image: url(/_styles/images/_backgroundTexture/paperSeamlessTexture1.png);
background-position: center;
}
.paperTexture2bg {
background-image: url(/_styles/images/_backgroundTexture/ep_naturalwhite.png);
background-position: center;
backdrop-filter: opacity(0.7);
}
.musicPaperTexture1_bg {
background-image: url(/_styles/images/_backgroundImage/musicPaperSeamlessTexture1.jpg);
background-position: center;
}
.graphyPaper{
background-image: url(/_styles/images/_backgroundPattern/graphy_@2X.png);
background-position: center;
backdrop-filter: opacity(0.7);
}
.snowTexture1_bg  {
background-image: url(/_styles/images/_backgroundTexture/snowSeamlessTexture1.png);
background-position: center;
}
.skyTexture1_bg {
background-image: url(/_styles/images/_backgroundImage/skySeamlessTexture1.jpg);
background-position: center;
}
.foliageTexture1_bg {
background-image: url(/_styles/images/_backgroundImage/foliageSeamlessTexture1.jpg);
background-position: center;
}
.foliageTexture2_bg {
background-image: url(/_styles/images/_backgroundImage/foliageAutumSeamlessTexture2.jpg);
background-position: center;
}
.corkBoardTexture1 {
background-image: url(/_styles/images/_backgroundTexture/corkboard1.png);
background-position: center;
}
.whiteBrickwall {
background-image: url(/_styles/images/_backgroundPattern/brickwall_@2X.png);
background-position: center;
backdrop-filter: opacity(0.7);
}
.bluesnowPattern {
background-image: url(/_styles/images/_backgroundPattern/bluesnowpattern.png);
background-position: center;
backdrop-filter: opacity(0.7);
}
.emailPattern {
background-image: url(/_styles/images/_backgroundPattern/emailPattern.png);
background-position: center;
backdrop-filter: opacity(0.7);
}
.sportsPattern {
background-image: url(/_styles/images/_backgroundPattern/sportsPattern.png);
background-position: center;
backdrop-filter: opacity(0.7);
}
.woodboardPlusItems_bg {
background-image: url(/_styles/images/_backgroundImage/woodboardPlusItems.jpg);
background-position: center;
background-repeat: no-repeat;
background-size: cover;
}
.hWoodboardPlusItems_bg {
background-image: url(/_styles/images/_backgroundImage/horWoodPlusItems.jpg);
background-position: center;
background-repeat: no-repeat;
background-size: cover;
}
.blackboard_bg {
background-image: url(/_styles/images/_backgroundImage/blackboard.jpg);
background-position: center;
background-repeat: no-repeat;
background-size: cover;
}
.redbg{
background: red;
}
.green_bg  {
background-color: green;
}
.red_bg {
background-color: red;
}


/* --- Site Styles ---- */
.dot {
  background-color: var(--siteCol1);!important;
}
.calbg {
background:  var(--siteCol7);
border-radius: 8px;
}

.calendar {
width: 100%;
height: 460px;
}

.calendar .header_copy,
.calendar .days,
.calendar .day_title,
.calendar .event_item > .Title {
font-size: 1.1em;
font-weight: 400;
color:  var(--siteCol1);
}

.calendar .day_title {
margin-top: 9px;
margin-bottom: 0;
}

.calendar .event_item > .Title {
margin-left: 6px;
font-size: 1.1em;
}

.calendar .event_item > .Copy {
font-size: 1.1rem;
font-weight: bold;
margin-left: 11px;
color:  var(--siteCol5);
margin-bottom: 5px;
}

.calendar .event_item {
line-height: 1.5;
}

.calendar .iconButton {
font-size: 14px;
color: v var(--siteCol1) !important;
}
/* --- sotable1 ---- */

#sotable1 {
width: 100%;
}

#sotable1 th {
padding: 8px;
background-color: #CACFD2;
color: white;
}

#sotable1 tr:nth-child(even){background-color: #F2F3F4;}

#sotable1 td, #sotable1 th {
border: 1px solid #CACFD2;
padding: 8px;
}


/* --- sotable2 ---- */

#sotable2 {
width: 100%;
}

#sotable2 th {
padding: 8px;
background-color: #E5E7E9;
color: #626567;
}

#sotable2 tr:nth-child(even){background-color: #F2F3F4;}

#sotable2 td, #sotable2 th {
border: 3px solid #E5E7E9;
padding: 8px;
}

/* --- sotable3 ---- */

#sotable3 {
width: 100%;
background-image: linear-gradient(to top, #e5e7e9, #ecedef, #f2f3f4, #f9f9f9, #ffffff);
}

#sotable3 th {
padding: 8px;
background-color: #CACFD2;
color: #424949;
}

#sotable3 tr:nth-child(even){background-color: transparent;}

#sotable3 td, #sotable3 th {
border: 1px solid #CACFD2;
padding: 8px;
}


/* --- sotableAutoColour ---- */

#sotableAutoColour {
width: 100%;
}

#sotableAutoColour th {
padding: 8px;
background-color: #FF3D00;
color: #fff;
}

#sotableAutoColour tr:nth-child(even){background-color: #F2F3F4;}

#sotableAutoColour td, #sotableAutoColour th {
border: 1px solid #FF3D00;
padding: 8px;
}




body {
    overflow-x:hidden;
 }

.schoolPopout3 .fa {
 font-size: 28px;
}

.schoolPopout3__label {
   font-size: 16px;
}

.schoolPopout3 {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    position: absolute;
    z-index: 2;
    padding-top: 110px;
}

.schoolPopout3--right {
 right: 0;
}

.schoolPopout3__container {
 width: 250px;
 padding: 0;
}

.schoolPopout3--right .schoolPopout3__container {
 transform: translateX(72%);
}

.schoolPopout3__button-container {
 margin: 10px 0;
 width: 100%;
 padding: 10px;
 transition: all .5s ease-out;
}
/*Bar Colour*/
.schoolPopout3--right .schoolPopout3__button-container {
 background-color: var(--siteCol1);
 text-align: left;
 border-radius: 15px 0 0 15px;
 box-shadow: 9px 9px 9px rgba(0, 0, 0, 0.4);
}
/* Circle Colour*/
.schoolPopout3--right .schoolPopout3__circle {
    background-color: var(--siteCol6);
    margin-right: 10px;
}
/* Icon Colour */
.schoolPopout3__button,
.schoolPopout3__circle svg {
 color: var(--siteCol3);
}

.schoolPopout3__button:hover {
 color: var(--siteCol3);
}
.schoolPopout3__button:visited,
.schoolPopout3__button:active,
.schoolPopout3__button:focus {
 color: var(--siteCol3);
}


/* Font */
.schoolPopout3__label {
 font-family: 'Roboto', sans-serif;
 font-weight: 600;
 margin: 0;
color: var(--siteCol6);
}

.schoolPopout3--right .schoolPopout3__button-container:hover {
 transform: translate(-70%, 0);
}

.schoolPopout3__button {
 text-decoration: none;
}

.schoolPopout3__button,
.schoolPopout3__circle {
 display: flex;
 align-items: center;
}

.schoolPopout3--right .schoolPopout3__button {
 justify-content: flex-start;
}

.schoolPopout3__circle {
 justify-content: center;
 padding: 5px;
 border-radius: 15%;
 width: 50px;
 height: 50px;
 font-size: 30px;
 text-align: center;
 transform: rotate(0deg);
}

@media screen and (max-width: 768px) {

.schoolPopout3 {
padding-top: 60px;
}

.schoolPopout3--right {
overflow: hidden;
}

#header-group {
width: 85%;
}

}
/* siteFonts */

:root {
--sitefont: "Questrial", sans-serif;
--sitefont2: "Questrial", sans-serif;
--siteCol1: #140B98;
--siteCol2: #140B98;
--siteCol3: #FFBF00; 
--siteCol4: #FFBF00; 
--siteCol5: #5045E4; 
--siteCol6: #FFF; 
--siteCol7: #F4F4FF; 
--siteCol8: #FEFCF3; 
}

.sm-blue ul,
.sm-blue ul ul {
border: 1px solid var(--siteCol5);
border-radius: 0 0 10px 10px !important;
box-shadow: 0 5px 12px rgb(0, 0, 0, 0.50);
}

#header-schoolName {
font-family: var(--sitefont2);
}

#header-schoolMotto {
font-family: var(--sitefont);
}

.sm-blue a, .sm-blue a:hover, .sm-blue a:focus, .sm-blue a:active, .sm-blue a.highlighted {
padding: 14px 18px;
}

.card-title {
font-weight: 700!important;
color: var(--siteCol1)!important;
}

.sm-blue > li {
border-left: 1px solid var(--siteCol5);
}

.pageSubHeadBg {
background: var(--siteCol6);
}

.scrollingTxt2 {
background: var(--siteCol5);
}


.btn.btn-primary,
.btn.btn-warning {
color: #fff;
background-color: var(--siteCol1)!important;
border-color: var(--siteCol1)!important;
box-shadow: none;
}

.btn.btn-primary:hover,
.btn.btn-warning:hover {
color: #fff;
background-color: var(--siteCol3)!important;
border-color: var(--siteCol3)!important;
box-shadow: rgba(0, 0, 0, 0.12) 0px 6px 6px, rgba(0, 0, 0, 0.24) 0px 6px 6px!important;
}

b, strong {
font-weight: 700;
}

.ui-widget,
.ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button  {
font-family: var(--sitefont);
}

h3, .h3 {
font-size: 2.25rem;
}

#header-schoolName {
letter-spacing: -1pt;
}

body, p, .p,
.linkTableWithIcons .title, 
.linkTableWithIcons .title a,
.linkTableWithIcons .title a:hover  {
font-family: var(--sitefont);
font-size: 1.2rem;
font-optical-sizing: auto;
}

.linkTableWithIcons .title, 
.linkTableWithIcons .title a,
.linkTableWithIcons .title a:hover  {
font-weight: 500;
}

.linkTableWithIcons .notes {
font-size: 0.9rem;
}

.docTableWithIcons .fileInfo {
font-size: .8rem;
}

.bubble,
.speech-bubble2,
.speech-bubble3,
.topnav,
.schoolPopout3__label,
.btn,
.card-text,
.owl-carousel .card-title,
.calendar .event_item > .Copy,
.footer .titlef,
.title {
font-family: var(--sitefont);
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6,
.title > h3, .title > h2,
.scrollingTxt,
.card-title {
font-family: var(--sitefont2);
font-weight: 700;
color: var(--siteCol1);
}

.btn {
font-family: var(--sitefont);
font-size: .95rem;
}

.nav-tabs .nav-item,
.sm-blue a, .sm-blue a:hover, .sm-blue a:focus, .sm-blue a:active,
.sm-blue ul a, .sm-blue ul a:hover, .sm-blue ul a:focus, .sm-blue ul a:active {
font-family: var(--sitefont);
font-weight: 400;
font-size: .9em;
}

@media screen and (max-width: 768px) {

body, p, .p,
.linkTableWithIcons .title, 
.linkTableWithIcons .title a,
.linkTableWithIcons .title a:hover  {
font-size: 1rem;
}

.docTableWithIcons td {
font-size: .8rem;
}


.main-menu-btn-icon, .main-menu-btn-icon:before, .main-menu-btn-icon:after {
background: ${col_6};
}

.pr-header,
.pr-footer  {
height: 0;
}
h1, h2, h3, .h1, .h2, .h3 {
margin-top: 10px;
margin-bottom: 5px;
}
.title {
margin-top: 20px;
}
.pageRow {
padding-top: 0;
padding-bottom: 0;
margin-top: 0;
margin-bottom: 0;
}

.content .colv-3 {
flex: 1 1 40%;
margin-top: 30px;
padding-top: 0px;
margin-top: 5px;
}

.content .colv-50 {
padding-bottom: 10px;
margin-top: 10px;
}

}

.panel-text {
font-family: var(--sitefont2);
}

.link-panels {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
  font-size: 1.5rem;
  font-weight: bold;
  width: 100%;
  position: relative;
}

/* =========================
   PANEL BASE
   ========================= */
.panel {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  color: #fff;
  padding: 80px 20px;
  cursor: pointer;
  text-decoration: none;
  overflow: hidden;
  z-index: 1;

  transition:
    box-shadow 0.35s ease;
}

.panel:hover {
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.45);
  z-index: 10;
}

/* =========================
   BACKGROUND IMAGE LAYER
   ========================= */
.panel::after {
  content: "";
  position: absolute;
  inset: -10%;
background-position: center top;
  background-size: cover;
  background-repeat: no-repeat;

  transform: scale(1) rotate(0deg);
  transition: transform 0.6s ease;
  z-index: 0;
}

/* per-panel images */
.link1::after {
  background-image: url("/_styles/images/linksbar-1.jpg");
}
.link2::after {
  background-image: url("/_styles/images/linksbar-2.jpg");
}
.link3::after {
  background-image: url("/_styles/images/linksbar-3.jpg");
}
.link4::after {
  background-image: url("/_styles/images/linksbar-4.jpg");
}

/* hover: internal zoom + rotate */
.panel:hover::after {
  transform: scale(1.15) rotate(1.5deg);
}

/* =========================
   COLOUR OVERLAY
   ========================= */
.panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  transition: background 0.35s ease;
}

    .link1::before { background: rgb(1, 0, 106, 0.70); }
    .link2::before { background: rgb(255, 191, 0, 0.70); }
    .link3::before { background: rgb(1, 0, 106, 0.70); }
    .link4::before { background: rgb(255, 191, 0, 0.70); }

    .link1:hover:before { background: rgb(255, 255, 255, 0.0); }
    .link2:hover:before { background: rgb(255, 255, 255, 0.0); }
    .link3:hover:before { background: rgb(255, 255, 255, 0.0); }
    .link4:hover:before { background: rgb(255, 255, 255, 0.0); }

    /* =========================
   CONTENT
   ========================= */
.panel span,
.panel i {
  position: relative;
  z-index: 2;
  color: #fff;
  transition: transform 0.35s ease;
}

.panel i {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.panel:hover span,
.panel:hover i {
  transform: scale(1.08);
}

/* =========================
   RESPONSIVE
   ========================= */
@media (max-width: 900px) {
  .link-panels {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .link-panels {
    grid-template-columns: 1fr;
  }

  .panel {
    padding: 40px 15px;
    font-size: 1rem;
  }

  .panel i {
    font-size: 1.5rem;
  }
}

.page-header {
position: relative;
overflow: hidden;
width: 100%;
min-height: 500px; 
}

.col-md-6 {
max-width: 100%;
flex: 0 0 80%;
top: 110px;
}

.page-header .container {
position: relative;
z-index: 2;
}

.page-header .title {
font-family: var(--sitefont2);
font-size: 3rem;
/*text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.4); */
line-height: 1.2;
}

.page-header .title,
.page-header p  {
font-family: var(--sitefont2);
color: var(--siteCol6);
}

@media screen and (max-width: 768px) {

.col-md-6 {
top: -120px!important;
}

}




/* ========  Text animation ========*/

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px); /* Starts 50px to the left */
    }
    to {
        opacity: 1;
        transform: translateX(0);    /* Ends at its natural position */
    }
}

/* 2. Set initial state (hidden) for the elements inside the text column */
.carousel-item .col-md-6.text-left > * {
    opacity: 0;
}

/* 3. Trigger the animation only when the carousel slide is '.active' */
.carousel-item.active .col-md-6.text-left h1,
.carousel-item.active .col-md-6.text-left p,
.carousel-item.active .col-md-6.text-left .buttons {
    animation-name: slideInLeft;
    animation-duration: 1.3s;
    animation-timing-function: ease-out;
    animation-fill-mode: forwards; /* Ensures elements stay visible after animating */
}

/* 4. Stagger the timing so they don't all slide at once */

/* Title (H1) - Slides first */
.carousel-item.active .col-md-6.text-left h1 {
    animation-delay: 0.7s;
}

/* Paragraph (P) - Slides second */
.carousel-item.active .col-md-6.text-left p {
    animation-delay: 1.1s;
}

/* Buttons Container - Slides last */
.carousel-item.active .col-md-6.text-left .buttons {
    animation-delay: 2.1s;
}






/* ========  KB Effect ========*/

/* Ensure the video fills the space like a background image */
video.kb-bg {
    object-fit: cover; /* This makes the video behave like background-size: cover */
    width: 100%;
    height: 100%;
    
    /* Optional: Remove the Ken Burns zoom from the video if it looks shaky */
    /* animation: none; */ 
}


    @keyframes kenBurns {
        0% { transform: scale(1); }
        100% { transform: scale(1.15); }
    }


    .kb-bg {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-position: center center;
        background-size: cover;
        z-index: 0;
        animation: kenBurns 20s ease-out infinite alternate; 
    }



/* ========  Gradient ========*/

/* 1. Set the initial state of the gradient to invisible (No changes here) */
.page-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, 
        rgba(0, 0, 0, 0.8) 0%, 
        rgba(0, 0, 0, 0.4) 40%, 
        rgba(0, 0, 0, 0) 100%);
    z-index: 1;
    opacity: 0; 
    transition: opacity 0.8s ease-in-out;
}

/* 2. MODIFIED: Only trigger animation if it is the FIRST slide AND active */
.carousel-item:first-child.active .page-header::before {
    animation: fadeInGradient 1s ease forwards;
    animation-delay: 0.2s; 
}

/* 3. The animation to fade the gradient in (No changes here) */
@keyframes fadeInGradient {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* 4. Ensure container stays above the gradient */
.page-header .container {
    position: relative;
    z-index: 2;
}

/* 5. Clean up: Ensure background images are handled correctly */
.kb-bg {
    z-index: 0;
}


.owl-carousel .card {
  box-shadow: none!important;
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 90%)!important;
box-shadow: 0 0 0 rgba(0, 0, 0, 0.6)!important;
    border: 1.5px solid #00259D;
    border-radius: 15px;
}


.page-header {
height: 600px;
background-position: center top;
}

header {
background: #140B98;
background: linear-gradient(360deg, rgb(20, 11, 152) 72%, rgb(15, 8, 116) 100%);
}

@media screen and (max-width: 768px) {

#header-group {
visibility: hidden;
}

header {
display: block;
background-image: url(../_styles/images/header_background_mobile.svg);
height: 300px;
background-size: 768px 300px;
width: 100%;
background-repeat: repeat-x;
background-position: center top;
position: relative;
z-index: 1;
}
.content .colv-3 {
flex: 1 1 40%;
margin-top: 30px;
padding-top: 0px;
margin-top: 5px;
}

.schoolPopout3 {
top: 20px;
}

.col-md-6 {
flex: 0 0 95%;
top: 100px;
}

.carouselQuote {
font-size: 1.8rem !important;
line-height: 1.1;
}

.carouselQuoteCredit {
font-size: 1.1rem !important;
}

.col-md-6  {
padding-right: 55px;
padding-left: 55px;
}

col-md-6 text-left,
footer .container,
.pageContent {
padding-right: 35px;
padding-left: 35px;
}


.page-header p {
line-height: 1;
}

.page-header {
height: 530px!important;
}

}
