@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,600;0,700;0,800;1,300;1,400;1,600;1,700;1,800&amp;display=swap');

.slicknav_menu {display:none;}

/* ----------------------------------------- GENERAL ----------------------------------------- */

.site-inner, .wrap {
	max-width:unset;
}

h1, h2, h3, h4, h5, h6 {
	color: #404040; 
	font-weight: 700;
	line-height: 1.2;
	margin: 0 0 1.6rem;
}

a {
	color: #143d72;
}
p {
	font-family: "Open Sans", sans-serif;
}

.screen-reader-shortcut {
	color: #ffffff;
  	background: #000000;
}

body.custom-background {
	background-color: #31324E!important;
	background-position: left top !important;
}

button, input[type="button"], input[type="reset"], input[type="submit"], .button, .entry-content .button {
	background-color: #4C9600;
}

button:hover, input[type="button"]:hover, input[type="reset"]:hover, input[type="submit"]:hover, .button:hover, .entry-content .button:hover {
	background-color: #79C926;
}

a[href$='.pdf']:before {
	content: '\f1c1';
	font-family: FontAwesome;
	padding: 7px;
}

.toTop {
	background:#a49357;
	color:#313256;
	margin-bottom: 45px;
}

table, td, tbody, .featured-content .entry {
	border-color: #D2EBB9;
}
.entry-content p {
    margin-bottom: 10px;
    line-height: 24px;
		font-family: Lato, sans-serif;
}

#cycloneslider-home-page-slider-1 {
    max-width: 100%!important;
		width:100%!important;
		min-height:150px;
		overflow:hidden;
}

.cycloneslider-template-default .cycloneslider-slides {
	height:400px!important;
}

.home .cycloneslider-template-default .cycloneslider-slides {
	height:100vh!important;
}

.cycloneslider-template-default .cycloneslider-slide img {
	width:100%;
	object-fit: cover;
}

.cycloneslider-template-default .cycloneslider-slide img {
	height: 400px!important;
}

.home .cycloneslider-template-default .cycloneslider-slide img {
	width:100%;
	height: 100vh!important;
	object-fit: cover;
}

section#home-featured {
	margin-top:0px;
}

.cycloneslider-slides.cycle-slideshow {
		min-height:150px;
}

		#home-featured img#ht-img {
			float:left;
			width:200px;
			margin-right:70px;
		}

#welcome-message {
	background:#ed0627;
	color:#fff;
	padding:70px 20px;
}

/*------------------------------------ FULL SCREEN HEADER ------------------------------------*/

body {
	padding-top: 0;
}

.page-wrap {
    max-width: 1160px;
		margin:0 auto;
}

@media only screen and (max-width:1220px) {
	.page-wrap {
		margin:0 4rem;
	}
}

.logged-in .site-header {
	top:30px;
}

.site-header {
		position:absolute;
		z-index:200;
		top: 0px;
		left:0 ;
		width:100%;
  	height: auto;
		padding: 0!important;
    background: rgba(255, 255, 255, 0.7);
    background-position: 50%!important;
		background-size:cover;
}

.site-description {
	display:none;
}

.site-header .widget-area {
    width: 100%;
}

.site-header img.attachment-full {
    width: 670px;
    margin-top: 15px;
}

/* --------------------------- SITE HEADER IMAGE ------------------------------ */

.site-header .wrap {
    margin: 0 auto;
	max-width:1160px;
}

.site-header .widget-area {
    width: 750px;
    filter: drop-shadow(5px 5px 5px #222);
    z-index: 9999 !important;
    margin-top: 30px;
}

/*----------------------- EMAIL, SOCIAL MEDIA, SEARCH --------------------------*/

.email-twitter-links {
		position: absolute;
		top:0;
    left: 0;
    z-index: 3;
    width: 100%;
    background: #313256;
}

.email-twitter-links i {
	color:#fff;
}

.email-twitter-links ul li {
	display: inline-block;
}

.etl-wrap {
	text-align:right;
	max-width: 1160px;
  margin: 0 auto;
	font-size:18px!important;
}

/*--.email-twitter-links ul li.email {
	display: none;
}
--*/
.email-twitter-links ul li a {
	display: block;
	color: #fff;
	padding:5px 7.5px;
}

.email-twitter-links ul li a:hover {
    background: rgba(255,255,255,0.1);
		color:#b18736;
}

.email-twitter-links a:hover i, .email-twitter-links a:hover .etl-text {
	color:#b18736;
	cursor:pointer;
}

.email-twitter-links .expands {
	display: inline-block;
}

.expands form#demo-2 {
    padding-left: 7.5px;
}

input {
	outline: none;
}

input[type=search] {
	-webkit-transition: all .5s;
	-moz-transition: all .5s;
	transition: all .5s;
	border: none;
  box-shadow: none;
	height:28px;
	width: 0;
	overflow: hidden;
	padding: 0;
	color: transparent;
	cursor: pointer;
}

input:-moz-placeholder {
	color: #999;
}

input::-webkit-input-placeholder {
	color: #999;
}

#demo-2 input[type=search]:focus {
	width: 130px;
	height: 28px;
	background: #fff;
	color: #000;
	cursor: auto;
	padding-left:5px;
}

#demo-2 input:-moz-placeholder {
	color: transparent;
}

#demo-2 input::-webkit-input-placeholder {
	color: transparent;
}

.genesis-nav-menu > .search, li.right {
	display: none!important;
}

/* --------------------------- SEARCH RESULTS ------------------------------ */

.search.search-results .entry-content{display:none;}
.search.search-results .third-footer .entry-content{display:inline;}
.search.search-results .entry{margin-bottom: 0px; padding: 0px;}
.search.search-results .entry-title{margin-bottom:20px;padding-bottom:20px;font-size:1.3em;font-weight:normal;border-bottom:#ebecf7 1px solid;}
.search.search-results .archive-title{font-size:1.4em;}
.search.search-results .entry-title :before {content: "\f054"; color: #2d2f82 !important; font-family: FontAwesome; padding-right: 8px;}
.search.search-results .entry-title a:hover{color: #666;}
.archive-description {padding: 0;   text-transform: none !important;}
.mp_list_filter{display:none;}
.archive-pagination li a:hover, .archive-pagination li.active a {background-color: #2d2f82;}
.archive-description {background: transparent;}

/* ---------------------------------------- NAV ---------------------------------------- */

.nav-primary {
		background-color:unset;
  	text-align: center;
    width: 100%;
}

/* --------------------------------- CYCLONE SLIDER ------------------------------- */

.cycloneslider-template-standard .cycloneslider-caption {
    background: #fff!important;
    color: #143d72!important;
}

/* ------------------------------ CYCLONE SLIDER PAGER ---------------------------- */

.cycloneslider-template-standard .cycloneslider-pager span {		
    display: grid !important;
    margin: 0 3px !important;
    width: 10px !important;
    height: 10px !important;
    border-radius: 2px !important;
  	background: #e4e4e4 !important;
    float: left;
}

.cycloneslider-template-standard .cycloneslider-pager span.cycle-pager-active {
    background-color: #bf1c2d !important;
}

/* --------------------------- NEWS TICKER --------------------------- */

.mtphr-dnt-tick-container {
	background: #ffffff;
	margin-top: -36px;
	border-radius: 0;
	padding-bottom: 8px;
	font-weight: 400;
	color: #008073;
  font-size: 18px;
}

.mtphr-dnt-clearfix:before {
	font-family: FontAwesome;
	content: "\f137";
	color: #a5c7ec;
	margin-right: 5px;
	display: -webkit-inline-box;
}

.mtphr-dnt-control-links {
	display: none;
}

/* ---------------------------------------- HOME ---------------------------------------- */

#text-10 {
	margin-top: 30px;
}

.home-featured-left, .home-featured-right {
	border-bottom: none;
	overflow: hidden;
	padding: 0 0 10px;
}

.home-featured-right h4.widget-title, .home-featured-left h4.widget-title {
	background: #f90;
}

.hotspot-area img {
    margin-right: 0;
    width: 300px;
}

.home-featured-left {
	height: auto;
	color: #4f6900;
	text-align: justify;
	text-justify: distribute;
	padding: 0 14px 0 0;
}

.home-middle-1, .home-middle-2, .home-middle-3 {
	background: url(http://stjosephs-jarrow.wp-sch.durham.gov.uk/wp-content/uploads/sites/273/2014/09/header-flowers.png) no-repeat right 4px !important;
}

#home-middle .widget-title {
/*width: 85%;*/
	padding-bottom: 16px;
	border-bottom: 1px solid red;
}

#home-middle, #home-featured, #home-bottom {
    margin: 20px 0px 0px 0px;
		
}

/* Headteachers blog img size 
#home-featured .home-featured-right img {	width: 70px;
}*/
.em-calendar td.eventless-today, .em-calendar td.eventful-today {
	background-color: #fc3 !important;
}

/*-------------------------------- CENTRAL HOTSPOTS --------------------------------*/

.one-third, .two-sixths {
    width: 23%;
}
.central-hotspot img:hover {
	opacity: 0.5;
}

.central-hotspot img.attachment-full {
    width: 100%;
  	-webkit-box-shadow: 1px 1px 5px 1px rgba(199,199,199,1);
    -moz-box-shadow: 1px 1px 5px 1px rgba(199,199,199,1);
    box-shadow: 1px 1px 5px 1px rgba(199,199,199,1);
}


.home .central-hotspot section {
    max-height: auto;
    margin-bottom: 15px;
}

.more-link {
    color: #21177f;
    background-color: #c8d7fe;
    padding: 5px 20px 5px 20px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
  	border-left: 3px solid #eb0000;
}
.fpa-more-link a:hover {
    color: #fff;
    background-color: #eb0000;
}

#home-middle li:before {
	color: #497cbc;
	content: '\f005';
}

.home .content .category-news h1:before, .home .featured-content .entry-title a:before {
	content: "\f005";
	color: #fc1f29 !important;
}

.home .welcome {
    float: none;
    width: 100%;
  	font-family: 'Raleway', sans-serif;
		font-weight: normal;
}

.home .image-float {
    width: 20%;
    float: right;
    text-align: right;
}

/* --------------------------- GOOGLE CALENDAR --------------------------- */

.simcal-icon-right {
	background: url(https://wp-sch.durham.gov.uk/school_generic_images/arrowR.png) no-repeat center;
}
.simcal-icon-left {
	background: url(https://wp-sch.durham.gov.uk/school_generic_images/arrowL.png) no-repeat center;
}
.simcal-default-calendar-light .simcal-nav-button {
    color: transparent;
}
.simcal-default-calendar-light .simcal-nav-button:hover {
    color: transparent;
}
.simcal-default-calendar-light .simcal-nav-button:disabled, .simcal-default-calendar-light .simcal-nav-button:disabled:hover {
    color: transparent!important;
}
.simcal-default-calendar-light .simcal-nav-button:focus, .simcal-default-calendar-light .simcal-nav-button:hover {
    color: transparent;
}
.post-edit-link {
	display: none;
}

.simcal-default-calendar-grid.simcal-default-calendar-light .simcal-day-void, .simcal-default-calendar-grid.simcal-default-calendar-light .simcal-day-void:hover {
    background-color: #c7dbfb52;
		border-top: solid 1px #247BA3;
}

.simcal-default-calendar-grid.simcal-default-calendar-light .simcal-day-number {
    background-color: #c7dbfb52;
}

.simcal-today {
	background-color: #ffffff;
}

table, td, tbody, .featured-content .entry {
	border-color: #247ba5;
}

/* ----------------------------------------------------- SIDEBAR ----------------------------------------------------- */
.sidebar {
	background: #fff;
}

.sidebar .widget:first-child {
	background: #ebf4ff;
}

.sidebar li:before {
	content: "\f185";
	color: #c1c262 !important;
}

.sidebar a {
  	color: #404040;
}

.home .featured-content .entry-title a:before, .content .category-news h1:before, .featured-content .entry-title a:before {
	content: "\f005";
	color: FFD105 !important;
}
.sidebar .widget {
    margin-top: 0;
}
.sidebar .widget:first-child {
    background: #ebf4ff;
    margin-top: 0;
}

/* ----------------------------------------- FOOTER ----------------------------------------- */

.footer-widgets {
    max-width: 100%;
    padding: 0;
    margin-left: auto;
    border-top: 0;
}

.footer-widgets img {
  max-height: 60px;
}

.site-footer {
  max-width: 100%;
	background: #31324E;
	color: #fff;
	font-size: 14px;
	font-size: 1.4rem;
	padding: 0;
	text-align: left;
}

.third-footer-inner .one-third {
    padding: 0px;
		margin: 0;
		margin-right:30px;
    width: 33.3333%;
}

.third-footer-inner {
	padding: 30px 0px 0px 0px;
}

.site-footer h6 {
	color: #ffffff;
    font-size: 2rem;
  	font-weight: normal;
    font-family: 'Raleway', sans-serif;
    text-transform: none!important;
}

.site-footer a {
    border-bottom: 1px solid #ffffff;
    font-weight: 900;
    color: #ffffff;
}

.site-footer a:hover {
	color: #ffffff;
  font-weight: strong;
}

.site-footer .third-footer-inner article {
     border-bottom: none;
}

.site-footer .copyright-footer {
    padding: 20px;
		width:100%;
    text-align: center;
}

.site-footer .copyright-footer p {
	color: #ffffff;
}

.site-footer .copyright-footer a {
	color: #ffffff;
  font-weight: 900;
  border-bottom: 1px solid #ffffff;
  transform: scale(1.02)
}
/* ------------- Inline PDF styling ------------- */

#inlinepdf-document {
    width: calc(100% - 10px);
    height: calc(100vh - 100px);
    margin: 30px 0;
    border: 5px solid #525659;
}

#inlinepdf-document {
height: 800px;
}

/*--------------------------------------- Media queries ---------------------------------------*/

/*--------------------------- 1024 ---------------------------*/

@media only screen and (max-width:1024px) {
	header.site-header {
		height: auto;
	}
	
	img.attachment-full {
		width: 600px!important;
	/*the rule below moves the logo by the designated pixels from its original position*/
		top: 0;
	}
	
	.site-header .widget-area {
		overflow: visible;
}
	
	.site-inner {
		padding:0;
	}
	
	.genesis-nav-menu a {
    padding: 12px!important;
  }
  
  .footer-widgets {
    padding: 0px;
		background: #fff;
  }
  
  .footer-widgets img {
    max-height: 56px;
}
	
	#welcome-message {
		padding:30px 20px;
	}
	
}

/*--------------------------- 900 ---------------------------*/

@media only screen and (max-width:900px) {
	header.site-header {
    height: auto;
		padding:15px;
	}
}

/*--------------------------- 800 ---------------------------*/

@media only screen and (max-width:800px) {
	.nav-primary {
		display:block;
	}
	
	.rl-image-widget-image {
		width: 20% !important;
	}

	.footer-widgets {
		display: none;
}
}

/*--------------------------- 767 ---------------------------*/

@media only screen and (max-width:767px) {
	.home .central-hotspot section {
	  	max-height: 100%;
    	margin-bottom: 25px;
        max-width: 50%;
        margin: 0 auto;
  	}
  
  	.home .welcome, .home .image-float {
        width: 100%!important;
        float: none!important;
        text-align: left!important;
	}
  
  	.site-footer .entry-content {
  		margin-bottom: 20px;
}
	
			#home-featured img#ht-img {
			float:left;
			width:200px;
			margin-right:15px;
		}
	
}

/*--------------------------- 500 ---------------------------*/

@media only screen and (max-width:500px) {
	#title-logo {
		float:none!important;
		text-align:center;
	}
	.title-area {
		display:block!important;
	}
	
	header.site-header {
		height:auto;
		padding: 0!important;
		background: rgba(255, 255, 255, 0.7);
		background-position: 50%!important;
		background-size:cover!important;
	}
	
	.site-header .header-left img, .header-middle img, .site-header img {
		margin: 0 auto;
		padding: 0;
		text-align: center;
	}
	
	.site-header {
		padding-top: 0;
	}
	
	.site-title a {
		color: #71b12f;
		font-size: 24px;
		font-weight: bold;
		text-indent: 0;
	}

	
  	.site-header .widget-area.header-left {
    	margin-top: 10px;
  	}
  
	img.attachment-full {
		top: 10px;
        max-width: 95%;
	}
  
  	.home .central-hotspot section {
    	max-width: 100%;
}
	.one-third, .two-sixths {
    	width: 100%;
    	margin: 10px 0;
	}

	.central-hotspot section a {
	    margin-bottom: 15px;
	}

	.site-footer {
	    padding: 0 20px;
    }

	.third-footer-inner .one-third {
    	width: 100%;
	}

	.site-footer .copyright-footer {
    	line-height: 35px;
}

}

.title-area {display:flex;flex-wrap:wrap;padding-bottom:0;}
.title-wrap {
	margin-left:15px;
	align-self:center;
}

#mega-menu-wrap-max_mega_menu_1 {
    width: 100%;
}

.site-title a, .site-description {
	color: #fff;
}

.site-title a {
	font-weight:400;
}
/*
.site-header .wrap {
    margin: 0 auto;
    max-width: 1140px;
}
*/

#title-logo {
	margin-top:30px;
	height: auto;
	max-height: 130px;
	float:left;
}
/*
#home-featured img {
    margin-right: 14px;
    object-fit: cover;
    width: 100%;
    height: 100%;
}
*/
.central-hotspot {
    width: 100%;
    margin: 0 auto!important;
    display: block;
    padding: 30px 0;
}

.central-hotspot section {
    max-width: 1140px;
    margin: 0 auto;
}

section#cyclone-slider-widget-2 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

aside.sidebar.sidebar-primary.widget-area {
    margin: 0;
		padding: 40px 0;
    border-left: 1px solid #ddd;
}

aside.sidebar.sidebar-primary.widget-area section {
	background:#fff;
}

.page .site-inner {
		margin-top:30px;
    padding: 30px!important;
}

.widget .widgettitle {
    border-left: 3px solid #c8a049;
    padding-left: 9px;
}

.widget-area .widget h4 {
    font-size: 1.2em;
    line-height: 1.2em;
    margin-bottom: 15px;
    margin-top: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Roboto",sans-serif !important;
    font-weight: 300 !important;
}

.sidebar li:before {
	display:none;
}

.sidebar .menu-item-has-children > a {
    background: #f7f7f7;
    display: block;
    padding: 20px;
    text-transform: uppercase;
		font-size:1em;
		font-weight:400;
}

.sidebar ul li {
    padding-left: 0;
}

.sidebar ul.sub-menu li {
	margin-left:1em;
	padding-left:0;
	border-bottom:1px solid #c8a049;
}

.sidebar ul.sub-menu li a {
	color: #313256;
}

.sidebar .current-menu-item {
    font-weight: bold;
}

.sidebar ul.sub-menu li a:before {
    content: '› '!important;
    font-size: 1.4em!important;
    line-height: 18px;
    margin-right: 2px;
}

.sidebar .menu-item-has-children ul {
    display: none;
}

.sidebar .current-menu-parent ul {
    display: block;
}

.content-sidebar-wrap {
    display: flex;
	flex-wrap:wrap;
}

.page div#cycloneslider-home-page-slider-1 {
    max-height: 300px;
}

.home div#cycloneslider-home-page-slider-1 {
	max-height:none;
}

ul#foot-social-media {
    list-style-type: none;
	text-align:center;
}

ul#foot-social-media li {
		font-size:36px;
    display: inline-block;
		padding-left:10px;
}

ul#foot-social-media a {
    border-bottom: none!important;
}

ul#foot-social-media a:hover {
	color:#a49357;
}

address {
    margin-bottom: 20px;
    font-style: normal;
    line-height: 1.42857;
}

div#contact-wrap {
    font-family: "Open Sans";
    font-size: 14px;
}

div#contact-wrap a {
    color:#a49357;
		text-decoration:none;
		border-bottom:0;
	font-weight:normal;
}

#footer-wrap {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
		padding: 2rem 0rem;
		max-width:1160px;
		margin: 0 auto;
}

@media only screen and (max-width:850px) {
	
	#social-feeds {
		flex-wrap:wrap;
	}
	
	.s-feed {
    width: 100%!important;
		margin-bottom:40px;
	}
	
	.s-feed:last-of-type {
		margin-bottom:0px;
	}
	
	#footer-wrap {
		flex-wrap: wrap;
	}
	
	#footer-wrap .one-third {
		width:100%;
	}
	
	#footer-wrap h6 {
		margin-top:40px;
	}
	
	dd.simcal-day {
    width: 50%!important;
	}
	
}

@media only screen and (max-width:600px) {
	dd.simcal-day {
    width: 100%!important;
	}
}

@media only screen and (max-width:1062px) {
	.site-header .wrap {
		margin: 0 auto;
	}
}

#footer-wrap .first {
	width:45%;
}

#accreditations {
	background:#fff;
	height:100px;
	width:100%;
}

.gs_logo_single img {
    margin: 0 auto!important;
    height: 80px!important;
		width: auto!important;
    object-fit: contain;
}

.gs_logo_single--wrapper.swiper-slide {
    height: auto!important;
}

.gs_logo_area.slider1 {
    margin: 0 4rem;
}

section#home-featured {
    width: 100%;
}

/* ---- CALENDAR ---- */

.simcal-default-calendar-list .simcal-calendar-head {
	display:none;
}

dt.simcal-day-label {
    display: none;
}

dl.simcal-events-list-container {
    display: flex;
    flex-wrap: wrap;
}

dd.simcal-day {
    width: 33.33%;
}

span.simcal-event-start.simcal-event-start-date {
    border-radius: 50%;
    border: solid 3px #fff;
    align-self: start;
    min-height: 80px;
    min-width: 80px;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 15px;
    font-weight: bold;
    background-color: #313256;
    padding: 10px;
    color: #fff;
	  margin-right: 30px;
}

.simcal-event-details a {
    display: flex;
    align-items: center;
}

span.simcal-event-title {
    font-size: 16px;
}
.home-featured-full h2 {
    text-transform: uppercase;
    font-size: 22px;
    border-left: solid 3px #313256;
    padding-left: 10px;
    margin-bottom: 30px;
}

.simcal-default-calendar-list {
	padding:0;
}

p.simcal-align-right {
	display:none;
}

.simcal-default-calendar-list ul.simcal-events {
    margin: 0;
    margin-right: 24px;
}

dd.simcal-day:hover .simcal-event-start {
	background: #23243d;
}

dd.simcal-day:hover .simcal-event-details strong {
    color: #23243D;
		text-decoration:underline;
}

.view-events {
    display: inline-block;
    margin-top: 0px;
    background-color: #313256;
	  border: 3px solid #313256;
    padding: 5px 10px;
    transition: all 0.3s ease;
    font-size: 16px;
    color: #fff;
    text-transform: none;
}

.view-events:hover {
    background-color: #fff;
		border: 3px solid #313256;
    color: #313256;
    transition: all 0.3s ease;
}

/* ---- NEWS ---- */

#featured-post-3 .entry-meta {
	display:block;
	margin:0 30px;
}

.home .featuredpost.featured-content .entry .entry-content {
	margin:0 30px 30px;
}

.home .featured-content .entry-title a:before, .content .category-news h1:before, .featured-content .entry-title a:before {
	display:none;
}

.home .entry-title, .home .entry-title a {
	padding-left:0;
}

.home .entry-title {
	margin-top:30px;
	margin-left:30px;
	margin-right:30px;
	margin-bottom:0;
}

.home .featuredpost.featured-content .entry {
    width: calc(100% / 3 - 15px);
		background: #e6e6e7;
		color:#6d6e71;
}

img.entry-image.attachment-post {
    width: 100%;
    height: 200px;
    object-fit: cover;
    object-position: 50% 30%;
}

.featuredpost article a.aligncenter {
    margin-bottom: 0px!important;
}

.home-featured-full section {
    margin-bottom: 0px;
}

.home .featuredpost .widget-wrap {
	display:flex;
	flex-wrap:wrap;
	justify-content:space-between;
}

.home .featuredpost .widget-title {
    width: 100%;
}

/* ---- Slick News ---- */


#featured-post-3 {
	position: relative;
}

#teacher-page {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}

#featured-post-3 .slick-track {
	display: flex;
	width: calc(100% - 160px);
	padding: 10px;
	margin: 0 -10px;
}

#featured-post-3 .slick-list.draggable {
	overflow: hidden;
	display: flex;
  justify-content: space-between;
	margin-top:40px;
}
#featured-post-3 .slick-arrow {
	width: 50px;
	font-size: 24px;
	overflow: hidden;
	color: var(--hex-light);
	cursor: pointer;
	height: 100%;
}
#featured-post-3 .slick-arrow:hover {
	color:#fff;
	background:#313256;
}
#featured-post-3 .slick-arrow i {
	margin: 0 auto;
}

#featured-post-3 .slick-disabled {
	color: #999;
	transition: all 300ms ease-in-out;
	cursor: default;
}

#featured-post-3 .slick-slide {
    margin: 0 13px;
  }
  /* the parent */
#featured-post-3  .slick-list {
    margin: 0 -13px;
  }

#featured-post-3 .slick-arrow {
		background: #fff;
    cursor: pointer;
    height: 34px;
    line-height: 30px;
    position: absolute;
    text-align: center;
    top: 0px;
    right: 0;
    width: 34px;
    z-index: 1;
		border: solid 2px #313256;
    color: #313256;
		font-size: 100%;
}

#featured-post-3 .prev.slick-prev.slick-arrow {
    right: 43px!important;
}

section#custom_html-6 {
    margin-bottom: -30px;
}

@media only screen and (max-width:555px) {
	section#custom_html-6 {
    margin-bottom: 0px;
	}
}

section#custom_html-6 h2 {
    MARGIN-BOTTOM: 0;
}


.year-buttons {
    display: flex;
		flex-wrap:wrap;
    justify-content: space-between;
}

a.yearButton {
background: #fff;
    border: 3px solid #fff;
		border-radius: 26px;
    color: #313256;
    padding: 10px 20px;
    font-size: 16px;
    width: calc(100% / 8 - 15px);
    white-space: nowrap;
    text-align: center;
    font-weight: bold;
    margin-right: 15px;
}

.yearButton:last-of-type {
    margin-right: 0px;
}

a.yearButton:hover {
    background: #313256;
    color: #fff;
}

@media only screen and (max-width:1250px) {
	a.yearButton {
		width: calc(100% / 4 - 15px)!important;
	}
	
	a.yearButton:nth-child(n+5) {
		margin-top:15px;
	}
	
	a.yearButton:nth-child(4) {
    margin-right: 0px;
	}
	
}

@media only screen and (max-width:700px) {
	a.yearButton {
		width: calc(100% / 2 - 15px)!important;
	}
	
	a.yearButton:nth-child(n+3) {
		margin-top:15px;
	}
	
	a.yearButton:nth-child(2), a.yearButton:nth-child(4), a.yearButton:nth-child(6), a.yearButton:nth-child(8) {
    margin-right: 0px;
	}
}

#social-feeds {
	margin-top:60px;
	display:flex;
	justify-content:space-between;
}

.s-feed {
	width:calc(100% / 3 - 15px);
}

.s-feed-ttl {
		display: block;
    color: #fff;
    background: #313256;
    text-align: center;
    padding: 10px 15px;
    font-size: 24px;
    margin-bottom: 10px;
}

.s-feed-cntnt {
	min-height:430px;
}

.s-feed-btn {
	  display: block;
    color: #fff;
    background-color: #313256;
		border: 3px solid #313256;
    text-align: center;
    padding: 10px 0;
}

.s-feed-btn:hover {
	color:#313256;
	text-decoration: underline;
	background-color:#fff;
	border: 3px solid #313256;
}

#home-featured-halves {
	margin-top:0px;
}

/* ---- MOSAIC / GRID ---- */

#mosaic-wrap {
	display:block;
	padding:40px 0;
}

#mosaic-links {
		min-height: 900px;
		display: grid;
    grid-template-columns: 1fr 10px 1fr 10px 1fr 10px 1fr;
    grid-template-rows: 1fr 10px 1fr 10px 1fr 10px 50px;
	}
	
	.mosaic-block {
		position: relative;
    background: rgba(0,0,0,0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding: 25px;
		transition: all 0.3s ease;
	}

.end-button {
	color:#fff;
	background:#313256;
	font-size: 18px;
  text-transform: capitalize;
	font-weight:bold;
}

.end-button:hover {
	background:#a49357;
	color:#313256;
}

.mosaic-block.double-block, .end-button {
	justify-content:space-around;
}

.mosaic-block:hover .mosaic-link {
    background: #fff;
    color: #313256;
}

.mosaic-link {
	    display: inline-block;
    border: 1px solid #fff;
    padding: 5px 40px;
    font-weight: bold;
    color: #fff;
	transition: all 0.3s ease;
}



#mosaic-links h2 {
		border:0;
		padding:0;
		color: #fff;
    font-size: 22px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    z-index: 2;
    font-weight: bold !important;
    text-shadow: 0 1px 2px rgb(0 0 0 / 40%);
}

.mosaic-cntnt {
    text-align: center;
	z-index:3;
}

.mosaic-block:after {
    content: '';
    background-color: rgba(0, 0, 0, 0.4);
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
	transition: all 0.3s ease;
}

.mosaic-block:hover:after {
	background-color:rgba(0,0,0,0.2);
	transition: all 0.3s ease;
}

.end-button:after {
	display:none;
}

	#block-1 {
		background-image: url(https://staloysiusinfantjunior.wp-sch.durham.gov.uk/wp-content/uploads/sites/274/2021/02/st-aloy-block-01.jpg);
		background-size: cover;
    background-repeat: no-repeat;
		grid-column-start: 1;
    grid-column-end: 2;
    grid-row-start: 1;
    grid-row-end: 4;
	}

#block-2 {
		background-image: url(https://staloysiusinfantjunior.wp-sch.durham.gov.uk/wp-content/uploads/sites/274/2021/02/st-aloy-block-02.jpg);
	  background-size: cover;
    background-repeat: no-repeat;
	  grid-column-start: 3;
    grid-column-end: 4;
    grid-row-start: 1;
    grid-row-end: 2;
}

#block-3 {
	background-image: url(https://staloysiusinfantjunior.wp-sch.durham.gov.uk/wp-content/uploads/sites/274/2021/02/st-aloy-block-03.jpg);
	  background-size: cover;
    background-repeat: no-repeat;
	grid-column-start: 5;
    grid-column-end: 8;
    grid-row-start: 1;
    grid-row-end: 2;
}

#block-4 {
	background-image: url(https://staloysiusinfantjunior.wp-sch.durham.gov.uk/wp-content/uploads/sites/274/2021/02/st-aloy-block-04.jpg);
	  background-size: cover;
    background-repeat: no-repeat;
	  grid-column-start: 3;
    grid-column-end: 4;
    grid-row-start: 3;
    grid-row-end: 4;
}

#block-5 {
	background-image: url(https://staloysiusinfantjunior.wp-sch.durham.gov.uk/wp-content/uploads/sites/274/2021/02/st-aloy-block-05.jpg);
	  background-size: cover;
    background-repeat: no-repeat;
	    grid-column-start: 5;
    grid-column-end: 6;
    grid-row-start: 3;
    grid-row-end: 4;
}

#block-6 {
	background-image: url(https://staloysiusinfantjunior.wp-sch.durham.gov.uk/wp-content/uploads/sites/274/2021/02/st-aloy-block-06.jpg);
	  background-size: cover;
    background-repeat: no-repeat;
	grid-column-start: 7;
    grid-column-end: 8;
    grid-row-start: 3;
    grid-row-end: 6;
}

#block-7 {
	background-image: url(https://staloysiusinfantjunior.wp-sch.durham.gov.uk/wp-content/uploads/sites/274/2021/02/st-aloy-block-07.jpg);
	  background-size: cover;
    background-repeat: no-repeat;
	  grid-column-start: 1;
    grid-column-end: 4;
    grid-row-start: 5;
    grid-row-end: 6;
}

#block-8 {
	background-image: url(https://staloysiusinfantjunior.wp-sch.durham.gov.uk/wp-content/uploads/sites/274/2021/02/st-aloy-block-08.jpg);
	  background-size: cover;
    background-repeat: no-repeat;
		grid-column-start: 5;
    grid-column-end: 6;
    grid-row-start: 5;
    grid-row-end: 6;
}

#block-9 {
	    grid-column-start: 1;
    grid-column-end: 4;
    grid-row-start: 7;
    grid-row-end: 8;
}

#block-10 {
	grid-column-start: 5;
    grid-column-end: 6;
    grid-row-start: 7;
    grid-row-end: 8;
}

#block-11 {
	    grid-column-start: 7;
    grid-column-end: 8;
    grid-row-start: 7;
    grid-row-end: 8;
}

@media only screen and (max-width:980px) {
	#mosaic-links {
	    grid-template-columns: 1fr 10px 1fr;
    grid-template-rows: 1fr 10px 1fr 10px 1fr 10px 1fr 10px 50px 10px 50px;
	}
	
	.mosaic-block {
		justify-content: flex-end!important;
	}
	
	.mosaic-block.end-button {
		justify-content: space-around!important;
	}
	
		#block-1 {
grid-column-start: 1;
    grid-column-end: 2;
    grid-row-start: 1;
    grid-row-end: 2;
	}

#block-2 {
    grid-column-start: 3;
    grid-column-end: 4;
    grid-row-start: 1;
    grid-row-end: 2;
}

#block-3 {
grid-column-start: 1;
    grid-column-end: 2;
    grid-row-start: 3;
    grid-row-end: 4;
}

#block-4 {
    grid-column-start: 3;
    grid-column-end: 4;
    grid-row-start: 3;
    grid-row-end: 4;
}

#block-5 {
	    grid-column-start: 1;
    grid-column-end: 2;
    grid-row-start: 5;
    grid-row-end: 6;
}

#block-6 {
    grid-column-start: 3;
    grid-column-end: 4;
    grid-row-start: 5;
    grid-row-end: 6;
}

#block-7 {
	  grid-column-start: 1;
    grid-column-end: 2;
    grid-row-start: 7;
    grid-row-end: 8;
}

#block-8 {
    grid-column-start: 3;
    grid-column-end: 4;
    grid-row-start: 7;
    grid-row-end: 8;
}

#block-9 {
    grid-column-start: 1;
    grid-column-end: 2;
    grid-row-start: 9;
    grid-row-end: 10;
}

#block-10 {
    grid-column-start: 3;
    grid-column-end: 4;
    grid-row-start: 9;
    grid-row-end: 10;
}

#block-11 {
    grid-column-start: 1;
    grid-column-end: 4;
    grid-row-start: 11;
    grid-row-end: 12;
}
}

@media only screen and (max-width:560px) {
	#mosaic-links {
			grid-template-columns: 10px 1fr 10px;
			grid-template-rows: 1fr 10px 1fr 10px 1fr 10px 1fr 10px 1fr 10px 1fr 10px 1fr 10px 1fr 10px 50px 10px 50px 10px 50px;
	}
	
		.mosaic-block {
		justify-content: flex-end!important;
	}
	
	.mosaic-block.end-button {
		justify-content: space-around!important;
	}
	
			#block-1 {
grid-column-start: 2;
    grid-column-end: 3;
    grid-row-start: 1;
    grid-row-end: 2;
	}

#block-2 {
    grid-column-start: 2;
    grid-column-end: 3;
    grid-row-start: 3;
    grid-row-end: 4;
}

#block-3 {
    grid-column-start: 2;
    grid-column-end: 3;
    grid-row-start: 5;
    grid-row-end: 6;
}

#block-4 {
    grid-column-start: 2;
    grid-column-end: 3;
    grid-row-start: 7;
    grid-row-end: 8;
}

#block-5 {
    grid-column-start: 2;
    grid-column-end: 3;
    grid-row-start: 9;
    grid-row-end: 10;
}

#block-6 {
    grid-column-start: 2;
    grid-column-end: 3;
    grid-row-start: 11;
    grid-row-end: 12;
}

#block-7 {
    grid-column-start: 2;
    grid-column-end: 3;
    grid-row-start: 13;
    grid-row-end: 14;
}

#block-8 {
    grid-column-start: 2;
    grid-column-end: 3;
    grid-row-start: 15;
    grid-row-end: 16;
}

#block-9 {
    grid-column-start: 2;
    grid-column-end: 3;
    grid-row-start: 17;
    grid-row-end: 18;
}

#block-10 {
    grid-column-start: 2;
    grid-column-end: 3;
    grid-row-start: 19;
    grid-row-end: 20;
}

#block-11 {
    grid-column-start: 2;
    grid-column-end: 3;
    grid-row-start: 21;
    grid-row-end: 22;
}
}

span#foot-tel {
    font-size: 16px;
}

.elt-text {
	font-family: "Open Sans", sans-serif;
	font-weight:normal;
	font-size:14px;
}

.vle a::before {
    content: "|";
    display: inline-block;
    padding-right: 5px;
}

.vle a::after {
    content: "|";
    display: inline-block;
    padding-left: 5px;
}

/* ---- Tables ---- */

.tablepress.dataTable {
    border: 1px solid #ddd;
		margin-bottom:15px;
}

.tablepress thead th {
    background: none;
    padding: 15px;
    font-size: 14px;
}

.tablepress td {
		padding: 10px 15px;
    font-size: 13px!important;
}

.tablepress tbody {
    border-color: #ddd;
}

a[href$='.pdf']:before {
	padding-left: 0px;
}

table caption {
	margin-top:15px!important;
}

.search.search-results .site-inner {
    padding: 30px;
}

.page-template.page-template-page_blog-php .sidebar-primary {
    padding-top: 0px!important;
}

.page-template.page-template-page_blog-php .sidebar-primary > .widget_text {
    display: none;
}

.page-template-page_blog-php article.post {
    border-bottom: 1px solid #ddd;
}

.page-template-page_blog-php h2.entry-title {
    font-size: 3rem;
}

h1, h2, h3, h4, h5, h6 {
    color: #31324e;
    border-left: 3px solid #c9a148;
    padding-left: 10px;
}

.page-template-default .sidebar-primary .widget_text, .post-template-default .sidebar-primary .widget_text {
    display: none;
}

.page-template-default aside.sidebar-primary, .post-template-default aside.sidebar-primary {
    padding-top: 0px!important;
}

/* 
.home #home-slider {
	display: block;
}

#home-slider {display:none;}
*/

#accreditations .gs_logo_container {
	height:100px;
}