/* The Modal (background) */
.modal {
   display: none;
   max-height: calc(100vh - 50px);
   overflow-y: auto;
   margin:0;
   position: relative;
   /*top: 50%;
   left: 50%;*/
   top: 2vh;
   left: 50%;
   transform: translate(-50%);
   /*transform: translate(-50%, -50%);*/
   border:1px solid;
   background-color: #AE1E1E;
   padding-top: 0px;
   padding-bottom: 0px;
}

/* Modal Content */
.modal-content {
  /*position: relative;
  background-color: #F0F5F5;
  margin: auto;
  padding: 0;
  max-width: 90%;
  max-height: 100%;*/
  min-width: 70vw;
  position: relative;
  background-color: #AE1E1E;
  margin: 10px;
}
/* Hide the slides by default */
.mySlides {
  /*display: none;
  max-height:80%; 
  max-width:80%; 
  border-style:solid; 
  border-width:1px;   
  border-color: #009999;*/
  display: block;
  max-height:65vh; 
  max-width:65vw; 
  border-style:solid; 
  border-width:1px;    
  border-color: #ff8080;
}

/* Caption text */
.caption-container {
  text-align: center;
  background-color: #ffffff;
  font-size: 2vh;
  padding: 2px 5px;
  color: #000000;
  border:1px solid black;
}

/* Instruction text */
.instruction-container {
  text-align: center;
  background-color: #000000;
  padding: 0px 0px;
  color: #ffffff;
}

/* The Close Button */
.close {
  color: #000000;
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 35px;
  font-weight: bold;
}
.close:hover,
.close:focus {
  background-color: #FFFFFF;
  opacity: 0.8;
  text-decoration: none;
  cursor: pointer;
}

/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 150px;
  width: auto;
  padding: 16px;
  margin-top: -50px;
  color: #33cc33;	/* 33cc33 */
  font-weight: bold;
  font-size: 20px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}
/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}
/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
  background-color: #ff9900;	/* ff9900 */
  
  opacity: 0.25;
}

TABLE.squashed
{
	margin-top: 0px;
	margin-bottom: 0px;
	border: 0px solid #009999;
	border-collapse: collapse;
	width: 100%;
}
td.midimg img{
    display: block;
    margin-left: auto;
    margin-right: auto;
	max-width: 80vw;
}

.submittermenu {
	font-size:10pt; font-family: Garamond; font-weight:bold; color:#FFFFFF;background-color:#AE1E1E;border:1px solid #0033CC;margin-top:0px;margin-bottom:0px
}
.submittermenu:hover {color:#000000;background-color:#F0F5F5;opacity: 0.4;}

img.hover-shadow {
  transition: 0.3s;
}
.hover-shadow:hover {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}