* {
  box-sizing: border-box !important;
  border-radius: 0;
  padding: 0;
  margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 500;
  font-family: "Roboto Slab", serif;
}

a {
  text-decoration: none;
}

.container {
  margin-right: auto;
  margin-left: auto;
}

.header-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.header-home-contact-wrapper {
  text-align: center;
  padding: 10px;
}

.home-link,
.contact-link {
  color: #333;
  font-family: "Source Sans Pro", sans-serif;
  font-size: 14px;
  transition: color 0.5s ease;
}

.home-link,
.contact-link,
.home-link .home-icon,
.contact-link .contact-icon {
  transition: color 0.5s ease;
}

.home-link:hover,
.contact-link:hover,
.home-link:hover .home-icon,
.contact-link:hover .contact-icon {
  color: #ff7900;
  transition: color 0.5s ease;
}

.home-link {
  margin-right: 10px;
}

.social-list {
  list-style-type: none;
}

.social-list-item {
  display: inline-block;
  padding: 2px;
}

.social-icon {
  height: 36px;
  padding: 3px;
  border-radius: 50%;
  opacity: 1;
}

.social-link {
  display: block;
  transition: transform 0.5s ease;
}

.social-link:hover {
  transform: scale(1.2);
  transition: transform 0.5s ease;
}

.school-logo-name {
  display: flex;
  align-items: center;
}

.school-name-subheading {
  display: none;
}

.logo-image {
  height: 120px;
  display: block;
}

.logo-image-wrapper,
.school-name-wrapper {
  display: inline-block;
  vertical-align: middle;
}

.school-name {
  color: #333;
  font-size: 26px;
  line-height: 1.1;
  padding-left: 15px;
  font-family: "Cinzel Decorative", cursive;
  font-weight: 700;
  font-variant: small-caps;
}

.school-name-subheading {
  font-size: 14px;
  margin-top: 3px;
  line-height: 1.42857143;
  color: #333;
  padding-left: 15px;
  font-family: "Roboto Slab", serif;
}

.navigation {
  background-color: #00446d;
}

#navigation-heading {
  padding: 15px;
  display: flex;
  color: #fff;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  font-family: "Roboto Slab", serif;
}

.nav-icon {
  color: #fff;
}

#menu {
  list-style: none;
  display: none;
  flex-direction: column;
}

.menu-item {
  flex-grow: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  position: relative;
}

.menu-item-caret-icon {
  /*margin-left: 10px;*/
  color: #fff;
}

.menu-link-wrapper {
  display: flex;
}

.show-sub-menu-btn {
  display: flex;
  align-items: center;
  padding: 14px;
  background-color: rgba(0, 0, 0, 0.2);
}

.menu-link {
  display: flex;
  font-family: "Roboto Slab", serif;
  padding: 14px 0;
  font-size: 14px;
  color: #fff;
  flex-grow: 1;
  text-transform: uppercase;
  border-top: 1px solid rgba(0, 0, 0, 0.2);
  padding-left: 14px;
}

.menu-link:focus {
  background-color: rgba(0, 0, 0, 0.3);
}

.menu-item:first-child .menu-sub-link-list,
.menu-item:nth-child(5) .menu-sub-link-list {
  min-width: 180px;
}

.menu-sub-link-list {
  z-index: 5;
  display: none;
  list-style: none;
  text-align: left;
  background-color: #ff7900;
}

.menu-sub-link-item {
  display: block;
}

.menu-sub-link {
  display: block;
  color: white;
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
  padding: 10px;
  font-size: 14px;
  font-family: "Source Sans Pro", sans-serif;
}

.menu-sub-link-item:last-child {
  border-bottom: 0;
}

.menu-sub-link:hover {
  background-color: #02263c;
}

.banner-img-wrapper {
  height: 500px;
  position: relative;
  background: url("/img/banner.jpg") no-repeat center bottom;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

.slogan-wrapper {
  padding: 50px 0;
  height: inherit;
  display: flex;
  align-items: flex-end;
}

.slogan {
  z-index: 10;
  border-left: 5px solid #00446d;
  font-size: 20px;
  padding: 15px;
  color: #fff;
  background-color: rgba(0, 0, 0, 0.8);
  font-family: "Source Sans Pro", sans-serif;
}

.latest-update {
  color: #fff;
  background-color: #00446d;
}

.latest-update-wrapper {
  display: flex;
}

.latest-update-heading-wrapper {
  display: inline-flex;
  white-space: nowrap;
}

.latest-update-heading {
  color: #fff;
  padding: 12px;
  position: relative;
  clear: both;
  background-color: #ff7900;
  font-family: "Roboto Slab", serif;
}

.latest-update-heading:after {
  left: 100%;
  top: 50%;
  border: solid transparent;
  content: " ";
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
  border-color: rgba(136, 183, 213, 0);
  border-left-color: #ff7900;
  border-width: 10px;
  margin-top: -10px;
}

.latest-update-notification-wrapper {
  display: flex;
  flex-grow: 1;
  align-items: center;
  margin-left: 20px;
  white-space: nowrap;
  overflow: hidden;
}

.latest-update-notification {
  display: flex;
  height: 100%;
  align-items: center;
  color: #fff;
  font-size: 14px;
  font-family: "Roboto Slab", serif;
  padding-left: 100%; /* show the marquee just outside the paragraph */
  animation: marquee 15s linear infinite;
}

.latest-update-notification:hover {
  animation-play-state: paused;
}

@keyframes marquee {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(-100%, 0);
  }
}

.main-content {
  padding: 30px;
}

.school-intro {
  flex-basis: 60%;
}

.welcome-message {
  font-size: 32px;
  font-weight: 500;
  color: #ff7900;
  padding: 16px 0;
}

.intro-message {
  font-family: "Source Sans Pro", sans-serif;
  color: #333;
  margin-top: 14px;
  font-size: 14.5px;
  line-height: 1.7;
}

.intro-read-more {
  color: #fff;
  background-color: #00446d;
  padding: 10px;
  margin-top: 5px;
  display: inline-block;
}

.intro-read-more:hover {
  background-color: #ff7900;
}

.recent-event-wrapper {
  flex-basis: 35%;
  margin-top: 16px;
}

.recent-event-heading {
  background-color: #ff7900;
  padding: 12px;
  color: #fff;
}

.event-list-wrapper {
  height: 350px;
  border: 1px solid #eee;
  border-top: 0;
  overflow-y: auto;
}

.event-list {
  list-style-type: none;
}

.event-list-item {
  border-bottom: 1px solid #ddd;
  padding: 12px;
  font-size: 14px;
  color: #337ab7;
  font-family: "Source Sans Pro", sans-serif;
}

.event-link {
  font-size: 14px;
  color: #337ab7;
  font-family: "Source Sans Pro", sans-serif;
}

.event-link:hover {
  text-decoration: underline;
}

.event-list-item:last-child {
  border-bottom: none;
}

.discover {
  text-align: center;
  border-top: 1px solid #eee;
  padding: 30px;
  background-color: #ff7900;
}

.discover-item-wrapper {
  margin-top: 30px;
  background-color: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  background-color: #00446d;
}

.discover-item-wrapper a {
  color: #fff;
}

.discover-item-wrapper:hover {
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22);
}

.discover-item-image {
  width: 100%;
}

.discover-section-heading {
  color: #fff;
  font-size: 32px;
}

.discover-item-heading {
  padding: 15px;
  font-size: 16px;
  font-family: "Source Sans Pro", sans-serif;
}

.footer {
  color: #fff;
  background-color: #00446d;
}

.footer-content {
  justify-content: space-between;
}

.footer-school-logo-wrapper {
  display: flex;
  align-items: center;
}

.school-address-wrapper {
  padding: 30px;
}

.footer-school-logo {
  width: 80px;
}

.footer-school-name {
  font-size: 22px;
  padding-left: 12px;
  font-family: "Cinzel Decorative", sans-serif;
  color: #fff;
  text-transform: uppercase;
}

.footer-school-address {
  font-style: normal;
  font-family: "Source Sans Pro", sans-serif;
  font-size: 14px;
  margin-top: 12px;
  color: #fff;
  line-height: 1.6;
}

.email,
.email-icon,
.phone-icon {
  color: #fff;
  padding-right: 5px;
}

.email {
  font-family: "Source Sans Pro", sans-serif;
}

.footer-navigation-block {
  padding: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-navigation-list {
  list-style: none;
}

.footer-navigation-heading,
.footer-navigation-link {
  color: #fff;
  transition: color 0.5s ease;
}

.footer-navigation-heading {
  font-family: "Roboto Slab", serif;
  font-size: 18px;
  text-transform: uppercase;
  margin-bottom: 20px;
  display: block;
}

.footer-navigation-link {
  padding: 8px 0;
  display: block;
  font-family: "Source Sans Pro", sans-serif;
  font-size: 14px;
}

.footer-contact-link {
  display: inline-block;
}

.footer-navigation-link:hover,
.footer-navigation-heading:hover {
  color: #ff7900;
  transition: color 0.5s ease;
}

.copyright-social-wrapper {
  padding: 20px;
  background-color: #02263c;
  color: #fff;
}

.copyright-social {
  text-align: center;
}

.copyright,
.developer-credit {
  color: #fff;
  font-size: 14px;
  font-family: "Source Sans Pro", sans-serif;
}

.copyright {
  flex-grow: 1;
}

@media (min-width: 720px) {
  .discover-section-heading {
    margin-bottom: 30px;
  }
  .discover-all-items {
    display: flex;
    justify-content: space-between;
  }
  .discover-item-wrapper {
    margin-top: 0;
    flex-basis: 32%;
  }
}

@media (min-width: 800px) {
  .header-top {
    flex-direction: row;
  }
}

@media (min-width: 992px) {
  .container {
    width: 970px;
  }
  .header-top {
    flex-direction: row;
  }
  .school-name {
    font-size: 36px;
  }
  .header-home-contact-wrapper {
    text-align: right;
  }
  .school-name-subheading {
    display: block;
  }
  #menu {
    display: flex;
    flex-direction: row;
  }
  .navigation-heading-wrapper {
    display: none;
  }
  .menu-item:hover {
    background-color: #ff7900;
  }
  .menu-item:hover .menu-sub-link-list {
    display: block;
  }
  .show-sub-menu-btn {
    display: none;
  }
  .menu-link {
    padding-left: 0;
    border: 0;
    justify-content: center;
  }
  .menu-sub-link-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
  }
  .copyright-social {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: unset;
  }
  .footer {
    padding: 60px;
  }
  .footer-content {
    display: flex;
  }
  .school-address-wrapper {
    padding: 0;
    width: 350px;
  }
  .footer-navigation-block {
    padding: 0 15px;
    border: 0;
  }
  .main-content .container {
    display: flex;
    justify-content: space-between;
  }
}

@media (min-width: 1200px) {
  .container {
    width: 1140px;
  }
}

.link-img-banner {
  z-index: 0;
  height: 400px;
  position: relative;
  display: flex;
  align-items: flex-end;
  -webkit-background: url("/img/banner-01.jpg") center center no-repeat;
  -moz-background: url("/img/banner-01.jpg") center center no-repeat;
  -ms-background: url("/img/banner-01.jpg") center center no-repeat;
  -o-background: url("/img/banner-01.jpg") center center no-repeat;
  background: url("/img/banner-01.jpg") center center no-repeat;
  -webkit-background-size: cover;
  background-size: cover;
}

.link-img-banner::before {
  z-index: 1;
  content: " ";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 250px;
  -webkit-background-image: linear-gradient(
    to top,
    rgba(0, 0, 0, 1),
    rgba(0, 0, 0, 0)
  );
  -moz-background-image: linear-gradient(
    to top,
    rgba(0, 0, 0, 1),
    rgba(0, 0, 0, 0)
  );
  -ms-background-image: linear-gradient(
    to top,
    rgba(0, 0, 0, 1),
    rgba(0, 0, 0, 0)
  );
  -o-background-image: linear-gradient(
    to top,
    rgba(0, 0, 0, 1),
    rgba(0, 0, 0, 0)
  );
  background-image: linear-gradient(to top, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
}

.link-heading-wrapper {
  z-index: 2;
}

.link-heading {
  padding-bottom: 20px;
  color: #fff;
  font-size: 40px;
  text-align: center;
}
