.inner-logo-container:before {
  content: '';
  background: white;
  width: 100%;
}

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

.Theme-RelatedStoriesSection .Theme-RelatedStories:not(:empty) {
  padding: 0px 40px 0px 40px !important;
}

.custom-min-nav-container .Theme-RelatedStories--Title .related-story-card .related-story-image img {
  object-fit: cover !important;
}

.custom-min-nav-container .crop-uncropped.crop-uncropped img {
  width: 100% !important;
  height: 100% !important;
  max-width: auto !important;
}

@media only screen and (max-width: 740px) {
#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: 35px;
  font-size: 17px;
  font-family: "Helvetica Neue Cond", sans-serif !important;
  color: #000;
}

@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: #4A270E;
        position: relative;
      bottom: 20px;
     border-left: 0.5px solid #4A270E;
    border-right: 0.5px solid #4A270E;
    }

    .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: #4A270E !important;
}

.splide__pagination__page {
  margin: 3px 9px !important;
  padding: 4px !important;
  background: #4A270E !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;
  max-height: 288px;
}

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

.custom-min-nav-container {
  background: #4A270E;
}

.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: #4A270E;
  position: relative;
  border-left: 0.5px solid #4A270E;
  border-right: 0.5px solid #4A270E;
  bottom: 20px;
}

.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;
}

.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: #4A270E;
  height: 344px;
  width: 339px;
  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 #000;
}

@media only screen and (min-width: 400px) {
  .custom-min-nav-container {
    width: 380px;
  }
}

.nav_container {
  position: fixed;
  bottom: 7px;
  width: 100%;
  display: flex;
  justify-content: center;
  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: opacity 1s;
  overflow: hidden;
  border-radius: 5px;
  justify-content: center;
  align-items: center;
  width: 142px;
  color: #4A270E;
  text-decoration: none;
  background: #4A270E;
}

.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;
}

.button {
  cursor: pointer;
  pointer-events: none;
  font-family: "Helvetica Neue Cond", 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 #000;
  color: black;
  background-color: #fff;
}

.edition-logo {
  height: 94%;
  display: none;
}

.button_container.contents {
  background: #4A270E;
  color: #000;
  border: 1px solid #000;
  cursor: pointer;
  width: 105px;
  height: 126px;
  padding-bottom: 14px;
}

/* new from claude */
.button_container.contents .contents-label {
  color: #000;
}
/* end new from claude */

.button_container.next {
  margin-left: 20px;
  border: 1px solid #000;
  color: black;
  background-color: #fff;
}

.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;
}

.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 {
    height: 30px;
    display: flex;
    justify-content: flex-end;
}

.edition-logo-inner {
  height: 30px;
  background: white;
}

.linkAnchor {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  display: block;
  margin: 0 2px 20px;
  border-radius: 8px;
}

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

.linkAnchor.current-link {
  background-color: #d0d0d0;
  color: #555;
  font-weight: bold;
  border-left: 4px solid #666;
}

.linkAnchor.current-link .linkText,
.linkAnchor.current-link .pageNumber {
  color: #555;
}

.linkAnchor.current-link:hover {
  background-color: #c8c8c8;
}

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

.linkContainer {
  background-color: #f0f0f0;
  border-radius: 10px;
  padding: 10px;
  transition: background-color 0.3s ease-in-out;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.linkText {
  font-size: 1.2em;
  color: black;
  margin-bottom: 5px;
}

.pageNumber {
  font-size: 0.8em;
  color: grey;
}

.linkContainer:hover {
  background-color: #e8e8e8;
}

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

@media (max-width: 600px) {
  .linkAnchor {
    border-radius: 8px;
  }

  .linkContainer {
    padding: 8px;
    border-radius: 8px;
  }

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