.thumbs-list {
  display: flex;
  column-gap: 8px;
}
a:focus {
  outline: 3px ridge #AFAFAF;
  border-radius: 5px;
  opacity: 1;
}

.thumbs-item {
  margin-bottom: 0px;
}

img.slide {
  position: relative;
  display: block;
   border-radius: 5px;
  outline: 3px ridge #AFAFAF;
  max-height: 800px;  /* keep portraits same height as landscapes */
  max-width: 900px; 
  margin: auto; 
}

.slide-wrapper {
  height: 41vh;  
}
.mySlide {
  display: flex;
  justify-content: center;
  align-items: center;
}

@media only screen and (min-device-width: 1200px){
img.slide {
  height: 800px;
  width: auto;
  max-width: 1200px;
}
.slide-wrapper {
  height: 100vh;  
}
.mySlide {
  height: 930px;
}}

@media only screen and (min-device-width: 1400px){
img.slide{
  height:933px;
  max-height: 80vh;
  max-width: 1400px;
}}

.slidecaption {
  background-color: none;
  height: 150px;
  padding: 5px 0 15px 0;
  color: #AFAFAF;
  font-size: 2rem;
  text-align: center;
  z-index: 50;
  margin-top: -40px;
}

@media only screen and (min-device-width: 1200px){
.slidecaption {
  height: 40px;
  padding: 10px 0;
  font-size: 1.1rem;
  }}

#back-button, #previous-button, #next-button, #toggle-button {
  color: #E4E4E4;
  text-decoration: none;
}


@media only screen and (max-device-width: 1200px) and (orientation: landscape){
.slide-wrapper {
  height: 150vh;  
}
img.slide{
  height: 100vh;
  max-width: 1400px;
}
}



