/*
Theme Name: Catholic Schools Theme 2
Description: Catholic Schools Theme 2
Author: NTech Media
Author URI: http://ntechmedia.com


	Base Theme Name: HTML5 Blank
	Base Theme URI: http://html5blank.com
	Base Description: HTML5 Blank WordPress Theme
	Base Version: 1.4.2
	Base Author: Todd Motto (@toddmotto)
	Base Author URI: http://toddmotto.com
	Base Tags: Blank, HTML5, CSS3
	
	Base License: MIT
	Base License URI: http://opensource.org/licenses/mit-license.php
*/

/*------------------------------------*\
    MAIN
\*------------------------------------*/

/* global box-sizing */
*,
*:after,
*:before {
	box-sizing:border-box;
	-webkit-box-sizing:border-box;
	-moz-box-sizing:border-box;
	-webkit-font-smoothing:antialiased;
	font-smoothing:antialiased;
/* Disabling due to issues, and because HTML5 Boilerplate made the same change */
/* for similar reasons 4 years ago and still hasn't added it back in yet */
/* https://github.com/h5bp/html5-boilerplate/commit/0d7f8d775ab4ab171c6372f992d506088ca5d3ed */
/* http://aestheticallyloyal.com/public/optimize-legibility/ */
/*	text-rendering:optimizeLegibility; */
}
/* html element 62.5% font-size for REM use */
html {
	font-size:62.5%;
}
body {
	font: 400 14px/1.4 'Lato', Helvetica, Arial, sans-serif;
	color: #585d5e;
}
/* clear */
.clear:before,
.clear:after {
    content:' ';
    display:table;
}

.clear:after {
    clear:both;
}
.clear {
    *zoom:1;
}
img {
	max-width:100%;
	vertical-align:bottom;
}
a {
	color:#3c77af;
	text-decoration:none;
}
a:hover {
	color:#3c77af;
	text-decoration: underline;
}
a:focus {
	outline:0;
}
a:hover,
a:active {
	outline:0;
}
input:focus {
	outline:0;
	border:1px solid #04A4CC;
}

/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/

.colour_bar {
	background: url(img/colourbar_full.png) repeat-x center;
	height: 3px;
}

.contact_bar {
	height: 32px;
}

.contact_inner,
.mobile-widget {
	width: 100%;
	max-width: 1200px;
	margin: 0px auto;
	color: #FFFFFF;
}

.contact_bar h3,
.mobile-widget h3 {
	display: none;
	color: #fff568;
	font: 300 13px 'Lato', Helvetica, Arial, sans-serif;
	text-transform: uppercase;
	margin: 0px;
	padding-right: 5px;
}

.mobile-widget h3 {
	width: 70px;
}

@media only screen and (max-width:1200px) {
/*	.contact_inner {
		padding-left: 10px;
	}
*/
}

@media only screen and (max-width:1100px) {
	.contact_bar h3 {
		font-size: 11px;
	}
	
	.contact_bar .textwidget {
		font-size: 11px;
		line-height: 21px;
	}
	
}

.contact_bar a,
.mobile-widget a {
	color: #FFFFFF;
	display: inline-block;
	vertical-align: top;
}


.contact_bar .sidebar-widget {
	display: inline-block;
	width: calc(100% - 128px);
	padding-top: 7px;
	padding-left: 10px;
}

.contact_bar .sidebar-widget .widget_text {
	margin-left: 16px;
	padding-left: 16px;
	display: inline-block;
	border-left: 1px solid rgba(255,255,255,0.7);
}

.contact_bar .sidebar-widget .widget_text:first-child {
	margin: 0px;
	padding: 0px;
	border: none;
}


.contact_bar .sidebar-widget .textwidget,
.mobile-widget .textwidget {
	display: inline-block;
	vertical-align: top;
}

.mobile-widget .widget_text {
	padding: 5px 0px;
}

.contact_bar .sidebar-widget .textwidget p,
.mobile-widget .textwidget p {
	margin: 0px;
	font-weight: bold;
}

.contact_bar .sidebar-widget .find_us .textwidget p {
	font-weight: normal;
}

@media only screen and (max-width:960px) {
	.contact_bar .sidebar-widget .textwidget {
		display: none;
	}
	
	.contact_bar h3 {
		cursor: pointer;
		display: inline-block;
	}
	
	.contact_bar h3::after {
		content: " »";
		color: #FFFFFF;
		font-weight: bold;
	}


}



.call_us::before,
.email_us::before,
.find_us::before {
	display: inline-block;
	font: normal normal normal 14px/1 FontAwesome;
	padding-right: 5px;
}

.mobile-widget .call_us::before,
.mobile-widget .email_us::before,
.mobile-widget .find_us::before {
	width: 25px;
	padding-left: 5px;
}

.call_us::before {
    content: "\f095";
}

.email_us::before {
    content: "\f0e0";
}

.find_us::before {
    content: "\f041";
}

.social_fb::before {
	content: "\f09a";
	display: inline-block;
	font: normal normal normal 20px/1 FontAwesome;
	border-left: 1px solid rgba(255,255,255,0.7);
	width: 50px;
	height: 32px;
	line-height: 32px;
	vertical-align: top;
	text-align: center;
}

.contactbar_login {
	color: #FFFFFF;
	display: inline-block;
	text-transform: uppercase;
	border-left: 1px solid rgba(255,255,255,0.7);
	border-right: 1px solid rgba(255,255,255,0.7);
	width: 78px;
	height: 32px;
	line-height: 32px;
	vertical-align: top;
	text-align: center;
}

.mobile_bar > a {
	color: #FFFFFF;
}

.mobile_bar .social_fb::before,
.mobile_bar > a {
	height: 50px;
	line-height: 50px;
	display: inline-block;
}

.contact_inner > a:hover,
.mobile-widget > a:hover,
.mobile_bar > a:hover {
	color: #7f3050;
	background: #FFFFFF;
	text-decoration: none;
}



/* wrapper */
.wrapper_bg {
	background-image: -webkit-linear-gradient(#F2F2F2 0px, #F2F2F2 80px, #FFFFFF 80px);
	background-image: -moz-linear-gradient(#F2F2F2 0px, #F2F2F2 80px, #FFFFFF 80px);
	background-image: -o-linear-gradient(#F2F2F2 0px, #F2F2F2 80px, #FFFFFF 80px);
	background-image: linear-gradient(#F2F2F2 0px, #F2F2F2 80px, #FFFFFF 80px);
}

.wrapper {
/*	display: flex;*/
	direction: rtl;
	margin: 0px auto;
	position: relative;
	width: 100%;
	max-width: 1240px;
	padding: 0px 20px 30px;
}

@media only screen and (max-width:1240px) {
}


/* header */
.header {
	width: 100%;
	max-width: 1200px;
	margin: 15px auto;
	display: flex;
	justify-content: space-between;
	align-items: center;
}


/* logo */
.logo {
	display: inline-block;
	width: 155px;
	margin-right: 20px;
}
.logo-img {
	
}

.school_title {
	display: inline-block;
	width: calc(100% - 295px);
	color: #7f3050;
}

.school_title strong {
	font: 700 18px 'Lato', Helvetica, Arial, sans-serif;
	display: inline-block;
}

.school_title em {
	font: 400 16px 'Lato', Helvetica, Arial, sans-serif;
	display: inline-block;
	padding: 0px 30px;
}

@media only screen and (max-width:640px) {
	.header {
		display: block;
		text-align: center;
	}
	
	.header > div {
		margin: 10px auto;
		display: block;
	}
	
	.school_title {
		width: 100%;
	}
}

.header_enrolment {
	display: inline-block;
	width: 160px;
}

.header_enrolment a {
	display: block;
	height: 36px;
	color: #FFFFFF;
	background: #3c77af;
	font: 900 13px/36px 'Lato', Helvetica, Arial, sans-serif;
	text-align: center;
	border: 1px solid #3c77af;
	border-radius: 20px;
}

.header_enrolment a:hover {
	background: #FFFFFF;
	color: #3c77af;
	text-decoration: none;
}


/* nav */
.nav {
	background: #F2F2F2;
	height: 40px;
	z-index: 5;	
}

.nav > ul {
	width: 100%;
	max-width: 1200px;
	margin: 0px auto;
	list-style: none;
	padding: 0px;
/*	text-align: center;*/
	white-space: nowrap;
	font-size: 0px;
	
	display: flex;
	justify-content: space-around;
}
/*
.nav li {
	display: inline-block;
}

.nav li a {
	display: block;
	padding: 10px 0px;
	color: #5084b6;
	text-transform: uppercase;
	font: 700 14px 'Lato', Helvetica, Arial, sans-serif;
	letter-spacing: 3px;
	height: 40px;
	line-height: 20px;
}
*/
.nav li {
	line-height: 40px;
	position: relative;
}

.nav li a {
	display: inline-block;
	padding: 0px 10px;
	color: #5084b6;
	text-transform: uppercase;
	font: 700 14px 'Lato', Helvetica, Arial, sans-serif;
	letter-spacing: 3px;
	line-height: 40px;
	vertical-align: middle;
	height: 40px;
}


@media only screen and (max-width:960px) {
	.nav li a {
		padding: 0px 5px;
	}
}
.nav li:hover > a {
	color: #7f3050;
	background: rgba(255,255,255,1);
	text-decoration: none;
}

.nav ul ul {
	display: none;
	position: absolute;
	background: #FFFFFF;
	z-index: 6;
	padding: 0px;
	margin: 0px;
}

ul.sub-menu.outermenu {
	right: 0px;
}

ul.sub-menu ul.sub-menu.outermenu {
	left: auto;
	right: 100%;
	border-left-width: 0px;
	border-right-width: 1px;
	border-right-style: solid;
}

.nav ul li:last-child ul {
	right: 0px;
}

.nav li:hover > ul {
	display: block;
}



.nav ul ul li {
	display: block;
}

.nav ul ul li a {
	color: #5084b6;
	text-align: left;
	background: none;
	height: auto;
}

.nav ul ul li a:hover {
	background: none;
}

ul.sub-menu li {
	position: relative;
}

ul.sub-menu ul.sub-menu {
	left: 100%;
	top: 0px;
	border-left: 1px solid #FFFFFF;
	width: 100%
}

.mobile_header {
	display: none;
}

.mobilenav {
	display: none;
}

@media only screen and (max-width:768px) {
	.contact_inner {
		display: none;
	}
	
	.nav {
		display: none;
	}
	
	.mobile_bar {
		display: block;
		position: fixed;
		width: 100%;
		height: 50px;
		background: #7f3050;
		top: 0px;
		z-index: 4;
		cursor: pointer;
	}
	
	.social_fb::before {
		border: none;
	}
	
	.contact_bar {
		height: 50px;
	}
}

.icon {
	width: 40px;
	height: 40px;
	background:url(img/mobmenuicon.png);
	position: absolute;
	top: 8px;
	right: 7px;
	z-index:999;
}
.moblogo {
	width: 150px;
	height: 50px;
	background:url(img/mobmenulogo.png) no-repeat top;
	position:absolute;
	top:5px;
	left:7px;
	z-index:999;
}

.mobilenav {
	position: fixed;
	width: 100%;
	top: 50px;
	background: #FFFFFF;
	z-index: 3;
	box-shadow: 0px 0px 5px 3px rgba(0,0,0,0.5);
}

.mobilenav ul {
	margin: 0px;
	padding: 0px;
	list-style: none;
}

.mobilenav ul.sub-menu {
	display: none;
}

.mobilenav li a {
	display: block;
	padding: 10px;
	text-align: center;
	color: #3c77af;
	text-transform: uppercase;
	border-left: 1px solid rgba(255,255,255,0.7);
	font: 700 14px 'Lato', Helvetica, Arial, sans-serif;
	letter-spacing: 3px;
}

.mobilenav li:hover > a {
	color: #7f3050;
	background: rgba(255,255,255,1);
}

.feature_slider {
	display: none;
	max-height: 400px;
	overflow: hidden;
}

.home .feature_slider {
	display: block;
}


.feature_slider ul {
	padding: 0px;
	margin: 0px;
	list-style: none;
}

.feature_slider li.slick-slide {
	min-height: 400px;
	background-size: cover;
	background-position: center;
}

.feature_container {
	width: 100%;
	max-width: 1200px;
	margin: 0px auto;
/*	display: flex;
	align-items: stretch;*/
	min-height: 400px;
}

.feature_container h3 {
	font: 800 24px 'Lato', Helvetica, Arial, sans-serif;
	text-transform: uppercase;
	margin: 0px;
}

.feature_content {
	width: 320px;
	background: rgba(26,10,16,0.8); /* 10-15% brightness of primary colour */
/*	padding: 50px 28px 28px;*/
	padding: 25px;
	border-radius: 0px 0px 20px 20px;
	color: #FFFFFF;
	font: 400 13px/26px 'Lato', Helvetica, Arial, sans-serif;
}

@media only screen and (max-width:640px) {
	.feature_content {
		width: 100vw;
		position: absolute;
		bottom: 0px;
		padding: 20px;
		border-radius: 0px;
	}
	
	.feature_container h3 {
		display: inline-block;
		width: calc(100% - 145px);
	}
	
	.feature_content div {
		display: none;
	}
}

.feature_more {
	display: inline-block;
	padding: 10px 30px;
	border: 1px solid #3c77af;
	background: #3c77af;
	border-radius: 20px;
	color: #FFFFFF;
	font: 800 14px 'Lato', Helvetica, Arial, sans-serif;
	margin-top: 15px;
	text-transform: uppercase;
}

.feature_more:hover {
	background: #FFFFFF;
	color: #3c77af;
	text-decoration: none;
}



/* main content */
section[role=main] {
	order: 2;
	display: inline-block;
	vertical-align: top;
	width: calc(100% - 370px);
	direction: ltr;
}
/* sidebar */
.sidebar {
	order: 1;
	display: inline-block;
	vertical-align: top;
	direction: ltr;
}

.page-template-template-full .sidebar {
	display: none;
}

.page-template-template-full section[role="main"] {
	width: 100%;
}


/* footer */
.footer_wrap {
	background: #491f30;
	color: #FFFFFF;
}

.footer_wrap a {
	color: #FFFFFF;
}

.footer_wrap .sidebar-widget {
	width: 100%;
	max-width: 1230px;
	margin: 0px auto;
	display: flex;
	justify-content: space-between;
	padding: 15px;
}

.footer_wrap .sidebar-widget > div {
	max-width: 360px;
}

@media only screen and (max-width:960px) {
	.footer_wrap .sidebar-widget {
		display: block;
	/*	text-align: center;*/
	}
	
	.footer_wrap .sidebar-widget > div {
		display: inline-block;
		vertical-align: top;
		text-align: left;
		margin: 0px 15px;
	}
}
.footer_wrap .sidebar-widget h3 {
	font: 600 16px 'Lato', Helvetica, Arial, sans-serif;
	text-transform: uppercase;
}

.footer_wrap .widget_nav_menu ul.menu {
	margin: 0px;
	padding: 0px;
	list-style: none;
}

.footer_wrap .widget_nav_menu ul.menu ul {
	display: none;
}

.footer_wrap .widget_nav_menu li {
	border-bottom: 1px solid rgba(255,255,255,0.3);
}

.footer_wrap .widget_nav_menu li a {
	text-transform: uppercase;
	display: block;
	color: #FFFFFF;
	padding-right: 20px;
	padding: 3px 3px;
}

.footer_wrap .widget_nav_menu li a:hover {
	background: #FFFFFF;
	color: #491f30;
	text-decoration: none;
}

.footer_wrap .sidebar-widget td {
	padding-right: 10px;
	vertical-align: top;
}

.footer {
	background: #240f18;
}

.inner_footer {
	width: 100%;
	max-width: 1200px;
	margin: 0px auto;
	display: flex;
	justify-content: space-between;
	align-items: center;
	min-height: 36px;
	font: 400 13px/36px 'Lato', Helvetica, Arial, sans-serif;
	text-transform: uppercase;
}


.footer a,
.footer img {
	display: block;
}

@media only screen and (max-width:768px) {
	.inner_footer {
		display: block;
		text-align: center;
	}
	
	.footer a {
		display: inline-block;
	}
}


h1, h2 {
	font: 500 25px 'Lato', Helvetica, Arial, sans-serif;
	color: #7f3050;
	margin-top: 0px;
}

section h1:first-child {
	height: 75px;
	line-height: 75px;
}

@media only screen and (max-width:768px) {
	section h1:first-child {
		height: auto;
		line-height: 50px;
		position: relative;
		left: -20px;
		background: #F2F2F2;
		width: 100vw;
		padding: 0px 20px 20px;
	}
}

/*------------------------------------*\
    EXAMPLE SCHOOL COLOURS
\*------------------------------------*/

.school_bg_primary {
	background-color: #7f3050;
}

.school_colour_primary {
	color: #7f3050;
}

.school_colour_secondary {
	color: #fff568;
}

.school_colour_button {
	color: #FFFFFF;
}

.school_bg_button {
	color: #3c77af;
}



/*------------------------------------*\
    PAGES
\*------------------------------------*/

.two_column .column,
.page-template-template-full .two_column .column {
	display: inline-block;
	vertical-align: top;
	width: 50%;
}

.two_column .column_left,
.page-template-template-full .two_column .column_left {
	padding-right: 15px;
}

.two_column .column_right,
.page-template-template-full .two_column .column_right {
	padding-left: 15px;
}

@media only screen and (max-width:1024px) {
	.two_column .column {
		display: block;
		width: 100%;
	}
	
	.two_column .column_left,
	.two_column .column_right {
		padding: 0px;
	}
}

@media only screen and (max-width:768px) {
	.page-template-template-full .two_column .column {
		display: block;
		width: 100%;
	}
	
	.page-template-template-full .two_column .column_left,
	.page-template-template-full .two_column .column_right {
		padding: 0px;
	}
}

.home article a {
	display: inline-block;
	padding: 10px 20px;
	border: 1px solid #3c77af;
	border-radius: 10px;
	color: #3c77af;
	font: 800 13px 'Lato', Helvetica, Arial, sans-serif;
	margin-top: 15px;
}

.home article a:hover {
	background: #3c77af;
	color: #FFFFFF;
	text-decoration: none;
}

.wrapper .sidebar {
	max-width: 320px;
	min-width: 320px;
	margin-right: 50px;
}

@media only screen and (max-width:768px) {
	.wrapper {
		display: block;
	}
	
	section[role=main] {
		order: 1;
		width: 100%;
	}
	
	.sidebar {
		order: 2;
	}
	
	.wrapper .sidebar {
		max-width: none;
		margin: 0px auto;
		text-align: center;
	}
	
	.sidebar .sidebar-widget > div {
		max-width: 320px;
		margin: 15px;
		display: inline-block;
		vertical-align: top;
		text-align: left;
	}
	
}


.sidebar .widget-odd,
.sidebar .widget-even {
	margin-bottom: 30px;
	padding-bottom: 30px;
	border-bottom: 1px solid #DDDDDD;
}

.sidebar .sidebar-widget > div:first-child {
	margin-top: 30px;
}

.sidebar .sidebar_events {
	position: relative;
}

.home .sidebar .sidebar_events:first-child {
	top: -80px;
	margin-bottom: -50px;
}

@media only screen and (max-width:768px) {
	.home .sidebar .sidebar_events:first-child {
		top: 0px;
		margin-top: 15px;
		margin-bottom: 15px;
	}
}


.post_featured_image {
	margin: 30px 0px 15px;
}

.sidebar_title {
	background: #7e2e50;
	color: #FFFFFF;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 10px 25px;
	border-radius: 20px 20px 0px 0px;
	height: 50px;
}

.sidebar h3 {
	font: 600 25px 'Lato', Helvetica, Arial, sans-serif;
	color: #7e2e50;
	margin-top: 0px;
}

.sidebar_title h3 {
	margin: 0px;
	font: 600 25px 'Lato', Helvetica, Arial, sans-serif;
	color: #FFFFFF;
}

.sidebar_title p {
	margin: 0px;
}

.sidebar_title a {
	display: inline-block;
	border: 1px solid #3c77af;
	background: #3c77af;
	color: #FFFFFF;
	text-transform: uppercase;
	font: 800 10px 'Lato', Helvetica, Arial, sans-serif;
	border-radius: 10px;
	padding: 3px 10px;
}

.sidebar_title a:hover {
	background: #FFFFFF;
	color: #3c77af;
	text-decoration: none;
}



.sidebar_skoolbag iframe {
	visibility: hidden;
	height: 1px;
}

.sidebar_skoolbag.skoolbag_open iframe {
	visibility: visible;
	height: 500px;
}

.sidebar_skoolbag .sidebar_title {
	cursor: pointer;
	background: #3c77af;
	border-radius: 20px;
}

.sidebar_skoolbag.skoolbag_open .sidebar_title {
	border-radius: 20px 20px 0px 0px;
}

.sidebar_skoolbag .sidebar_title a {
	padding: 0px;
	border-top: 10px solid #FFFFFF;
	border-bottom: none;
	border-left: 8px solid transparent;
	border-right: 8px solid transparent;
	border-radius: 0px;
	height: 10px;
	margin-top: 7px;
}

.sidebar_skoolbag.skoolbag_open .sidebar_title a {
	border-bottom: 10px solid #FFFFFF;
	border-top: none;
	border-left: 8px solid transparent;
	border-right: 8px solid transparent;
}

.sidebar_skoolbag .sidebar_title a:hover {
	background: none;
}

.sidebar_news > h3,
.sidebar_events > h3,
.sidebar_skoolbag > h3 {
	display: none;
}

.sidebar_news p {
	margin: 0px;
}

.sidebar_news .article_list {
	list-style: none;
	padding: 0px 20px;
	margin: 0px;
	background: #F9F9F9;
	border: 1px solid #DDDDDD;
}

.sidebar_news .article_list li {
	display: flex;
	justify-content: space-between;
	border-top: 1px solid #DDDDDD;
	padding: 20px 0px;
}

.sidebar_news .article_list li:first-child {
	border: none;
}

.sidebar_news .date {
	font: 400 11px 'Lato', Helvetica, Arial, sans-serif;
	color: #7f3050;
	text-align: center;
	text-transform: uppercase;
	padding-right: 20px;
}

.sidebar_news .date span {
	display: block;
	font: 800 15px 'Lato', Helvetica, Arial, sans-serif;
}

.sidebar_news .date strong {
	display: block;
	font: 800 30px/20px 'Lato', Helvetica, Arial, sans-serif;
}

.sidebarnews_content h4 {
	margin: 0px 0px 5px;
	color: #3c77af;
}

.sidebarnews_content:hover h4 {
	text-decoration: underline;
}

.sidebar .widget_nav_menu ul.menu {
	margin: 0px;
	padding: 0px 30px;
	list-style: none;
}

.sidebar .widget_nav_menu ul.menu li a {
	display: block;
	text-transform: uppercase;
	color: #3c77af;
	font: 400 15px 'Lato', Helvetica, Arial, sans-serif;
	border-bottom: 1px solid #3c77af;
	padding: 10px 0px;
}

/* Calendar Widget */

.sidebar .simcal-calendar {
	padding: 0px 20px;
	margin: 0px;
	background: #F9F9F9;
	border: 1px solid #DDDDDD
}

.sidebar .simcal-default-calendar-list ul.simcal-events,
.sidebar .simcal-default-calendar-list .simcal-event-details .simcal-event-description,
.sidebar .simcal-default-calendar-list .simcal-event-details p {
	padding: 0px;
	margin: 0px;
}

.sidebar .simcal-default-calendar-list ul.simcal-events li.simcal-event {
	border-top: 1px solid #DDDDDD;
	padding: 20px 0px;
	margin: 0px;
}

.sidebar .simcal-default-calendar-list .simcal-events-list-container div:first-child ul li {
	border: none;
}

.sidebar .simcal-default-calendar-list .simcal-calendar-head {
	padding: 10px 0px;
}

.sidebar .simcal-event-details {
}

.sidebar .simcal-event-details div {
	display: inline-block;
	vertical-align: top;
}

.sidebar .simcal-event-details > div:first-child {
	width: 70px;
	border-radius: 20px;
	margin-right: 15px;
}

.sidebar .simcal-events li:first-child .simcal-event-details > div:first-child {
	padding: 5px 0px;
	background: #FFFFFF;
	border: 1px solid #7f3050;
}

.sidebar .simcal-event-details > div:last-child {
	width: calc(100% - 90px);
}

.sidebar .simcal-event-details > div:last-child a {
	display: block;
	min-height: 55px;
}

.sidebar .simcal-event-details .simcal-event-start-custom {
	display: block;
	text-align: center;
	color: #7f3050;
}

.sidebar .simcal-event-details .simcal-event-start-custom:nth-child(1) {
	font: 700 15px 'Lato', Helvetica, Arial, sans-serif;
	text-transform: uppercase;
}

.sidebar .simcal-event-details .simcal-event-start-custom:nth-child(2) {
	font: 700 29px/22px 'Lato', Helvetica, Arial, sans-serif;
}

.sidebar .simcal-event-details .simcal-event-start-custom:nth-child(3) {
	font: 400 11px 'Lato', Helvetica, Arial, sans-serif;
}

.simcal-event-details a strong {
	color: #7f3050;
	text-transform: uppercase;
}

.simcal-event-details a:hover strong {
	text-decoration: underline;
}

.sidebar .simcal-default-calendar-list .simcal-event-details {
	font-size: 14px;
}

.sidebar .simcal-align-right {
	display: none;
}

.compact_events .simcal-calendar {
	max-height: 500px;
	overflow-y: scroll;
}

section article p {
	margin-top: 0px;
}

section article iframe {
	border-radius: 20px;
	width: 100%;
}

.home article.post-enrolment-procedure a {
	background: #3c77af;
	font: 900 13px 'Nunito Sans', Helvetica, Arial, sans-serif;
	color: #FFFFFF;
	border-radius: 0px;
	border: 1px solid #3c77af;
	margin: 0px;
}

.home article.post-enrolment-procedure a:hover {
	background: #FFFFFF;
	color: #3c77af;
}

.homefeature_image {
	background: #F9F9F9;
	border: 1px solid #DDDDDD;
	padding: 20px;
	text-align: center;
	display: inline-block;
	width: 185px;
	margin-right: 30px;
}

.homefeature_image span {
	display: block;
	font-style: italic;
}

.homefeature_image span:first-line {
	font-weight: bold;
	font-style: normal;
}

.homefeature_image div {
	background-repeat: no-repeat;
	border-radius: 145px;
	width: 145px;
	height: 145px;
	margin: 0px auto 15px;
}

.homefeature_content {
	display: inline-block;
	vertical-align: top;
	width: calc(100% - 215px);
}

@media only screen and (max-width:480px) {
	.homefeature_image {
		display: block;
		margin: 0px auto;
	}
	
	.homefeature_content {
		width: 100%;
	}

}


.home article.post-enrolment-procedure a {
	background: #3c77af;
	font: 900 13px 'Lato', Helvetica, Arial, sans-serif;
	color: #FFFFFF;
	border-radius: 0px;
	border: 1px solid #3c77af;
	margin: 0px;
}

.home article.post-enrolment-procedure a:hover {
	background: #FFFFFF;
	color: #3c77af;
}

.news_title {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 30px;
}

.news_title h2 {
	margin: 0px;
}

.news_title a {
	display: inline-block;
	padding: 8px 10px;
	border-radius: 10px;
	background: #3c77af;
	border: 1px solid #3c77af;
	color: #FFFFFF;
	font: 800 10px 'Lato', Helvetica, Arial, sans-serif;
	text-transform: uppercase;
	white-space: nowrap;
}

.news_title a:hover {
	color: #3c77af;
	background: #FFFFFF;
	text-decoration: none;
}

.homenews-post {
	border: 1px solid #DDDDDD;
	display: inline-block;
	clear: both;
	margin-bottom: 30px;
	width: 100%;
}

.homenews-post.no_thumb {
	background: url(img/logo.png) no-repeat left 100px center;
}

.homenews-post .homefeature_image {
	display: inline-block;
	vertical-align: top;
	width: 320px;
	min-height: 160px;
	background: rgba(255,255,255,0.75);
	margin: 0px;
	padding: 0px;
	border: none;
}

.homefeature_image div {
	background-repeat: no-repeat;
	border-radius: 145px;
	width: 145px;
	height: 145px;
	margin: 0px auto 15px;
	background-size: cover;
	background-position: center;
}

.homenews-post .homefeature_content {
	display: inline-block;
	vertical-align: top;
	width: calc(100% - 385px);
	padding: 20px 50px 20px 30px;
	color: #000000;
}

.homefeature_content h3 {
	margin-top: 0px;
}

.homenews_date {
	display: inline-block;
	vertical-align: top;
	width: 65px;
	color: #7e2e50;
	font: 300 11px 'Lato', Helvetica, Arial, sans-serif;
	text-align: center;
	padding-top: 15px;
}

.homenews_date span {
	text-transform: uppercase;
	font: 700 15px 'Lato', Helvetica, Arial, sans-serif;
	display: block;
}

.homenews_date strong {
	font: 700 29px/20px 'Lato', Helvetica, Arial, sans-serif;
	display: block;
}

.news_readmore {
	text-align: right;
}

.news_readmore span {
	display: inline-block;
	vertical-align: top;
	color: #FFFFFF;
	background: #000000;
	border: 1px solid #000000;
	padding: 8px 10px;
	text-transform: uppercase;
	font: 900 10px 'Lato', Helvetica, Arial, sans-serif;
	margin-top: 15px;
}

.homenews-post:hover .news_readmore span {
	background: #FFFFFF;
	color: #000000;
}

.sidebar_skoolbag.skoolbag_open iframe {
	max-width: 100%;
}

@media only screen and (max-width:1024px) {
	.homenews-post .homefeature_image {
		display: block;
		margin: 0px auto;
	}
	
	.homenews-post .homefeature_content {
		width: calc(100% - 65px);
	}
	
	.homenews-post.no_thumb {
   		background-position: top 20px center;
	}
}


@media only screen and (max-width:480px) {
	.homefeature_image {
		display: block;
		margin: 0px auto;
	}
	
	.homefeature_content {
		padding: 20px 10px 20px 30px;
	}
	
	.footer_wrap .sidebar-widget table td {
		display: block;
	}
	
	.footer_wrap .sidebar-widget table tr {
		margin-bottom: 10px;
		display: block;
	}
	
	.footer_wrap .sidebar-widget table td:first-child {
		font-weight: bold;
	}
		

}



.homefeature_noimage {
	width: 100%;
}

.sidebar .simcal-day {
	position: relative;
}

.sidebar .simcal-default-calendar-list.simcal-default-calendar-light .simcal-events-toggle {
	position: absolute;
	background: none;
	left: 0px;
	bottom: 0px;
}

.sidebar .simcal-default-calendar-light .simcal-events-toggle:hover {
	background: #3c77af;
	transition: all .2s ease-in-out;
}

.sidebar .simcal-default-calendar-list ul.simcal-events .simcal-event-start {
	display: none;
}

.sidebar .simcal-default-calendar-list ul.simcal-events li:first-child .simcal-event-start {
	display: block;
}

.gallerytype_standard {
	display: table;
	width: 100%;
}

.gallery-row {
	display: table-row;
}

.gallerytype_standard .gallery-item {
/*	float: left;*/
	display: table-cell;
	text-align: center;
	padding: 10px;
	vertical-align: top;
}

.gallerytype_masonry .gallery-item {
/*	width: 33%;*/
	padding: 5px;
	text-align: center;
}

.gallery_caption {
	text-align: center;
}

.gallery-item img {
	height: auto;
}

.gallerytype_slider .slick-slide img {
    margin: 0px auto;
    min-height: 360px;
   	max-height: 360px;
    width: auto;
}

.gallerytype_slider .slick-slide {
	margin: 0px 10px;
}

@media only screen and (max-width:960px) {
	.gallerytype_masonry .gallery-item {
		width: 50%;
	}
}

@media only screen and (max-width:600px) {
	.gallerytype_masonry .gallery-item,
	.gallerytype_masonry .gallery-item img {
		width: 100%;
	}
	
	.gallerytype_standard .gallery-item {
		display: block;
	}
}

	
/*------------------------------------*\
    IMAGES
\*------------------------------------*/



/*------------------------------------*\
	TYPOGRAPHY
\*------------------------------------*/

@font-face {
	font-family:'Font-Name';
	src:url('fonts/font-name.eot');
	src:url('fonts/font-name.eot?#iefix') format('embedded-opentype'),
		url('fonts/font-name.woff') format('woff'),
		url('fonts/font-name.ttf') format('truetype'),
		url('fonts/font-name.svg#font-name') format('svg');
    font-weight:normal;
    font-style:normal;
}

div.shiftnav-wrap {
	line-height: 1.4; /* Fixes ShiftNav setting an em based line height when we want a unitless multiplier. */
}

.shiftnav-inner {
	background: url() center top no-repeat; /* Specify the site logo you want to appear in the mobile menu. */
	padding-top: 0px; /* Set to however tall the site logo is. */
}

.shiftnav ul.shiftnav-menu ul.sub-menu li.menu-item > .shiftnav-target,
.shiftnav ul.shiftnav-menu ul.sub-menu li.shiftnav-retract > .shiftnav-target {
	line-height: 100%;
	padding: 15px 25px 15px 35px;
}

/*------------------------------------*\
    RESPONSIVE
\*------------------------------------*/

@media only screen and (max-width:1140px) {
	
}

@media only screen and (max-width:1024px) {

}

@media only screen and (max-width:768px) {

}

@media only screen and (max-width:400px) {
	.wrapper .sidebar {
		min-width: 0px;
	}
	
	.sidebar .sidebar-widget > div {
		max-width: 100%;
	}
	
	.sidebar_title h3 {
		font-size: 20px;
	}

}

@media only screen and (max-width:320px) {
	
/*
.wrapper {
    display: table;
    margin: 70px auto 0 auto;
    position: relative;
    width: 95%;
    max-width: 1280px;
}

.nav {
	display:none;
}

div.mobilenav {
	display:block;
	width:100%;
	height: 50px;
	background:#000;
	background-position:left;
	position:fixed;
	top:0;
	left:0;
	z-index:999;
	-moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
	-webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

div.mobilenav ul {
	padding:0;
	position: relative;
	width: 100%;
	display:none;
	-webkit-transition: top 1s;
	-moz-transition: top 1s;
	-o-transition: top 1s;
	transition: top 1s;
	top:50px;
	z-index:5;
	margin:0;
	background:rgba(60, 132, 54, 0.97);
}

div.mobilenav ul li {
	text-decoration:none;
	list-style:none;
	padding: 8px 0 8px 15px;
}

div.mobilenav ul li a {
	font-size:15px;
	color:#fff;
	font-family: "Open Sans", Arial, Helvetica, sans-serif;
	font-weight:light;
}


div.mobilenav ul li {
	border-top: 1px solid #307f29;
	border-bottom: 1px solid #63935f;
}

div.mobilenav ul li:first-child {
	border-top: none;
}

div.mobilenav ul li:last-child {
	border-bottom: none;
}

*/

/*------------------------------------*\
    	END MOBILE NAV
\*------------------------------------*/


}

/*------------------------------------*\
    MISC
\*------------------------------------*/

::selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-webkit-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-moz-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
   
/*------------------------------------*\
    WORDPRESS CORE
\*------------------------------------*/
   
.alignnone {
	margin:5px 20px 20px 0;
}
.aligncenter,
div.aligncenter {
	display:block;
	margin:5px auto 5px auto;
}
.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
.aligncenter {
	display:block;
	margin:5px auto 5px auto;
}
a img.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
a img.alignnone {
	margin:5px 20px 20px 0;
}
a img.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.aligncenter {
	display:block;
	margin-left:auto;
	margin-right:auto;
}
.wp-caption {
	background:#FFF;
	border:1px solid #F0F0F0;
	max-width:96%;
	padding:5px 3px 10px;
	text-align:center;
}
.wp-caption.alignnone {
	margin:5px 20px 20px 0;
}
.wp-caption.alignleft {
	margin:5px 20px 20px 0;
}
.wp-caption.alignright {
	margin:5px 0 20px 20px;
}
.wp-caption img {
	border:0 none;
	height:auto;
	margin:0;
	max-width:98.5%;
	padding:0;
	width:auto;
}
.wp-caption .wp-caption-text,
.gallery-caption {
	font-size:11px;
	line-height:17px;
	margin:0;
	padding:0 4px 5px;
}
.sticky {
	
}
.bypostauthor {
	
}

/*------------------------------------*\
    PRINT
\*------------------------------------*/

@media print {
	* {
		background:transparent !important;
		color:#000 !important;
		box-shadow:none !important;
		text-shadow:none !important;
	}
	a,
	a:visited {
		text-decoration:underline;
	}
	a[href]:after {
		content:" (" attr(href) ")";
	}
	abbr[title]:after {
		content:" (" attr(title) ")";
	}
	.ir a:after,
	a[href^="javascript:"]:after,
	a[href^="#"]:after {
		content:"";
	}
	pre,blockquote {
		border:1px solid #999;
		page-break-inside:avoid;
	}
	thead {
		display:table-header-group;
	}
	tr,img {
		page-break-inside:avoid;
	}
	img {
		max-width:100% !important;
	}
	@page {
		margin:0.5cm;
	}
	p,
	h2,
	h3 {
		orphans:3;
		widows:3;
	}
	h2,
	h3 {
		page-break-after:avoid;
	}
}
