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

#webbar_upgraded {
  background: #1886ac;
}
#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: #1886ac;
}
#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: #1886ac;
}
#webbar_upgraded .container .search-content #search {
  background: #1886ac;
}
#webbar_upgraded .container .search-content::after {
  background: #1886ac;
}
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 ***************************************/

#main-menu {
  display: none;
}

nav {
  background: #14b0b2;
}
/*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: block;
  font-size: 0;
  background: #14b0b2;
}
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: 52px;
  position: relative;
  line-height: 20px;
  top: 0px;
  text-align: center;
  border-right: 2px solid #14b0b2;
  -webkit-border-top-left-radius: 8px;
  -webkit-border-top-right-radius: 8px;
  -moz-border-radius-topleft: 8px;
  -moz-border-radius-topright: 8px;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  /*width: 116px;*/
  /*background: #f00;*/
}

ul#menu .topItem:hover {
  background-color: #999;
}
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: 14px;
  /*height: 30px;*/
  color: #fff;
  margin: 0px 0px;
  padding: 16px 8px;
  text-decoration: none;
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
}
ul#menu li a:hover {
  color: #fff;
}
ul#menu ul {
  display: none;
  position: absolute;
  top: 52px;
  left: -1px;
  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;
}
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 .topItem:nth-child(8n + 4) li:nth-child(14n + 12) ul {
  margin: 40px 0 0 -224px;
  background-color: #fff;
  border-radius: 4px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35); /* shadow downwards and sides */
}

ul#menu .topItem:nth-child(8n + 5) li:nth-child(14n + 2) ul {
  margin: 40px;
  margin-left: auto;
  background-color: #fff;
  border-radius: 4px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35); /* shadow downwards and sides */
}

ul#menu .topItem:nth-child(8n + 5) li:nth-child(14n + 4) ul {
  margin-top: 40px;
  margin-left: auto;
  background-color: #fff;
  border-radius: 4px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

ul#menu .topItem:nth-child(8n + 5) li:nth-child(14n + 12) ul {
  margin-top: 40px;
  margin-left: auto;
  background-color: #fff;
  border-radius: 4px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}
ul#menu .topItem:nth-child(8n + 6) li:nth-child(14n + 11) ul {
  /* margin-top: 40px;
  margin-left: auto; */
  top: -110px !important;
  left: -630px;
  background-color: #fff;
  border-radius: 4px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

ul#menu .subItem a {
  display: block;
  padding: 20px 15px;
  /*background-color: #e4e4e4;*/
  min-width: 189px;
}
@media (min-width: 1200px) {
  ul#menu .topItem:nth-child(8n+6) li:nth-child(14n+11) ul {
	left: -646px;
  }
}
ul#menu .subItem a:hover {
  /*background-color: #999;*/
  color: #fff;
}
@media (min-width: 992px) {
  #main-menu {
    display: block;
  }

  ul#menu .topItem:nth-child(8n + 0),
  ul#menu .topItem:nth-child(8n + 0) ul {
    background: #4a0082 !important;
  }
  ul#menu .topItem:nth-child(8n + 0):hover,
  ul#menu .topItem:nth-child(8n + 0) > ul li.subItem:hover {
    background: #2b004d !important;
  }
  ul#menu .topItem:nth-child(8n + 1),
  ul#menu .topItem:nth-child(8n + 1) ul {
    background: #1e90ff !important;
  }
  ul#menu .topItem:nth-child(8n + 1):hover,
  ul#menu .topItem:nth-child(8n + 1) > ul li.subItem:hover {
    background: #0080ff !important;
  }
  ul#menu .topItem:nth-child(8n + 2),
  ul#menu .topItem:nth-child(8n + 2) ul {
    background: #f00 !important;
  }
  ul#menu .topItem:nth-child(8n + 2):hover,
  ul#menu .topItem:nth-child(8n + 2) > ul li.subItem:hover {
    background: #c00 !important;
  }
  ul#menu .topItem:nth-child(8n + 3),
  ul#menu .topItem:nth-child(8n + 3) ul {
    background: #ff8b00 !important;
  }
  ul#menu .topItem:nth-child(8n + 3):hover,
  ul#menu .topItem:nth-child(8n + 3) > ul li.subItem:hover {
    background: #cc7000 !important;
  }
  ul#menu .topItem:nth-child(8n + 4),
  ul#menu .topItem:nth-child(8n + 4) ul {
    background: #f0f !important;
  }
  ul#menu .topItem:nth-child(8n + 4):hover,
  ul#menu .topItem:nth-child(8n + 4) > ul li.subItem:hover {
    background: #c0c !important;
  }
  ul#menu .topItem:nth-child(8n + 5),
  ul#menu .topItem:nth-child(8n + 5) ul {
    background: #9acd31 !important;
  }
  ul#menu .topItem:nth-child(8n + 5):hover,
  ul#menu .topItem:nth-child(8n + 5) > ul li.subItem:hover {
    background: #7ba428 !important;
  }
  ul#menu .topItem:nth-child(8n + 6),
  ul#menu .topItem:nth-child(8n + 6) ul {
    background: #00ced1 !important;
  }
  ul#menu .topItem:nth-child(8n + 6):hover,
  ul#menu .topItem:nth-child(8n + 6) > ul li.subItem:hover {
    background: #00b0b3 !important;
  }
  ul#menu .topItem:nth-child(8n + 7),
  ul#menu .topItem:nth-child(8n + 7) ul {
    background: #eec733 !important;
  }
  ul#menu .topItem:nth-child(8n + 7):hover,
  ul#menu .topItem:nth-child(8n + 7) > ul li.subItem:hover {
    background: #ecbd13 !important;
  }

  ul#menu > li:nth-child(3) > ul {
    width: 480px;
    background: #ff8b00;
  }
  ul#menu > li:nth-child(3) > ul > li {
    width: 239px;
    float: left;
  }
  ul#menu > li:nth-child(4) > ul {
    width: 480px;
    background: #ff8b00;
  }
  ul#menu > li:nth-child(4) > ul > li {
    width: 239px;
    float: left;
  }
  ul#menu > li:nth-child(5) > ul {
    width: 600px;
    background: #9acd31;
  }
  ul#menu > li:nth-child(5) > ul > li {
    width: 299px;
    float: left;
  }

  ul#menu > li:nth-child(6) > ul {
    width: 350px;
    background: #00ced1;
  }
  ul#menu > li:nth-child(6) > ul > li {
    width: 324px;
    float: left;
  }

  ul#menu > li:nth-child(7) > ul {
    width: 623px;
    left: -558px;
  }
  ul#menu > li:nth-child(7) > ul > li {
    width: 310px;
    float: left;
  }
  ul#menu > li:nth-child(9) > ul {
    width: 600px;
    left: -552px;
  }
  ul#menu > li:nth-child(9) > ul > li {
    width: 299px;
    float: left;
  }
}

@media screen and (min-width: 1200px) {
  ul#menu > li:nth-child(7) > ul {
    left: -549px;
  }
  ul#menu > li:nth-child(9) > ul {
    left: -543px;
  }
}

@media screen and (max-width: 991px) {
  #main-menu {
    display: none;
  }
}
@media (min-width: 1200px) {
  ul#menu li a {
    font-size: 16px;
    padding: 18px 10px;
  }
}
/************************************** STICKY MENU ******************************************/

.sticky {
  position: fixed;
  width: 100%;
  left: 0;
  top: 0;
  z-index: 100;
  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;
}

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

.slicknav_menu {
  background: #1886ac !important;
  display: block;
}
.slicknav_btn {
  background-color: #157b9d !important;
}
.slicknav_nav .topItem a {
  color: #fff !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.09);
  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  -ms-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}
.slicknav_nav a:hover {
  background: #157b9d !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: #188db4 !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: #ff8b00;
  color: #fff;
  padding: 4px 15px;
  cursor: pointer;
  width: 95%;
  margin-left: 5%;
  border-radius: 5px;
}
#login .gobutton:hover {
  background: #e67e00;
}
#login .textfield {
  width: 100%;
  border: 1px solid #575757;
  border-radius: 5px;
  color: #575757;
}
#login h2 {
  font-size: 22px;
  color: #39f;
}

@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;
  }
}
@media only screen and (max-width: 575px) {
  .inner-quick-links {
    padding: 20px 20px 70px 110px;
  }
}

/*********************************** 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;
}
.twitter-feed-container {
  color: #000;
  padding: 0 20px;
}
.carousel {
  position: relative;
  min-height: 140px;
}
.carousel-indicators .active {
  width: 17px;
  height: 17px;
  background-color: #869791;
}
/*.carousel-inner .item {
	padding: 20px 60px 20px;
	text-align: center;
	color: #000;
	font-size: 18px;
}*/
.carousel-control.left,
.carousel-control.right {
  background-image: none;
}

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

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

.work_list .standard_box a {
  color: #575757 !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.newsflash:hover a {
  color: #ff8b00 !important;
}
#content .standard_box.newsflash:hover p {
  color: #575757 !important;
}
#content .standard_box:hover .teacher_list_info p {
  color: #575757 !important;
}
.work_list .standard_box a:hover,
#sub_page_list.work_list .standard_box:hover,
.work_list .standard_box:hover {
  background: #ff8b00;
  color: #fff;
}
#class_menu li a {
  color: #fff !important;
  background: #14b0b2;
  border: 0;
  margin: 0px 5px 5px 0px;
  transition: 0.3s;
}
#class_menu li a:hover {
  background: #1886ac;
  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;
}

.inner-quick-links .box h2 {
  display: none;
}
.inner-quick-links .box .content {
  padding: 5px 0px;
}
.inner-quick-links .box .content p {
  padding: 5px 0px;
}
.inner-quick-links .box .content p a {
  color: #ffffff;
}
.inner-quick-links .box .content p a:before {
  font-family: FontAwesome;
  content: "\f111";
  margin-right: 10px;
  font-size: 11px;
  vertical-align: middle;
}

marquee {
  color: #fff;
  font-size: 18px;
  background: #14b0b2;
  padding: 10px 0px;
}
