/****************************
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: 'Gudea', sans-serif
****************************/

/*html, body{
	width: 100%!important;
	height: 100%!important;
	margin: 0px!important;
    padding: 0px!important;
}*/
/*#webbar_upgraded {
    background: #2a4e95;
}
#webbar_upgraded .container #google_translate_element .goog-te-gadget .goog-te-combo{
    background: #2a4e95;
}
#webbar_upgraded .container .search-content #search, #webbar_upgraded .container .search-content::after{
    background: #2a4e95;
}*/
#webbar_upgraded .container .upgraded_button_icon.updatesToView {
  display: none;
}
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,
#main-text #builder-content table tbody p {
  text-align: center !important;
  margin-top: 0px;
  /*line-height: 5px;*/
  margin-bottom: 10px;
}
h1:first-child {
  font-family: "Signika", sans-serif;
  color: #2a4e95;
}
h1,
h2,
h3 {
  font-family: "Signika", sans-serif;
}
marquee {
  color: #fff;
  background: #2a4e95;
  padding: 20px 0px;
  margin-bottom: -5px;
  font-size: 22px;
}
/**************** OVERRIDE *********************/
#webbar_upgraded {
  z-index: 999;
  position: relative;
}
.slicknav_menu {
  display: none;
}

#class_menu li a {
  display: block;
  background: #2a4e95;
  border: 2px solid #2a4e95;
  color: #fff;
  padding: 4px 10px;
  margin: 0px 1px 1px 0px;
  font-size: 16px;
  transition: 0.5s;
  border-radius: 8px;
  box-shadow: 2px 2px 1px -2px rgba(0, 0, 0, 0.75);
}

#class_menu li a:hover {
  background: #1c3e84;
  border: 2px solid #1c3e84;
}

ul#menu > li:nth-child(2) > ul {
  width: 600px !important;
}
ul#menu > li:nth-child(2) > ul > li {
  width: 299px;
  float: left;
}
ul#menu > li:nth-child(4) > ul {
  width: 600px !important;
}
ul#menu > li:nth-child(4) > ul li {
  width: 300px;
  float: left;
}
ul#menu > li:nth-child(4) > ul li a {
  overflow: hidden;
  text-overflow: ellipsis;
}
ul#menu > li:nth-child(4) > ul li ul {
  margin-left: 300px;
}
ul#menu > li:nth-child(5) > ul {
  width: 570px !important;
}
ul#menu > li:nth-child(5) > ul li {
  width: 285px;
  float: left;
}
ul#menu ul li {
  white-space: nowrap;
}
#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.png) right/52px no-repeat #2a4e95 !important;
}
.slicknav_menu.hidelogo {
  background: none !important;
  background-color: #2a4e95 !important;
}
.slicknav_nav .topItem a {
  color: #ffffff !important;
  font-family: "Signika", sans-serif;
}
.slicknav_nav .topItem.slicknav_open a {
  color: #ffffff !important;
}
.slicknav_nav .slicknav_row:hover {
  background: #325db3 !important;
}
.slicknav_nav a:hover {
  background: #325db3 !important;
}
.slicknav_nav .topItem:hover a,
li.topItem.slicknav_parent.slicknav_open {
  background: #325db3 !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 #2a4e95;
  border-radius: 8px;
  background: #2a4e95;
  transition: 0.3s;
}
.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: #2a4e95;
}
.standard_box .staff_details a:hover,
.file_gallery .file:hover {
  color: #2a4e95;
  cursor: pointer;
}

#grade_slider {
  margin-bottom: 20px;
}

/******** OTHER PAGES NAV BAR *********/
#page-top .container.other-page {
  background: #2a4e95;
}
#page-top .container.other-page #main-menu {
  margin-left: 60px;
}
#page-top .container.other-page ul#menu {
  list-style: none;
  width: 100%;
  padding-left: 0px;
  padding: 0px;
  margin: 0px;
  z-index: 200;
}
#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;
  font-family: "Muli", sans-serif !important;
  transition: 0.3s;
}
#page-top .container.other-page ul#menu li.topItem > ul li a {
  padding: 15px;
}
#page-top .container.other-page ul#menu li.topItem > ul {
  display: none;
  padding: 0px;
  background: #108247;
  z-index: 200;
}
#page-top .container.other-page ul#menu li.topItem:hover {
  cursor: pointer;
}
#page-top .container.other-page ul#menu li.topItem a:hover {
  color: #ffd400;
}
#page-top .container.other-page ul#menu li.subItem a:hover {
  color: #ffd400;
}
#page-top .container.other-page ul#menu li.topItem:hover > ul {
  position: absolute;
  left: 0px;
  background: #2a4e95;
  list-style: none;
  height: auto;
  display: block;
  cursor: pointer;
}
#page-top .container.other-page ul#menu li.topItem:hover > ul li.subItem {
  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: 200;
}
#page-top .container.other-page ul#menu li.topItem:hover > ul li.subItem:hover {
  cursor: pointer;
  background: #1c3e84;
}
#page-top
  .container.other-page
  ul#menu
  li.topItem:hover
  > ul
  li.subItem:hover
  > ul.right {
  position: absolute;
  padding: 0;
  list-style: none;
  background: #2a4e95;
  margin-top: -51px;
  display: block;
}

#news-footer,
#works-footer,
#events-footer {
  padding: 15px;
  background: #2a4e95;
  display: block;
  border-radius: 8px;
  font-size: 22px;
  margin-bottom: 20px;
  margin-top: -10px;
  border: 2px solid #2a4e95;
  color: #fff;
  transition: 0.3s;
}
#news-footer:hover,
#events-footer:hover {
  border: 2px solid #2a4e95;
  background: #ffffff;
  color: #2a4e95;
}
#works-footer {
  background: #2a4e95;
  border: 2px solid #2a4e95;
}
#works-footer:hover {
  background: #ffffff;
  color: #2a4e95;
}
#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: #2a4e95;
  color: #fff;
  padding: 3px;
  cursor: pointer;
}

div,
h4,
h5,
p,
span,
a,
li,
ul,
textarea,
input {
  font-family: "Gudea", sans-serif;
}

#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: #2a4e95;
  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;
  }
  #quick-blocks .container {
    padding: 0;
    width: auto;
  }
  .hvr-shutter-out-horizontal {
    border-right: 0 !important;
    border-bottom: 2px solid #fff;
  }

  #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,
  #main-text .container #builder-content {
    padding: 20px;
    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: 200;
    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;
  }
  h1.welcome {
    font-size: 35px;
  }
  h2.welcome {
    font-size: 25px;
  }
}
@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;
  }
  #twitter-title {
    font-size: 25px;
    text-align: center;
  }
}
@media (min-width: 1200px) {
  #container {
    width: 1170px !important;
  }
  #page-top .container.other-page #main-menu {
    margin-left: 0;
  }
}

@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;
  }
}

@supports (-ms-accelerator: true) {
  /* IE Edge 12+ CSS styles go here */
}

/********** SLICK STYLES DO NOT REMOVE ********/

/* Arrows */
.slick-prev,
.slick-next {
  font-size: 0;
  line-height: 0;
  position: absolute;
  top: 50%;
  display: block;
  width: 40px;
  height: 40px;
  padding: 0;
  -webkit-transform: translate(0, -50%);
  -ms-transform: translate(0, -50%);
  transform: translate(0, -50%);
  cursor: pointer;
  color: transparent;
  border: none;
  outline: none;
  background: transparent;
}
.slick-prev:hover,
.slick-prev:focus,
.slick-next:hover,
.slick-next:focus {
  color: transparent;
  outline: none;
  background: transparent;
}
.slick-prev:hover:before,
.slick-prev:focus:before,
.slick-next:hover:before,
.slick-next:focus:before {
  opacity: 1;
}
.slick-prev.slick-disabled:before,
.slick-next.slick-disabled:before {
  opacity: 0.25;
}

.slick-prev:before,
.slick-next:before {
  font-family: "Font Awesome 5 Pro";
  font-size: 40px;
  line-height: 1;
  opacity: 0.75;
  color: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.slick-prev {
  left: -60px;
}
[dir="rtl"] .slick-prev {
  right: -25px;
  left: auto;
}
.slick-prev:before {
  content: "\f137";
}
[dir="rtl"] .slick-prev:before {
  content: "→";
}

.slick-next {
  right: -60px;
}
[dir="rtl"] .slick-next {
  right: auto;
  left: -25px;
}
.slick-next:before {
  content: "\f138";
}
[dir="rtl"] .slick-next:before {
  content: "←";
}

/* Dots */
.slick-dotted.slick-slider {
  margin-bottom: 60px;
}

.slick-dots {
  position: absolute;
  bottom: -65px;
  display: block;
  width: 100%;
  padding: 0;
  margin: 0;
  list-style: none;
  text-align: center;
}
.slick-dots li {
  position: relative;
  display: inline-block;
  width: 20px;
  height: 20px;
  margin: 0 5px;
  padding: 0;

  cursor: pointer;
}
.slick-dots li button {
  font-size: 0;
  line-height: 0;
  display: block;
  width: 20px;
  height: 20px;
  padding: 5px;
  cursor: pointer;
  color: transparent;
  border: 0;
  outline: none;
  background: transparent;
}
.slick-dots li button:hover,
.slick-dots li button:focus {
  outline: none;
}
.slick-dots li button:hover:before,
.slick-dots li button:focus:before {
  opacity: 1;
}
.slick-dots li button:before {
  font-family: "slick";
  font-size: 56px;
  line-height: 20px;
  position: absolute;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  content: "•";
  text-align: center;
  /*opacity: .25;*/
  color: #2a97e2;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
/*.e-blocks .slick-dots li button:before {
    color: #f3c943;
}*/
.slick-dots li.slick-active button:before {
  /*opacity: .75;*/
  color: #fff;
}
