/* your styles go here */

img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto; 
}

figure.image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

figure.image.image-style-side {
  max-width: 50%; /* Adjust the width as needed */
  height: auto;
  float: left;
  margin-right: 20px; /* Adjust the margin as needed */
}

.audio-container {
  	max-width: 100%;
}
audio {
  	width: 100%;
}

figure.table {
    display: block;
    overflow-x: auto;
    max-width: 100%;
}

figure.table table {
    width: 100%;
    border-collapse: collapse;
}

figure.table td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

@media (max-width: 768px) {
    figure.table {
        overflow-x: scroll;
    }

    figure.table td {
        white-space: nowrap;
    }
}

#table-of-contents {
    padding: 20px;
    border: dotted 1px #999999;
    background: #555555;
    color: #fff;
}

#toc-list {
    list-style: none;
}

#toc-list li {
    margin-left: 10px;
    font-size: 12px;
}

#toc-list a {
    text-decoration: none;
}

.rating {
  font-size: 50px;
  cursor: pointer;
}

.rating .star {
  display: inline-block;
  padding: 5px;
  color: grey;
}

.rating .star.active {
  color: orange;
}

#rating-label {
  font-size: 18px;
  margin-top: 10px;
}

.videowrapper { 
  float: none; 
  clear: both; 
  width: 100%; 
  position: relative; 
  padding-bottom: 56.25%; 
  padding-top: 25px; height: 0; } 

.videowrapper iframe { 
  position: absolute; 
  top: 0; 
  left: 0; 
  width: 100%; 
  height: 100%; }

#frame{
  position: absolute;
  top: 10px;
  left: 10px;
  width: 150px;
  height: 150px;
}

#overlay{
  position: fixed;
  top: 10px;
  left: 10px;
  width: 155px;
  height: 155px;
  background-color: transparent;
  z-index: 1000;
}