/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */ 
    height: 100%; /* Full height */ 
    overflow: none; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
	/* max-width: 95%;   */
	/* max-heigth: 95% */
}

/* Modal Content/Box */
.modal-content {
    background-color: #fefefe;
    margin: auto;  /* % from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    /*max-width: 80%;*/  /* Could be more or less, depending on screen size */
	align-self: center;
}

/* The Close Button */
span.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

span.copyright{
	background-color: #cccccc;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
} 

img.modalImage{
	/*
	max-height: 100%;
	max-width: 100%;	
	*/
	width: auto;
	height: auto;
	display: block;
    margin-left: auto;
    margin-right: auto;
	
}

img.preview {
	display: block;
    margin-left: auto;
    margin-right: auto;
	max-width: 100%;
	cursor: pointer;
}