@media only screen and (max-width: 599px) {
  .nav_container {
    display: none !important
  }
}

.Theme-NavigationBarItem:nth-of-type(4),
.Project-HeaderContainer {
  display: none !important;
}

.Theme-TitleSection.DisplayContainerHeight--minHeight {
  min-height: 100vh !important;
  min-height: 100svh !important;
}

.student-search-container {
    margin: 20px;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.title {
    margin-bottom: 20px;
    color: #333;
  text-align: center;
    font-family: "Imperial Sans Text", sans-serif !important;
}

.input-text {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 2px solid #ddd;
    border-radius: 5px;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
  font-size: 16px;
    font-family: "Imperial Sans Text", sans-serif !important;
}

@media only screen and (min-width: 600px) {
  .notification-banner-new {
    display: none !important;
  }
}

@media only screen and (max-width: 500px) {
  .DeviceDetect--isiOS .input-text {
   font-size: 16px;   
}
}


.input-text:focus {
    border-color: #007BFF;
    outline: none;
}

.search-button {
    width: 100%;
    padding: 10px;
    border: none;
    background-color: #007BFF;
    color: white;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
  display: block;
    font-family: "Imperial Sans Text", sans-serif !important;
}

.search-button:hover {
    background-color: #0056b3;
}




span[style="background-color: rgba(255, 255, 255, 0.114);"] {
  background-color: #007BFF !important;
}


#resultButton {
  transition: transform 0.5s ease-in-out;
    }
 body:not(.custom-nav-hidden) #resultButton {
  transform: translateY(-85px);
  }


.splide__pagination {
  padding: 0 !important;
}

.Project-FooterContainer ul {
  display: none !important;
}

.tab_container .nav_container {
    transform: translateY(0%) !important;
    transition-delay: 0s !important;
  }
  
  .tab_options .custom-min-nav-container {
    transform: translate(-50%, 0%) !important;
    transition-delay: 0s !important;
  }

  .tab_options .nav_container {
    transform: translateY(150%) !important;
    transition-delay: 0s !important;
  }
  

/* Hide cookie banner */

/* #onetrust-consent-sdk { display: none } */

/* End hide cookie banner */

h1 {
font-weight: 400;
font-style: normal;
}

.contents-label {
  position: absolute;
    bottom: -9px;
    font-size: 15px;
    font-family: "Imperial Sans Text", sans-serif !important;
}



@media only screen and (max-width: 799px) {
    .glider-contain {
        display: none;
    }
}

@media only screen and (min-width: 800px) {
    .splide {
        display: none;
    }

    .custom-min-nav-container .Theme-RelatedStories--Title .related-story-card {
        position: relative;
    }

    .custom-min-nav-container .RelatedStories-container {
        padding: 0 30px !important;
    }

    .custom-min-nav-container .Theme-RelatedStoriesSection {
        min-height: 400px;
        background: #40E0D0;
        position: relative;
      bottom: 20px;
     border-left: 0.5px solid #40E0D0;
    border-right: 0.5px solid #40E0D0;

    }

    .custom-min-nav-container .Theme-RelatedStoriesSection .Theme-Layer-BodyText {
        position: relative;
        top: 8px;
    }

    .Theme-RelatedStoriesSection ul {
        display: flex !important;
        flex-direction: row !important;
    }

    .Theme-RelatedStoriesSection .glider-contain > ul,
.custom-min-nav-container .glider-contain > ul {
        display: flex !important;
        justify-content: unset !important;
        flex-wrap: unset !important;
  }
  
  .custom-min-nav-container {
    max-width: 800px;
    width: 95% !important;
  }
  


.glider-next {
    right: -19px !important;
    top: 50% !important;
    transform: translateY(-88%);
}

  
 .glider-prev {
   left: -19px !important;
    top: 50% !important;
    transform: translateY(-88%);
  }
  
 

.glider-dots {
   position: relative;
    top: 9px;
}




}

@media only screen and (min-width: 832px) {
  
  .glider-dots {
   position: relative;
    top: 0;
}
  .custom-min-nav-container {
    height: 355px !important;
  }
  
  
}




.custom-min-nav-container .splide__pagination {
 padding: 0 !important;
}

@media only screen and (max-width: 619px) {
.custom-min-nav-container .Theme-Layer-BodyText {
  overflow: visible !important;
  }
  
  .custom-min-nav-container .splide__pagination {
    bottom: -1.15em !important;

}


}


.splide__arrows {
  display: none;
}

.splide__pagination__page.is-active {
 background: #40e0d0 !important;
}
.splide__pagination__page {
  margin: 3px 9px !important;
  padding: 4px !important;
  background: #232333 !important;

}


.splide__pagination li {
    width: auto !important;
}

.splide__pagination {
    bottom: -1.35em  !important;
    left: 0 !important;
    padding: 0 1em !important;
    position: absolute !important;
    right: 0 !important;
    z-index: 1 !important;
}

.splide__pagination {
    align-items: center !important;
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    margin: 0 !important;
    pointer-events: none !important;
}


.Theme-RelatedStories--Medium .related-stories-list li:not(:only-child) {

  max-width: unset !important;
  }



.related-stories-list li {
    border: unset !important;
}


.custom-min-nav-container .Theme-RelatedStories--Title .related-story-card {
 position: relative; 
}

.custom-min-nav-container .RelatedStories-container {
   padding: 0 20px !important; 
}

.custom-min-nav-container .Theme-RelatedStoriesSection {
    min-height: 400px;
    background: #fff;
  position: relative;
border-left: 0.5px solid #40E0D0;
    border-right: 0.5px solid #40E0D0;

    bottom: 20px;
}

@media only screen and (min-width: 1100px) {
  /* .custom-min-nav-container .Theme-RelatedStoriesSection {
    width: 100vw;
    width: 100svw;
} */
}

.custom-min-nav-container .Theme-RelatedStoriesSection .Theme-Layer-BodyText {
  position: relative;
    top: 8px;
}


.Theme-RelatedStoriesSection ul {
  display: flex !important;
  flex-direction: row !important;
}

.Theme-RelatedStoriesSection .splide__track > ul,
.custom-min-nav-container .splide__track > ul
{
      display: flex !important;
    justify-content: unset !important;
    flex-wrap: unset !important;
}







/* old css below this line */

#StandardFooter {
  display: none;
}#StandardFooter {
  display: none;
}

/* alex's css 

.Theme-TitleSection {
  min-height: 100vh !important;
  min-height: 100svh !important;
}
*/
.hide {
  opacity: 0 !important;
  cursor: unset !important;
}

.custom-nav-hidden .nav_container {
  transform: translateY(150%);
}

.show-custom-mini-nav .custom-min-nav-container {
  transform: translate(-50%, 0%);
}

.show-custom-mini-nav .nav_container {
  transform: translateY(150%) !important;
}

.show-custom-mini-nav .nav_container {
  transition-delay: 0s;
}

body:not(.custom-nav-hidden).show-custom-mini-nav .custom-min-nav-container {
  transition-delay: 0.5s;
}

body:not(.show-custom-mini-nav, .custom-nav-hidden) .nav_container {
  transition-delay: 0.8s;
}

body:not(.show-custom-mini-nav) .custom-min-nav-container {
  transition-delay: 0s;
}

.scroll-up .nav_container {
  transition-delay: 0s !important;
}

.custom-min-nav-container {
  transform: translate(-50%, 100%);
  background: #232333;
  height: 344px;
  width: 380px;
  border-radius: 3px;
  position: fixed;
  bottom: 0;
  left: 50%;
  transition: transform 0.8s ease-in-out;
  z-index: 100;
  transition-delay: 0.5s;
  border: 1px solid #bfbfbf;
}

.nav_container {
  position: fixed;
  bottom: 7px;
  width: calc(100% - 80px);
  margin: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 10px;
  box-sizing: border-box;
  z-index: 1000;
  color: white;
  height: 97px;
  transition: transform 0.5s ease-in-out;
}

.button_container {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  position: relative;
  opacity: 1;
  transition: background-color 1s ease-in-out;
  overflow: hidden;
  border-radius: 5px;
  justify-content: center;
  align-items: center;
  width: 142px;
  color: white;
  text-decoration: none;
  font-family: "Poppins", sans-serif;
  background-color: #2e003b32;
}

.button_container:focus {
  opacity: 1;
}

@media only screen and (max-width: 500px) {
  .button_container:not(.hide) {
    opacity: 0.9 !important;
  }

  .image_div img {
    height: 110px;
    border-radius: 4px;
    filter: brightness(0.8);
  }
}

.button_container:hover {
  opacity: 1;
  background-color: #2e003b99;
}

.button {
  cursor: pointer;
  pointer-events: none;
  font-family: "Imperial Sans Text", sans-serif !important;
  z-index: 10;
  min-height: 43px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding-top: 4px;
  padding-bottom: 1px;
}

.arrow {
  font-size: 20px;
  pointer-events: none;
  z-index: 10;
  position: relative;
  bottom: 2px;
}

.image_div {
  position: absolute;
  bottom: 0;
  max-height: 100px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 1s;
  max-height: 100%;
  pointer-events: none;
  display: none;
}

.button_container.prev {
  margin-right: 20px;
  border: 1px solid #bfbfbf;
}

.edition-logo {
  position: relative;
    bottom: 4px;
    height: 114%;
}

.button_container.contents {
  background: #232333;
  border: 1px solid #bfbfbf;
  cursor: pointer;
  width: 124px;
  height: 131px;
}

.button_container.next {
  margin-left: 20px;
  border: 1px solid #bfbfbf;
}

.button_container.prev .image_div {
  left: 0;
  width: 100%;
  border: 1px solid;
}

.button_container.next .image_div {
  right: 0;
  width: 100%;
}

.image_div img {
  min-height: 110px;
  width: 100%;
  border-radius: 4px;
  filter: brightness(0.7);
}

.PreviewFooter,
.Theme-OverlayedCaption {
  display: none;
}

.custom-min-nav-container-inner {
  overflow-y: scroll;
  height: 342px;
  margin: 10px;
  margin-right: 5px;
  margin-top: 6px;
}

/* Scrollbar styling for linkContainer */
.custom-min-nav-container-inner::-webkit-scrollbar {
  width: 5px;
}

.custom-min-nav-container-inner::-webkit-scrollbar-track {
  background: transparent;
}

.custom-min-nav-container-inner::-webkit-scrollbar-thumb {
  background: #888888de;
  border-radius: 2.5px;
}

.custom-min-nav-container-inner::-webkit-scrollbar-thumb:hover {
  background: #555;
}

.inner-logo-container {
    padding: 6px 15px 0;
    border-radius: 3px 3px 0 0;
}

.edition-logo-inner {
      height: 22px;
    position: relative;
  bottom: 1px;
}

/* Reset default anchor styling while keeping the cursor pointer */
.linkAnchor {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  display: block;
  margin: 0 2px 20px;
  border-radius: 8px;
}

.linkAnchor:last-of-type {
  margin: 0 2px;
}

/* Styling for linkAnchor with current-link class */
.linkAnchor.current-link {
  background-color: #d0d0d0; /* Different background color */
  color: #555; /* Darker text color for contrast */
  font-weight: bold; /* Make the text bolder */
  border-left: 4px solid #666; /* Add a left border for emphasis */
}

/* Adjusting the linkText and pageNumber inside the current linkAnchor */
.linkAnchor.current-link .linkText,
.linkAnchor.current-link .pageNumber {
  color: #555; /* Change text color to match the linkAnchor */
}

/* Optional: Adjust hover effect for current-link */
.linkAnchor.current-link:hover {
  background-color: #c8c8c8; /* Slightly different hover background */
}

.linkAnchor.current-link .linkContainer {
  border-radius: 0 10px 10px 0;
}

/* Container styling */
.linkContainer {
  background-color: #f0f0f0; /* Default background color */
  border-radius: 10px; /* Rounded corners */
  padding: 10px; /* Internal spacing */
  transition: background-color 0.3s ease-in-out; /* Smooth background color transition on hover */
}

/* Styling for linkText */
.linkText {
  font-size: 1.2em; /* Larger font size */
  color: black; /* Main text color */
  margin-bottom: 5px; /* Space between linkText and pageNumber */
}

/* Styling for pageNumber */
.pageNumber {
  font-size: 0.8em;
  color: grey; /* Subtle color for pageNumber */
}

/* Hover effect on linkContainer */
.linkContainer:hover {
  background-color: #e8e8e8; /* Light color on hover */
}

.linkText,
.pageNumber {
  text-align: center;
}

/* Additional visual enhancements */
@media (max-width: 600px) {
  .linkAnchor {
    border-radius: 8px; /* Slightly smaller border-radius for mobile */
  }

  .linkContainer {
    padding: 8px;
    border-radius: 8px; /* Slightly smaller border-radius for mobile */
  }

  .linkAnchor.current-link .linkContainer {
    border-radius: 0 8px 8px 0;
  }
}

/* Optional: adding a subtle shadow to linkContainer for depth */
.linkContainer {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.custom-min-nav-container .Theme-RelatedStories--Title .related-story-card {
  border: 0.5px solid #40E0D0;
}

.custom-min-nav-container .Theme-RelatedStories--Title .related-story-text {
  z-index: 10;
  opacity: 0.9;
}

.custom-min-nav-container .Theme-RelatedStories--Title .related-story-text:hover {
  opacity: 1;
}
}}

.related-story-image img
}
}
