.modImg {
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

.modImg:hover {opacity: 0.7;}

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 50px; /* Location of the box */
	top: 80%;
    left: 80%;
    //transform: translate(-50%, -50%);
    width: 80%; /* Full width */
    height: 80%; /* Full height */
  //  overflow: auto; /* Enable scroll if needed */
    overflow:hidden;
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

/* Modal Content (image) */
.modal-content {
    margin: auto;
    display: block;
   // max-width: 700px;
	height: 98%;
	width: 98%;
}

/* Caption of Modal Image */
#caption {
    position: absolute;
    top: 15px; /* Location of the box */
    width: 100%;
    text-align: center;
    color: #ccc;
    //margin: auto;
    // display: block;	
    //padding: 10px 0;
    //height: 150px;
    //max-width: 700px;	
}

/* Add Animation */
/*.modal-content, #caption {    
    -webkit-animation-name: zoom;
    -webkit-animation-duration: 0.6s;
    animation-name: zoom;
    animation-duration: 0.6s;
	top: 100px;
}*/
.modal-content, #caption{
    -webkit-animation-name: zoom;
    -webkit-animation-duration: 0.6s;
    animation-name: zoom;
    animation-duration: 0.6s;	
}
.modal-content{
	padding-top: 25px;	
}
@-webkit-keyframes zoom {
    from {-webkit-transform:scale(0)} 
    to {-webkit-transform:scale(1)}
}

@keyframes zoom {
    from {transform:scale(0)} 
    to {transform:scale(1)}
}

/* The Close Button */
.modclose {
    position: absolute;
    top: 0px;
    right: 5px;
    color: #f1f1f1;
    font-size: 20px;
    font-weight: bold;
    transition: 0.3s;
}

.modclose:hover,
.modclose:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px){
    .modal-content {
        width: 100%;
    }
}