

.overlay-bg {
	display: none;
	position: absolute;
	top: 0;
	left: 0;
	height:100%;
	width: 100%;
	/*cursor: pointer;*/
	z-index: 99; /* high z-index */
	background: #000; /* fallback */
	background: rgba(0,0,0,0.50);
}
	.overlay-content {
		display: none;
		background: #fff;
		padding: 1%;
		width: 40%;
		position: absolute;
        /*text-align:center;*/
		top: 15%;
		left: 50%;
		margin: 0 0 0 -20%; /* add negative left margin for half the width to center the div */
		cursor: default;
		z-index: 10001;
		border-radius: 4px;
		box-shadow: 0 0 5px rgba(0,0,0,0.9);
	}
   
    .spinner{
        position: relative;
        top: 20px;
        left: 50%;
        margin-left: -50px; /* half width of the spinner gif */
        margin-top: -50px; /* half height of the spinner gif */
        text-align:center;
        z-index:1234;
        overflow: auto;
        /*width: 100px;*/ /* width of the spinner gif */
        /*height: 102px;*/ /*hight of the spinner gif +2px to fix IE8 issue */
    }
	.close-btn {
		cursor: pointer;
		border: 1px solid #333;
        color: black;
		padding: 2% 5%;
		background: #a9e7f9; /* fallback */
		background: -moz-linear-gradient(top,  #a9e7f9 0%, #77d3ef 4%, #05abe0 100%);
		background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#a9e7f9), color-stop(4%,#77d3ef), color-stop(100%,#05abe0));
		background: -webkit-linear-gradient(top,  #a9e7f9 0%,#77d3ef 4%,#05abe0 100%);
		background: -o-linear-gradient(top,  #a9e7f9 0%,#77d3ef 4%,#05abe0 100%);
		background: -ms-linear-gradient(top,  #a9e7f9 0%,#77d3ef 4%,#05abe0 100%);
		background: linear-gradient(to bottom,  #a9e7f9 0%,#77d3ef 4%,#05abe0 100%);
		border-radius: 4px;
		box-shadow: 0 0 4px rgba(0,0,0,0.3);
	}
	.close-btn:hover {
		background: #05abe0;
	}

    .overlay-content-medium {
		display: none;
		background: #fff;
		padding: 1%;
		width: 60%;
		position: absolute;
        /*text-align:center;*/
		top: 15%;
		left: 50%;
		margin: 0 0 0 -30%; /* add negative left margin for half the width to center the div */
		cursor: default;
		z-index: 100;
		border-radius: 4px;
		box-shadow: 0 0 5px rgba(0,0,0,0.9);
	}
    
    .overlay-content-large {
		display: none;
		background: #fff;
		padding: 1%;
		width: 80%;
		position: absolute;
        /*text-align:center;*/
		top: 15%;
		left: 50%;
		margin: 0 0 0 -40%; /* add negative left margin for half the width to center the div */
		cursor: default;
		z-index: 100;
		border-radius: 4px;
		box-shadow: 0 0 5px rgba(0,0,0,0.9);
	}

/* 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;
	}
}



