/****************************
If you would like to make a global change on colors or font please find and replace all the following: 

Dark color: #6a6a6a
Light color: #d8d4d4

Font: 'Muli', sans-serif
****************************/

html, body{
	width: 100%!important;
	height: 100%!important;
	margin: 0px!important;
    padding: 0px!important;
    overflow-x: hidden!important;
}
body#home{
	position: relative;
	min-height: 100%!important;
	top: 0px!important;
}

table{
	width: 100%!important;
}
table tbody{
	text-align: center!important;
}
#main-text #content table tbody p{
    text-align: center!important;
    margin-top: 15px;
    line-height: 5px;
    margin-bottom: 20px;
}
/**************** OVERRIDE *********************/
.slicknav_menu {
	display: none;
}

#class_menu li a {
    display: block;
    background:#045c91;
    border: 2px solid #045c91;
    color: #FFF;
    padding: 4px 10px;
    margin: 0px 1px 1px 0px;
    font-size: 16px;
	transition:0.5s;
	border-radius:8px;
}

#class_menu li a:hover {
    background:#fff;
    border: 2px solid #045c91;
    color: #045c91;
}

#slider {
    margin: 0px;
    padding: 0px;
    border: 0px;
    height: 100%;
    width: 100%;
	position: absolute;
}
#slider #slideshow{
	height: 100%;
	width: 100%;
}
#slider #slideshow .slider-item{
	height: 100%;
	width: 100%;
}
#slider #slideshow .slider-item img{
	height: 100%;
	width: 100%;
}
#grade_slider{
	height: auto !important;
    margin: 0px !important;
    padding: 0px !important;
    border: none !important;
}
#grade_slider  > #grade_slideshow .slider-item{
	width: 100%!important;
	height: auto;
}
#grade_slider  > #grade_slideshow .slider-item img{
	width: 100%;
}
/************************************** STICKY MENU ******************************************/

.sticky {
	position: fixed;
	width: 100%;
	left: 0;
	top: 0;
	z-index: 100;
	border-top: 0;
	z-index:9999;
}

/********** MOBILE MENU ********/
.slicknav_btn{
	background: #fff!important;
}
.slicknav_menu{
	background:url(../images/logo_mobile.png?v=0.1) right no-repeat #055c91 !important;
}
.slicknav_menu.hidelogo {
    background: none !important;
    background-color: #055c91 !important;
}
.slicknav_nav .topItem a{
	color: #ffffff!important;
}
.slicknav_nav .topItem.slicknav_open a{
	color: #ffffff!important;
}
.slicknav_nav .slicknav_row:hover {
    background: #b9b9b9!important;
}
.slicknav_nav a:hover {
	background: #b9b9b9!important;
}
.slicknav_nav .topItem:hover a, li.topItem.slicknav_parent.slicknav_open{
	background: #b9b9b9!important;
}
.slicknav_menutxt{
	text-shadow: none!important;
}

#webbar {
    background: #000 !important;
    height: auto;
    padding-left: 26px;
    padding-right: 35px;
    z-index: 160;
	padding-bottom: 5px;
}
#webbar .cookies {
	height: 25px !important;
	margin-right:5px !important;
}
#webbar #search {
	height: 25px;
}
#google_translate_element {
	width: 114px;
	height: 25px !important;
	overflow: hidden !important;
	margin-top:0px !important;
	padding:1px 5px !important;
}
.goog-te-menu-value span {
    color: #ffffff!important;
}
#webbar .right{
	margin:0px 0px 0px 0px;
}
#webbar .right.search{
	margin-right:5px;
}
#webbar #search_button{
	margin-top:1px;
	padding: 1px;
}

.standard_box, .file_gallery .file{
    border: 2px solid #065c91;
    border-radius: 8px;
    background: #065c91;
	transition:0.5s;
}
.standard_box .staff_details a, .standard_box .staff_details, .file_gallery .file{
	color: #ffffff;
}
.standard_box:hover, .file_gallery .file:hover{
	background: #ffffff;
	cursor: pointer;
}
.standard_box:hover > .staff_details a, .standard_box:hover > .staff_details, .file_gallery .file:hover{
	color: #055c91;
}
.standard_box .staff_details a:hover, .file_gallery .file:hover{
	color: #065c91;
	cursor: pointer;
}

#grade_slider {
    margin-bottom: 20px;
}

/******** OTHER PAGES NAV BAR *********/
#page-top .container.other-page{
    background: #055c91;
}
#page-top .container.other-page ul#menu{
    list-style: none;
    width: 100%;
    padding-left: 0px;
    padding: 0px;
    margin: 0px;
	z-index: 9999;
}
#page-top .container.other-page ul#menu li.topItem{
	display: inline-block;
	position: relative;
}
#page-top .container.other-page ul#menu li.topItem a{
	text-decoration: none;
	font-size: 13px;
	color: #ffffff;
	font-weight: 600;
	padding: 15px 10px;
	display: block;
}
#page-top .container.other-page ul#menu li.topItem > ul li a{
	padding: 0px;
}
#page-top .container.other-page ul#menu li.topItem > ul{
	display: none;
	padding: 0px;
	background: #108247;
	z-index: 9999;
}
#page-top .container.other-page ul#menu li.topItem:hover{
	cursor: pointer;
}
#page-top .container.other-page ul#menu li.topItem:hover > ul{
    position: absolute;
    left: 0px;
   	background: #045c91;
    list-style: none;
    height: auto;
    display: block;
    width: 300px;
	cursor: pointer;
}
#page-top .container.other-page ul#menu li.topItem:hover > ul li.subItem{
 	padding: 15px;
	text-align: left;
}
#page-top .container.other-page ul#menu li.topItem:hover > ul li.subItem > ul.right{
 	display: none;
	position: absolute;
	text-align: left;
	z-index: 9999;
}
#page-top .container.other-page ul#menu li.topItem:hover > ul li.subItem:hover{
	background: #adadad;
	cursor: pointer;
}
#page-top .container.other-page ul#menu li.topItem:hover > ul li.subItem:hover > ul.right{
	position: absolute;
    right: 0px;
    left: 300px;
    padding: 0;
    list-style: none;
    width: 300px;
	background: #045c91;
    margin-top: -36px;
	display: block;
}

#news-footer, #works-footer, #events-footer{
    padding: 15px;
    background: #108247;
    display: block;
    border-radius: 8px;
    font-size: 22px;
    margin-bottom: 20px;
    margin-top: -10px;
	border: 2px solid #108247;
}
#news-footer:hover, #events-footer:hover{
	border: 2px solid #108247;
	background: #ffffff;
	color: #108247;
}
#works-footer{
	background: #842943;
	border: 2px solid #842943;
}
#works-footer:hover{
	background: #ffffff;
	color: #842943;
}
#pupil-login-footer-container{
	padding: 30px!important;
    padding-top: 15px!important;
    padding-bottom: 20px!important;
}

#pupil-login-footer-container #login #studentlogin .go {
    width: 49%;
    float: right;
    display: inline-block;
  	padding: 0px;
    margin-top: 5px;
}
#pupil-login-footer-container #login #studentlogin .gobutton {
    width: 100%;
    padding: 6px;
}
#pupil-login-footer-container #login #studentlogin .password {
    width: 50%;
    float: left;
    display: inline-block;
    margin-top: 5px;
}

#login .gobutton {
    background: #045c91;
    color: #FFF;
    padding: 3px;
    cursor: pointer;
}

div, h1, h2, h3, h4, h5, p, span, a, li, ul, textarea, input{
	font-family: 'Muli', sans-serif!important;
}

#jquery-overlay {
    z-index: 999;
}

#jquery-lightbox {
	z-index:999;
}

/****************TWITTER***************/

.twitter-tweet-container {
    padding: 10px 20px;
}

.twitter-tweet-container .tweet-col {
    padding: 20px;
    position: relative;
    margin-bottom: 10px;
    border-radius: 5px;
    background: #075c91;
    color: #fff;
}

img.tweet {
    width: 100%;
	margin-top: 5px;
    margin-bottom: 5px;
	border-radius:8px;
}

.PrettyLink-prefix, .PrettyLink-value {
    color: #fff;
}

a.link.customisable{
	word-break:break-all;
	color:#fff;
}
.twitter-overflow {
    height:700px;
    overflow-x: hidden;
    overflow: auto;
}

@media screen and (min-width: 992px) {
	.slicknav_menu{display:none !important;}
}
@media screen and (max-width: 992px) {
	.slicknav_menu{display:block !important;}
}

@media screen and (max-width: 992px){
	#page-top {
		position: relative;
		height: 308px;
	}
	.welcome {
		font-size:22px;
	}
	#bottom-blocks .container {
		padding-right: 0;
		padding-left: 0;
		width: auto;
	}
	#slider {
		margin: 0px;
		padding: 0px;
		border: 0px;
		width: 100%;
		position: absolute;
	}
	#login #studentlogin .gobutton {
		margin-left: 0px;
	}
	.hvr-shutter-out-horizontal {
		border:0;
		border-bottom: 2px solid #fff;
	}
	#main-school-slogan h2 {
		font-size: 30px;
	}
	#page-top #header-logo {
		display: none;
	}
	#webbar{
		display: none;
	}
	#header-navbar{
		display: none;
	}
	
	#main-text {
		padding: 5px;
		padding-right: 0;
		padding-left: 0;
		border: 0px;
	}
	#main-text .container #content {
		padding: 20px;
		border: 2px solid #842943;
		border-radius: 8px;
		border: 0;
	}
	.slicknav_menu {
		display: block;
		z-index: 15;
		position: relative;
	}
	body#home > #outside-wrapper{
		position: initial;
    	top: 100%;
	}
	body#home #school-logo-mobile {
		z-index: 9999;
		position: relative;
		background: transparent;
	}
	body #homepage_slideshow {
		display: none;
	}
	body#home #homepage_slideshow {
		display: block;
	}
	#grade_slider{
		overflow: hidden;
	}
	#google-maps iframe{
		border-top: 2px solid #045c91;
	}
}
@media (min-width: 992px){
	#container {
		width: 970px !important;
	}
	#main-school-slogan h2 {
		font-size: 50px;
	}
	#main-text .container #staff-login-container a{
		padding: 20px;
		font-size: 25px;
	}
}
@media (max-width:1200px){
#page-top .container.other-page ul#menu li.topItem a{
	font-size:11px;
	padding: 15px 7px;
}
#twitter-title{
	font-size:25px;
	text-align:center;
}

}
@media (min-width: 1200px){
	#container {
		width: 1170px !important;
	}
}
@media (max-width: 470px){
	#main-school-slogan h2 {
		font-size: 22px;
	}
}

@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
  	#page-top #header-logo .logo-container{
		padding-top: 30px;
		padding-bottom: 5px;
	}
	#page-top #header-navbar ul#menu li.topItem{
		display: inline-block;
	}
}

.simplemodal-wrap{
	overflow: scroll !important;
}

@supports (-ms-accelerator:true) {
  /* IE Edge 12+ CSS styles go here */ 
}