@font-face {
    font-family: 'rustick___regular';
    src: url('fonts/rustick/rustick-webfont.woff2') format('woff2'),
         url('fonts/rustick/rustick-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
  font-family: 'ZeroDoubleTrouble';
  font-weight: 400;
  src: url('fonts/Zerocalcare Double Trouble.eot');
  src: url('fonts/Zerocalcare Double Trouble.eot?#iefix') format('embedded-opentype'),
  url('fonts/ZerocalcareDoubleTrouble.woff') format('woff'),
  url('fonts/Zerocalcare Double Trouble.ttf') format('truetype'),
  url("fonts/ZerocalcareDoubleTrouble.otf") format("opentype"),
  url('fonts/ZerocalcareDoubleTrouble.svg#fontawesome') format('svg');
}

@font-face {
    font-family: 'DinCondReg';
    src: url('fonts/DINConReg.ttf') format('truetype');
    font-weight: normal;
}

@font-face{
	font-family: 'Museo';
	src: url('fonts/Museo_Sans_300.ttf');
	font-weight: normal;
	font-style: normal;
}
@font-face{
	font-family: 'Museo-Semi-Bold';
	src: url('fonts/MuseoSans_500.otf');
	font-weight: normal;
	font-style: normal;
}
@font-face{
	font-family: 'Museo-Bold';
	src: url('fonts/MuseoSans_700.otf');
	font-weight: normal;
	font-style: normal;
}

/************************************ WEBBAR BAR ****************************************/

#webbar_upgraded {
    background: #324965;
}
#webbar_upgraded .container .upgraded_button:hover::after {
    color: #ffd600;
}
#webbar_upgraded .container .upgraded_button_icon:hover > i.fa, #webbar_upgraded .container .upgraded_button:hover {
    color: #ffd600;
}
#webbar_upgraded .container .blogging .blogs_menu_list {
    background: #324965;
}
#webbar_upgraded .container .blogging:hover .blogs_menu_list a:hover {
    color: #ffd600;
}
#webbar_upgraded .container #google_translate_element .goog-te-gadget .goog-te-combo {
    background: #324965;
}
#webbar_upgraded .container .search-content #search {
    background: #324965;
}
#webbar_upgraded .container .search-content::after {
    background: #324965;
}*/

#webbar_upgraded .container .upgraded_button_icon.updatesToView {
    vertical-align: bottom;
    display: none;
    /* animation: blink 2s ease-in infinite; */
}

/*********************************** MENU ***************************************/

#main-menu {
	display: none;
}

nav {
	background: rgba(255, 255, 255, 0.6);
	font-family: 'rustick___regular';
	font-weight: 700;
}
/*nav.home-nav {
	border-bottom: 3px solid #fff;
}*/
ul#menu {
	width:100%;
	text-align:center;
	float: none;
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	font-size: 0;
	/*background: #c01719;*/
}
ul#menu, ul#menu li, ul#menu ul {
	list-style: none !important;
	list-style-image: none !important;
}
ul#menu .topItem {
	display:inline-block;
	float:none !important;
	margin: 0 0px 0 0;
	padding: 0 0px;
	color: #473016;
	position: relative;
	line-height: 20px;
	top: 0px;
	text-align:center;
	border-right: 3px solid #fff;
	flex: auto;
	/*width: 116px;*/
	/*background: #f00;*/
}
ul#menu .topItem:last-child{
	border-right: 0;
}

ul#menu .topItem:hover a{
	background-color: #324965;
	color: #fff !important;
}
ul#menu li{
	/*height: 40px;*/
	line-height: 2px;
	text-align: left;
	position: relative;
	text-decoration: none;
	display:block;
	/*top: 37px;*/
} 
#page-top.other-page ul#menu li a{
	color: #fff;
}
#page-top.other-page ul#menu .topItem a{
	font-size: 12px;
	padding: 10px;
}
#page-top.other-page ul#menu .subItem a{
	padding: 20px;
}
ul#menu li a {
	font-size: 16px;
	/*height: 30px;*/
	color: #fff;
	margin: 0px 0px;
	padding: 18px 30px;
	text-decoration: none;
	display: block;
}
ul#menu li a:hover {
	color: #fff;
}
ul#menu ul {
	display: none;
	position: absolute;
	margin: 0px;
	z-index: 598;
	white-space: nowrap;
	padding: 0px;
	font-size: 0;
}
ul#menu ul li{
	display: block;
}
ul#menu li:hover > ul{
	display: block;
	background: #324965;
}
#page-top.other-page ul#menu li:hover > ul{
	background: #fff;
}
ul#menu ul {
	text-align: left;
	z-index: 9999 !important;
}
ul#menu ul ul{
	margin-left: 100%;
	top: 0px !important;
	position: absolute;
}
ul#menu .subItem a {
	display: block;
	padding: 20px 15px;
	/*background-color: #e4e4e4;*/
	min-width: 189px;
}
ul#menu .subItem a:hover {
	background-color: #fff;
	color: #324965 !important;
}
#page-top.other-page #main-menu.sticky ul#menu li a{
	padding: 17px 14px;
}
#page-top.other-page #main-menu.sticky #badge-logo img{
	height: 50px;
	margin-left: 15%;
}
@media(min-width:992px) {
	#main-menu {
		display: block;
		background: #324965;
	}
	#page-top.other-page{
		background-color: rgba(255, 255, 255, 0.8);
	}
	
/*ul#menu .topItem:nth-child(7n+0):hover, ul#menu .topItem:nth-child(7n+0) > ul li.subItem:hover{
     background: #ff6246!important;
}
ul#menu .topItem:nth-child(7n+1):hover, ul#menu .topItem:nth-child(7n+1) > ul li.subItem:hover{
     background: #090!important;
}
ul#menu .topItem:nth-child(7n+2):hover, ul#menu .topItem:nth-child(7n+2) > ul li.subItem:hover{
     background: #ff8b00!important;
}
ul#menu .topItem:nth-child(7n+3):hover, ul#menu .topItem:nth-child(7n+3) > ul li.subItem:hover{
     background: #f0f!important;
}
ul#menu .topItem:nth-child(7n+4):hover, ul#menu .topItem:nth-child(7n+4) > ul li.subItem:hover{
	background: #00008a!important;
}
ul#menu .topItem:nth-child(7n+5):hover, ul#menu .topItem:nth-child(7n+5) > ul li.subItem:hover{
	background: #c90d88!important;
}
ul#menu .topItem:nth-child(7n+6):hover, ul#menu .topItem:nth-child(7n+6) > ul li.subItem:hover{
	background: #00ced1!important;
}*/
}

@media screen and (max-width: 991px) {
	#main-menu {
		display: none;
	}
	#homepage_slideshow{
		height:300px !important;
	}
	#page-top {
		position: relative;
		height: 300px;

	}
	section#school-name {
		background-color: #324965;
		padding: 26px 0;
		margin-top: auto;
	}
	footer {
		bottom: auto;
	}
}
@media(min-width:1200px) {
}
/************************************** STICKY MENU ******************************************/

.sticky {
	position: fixed;
	width: 100%;
	left: 0;
	top: 0;
	z-index: 100;
	border-top: 0;
	z-index: 9999;
	background: #fff;
	-webkit-box-shadow: 0 0 7px rgba(0, 0, 0, 0.3) !important;
	-moz-box-shadow: 0 0 7px rgba(0, 0, 0, 0.3) !important;
	box-shadow: 0 0 7px rgba(0, 0, 0, 0.3) !important;
}

/********** MOBILE MENU ********/

.slicknav_menu {
	background: #324965 !important;
	display: block;
}
.slicknav_btn {
	background-color: #6195d1 !important;
}
.slicknav_nav .topItem a {
	color: #fff !important;
	border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}
.slicknav_nav a:hover {
    background: #6195d1 !important;
    color: #FFF !important;
}
.slicknav_nav .topItem.slicknav_open a, .slicknav_nav .topItem:hover a {
	color: #FFF !important;
}
li.topItem.slicknav_parent.slicknav_open {
    background: #397bc6 !important;
}
@media screen and (min-width: 992px) {
	.slicknav_menu{display:none !important;}
}
/********** MENU END ********/


#slider, #grade_slider {
    height: auto;
    margin: 0;
    padding: 0;
    border: none;
}
#slider > #slideshow .slider-item, #grade_slider  > #grade_slideshow .slider-item{
    width: 100% !important;
    height: auto !important;
}
.slider-item img {
    height: auto;
    width: 100%;
}

/********** LOGIN STYLES ********/

.header-login {
	display: none;
}
#login {
	margin:10px 0px;
}
#login .username {
	width:100%;
	margin-bottom:3px;
}
#login .password {
	width:70%;
	margin-right:0px;
}
#login .go {
	width:30%;
}
#login .gobutton {
    background: #324965;
    color: #FFF;
    padding:4px 15px;
    cursor: pointer;
	width:95%;
	margin-left:5%;
	border-radius:5px;
}
#login .gobutton:hover {
    background: #006;
}
#login .textfield {
	width:100%;
	border:1px solid #575757;
	border-radius:5px;
	color:#575757;
}
#login h2 {
	font-size:22px;
	color: #324965;
	font-weight: 700;
}

@media (min-width: 992px){
	.header-login {
		display: block;
	}
	#container {
		width: 970px !important;
	}
}
@media (min-width: 1200px){
	#container {
		width: 1170px !important;
	}
}

@media screen and (max-width: 992px) {
	.navbar{display:none !important;}
	#imageTop{display:none !important;}
	#imageBottom{display:none !important;}
	section#large-image{margin-top:0px !important;}
}

/*********************************** TWO COLUMN CONTACT STYLES ***************************************/

@media(min-width:992px) {
	/***** WE ONLY WANT IT FLEX FOR BIGGER BROWSERS ****/
	#contact .row{
		display: -webkit-box;
		display: -webkit-flex;
		display: -ms-flexbox;
		display: flex;
	}
}

/********** CAROUSEL STYLES ********/

.carousel_block {
	padding-top: 15px;
}
.carousel_block h1 {
	text-align: center;
}
.carousel-inner .item {
	text-align: center;
	color: #fff;
	font-size: 18px;
}
.carousel-control.left, .carousel-control.right {
	background-image: none;
}

/********** CONTACT STYLES ********/

.map {
	background: url(img/_map.png) no-repeat;
	background-size: 100% 100%;
}
#contact_details {
	margin: 10% 0% 10% 3%;
	background: #575757;
	max-width: 250px;
}
#contact_details .pad_out {
	padding: 10px;
}
#contact_details h2 {
	color: #fff;
	font-size: 18px;
	margin-top: 0;
}
#contact_details p {
	color: #fff;
}
#contact_details a {
	color :#fff;
}
#contact_details a:hover {
	text-decoration: none;
}
#contact_details .email_button {
	padding: 5px 10px;
	background: #fff;
	color: #575757;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}
#contact_details .email_button:hover {
	color: #fff;
	background: #575757;
}

/********** LINK STYLES DO NOT REMOVE ********/

/*.file_gallery .file {
	background: #00008c;
	color: #fff !important;
}
.file_gallery .file:focus, .file_gallery .file:hover {
    background: #fff !important;
	color: #00008c !important;
	text-decoration: none;
}

.work_list .standard_box a {
    color: #00008a !important;
	padding: 5px;
}
#content .standard_box p {
	color: #575757 !important;
}
#content .standard_box:hover a, #content .standard_box:hover p {
	color: #fff !important;
}
.work_list .standard_box a:hover, #sub_page_list.work_list .standard_box:hover, .work_list .standard_box:hover {
    background: #00008a;
	color: #fff;
}
#class_menu li a {
    color: #fff !important;
}*/


.file_gallery .file {
	background: #324965;
	color: #fff !important;
}
.file_gallery .file:focus, .file_gallery .file:hover {
    background: #fff !important;
	color: #324965 !important;
	text-decoration: none;
}

.work_list .standard_box a {
    color: #324965 !important;
	padding: 5px;
}
#content .standard_box p {
	color: #575757 !important;
}
#content .standard_box:hover a, #content .standard_box:hover p {
	color: #fff !important;
}
#content .standard_box:hover .teacher_list_info p {
	color: #fff !important;
}
.work_list .standard_box a:hover, #sub_page_list.work_list .standard_box:hover, .work_list .standard_box:hover {
    background: #324965;
	color: #fff;
}
#class_menu li a {
    color: #fff !important;
}

/********** MISCELLANEOUS STYLES DO NOT REMOVE ********/

#webblog_password_container h3 {
    color: #324965;
}
.standard_box h2 {
    color: #324965;
}
.standard_box:hover h2{
	color: #fff;
}
#governer_password h2 {
	color: #324965;
}
form label {
    color: #324965;
}
#banner_slider .slider-item, #banner_slider .slider-item img{
	width: 100% !important;
}
.teacher_list_info{
	width: auto !important;
}