/* overlay styles for project section */

.overlay {
    display: none;
    position: absolute;
    top: 25%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(220, 220, 220, 0.9);
    color: rgb(16,16,16);
    text-align: center;
    /*margin: 5%, 5%;
    padding: 20px, 20px;*/
    width: 95%;
    /*min-height: 30%;*/
    /*height: 92%*/
	-moz-transition: opacity 0.25s ease-in-out;
	-webkit-transition: opacity 0.25s ease-in-out;
	-ms-transition: opacity 0.25s ease-in-out;
	transition: opacity 0.25s ease-in-out;
}

.overlay img {
    width: 100%;
}

.overlay .bgWhite {
    background-color: white;
    margin-left: 20px;
    margin-right: 20px;
}

.closeX {
    text-align: right;
    width: 100%;
    font-size: 1.5em;
    padding-right: 20px;
    padding-top: 10px; 
}

.closeX a {
    cursor: pointer;  
    color: rgb(72, 72, 72);
    text-decoration: none;
}