:root {
    --md-primary-fg-color:        #FDB915;
    --md-primary-fg-color--light: #FDB915;
    --md-primary-fg-color--dark:  #FDB915;
  }

details > summary {
    background-color: transparent;
    color: #000000;
    border: 2px solid #D9E2EC;
    padding: 1em;
    margin: 1em 0;
    border-radius: 0.5em;
    cursor: pointer;
    outline: none;
  }
  
  details > summary::-webkit-details-marker {
    display: none;
  }
  
  details > summary::before {
    content: '>';
    margin-right: 0.5em;
    font-size: 1.25em;
    line-height: 0;
    vertical-align: middle;
    color: #6C757D;
  }
  
  details[open] > summary::before {
    content: '>';
    transform: rotate(90deg);
  }
  
  details > div {
    padding: 1em;
    border: 2px solid #D9E2EC;
    border-top: none;
    margin: 0 1em;
    border-radius: 0 0 0.5em 0.5em;
  }
  
  details {
    background-color: #FFFFFF; /* Change this to your desired background color */
    border: 1px solid #D9E2EC;
    border-radius: 0.5em;
    margin-bottom: 1em; /* This adds space between each details element */
    box-shadow: 0 2px 5px rgba(0,0,0,0.2); /* Optional: adds a slight shadow for depth */
  }

  
  .hover-text:hover + .zoomable-image + .zoomable-image-block {
    filter: brightness(50%);
}

.zoomable-image {
    transition: transform 0.3s ease, filter 0.3s ease;
    cursor: pointer; 
}

.zoomable-image.zoomed {
    transform: scale(1.5); 
    z-index: 1000; 
    position: relative;
}

.zoomable-image-block {
    transition: transform 0.3s ease, filter 0.3s ease;
    cursor: pointer; 
}

.zoomable-image-block.zoomed {
    transform: scale(4); 
    z-index: 1000; 
    position: relative;
}

.md-feedback {
  display: block !important;
}

/* Ensure the sidebar fills the height of the screen but avoids overlapping the footer */
.md-sidebar {
  position: sticky;
  top: 0; /* Stick to the top of the viewport */
  height: calc(100vh - var(--footer-height)); /* Adjust height to avoid the footer */
  overflow-y: auto; /* Enable scrolling if content exceeds height */
  width: inherit; /* Ensure it uses the full width of the sidebar container */
  padding: 0 1rem; /* Add some padding for better usability */
  box-sizing: border-box; /* Include padding and borders in the width/height calculation */
}

/* Define footer height for calculation */
:root {
  --footer-height: 100px; /* Set this to the height of your footer */
}

/* Prevent content from being hidden behind the footer */
.md-main {
  margin-bottom: var(--footer-height); /* Add margin to ensure the main content doesn't overlap with the footer */
}

p {
  font-size: 14px;
}