/*--Header--*
header {
	position: fixed;
	width: 100%;
	z-index: 2;
	top: 0;
}

.admin-bar header {
	top: 32px;
}*/
div#top-header {
    display: none;
}

/*@media screen and (min-width:981px) {
	#logo {
	    vertical-align: bottom;
	}
}*/

/*#et-secondary-nav li:not(:last-child):after {
    content: '|';
    color: #FDC600;
    padding-left: 12px;
    position: absolute;top: 0;
    font-size: 14px;
}

#et-secondary-nav li:not(:last-child) {
    padding-right: 12px;
}*/

div#et-secondary-menu {
    float: none;
    text-align: right;
}

#top-menu li a {
    font-weight: 800;
    font-size: 17px;
}

#top-menu li {
    padding-right: 0;
    padding-left: 22px;
}

#et-secondary-menu>ul>li a {
    font-size: 14px;
    color: #fff;
	font-family: 'FrizQuadrataRegular'!important;
    letter-spacing: 0.5px;
    text-transform: uppercase;
	font-weight:400;
}

/*--Responsive--*/
@media screen and (max-width:1620px) and (min-width:1345px) {
    #top-menu li {
        padding-left: 18px;
    }    
}

@media screen and (max-width:1440px) and (min-width:1345px) {
    #top-menu li {
        padding-left: 15px;
    }    
    #top-menu li a {
        font-size: 16px;
    } 
    div#et-top-navigation {
	    padding-left: 0 !important;
    }   
}

@media screen and (max-width: 1550px) and (min-width:1196px) {
    header#main-header img#logo {
        max-width: 300px;
    }    
}

/*--Global elements---*/
.et_pb_module.et_pb_video iframe, .et_pb_module.et_pb_video video, .et_pb_module.et_pb_video .et_pb_video_overlay, .et_pb_module.et_pb_video .et_pb_video_overlay_hover {
    border-radius: 20px;
    box-shadow: 10px 10px rgba(0,0,0,0.1)
}

.full-width-heads-blog a.more-link {
	font-family: 'FrizQuadrataRegular';
}

.et_pb_row.arrow-down {
    padding: 0;
    position: absolute;
    left: 0;
    width: 100%;
    max-width: 100% !important;
    bottom: 40px;
}

.et_pb_row.arrow-down .et_pb_column {
    width: 100% !important;
}

.et_pb_row.arrow-down .et_pb_column img {
	cursor: pointer;
}

/*--Alert box---*/
/*---Alert Box---*/
div#the-alert {
    height: 50px;
    width: 50px;
    background-color: #e30613;
    position: fixed;
    z-index: 99999;
    right: 0;
    top: 70px;
	border-bottom-left-radius: 14px;
    border-top-left-radius: 14px;
	background-image: url('/wp-content/themes/st-georges-school-windsor/images/exclamation-alert.png');
    background-size: 50%;
    background-repeat: no-repeat;
    background-position: center;
    transition: 1s;
    opacity: 0;
    right: -100px;
}

div#the-alert.animatenow {
    opacity: 1;
    right: 0;
    transition-delay: 1s;
}

div#the-alert-box {
    width: 100%;
    height: 100%;
    max-height: 100%;
    position: absolute;
    z-index: 9;
    top: 0;
    left: 0;
    opacity: 0;
    z-index: 0;
}

div#the-alert-box.opened {
    opacity: 1;
    z-index: 99999;
}

div#the-alert-box .content {
    max-width: 500px;
    height: auto;
    padding-bottom: 20px;
    background-color: rgba(0,0,0,0.5);
    position: absolute;
    top: 23%;
    left: calc(50% - 250px);
    border-top: 10px solid red;
    opacity: 0;
	transition: 1s;
}

div#the-alert-box.opened .content {
	opacity: 1;
}

div#the-alert:hover {
    cursor: pointer;
}

img.alert-logo {
    display: block;
    margin: 20px auto;
    width: 80px;
}

div#the-alert-box h2 {
    color: #fff;
    text-align: center;
    font-size: 20px;
    padding-bottom: 0;
    position: relative;
    margin-left: 20px;
    padding-left: 20px;
}

#the-alert-box h2:before {
    content: '';
    height: 40px;
    width: 32px;
    position: absolute;
	background-image: url('/wp-content/themes/st-georges-school-windsor/images/exclamation-alert.png');
    background-size: 60%;
    background-repeat: no-repeat;
    background-position: center;
    top: 0;
    left: 0px;
}

div#the-alert-box p {
    text-align: center;
    color: #fff;
	margin-top: 10px;
    line-height: 1.5em;
    font-size: 16px;
}

span#alert-date {
    color: #fff;
    text-align: center;
    display: block;
}

span#alert-close {
    color: #fff;
    text-align: center;
    display: block;
    text-transform: uppercase;
    margin-top: 45px;
    position: relative;
}

span#alert-close:before {
    content: '\4d';
    position: absolute;
    right: calc(50% - 12px);
    top: -25px;
    font-family: ETmodules;
    font-weight: 100;
}

span#alert-close:hover {
    cursor: pointer;
}

/*---Floating Buttons---*/
.floating-btn{
  position: fixed;
  width: 170px;
  height: auto;
  left: 110%;
  top: 55%;
  padding: 5px 5px 0px 5px;
    z-index:9 ;
  transform-origin: 0% 100%;
  -webkit-transform: rotate(90deg);
    -moz-transform: rotate(90deg);
    -o-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(-90deg) translateX(-50%);
  border-top-left-radius: 14px;
  border-top-right-radius: 14px;
  text-align: center;
  transition: 1s;
}

.floating-btn.animate-btn {
	transition-delay: 1s;
	left: 100%;
}

div#open-event {
  top: 30%;
  background-color: #754098;
  width: 155px;
}

.floating-btn a {
  color: #fff;
  text-transform: uppercase;
  font-weight: 800;
  font-size: 16px;
}

div#arrange-a-visit {
  background-color: #e30613;
}

.floating-btn a:hover {text-decoration: none;}

.floating-btn:hover {transition-delay: 0s;cursor: pointer;}

/*---Popup---*/
.pum-theme-st-georges-school-popup .pum-title.popmake-title {
    display: none;
}

.pum-theme-st-georges-school-popup .pum-content.popmake-content > div {
    border-radius: 14px;
}

.pum-theme-st-georges-school-popup .pum-container {
    border-radius: 14px;
}

.pum-theme-st-georges-school-popup button.pum-close.popmake-close {
    font-size: 20px !important;
    font-weight: 600;
}

.pum-theme-st-georges-school-popup .et_pb_section {
    padding-top: 30px !important;
    padding-bottom: 30px !important;}

.pum-theme-st-georges-school-popup .pum-content.popmake-content {
    border-radius: 14px;
    outline: 15px solid rgba(255,255,255,0.4);
}

/*.pum-theme-st-georges-school-popup .et_pb_section p {
    font-size: 21px;
    line-height: 1.8em;
}*/

.pum-theme-st-georges-school-popup h2.underline {font-weight: 800;
    font-size: 34px;
    color: #bb9d71;
    line-height: 1.1em;
    margin-top: 0px!important;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 4px dotted rgba(16,12,71,0.5);}

.pum-theme-st-georges-school-popup h2.underline + h3 {
    text-transform: uppercase;
    padding-bottom: 5px;
}

.pum-theme-st-georges-school-popup h2.underline + h3 + h4 {
    padding-bottom: 1em;
    font-weight: 800;
    font-size: 24px;
}

/*pop-up fix*/
html.pum-open.pum-open-overlay.pum-open-scrollable body>[aria-hidden] {padding-right: 0;}

/*---Homepage---*/
#welcome .et_pb_module.et_pb_video {
	
}

.full-width-heads-blog h2.entry-title {
    text-transform: none;
}

.home-heads-blog img {
    display: none;
}

.home-heads-blog a.entry-featured-image-url {
    display: none;
    margin: 0 !important;
    padding: 0 !important;
}

/*-Calendar homepage-*/
.last_four_events * {
    color: #fff !important;
}

.last_four_events h3 {
	text-transform: none;
}

.last_four_events .tribe-events-widget .tribe-events-widget-events-list__event-title {
    text-align:left;
    padding-left: 10px;
    line-height: 1.1em !important;
}

.last_four_events .tribe-events-widget .tribe-events-widget-events-list__event-title a {
    color: #5dc2ec!important;
    font-size: 18px;
    border: none !important;
}

.last_four_events .tribe-events-widget-events-list__events {
	display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    clear: both;
}

.last_four_events .tribe-common-g-row.tribe-events-widget-events-list__event-row {
	width: 22%;
    border-top: 4px dotted rgba(255,255,255,0.5);
    margin-right: 3%;
    padding-top: 20px;
}

.last_four_events .tribe-events-widget .tribe-events-widget-events-list__event-date-tag-datetime {
    background-color: rgba(93,194,236,0.5);
    height: auto;border-radius: 5px;
    flex-direction: column-reverse;
    padding-bottom: 5px;
}

.last_four_events .tribe-events-widget-events-list__event-datetime-wrapper.tribe-common-b2.tribe-common-b3--min-medium {
    display: none;
    margin-bottom: 0 !important;
}

.last_four_events .tribe-events-widget-events-list__view-more.tribe-common-b1.tribe-common-b2--min-medium {
    display: none;
}

.last_four_events .tribe-events-widget .tribe-events-widget-events-list__event-date-tag-month, .last_four_events .tribe-common--breakpoint-medium.tribe-common .tribe-common-h4--min-medium {
    font-family: 'Raleway',Helvetica,Arial,Lucida,sans-serif !important;   
    font-weight: 900;
    font-size: 100%;
}

.last_four_events .tribe-common--breakpoint-medium.tribe-common .tribe-common-h4--min-medium {
    font-size: 140%;
    margin-bottom: -10px;
}

/*-Social-*/
#main-content a.fts-powered-by-text, .fts-twitter-reply-wrap.fts-twitter-no-margin-left,.fts-twitter-reply-wrap-left.fts-twitter-svg-addition, .fts-uppercase.fts-bold,span.fts-twitter-logo {
    display: none !important;
}
.et_pb_module.sm-social-icons {position: absolute;top: 0;right: 0;padding: 0 !important;}

.et_pb_module.sm-social-icons.et_pb_social_media_follow li a {background-color: transparent !important;border: 1px solid #100c47;border-radius: 50%;padding: 5px;}

.et_pb_module.sm-social-icons.et_pb_social_media_follow li a.icon:before {color: #100c47;font-size: 21px;}

/*.et_pb_module.sm-social-icons.et_pb_social_media_follow li:first-child {margin-right: 10px;}*/
/*-Twiiter-*/
.et_pb_module.twitter-feed {
    margin-bottom: 1em !important;
}

.et_pb_module.twitter-feed {
    margin-bottom: 1em !important;
}

span.fts-twitter-text:after {
    content: "\e094";
    position: absolute;
    top: -30px;left: 0;
    font-family: ETmodules!important;
    color: #fff;
    border: 1px solid;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    font-size: 16px;
    text-align: center;
}

.fts-tweeter-wrap .tweeter-info {
    border: none;
    padding-top: 0;
}

span.fts-twitter-text {
    font-size: 17px;
    line-height: 1.6em;
    order: 2;
    margin-top: 60px;
    position: relative;
}

.fts-twitter-div .fts-uppercase {
    font-size: 18px;
}

span.fts-twitter-text a {
    color: #fff;
}

.fts-tweeter-wrap .tweeter-info img {
    margin: 0 !important;
    border-radius: 14px;
}

.fts-right {
    display: flex;
    flex-direction: column;
    padding-top: 0 !important;
}

span.fts-twitter-text + a {
    order: 1;
}

span.fts-twitter-text:before {
    content: 'Twitter';
    position: absolute;
    top: -30px;
    left: 40px;
    font-weight: 600;
    font-size: 26px;
    color: #100c47;
    line-height: 1.1em;
    margin-top: 0px!important;
    padding-top: 0px;
    padding-bottom: 10px;
}

.single-blog-feed .post-content-inner, .single-blog-feed .post-content-inner p {
    font-size: 17px !important;
    line-height: 1.6em !important;
}
/*--Instagram--*/
.slicker-instagram-placeholder {width: 100% !important;border-radius: 12px;}
.et_pb_module.et_pb_code.instagram-feed:before {
    content: 'INSTAGRAM';
    position: absolute;
    bottom: -65px;
    left: 40px;
    font-weight: 600;
    font-size: 26px;
    color: #100c47;
    line-height: 1.1em;
    margin-top: 0px!important;
    padding-top: 0px;
    padding-bottom: 6px;
}

.et_pb_module.et_pb_code.instagram-feed:after {
    content: "\e09a";
    position: absolute;
    bottom: -60px;
    left: 0;
    font-family: ETmodules!important;
    color: #fff;
    border: 1px solid;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    font-size: 16px;
    text-align: center;
    line-height: 1.9em;
}

.et_pb_module.et_pb_code.instagram-feed + .et_pb_module {margin-top: 65px !important;}

.et_pb_module.et_pb_code.et_pb_code_1.instagram-feed {margin-bottom: 1em !important;}
/*---Circular sections---*/
.cbg-btm-right .et_pb_column {
    width: 55%;
}

.et_pb_section.circular-bg {
    background-size: 0;
    overflow: hidden;
}

.et_pb_section.circular-bg>.et_pb_row {
    max-width: 1400px;
}

.et_pb_section.circular-bg.cbg-btm-right, .et_pb_section.circular-bg.cbg-btm-left {
    background-size: 0;
    overflow: hidden;
	min-height: 850px;
}

.et_pb_section.circular-bg:before {
    content: '';
    position: absolute;
    background-color: inherit;
    background-image: inherit;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

}

.et_pb_section.circular-bg .et_pb_module:not(:last-child) {
    margin-bottom: 30px;
}

/*-Bottom right-*/
.et_pb_section.cbg-btm-right:before {
    width: 65%;
    max-width: 900px;
    height: 120%;
    max-height: 900px;
    bottom: -100px;
    right: -200px;
    border-radius: 50%;
}

/*-Bottom left-*/
.cbg-btm-left .et_pb_column {
    width: 55%;
    margin-right: 0 !important;
    margin-left: auto !important;
    float: none;
}

.et_pb_section.cbg-btm-left:before {
    width: 65%;
    max-width: 900px;
    height: 120%;
    max-height: 900px;
    bottom: -100px;
    left: -200px;
    border-radius: 50%;
}

/*-Full centre left-*/

.et_pb_section.cbg-centre-left .et_pb_column {
    width: 52.5%;
    margin-right: 0 !important;
    margin-left: auto !important;
    float: none;
}

.et_pb_section.cbg-centre-left:before {
    width: 45%;
    height: 115%;
    bottom: -7.5%;
    left: 0;
    border-radius: 0% 50% 50% 0%;
}

@media screen and (min-width:1346px) {
    .et_pb_section.cbg-centre-left .et_pb_column {
        /*min-height: 600px;*/
    }
    
	div#heads-blog-section.et_pb_section.cbg-centre-left:before {
	    height: 100%;
	    bottom: 0%;
	}    
}

/*-Full centre right-*/
.et_pb_section.cbg-centre-right .et_pb_column {
    width: 52.5%;
}

.et_pb_section.cbg-centre-right:before {
    width: 45%;
    height: 115%;
    bottom: -7.5%;
    right: 0;
    border-radius: 50% 0% 0% 50%;
}

/*-----Footer-----*/

.get-in-touch-section .et_pb_module.sm-social-icons.et_pb_social_media_follow li a {border-color: #fff;}

.get-in-touch-section .et_pb_module.sm-social-icons.et_pb_social_media_follow li a.icon:before {color: #fff;}

.get-in-touch-section .et_pb_module.sm-social-icons {top: auto;bottom: 50px;right: 20px;}

.get-in-touch-section .et_pb_module.sm-social-icons.et_pb_social_media_follow li:first-child {margin-right: 0;}

div#useful-links .et_pb_text_inner {display: flex;justify-content: center;}

div#useful-links .et_pb_text_inner h6 {margin-right: 30px;}

.footer-logos .et_pb_module.et_pb_image img {
    width: 100%;
    height: 130px;
    object-fit: contain;
}

/*----Responsive----*/
/*--Headers---*/
@media screen and (max-width:1345px) {
    body #main-content .et_pb_section.home-banner-section .et_pb_bottom_inside_divider, body #main-content .et_pb_section.inner-banner-section .et_pb_bottom_inside_divider {
        background-size: 100% 100px;
        height: 100px;
    }    
}

@media screen and (max-width:980px) {
    body #main-content .et_pb_section.home-banner-section .et_pb_bottom_inside_divider, body #main-content .et_pb_section.inner-banner-section .et_pb_bottom_inside_divider {
        background-size: 100% 75px;
        height: 75px;
    }    
}

@media screen and (max-width:550px) {
    body #main-content .et_pb_section.home-banner-section .et_pb_bottom_inside_divider, body #main-content .et_pb_section.inner-banner-section .et_pb_bottom_inside_divider {
        background-size: 100% 50px;
        height: 50px;
    }    
}
/*--Circular Background bits---*/
@media screen and (max-width:1600px) and (min-width:1346px) {
    .et_pb_section.circular-bg.cbg-btm-right, .et_pb_section.circular-bg.cbg-btm-left {
        min-height: auto;
    }
    
    .et_pb_section.cbg-btm-right:before, .et_pb_section.cbg-btm-left:before {
        max-width: 880px;
        max-height: 880px;
    }    

    .et_pb_section.cbg-btm-right:before {
        right: -300px;
    }

    .et_pb_section.cbg-btm-left:before {
        left: -300px;
    }
}


@media screen and (max-width:1345px) {
    .et_pb_section.circular-bg .et_pb_column {
        width: 100%;
        margin-right: auto !important;
        margin-left: auto !important;
        padding-top: calc(400px + 2.5em);
    }
    
    .et_pb_section.circular-bg:before {
        width: 80%;
        max-width: 80%;
        height: 400px;
        max-height: 400px;
        top: 4.5em;
        left: 10%;
        border-radius: 30px;
    }
}

@media screen and (max-width:550px) {
	.et_pb_section.circular-bg:before {
	    height: 200px;
	    max-height: 200px;
	}
	
	.et_pb_section.circular-bg .et_pb_column {
	    padding-top: calc(200px + 2.5em);
	}
}

/*---Homepage---*/
@media screen and (min-width:1346px) {
	#arrange-a-visit-home-section.et_pb_section.cbg-centre-right .et_pb_column {
	    width: 70%;
	}
	
	#arrange-a-visit-home-section.et_pb_section.cbg-centre-right:before {
	    width: 30%;
	}
}
/*-Calendar-*/
@media screen and (max-width:1345px) {
    .last_four_events .tribe-common-g-row.tribe-events-widget-events-list__event-row {
        width: 47%;
    }
}
@media screen and (max-width:980px) {
    .last_four_events .tribe-events-widget .tribe-events-widget-events-list__event-title {
        line-height: 26.4px !important;
    }    
}

@media screen and (max-width:767px) {
    .last_four_events .tribe-common-g-row.tribe-events-widget-events-list__event-row {
        width: 100%;
        margin-right: 0;
    }
}

/*--Open Events section---*/
@media screen and (max-width:1240px) and (min-width:981px) {
    .et_pb_section.open-events-section .et_pb_column:nth-child(2n) .et_pb_text_inner br {display: none;}
    
    .et_pb_section.open-events-section .et_pb_column {width: 31.3333% !important;}    
}
@media screen and (max-width:980px) {
    .et_pb_section.open-events-section .et_pb_column {width: 100% !important;text-align: center !important;}
    .et_pb_section.open-events-section .et_pb_column * {text-align: center !important;}
}

/*--mobile menu--*/
@media screen and (max-width:980px) {
    .et_mobile_menu li a {
        color: #fff !important;
    }
    
    .container.et_menu_container {
        padding-top: 20px;
    }
    
    .et_header_style_left #et-top-navigation .mobile_menu_bar {
        padding-top: 24px;
    }    
}

@media screen and (max-width:450px) {
	.et_header_style_left #logo {
	    max-width: 80%;
	}
	
	/*--social icons fix---*/
	.social-media-section .et_pb_module.sm-social-icons {
	    display: none;
	}
}

/*--Footer---*/
@media screen and (max-width:1200px) and (min-width:981px) {
    footer .et_pb_section.et_pb_section_0_tb_footer .et_pb_column:first-child {
        width: 55%;
        border-radius: 12px 0 0 12px;
    }

    footer .et_pb_section.et_pb_section_0_tb_footer .et_pb_column:last-child { 
        width: 45%;
        border-radius: 12px;
    }
}

@media screen and (max-width:1300px) and (min-width:981px) {
	.get-in-touch-section .et_pb_module.sm-social-icons {
		position: relative;
		bottom: 30px;
		left: 30px;
		right: auto;
	}
}

@media screen and (max-width:980px) {
	div#useful-links {
	    padding-top: 30px !important;
	}
}

@media screen and (max-width:980px) and (min-width:601px) {
	.get-in-touch-section .et_pb_module.sm-social-icons {
	 right: 50px;
	 bottom: 40px;
	}
}

@media screen and (max-width:650px) {
	.get-in-touch-section .et_pb_module.sm-social-icons {
		position: relative;
		bottom: 30px;
		left: 30px;
		right: auto;
	}
	div#useful-links .et_pb_text_inner {
	    display: block;
	}
	.get-in-touch-section .et_pb_row:nth-child(1) {width: 90%;}
	.get-in-touch-section .et_pb_row:nth-child(2) {width: 85%;}
	.get-in-touch-section .et_pb_row:nth-child(2) .et_pb_module.et_pb_promo {padding: 50px 20px !important;}
}

/*TEMP for demo*/
/*h3.tribe-events-widget-events-list__event-title.tribe-common-h7:after {content: 'Quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea...';display: block;font-size: 17px;font-weight: 400;font-family: 'Raleway';}*/

/*-MEGA MENU-*/
#main-header:after {
    content: '';
    height: 0;
    width: 120%;
    position: absolute;
    left: -10%;
    top: 0;
    transition: 1s;
}

#main-header.menu_activated:after {
    background: #100c47;
    content: '';
    height: 75%;
    position: fixed;
    top: 0;
    z-index: 10;
    border-bottom-left-radius: 50%;
    border-bottom-right-radius: 50%;
}

/*header#main-header.menu_activated.et-fixed-header:after {height: 72%;}*/

.home-banner-section section.et_pb_module.et_pb_fullwidth_header {
    z-index: 0;
}

#main-header .nav>li>ul.sub-menu {
    border: none;
    padding: 0;
    box-shadow: none;
}

#main-header .nav>li>ul.sub-menu>li>a {
    padding: 10px 0;
    font-weight: 600;
}

#top-menu li li a {
    width: 300px;
}

#main-header .nav li ul ul {
    border: none;
    top: 0;
    position: fixed;
    padding-top: 0;
    box-shadow: none;
}

#top-menu .menu-item-has-children>a:first-child {padding-right: 0;}

#top-menu .menu-item-has-children>a:first-child:after {opacity: 0;}

#top-menu .menu-item-has-children.sb-touch-hover>a:first-child:after {
    top: 60%;
    right: auto;
    left: 0;
    opacity: 1;
}

#main-header ul#top-menu.nav>li>ul.sub-menu>li:not(:first-child)>a:after {
    content: '';
    height: 1px;
    width: 50px;
    position: absolute;
    background-color: #B8976E;
    left: 0;
    top: -3px;
}


#top-menu li .menu-item-has-children>a:first-child:after {
    content: "5";
}

/*#main-header:before {
	content: '';
    height: 100%;
    width: 100%;
    position: fixed;
    right: 0;
    top: 0;
    transition: 1s;
    background-image: url('/wp-content/uploads/2022/04/real-world-ready-logo-yellow-white.png');
    background-size: 500px;
    background-repeat: no-repeat;
    background-position-x: center;
    background-position-y: 95%;
    opacity: 0;
    pointer-events: none;
}

#main-header.menu_activated:before {
	content: '';
    height: 100%;
    width: 100%;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 6;
    transition: 1s;
    background-color: rgba(16,12,71,0.9);
    opacity: 1;
    pointer-events: all;
}*/

#top-menu li li, #top-menu li li a {
    padding-left: 0;
    padding-right: 0;
}

span#menu-close {
    position: absolute;
    opacity: 0;
}

.menu_activated span#menu-close {
    text-transform: uppercase;
    font-family: 'friz_quadrataregular';
    font-weight: 400;
    position: absolute;
    left: calc(50% - 40px);
    bottom: 100px;
    color: #fff;
    font-size: 16px;
    z-index: 1;
    opacity: 1;
}

.menu_activated span#menu-close:before {
    content: '\4d';
    position: absolute;
    right: calc(50% - 20px);
    top: -25px;
    font-family: ETmodules;
    font-size: 30px;
    font-weight: 100;
}

.menu_activated span#menu-close:hover {
    cursor: pointer;
}

#main-header .nav>li.sb-touch-hover>ul.sub-menu {
    transition: 1s;
    opacity: 1;
    visibility: visible;
}

#main-header .nav>li.sb-touch-hover>a, #main-header .nav li li.sb-hover-child>a {
    color: #B8976E !important;
    opacity: 1;
}

#main-header .nav>li>ul.sub-menu>li>a:hover, #main-header .nav ul.sub-menu ul.sub-menu li a:hover {
    color: #B8976E !important;
    opacity: 1;
}

/*delay hover*/
#main-header .nav li.et-touch-hover>ul, #main-header .nav li:hover>ul {
    opacity: 0;
}

#main-header .nav>li:not(.sb-touch-hover)>ul.sub-menu {
    pointer-events: none !important;
}

.et-fixed-header#main-header #top-menu.nav li ul {
    background-color: transparent !important;
}


/*--last menu item fix--*/
#main-header .nav>li:last-child>ul.sub-menu {
	right: 0;
	width: 200px;
	}

#main-header .nav>li:last-child>ul.sub-menu li a {
	width: 200px;
}


div#mega-men-close {
	text-align: center;
	z-index: 9999999;
	position: fixed;
	display: none;
	margin-left: -100px;
	margin-top: -10px;
}

div#mega-men-close span {
	color: #fff;
	font-weight: 700;
	text-transform: uppercase;
	font-size: 14px;
	background-color: #281e6a;
	display: inline-block;
	padding: 0px 20px;
	cursor: pointer;
	border-bottom-left-radius: 14px;
	border-bottom-right-radius: 14px;
	color: #bb9d71;
	line-height: 1.7em;
}

div#mega-men-close img {
	width: 100px;
	cursor: pointer;
}

/*--fix footer when menu is active---*/
.et_builder_inner_content {
    z-index: auto;
}

/*--fix for mini calendar---*/
div#calendar-month-section .et_pb_row {
    width: 90%;
    max-width: 1600px;
}

#calendar-month-section .tribe-common.tribe-events.tribe-events-widget.tribe-events-view--shortcode.tribe-events-widget-events-month .tribe-events-calendar-month__day {
    padding: 0 !important;
    /* overflow-y: scroll; */
    /* overflow-x: hidden; */
    aspect-ratio: auto;
    min-height: 200px;
}

div#calendar-month-section h3.underline {
    max-width: 960px;
    margin: auto;
}

#calendar-month-section .tribe-events .tribe-events-l-container {
    max-width: 100%;
}

#calendar-month-section .tribe-common.tribe-events.tribe-events-widget-shortcode.tribe-events-widget-shortcode-events-month .tribe-events-widget-events-month {
    /* background-color: transparent; */
    border-radius: 12px;
}

#calendar-month-section .tribe-events-calendar-month {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

#calendar-month-section .tribe-common-b1.tribe-common-b2--min-medium.tribe-events-widget-events-month__view-more {
    display: none;
}

@media screen and (max-width:1345px) {
    #calendar-month-section .tribe-common.tribe-events.tribe-events-widget.tribe-events-view--shortcode.tribe-events-widget-events-month .tribe-events-calendar-month__day {
         min-height: 100px;       
    }
}

/*--fix for single events---*/
body.single-tribe_events #main-header:not(.et-fixed-header) {background-color: #100c47 !important;}

body.single-tribe_events .tribe-events-pg-template {padding-top: 180px !important;padding-left: 0 !important;padding-right: 0 !important;width: 85%;}

body.single-tribe_events h2.tribe-events-single-section-title {font-size: 16px !important;}
    
body.single-tribe_events .tribe-events-schedule>h2 {font-size: 16px !important;}

@media screen and (max-width:980px) {
    body.single-tribe_events h1.tribe-events-single-event-title {font-size: 40px !important;}
    body.single-tribe_events .tribe-events-pg-template {padding-top: 150px !important;}
    body.single-tribe_events .container.et_menu_container {padding-top: 0;}
}

/*---Test animated section---*/
.et_pb_section.ready-for-section {
	height: calc(100vh - 152px);
	overflow: hidden;
}

div#adventure-section .et_pb_column:last-child:before {content: '';
    position: absolute;
    background-color: inherit;
    width: 100%;
    width: 900px;
    height: 100%;
    height: 900px;
    top: -200px;
    right: -100px;
    border-radius: 50%;
}

.ready-for-section .et_pb_module.et_pb_text {z-index: 9;width: 80%;margin: auto;}

div#life-section {z-index: 3;}
div#adventure-section {z-index: 3;}
div#life-section + .et_pb_section {z-index: 3;}

.ready-for-section  .et_pb_button_module_wrapper.et_pb_module {width: 80%;
    margin: auto;}



div#learning-section .et_pb_column:first-child:before,
div#life-section .et_pb_column:first-child:before {
    content: '';
    position: absolute;
    background-color: inherit;
    width: 100%;
    width: 900px;
    height: 100%;
    height: 900px;
    top: -200px;
    left: -100px;
    border-radius: 50%;
}

@media screen and (max-width:980px) {
	div#learning-section .et_pb_column:first-child:before,div#life-section .et_pb_column:first-child:before,
	div#adventure-section .et_pb_column:last-child:before {
		content: none;
	}
}

/*---Responsiveness---*/
@media screen and (max-height:780px) {
    div#the-alert {width: 40px;height: 40px;}
    div#open-event {top: 220px;}
    div#arrange-a-visit {top: 450px}
}

@media screen and (max-width:1195px) {
/*    #main-header {background: linear-gradient(0deg,rgba(0,0,0,0) 0%,rgba(0,0,0,1) 100%)!important;} */
    div#the-alert {position: absolute;}
    div#the-alert {width: 40px;height: 40px;}
    /*.floating-btn {padding: 5px 0px 0px 0px;}*/
    div#open-event {top: 220px;}
    div#arrange-a-visit {top: 450px;} 
}



@media screen and (max-height:600px) {
    .floating-btn.stayput {position: absolute;}
}

@media screen and (max-width:550px) {
	.open-events-section .et_pb_row {width: 90%;}
	.open-events-section .et_pb_row .et_pb_column {min-width: auto !important;}
}

/*---Temp Apple Animation---*/
div#the-animated-section {
	padding: 0 !important;
	position: relative;
	height: 375vh !important;
}

#main-content div#the-animated-section .et_pb_row {
	height: 100vh !important;
	padding-top: 60vh !important;
	overflow: hidden;
}

div#the-animated-section .et_pb_row {
	width: 100% !important;
	max-width: 100% !important;
	top: 0;
}

div#the-animated-section .et_pb_row.starts {
	position: fixed;
}

div#the-animated-section .et_pb_row.starts + .et_pb_row, div#the-animated-section .et_pb_row.starts + .et_pb_row + .et_pb_row {
    position: fixed;
}

div#life-row.starts {z-index: inherit !important;}

/*--fix button alignment--*/
#main-content div#the-animated-section .et_pb_button_module_wrapper.et_pb_button_alignment_right {text-align: right;}

#main-content div#the-animated-section .et_pb_row .et_pb_column {
    position: absolute;
    bottom: 5vh;
}

#main-content div#the-animated-section .et_pb_row .et_pb_column .et_pb_module {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}

#main-content div#the-animated-section .et_pb_row .et_pb_column:first-child:before {
    content: '';
    position: absolute;
    background-color: inherit;
    width: 100%;
    width: 900px;
    height: 100%;
    height: 900px;
    top: -200px;
    left: -90px;
    border-radius: 50%;
}

#main-content div#the-animated-section .et_pb_row .et_pb_column:last-child:before {
    content: '';
    position: absolute;
    background-color: inherit;
    width: 100%;
    width: 900px;
    height: 100%;
    height: 900px;
    top: -200px;
    right: -90px;
    border-radius: 50%;
}

/*--temp animation of colour columns--*/
/*--first row--*/
div#learning-row .et_pb_column:first-child:after {
    content: '';
    transition: 2s;
    position: absolute;
    background-color: inherit;
    width: 100%;
    width: 900px;
    height: 100%;
    height: 900px;
    top: -200px;
    left: -90px;
    border-radius: 50%;
    z-index:-1;
}

div#learning-row.column-go .et_pb_column:first-child:after {
    content: '';
    background-color: inherit;
    width: 300vh !important;
    height: 200vh !important;
    left: -20vh !important;
    top: -100vh !important;
    border-radius: 30px;
}

/*#learning-row .et_pb_column:first-child {
    left: -100%;
    transition: left 2s;
}*/

#learning-row .et_pb_column:first-child {
    left: 0;
}

/*---second row--*/
/*div#adventure-row .et_pb_column:last-child {
    right: -100%;
    transition: right 2s;
}*/

div#adventure-row .et_pb_column:last-child {
    right: 0;
}

div#adventure-row .et_pb_column:last-child:after {
    content: '';
    transition: 2s;
    position: absolute;
    background-color: inherit;
    width: 100%;
    width: 900px;
    height: 100%;
    height: 900px;
    top: -200px;
    right: -90px;
    border-radius: 50%;
    z-index:-1;
}

div#adventure-row.column-go .et_pb_column:last-child:after {
    content: '';
    background-color: inherit;
    width: 300vh !important;
    height: 200vh !important;
    right: -20vh !important;
    top: -100vh !important;
    border-radius: 30px;
}

/*--third row--*/
/*#life-row .et_pb_column:first-child {
    left: -100%;
    transition: left 2s;
}*/

#life-row .et_pb_column:first-child {
    left: 0;
}

/*div#life-row .et_pb_column:first-child:after {
    content: '';
    transition: 2s;
    position: absolute;
    background-color: inherit;
    width: 100%;
    width: 900px;
    height: 100%;
    height: 900px;
    top: -200px;
    left: -90px;
    border-radius: 50%;
    z-index:-1;
}

div#life-row.column-go .et_pb_column:first-child:after {
    content: '';
    background-color: inherit;
    width: 300vh;
    height: 200vh;
    left: -20vh;
    top: -100vh;
    border-radius: 30px;
}*/

/*Apple animation responsiveness*/
@media screen and (max-width:1345px) {
    #learning-row .et_pb_column:first-child, #life-row .et_pb_column:first-child, div#adventure-row .et_pb_column:last-child {
        width: 100%;
        max-width: 700px;
        margin-right: 0;
    }
}

@media screen and (max-width:860px) {
	#main-content div#the-animated-section .et_pb_row .et_pb_column:first-child:before, 
	#main-content div#the-animated-section .et_pb_row .et_pb_column:first-child:after {
	    width: 700px;
	    height: 700px;
	    left: -100px;
	    top: -150px;
	}
	
	#main-content div#the-animated-section div#adventure-row .et_pb_column:last-child:before,div#adventure-row .et_pb_column:last-child:after {
	    width: 700px;
	    height: 700px;
	    right: -100px;
	    top: -130px;
	}
	
	#main-content div#the-animated-section .et_pb_row .et_pb_column:first-child, 
	div#adventure-row .et_pb_column:last-child {
	    max-width: 500px;
	}
	
	#main-content div#the-animated-section div#adventure-row .et_pb_column .et_pb_module {
	    margin-left: 0;
	    width: 90%;
	}
	
	#main-content div#the-animated-section .et_pb_row .et_pb_column:first-child .et_pb_module {
	    margin-right: 0;
	    width: 90%;
	}
}

@media screen and (max-width:550px) {
	div#learning-row {
		background-position: right;
	}

	#main-content div#the-animated-section .et_pb_row .et_pb_column .et_pb_module {
	    margin-right: auto !important;
	    margin-left: auto !important;
	}
	
	#learning-row .et_pb_column:first-child, #life-row .et_pb_column:first-child  {
	    left: -150%;
	}
	
	div#adventure-row .et_pb_column:last-child {
		right: -150%;
	}
}



/*----Banner Height Fixes desktop---
#main-content .et_pb_section.home-banner-section,#main-content .et_pb_section.inner-banner-section {
    height: calc(95vh);
    padding-top: 70vh !important;
    padding-bottom: 0 !important;
}
*/

/*----Banner Height Fixes desktop for inner pages---*/
#main-content .et_pb_section.inner-banner-section {
    /*height: calc(95vh);*/
	height: calc(85vh);
    padding-top: 70vh !important;
    padding-bottom: 0 !important;
}


@media screen and (max-height:915px) {
    #main-content .et_pb_section.inner-banner-section {
        height: calc(67vh);
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }
	 #main-content .et_pb_section.inner-banner-section + .et_pb_section:not(.circular-bg) {
        padding-top:2em!important;
        padding-bottom:2em!important;
    }
}

@media screen and (max-width:768px){
    #main-content .et_pb_section.inner-banner-section + .et_pb_section:not(.circular-bg) {
        padding-top:2em!important;
        padding-bottom:2em!important;
    }
}

@media screen and (max-width:1600px) and (min-width: 981px) { 
    body #main-content .et_pb_section.inner-banner-section .et_pb_bottom_inside_divider {
        background-size: 100% 140px;
        height: 140px;
    }    
}

@media screen and (max-width: 980px) {
    #main-content .et_pb_section.inner-banner-section {
        height: calc(65vh);
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }
}

@media screen and (max-height:900px) and (max-width: 1195px) and (min-width: 981px) { 
    body #main-content .et_pb_section.inner-banner-section .et_pb_bottom_inside_divider {
        background-size: 100% 100px;
        height: 100px;
    }    
}


/*---Banner homepage header desktop, tablet and mobile---*/
#main-content .et_pb_section.home-banner-section {
        height: calc(110vh);
        padding-top: 30vh!important;
        padding-bottom: 0vh !important;   
	}

div#real-wold-home-row .et_pb_column .et_pb_image {
    margin-left:0!important;
	}

div#real-wold-home-row {
        width:86%;
    }
div#real-wold-home-row .et_pb_column {
        /*width: 70%;*/
		width:50%;
    }  

div#real-wold-home-row p.large-banner-underline {
	font-size:40px;
}

/*--Reducing size of real world in homepage banner--*/
div#real-wold-home-row .et_pb_column span.et_pb_image_wrap  {
    max-width: 90%;
}

/*--Making responsive homepage banner--*/
@media screen and (min-width: 479px) and (max-width:980px) {
    #main-content .et_pb_section.home-banner-section {
        height: calc(95vh);
    } 
    
    div#real-wold-home-row {
        width:78%;
    } 
    
    div#real-wold-home-row .et_pb_column {
        width: 80%!important;
    } 

    div#real-wold-home-row p.large-banner-underline {
        font-size:30px!important;
    }

    div#real-wold-home-row .et_pb_column span.et_pb_image_wrap  {
        max-width: 70%;
    }
}

@media screen and (max-width: 479px) {
    #main-content .et_pb_section.home-banner-section {
		height: calc(90vh);
		padding-top: 25vh!important;
    }
	
    div#real-wold-home-row {
        width:75%;
    } 
    div#real-wold-home-row .et_pb_column {
        width:80%!important;
    }   
	
	div#real-wold-home-row p.large-banner-underline {
		font-size:23px!important;
	}
}

/*---End Banner homepage header desktop, tablet and mobile---*/

/*#main-content .et_pb_section.inner-banner-section {
    padding-top: 70vh !important;
}*/

body.admin-bar #main-content .et_pb_section.home-banner-section {
	height: calc(100vh - 32px);
}

@media screen and (max-width:782px) {
	body.admin-bar #main-content .et_pb_section.home-banner-section {
		height: calc(100vh - 46px);
	}	
}

#main-content .et_pb_section.home-banner-section .down-arrow-banner img,#main-content .et_pb_section.inner-banner-section .down-arrow-banner img {
	max-width: 50px;
}

#main-content .et_pb_section.home-banner-section .down-arrow-banner,#main-content .et_pb_section.inner-banner-section .down-arrow-banner {
    margin-top: auto;
    position: absolute;
    left: 0;
    width: 100%;
    max-width: 100%;
    bottom: 20px;
}

/*--Banner responsivness fixes---*/
@media screen and (max-width:1345px) {
    /*#main-content .et_pb_section.home-banner-section {        
        padding-top: 200px !important;
    }*/
}

@media screen and (max-width:980px) {
    #main-content .home-banner-section .banner-text, #main-content .inner-banner-section .banner-text {
        max-width: 100%;
        width: 100%;
    }   
}

@media screen and (max-width:1345px) and (min-width:767px){
    p.large-banner-underline {
        /*font-size: 40px !important;*/
		font-size: 30px !important;

    }    
}

@media screen and (max-width:767px) {
    #main-content p.large-banner-underline {       
        font-size: 4.5vh !important;
        padding-bottom: 20px!important;
        margin-bottom: 30px!important;
    }
    /*#main-content .et_pb_section.home-banner-section {        
        padding-top: 200px !important;
    }*/
}

@media screen and (max-width:550px) {
    #main-content p.large-banner-underline {       
        font-size: 4vh !important;
    }
    /*#main-content .et_pb_section.home-banner-section {        
        padding-top: 150px !important;
    }*/
}

/*---Menu fixes---*/
#top-menu .menu-item-has-children>a:first-child,#top-menu .menu-item-has-children>a:first-child:hover {
    cursor: text;
}

/*----Mobile Animation---*/
.et_pb_section.mobile-animation {
	height: 325vh !important;
	padding: 0 !important;
	overflow: hidden;
}
body #main-content .et_pb_section.mobile-animation .et_pb_row {
    padding-top: 50vh !important;
    padding-bottom: 0 !important;
    height: 100vh;
    width: 100% !important;
    max-width: 100% !important;
}

body #main-content .et_pb_section.mobile-animation .et_pb_row.starts {
	position: fixed;
	top: 0;
}

body #main-content .et_pb_section.mobile-animation .et_pb_row .et_pb_column:not(.et_pb_column_empty) {
	max-width: 90%;
    padding: 20px;
    position: absolute;
    bottom: 0;
    margin-bottom: 0;
    text-align: center;
    left: 5%;
}

body #main-content .et_pb_section.mobile-animation .et_pb_row .et_pb_column:not(.et_pb_column_empty):after {content: '';
    transition: 2s;
    position: absolute;
    background-color: inherit;
    width: 200%;
    height: 200%;
    top: -60px;
    left: -50%;
    border-radius: 50%;
    z-index:-1;}

body #main-content .et_pb_section.mobile-animation .et_pb_row .et_pb_column:not(et_pb_column_empty) .et_pb_module {
    max-width: 90%;
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
}

@media screen and (max-width:550px) {
	body #main-content .et_pb_section.mobile-animation .et_pb_row .et_pb_column:not(.et_pb_column_empty) {
	    max-width: 100%;
	    padding: 0px 5px 20px;
	    left: 0;
	}
	
	#main-content .mobile-animation h2 {font-size: 30px !important;}
	
	#main-content .mobile-animation h3 {font-size: 23px !important;}
	
	#main-content .mobile-animation p {font-size: 16px !important;}
	
	#main-content .mobile-animation a.et_pb_button {font-size: 16px !important;}
}

/*--fix for homepage arrow/video bit--*/
.et_pb_row.arrow-down#to-mobile-animation {
    z-index: 1;
}

a.et_pb_video_play {text-decoration: none !important; }

/*--Second twitter feed---*/
.stg-boarding-twitter-feed .et_pb_row {
    max-width: 960px;
}

/*---tabs---*/
@media screen and (max-width:550px) {
    div#open-event {top: 200px;}
    
    .floating-btn a {
        font-size: 16px;
    }
    
    div#arrange-a-visit {top: 400px;}    
}


/*---New Responsiveness---*/

body.ios #main-content .et_pb_section.home-banner-section .down-arrow-banner, body.ios #main-content .et_pb_section.inner-banner-section .down-arrow-banner {
    bottom: 50px;
}

@media screen and (max-width: 1195px) {
    .et_header_style_left #logo {
        max-height: 80%;
        max-width: 300px;
    }
    
	.et_header_style_left .logo_container {
		top: 0;
	}
	
    header#main-header {
	    position: fixed !important;
		transition: 0.5s !important;
	}
    .et-fixed-header#main-header {
        background-color: #100c47;
    }

	#main-header #logo {
		transition: 0.5s;	
	}
	
    .et-fixed-header#main-header #logo {
        /* max-width: 240px; */
	/* max-height: 80%; */}

	.et-fixed-header#main-header #et-top-navigation {
		padding-top: 0px;
	}

	.et_header_style_left #et-top-navigation .mobile_menu_bar {
		padding-top: 0;
		transition: 0.3s;
	}
	
	.et-fixed-header#main-header #et-top-navigation .mobile_menu_bar {
	    padding-top: 8px;
	}
	
	/*--Scrolling menu---*/	
	ul#mobile_menu.expandd {
	    overflow: scroll;
	    /* height: auto !important; */
	    max-height: calc(9 * 45px);
		max-height: calc(100vh - 84px) !important
	}
	
	ul#mobile_menu li.menu-item {
	    background-color: #281e69 !important;
	}	
	
	.mobile_nav.closed ul#mobile_menu.expandd {
	    max-height: none;
	}
	
	ul#mobile_menu::-webkit-scrollbar {
	  display: none;
	}
	
	/* Hide scrollbar for IE, Edge and Firefox */
	ul#mobile_menu {
	  -ms-overflow-style: none;  /* IE and Edge */
	  scrollbar-width: none;  /* Firefox */
	}
	
	/*---pop up fix---*/
	.pum-theme-st-georges-school-popup .pum-container {
	    top: 50px !important;
	    background-color: transparent;
	}
	
	.pum-theme-st-georges-school-popup .pum-content.popmake-content > div {
	    margin-bottom: 50px !important;
	}
	
	.pum-theme-st-georges-school-popup button.pum-close.popmake-close {font-size: 40px !important;right: 0;top: 1px;}
	
	.pum-theme-st-georges-school-popup .pum-content.popmake-content {outline: none !important;}
    
}


@media screen and (max-width: 550px) {
	div#the-alert {
	    width: 35px;
	    height: 35px;
	    top: 100px;
	}
	
    #main-content .et_pb_section.home-banner-section .down-arrow-banner, #main-content .et_pb_section.inner-banner-section .down-arrow-banner {
        bottom: 30px;
    }
    #main-content .et_pb_section.home-banner-section .down-arrow-banner img, #main-content .et_pb_section.inner-banner-section .down-arrow-banner img {
        max-width: 40px;
    }
    
	.et_header_style_left #logo {
	    max-width: 200px;
	    max-height: none;
	}
	
	.moove-gdpr-cookie-notice p {font-size: 11px !important;}
	
	#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container {padding: 10px !important;}
	
	#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content button.mgbutton {font-weight: 600;}
}


/*--fix for ios---*/
@media screen and (max-height: 700px) {
    #main-content .et_pb_section.home-banner-section .down-arrow-banner, #main-content .et_pb_section.inner-banner-section .down-arrow-banner {
        bottom: 50px;
    }
}

/*---NEW ANIMATION---*/
#main-content div#the-animated-section .shape-col,#main-content div#the-animated-section .shape-col-right {
	z-index:1;
}
#main-content div#the-animated-section .shape-col .et_pb_module,#main-content div#the-animated-section .shape-col-right .et_pb_module {
	visibility: hidden !important;
	opacity: 0 !important;
}

#page-container #main-content div#the-animated-section .shape-col:before {
    content: '';
    position: absolute;
    background-color: inherit;
    width: 100%;
    width: 1100px;
    height: 100%;
    height: 1100px;
    top: -285px;
    right: -91px;
    border-radius: 50%;
}

#page-container #main-content div#the-animated-section .shape-col-right:before {
    content: '';
    position: absolute;
    background-color: inherit;
    width: 100%;
    width: 1100px;
    height: 100%;
    height: 1100px;
    top: -285px;
	left: auto;
    right: -90px;
    border-radius: 50%;
}

#page-container #main-content div#the-animated-section .shape-col-right {
	right: 0;
}

#main-content div#the-animated-section .col-text {
	max-width:40% !important;
	left: 5%;
}

#main-content div#the-animated-section .col-text-right {
	max-width:40% !important;
	right: 0;
}

#main-content div#the-animated-section #life-row .col-text {
    max-width: 35% !important;
}

/*--TEMP---*/
div#heads-blog-section {
	background-image: url('/wp-content/uploads/2022/03/PXL_20220315_200301146.jpg') !important;
	}
	
/*--New Calendar---*/
#calendar-sec .tribe-common-l-container.tribe-events-l-container {padding: 0 !important;margin-top: 3em;}
#calendar-sec .tribe-common--breakpoint-medium.tribe-events .tribe-events-c-subscribe-dropdown {margin-bottom: 0;}
h3.underline.events-heading {max-width: 960px;margin: auto;}
#calendar-sec .tribe-events .datepicker {left: 0 !important;}
#calendar-sec .tribe-events .datepicker .month.current:not(.active) {background: transparent;font-weight: 800;text-decoration: underline;}
#calendar-sec .tribe-events .datepicker .month.current:hover {color: #fff; background: var(--tec-color-background-secondary-datepicker)}
#calendar-sec .tribe-events .tribe-events-calendar-month__day-cell--selected time {color: #fff !important;}

@media screen and (max-width:980px) {
	#calendar-sec span.tribe-events-calendar-day__type-separator-text, #calendar-sec .tribe-events .tribe-events-calendar-month-mobile-events__day-marker time, #calendar-sec .tribe-events-calendar-month-mobile-events__mobile-event-datetime.tribe-common-b2 time, #calendar-sec time.tribe-events-calendar-day__time-separator-text {
	    font-size: 20px;
	}
	#calendar-sec .tribe-events .tribe-events-calendar-month__day-date-daynum {
	    font-size: 24px;
	}
	#calendar-sec span.tribe-event-date-start, #calendar-sec span.tribe-event-time {font-size: 20px;}
    #calendar-sec .tribe-events-calendar-list__event-details {width: 100%;}
    #calendar-sec .tribe-events .tribe-events-calendar-list__event-date-tag {display: none;}
    #calendar-sec h2.tribe-events-calendar-list__month-separator time {font-size: 30px;}
    #calendar-sec h3.tribe-events-calendar-list__event-title, #calendar-sec h3.tribe-events-calendar-month-mobile-events__mobile-event-title, #calendar-sec h3.tribe-events-calendar-day__event-title {font-size: 24px !important;}    
    #calendar-sec ul.tribe-events-c-nav__list a {font-size: 20px !important;}
}

/*--Hide section on home and mobile---*/
@media screen and (max-width:550px) {
	body.home div#welcome:before {
	    content: none;
	}
	
	body.home div#welcome.et_pb_section.circular-bg .et_pb_column {
	    padding-top: 0;
	}
	
	body.home div#welcome {min-height: auto;}
}

/*--Fix animation slider so it's the same as image--*/
.et-pb-active-slide .et_pb_slide_description {
    -webkit-animation-name: fadeLeft;
    animation-name: fadeLeft;
}

/*---Aspect ratio for images---*/
.fts-tweeter-wrap .tweeter-info img, .single-blog-feed .et_pb_post a img {
    width: 100%;
    aspect-ratio: 9 / 6;
    object-fit: cover;
    object-position: top;
}

/*---Tablet - Home banner image---*/
@media screen and (max-width:980px) and (min-width:551px) {
	#main-content .et_pb_section.home-banner-section img {
	    width: 100%;
	    margin: auto !important;
	    text-align: left!important;
	    display: block;
	}
}

/*--Testimonial Slider section---*/
.el_md_testimonial_extended .el-testimonial-desc, .el_md_testimonial_extended .el-testimonial-desc p {
    font-size: 21px;
    line-height: 1.6em;
    font-weight: 700;
    font-style: italic;
    color: #fff;
    padding: 0 !important;
}

.el_md_testimonial_extended .layout1 .el-testimonial-portrait {
    top: 0;
}

span.el-testimonial-company {
    font-size: 17px !important;
    line-height: 1.8em;
    font-weight: 800;
    color: #5dc2ec;
    margin-top: 10px;
}

.el_md_testimonial_extended .layout1 .el-testimonial-meta {
	padding-top: 0 ;
	padding-bottom: 0;
}

.et_pb_module.el_md_testimonial_extended:before {
    content: '';
    position: absolute;
    left: -100px;
    top: -30px;
    background-image: url("/wp-content/uploads/2022/04/speech-marks.png");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    height: 50px;
    width: 50px;
}

.et_pb_module.el_md_testimonial_extended:after {
    content: '';
    position: absolute;
    bottom: 0;right: -100px;
    background-image: url("/wp-content/uploads/2022/04/speech-marks.png");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    height: 50px;
    width: 50px;
    transform: rotateX(0deg) rotateY(0deg) rotateZ(180deg);
}

.el_md_testimonial_extended .layout1 .el-testimonial-name {
    color: #fff;
    font-size: 15px;
}

img.el-mystery-person {display: none;}
.el_md_testimonial_extended .layout1 .el-testimonial-credit {margin-top: 0px;}

.swiper-button-next, .swiper-button-prev {color: #fff !important;}
.swiper-button-next:after, .swiper-button-prev:after {font-size: 35px !important;}
.swiper-button-next {right: -50px !important;}
.swiper-button-prev {left: -50px !important;}
.el_md_testimonial_extended .swiper-pagination {display: none !important;}

.swiper-button-disabled {
    display: none !important;
}

.light-background .el_md_testimonial_extended .layout1 .el-testimonial-name,.light-background .el_md_testimonial_extended .el-testimonial-desc, .light-background .el_md_testimonial_extended .el-testimonial-desc p {color: #100c47;}

.el_md_testimonial_extended .layout1 .el-testimonial-portrait {position: relative;height: auto;}

.el_md_testimonial_extended .el-testimonial-portrait img {width: auto;
    height: 75px;
    -o-object-fit: contain;
    object-fit: contain;
    -o-object-position: center;
    object-position: center;
}

@media screen and (max-width:980px) {
	.et_pb_module.el_md_testimonial_extended:before {
	    height: 30px;
	    width: 30px;
	    left: -30px;
	}
	
	.et_pb_module.el_md_testimonial_extended:after {
	    height: 30px;
	    width: 30px;
	    right: -30px;
	}
	.swiper-button-next {right: -30px !important;}
	.swiper-button-prev {left: -30px !important;}
}

@media screen and (max-width:550px) {
	.et_pb_module.el_md_testimonial_extended:before {
	    left: 0px;
	}
	
	.et_pb_module.el_md_testimonial_extended:after {
	    right: 0px;
	}
	.swiper-button-next,.swiper-button-prev {display: none !important;}
}
/*---Social icons on top---*/
@media (max-width: 980px) and (min-width:681px) {
    #et-secondary-menu, #et-secondary-nav {display: block !important;}
    div#et-secondary-menu .et-social-icons li {margin-left: 15px !important;}
}

@media (max-width:680px) {
    #main-header div#et-info, #main-header #et-secondary-menu {display: none !important;}
}

/*--Fix for circle smaller sections---*/
@media (min-width:1346px) {
	.et_pb_section.circular-bg.centre-small-circle:before {
	    height: 200%;
	    bottom: -50%;
	}
	
	.et_pb_section.circular-bg.btm-small-circle {
	    min-height: auto;
	}
	
	.et_pb_section:not(#welcome).circular-bg.btm-small-circle:before {
	    height: 200%;
	    bottom: -50%;
		max-height: none;
	}
}

@media (min-width:1196px) {
	/*---Changes to mega menu---*/
	.mega-menu-overlay:before {
		content: '';
	    height: 50%;
	    width: 100%;
	    position: fixed;
	    right: 0;
	    top: 0;
	    transition: 1s;
	    opacity: 0;
	    z-index: 6;
	    pointer-events: none;
	}
	
	.mega-menu-overlay.main_menu_activated:before {
		content: '';
	    height: 100%;
	    overflow: hidden;
	    width: 100%;
	    position: fixed;
	    right: 0;
	    top: 0;
	    z-index: 6;
	    transition: 1s;
	    background-color: rgba(16,12,71,0.9);
	    opacity: 1;
	    pointer-events: all;
	}
	
	div#welcome:before {
	    height: 110%;
	}
	
	.mega-menu-overlay:after {
	    content: '';
	    background-image: url('/wp-content/uploads/2022/04/real-world-ready-logo-yellow-white.png');
	    background-size: 500px;
	    background-repeat: no-repeat;
	    background-position-x: center;
	    background-position-y: 95%;
	    bottom: 0;
	    position: fixed;
	    width: 100%;
	    height: 100%;
	    z-index: 6;
	    transition-delay: 1s;
	    transition: 0.5s;
	    opacity: 0;
	    pointer-events: none;
	}
	
	.mega-menu-overlay.main_menu_activated:after {
	    opacity: 1;
	    transition-delay: 1s;
	}
}

/*--New Twitter account--*/
p.ctf-tweet-text:before {
    content: 'Twitter';
    display: block;
    margin-bottom: 10px;
    font-size: 26px;
    font-weight: 600;
    padding-left: 40px;
    background-image: url('/wp-content/themes/st-georges-school-windsor/images/twitter-icon.png');
    background-repeat: no-repeat;
    background-position: left bottom;
    background-size: 35px;
}

.ctf-item.ctf-author-stgboarding.ctf-hide-avatar.ctf-hide-author {
    margin-bottom: 0;
    padding: 0 !important;
}

.ctf-tweet-actions {
    display: none;
}

#ctf .ctf-tweet-media {
    margin-bottom: 20px;
}

/*p.ctf-tweet-text:after {
    content: "\e094";
    position: absolute;
    bottom: 60px;
    left: 0;
    font-family: ETmodules!important;
    color: #fff;
    border: 1px solid;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    font-size: 16px;
    text-align: center;
    line-height: 1.7em;
}*/

/*---Parent Menu item style change---*/
#top-menu>li>a, #et-secondary-menu>ul>li a, #mobile_menu>li>a {
    font-family: 'FrizQuadrataRegular'!important;
}

#top-menu>li>a,#mobile_menu>li>a {
    font-size: 14px !important;
	text-transform: uppercase !important;
}

.mobile_menu_bar:before {
    top: -6px;
}

@media screen and (min-width:981px) {
    li.mobile-anchor {
        display: none !important;
    }    
}


@media screen and (max-width:980px) {
    li.desktop-anchor {
        display: none !important;
    }    
}


/*---snag---*/
.social-media-section article {
    margin-bottom: 0;
}

#et-secondary-nav li {
    margin-right: 0 !important;
}

#ctf a {
    color: #fff;
}

@media screen and (max-width:680px) {
	.et-fixed-header .mobile_menu_bar:before {
		top: 0px;
	}
}

@media screen and (max-width:1400px) and (min-width:1345px) {
    div#mega-men-close {
        margin-left: -78px;
    }

    div#mega-men-close img {
        width: 85px;
    }

    .menu_activated img#logo {
        max-width: 250px !important;
    }
}

/*---New breakpoints---*/
@media screen and (max-width:1345px) and (min-width:1196px) {
    img#logo {
        max-width: 280px !important;
    }
    
    .menu_activated img#logo {
        max-width: 220px !important;
    }
    
    #top-menu>li>a {
        font-size: 13px !important;
    }
    
    #top-menu li {
        padding-left: 10px;
    }
    
    div#mega-men-close img {
        width: 78px;
    }

    #top-menu li .sub-menu a {
        font-size: 15px;
    }
    
	#top-menu>li:first-child {
	    padding-left: 0;
	}
}

@media screen and (max-width:1345px) and (min-width:1196px) {
    div#mega-men-close {
        margin-left: -85px;
    }
}

@media screen and (max-width:1195px) {
    #main-header:after {
        content: none !important;
    }
}

/*---New Twitter Boarding changes---*/
@media screen and (min-width:981px) {
    .stg-boarding-twitter-feed.et_section_regular .et_pb_row {
        max-width: 550px !important;
        margin: auto !important;
    }
    
    #ctf .ctf-tweet-media img, #ctf .ctf-tweet-media video {
        width: 100%;
        aspect-ratio: 9 / 6;
        object-fit: cover;
        object-position: top;
        float: none;
    }    
}


/*---New Snag fixes for mobile header---*/
@media screen and (max-width:1195px) and (min-width:681px) {
    div#et-secondary-menu {
        /*display: flex !important;*/
        padding-top: 5px;
    }

    #main-header #et-top-navigation,.et-fixed-header#main-header #et-top-navigation {
        padding-top: 14px;
    }
    
    #et-secondary-menu>ul>li a {
        padding-bottom: 0;
    }
    
    #et-secondary-nav>li {
        padding-right: 5px;
    }
    
    .et_header_style_left #et-top-navigation .mobile_menu_bar,.et-fixed-header#main-header #et-top-navigation .mobile_menu_bar {
        padding-top: 5px;
        padding-bottom: 24px;
    }    
}

@media screen and (max-width:1195px) and (min-width:981px) {
    #main-header #et-top-navigation, .et-fixed-header#main-header #et-top-navigation {
        padding-top: 33px;
    }
}

/*---Respionsive fixes for mega menu on smaller height screens---*/
@media screen and (max-height:900px) {
    #main-header.menu_activated:after {height: 90%;}
    #main-header:before {background-image: none;}
    .mega-menu-overlay:after {
        background-size: 200px;
        background-position-y: 98%;
    }
}

@media screen and (max-height:780px) {
    body #main-content .home-banner-section .et_pb_bottom_inside_divider {
        background-size: 100% 110px;
        bottom: 0;
        height: 110px;
    }    
    
	div#real-wold-home-row .et_pb_column span.et_pb_image_wrap img {
	    max-height: 100px !important;
	    width: auto;
	}
}

@media screen and (max-height:750px) and (min-width:1195px) {
    #main-header .nav>li.sb-touch-hover>ul.sub-menu {
        overflow-x: hidden;
        height: 55vh;
        overflow-y: scroll;
    }

    .mega-menu-overlay:after {
        background-size: 200px;
        background-position-y: calc(100% - 5px)
    }
}


/*---Divider for footer---*/
@media screen and (max-width:1195px) {
    #et-main-area footer .get-in-touch-section .et_pb_bottom_inside_divider {
        background-size: 100% 120px;
        height: 120px;
    }    
}

@media screen and (max-width:980px) {
    #et-main-area footer .get-in-touch-section .et_pb_bottom_inside_divider {
        background-size: 100% 80px;
        height: 80px;
    }    
}

@media screen and (max-width:550px) {
    #et-main-area footer .get-in-touch-section .et_pb_bottom_inside_divider {
        background-size: 100% 60px;
        height: 60px;
    }    
}

/*--BH97--*/
ul.tribe-events-c-nav__list li {
    margin-bottom: 0 !important;
}

/*--BH95, BH96, BH97---*/
@media screen and (min-width:1920px) {
    #main-content div#the-animated-section .et_pb_row .et_pb_column:not(.et_pb_column_empty) {
        max-width: 730px;
    }
}

body #main-content .et_pb_section.mobile-animation .et_pb_row .et_pb_column:not(et_pb_column_empty) .et_pb_module {
    max-width: calc(90% - 30px);
}

/*---Fixing banner blog news pages Bugherd Taskk91---*/
.blog-banner-section {
	height: calc(65vh);
	padding-top:0 !important;
	padding-bottom: 0 !important;
}
 
.blog-banner-section .et_pb_bottom_inside_divider {
    background-size: 100% 75px!important;
    height: 75px!important;  
}

@media screen and (max-width: 550px) {
	.blog-banner-section + .et_pb_section {
		padding-top:2em!important;
		padding-bottom:2em!important;
	}
}


