@charset "utf-8";
/* CSS Document */
/* COLOURS AND FONTS */
/* #7B297F; /* EI Dark Purple */
/* #BB64BF; /* EI Purple */
/* #464646; /* EI Grey */
/* #000000; /* Black */
/* #FBFEF9; /* Baby Powder */
/* #E30022; /* Cadmium Red */
/* font-family: 'Lato', sans-serif; */

/* Global Styles */

@font-face {
  font-family: 'Lato';
  src: url('/fonts/Lato-Regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Lato-Bold';
  src: url('/fonts/Lato-Bold.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

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

body {
    font-family: 'Lato', sans-serif;
    line-height: 1.6;
    color: #fff;
    background-color: #7B297F; /* EI Dark Purple */
}

a {
	color: #BB64BF; /* EI Purple */
}

a:hover {
	opacity: 0.8;
}

h1,h2,h3,h4,h5,h6 {
	color: #7B297F; /* EI Dark Purple */
}

img {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  height: auto;
}

hr {
	border-width: 1px;
	border-color: #f0f0f0;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
	width: 80vw;
	margin: 0 auto;
}

ul {
	list-style-position: inside;
}

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

/* VIDEO BANNER */
.video-banner {
	width: 100%;
	height: auto;
	margin: 0;
	padding: 0;
	margin-top: 20px;
}

.clearfix:after {
  content: "";
  display: table;
  clear: both;
}

li {
	margin-left: 50px;
}

/* HEADER */
header {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  color: #FBFEF9; /* Baby Powder */
  border-bottom: 2px solid #464646; /* EI Grey */
  padding: 1em;
  text-align: center;
  border-radius: 0 0 12px 12px; 
}

.index-header {
	background-image: url("/test/images/schools/td/DSC_8031-1920.webp");
}

.schools-header {
	background-image: url("/test/images/schools/ph/DSC_8137-1920.webp");
}

.staff-header {
	background-image: url("/test/images/schools/td/DSC_8017-1920.webp");
}

.contact-header {
	background-image: url("/test/images/schools/bv/DSC_8198-1920.webp");
}

.policies-header {
	background-image: url("/test/images/schools/scrabble/DSC_8161-169.webp");
}

.curriculum-header {
	background-image: url("/test/images/schools/bv/DSC_8130-1920.webp");
}

.employment-header {
	background-image: url("/test/images/backgrounds/ei-team.webp");
}

.careers-header {
	background-image: url("/test/images/schools/bv/DSC_8060-1920.webp");
}

.application-header {
	background-image: url("/test/images/schools/scrabble/DSC_8173-1920.webp");
}

.generic-header {
	background-image: url("");
}

header img {
  margin-bottom: 1em;
  border: 2px solid #464646; /* EI Grey */
  border-radius: 12px;
  max-width: 100%;
  height: auto;
}

.mini-banner {
	text-transform: uppercase;
	letter-spacing: 2px;
	font-family: 'Lato-Bold', sans-serif;
	color: #FBFEF9; /* Baby Powder */
	margin-bottom: 10px;
	font-size: 1.5em;
	text-shadow: 1px 1px 2px #666;
}

/* NAVIGATION */

nav > ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  gap: 20px;
}

nav li {
	list-style-type: none;
	color: #BB64BF; /* EI Purple */
}

nav > ul > li {
  display: flex;
  align-items: center;
  margin-right: 20px;
}

nav ul li {
  position: relative;
  background-color: #FBFEF9; /* Baby Powder */
  padding: 0 10px;
  border-radius: 5px;
}

nav a {
  text-decoration: none;
  color: #7B297F; /* EI Dark Purple */
  padding: 5px;
  display: block;
}

nav a:hover {
  opacity: 0.8;
}

nav ul ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  padding: 0;
  background-color: #FBFEF9; /* Baby Powder */
  border-radius: 5px;
}

nav ul li:hover ul {
  display: flex;
  gap: 5px;
}

nav ul ul li {
  margin: 0;
}

nav ul ul a {
  padding: 10px;
  white-space: nowrap;
}

/* Responsive */
@media (max-width: 768px) {
  nav > ul {
    flex-direction: column;
    align-items: center;
  }
  nav > ul > li {
    margin: 0;
  }
  nav ul ul {
    position: static;
    display: none;
  }
  .submenu {
    display: none !important;
  }
  nav ul ul li {
    margin: 0;
  }
  li { margin-left: 15px; }
}

/* MAIN CONTENT */
main {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2em;
}

.content-box {
    background-color: #FBFEF9; /* Baby Powder */
    color: #464646; /* EI Grey */
	border: 2px solid #464646; /* EI Grey */
    padding: 2em;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    max-width: 1200px; /* Maximum width for content box */
    width: 100%;
}

.content-box p {
	margin-top: 10px;
	margint-bottom: 10px;
}

.copyright {
	margin-top: 15px;
	text-align: center;
	font-style: italic;
}

.banner {
	letter-spacing: 5px;
	color: #7B297F; /* EI Dark Purple */
	text-align: center;
	font-family: 'Lato-Bold', sans-serif;
	font-size: 2em;
	text-transform: uppercase;
	text-shadow: 1px 1px 2px #666;
	margin-bottom: 15px;
}

/* Responsive Design */
@media only screen and (max-width: 768px) {
    main {
        padding: 1em;
    }

    .content-box {
        padding: 1em;
    }
}

@media only screen and (max-width: 480px) {
    header {
        padding: 0.5em;
    }

    main {
        padding: 0.5em;
    }

    .content-box {
        padding: 0.5em;
    }
}

/* Other Elements */

/* Scrollbar Styles: Chrome/Safari */

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

/* Define the scrollbar track styles */
::-webkit-scrollbar-track {
  background-color: #464646; /* EI Grey */
  border-radius: 10px;
}

/* Define the scrollbar thumb styles */
::-webkit-scrollbar-thumb {
  background-color: #BB64BF; /* EI Purple */
  border-radius: 10px;
}

/* Define the scrollbar thumb hover styles */
::-webkit-scrollbar-thumb:hover {
  background-color: #888;
}

/* Define the scrollbar corner styles */
::-webkit-scrollbar-corner {
  background-color: #f2f2f2;
}

/* Scrollbar Styles: Firefox */

scrollbar {
  width: 10px;
  height: 10px;
}

/* Scrollbar track styles */
scrollbar-track {
  background-color: #464646; /* EI Grey */
  border-radius: 10px;
}

/* Scrollbar thumb styles */
scrollbar-thumb {
  background-color: #BB64BF; /* EI Purple */
  border-radius: 10px;
}

/* Scrollbar thumb hover styles */
scrollbar-thumb:hover {
  background-color: #888;
}

/* Scrollbar Styles: Internet Explorer */
body {
  scrollbar-face-color: #BB64BF; /* EI Purple */
  scrollbar-track-color: #464646; /* EI Grey */
  scrollbar-arrow-color: #666;
  scrollbar-highlight-color: #f2f2f2;
  scrollbar-shadow-color: #666;
  scrollbar-3dlight-color: #f2f2f2;
  scrollbar-darkshadow-color: #666;
}

/* TWO COLUMNS */
.two-columns {
  display: flex;
  flex-wrap: wrap;
}

.column {
  flex-basis: 50%;
  padding: 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

.column img {
  margin: auto 0; /* Vertically center the image */
}

/* Optional: Add some basic styling */
.column {
  background-color: #f0f0f0;
  border: 1px solid #ddd;
}

.column li {
	margin-left: 50px;
}

.column video {
  max-width: 100%;
  width: 100%;
  height: auto;
}

/* Responsive */
@media (max-width: 768px) {
  .column {
    flex-basis: 100%;
	padding: 5px;
  }
  .column li {
	  margin-left: 20px;
  }
}

/* BUTTONS */
.wide-button {
  width: 69vw; /* 80% of viewport width */
  padding: 15px;
  font-size: 18px;
  border: none;
  border-radius: 5px;
  background-color: #7B297F; /* EI Dark Purple */
  cursor: pointer;
  transition: background-color 0.3s ease;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  display: block; /* Make the button a block element */
  margin: 0 auto; /* Center the button horizontally */
}

.wide-button a {
	color: #FBFEF9; /* Baby Powder */
	text-decoration: none;
}

.wide-button:hover {
  opacity: 0.8;
}

.small-button {
  width: 25vw;
  padding: 10px;
  font-size: 16px;
  border: none;
  border-radius: 5px;
  background-color: #7B297F; /* EI Dark Purple */
  color: #FBFEF9; /* Baby Powder */
  cursor: pointer;
  display: block;
  margin: 0 auto;
}

.small-button a {
	color: #FBFEF9; /* Baby Powder */
	text-decoration: none;
}

.small-button:hover {
  opacity: 0.8;
}

/* Important banner */
.important-info-box {
  background-color: #464646; /* EI Grey */
  color: #FBFEF9; /* Baby Powder */
  padding: 20px;
  border: 1px solid #cccccc;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.important-info-box h2 {
  margin-top: 0;
}

/* FOOTER AREA */
footer {
	text-align: center;
}

.fcolumn-container {
    display: flex;
    justify-content: space-between;
	width: 80%;
	margin: 0 auto;
}

.fcolumn {
    width: 48%;
    padding: 10px;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .fcolumn-container {
        flex-direction: column;
    }

    .fcolumn {
        width: 100%;
        margin-bottom: 20px;
    }
}

.footer-bottom {
  margin-top: 20px;
  padding-top: 10px;
  border-top: 1px solid #464646; /* EI Grey */
}

.footer-bottom p {
  margin-bottom: 0;
  margin-top: 5px;
}

/* GOOGLE MAP EMBED */
.map-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}