﻿#overlayDiv {
  position: fixed; /* Sit on top of the page content */
  display: none; /* Hidden by default */
  width: 100%; /* width: 100%; Full width (cover the whole page) */
  height: 100%; /* height: 100%; Full height (cover the whole page) */
  top: 0;
  left: 0;
  background-color: rgba(128,0,0,0.5); /* background color:#800000; with opacity */ 
  z-index: 2; /* Specify a stack order in case you're using a different order for other elements */
  cursor: pointer; /* Add a pointer on hover */
/*
  right: 0;
  bottom: 0;
  border-style: solid; border-width: 10px; border-color: rgba(0,0,0,0.5); 
*/  
}

#overlayText{
/*
  position: relative;
*/  
  position: fixed;
  top: 50%;
  left: 50%;
  width: 700px;
/*
  width: 50%;
  height: 900px;
  top: 0;
  left: 20;
*/  
  /* font-size: 50px;*/  
  background-color: white;
  transform: translate(-50%,-50%);
  -ms-transform: translate(-50%,-50%);
}

#overlayImgDeprecated{
  position: absolute;
  top: 0%;
  left: 20px;
  width: 860px;
  height: 860px;
}

#overlayImg{
  position: relative;
  text-align: center;
}

#overlayCaption{
  position: absolute;
  top: 0%;
  left: 50%;
  transform: translate(-50%, -0%);
  -ms-transform: translate(-50%,-0%);
  text-align: center;
  color: white;
}
