.image {
  /*background-color: #00F;*/
  width: 60%;
  height: 80%;
  padding: 0px;
  position: absolute; 
  top: 15%;
  left: 2%;
}

.image_left {
  height: 70%;
  padding: 0px;
  position: absolute; 
  top: 15%;
  left: 2%;
}

.image_right {
  height: 70%;
  padding: 0px;
  position: absolute; 
  top: 15%;
  right: 2%;
}

.image1 {
  /*background-color: #00F;*/
  /*width: 100%;*/
  height: 100%;
  padding: 0px;
  position: absolute; 
  left: 0%;
}

.image10 {
  /*background-color: #00F;*/
  /*width: 100%;*/
  height: 85%;
  padding: 0px;
  position: absolute; 
  left: 10%;
}

.image20 {
  /*background-color: #00F;*/
  /*width: 100%;*/
  height: 85%;
  padding: 0px;
  position: absolute; 
  left: 20%;
}

.image15_70 {
  /*background-color: #00F;*/
  /*width: 100%;*/
  height: 85%;
  top: 15%;
  width: 90%;
  padding: 0px;
  position: absolute; 
  left: 5%;
}

.image2 {
  height: 40%;
  padding: 0px;
  position: absolute; 
  left: 60%;
  top: 35%;
}

.image3 {
  height: 75%;
  padding: 0px;
  position: absolute; 
  left: 2%;
}


.image4 {
  left:60%; 
  height:40%; 
  top:35%;
  padding: 0px;
  position: absolute; 
}
 
.image5 {
  width: 75%;
  padding: 0px;
  position: absolute; 
  left: 2%;
}

.video_container {
  background-color: #000;
  height: 85%;
  width: 100%;
  padding: 0px;
  position: absolute; 
}
 
.video1 {
  height: 85%;
  padding: 0px;
  position: absolute; 
  left: 8%;    
}

.video2 {
  height: 85%;
  max-height: 85%;
  padding: 0px;
  display: block; 
  margin: 0 auto;  
  max-width: 100%;
}

 
.caption {
  font-size: 24pt;
  line-height:1.5;
  top: 10%;
  width: 40%;
  position: absolute; 
  left: 59%;
  padding: 0px;
}

.caption20 {
  font-size: 24pt;
  line-height:1.5;
  top: 20%;
  width: 40%;
  position: absolute; 
  left: 59%;
  padding: 0px;
}

.caption50 {
  font-size: 24pt;
  line-height:1.5;
  top: 15%;
  width: 50%;
  position: absolute; 
  left: 49%;
  padding: 0px;
}

.caption70 {
  font-size: 24pt;
  line-height:1.5;
  top: 45%;
  width: 29%;
  position: absolute; 
  left: 70%;
  padding: 0px;
}

.caption71 {
  font-size: 24pt;
  line-height:1.5;
  top: 90%;
  width: 29%;
  position: absolute; 
  left: 70%;
  padding: 0px;
}



.caption_left50 {
  font-size: 24pt;
  line-height:1.5;
  top: 10%;
  width: 50%;
  position: absolute; 
  left: 50%;
  padding: 0px;
}

.caption_left {
  font-size: 24pt;
  top: 90%;
  width: 40%;
  position: absolute; 
  left: 10%;
  padding: 0px;
}

.caption_right70 {
  font-size: 24pt;
  top: 90%;
  /*width: 30%;*/
  position: absolute; 
  left: 70%;
  padding: 0px;
}

.caption30 {
  /*background-color: #0f0;*/
  font-size: 24pt;
  line-height:1.5;
  top: 30%;
  width: 40%;
  position: absolute; 
  left: 59%;
  padding: 0px;
}

.caption2 {
  //background-color: #FFFFFF;
  width: 40%;
  position: absolute; 
  left: 0%;
  padding: 10px;
  bottom: 0%;
}


div.slide h1 {
  /*border: 1px solid black;*/
  width: 97%;
  padding-left: 1em;
  padding-right: 0em;
  padding-top: 0.2em;
  margin-bottom: 0.0em;
  margin-top: 0.0em;
  margin-left: 0;
  margin-right: 0;
  /*text-align: center;*/
  /*min-height: 2.em;*/
  color: #005;
  background: #EEF; 
  /*height: 0.5em;*/
  font-size: 120%;
  
}

@media print {
  @page {
    width: 11in;
    height: 8.5in;
    margin-top: 1.0in;
    margin-bottom: 2.0in;
  }

  html, body {
    height: auto !important;
    overflow: visible !important;
    background: white !important;
    color: black !important;
    font-size: 12pt !important;
  }

  /* One slide per page, fixed to landscape letter height */
  .slide {
    display: block !important;
    visibility: visible !important;
    position: relative !important;
    page-break-after: always !important;
    height: 6.0in; 
    width: 10.8in; 
    /*margin: 0 !important;
    padding: 0.1in !important;
    */
    border: none !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  /* Hide Slidy UI chrome */
  .toolbar, .initial_prompt, .slidy_toc, div.background {
    display: none !important;
  }

  /* Slide title */
  div.slide h1 {
    font-size: 1.3em !important;
    margin: 0 0 0.1in 0 !important;
    padding: 0.05in 0.2in !important;
  }

  /* Constrain absolute-positioned image/caption blocks to their slot */
  .image, .image_left, .image_right,
  .image1, .image10, .image20, .image15_70,
  .image2, .image3, .image4, .image5 {
    max-height: 85% !important;
  }

  .caption, .caption20, .caption30, .caption50,
  .caption70, .caption71, .caption_left50,
  .caption_left, .caption_right70, .caption2 {
    font-size: 16pt !important;
    line-height: 1.3 !important;
  }

  /* Scale all images/videos to fit within their container */
  img {
    max-width: 100% !important;
    max-height: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
  }
  /*
  video {
    max-width: 100% !important;
    max-height: 85% !important;
    object-fit: contain !important;
  }
  */
  video {
    display: block;
    height: auto;
    width: 100%;
  }  
  video::after {
    content: attr(poster); /* This pulls the URL string */
    display: block;
    content: url(attr(poster)); /* Note: Direct attr() in url() has limited support */
    
    /* Fallback/Modern approach: Ensure the background shows */
    background-image: attr(poster url);
    width: 100%;
    height: 500px;
  }  
}
