@charset "utf-8";
/* CSS Document 
   Please check that changes you are making are not breaking the layout and functionality of the website
*/ 

html, body {
    overflow-x: hidden;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    max-width: 100%!important;
  }
  
  *,
  *::before,
  *::after {
    box-sizing: inherit;
  }
  
  img, video {
    max-width: 100%;
    height: auto;
    display: block;
  }
.sw-h1 {
    font-size: 36px;
    text-transform: capitalize;
}
.white { 
    color: #fff;
}
.section-white-heading {
    padding: 20px 0;
}
.bar_section .section_title_bar .section_container {
    padding: 20px 0!important;
}
#main_top_container {
    width: 100%;
    max-width: 100vw;
    /** overflow-x: hidden; **/
  }
  .wrapper {
    min-width: 100%;
    width: 100%;
}
#combined {
    width: 100%!important;
    box-sizing: border-box;
}
.grade-preview-section {
    padding: 40px 20px;
    text-align: center;
    font-family: 'Open Sans', sans-serif;
    background-image: url(/img/dots.png);
    background-repeat: repeat-x repeat-y;
    background-size: auto;
    background-position: center;
    min-height: 450px;
    background-color: #0b1c36;
    overflow-x: hidden;
  }
  
  .section-heading {
    font-size: 28px;
    margin-bottom: 30px;
    font-weight: 600;
  }
  
  .grade-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    max-width: 1120px; /* ~3 cards wide with gap */
    margin: 0 auto;    /* center the container */
    padding: 0 10px;

  }
  
  .grade-card {
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    width: 100%;
  max-width: 300px;
  flex: 1 1 calc(33.333% - 20px);
  padding: 20px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    text-align: left;
    transition: box-shadow 0.3s;
    box-sizing: border-box;
  }

  @media (max-width: 960px) {
    .grade-card {
      flex: 1 1 calc(50% - 20px);
    }
  }
  
  @media (max-width: 600px) {
    .grade-card {
      flex: 1 1 100%;
    }
  }
  
  
  .grade-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }
  
  .grade-card h3 {
    font-size: 20px;
    color: #003366;
    margin-bottom: 5px;
  }
  
  .grade-subtitle {
    font-size: 14px;
    margin-bottom: 15px;
    color: #333;
  }
  
  .unit-list {
    list-style: disc;
    margin: 0 0 15px 20px;
    padding: 0;
    font-size: 14px;
    color: #555;
  }
  
  .grade-icons {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #666;
    margin-top: 10px;
  }
  
  .see-more-wrapper {
    margin-top: 30px;
  }
  
  .see-more-button {
    background: #f26522;
    color: #fff;
    text-decoration: none;
    padding: 12px 24px;
    font-weight: bold;
    border-radius: 5px;
    transition: background 0.3s;
  }
  
  .see-more-button:hover {
    background: #d35400;
  }

  .sw-text p {
    font-size: 16px;
  }
  /*Footer CSS */
  .footer-flex {
    display: flex!important;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 40px 20px;
    background-color: #333333;
    /* border-top: 1px solid #ddd; */
    gap: 20px;
  }
  
  .footer-col {
    flex: 1 1 200px;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  
  .footer-contact {
    font-size: 16px;
    line-height: 1.6;
    color: #f7f7f7;
  }
  #main_footer p {
    font-size: 14px!important;
    line-height: 1.6;
    color: #CBCBCB;
  }

  .footer-contact a {
    color: #CBCBCB;
    font-size: 14px;
    text-decoration: none;
	text-align:left;
  }
  .footer-heading {
    font-size: 17px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #572d77;
    color: #f7f7f7;
  }
  
  .footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 16px;
    color: #f7f7f7;
  }
  
  .footer-links li {
    margin-bottom: 8px;
  }
  
  .footer-links a {
    text-decoration: none;
    font-size: 14px;
    color: #f7f7f7;
  }
  
  .footer-links a:hover {
    text-decoration: underline;
    color: #572d77;
  }
  
  .footer-copy {
    text-align: center;
    font-size: 13px;
    color: #666;
  }
  
  
  /* Logo above contact */
  .footer-logo {
	text-align: center;
    margin-bottom: 10px;
  }
  
  #scrolled_logo {
    background-size: contain;
    background-repeat: no-repeat;
    cursor: pointer;
  }

  .sw-centered {
    text-align: center;
    justify-content: center;
  }

  #col-2, #col-3 {
    padding: 40px;
  }

  
  /* --- Copyright section --- */
  .footer-separator {
    border: none;
    border-top: 1px solid #ccc;
    margin: 20px auto;
    width: 100%;
  }
  
  .footer-copy-container {
    text-align: center;
    display: flex;
    justify-content: center;
  }
  
  .footer-copy {
    font-size: 13px;
    color: #ccc;
    margin: 0;
  }
  
  
  .footer-copy-container {
    text-align: center;
    padding: 10px 20px;
  }
  
  .footer-copy {
    font-size: 13px;
    color: #ccc;
    margin: 0;
  }

  .footer-links a:hover {
    color: #707070;
  }
  .footer contact {
    color: #CBCBCB;
  }
 .footer-copy a {
    color: #CBCBCB;
  }

  @media screen and (max-width: 732px) {
    .footer-col {
      padding: 0 30px !important;
      justify-content: center;
      align-content: center;
    }
    .footer-flex {
        display: block;
    }
    #col-2, #col-3 {
        display: none;
    }
  }

.contact_info_box a {
color: #7C7C7C;
}

#h1-schools {
  color: white;
  text-align: center;
  padding: 30px 0 0 0;
}

/*----SW HERO BUTTON------*/
.sw-hero-button {
  margin: 0 auto 40px!important;
}
/*----SW MAIN TOP CONTAINER------*/
.sw-main-top-container {
  height: fit-content!important;
}

/*----Popular Searches & Read More------*/
#popular-searches, #hide-links, #read-more {
  display:none;
}
.sw-footer-container {
  display: grid;
  grid-auto-columns: max-content;
  grid-template-columns: repeat(4, 1fr);
}
#footer-trigger {
  text-transform: uppercase;
}
#popular-searches ul {
  list-style: none;
}
#popular-searches a {
  text-decoration: none;
  font-size: 12px;
  color: #f7f7f7;
  text-transform: uppercase;
}
#popular-searches li {
  margin-bottom: 8px;
}
#popular-searches a:hover {
  color: #707070;
  text-decoration: underline;
}
.popular-heading a {
  text-decoration: underline!important;
  font-weight: bold;
}
@media only screen and (max-width: 860px) {
  .sw-footer-container {
    display: block;
  }
}
#show-more, #hide-less {
  color: #565656
}


/*----Main Content Area-----*/

.sw-text h3, .sw-text h2 {
  text-align: center;
  padding: 20px 0;
}

.sw-text ul {
  font-size: 16px;
}
.sw-text a {
  font-size: 16px;
  color: #565656;
  text-transform: capitalize;
}
.sw-text a:hover {
  text-decoration: underline;
}

/*--Home page Read More Content--*/

h2.wwgr_text, h3.wwgr_text {
  text-align: center;
  font-size: 24px;
}
a.wwgr_text {
  color: white!important;
  padding: 0!important;
  margin: 0!important;
}
.wwgr_text a {
  color: white;
}

#wwgr {
  padding: 0 0 70px 0;
}

/*--Hamburger Toggle--*/
#mobile_box {
  display: none;
}
#mobile_box.open {
  display: block;
}

/* Make the whole thing clickable */
#home_logo {
  cursor: pointer;
}

/* Positioning assumes your .main_menu_nav_item are already inline/float/flex in the header */
.main_menu_nav_item { position: relative; }

/* Toggle button (keeps it small & inline with the label) */
.submenu-toggle {
  border: 0;
  background: transparent;
  font: inherit;
  margin-left: .35rem;
  cursor: pointer;
  line-height: 1;
}

/* Dropdown base */
.submenu {
  position: absolute;
  left: 0;
  top: 100%;
  display: none;
  min-width: 220px;
  background: #fff;
  border: 1px solid #e9e9e9;
  box-shadow: 0 6px 18px rgba(0,0,0,.06);
  z-index: 999;          /* ensure it sits above header elements */
  padding: .25rem 0;
  list-style: none;
}

/* Items */
.submenu a {
  display: block;
  padding: .6rem .85rem;
  text-decoration: none;
  white-space: nowrap;
}

/* Hover/focus */
.submenu a:hover,
.submenu a:focus {
  background: #f6f6f6;
}

/* Desktop hover open */
.has-submenu:hover > .submenu {
  display: block;
}

/* Mobile/touch open (when JS adds .open) */
.submenu.open {
  display: block;
}

/* Prevent sticky hover on touch devices */
@media (hover: none) {
  .has-submenu:hover > .submenu { display: none; }
}
/* 1) Make sure the whole header/nav can sit above the hero */
.section_div {               /* your header wrapper in the snippet */
  position: relative;
  z-index: 2000;             /* push the nav above the banner */
}

#header > .section_div { overflow: visible; }

/* 2) Parent for positioning the dropdown */
.main_menu_nav_item {
  position: relative;
}

/* 3) Reset lists & style the dropdown */
.main_menu_nav_item .submenu,
.main_menu_nav_item .submenu li {
  list-style: none;          /* kill the bullets */
  margin: 0;
  padding: 0;
}

.main_menu_nav_item .submenu {
  position: absolute;
  left: 0;
  top: 100%;
  display: none;             /* hidden by default */
  min-width: 220px;
  background: #fff;
  border: 1px solid #e9e9e9;
  box-shadow: 0 8px 22px rgba(0,0,0,.08);
  z-index: 9999;             /* sit above EVERYTHING beneath the header */
}

.main_menu_nav_item .submenu a {
  display: block;
  padding: .6rem .9rem;
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
}
.main_menu_nav_item .submenu a:hover,
.main_menu_nav_item .submenu a:focus {
  background: #f6f6f6;
}


.submenu-toggle {
  color: #fff;
}


/* 1) Clip the big word to the title bar */
.bar_section .section_title_bar {
  position: relative;
  overflow: hidden;     /* <- stops the heading from bleeding into content */
  z-index: 0;
}

/* 2) Keep the giant word behind everything else */
.bar_section .section_title_bar h1,
.bar_section .section_title_bar .section_title {
  position: relative;
  z-index: 0;           /* <- make sure it cannot overlay the content */
  pointer-events: none;
  line-height: 1;
}

/* 3) Raise the real content for the section above the decorative word */
.bar_section .section_container {
  position: relative;
  z-index: 2;           /* <- guarantees content is above the heading */
}

/* Table Styles */
.styled-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 1rem;
  font-family: Arial, sans-serif;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.styled-table th, .styled-table td {
  border: 1px solid #aaa;
  padding: 16px 10px;
  text-align: left;
  vertical-align: top;
  background: #fafafa;
}
.styled-table th {
  background-color: #eaeaea;
  font-weight: bold;
  font-size: 1.08rem;
}
.styled-table tbody tr:nth-child(even) {
  background-color: #f5f5f5;
}

@media screen and (max-width: 720px) {
  #top_text {
      /* margin-top: 40px; <- This has been removed as it breaks the layout, please test before adding these types of changes */
  }
}
@media screen and (max-width: 720px) {
  .top_text_title {
      /* line-height: 40px; <- This has been removed as it breaks the layout, please test before adding these types of changes */
  }
}