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


#webbar_upgraded {
    background: #dc1617;
	font-family: "Trebuchet MS","Lucida Grande","Lucida Sans Unicode","Lucida Sans",Tahoma,sans-serif;
}
#webbar_upgraded .container button#main_b:hover::after {
    font-family: FontAwesome;
    content: "\f060";
    display: inline-block;
    position: absolute;
    left: 98px;
    font-size: 12px;
    top: 12px;
    color: #ffd600;
}
#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: #dc1617;
}
#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: #dc1617;
}
#webbar_upgraded .container .search-content #search {
    background: #dc1617;
}
#webbar_upgraded .container .search-content::after {
    background: #dc1617;
}
button#main_b {
    float: left;
    padding: 10px 10px 10px 0px;
    height: 100%;
    font-size: 14px;
    text-transform: uppercase;
    border-radius: 0;
    margin-right: 15px;
    background-image: none;
    background-color: transparent;
    border: none;
    box-shadow: none;
}
button#main_b:hover {
    color: #ffd600;
}


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

nav {
	background: #dc1617;
	border-bottom: 1px solid #fff;
}
nav.home-nav {
	background: rgba(220, 22, 23, 0.85);
	border-bottom: none;
}
#main-menu {
	display: none;
}
ul#menu {
	width:100%;
	text-align:center;
	float: none;
	margin: 0;
	padding: 0;
	list-style: none;
	display: block;
	font-size: 0;
	background-color: #dc1617;
}
.home-nav ul#menu {
	background-color: transparent;
}
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;
	height:65px;
	/*border-right: 1px solid #fff;*/
	position: relative;
	line-height: 20px;
	top: 0px;
	text-align:center;
	/*background: #f00;*/
}
/*ul#menu .topItem::before {
    content: '';
    display: block;
    position: absolute;
    top: 22px;
    left: 0px;
    border-left: 1px solid #fff;
    height: 20px;
}
ul#menu .topItem:last-child:after {
    content: '';
    display: block;
    position: absolute;
    top: 22px;
    right: 0px;
    border-right: 1px solid #fff;
    height: 20px;
}*/
ul#menu .topItem:hover .topLink {
	background: url('img/arrow.png') 50% 38px/600px no-repeat;
}
/*ul#menu .topItem:hover {
	background-color: #ba1212;
}*/
ul#menu li{
	/*height: 40px;*/
	line-height: 2px;
	text-align: left;
	position: relative;
	text-decoration: none;
	display:block;
	/*top: 37px;*/
}
ul#menu li a {
	font-size: 13px;
	/*height: 30px;*/
	color: #fff;
	margin: 0px 0px;
	padding: 22px 10px;
	text-decoration: none;
	display: block;
	font-weight: 700;
	/*font-family: 'Quicksand', sans-serif;*/
}
ul#menu li a:hover {
	color: #fff;
}
ul#menu ul {
	display: none;
	position: absolute;
	top: 65px;
	left: -1px;
	margin: 0px;
	z-index: 598;
	white-space: nowrap;
	padding: 0px;
	font-size: 0;
}
ul#menu ul li{
	display: block;
}
ul#menu ul li:first-child{
	margin-top: 12px;
}
ul#menu li:hover > ul{
	display: block;
	-webkit-animation: fadeIn .25s;
    animation: fadeIn .25s;
}
@-webkit-keyframes fadeIn {
    from { opacity: 0; }
      to { opacity: 1; }
}  
@keyframes fadeIn {
    from { opacity: 0; }
      to { opacity: 1; }
}
ul#menu ul {
	text-align: left;
	/*border-left: 1px solid #fff;
	border-right: 1px solid #fff;
	border-bottom: 1px solid #fff;*/
	z-index: 9999 !important;
}
ul#menu ul ul{
	margin-left: 100%;
	top: 0px !important;
	position: absolute;
}
ul#menu .subItem a {
	display: block;
	padding: 22px 30px;
	background-color: #dc1617;
	color: #fff;
	-webkit-transition: color .2s ease-in-out;
    -moz-transition: color .2s ease-in-out;
    transition: color .2s ease-in-out;
}
.home-nav ul#menu .subItem a {
	background: rgba(220, 22, 23, 0.85);
}
ul#menu .subItem a:hover {
	background-color: #ba1212;
	color: #fff;
}

@media screen and (min-width: 992px) {
	#main-menu {
		display: block;
	}
}
@media screen and (min-width: 1200px){
	ul#menu li a{
		font-size: 16px;
	}
}
/*@media screen and (min-width: 1200px) {
	ul#menu li a {
		padding: 22px 30px;
	}
}*/
/************************************** STICKY MENU ******************************************/

.sticky {
	position: fixed;
	width: 100%;
	left: 0;
	top: 0;
	border-top: 0;
	z-index: 9999;
	-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;
}
.home-nav .sticky ul#menu {
	background-color: #dc1617;
}
.home-nav .sticky ul#menu .subItem a {
	background: #dc1617;
}
.home-nav .sticky ul#menu .subItem a:hover {
	background-color: #ba1212;
	color: #fff;
}

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

.slicknav_menu {
	background: #dc1617 !important;
	display: block;
}
.slicknav_btn {
	background-color: #ba1212 !important;
}
.slicknav_nav .topItem a {
	color: #fff !important;
}
.slicknav_nav a:hover {
    background: #ba1212 !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: #0068b3 !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:#575757;
    color: #fff;
    padding:4px 15px;
    cursor: pointer;
	width:95%;
	margin-left:5%;
	border-radius:5px;
	text-transform: capitalize;
	-webkit-transition: background .3s ease-in-out;
    -moz-transition: background .3s ease-in-out;
    -ms-transition: background .3s ease-in-out;
    -o-transition: background .3s ease-in-out;
    transition: background .3s ease-in-out;
}
#login .gobutton:hover {
    background: #575757;
}
#login .textfield {
	width:100%;
	border:1px solid #575757;
	border-radius:5px;
	color:#575757;
}
#login h2 {
	font-size:22px;
	color:#575757;
}

@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 ****/
}

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

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

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

.file_gallery .file {
	background: #dc1617;
	color: #fff !important;
	-webkit-transition: background .3s ease-in-out;
    -moz-transition: background .3s ease-in-out;
    transition: background .3s ease-in-out;
}
.file_gallery .file:focus, .file_gallery .file:hover {
    background: #ba1212 !important;
	color: #fff !important;
	text-decoration: none;
}
section#main-text.home-text .standard_box.newsflash h1{
	display: block !important;
}
.standard_box {
	background: #ea2e2e;
	-webkit-transition: background .3s ease-in-out;
    -moz-transition: background .3s ease-in-out;
    transition: background .3s ease-in-out;
}
.work_list .standard_box a {
    color: #fff !important;
	padding: 5px;
	-webkit-transition: background .3s ease-in-out;
	-moz-transition: background .3s ease-in-out;
	transition: background .3s ease-in-out;
}
#content .standard_box p {
	color: #fff !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: #dc1617;
	color: #fff;
}
#class_menu{
	padding: 0;
}
#class_menu li a {
	color: #fff !important;
	margin: 0px 5px 5px 0px;
	background: #dc1617;
	transition: 0.3s;
	padding: 10px;
	border: 0;
}
#class_menu li a:hover{
	background: #dc1617;
	text-decoration: none !important;
}

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

#webblog_password_container h3 {
    color: #39c;
}
.standard_box h2 {
    color: #39c;
}
#governer_password h2 {
	color: #39c;
}
form label {
    color: #39c;
}
.fc-header-title h2 {
    font-size: 17px;
}
@media (min-width: 420px){
	.fc-header-title h2 {
    font-size: 30px;
	}
}
#id-events #contact, #id-contact #contact, #id-cookies #contact {
	display:none;
}
@media (min-width: 576px){
.slick-custom-prev, .slick-custom-next{
	display: inline-block;
}
.slick-custom-prev{
	padding:30px 0px 30px 30px;
}
.slick-custom-next{
	padding:30px 30px 30px 0px;
}
.slider {
			width: 100%;
			margin: 20px auto 10px;
		}

		.slick-slide {
			margin: 0px 20px;
		}

		.slick-slide img {
			width: 100%;
		}

		.slick-prev:before,
		.slick-next:before {
			color: black;
		}

		.slick-slide {
			transition: all ease-in-out .3s;
			opacity: .2;
		}

		.slick-active {
			opacity: .5;
		}

		.slick-current {
			opacity: 1;
		}
}