/* ==========================================================
   Solomon Independent School - main stylesheet
   Layout width: 780px, centred
   ========================================================== */
@font-face {
  font-family: "Gochi Hand";
  src: url("../fonts/gochi-hand.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Open Sans";
  src: url("../fonts/open-sans-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Open Sans";
  src: url("../fonts/open-sans-400-ext.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* ---------- Reset / base ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html, body {
  background: #d9d6c5 url("../images/bg-texture.png") repeat;
  background-size: 200px 200px;
}
body {
  color: #171717;
  font-family: "Times New Roman", Times, serif;
  font-size: 16px;
  line-height: 1.2;
  -webkit-text-size-adjust: 100%;
}
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}
a {
  color: inherit;
}
img {
  border: 0;
  display: block;
}
/* ---------- Page wrapper ---------- */
.wrap {
  position: relative;
  width: 1020px;
  margin: 0 auto;
  padding: 20px 30px 80px;
}
/* the thin vertical rules either side of the page */
.wrap::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50px;
  width: 100%;
  height: calc(100% - 100px);
  border-left: 1px solid #bdbaab;
  border-right: 1px solid #bdbaab;
  box-shadow: inset 1px 0 0 #eae8de, 1px 0 0 #eae8de;
  pointer-events: none;
}
/* ---------- Header ---------- */
.logo {
  position: relative;
  width: 173px;
  height: 126px;
}
.main-nav {
  display: flex;
  justify-content: end;
  align-items: center;
  width: 100%;
  position: relative;
  column-gap: 30px;
  margin: 0 50px;
}
.main-nav a {
  position: relative;
  font-family: "Lucida Sans Unicode", "Lucida Grande", "Lucida Sans", Geneva, Verdana, sans-serif;
  font-size: 28px;
  color: #000;
  text-decoration: none;
  white-space: nowrap;
}
.main-nav a:hover, .main-nav a.active {
  color: #bf0000;
}
.main-nav .nav-facebook img {
  width: 36px;
  height: 36px;
}
/* ==========================================================
   HOME
   ========================================================== */
/* slideshow */
.slideshow {
  position: relative;
  width: 60%;
  height: 360px;
  border: 1px solid #efeee6;
  overflow: hidden;
  margin: auto;
}
.slideshow .slide {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity .8s ease;
  height: 100%;
}
.slideshow .slide.is-active {
  opacity: 1;
}
.slide-dots {
  position: relative;
  width: 172px;
  height: 9px;
  font-size: 0;
  line-height: 0;
  white-space: nowrap;
  margin: 20px auto;
}
.slide-dots button {
  display: inline-block;
  width: 9px;
  height: 9px;
  margin: 0 3px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #8e8d88;
  box-shadow: inset 0 0 0 1px #7d7c77, inset 0 1px 1px rgba(0, 0, 0, .25);
  cursor: pointer;
  vertical-align: top;
}
.slide-dots button:last-child {
  margin-right: 0;
}
.slide-dots button.is-active {
  background: #55544f;
}
/* "latest updates" banner */
.updates-banner {
  position: relative;
  width: 100%;
  height: 86px;
  background: #57564f;
  text-align: center;
  align-items: center;
  display: grid;
}
.updates-banner a {
  display: inline-block;
  font-family: "Gochi Hand", cursive;
  font-size: 30px;
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1.5px;
}
.rule {
  position: relative;
  height: 0;
  border-top: 1px solid #bdbaab;
}
.rule {
  width: 100%;
  margin: 30px 0;
}
/* video */
.intro-video {
  position: relative;
  width: 100%;
  background: #000;
  aspect-ratio: 16/9;
  margin-bottom: 30px;
}
.intro-video video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
}
/* body copy */
.home-copy {
  position: relative;
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 18px;
  line-height: 25px;
  color: #171717;
}
.home-copy p {
  text-align: justify;
  margin-bottom: 20px;
}
.home-copy .kindly {
  font-family: "Times New Roman", Times, serif;
  font-weight: bold;
  font-size: 24px;
  line-height: 30px;
  color: #980000;
  margin-top: 40px;
}
.home-copy .kindly a {
  color: #980000;
  text-decoration: underline;
}
/* donate bar (sits on top of the list, as in the design) */
.donate-bar {
  position: relative;
  width: 100%;
  display: flex;
}
.donate-bar .donate-text {
  position: relative;
  left: 0;
  top: 0;
  width: calc(100% - 300px);
  height: 100%;
  background: #57564f;
  font-family: "Gochi Hand", cursive;
  font-size: 32px;
  color: #fff;
  text-align: center;
  padding: 30px 25px;
}
.donate-bar .donate-cta {
  position: relative;
  width: 300px;
  display: grid;
  align-items: center;
  background: #980000;
}
.donate-bar .donate-cta a {
  position: relative;
}
.donate-bar .donate-cta img {
  width: 120px;
  margin: auto;
}
/* ==========================================================
   SCHOOL FEES
   ========================================================== */
.fees-title {
  font-size: 28px;
  font-weight: normal;
  text-align: center;
  color: #171717;
  margin-top: 50px;
}
.fees-qr {
  position: relative;
  width: 450px;
  margin: 10px auto
}
.fees-qr img {
  width: 100%;
  height: 100%;
}
.fees-note {
  position: relative;
  width: 600px;
  font-size: 24px;
  color: #171717;
  margin: 50px auto;
}
/* ==========================================================
   CONTACT
   ========================================================== */
.contact-panel {
  position: relative;
  width: 100%;
  background: #d1cdb9;
  border-top: 1px solid #c6c1aa;
  margin-top: 20px;
  padding: 25px;
  display: flex;
  column-gap: 30px;
}
.contact-panel > div:first-child {
  -ms-flex: 0 0 auto;
  flex: 0 0 auto;
  width: auto;
  max-width: 100%;
}
.contact-panel > div {
  flex-basis: 0;
  -ms-flex-positive: 1;
  flex-grow: 1;
  max-width: 100%;
}
.contact-panel h2 {
  position: relative;
  font-family: "Gochi Hand", cursive;
  font-weight: normal;
  font-size: 30px;
  color: #980000;
  margin-bottom: 15px;
}
.contact-map {
  position: relative;
  width: 380px;
  height: 400px;
  border: 0;
  display: block;
}
.contact-form {
  font-size: 12px;
  color: #6d6b5f;
  display: flex;
  flex-direction: column;
  width: 100%;
gap: 5px;
}
.contact-form label {
  position: relative;
}
.contact-form label .req {
  color: #e00000;
}
.contact-form .f-input {
  position: relative;
  border: 0;
  background: #dcd9c8;
  font-size: 12px;
  color: #171717;
  padding: 5px;
  outline: none;
}
.contact-form textarea.f-input {
  height: 132.5px;
  padding: 5px;
  resize: none;
}
.contact-form .f-input:focus {
  background: #e4e1d2;
}
.contact-form .l-updates input {
  width: 9px;
  height: 9px;
  margin: 0 4px 0 0;
  vertical-align: -1px;
}
.contact-submit {
  position: relative;
  width: 50.8px;
  height: 18.2px;
  border: 0;
  background: #980000;
  color: #fff;
  font-family: "Times New Roman", Times, serif;
  font-size: 10px;
  line-height: 18px;
  letter-spacing: .2px;
  text-align: center;
  cursor: pointer;
}
.contact-submit:hover {
  background: #b00000;
}
.form-status {
  position: relative;
  left: 320px;
  top: 503px;
  font-size: 12px;
  color: #980000;
}
.contact-address {
  position: relative;
  font-size: 22px;
  color: #171717;
  margin: 30px 20px 0;
}