/* The Modal (background) */
.modal {
  display: none;
  position: fixed;
  z-index: 20;
  padding-top: 8vh;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  /*background-color: white;*/
  background-color:rgba(40,40,40,1);
  opacity: 1;
}

/* Modal Content/Box */
.modal-content {
  position: relative;
  background-color: #fefefe;
  margin: auto;
  padding: 0;
  width: 90%;
  height: 80%;
  max-width: 1200px;
  max-height: 60vh;   
  background-size: contain; 
  background-repeat:no-repeat;
  background-color:rgba(40,40,40,1);
  background-position-x: center;
  background-position-y: center;
  opacity: 1;
  cursor: pointer;
}

/* The Close Button */
.close {
  color: white;
  font-size: 35px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #999;
  text-decoration: none;
  cursor: pointer;
}
/* Caption text */
.caption-container {

  text-align: center;
  background-color: gray;
  padding: 2px 16px;
  color: white;
  font-size: 20px
}


.active,
.demo:hover {
  opacity: 1;
}

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);
cursor: pointer;
}
#infoModal{
    z-index: 50;
    text-align: center;
    font-size: 16;
}
.cross{
    padding-top: 10px;
    cursor: pointer;
    position: absolute;
    top: 120px;
    left: 25px;
    z-index: 1000;
}

.modalWrapper {
  margin: 15px;
  background-color: white;
  max-width: 1200px;
  min-width: 400px;
  width:70%;    
}

.column {
  display: flex;
  flex-direction: column;
  flex-basis: 100%;
  flex: 1;
}

.center{
    justify-content: center;
}

.fileName{
    padding-top: 10px;
    cursor: pointer;
    position: absolute;
    top: 75px;
    left: 15px;
    font-size: 15px;    
}

.mFooter{
    display: flex;
    justify-content: center;
	flex-direction: row;
    width: 80%;
	max-width:1200px;
    margin:auto;
    /*padding:15px;*/
}
/*zoom*/


/*Animations*/
/*Show*/
.showModalAni{
	animation: fadeIn 0.5s cubic-bezier(.36,.07,.19,.97) both;
}
@keyframes fadeIn{
    0%{
        opacity: 0;
        }
	100%{
        opacity: 1;
	}
}

.modalBtn a:hover::before,
.modalBtn a:focus::before {
	-webkit-transform: scale(1) translateX(0px) translateY(0px) rotate(0deg);
	-moz-transform: scale(1) translateX(0px) translateY(0px) rotate(0deg);
	transform: scale(1) translateX(0px) translateY(0px) rotate(0deg);
	opacity: 1;
}
@media all and  (max-width: 800px) {
    .cross{
        top: 50px;
        right: 15px;
    }
    .fileName{
        top: 45px;
        left: 10px;
  
    }
}