/*!
 * Canon Barnett Primary School
 * Overwite Bootstrap styles
 */

/*! normalize.css v2.1.3 | MIT License | git.io/normalize */

body {
	background-color: #FFF;
	font-family: 'Raleway', sans-serif;
	font-weight: 400;
	font-size: 17px;
	color: #1D1D1D;
}

a {
	color: #252a78;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
	font-family: 'Raleway', sans-serif;
	font-weight: 600;
	color: #5c3898;
}

.header h1 {
	font-size: 52px;
	font-weight: 600;
	line-height: 0.8;
	margin-top: 30px;
}

.header h1 a, .header h2 a {
	color: #5c3898;
}

.header h1 a:hover {
	text-decoration: none;
}

.header h1 small {
	display: block;
	font-size: 17px;
	color: #5c3898;
	text-align: right;
	font-weight: 600;
}

.header h4 {
	font-size: 16px;
	font-weight: 400;
	margin-bottom: 0;
}

.search {
	margin-top: 20px;
}

.extraPadding {
	padding-top: 20px;
	padding-bottom: 20px;
}

/*

.menu {
	background-color: #5c3898;
	min-height: 36px;
}

.menu ul {
	margin: 0;
}

.menu ul li {
	padding-top: 6px;
	padding-bottom: 6px;
	padding-left: 12px;
	padding-right: 10px;
	border-left: 1px solid #FFF;
}

.menu ul li:last-child {
	background-color: #ffd44f;
	border-left: 0;
	margin-left: 0;
	padding-right: 12px;
}

.menu ul li a {
	color: #FFF;
}

.menu ul li:last-child a {
	color: #5c3898;
}

*/

/* Desktop menu */

.menu {
	background-color: #5c3898;
	min-height: 36px;
}

.menu-bar {
	padding: 50px 30px 50px 30px;
}

.desktop-menu {
	padding-left: 0;
	margin-left: -5px;
	list-style: none;
	margin-bottom: 0;
}

.list-inline > li {
    display: inline-block;
}

.desktop-menu ul {
	list-style: none;
	padding: 0;
	margin: 0;
	text-align: left;
}

.desktop-menu li {
	padding-right: 10px;
	border-right: 1px solid #FFF;
}

.desktop-menu li i {
	font-size: 16px;
	vertical-align: middle;
}

.desktop-menu li a {
	text-decoration: none;
	color: #FFF;
	padding: 8px 2px 8px 2px;
	display: inline-block;
}

.desktop-menu li a:hover {
	text-decoration: none;
}

.desktop-menu ul li {
	display: block;
	position: relative;
	float: left;
	margin-right: 0;
}

.desktop-menu li ul { display: none; }

.desktop-menu ul li a {
	display: block;
	padding: 4px 6px 4px 6px;
	text-decoration: none;
	white-space: nowrap;
	font-size: 17px;
	color: #5c3898;
}

.desktop-menu ul li a:hover { 
	background-color: #ffd44f;
	color: #FFF;
}

.desktop-menu li:hover > ul {
	display: block;
	position: absolute;
	/* background-color: #f6f6f6; */
	background-color: #FFF;
	border: 1px solid #DDD;
	z-index: 1000;
	padding: 10px;
	margin-left: -10px;
}

.desktop-menu li:hover li { float: none; background-color: transparent; }

/* .desktop-menu li:hover a { background: #1bc2a2; } */

.desktop-menu li:hover li a:hover { 
	background-color: #ffd44f;
	color: #5c3898;
	text-decoration: none;
}

.desktop-menu ul ul {
  left: 100%;
  top: 0;
}

.fly-out-left li ul {
  left: inherit;
  right: 100% !important;
}

.desktop-menu ul:before,
.desktop-menu ul:after {
  content: " "; /* 1 */
  display: table; /* 2 */
}

.desktop-menu ul:after { clear: both; }

.desktop-menu .fa-angle-right {
	float: right;
	margin-left: 6px;
}

#mobile-menu:not( .mm-menu ) {
	display: none;
}

.menuImages {
	margin-top: -10px;
	height: 36px;
}

.infoBox {
	background-color: #5c3898;
	border-radius: 4px;
	color: #FFF;
}

.infoBox.homepage {
	min-height: 242px;
	position: relative;
	display: block;
}

.infoBox .content {
	padding: 10px;
}

.infoBox .pin-to-bottom {
	position: absolute;
	bottom: 10px;
	width: 96%;
}

.infoBox.homepage.school-tour {
	background-image: url('../images/school-tour-v2.jpg');
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
}

.infoBox.homepage.school-tour:hover {
	text-decoration: none;
}

.homepage-develop {
	margin-top: 140px;
	padding: 0 10px 0 10px;
	text-align: center;
}

.infoBox.homepage.develop-partnership {
	background-image: url('../images/develop-partnership.jpg');
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
}

.infoBox.homepage.develop-partnership h3 {
	font-weight: 600;
}

.infoBox.homepage.develop-partnership:hover {
	text-decoration: none;
}

.homepage-film {
	margin-top: 140px;
	padding: 0 10px 0 10px;
	text-align: center;
}

.sticky {
	position: sticky;
	top: 0;
}

.infoBox a:not(.btn) {
	color: #FFF;
}

.infoBox h2 {
	background-color: #ffd44f;
	border-top-left-radius: 4px;
	border-top-right-radius: 4px;
	color: #5c3898;
	font-size: 22px;
	font-weight: 600;
	padding: 10px;
	margin-top: 0;
}

.infoBox h2 a {
	color: #5c3898 !important;
}

.infoBox h3 {
	color: #FFFFCC;
	font-size: 20px;
	margin-top: 6px;
	margin-left: 6px;
}

.infoBox h3 a {
	color: #FFFFCC;
}

.infoBox ul {
	padding-left: 6px;
	padding-bottom: 6px;
}

.infoBox p {
	color: #FFF;
}

.infoBox p a {
	color: #FFF;
}

.small-text {
	font-size: 13px;
}

.homepage-news {
	padding: 2px 8px;
}

.homepage-calendar {
	padding: 6px;
}

.page-content {
	padding-top: 20px;
}

.page-content a {
	font-weight: 600;
}

.page-content h1:first-child {
	margin-top: 0;
}

.homepageHighlightImage {
	border-radius: 4px;
	width: 100%;
}

.homepageHighlightTitle {
	background-color: #5c3898;
	padding: 6px;
	display: inline-block;
	margin-left: 6px;
	z-index: 10;
}

.homepageHighlightTitle a {
	color: #FFFFCC;
	font-weight: 600;
	font-size: 25px;
}

.homepageHighlightSubtitle a {
	color: #FFF;
	font-size: 17px;
}


@media only screen and (min-width:1200px){

.sliderContainer {
	width: 900px;
}

.homepageHighlight {
	height: 391px;
}

.homepageHighlightImage {
	position: absolute;
	width: 1140px;
}

.homepageHighlightTitle {
	position: absolute;
	margin-top: 330px;
	margin-left: 10px;
}

.homepageHighlightSubtitle {
	position: absolute;
	margin-top: 340px;
	background-color: #5c3898;
	padding: 6px;
	display: inline-block;
	margin-left: 10px;
	z-index: 10;
}

}


.quote h1 {
	font-size: 23px;
	font-weight: 400;
	font-style: italic;
}

.quote h3 {
	font-size: 16px;
	font-weight: 600;
	font-style: italic;
}

.footer {
	background-color: #5c3898;
	color: #FFF;
	font-size: 14px;
}

.footer a {
	color: #FFF;
}

.docviewer {
	width: 100%; 
	height: 500px; 
	clear: both;	
}

#loadingDocViewer {
	text-align: center;
	font-size: 14pt;
	margin-bottom: 20px;
}

#loadingDocViewer img {
	margin-right: 10px;
}

.contentHighlight, .content-highlight {
	min-height: 240px;
}

#main-menu-advent-calendar {
	background-color: #D90000;
}

.footer-logos {
	margin-top: 20px;
}

.footer-logos img {
	height: 60px;
	margin-left: 10px;
}

.notice {
	background-color: #ffd44f;
	border: none;
}

.notice p:last-child {
	margin-bottom: 0;
}

.table > thead > tr > th, .table > tbody > tr > th {
    border-bottom: 1px solid #ddd;
    background-color: #5c3898;
	color: #FFF;
}

.table {
    background-color: #FCFCFC;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
	border-radius: 4px;
}

.blue-background {
	background-color: #5c3898;
	border-radius: 4px;
	color: #FFF;
	padding: 6px;
}

.blue-background a {
	color: #FFF;
}

.noTopMargin {
	margin-top: 0;
}

.topMargin {
	margin-top: 20px;
}

.vacancy {
	border: 1px solid #d9edf7;
	border-radius: 4px;
	margin-bottom: 10px;
	padding: 10px;
}

.white-bg {
	background-color: #FFF;
	padding: 4px;
	border-radius: 4px;
}


.youtube-video-preview {
	background-color: #FFF;
	padding: 6px;
	border-radius: 4px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
	margin-bottom: 10px;
}

.youtube-video-preview img {
	margin-bottom: 6px;
	width: 100%;
	text-align: center;
}

.youtube-video-preview p:last-child {
	margin-bottom: 0;
}

.box-shadow {
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
	border: 1px solid #DDDDDD;
	border-radius: 4px;
}

.mobile-menu-bar {
	background-color: #5c3898;
	padding: 10px 6px 10px 6px;
	font-size: 20px;
}

.mobile-menu-bar a {
	text-decoration: none;
}

.mobile-menu-bar .search-input {
	background-color: #FFF;
	border: none;
	width: 100%;
}

.mobile-show-search {
	display: block;
	width: 100%;
	font-weight: 400;
	color: #FFF;
	text-align: right;
	background-color: transparent;
	border: none;
}

.mobile-menu-button {
	display: block;
	width: 100%;
	background-color: transparent;
	border: none;
	font-weight: 400;
	color: #FFF;
	text-align: left;
}

.page-menu {
	padding: 0 10px 0 10px;
}

.page-menu ul li {
	margin-bottom: 6px;
}

.latest-tweets {
	margin-top: 20px;
}

.homepage-tweet {
	margin-bottom: 20px;
}

.homepage-tweet .profile-image {
	max-height: 80px;
}

.homepage-tweet .tweet-name {
	margin-top: 20px;
}

.homepage-tweet .tweet-username a, .homepage-tweet .tweet-date {
	color: #A7A7A7 !important;
	font-size: 0.7em;
	text-decoration: none;
	font-weight: 400;
	line-height: 1;
	margin-top: 20px;
}

.homepage-tweet .tweet-text {
	margin-bottom: 20px;
}

.homepage-tweet .tweet-media-previews, .tweet-media-previews {
	margin-bottom: 20px;
	border-radius: 6px;
	overflow: auto;
}

.homepage-tweet .tweet-media-previews a {
	text-decoration: none;
	display: block;
	width: 100%;
	height: 200px;
	overflow: hidden;
	background-size: cover;
	background-position: center center;
}

.tweet-media-previews a {
	text-decoration: none;
	display: block;
	width: 100%;
	height: 350px;
	overflow: hidden;
	background-size: cover;
	background-position: center center;
}

.homepage-tweet .tweet-media-previews.media-count-1 a {
	width: 100%;
	height: 300px;
}

.tweet-media-previews.media-count-1 a {
	width: 100%;
	height: 600px;
}

.homepage-tweet .tweet-media-previews.media-count-2 a, .tweet-media-previews.media-count-2 a {
	width: 50%;
	float: left;
}

.homepage-tweet .tweet-media-previews.media-count-3 a, .tweet-media-previews.media-count-3 a {
	width: 33%;
	float: left;
}

.homepage-tweet .tweet-media-previews.media-count-4 a {
	width: 50%;
	height: 150px;
	float: left;
}

.tweet-media-previews.media-count-4 a {
	width: 50%;
	height: 400px;
	float: left;
}

.homepage-tweet .tweet-media-previews.media-count-1 .portrait, .tweet-media-previews.media-count-1 .portrait {
	width: 60%;
	height: 400px;
	border-radius: 6px;
}

.homepage-tweet .tweet-media-previews .play-button {
	color: rgba(255, 255, 255, 0.5);
	font-size: 7em;
	text-align: center;
	margin-top: 90px;
	display: block;
}

.tweet-media-previews .play-button {
	color: rgba(255, 255, 255, 0.5);
	font-size: 7em;
	text-align: center;
	margin-top: 230px;
	display: block;
}
 
.homepage-tweet .tweet-media-previews.media-count-1 .portrait .play-button, .tweet-media-previews.media-count-1 .portrait .play-button {
	margin-top: 135px;
}




.btn-primary, .btn-primary:hover {
    background-color: #252a78;
}