


/* --- 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: 1150px;
margin-right: auto;
margin-left: auto;
opacity: 0.8;
}
.paperCurl2 .pr-footer {
height: 15px;
}
.customer_grad_1bg {
background-image: linear-gradient(to bottom, #00457C, #00457C);
}
.customer_grad_2bg {
background-image: linear-gradient(to bottom, #FF7300, #FF7300);
}
.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: #00457C;	
}
.customer_col_2bg {
background-color: #00457C;
}
.customer_col_3bg {
background-color: #FF7300;
}
.customer_col_4bg {
background-color: #FF7300;
}
.customer_col_5bg {
background-color: #418CC7;
}
.customer_col_6bg {
background-color: #FFF;
}
.customer_col_7bg {
background-color: #E4F3FF;
}
.customer_col_8bg {
background-color: #FFF5ED;
}
.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: v var(--siteCol3)!important;
}
.calbg {
background:  #DBF2FF;
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(--siteCol3);
}

.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(--siteCol1);
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: 40px;
}

.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--right {
overflow: hidden;
}
#header-group {
width: 85%;
}
}
/* siteFonts */

:root {
  --sitefont: "poppins", sans-serif;
  --sitefont2: "poppins", sans-serif;
  --siteCol1: #00457C;
  --siteCol2: #00457C;
  --siteCol3: #FF7300; 
  --siteCol4: #FF7300; 
  --siteCol5: #418CC7; 
  --siteCol6: #FFF; 
  --siteCol7: #E4F3FF; 
  --siteCol8: #FFF5ED; 
}

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

.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: "poppins", sans-serif;
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;
}

}

.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;
  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("https://demo.schools-online.co.uk/_styles/images/linksbar-1.jpg");
}
.link2::after {
  background-image: url("https://demo.schools-online.co.uk/_styles/images/linksbar-2.jpg");
}
.link3::after {
  background-image: url("https://demo.schools-online.co.uk/_styles/images/linksbar-3.jpg");
}
.link4::after {
  background-image: url("https://demo.schools-online.co.uk/_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: rgba(0, 69, 124, 0.7); }
    .link2::before { background: rgba(255, 115, 0, 0.7 ); }
    .link3::before { background: rgba(0, 69, 124, 0.7); }
    .link4::before { background: rgba(255, 115, 0, 0.7 ); }

    .link1:hover:before { background: rgba(255, 115, 0, 0.4 ); }
    .link2:hover:before { background: rgba(0, 69, 124, 0.4); }
    .link3:hover:before { background: rgba(255, 115, 0, 0.4 ); }
    .link4:hover:before { background: rgba(0, 69, 124, 0.4); }

/* =========================
   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;
  }
}

.topnav {
  overflow: hidden;
background: var(--siteCol1);
}

.priNav {
  background-color: var(--siteCol5)!important;
  color: var(--siteCol3);
}

.priQuick {
  background-color: var(--siteCol1)!important;
  color: var(--siteCol6);
}

.priNav:hover {
  background-color: var(--siteCol3)!important;
  color: var(--siteCol6);
}

.topnav a, .priQuick {
  float: right;
  color: #f2f2f2;
  text-align: center;
  padding: 10px 16px;
  text-decoration: none;
  font-size: 13px;
font-weight: 700;
border-left: 1px solid var(--siteCol1);
}

.topnav a.active {
  background-color: none;
  color: var(--siteCol6);
}
/* Make sure the image container can hold the overlayed button */
.articalImage.leftColImage {
  position: relative;
}

/* The circular yellow play button */
.play-button {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  justify-content: center;
  align-items: center;
  width: 80px;
  height: 80px;
  background-color: #FFD700; /* yellow */
  border-radius: 50%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  cursor: pointer;
  z-index: 5;
box-shadow: 0 10px 15px rgba(0, 0, 0, .3);
}

/* Add a subtle hover effect */
.play-button:hover {
  transform: translate(-50%, -50%) scale(1.05);
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
}

/* Triangle inside the circle */
.play-icon {
  width: 0;
  height: 0;
  border-left: 20px solid #000; /* black triangle */
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  margin-left: 5px; /* centers visually */
}

/* Existing Play Button Styling (optional enhancement) */
.introVideoButton {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  background: #FFD700;
  color: #000;
  font-weight: 600;
  text-decoration: none;
  border-radius: 30px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.introVideoButton i {
  font-size: 20px;
}

.introVideoButton:hover {
  background: #ffde33;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.3);
}

/* Popup Overlay */
.video-popup {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.75);
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(3px);
}

/* Popup Content Box */
.video-popup-content {
  position: relative;
  background: #000;
  border-radius: 10px;
  overflow: hidden;
  width: 90%;
  max-width: 800px;
  box-shadow: 0 0 25px rgba(0,0,0,0.4);
}

/* Video Player */
.video-popup-content video {
  width: 100%;
  height: auto;
  display: block;
}

/* Close Button */
.close-btn {
  position: absolute;
  top: -10px;
  right: -10px;
  font-size: 40px;
  color: #fff;
  cursor: pointer;
  transition: 0.2s ease;
}

.close-btn:hover {
  color: #FFD700;
}

/* Sidebar Container - UNCHANGED */
.ql-sidebar {
    position: fixed;
    top: 40%;
    left: -260px;
    width: 260px;
    height: auto;
    background: var(--siteCol3, #2c3e50); /* Added fallback color */
    color: white;
    z-index: 9999;
    transition: all 0.4s ease-in-out;
    border-radius: 0 0 10px 0;
}

/* Sidebar Hover/Active - UNCHANGED */
.ql-sidebar.active {
    left: 0;
}

/* THE EXPOSED TAB - UNCHANGED */
.ql-toggle-handle {
    position: absolute;
    top: 0;
    left: 260px;
    width: 50px;
    height: 240px;
    background: var(--siteCol3, #2c3e50);
    border: none;
    border-radius: 0 8px 8px 0;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    writing-mode: vertical-rl;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1px;
}

/* Content Styling */
.ql-content {
    padding: 20px;
}

.attendance-header {
    font-family: var(--sitefont);
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 15px;
    border-bottom: 2px solid rgba(255,255,255,0.3);
    padding-bottom: 5px;
}

.ql-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ql-content li {
    margin-bottom: 15px; /* Spacing between years */
}

/* Year Label & Percentage alignment */
.year-label {
    display: flex;
    justify-content: space-between;
    font-family: var(--sitefont);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.percent-val {
    font-weight: 800;
}

/* The Progress Bar Background */
.bar-container {
    width: 100%;
    background: rgba(255, 255, 255, 0.2); /* Faint background bar */
    height: 12px;
    border-radius: 10px;
    overflow: hidden;
}

/* The Progress Bar Fill */
.bar-fill {
    height: 100%;
    background: #fff; /* White fill for contrast against var(--siteCol3) */
    border-radius: 10px;
    transition: width 1s ease-in-out; /* Animates when sidebar opens */
}

@media screen and (max-width: 768px) {
    .ql-sidebar {
        top: 70%;
    }
}
/* 1. Reset & Container Styling */
.navbar {
    background: rgba(255, 255, 255, 0.9) !important; /* Semi-transparent white */
    backdrop-filter: blur(10px); /* Modern blur effect */
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 15px 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
}

/* 2. Modern Typography for Links */
.navbar-nav .nav-link {
    font-family: 'Inter', sans-serif; /* Clean modern font */
    font-weight: 500;
    color: #333 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    padding: 10px 20px !important;
    position: relative;
    transition: color 0.3s ease;
}

/* 3. The "Animated Underline" Effect */
.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 5px;
    left: 50%;
    background-color: #ffc107; /* Matches your warning button color */
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after {
    width: 60%; /* Underline grows on hover */
}

.navbar-nav .nav-link:hover {
    color: #000 !important;
}

/* 4. Active Page Styling */
.navbar-nav .nav-item.active .nav-link {
    color: #000 !important;
}
.navbar-nav .nav-item.active .nav-link::after {
    width: 60%;
}

/* 5. Dropdown Menu Modernization */
.dropdown-menu {
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    padding: 15px;
    margin-top: 10px;
    background: #fff;
}

.dropdown-item {
    padding: 10px 20px;
    border-radius: 8px;
    transition: background 0.2s;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
    color: #ffc107;
}
/* 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 top;
        background-size: cover;
        z-index: 0;
        animation: kenBurns 20s ease-out infinite alternate; 
    }


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

    .page-header .container {
        position: relative;
        z-index: 2;
    }
        /* --- CSS VARIABLES --- */
        .events-homepage-wrapper {
            --events-primary-color: #FF7300;
            --events-bg-light: #f9fafb;
            --events-card-white: #ffffff;
            --events-text-heading: #111827;
            --events-text-body: #4b5563;
            --events-shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
            --events-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
            --events-border-color: #e5e7eb;
            --events-transition-speed: 0.3s;
            
            font-family: 'Inter', sans-serif;
            background-color: var(--events-bg-light);
            /* Mobile-optimized padding */
            padding: 40px 16px;
            margin: 0;
        }

        /* Increase padding for tablets and desktops */
        @media (min-width: 768px) {
            .events-homepage-wrapper {
                padding: 80px 20px;
            }
        }

        .events-max-width-container {
            max-width: 1200px;
            margin: 0 auto;
        }

        /* --- Header Section --- */
        .events-top-header-div {
            margin-bottom: 32px;
            text-align: center;
        }

        @media (min-width: 768px) {
            .events-top-header-div {
                margin-bottom: 48px;
            }
        }

        .events-main-heading-text {
            /* Fluid typography for mobile headers */
            font-size: 1.75rem; 
            font-weight: 800;
            color: var(--events-text-heading);
            margin: 0 0 12px 0;
            letter-spacing: -0.025em;
        }

        @media (min-width: 768px) {
            .events-main-heading-text {
                font-size: 2.25rem;
            }
        }

        .events-sub-heading-text {
            font-size: 1rem;
            color: var(--events-text-body);
            max-width: 600px;
            margin: 0 auto;
        }

        /* --- Grid System --- */
        .events-four-column-grid-div {
            display: grid;
            gap: 20px;
            /* 1 column by default (mobile) */
            grid-template-columns: 1fr;
        }

        /* Tablet Breakpoint: 2 Columns */
        @media (min-width: 640px) {
            .events-four-column-grid-div { 
                grid-template-columns: repeat(2, 1fr); 
                gap: 24px;
            }
        }

        /* Desktop Breakpoint: 4 Columns */
        @media (min-width: 1024px) {
            .events-four-column-grid-div { 
                grid-template-columns: repeat(4, 1fr); 
            }
        }

        /* --- Card Styling --- */
        .events-diary-card-article {
            background-color: var(--events-card-white);
            border: 1px solid var(--events-border-color);
            border-radius: 16px;
            /* Slightly smaller padding on mobile */
            padding: 24px;
            display: flex;
            flex-direction: column;
            transition: transform var(--events-transition-speed) ease, 
                        box-shadow var(--events-transition-speed) ease;
            box-shadow: var(--events-shadow-sm);
        }

        @media (min-width: 768px) {
            .events-diary-card-article {
                padding: 32px;
            }
        }

        /* Hover only applies to devices that use a mouse */
        @media (hover: hover) {
            .events-diary-card-article:hover {
                transform: translateY(-5px);
                box-shadow: var(--events-shadow-lg);
                border-color: var(--events-primary-color);
            }
        }

        /* --- Date Elements --- */
        .events-date-display-div {
            margin-bottom: 16px;
        }

        .events-date-number-span {
            display: block;
            font-size: 2.75rem; /* Smaller for mobile */
            font-weight: 800;
            line-height: 1;
            color: var(--events-primary-color);
        }

        @media (min-width: 768px) {
            .events-date-number-span {
                font-size: 3.5rem;
            }
        }

        .events-date-month-span {
            display: block;
            font-size: 0.8125rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            color: var(--events-text-body);
            margin-top: 4px;
        }

        /* --- Content Elements --- */
        .events-info-content-div {
            flex-grow: 1;
            display: flex;
            flex-direction: column;
        }

        .events-title-heading {
            font-size: 1.125rem;
            font-weight: 700;
            color: var(--events-text-heading);
            margin: 0 0 10px 0;
            line-height: 1.3;
        }

        .events-description-paragraph {
            font-size: 0.9375rem;
            color: var(--events-text-body);
            line-height: 1.5;
            margin-bottom: 24px;
            /* Keeps cards consistent even if text is long */
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        /* --- Button Element --- */
        .events-cta-button-link {
            display: block; /* Full width for easier touch on mobile */
            text-decoration: none;
            background-color: var(--events-primary-color); /* Primary color by default on mobile */
            color: #ffffff;
            padding: 14px 20px; /* Larger touch target */
            border-radius: 10px;
            font-weight: 600;
            font-size: 0.875rem;
            text-align: center;
            transition: background-color var(--events-transition-speed) ease;
            margin-top: auto; 
        }

        /* Style button as subtle on desktop until card is hovered */
        @media (min-width: 1024px) {
            .events-cta-button-link {
                display: inline-block;
                background-color: #f3f4f6;
                color: var(--events-text-heading);
                padding: 12px 20px;
            }
            
            .events-diary-card-article:hover .events-cta-button-link {
                background-color: var(--events-primary-color);
                color: #ffffff;
            }
        }

.pageSubHeadBg {
height: 0;
}


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

.pr-header,
.pr-footer {
height: 0;
}

.pageRow {
padding-top: 40px;
padding-bottom: 40px;
}

#navBarH {
box-shadow: none;
}
.carousel {
position: relative;
margin-top: -95px;
}

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

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

.page-header {
height: 700px!important;
background-position: center top;
}

header {
display: block;
background: transparent;
background-image:
url(../_styles/images/header_background_waves.svg);
height: 360px;
width: 100%;
background-size: 2000px 360px;
background-repeat: repeat-x;
background-position: center top;
position: relative;
z-index: 1;
}


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

#header-group {
    visibility: hidden;
}

header {
background-image:
url(../_styles/images/header_background_mobile.svg);
height: 600px;
background-size: 900px 600px;
}

.page-header .text-left {
width: 80%;
}

.page-header h4 {
font-size: 1.2rem;
text-shadow: 0px 2px 2px rgba(0, 0, 0, 0.4); 
}


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

.main-menu-btn-icon, .main-menu-btn-icon:before, .main-menu-btn-icon:after {
    background: #FF7300;
}

.carousel-control-prev, .carousel-control-next {
visibility: hidden;
}

}