.imageLeftBox{
  width: 100%;
}

.textList{
  list-style: "- ";
}

.textList li{
  margin-left: -20px;
  margin-bottom: 10px;
}

.flexContainer{
  background: #008000;
}

.flexContainer div img{
  width: 100%;
  height: auto;
}

figure{
  font-size: 0.8em;
}

figcaption{
  background: #008000;
}

figcaption div{
  background: #cef6ce;
}

.modal-dialog{ 
  margin: 0; 
  max-width: 100%; 
}

.modal-content{
  background: #000000; 
  border-radius: 0;
  border: none; 
  color: white; 
  display: flex; 
  flex-direction: column;
  min-height: 100vh; 
}

.modal-body{
  display: flex; 
  justify-content: center; 
  align-items: center;
  flex: 1; 
  overflow: hidden;
  position: relative;
}

.modal-body img{
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  max-width: calc(100% - 4rem);
  max-height: 100%;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  z-index: 1;
}

.modal-body img.active{
  opacity: 1;
}

.nav-btn{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.4);
  border-radius: 0.25rem;
  border: none;
  color: white;
  font-size: 2rem;
  padding: 0.5rem 0.75rem;
  cursor: pointer;
  user-select: none;
  caret-color: transparent;
  z-index: 10;
}

.nav-btn.left{left: 1rem;}
.nav-btn.right{right: 1rem;}

.nav-btn:hover{background: rgba(0,0,0,0.7);}
.nav-btn:focus{ 
  outline: none; 
  box-shadow: none;
}

.open-modal-btn.btn-light{
  background: #cef6ce;
  border: 1px solid #cef6ce;
  padding: 1px 5px 1px 5px;
}

.open-modal-btn.btn-light:hover,
.open-modal-btn.btn-light:focus {
  background-color: #008000;
  color: #ffffff;
}

.open-modal-btn.btn-light:active {
  background-color: #008000;
  color: #ffffff;
}

img.open-modal-btn:hover{
  cursor: pointer;
}

.show-modal-button.btn-light{
  background: #cef6ce;
  border: 1px solid #cef6ce;
  padding: 1px 5px 1px 5px;
}

.show-modal-button.btn-light:hover,
.show-modal-button.btn-light:focus{
  background-color: #008000;
  color: #ffffff;
}

.show-modal-button.btn-light:active{
  background-color: #008000;
  color: #ffffff;
}

.statusbar {
  background: #f5fbef; 
  color: #444444;
  display: flex;
  align-items: center;
  justify-content: space-between; 
  gap: 0.5rem;
  padding: 0.5rem 1rem;
}

#modalDesc {
  flex: 1; 
}

@media(max-width: 768px){
  .modal-body img{
    max-width: calc(100% - 6rem);
  }
  .statusbar{
    font-size: 0.9rem; 
    padding: 0.5rem 0.75rem;
  }
}