/* ==================== */
/* Colours
/* ==================== */

/**
 * Edit, delete or add as needed
 */
:root {
  --brand-main: #5DD39E;
  --brand-main-hover: #52c390;
  --brand-red: #EF476F;
  --brand-red-hover: #d1375b;
  --brand-navy: #41658A;
  --off-grey: #d2d2d2;
  --off-white: #f1f1f1;
}

/* ==================== */
/* Scroll Behaviour
/* ==================== */

html {
  scroll-behavior: smooth;
}

/* ==================== */
/* Global Font
/* ==================== */

body {
  font-family: 'Nunito Sans', sans-serif; /* Change to correct font */
  font-size: 16px;
}

.post, .page {
  margin: 0 !important;
}

/* ==================== */
/* Container
/* ==================== */

.container {
  width: 90%;
  max-width: 1280px;
  margin: 0 auto;
}

.section-has-bg .container {
  position: relative;
  z-index: 2;
}

/* ==================== */
/* Sections
/* ==================== */

.section {
  padding: 2rem 0;
}

.section--off-grey {
  background-color: var(--off-grey);
}

.section-has-bg {
  background-size: cover;
  position: relative;
  padding: 2rem 0;
  margin-bottom: 2rem;
}

.section-has-bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: black;
  opacity: 0.5;
}

@media (min-width: 1280px){
  .section {
    padding: 50px 0;
  }

  .section-has-bg {
    padding: 50px 0;
  }
}


/* ==================== */
/* Reset H1 CSS
/* ==================== */

h1.home-link,
a.home-link {
  display: block !important;
  padding: 0 !important;
  margin: 0 !important;
  line-height: 1 !important;
  font-size: 16px !important;
}

.home-link__logo {
  display: block;
  max-width: 280px;
  width: 100%;
}


/* ==================== */
/* Site Titles
/* ==================== */

.rte h2, .rte h3, .rte h4,
.site-title {
  margin-top: 0 !important;
  color: var(--brand-main) !important;

}

.site-title--centre {
  text-align: center;
}

.rte--center {
  text-align: center;
}


/* ==================== */
/* Site Buttons
/* ==================== */

.site-btn,
input.site-btn {
  display: inline-block;
  background-color: var(--brand-main);
  color: black !important;
  padding: 8px 32px;
  border-radius: 1rem;
  text-transform: uppercase;
  text-decoration: none !important;
  border: 0 !important;
  cursor: pointer;
  text-align: center;
  text-transform: none;
  font-weight: bold;
}

.site-btn:hover {
  background-color: var(--brand-main-hover) !important;
}

.site-btn--white {
  background-color: white;
  color: var(--brand-main) !important;
}

.site-btn--app {
  text-transform: none;
}

.site-btn--small {
  font-size: 14px;
  padding: 4px 12px;
}

.homework-buttons {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
}

/* ==================== */
/* Typography
/* ==================== */

p:first-of-type {
  margin-top: 0;
}

.rte {
  line-height: 1.75 !important;
}

@media (min-width: 1280px){
  .rte--larger-text {
    font-size: 18px;
  }
}


/* ==================== */
/* Misc Classes
/* ==================== */

.text-align-center {
  text-align: center !important;
}

.max-width--750 {
  max-width: 750px;
  margin-left: auto !important;
  margin-right: auto !important;
}

.text--white {
  color: white !important;
}

.disp-block {
  display: block !important;
}

/* ==================== */
/* Grid
/* ==================== */

.row{
  display: flex!important;
  flex-direction: column;
  justify-content: space-between;
  flex-wrap: wrap;
  width: 100%;

}

.row-invert{
  display: flex!important;
  flex-direction: column-reverse;
  justify-content: space-between;
  flex-wrap: wrap;
  width: 100%;

}

.col-2, .col-3, .col-4, .col-2-small, .col-2-big, .col-2-no-space{
  width: 100%;
}

.col-4{
  padding: 15px 0;
}

.vertical_center{
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (min-width: 768px){

  .row{
    flex-direction: row;
  }

  .col-4{
    width: 48.5%;
  }

}

@media (min-width: 1024px){

  .row, .row-invert{
    flex-direction: row;
  }

  .col-2{
    width: 48.5%;
  }

  .col-2-small{
    width: 31.5%;
  }

  .col-2-big{
    width: 64.5%;
  }

  .col-2-no-space{
    width: 50%;
  }

  .col-3{
    width: 31.5%;
  }

  .col-4{
    width: 23.5%;
  }

}

/* ==================== */
/* Top Bar
/* ==================== */

.top-bar {  
  background-color: var(--brand-main-hover);
  padding: 6px 0;
  text-align: center;
}

.top-bar__col--contact {
  display: none;
}

.top-bar__cta-btn {
  display: inline-block;
  color: white !important;
  font-size: 14px;
  text-decoration: none !important;
  background-color: var(--brand-main);
  padding: 8px 32px;
  border-radius: 50px;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 1px;
  cursor: pointer;
}

.top-bar__item {
  color: white;
}

.top-bar__item i {
  display: inline-block;
  margin-right: 5px;
}

.top-bar__item a {
  color: white !important;
  text-decoration: none !important;
  display: inline-block;
  margin-right: 1.5rem;
  text-transform: uppercase;  
  font-size: 14px;
  cursor: pointer;
}

@media (min-width: 768px){
  .top-bar {
    display: block;
    padding: 8px 0;
  }

  .top-bar__row {
    display: flex;
    justify-content: space-between;
  }

  .top-bar__col--contact {
    display: flex;
    align-items: center;
  }

  .top-bar__cta-btn {
    padding: 5px 25px;    
  }
}

/* ===================== */
/* Slideout Nav
/* ===================== */

.slideout-menu {    
  width: 350px;
  position: fixed;
  top: 0; 
  left: -350px; 
/*  left: 0;*/
  height: 100%; 
  background: #333;
  z-index: 100;
  /*overflow-y: scroll;*/
  background-color: var(--brand-main);
  transition: 0.5s;
}

body.admin-bar .slideout-menu {
  top: 46px;
}

.slideout-menu.active {
  box-shadow: 0 21px 27px rgb(0 0 0 / 90%);
  left: 0;
}

.slideout-menu i {
  font-family: "FontAwesome";
}

.slideout-menu h3 { 
  margin: 0;
  position: relative;
  padding: 12px 10px;
  color: #fff;
  font-size: 1.2em;
  font-weight: 400;
/*  border-bottom: 4px solid #222;*/
}

/* Style up the toggle menu "x" */
.slideout-menu .slideout-menu-toggle {
  position: absolute;
  top: 12px;
  right: 10px;
  display: inline-block;
  padding: 6px 9px 5px;
  font-family: Arial, sans-serif;
  font-weight: bold;
  line-height: 1;
  background: var(--brand-blue);
  color: white;
  text-decoration: none;
  vertical-align: top;
}

.slideout-menu .slideout-menu-toggle:hover {
  color: #fff;
}

/* Give the menu container some love */
.slideout-menu ul {
  list-style: none;
  font-weight: 300; 
  margin: 0;
  padding: 0;
}

/* And now the list items */
.slideout-menu ul li {
  /*border-top: 1px solid #454545;
  border-bottom: 1px solid #151515;*/
}

/* The anchor elements within the list items */
.slideout-menu ul li a {
  position: relative;
  display: block;
  padding: 10px;
  color: white;
  text-decoration: none;
  text-transform: uppercase;
  text-align: center;
}

.slideout-menu ul li a button  {
  position: absolute;
  right: 10px;
}

.slideout-menu ul li a:hover {
  /*background: #000;
  color: #fff;*/
}

.slideout-menu ul li a i {
  position: absolute;
  top: 15px;
  right: 10px;
  opacity: .5;
}

.dropdown-toggle {
  background-color: transparent;
  border: 0;    
  content: "";
  height: 42px;
  padding: 0;
  position: absolute;
  text-transform: lowercase;
  top: 3px;
  right: 0;
  width: 42px;
}

.dropdown-toggle:after {
  font-family: "FontAwesome";
  color: white;
  content: "\f078";    
  line-height: 42px;
  position: relative;
  top: 0;
  left: 1px;
  width: 42px;
}

.dropdown-toggle.sub-menu-on:after {
  content: "\f077";    
}

/* Submenu */
.slideout-menu ul .sub-menu {
  display: none;
  position: relative;
  width: 100%;
}

.slideout-menu ul .sub-menu li {
  border: 0;  
}

.slideout-menu ul .sub-menu li a {
  text-align: center;
  background-color: #2b673f !important;
}

@media (min-width: 1024px){
  .slideout-menu {
    display: none;
  }
}

/* ==================== */
/* Main Header
/* ==================== */

.main-header {
  /* background-color: var(--off-grey); */
  padding: 0.5rem 0;
  /* position: relative; */
  z-index: 1;
  position: absolute;
  width: 100%;
}

.main-header__row {
  display: flex;
  justify-content: space-between;
}

.main-header__col--logo {
  flex-basis: 60%;
}

.main-header__col--nav {
  display: none;
}

.main-header__burger {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.main-header__burger-link {
  color: white !important;
}

@media (min-width: 1024px){
  .main-header {
    padding: 1rem 0;
  }

  .main-header__col--logo {
    flex-basis: auto;
  }

  .main-header__burger {
    display: none;
  }

  .main-header__col--nav {
    display: flex;
    align-items: center;
  }
}

@media (min-width: 1280px){
  .main-header {
    padding: 1.5rem 0;
  }
}


/* ==================== */
/* Main Nav
/* ==================== */

.main-browse-nav {
  margin: 0 !important;
  padding: 0 !important;
  list-style-type: none !important;
  display: flex;  
  align-items: center;
}

.main-browse-nav > li {
  margin-left: 1rem;
  position: relative;
}

.main-browse-nav > li > a {
  color: var(--brand-main) !important;
  /* text-transform: uppercase !important; */
  font-weight: 600;
  text-decoration: none !important;
  font-size: 14px;
}

.main-browse-nav > li.menu-item-login a {
  background: var(--brand-main);
    display: inline-block;
    padding: 5px 32px;
    border-radius: 21px;
    color: white !important;
}

.main-browse-nav > li.menu-item-login a:hover {
  background-color: var(--brand-main-hover);
}

@media (min-width: 1280px){

  .main-browse-nav > li { 
    margin-left: 2rem;
  }

  .main-browse-nav > li > a {
    font-size: 18px;
  }
}


/* ==================== */
/* Sub Menus
/* ==================== */

.sub-menu {
  position: absolute;
  left: 0;  
  margin: 0;
  padding: 0;
  width: 250px;
  display: none;
}

.sub-menu > li.menu-item {
  display: block;  
}

.sub-menu > li.menu-item a {
  color: white !important;
  display: block;
  background-color: var(--brand-main);
  padding: 8px;
  text-align: left;
  text-decoration: none !important;
}

.sub-menu > li.menu-item a:hover {
  background-color: var(--brand-main-hover)
}

.main-browse-nav > li:hover .sub-menu {
  display: block;
}


/* ==================== */
/* Slideshow
/* ==================== */

#slideshow {
  overflow: hidden;
}

.fp-slideshow__slide {
  height: 500px;
  position: relative;
  background-position: center;
  background-size: cover;
  display: flex !important;
  justify-content: center;
  align-items: center;
}

.fp-slideshow__slide::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: black;
  opacity: 0.5;
}

.fp-slideshow__content {
  position: relative;
  z-index: 1;  
  width: 90%;
  max-width: 1280px;  
  margin-left: auto;
  margin-right: auto;
}

.fp-slideshow__title {
  margin: 0;
  padding: 0;
  color: white;
  font-size: 18px;
  line-height: 1.3;
  margin-bottom: 0.5rem;
  font-weight: bold;
}

.fp-slideshow__text {
  color: white;
  margin: 0 0 1rem 0;
  max-width: 500px;
}

#slideshow .slick-dots {
  bottom: 1rem;
}

#slideshow .slick-dots li button:before {
  font-size: 14px;
  color: white;
}

#slideshow .slick-dots li.slick-active button:before {
  color: white;
  opacity: 1;
}

#slideshow .slick-dotted.slick-slider {
  margin-bottom: 0;
}

@media (min-width: 1280px){

  .fp-slideshow__slide {
    height: 700px;
  }

  .fp-slideshow__logo {
    width: 550px;
  }

  .fp-slideshow__title {
    font-size: 60px;
  }

  .fp-slideshow__text {
    font-size: 22px;
  }

  #slideshow .slick-dots {
    bottom: 2rem;
  }
}


/* ==================== */
/* Footer
/* ==================== */

.site-footer-main {
  padding: 32px 0;
  background-color: var(--brand-main);
}

.site-footer-main__col--blurb {
  margin-bottom: 32px;
}

.site-footer__logo {
  max-width: 210px;
  margin-bottom: 1rem;
}

.site-footer__blurb {
  font-size: 14px;
  color: white;
}

.site-footer__title {
  color: white;
  position: relative;
  padding-bottom: 4px;
}

.site-footer__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 50px;
  height: 2px;
  background-color: white;

}

.footer-nav-wrap ul {
  margin: 0 !important;
  padding: 0 !important;
  list-style-type: none !important;
}

ul.footer-legal-nav {
  margin-bottom: 1rem !important;
}

.footer-nav-wrap ul a {
  display: inline-block;
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
  transition: 0.2s;
  color: white !important;
  text-decoration: none !important;
}

.footer-nav-wrap ul a:hover {
  border-color: white;
}

.site-footer__addr {
  color: white !important;
  padding-left: 32px;
  position: relative;
  margin-bottom: 16px;
}

.site-footer__addr::before {
  content: "\f3c5"; 
  font-family: "Font Awesome 5 Free"; 
  font-weight: 900;
  color: white;
  position: absolute;
  left: 0;
}

.site-footer__link {
  display: inline-block;
  border-bottom: 2px solid transparent;
  transition: 0.2s;
  color: white !important;
  text-decoration: none !important;  
}

.site-footer__link-wrap {
  position: relative;
  padding-left: 32px;
}

.site-footer__link-wrap::before {
  content: "\f095"; 
  font-family: "Font Awesome 5 Free"; 
  font-weight: 900;
  color: white;
  position: absolute;
  left: 0;
}

.site-footer__link-wrap--email::before {
  content: "\f0e0";
}

.social-icons {
  padding: 16px 0 0 0 !important;
  margin: 0 !important;
  list-style-type: none !important;
  display: flex;  
}

.social-icons__link {
  font-size: 32px;
  color: white !important;
}

.social-icons__item {
  margin-right: 1rem;
}

.social-icons__item:last-of-type {
  margin-right: 0;
}

.social-icons__link--dark {
  color: var(--brand-main) !important;
}

.site-footer .social-icons__item {
  margin-right: 0.5rem;
}

@media (min-width: 768px){

  .site-footer-main__row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .site-footer-main__col--blurb,
  .site-footer__blurb {
    margin-bottom: 0;
  }

  .site-footer__title {
    margin-top: 0;
  }
}

@media (min-width: 1024px){

  .site-footer-main {
    padding-top: 50px;
  }

  .site-footer-main__row {
    flex-wrap: nowrap;
  }

  .site-footer-main__col {
    flex-basis: calc(25% - 32px);
  }
}

@media (min-width: 1280px){

  .site-footer-main {
    padding-top: 75px;
  }

  .site-footer__blurb {
    padding-right: 32px;
  }
  
  .social-icons__link--lg {
    font-size: 45px;
  }

  .site-footer__blurb {
    line-height: 2;
  }
}


/* ==================== */
/* Site Info
/* ==================== */

.site-info {
  background-color: var(--brand-main-hover);
  overflow: hidden;
  padding-top: 16px;
  padding-bottom: 16px;
}

.site-info__text {
  margin: 0;
  color: white;
  font-size: 14px;
}

.site-info__copyright,
.site-info__designby {
  display: block;
  text-align: center;
}

.site-info a {
  color: white !important;
}

@media (min-width: 768px){
  .site-info__text {
    display: flex;
    justify-content: center;    
  }

  .site-info__copyright {
    margin-right: 8px;
    position: relative;
  }  

  .site-info__copyright::after {
    content: " |";
    display: inline-block;
    padding-left: 8px;
  }
}


/* ==================== */
/* Main Banner
/* ==================== */

.main-banner {
  background-size: cover;
  background-position: center;
  background-color: var(--brand-main); /* Default colour fallback for banner */
  height: 200px;
  display: flex;
  align-items: center;
  position: relative;
}

.main-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: black;
  opacity: 0.5;
}

.main-banner__row {
  position: relative;
}

.main-banner__title {
  margin: 0;
  color: white;
}

@media (min-width: 1280px){
  .main-banner {
    height: 300px;
  }

  .main-banner__title {
    font-size: 50px;
  }
}


/* ==================== */
/* Page Builder
/* ==================== */

.page-wrap {
  background-color: #ffffff;
  padding: 2rem 0 1rem 0;
}

.content-box__row {
/*  background-color: white;*/
/*  padding: 1rem;*/
  margin-bottom: 2rem;
/*  box-shadow: 0 0 4px rgba(0,0,0,0.4);*/
}

.content-box__row p:last-of-type {
  margin-bottom: 0;
}

.col-order-1 {
  margin-bottom: 2rem;
}

.content-box__title {
  margin-bottom: 1rem;
}

.content-box__body {
  margin-bottom: 1rem;
}

.section-has-bg .content-box__row {
  background-color: transparent !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  box-shadow: none;
}

.section-has-bg .site-title-pre,
.section-has-bg .content-box__title,
.section-has-bg .content-box__body .rte * {
  color: white !important;
}

@media (min-width: 1024px){

  .col-order-1 {
    margin-bottom: 0;
  } 

  .content-box__row {
    padding: 2rem 0;
    display: flex;
    justify-content: space-between;
  }

  .content-box__row--single-row {
    flex-direction: column;
    align-items: center;
    text-align: center !important;
    max-width: 1024px;
    margin-left: auto;
    margin-right: auto;
  }

  .content-box__col--txt {
    width: 60%;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .content-box__col--img {
    width: 400px;
  }

  .content-box__col--txt.col-order-1 {
    padding-right: 2rem;
  }

  .col-order-1 {
    order: 1;
  }

  .col-order-2 {
    order: 2;
  }
}

@media (min-width: 1280px){
  .content-box__row { 
    padding: 3rem 0;
  }

  .content-box__body {
    margin-bottom: 2rem;
  }
}


/* ==================== */
/* Contact Page 1
/* ==================== */

.contact-card {
  background-color: var(--brand-main);
  padding: 1rem;
  border-radius: 10px;
  display: flex;  
  align-items: center;
  margin-bottom: 1rem;
}

.contact-card__icon-wrap {
  margin-right: 1rem;
}

.contact-card__icon-circle {
  color: white !important; 
}

.contact-card__icon {
  color: var(--brand-main) !important;
}

.contact-card__text-wrap,
.contact-card__link {
  color: white !important;
}

.contact-card__link {
  text-decoration: none !important;
}

.opening-hours {
  margin: 0 0 2rem 0 !important;
  padding: 0 !important;
  list-style-type: none !important;
}

.opening-hours__item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  position: relative;
}

.opening-hours__item::after {
  content: "";
  position: absolute;
  bottom: 7px;
  left: 0;
  width: 100%;
  height: 1px;
  border-bottom: 1px dotted white;
}

.opening-hours__day,
.opening-hours__hours {
  background-color: var(--brand-main);
  display: inline-block;  
  position: relative;
  z-index: 1;
}

.opening-hours__day {
  padding-right: 8px;
}

.opening-hours__hours {
  padding-left: 8px;
}

.section-about-lower__col--hours {
  margin-bottom: 2rem;
}

.section-contact__col--form h2 {
  margin-bottom: 2rem !important;
}

.social-icons {
  padding: 16px 0 0 0 !important;
  margin: 0 !important;
  list-style-type: none !important;
  display: flex;
  gap: 16px;
}

.social-icons__link {
  font-size: 32px;
  color: var(--brand-main) !important;
}

.site-footer .social-icons__link {
  color: white !important;
}

@media (min-width: 1024px){
  .section-contact__row,
  .section-about-lower__row {
    display: flex;
    justify-content: space-between;
  }

  .section-contact__col--form {
    flex-basis: 60%;
  }

  .section-contact__col--text {
    flex-basis: 35%;
  }

  .section-about-lower__col {
    flex-basis: 40%;
  }
}


/*====================
Contact Page 2
====================*/

.contact_box_wrapper {
  background-color: var(--brand-main);
  padding: 30px;
  border-radius: 10px;
  color: #fff;  
  text-align: center;
  margin: 15px 0;
  box-shadow: 5px 5px 10px 2px rgba(0, 0, 0, 0.2);
}

.contact_box_wrapper h2{
  font-size: 60px;
  margin: 0;
}

.contact_box_wrapper a{
  color: #fff;  
  text-decoration: none;
}

.contact_box_wrapper a:hover{
  color: var(--brand-secondary);  
  text-decoration: none;
}

.frm_button_submit{
  float: right;
}

.contact_form{
  background-color: var(--brand-main);
}

.contact_form h2{
  color: #fff;
}




/* ============================================================ */
/* Custom code starts below...
/* ============================================================ */

/* ==================== */
/* Body Styles
/* ==================== */


body.page-template-template-learning-dashboard {
  background-color: #F5F5F5;
}


/* ==================== */
/* Text / Title
/* ==================== */

.app-title {
  color: black !important;
}


/* ==================== */
/* Application Wrapper
/* ==================== */

.application-wrapper {
  padding: 1rem;
  /* max-width: 1440px; */
}

@media (min-width: 1024px){
  .application-wrapper {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 2rem;
  }
}

@media (min-width: 1280px){
  .application-wrapper {
    padding: 2rem;
  }
}


/* ==================== */
/* Mobile Top Bar
/* ==================== */

.mobile-topbar {
  /* width: 90%; */
  margin-left: auto;
  margin-right: auto;
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
}

.mobile-topbar__welcome {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.app-burger-wrap__icon {
  line-height: 1;
  color: black !important;
  font-size: 2rem;
}

.app-welcome__text {
  margin: 0 !important;
  padding: 0 !important;
  font-weight: 600;
}



/* ==================== */
/* Sidebar
/* ==================== */

.app-sidebar {
  padding: 1rem;
  position: fixed;
  top: 0;
  /* left: 0; */
  left: -350px; 
  width: 350px;
  height: 100%;
  background-color: white;
  transition: 0.3s;
}

body.admin-bar .app-sidebar {
  top: 46px;
}

.app-sidebar--open {
  box-shadow: 0 21px 27px rgb(0 0 0 / 90%);
  left: 0;
}

.app-sidebar__header {
  text-align: center;
  margin-bottom: 2rem;
}

.app-sidebar__school-name {
  font-size: 12px;
  display: block;
}

.app-sidebar__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
}

.app-sidebar__close-icon {
  font-size: 2rem;
  color: black;
}

.app-sidebar__title {
  padding: 0;
  margin: 0 0 0.5rem 0;  
}

@media (min-width: 1024px){

  .mobile-topbar {
    display: none !important;
  }

  .app-sidebar {
    left: 0 !important;
    width: 100%;
    position: relative;
    border-radius: 1rem;
    box-shadow: 0 0 6px rgba(0,0,0,0.2);
  }

  body.admin-bar .app-sidebar {
    top: 0;
  }

  .app-sidebar__title {
    font-size: 1.25rem;
  }

  .app-sidebar__school-name {
    font-size: 14px;
  }

  .app-sidebar__btn {
    padding: 0.25rem 1rem
  }

  .app-sidebar__close {
    display: none !important;
  }
}


/* ==================== */
/* Nav
/* ==================== */

.member-nav {
  padding: 0 !important;
  margin: 0 !important;
  list-style-type: none !important;
}

.member-nav__link {
  color: black !important;
  text-decoration: none !important;
  font-weight: 600;
  display: block;  
  position: relative;
  padding: 0.5rem 1rem 0.5rem 2rem;
}

.member-nav__link::before {
  content: "\f51c";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
}

.member-nav__link--home::before {
  content: "\f015";
}

.member-nav__link--teach-mgmnt::before {
  content: "\f51c";
}

.member-nav__link--class-mgmnt::before {
  content: "\e594";
}

.member-nav__link--schedule-mgmnt::before {
  content: "\f073";
}

.member-nav__link--pupil-mgmnt::before {
  content: "\f501";
}

.member-nav__link--sub-mgmnt::before {
  content: "\f4fe";
}

.member-nav__link--exit::before {
  content: "\f2f5";
}

.member-nav__link--score-history::before {
  content: "\f201";
}

.member-nav__link--take-qiuz::before {
  content: "\f144";
}

.member-nav__link--pupil-scores::before {
  content: "\f0c0";
}

@media (min-width: 1024px){
  .member-nav__link {
    font-size: 14px;
  }
}


/* ==================== */
/* Main Dashboard
/* ==================== */

.app-main {
  /* margin-top: 1rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem; */
  padding: 1rem;
  background-color: white;
  border-radius: 1rem;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.2);  
  text-decoration: none;
  color: inherit !important;
}

.app-main__title {
  margin: 0 0 1rem 0 !important;
  padding: 0 !important;
  font-size: 18px;
}

.app-main__info {
  background: #e2e2e2;
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: 8px;
}

.app-main__info p:last-of-type {
  margin-bottom: 0;
}

@media (min-width: 768px){
  .app-main {
    padding: 1.5rem;
  }

  .app-main__title {
    font-size: 24px;
  }
}

@media (min-width: 1024px){
  .app-main {
    margin-top: 0;
  }

  .app-main__title {
    margin-bottom: 0.5rem;
  }

  .app-main__info {
    margin-top: 2rem;
    margin-bottom: 2rem;
  }
}

@media (min-width: 1280px){
  .app-main {
    gap: 2rem;
  }
}


/* ==================== */
/* Modules
/* ==================== */

.app-utilities {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.app-quick-action {
  background-color: var(--brand-main);
  display: flex;
  flex-direction: row;
  padding: 1rem;
  border-radius: 8px;
  color: black !important;
  text-decoration: none;  
  transition: 0.2s;
}

.app-quick-action--outline {
  background-color: transparent;
  border: 2px solid var(--brand-main);
}

.app-quick-action:hover {
  /* background-color: var(--brand-main-hover); */
  transform: scale(1.02);
}

.app-quick-action span {
  font-weight: bold;
  display: inline-block;
  margin-left: 0.5rem;
}

/* .app-quick-action--outline * {
  color: var(--brand-main);
} */

@media (min-width: 768px){
  .app-utilities {
    display: grid;
  }

  .app-utilities--grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .app-utilities--grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }

  .app-quick-action {
    flex-direction: column;
    align-items: center;
    padding: 2rem 1rem;
  }

  .app-module__icon-wrap {
    margin-bottom: 1rem;
  }

  .app-quick-action i {
    font-size: 32px;
  }
}


/* ==================== */
/* Widget Area
/* ==================== */

.app-widget-area {
  margin-top: 1rem;
}

.dashboard-widget__title {
  font-size: 18px;
  margin-top: 0;
}

@media (min-width:1280px){
  .app-widget-area {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr 1fr;
  }
}


/* ==================== */
/* Quiz Score Widget
/* ==================== */

.quiz-details__title {
  margin-top: 0;
  margin-bottom: 0;
  font-size: 1rem;
}

.quiz-details__item {
  margin-top: 0;
  margin-bottom: 0;
}

.quiz-details__item:last-of-type {
  margin-bottom: 1rem;
}

@media (min-width:768px ){
  .quiz-details {
    display: grid;
  }

  .quiz-details__title {
    grid-column: span 2;
  }
}


/* ==================== */
/* Schedule History
/* ==================== */

h2.dashboard-widget__term-title {
  border-bottom: 1px solid #ddd;
  margin-bottom: 1.5rem !important;
  padding-bottom: 0.5rem;
  font-size: 18px !important;
}

.current-week-topics__title {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.current-week-topics {
  list-style-type: none;
  padding: 0;
  margin: 1rem 0;
}

.current-week-topics li {
  margin-bottom: 1rem;
  background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 12px;
    padding: 12px;

}

.current-week-topics h3 {
  margin-bottom: 10px;
}

@media (min-width:768px ){
  .current-week-topics {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width:1280px){
  .current-week-topics {
    grid-template-columns: 1fr;
  }

  .current-week-topics li {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0;
  }

  .current-week-topics__title {
    margin-bottom: 0;
  }
}


/* ==================== */
/* Quiz Topic Select
/* ==================== */

.quiz-select-wrap {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  margin-bottom: 12px;
  padding: 12px;
}

.quiz-selection__title {
  font-size: 1rem;
  margin-top: 0;
  margin-bottom: 0;
}

@media (min-width:1280px) {
  .quiz-select-wrap {
    padding: 2rem;
  }
}


/* ==================== */
/* Form styles
/* ==================== */

/* Error Message Styling */
.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
  padding: 15px;
  border-radius: 5px;
  margin-bottom: 20px;
  align-self: baseline;
}

/* Success Message Styling */
.updated {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
  padding: 15px;
  border-radius: 5px;
  margin-bottom: 20px;
  align-self: baseline;
}

.updated {
  display: block !important; /* Fixes a rendering bug */
}

.error p,
.updated p {
  margin: 0 !important;
}

.rks2-form__label {
  display: block;
}

.rks2-form__group input[type='text'],
.rks2-form__group input[type='email'],
.rks2-form__group input[type='password'] {
  width: 100%;  
}

.rks2-form__btn-wrap {
  display: flex !important;
  justify-content: flex-end !important;
  margin-top: 2rem;
}

@media (min-width: 768px){
  .rks2-form__group {
    display: grid;
    grid-template-columns: 1fr 3fr;
  }
}

@media (min-width: 1280px){
  .rks2-form__group {
    display: grid;
    grid-template-columns: 1fr 4fr;
  }
}


/* ==================== */
/* Management Styles
/* ==================== */

.rks2-member-list {
  margin-bottom: 2rem;
}

.rks2-member-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.rks2-member-list__item {
  background-color: #f7f7f7;
  border: 1px solid #e2e2e2;
  padding: 15px;
  border-radius: 6px;
  margin-bottom: 10px;
  display: grid; /* Single column by default */
  grid-template-columns: 1fr 2fr;
}

.rks2-member-list__item--terms,
.rks2-member-list__item--classroom {
  grid-template-columns: 1fr 1fr;
}

.rks2-member-list__name--terms,
.rks2-member-list__name--classroom,
.rks2-member-list__details--classroom {
  grid-column: span 2;
  font-weight: bold;
}

.rks2-member-list__name--terms {
  grid-column: span 1;
}

/* Name and details in one column by default */
.rks2-member-list__name,
.rks2-member-list__email,
.rks2-member-list__details,
.rks2-member-list__cta {
  display: block;
  /* margin: 0.5rem 0; */
}

/* Specific Styles for Classroom Management */
.rks2-member-list__details {
  display: flex;
  flex-direction: column;
  margin-top: 5px;
}

.rks2-member-list__details span {
  margin-right: 15px;
}

/* Specific Styles for Teacher Management */
.rks2-member-list__email {
  margin-left: 5px;
  font-style: italic;
}

.rks2-member-list__cta--delete-user,
.rks2-member-list__cta--delete-classroom,
.rks2-member-list__cta--delete-schedule {
  color: var(--brand-red) !important;
}

/* Flexbox layout for wider screens */
@media (min-width: 768px) {
  .rks2-member-list__item {
    /* display: flex;
    justify-content: space-between;
    align-items: center; */
    display: grid;
    grid-template-columns: repeat(4, 1fr);
  }

  /* .rks2-member-list__item--terms {
    grid-template-columns: repeat(5, 1fr);
  } */

  .rks2-member-list__name--classroom,
  .rks2-member-list__details--classroom {
    grid-column: span 1;
  }

  .rks2-member-list__name,
  .rks2-member-list__email,
  .rks2-member-list__details,
  .rks2-member-list__cta {
    display: inline-block;
    margin: 0; /* Reset margin for flex layout */
  }

  .rks2-member-list__cta {
    margin-left: 15px;
  }
}


/* ==================== */
/* Help Instructions
/* ==================== */

.app-module__instructions {
  background-color: #f0f8ff;
  padding: 15px;
  margin-bottom: 20px;
  border-radius: 5px;
  border: 1px solid #cce7ff;
  cursor: pointer;
}

.instructions-toggle {
  margin-top: 0;
  font-size: 1rem;
  color: #2c3e50;
  margin-bottom: 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.instructions-toggle i {
  margin-left: 5px;
}

.instructions-caret {
  font-size: 1em;
  transition: transform 0.3s ease;
}

.instructions-content {
  display: none;
  padding-top: 10px;
  padding-left: 20px;
}

.instructions-content ol {
  padding-left: 20px;
  margin-top: 10px;
}

.instructions-content ol li {
  margin-bottom: 8px;
}

.instructions-content p {
  margin-top: 15px;
}


/* ==================== */
/* Teacher Management
/* ==================== */

.teacher-edit-wrap {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

.teacher-edit-wrap__col {
  border: 1px solid #ccc;
  padding: 1rem;
}

.current-item-list {
  list-style-type: none !important;
  padding: 0.5rem !important;
  margin: 0 0 1rem 0 !important;
  border: 1px solid #ccc;
  background-color: #f1f1f1;  
}

.remove-item-link {
  color: var(--brand-red) !important;
}

.dropdown-select {
  font-size: 13px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500 !important;
  color: #444;
  line-height: 1.3;
  padding: .6em 1.4em .5em .8em;
  width: 100%;
  /* width: 220px; */
  /* max-width: 220px; */
  box-sizing: border-box;
  margin: 0 0 1rem 0;
  border: 1px solid #aaa;
  box-shadow: 0 1px 0 1px rgba(0, 0, 0, 0.04);
  border-radius: .5em;
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  background-color: #fff;
  background-image: url(data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%235DD39E%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E), linear-gradient(to bottom, #ffffff 0%, #e5e5e5 100%);
  background-repeat: no-repeat, repeat;
  background-position: right .7em top 50%, 0 0;
  background-size: .65em auto, 100%;
}

@media (min-width: 1024px){
  .teacher-edit-wrap {
    grid-template-columns: 1fr 1fr;
  }
}


/* ==================== */
/* Schedule Management
/* ==================== */

.schedule-week {
  margin-bottom: 2rem;
}

.span-label-info {
  font-size: 14px;
  font-style: italic;
  display: block;
  margin-bottom: 4px;
}

.schedule-week__week-title {
  padding: 0.5rem 1rem;
  border: 1px solid #cfcfcf;
  background-color: #5dd39e;
  color: white;
  border-radius: 8px;
}

.schedule-plan-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.schedule-block {
  flex: 1 1 100%;
  display: flex;
  flex-direction: column;
  max-width: 100%;
}

.schedule-block label {
  margin-bottom: 5px;
  font-weight: bold;
}

.schedule-block select {
  width: 100%;
}

@media (min-width: 1024px) {
  .schedule-block {
      flex: 1 1 calc(25% - 20px); /* Adjust to get 4 blocks per row */
  }
  .schedule-block--date-picker { 
    flex: 100%;
  }
}


/* ==================== */
/* Quiz Management
/* ==================== */

/* Style the current question number display */
#question-number {
  font-size: 18px;
  margin-bottom: 20px;
  font-weight: bold;
  color: #333;
}

/* Style the list of options */
.quiz-options {
  list-style-type: none;
  padding: 0;
  margin: 20px 0;
}

.quiz-options li {
  margin-bottom: 10px;
}

/* Style the buttons for answer options */
.quiz-option {
  display: inline-block;
  width: 100%;
  padding: 12px;
  background-color: #f5f5f5;
  border: 2px solid #ccc;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
  text-align: left;
  transition: background-color 0.2s, border-color 0.2s;
}

/* Hover effect for options */
.quiz-option:hover {
  background-color: #e0e0e0;
  border-color: #999;
}

/* Correct answer style */
.quiz-option.correct {
  background-color: #28a745; /* Green background for correct answers */
  border-color: #1e7e34;
  color: white;
  cursor: default;
}

/* Incorrect answer style */
.quiz-option.incorrect {
  background-color: #dc3545; /* Red background for incorrect answers */
  border-color: #c82333;
  color: white;
  cursor: default;
}

/* Disabled button style (after a question is answered) */
.quiz-option:disabled {
  /* background-color: #dcdcdc;
  color: #777; */
  cursor: not-allowed; 
}

/* Highlight correct answer in orange after two incorrect attempts */
.quiz-option.show-correct {
  background-color: orange !important;
  border-color: #e67e22 !important;
  color: white !important;
}

/* Style for the "Next Question" button */
/* #next-question {
  display: inline-block;
  padding: 10px 20px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.2s;
}

#next-question:hover {
  background-color: #0056b3;
} */

/* End of quiz message styling */
#quiz-end {
  font-size: 20px;
  font-weight: bold;
  color: #333;
  text-align: center;
  margin-top: 30px;
}

/* For images inside questions */
.quiz-image {
  margin-bottom: 20px;
  text-align: center;
}

.quiz-image img {
  width: 700px;
  max-width: 100%;
  height: auto;
  border-radius: 5px;
}

.quiz-button {
  background-color: #4CAF50; /* Green */
  border: none;
  color: white;
  padding: 10px 20px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 10px 5px;
  cursor: pointer;
  border-radius: 5px;
}

.quiz-button:hover {
  background-color: #45a049;
}



/* ==================== */
/* Quiz History
/* ==================== */
/* Mobile-first styling with card layout */
.quiz-history__results {
  display: block;
  margin: 0 auto;
  padding: 15px;
}

/* Mobile card styles */
.quiz-history__card {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 15px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

/* Headers for Subject, Level, Topic - Mobile */
.quiz-history__subject {
  background-color: #f5f7fa;
  border-radius: 5px;
  padding: 10px;
  font-size: 1.25em;
  margin-bottom: 10px;
  font-weight: bold;
  color: #333;
  text-align: center;
}

.quiz-history__level {
  font-size: 1.15em;
  padding: 8px;
  margin-bottom: 10px;
  background-color: #f0f0f0;
  border-radius: 5px;
  color: #666;
  text-align: center;
}

.quiz-history__topic {
  font-size: 1.1em;
  padding: 8px;
  background-color: #e9f0f5;
  border-radius: 5px;
  margin-bottom: 8px;
  color: #444;
  text-align: center;
}

/* Mobile table styles for quiz results */
.quiz-history__results table {
  width: 100%;
  border-collapse: collapse;
}

.quiz-history__results th, .quiz-history__results td {
  padding: 8px;
  border-bottom: 1px solid #ddd;
  font-size: 0.9em; /* Adjust for mobile readability */
}

.quiz-history__results th {
  background-color: #f0f0f0;
  font-weight: bold;
  text-align: left;
  color: #555;
}

.quiz-history__results td {
  text-align: left;
}

/* Zebra stripes for mobile readability */
.quiz-history__results tr:nth-child(even) {
  background-color: #f5f7fa;
}

/* Add padding to the last row for spacing */
.quiz-history__results tr:last-child {
  padding-bottom: 15px;
}


/* ============================ */
/* Larger screens (above 768px) */
/* ============================ */

@media (min-width: 768px) {
  .quiz-history__results {
      display: flex;
      flex-wrap: wrap;
      gap: 20px; /* Spacing between cards */
  }

  .quiz-history__card {
      flex: 1 1 calc(50% - 20px); /* Two cards per row */
      background-color: #fff;
      border: 1px solid #ddd;
      border-radius: 8px;
      padding: 20px;
      box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
      margin-bottom: 20px;
  }

  /* Headers for Subject, Level, Topic */
  .quiz-history__subject {
      background-color: #f5f7fa;
      border-radius: 5px;
      padding: 10px;
      font-size: 1.5em;
      margin-bottom: 15px;
      text-transform: uppercase;
      font-weight: bold;
      color: #333;
      text-align: center;
  }

  .quiz-history__level {
      font-size: 1.25em;
      padding: 10px;
      margin-bottom: 10px;
      background-color: #f0f0f0;
      border-radius: 5px;
      color: #666;
  }

  .quiz-history__topic {
      font-size: 1.15em;
      padding: 8px;
      background-color: #e9f0f5;
      border-radius: 5px;
      margin-bottom: 10px;
      color: #444;
  }

  /* Table within each card */
  .quiz-history__results table {
      width: 100%;
      border-collapse: collapse;
  }

  .quiz-history__results th, .quiz-history__results td {
      padding: 10px;
      border-bottom: 1px solid #ddd;
  }

  .quiz-history__results th {
      background-color: #f0f0f0;
      font-weight: bold;
      text-align: left;
  }

  .quiz-history__results td {
      text-align: left;
  }

  /* Hover effect on table rows */
  .quiz-history__results tr:hover {
      background-color: #f9f9f9;
  }

  /* Zebra stripes for better readability */
  .quiz-history__results tr:nth-child(even) {
      background-color: #f5f7fa;
  }
}


/* ========================== */
/* Dashboard widget container */
/* ========================== */

.dashboard-widget {
  background: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 20px;
}

/* Widget title */
.dashboard-widget h2 {
  font-size: 1.6rem;
  color: #333;
  margin-bottom: 12px;
}

/* List of quiz results */
.recent-quiz-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Individual quiz result item */

.recent-quiz-item {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  margin-bottom: 12px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: background 0.3s ease;
}

.recent-quiz-item:hover {
  background: #f2f2f2;
}




/* ========================================= */
/* Katie Added for Homepage - 19.09.24 */
/* ========================================= */

/* ========================================= */
/* Homepage Banner */
/* ========================================= */

.banner-button {
  display: inline-block;
  background-color: var(--brand-main);
  color: white !important;
  padding: 8px 32px;
  border-radius: 50px;
  text-transform: uppercase;
  text-decoration: none !important;
  border: 0 !important;
  cursor: pointer;
}

.banner-button:hover {
  background-color: var(--brand-main-hover);
}


/* ========================================= */
/* Homepage Selling Points */
/* ========================================= */

.selling-points {
  background-color: var(--brand-navy);
  padding: 1rem;
}

.selling-point-repeater {
  display: flex;
  width: 100%;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-around;
}

.selling-point-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.selling-point-text p {
  color: white;
  margin-bottom: 0;
}


/* ========================================= */
/* Homepage General Information */
/* ========================================= */

.general-information {
  background-color: #ff0066;
  padding: 2rem;
}

.general-info-title {
  text-align: left;
  margin: 0;
  padding-bottom: 2rem;
}

.general-info-repeater {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.general-info-item {
  background-color: #f1f1f1;
  border-radius: 10px;
  flex-grow: 1;
  margin: 15px .75%;
  box-shadow: 2px 4px 12px #00000014;
}

.general-info-item {
  margin-bottom: 0;
  padding: 1rem;
}

.general-info-text {
  margin: 0;
  font-weight: bold;
  text-align: center;
}

.general-info-text p {
  margin-bottom: 0;
}

.general-info-text i {
  color: var(--brand-navy);
  font-size: 40px;
  padding: 20px;
}

/* ========================================= */
/* Ryan Added css for Homepage */
/* ========================================= */

.bg-off-white {
  background-color: var(--off-white);
}

.bg-hard-gradient{
  background: linear-gradient(to bottom, var(--brand-main) 0%, var(--brand-main) 20%, #f1f1f1 20%)!important;
}

.bg-hard-gradient-invert {
  background: linear-gradient(to bottom, var(--brand-navy) 0%, var(--brand-navy) 20%, #f1f1f1 20%)!important;
}

.bg-img {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 600px;
}

@media (min-width: 1024px){
  .bg-hard-gradient{
    background: linear-gradient(90deg, var(--brand-main) 0%, var(--brand-main) 40%, #f1f1f1 40%)!important;
  }
  .bg-hard-gradient-invert{
    background: linear-gradient(270deg, var(--brand-navy) 0%, var(--brand-navy) 40%, #f1f1f1 40%)!important;
  }
}

.section-title {
  margin-top: 0;
  text-align: center;
}

/* ==================== */
/* Home About
/* ==================== */

.home_about_text{
  padding: 50px 0;
}

.two_btns {
  margin: 5px 0;
}


/* ======================================== */
/* Styles for the Pupil Scores Page - Mobile First
/* ======================================== */

/* Pupil group title styling */
.pupil-group__title {
  font-weight: bold;
  margin-bottom: 15px;
}

/* Pupil list container */
.pupil-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Each pupil list item */
.pupil-list__item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background-color: #fff;
  border: 1px solid #ddd;
  padding: 10px;
  border-radius: 8px;
  margin-bottom: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Pupil name styling */
.pupil-list__name {
  font-size: 1rem;
  color: #333;
}

/* Classroom name styling */
.pupil-list__classroom {
  font-size: 0.9rem;
  color: #888;
  margin-bottom: 10px;
}

/* Tablet and larger screens */
@media (min-width: 768px) {
  .pupil-list__item {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
  }

  .pupil-list__name {
    margin-right: 15px;
  }

  .pupil-list__classroom {
    font-size: 1rem;
    margin-bottom: 0;
  }

  .pupil-list__item .site-btn {
    font-size: 1rem;
    width: auto;
    padding: 10px 20px;
  }
}

/* Larger screens (desktops) */
@media (min-width: 1024px) {
  .pupil-list__item {
      padding: 0.15rem 1rem !important;
  }
}


/* ========================================= */
/* Registration options
/* ========================================= */

.reg-option-select {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.reg-option-select__opt {
  border: 2px solid var(--brand-main);
  padding: 1rem;
  border-radius: 2rem;
}

.reg-option-select__img-wrap {
  display: flex;
  justify-content: center;
}

.reg-option-select__img {
  max-width: 80px;
  display: block;
}

.reg-option-select__title {
  margin: 0 !important;
  padding: 0 !important;
  font-size: 22px;
  text-align: center;
  color: var(--brand-main);
}

.reg-option-select__text {
  text-align: center;
  margin-bottom: 1rem;
}

.reg-option-select__text p:last-of-type {
  margin-bottom: 0 !important;
}

.reg-option-select__btn-wrap {
  display: flex;
  justify-content: center;
}

@media (min-width: 768px){
  .reg-option-select {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

@media (min-width: 1280px){
  .reg-option-select {
    margin-top: 2rem;
    margin-bottom: 2rem;;
    gap: 3rem;
  }

  .reg-option-select__opt {
    padding: 2rem;
    display: flex;
    flex-direction: column;
  }

  .reg-option-select__text {
    margin-top: 0.5rem;
  }

  .reg-option-select__btn-wrap {
    margin-top: auto;
  }
}

