html,
body {
  height: 100%;
  font-family: "Be Vietnam Pro", sans-serif;
  color: #0a3669;
  font-size: 18px;
}
/* Wrapper for page content to push down footer */
#wrap {
  min-height: 100%;
  height: auto !important;
  height: 100%;
  /* Negative indent footer by it's height */
  /* ----- Margin for Single Column Sticky Footer -----*/
  margin: 0 auto -90px;
  /* ----- Margin for Two Column Sticky Footer -----*/
  /*margin: 0 auto -264px;*/
}

/* Set the fixed height of the footer here */
#push/*, #footer*/ {
  /* ----- Height for Single Column Sticky Footer -----*/
  height: 90px;
  /* ----- Height for Two Column Sticky Footer -----*/
  /*height: 264px;*/
}
h1 {
  color: #0a3669;
  padding: 0px 0px 10px;
  margin: 0px 0px 10px 0px;
  font-family: "Be Vietnam Pro", sans-serif !important;
  font-weight: 700;
}
h2,
h3 {
  color: #0a3669;
  font-family: "Be Vietnam Pro", sans-serif !important;
}

.navbar-header {
  text-align: center;
  float: none;
}
.navbar-brand > img {
  display: block;
  margin: 0 auto 10px;
}
.navbar-brand {
  color: #666;
  height: 100%;
  width: 100%;
  font-size: 22px;
  float: none;
  display: block;
  line-height: normal;
  padding: 0;
  text-transform: uppercase;
  text-align: center;
}
.navbar-brand:hover,
.navbar-brand:focus {
  color: #666;
}
.navbar-brand .upper-head {
  color: #0a3669;
  font-size: 24px;
  font-weight: 600;
}
.navbar-brand .lower-head {
  display: block;
  color: #992bc2;
  font-size: 20px;
  font-weight: 400;
}
@media (min-width: 768px) {
  .navbar-header {
    display: table;
    margin: auto !important;
  }
  .other-page .navbar-header {
    display: block;
    margin: 0 !important;
    text-align: left;
  }
  .other-page .navbar-brand {
    float: none;
    padding: 15px;
  }
}
@media (min-width: 1024px) {
  header {
    display: none !important;
  }
  .navbar-brand {
    display: flex;
    align-items: center;
    width: fit-content;
    font-size: 24px;
    text-align: left;
  }
  .navbar-brand > img {
    float: left;
    display: inline;
    margin: 0;
    padding-right: 20px;
    height: 80px;
  }
}
@media (min-width: 1280px) {
  .navbar-brand {
    font-size: 28px;
  }
}

section#main-text.home-text {
  min-height: auto;
}
section#main-text.home-text .welcome-text {
  position: relative;
  font-size: 46px;
  color: #f7e015;
  font-weight: 100;
  display: table !important;
  margin-bottom: 30px;
}
section#main-text.home-text .welcome-text span {
  font-size: 28px;
  display: block;
  text-transform: none;
}
section#main-text.home-text .welcome-text::after {
  position: absolute;
  content: "";
  width: 60%;
  background: #99cc33;
  bottom: -10px;
  height: 8px;
  left: 50%;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  -o-transform: translateX(-50%);
}
section#main-text.home-text .welcome-message {
  display: block;
  font-weight: 600;
  color: #f7e015;
  font-size: 20px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

/* ----- ONE COLUMN HEADER ----- */
.home-bg {
  background: url(img/welcome-bg.jpg) no-repeat center/cover;
}
section#main-text.home-text .welcome-block {
  position: relative;
  top: 40px;
  right: -20px;
  background: #f7e015;
  height: 368px;
  border-radius: 12px;
  display: none;
}
section#main-text.home-text .welcome-block::before {
  position: absolute;
  content: "\f061";
  font-family: "Font Awesome 5 Pro";
  color: #0a3669;
  font-size: 31px;
  z-index: 1;
  padding: 11px 18px;
  right: -88px;
  background: #f7e015;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
}
section#main-text.home-text .welcome-block img {
  position: absolute;
  width: 106%;
  top: -20px;
  right: -60px;
  border-radius: 12px;
  -webkit-border-radius: 12px;
  -moz-border-radius: 12px;
  -ms-border-radius: 12px;
  -o-border-radius: 12px;
  opacity: 0;
}
section#main-text.home-text #content h1 {
  display: none;
}
section#main-text.home-text #content {
  background: #0a3669;
  padding: 20px 40px;
  border-radius: 12px;
  -webkit-border-radius: 12px;
  -moz-border-radius: 12px;
  -ms-border-radius: 12px;
  -o-border-radius: 12px;
}
section#main-text.home-text .read-more {
  position: relative;
  top: 40px;
  font-weight: 600;
  display: table;
  margin: auto;
  background: #f7e015;
  color: #0a3669;
  padding: 10px 20px;
  border-radius: 24px;
  -webkit-border-radius: 24px;
  -moz-border-radius: 24px;
  -ms-border-radius: 24px;
  -o-border-radius: 24px;
}
section#main-text.home-text .read-more .fas {
  margin-left: 10px;
}
section#main-text.home-text #content h2,
section#main-text.home-text #content h3,
section#main-text.home-text #content h4 {
  color: #f7e015 !important;
}
section#main-text.home-text #content p,
section#main-text.home-text #content p span,
section#main-text.home-text #content li {
  color: #fff !important;
  font-family: "Be Vietnam Pro", sans-serif !important;
}
section#main-text #content p,
section#main-text #content p span,
section#main-text #content li {
  color: #0a3669;
  font-size: 18px;
  font-family: "Be Vietnam Pro", sans-serif;
  line-height: 1.7em;
}
section#main-text #content img {
  width: 100% !important;
  height: auto;
}
section#main-text a {
  color: #0a3669;
}
/* ----- Quick Links ----- */
section#quick-links .ql-container.nursery {
  background: url(img/nursery.jpg) no-repeat center/cover;
}
section#quick-links .ql-container.reception {
  background: url(img/reception.jpg) no-repeat center/cover;
}
section#quick-links .ql-container.ks1 {
  background: url(img/ks1.jpg) no-repeat center/cover;
}
section#quick-links .ql-container.ks2 {
  background: url(img/ks2.jpg) no-repeat center/cover;
}
section#quick-links .ql-container.curriculum {
  background: url(img/curriculum.jpg) no-repeat center/cover;
}
section#quick-links .ql-container {
  height: 300px;
  position: relative;
  text-align: center;
  display: block;
  overflow: hidden;
  border-radius: 12px;
  -webkit-border-radius: 12px;
  -moz-border-radius: 12px;
  -ms-border-radius: 12px;
  -o-border-radius: 12px;
  opacity: 0;
}
section#quick-links .ql-container img {
  width: 100%;
}
section#quick-links .ql-container .content {
  position: absolute;
  height: 100%;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.3);
  color: #fff;
  transition: all 0.5s ease;
  width: 100%;
  left: 0;
  bottom: 0;
}
section#quick-links .ql-container .overlay::after {
  position: absolute;
  left: 50%;
  transform: translate(-50%, -50%);
  content: "";
  top: 50%;
  width: 100%;
}
section#quick-links .ql-container .overlay::after {
  background-color: rgba(247, 224, 21, 0.7);
  z-index: 1;
  opacity: 0;
  max-width: 10%;
  padding-bottom: 10%;
  height: 0;
  transition: all ease-in-out 0.2s;
  border-radius: 50%;
}
section#quick-links .ql-container:hover .overlay::after {
  opacity: 1;
  max-width: 90%;
  padding-bottom: 90%;
}
section#quick-links .ql-container .content h3 {
  position: absolute;
  top: 83%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  z-index: 2;
  color: #fff;
  font-size: 24px;
  width: 70%;
  transition: 0.3s;
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  -ms-transition: 0.3s;
  -o-transition: 0.3s;
}
section#quick-links .ql-container:hover .content h3 {
  top: 50%;
  color: #0a3669;
}
section#quick-links .ql-container:hover .content {
  height: 100%;
}
/* ----- Quick Links END ----- */

/* ----- Bottom Links ----- */
section#bottom-links {
  background: url(img/yellow-dot.png) 95% 95%/100px no-repeat;
}
section#bottom-links .container {
  padding-top: 40px;
  background: url(img/dots.png) 2% 2%/600px no-repeat;
}
section#bottom-links .bl-container {
  position: relative;
  display: block;
  margin-bottom: 20px;
  height: 300px;
  overflow: hidden;
  border-radius: 24px;
  -webkit-border-radius: 24px;
  -moz-border-radius: 24px;
  -ms-border-radius: 24px;
  -o-border-radius: 24px;
  color: #fff;
  opacity: 0;
}
section#bottom-links .bl-container.news {
  margin-bottom: 0;
}
section#bottom-links .bl-container.blogs {
  color: #0a3669;
}
section#bottom-links .bl-container.news {
  background: url(img/news.jpg) no-repeat center/cover;
}
section#bottom-links .bl-container.blogs {
  background: url(img/blogs.jpg) no-repeat center/cover;
}
section#bottom-links .bl-container.gallery {
  background: url(img/gallery.jpg) no-repeat center/cover;
}
section#bottom-links .bl-container.news .content {
  background-color: rgba(10, 54, 105, 0.6);
}
section#bottom-links .bl-container.blogs .content {
  background-color: rgba(247, 224, 51, 0.6);
}
section#bottom-links .bl-container.gallery .content {
  background-color: rgba(153, 43, 194, 0.6);
}
section#bottom-links .bl-container .overlay::after {
  position: absolute;
  left: 50%;
  transform: translate(-50%, -50%);
  content: "";
  top: 50%;
  width: 100%;
}
section#bottom-links .bl-container.news:hover .overlay::after {
  opacity: 1;
  max-width: 90%;
  padding-bottom: 90%;
}
section#bottom-links .bl-container.blogs:hover .overlay::after {
  opacity: 1;
  max-width: 90%;
  padding-bottom: 90%;
}
section#bottom-links .bl-container.gallery:hover .overlay::after {
  opacity: 1;
  max-width: 90%;
  padding-bottom: 90%;
}
section#bottom-links .bl-container.news .overlay::after {
  background-color: rgba(10, 54, 105, 0.8);
  opacity: 0;
  max-width: 10%;
  padding-bottom: 10%;
  height: 0;
  transition: all ease-in-out 0.2s;
  border-radius: 50%;
  -webkit-transition: all ease-in-out 0.2s;
  -moz-transition: all ease-in-out 0.2s;
  -ms-transition: all ease-in-out 0.2s;
  -o-transition: all ease-in-out 0.2s;
}
section#bottom-links .bl-container.blogs .overlay::after {
  background-color: rgba(247, 224, 21, 0.8);
  z-index: 1;
  opacity: 0;
  max-width: 10%;
  padding-bottom: 10%;
  height: 0;
  transition: all ease-in-out 0.2s;
  border-radius: 50%;
}
section#bottom-links .bl-container.gallery .overlay::after {
  background-color: rgba(153, 43, 194, 0.8);
  z-index: 1;
  opacity: 0;
  max-width: 10%;
  padding-bottom: 10%;
  height: 0;
  transition: all ease-in-out 0.2s;
  border-radius: 50%;
}

section#bottom-links .bl-container .content {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
}
section#bottom-links .bl-container .text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  z-index: 2;
  width: fit-content;
  width: 75%;
}
section#bottom-links .bl-container .text h3 {
  position: relative;
  font-weight: 300;
}
section#bottom-links .bl-container .text h3::after {
  position: absolute;
  content: "";
  height: 5px;
  width: 35%;
  bottom: -10px;
  left: 0;
}
section#bottom-links .bl-container.news .text h3::after {
  background: #ff69b4;
}
section#bottom-links .bl-container.blogs .text h3::after {
  background: #992bc2;
}
section#bottom-links .bl-container.gallery .text h3::after {
  background: #f7e015;
}
section#bottom-links .bl-container.news .text span {
  border-bottom: 2px solid #fff;
}
section#bottom-links .bl-container.blogs .text span {
  border-bottom: 2px solid #1e90ff;
}
section#bottom-links .bl-container.gallery .text span {
  border-bottom: 2px solid #99cc33;
}
section#bottom-links .bl-container .text h3,
section#bottom-links .bl-container .text span {
  color: #fff;
  text-transform: uppercase;
  padding-bottom: 5px;
  margin-bottom: 20px;
}
section#bottom-links .bl-container.blogs .text h3,
section#bottom-links .bl-container.blogs .text span {
  color: #0a3669;
}
section#bottom-links .bl-container h3 {
  font-size: 32px;
}
/* ----- Bottom Links END ----- */

/* ----- Logo Section ----- */
section#logo-section img {
  height: 90px;
  display: block;
  margin: 10px auto;
}
/* ----- Logo Section END ----- */

/* ----- Contact Section ----- */
section#contact-section {
  position: relative;
  background: url(img/contact-bg.jpg) no-repeat center/cover;
  color: #0a3669;
  text-align: center;
  padding-bottom: 25%;
}
section#contact-section .contact-block {
  position: relative;
  padding: 30px;
  border-radius: 8px;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  -ms-border-radius: 8px;
  -o-border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.7);
  overflow: hidden;
}
section#contact-section .get-in-touch {
  display: none;
  position: absolute;
  bottom: 133px;
  font-size: 26px;
  background-color: rgba(154, 43, 194, 0.8);
  color: #fff;
  left: -192px;
  padding: 20px;
  text-align: center;
  width: 461px;
  transform: rotate(-90deg);
  -webkit-transform: rotate(-90deg);
  -moz-transform: rotate(-90deg);
  -ms-transform: rotate(-90deg);
  -o-transform: rotate(-90deg);
}
section#contact-section .get-in-touch .fal {
  margin-left: 20px;
  position: relative;
  transform: rotate(90deg);
}
section#contact-section .school-name {
  font-size: 28px;
  font-weight: 600;
}
section#contact-section .address {
  display: table;
  position: relative;
  margin: 0 auto 40px;
}
section#contact-section .address::before {
  position: absolute;
  content: "";
  left: 50%;
  width: 40%;
  bottom: -20px;
  background: #99cc33;
  height: 10px;
  border-radius: 24px;
  -webkit-border-radius: 24px;
  -moz-border-radius: 24px;
  -ms-border-radius: 24px;
  -o-border-radius: 24px;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  -o-transform: translateX(-50%);
}
section#contact-section .head-details {
  display: table;
  position: relative;
  font-weight: 600;
  margin: 0 auto 40px;
  font-size: 22px;
}
section#contact-section .head-details::before {
  position: absolute;
  content: "";
  left: 50%;
  width: 40%;
  bottom: -20px;
  background: #992bc2;
  height: 10px;
  border-radius: 24px;
  -webkit-border-radius: 24px;
  -moz-border-radius: 24px;
  -ms-border-radius: 24px;
  -o-border-radius: 24px;
  transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  -moz-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  -o-transform: translateX(-50%);
}
section#contact-section .staff-details {
  margin-bottom: 10px;
  font-weight: 500;
}
section#contact-section span {
  color: #992bc2;
}
section#contact-section a {
  display: inline;
  color: #0a3669;
  transition: 0.3s;
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  -ms-transition: 0.3s;
  -o-transition: 0.3s;
}
section#contact-section a:hover {
  color: #f7e015;
  text-decoration: none;
}
section#contact-section .map-btn {
  position: absolute;
  display: none;
  right: -77px;
  top: 100px;
  background: rgba(247, 224, 21, 0.6);
  color: #0a3669;
  padding: 20px;
  font-weight: 600;
  transform: rotate(-90deg);
  -webkit-transform: rotate(-90deg);
  -moz-transform: rotate(-90deg);
  -ms-transform: rotate(-90deg);
  -o-transform: rotate(-90deg);
  border-radius: 12px;
  -webkit-border-radius: 12px;
  -moz-border-radius: 12px;
  -ms-border-radius: 12px;
  -o-border-radius: 12px;
  transition: 0.3s;
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  -ms-transition: 0.3s;
  -o-transition: 0.3s;
}
section#contact-section .map-btn:hover {
  background: #f7e015;
  color: #0a3669;
}
section#contact-section .map-btn .fal {
  position: relative;
  transform: rotate(90deg);
  -webkit-transform: rotate(90deg);
  -moz-transform: rotate(90deg);
  -ms-transform: rotate(90deg);
  -o-transform: rotate(90deg);
  margin-right: 0;
  margin-left: 10px;
  font-size: 28px;
}
section#contact-section .login-btn {
  position: absolute;
  display: none;
  left: -59px;
  top: 100px;
  background: rgba(247, 224, 21, 0.6);
  color: #0a3669;
  padding: 20px;
  font-weight: 600;
  transform: rotate(-90deg);
  -webkit-transform: rotate(-90deg);
  -moz-transform: rotate(-90deg);
  -ms-transform: rotate(-90deg);
  -o-transform: rotate(-90deg);
  border-radius: 12px;
  -webkit-border-radius: 12px;
  -moz-border-radius: 12px;
  -ms-border-radius: 12px;
  -o-border-radius: 12px;
  transition: 0.3s;
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  -ms-transition: 0.3s;
  -o-transition: 0.3s;
}
section#contact-section .login-btn:hover {
  background: #f7e015;
  color: #0a3669;
}
section#contact-section .login-btn .fal {
  position: relative;
  transform: rotate(90deg);
  -webkit-transform: rotate(90deg);
  -moz-transform: rotate(90deg);
  -ms-transform: rotate(90deg);
  -o-transform: rotate(90deg);
  margin-right: 0;
  margin-left: 10px;
  font-size: 28px;
}
/* ----- Contact Section END ----- */

/*----- Responsive Styles -----*/
@media (min-width: 640px) {
  section#main-text.home-text #content {
    background: url(img/welcome-circle.png) no-repeat 98% 20px/60px #0a3669;
  }
  section#main-text.home-text .welcome-text {
    font-size: 36px;
  }
  section#main-text.home-text .welcome-text span {
    font-size: 28px;
  }
  #wrap {
    margin: 0 auto -208px;
  }
  #push {
    height: 208px;
  }
}
@media (min-width: 768px) {
  section#main-text.home-text .welcome-text {
    font-size: 58px;
  }
  section#main-text.home-text .welcome-text span {
    font-size: 38px;
  }
  section#quick-links .ql-container .content h3 {
    font-size: 32px;
  }
  /* ----- Wrap and Push for Single Column Sticky Footer -----*/
  #wrap {
    margin: 0 auto -90px;
  }
  #push {
    height: 90px;
  }
}
@media (min-width: 1024px) {
  section#main-text.home-text .welcome-text {
    font-size: 65px;
  }
  section#main-text.home-text .welcome-text span {
    font-size: 42px;
  }
  section#main-text .container {
    max-width: 914px;
  }
  section#main-text.home-text .container {
    max-width: 1024px;
  }
  section#main-text.home-text #content {
    padding-left: 120px;
  }
  section#main-text.home-text .welcome-block {
    display: block;
  }
  section#main-text {
    min-height: 910px;
  }
  section#quick-links .ql-container {
    height: 160px;
  }
  section#quick-links .ql-container .content h3 {
    font-size: 20px;
  }
  section#bottom-links .bl-container.news {
    height: 97%;
    border-top-left-radius: 24px;
    border-bottom-left-radius: 24px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
  }
  section#bottom-links .bl-container {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
  }
  section#bottom-links .bl-container.news h3 {
    font-size: 42px;
  }
  section#bottom-links .bl-container h3 {
    font-size: 26px;
  }
  section#contact-section .school-name {
    font-size: 28px;
  }
  section#contact-section .get-in-touch {
    display: block;
  }
  section#contact-section .contact-block {
    padding-left: 84px;
  }
  section#contact-section .map-btn,
  section#contact-section .login-btn {
    display: block;
  }
  section#contact-section .container {
    width: 890px;
  }
  /*footer .footer-right{
    margin-top: 0;
    }*/
  /* ----- Wrap and Push for Single Column Sticky Footer -----*/
  #wrap {
    margin: 0 auto -62px;
  }
  #push {
    height: 62px;
  }
}
@media (min-width: 1280px) {
  section#main-text.home-text .welcome-text {
    font-size: 80px;
  }
  section#main-text.home-text .welcome-text span {
    font-size: 48px;
  }
  section#main-text .container {
    max-width: 1170px;
  }
  section#main-text.home-text .container {
    max-width: 1280px;
  }
  section#main-text.home-text .welcome-block {
    height: 462px;
  }
  section#quick-links .ql-container {
    height: 200px;
  }
  section#bottom-links .bl-container.news h3 {
    font-size: 48px;
  }
  section#bottom-links .bl-container h3 {
    font-size: 32px;
  }
  section#contact-section .school-name {
    font-size: 32px;
  }
  section#contact-section .container {
    width: 1100px;
  }
}
@media (min-width: 1400px) {
  section#main-text .container {
    max-width: 1280px;
  }
}
