.main-content {
	height: 800px;
	width: 1000px;
	margin: 0 auto;
}

.overlay-bg {
	display: none;
	position: absolute;
	top: 20px;
	left: 0;
	height:100%;
	width: 100%;
	cursor: pointer;
	z-index: 100001; /* high z-index */
	background: #000; /* fallback */
	background: rgba(0,0,0,0.75);
}
	.overlay-content {
		display: none;
		background: #fff;
		padding: .5%;
		width: 50%;
		position: absolute;
		top: 15%;
		left: 20%;
		margin: 0 0 0 0; /* add negative left margin for half the width to center the div */
		cursor: default;
		z-index: 100002;
		border-radius: 4px;
		box-shadow: 0 0 5px rgba(0,0,0,0.9);
	}

	.close-btn {
		cursor: pointer;
		border: 1px solid #333;
		padding: 1% 1%;

		border-radius: 4px;
		box-shadow: 0 0 4px rgba(0,0,0,0.3);
	}
	.close-btn:hover {
		background: #05abe0;
	}

/* media query for most mobile devices */
@media only screen and (min-width: 0px) and (max-width: 480px){

	.overlay-content {
		width: 96%;
		margin: 0 2%;
		left: 0;
	}
}



