/* Overlay style */
.overlay {
	position: fixed;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	background: rgba(210,218,222,0.9);
    z-index: 9999;
}

/* Overlay closing cross */
.overlay .overlay-close {
	width: 80px;
	height: 80px;
	position: absolute;
	right: 20px;
	top: 20px;
	overflow: hidden;
	border: none;
	background: url(../images/cross.png) no-repeat center center;
	text-indent: 200%;
	color: transparent;
	outline: none;
	z-index: 100;
}

/* Menu style */
.overlay .popupcontent {
	text-align: center;
	position: relative;
	top: 50%;
	height: 70%;
	-webkit-transform: translateY(-50%);
	transform: translateY(-50%);
}


/* Effects */
.overlay-slidedown {
	visibility: hidden;
	-webkit-transform: translateY(-100%);
	transform: translateY(-100%);
	-webkit-transition: -webkit-transform 0.4s ease-in-out, visibility 0s 0.4s;
	transition: transform 0.4s ease-in-out, visibility 0s 0.4s;
}

.overlay-slidedown.open {
	visibility: visible;
	-webkit-transform: translateY(0%);
	transform: translateY(0%);
	-webkit-transition: -webkit-transform 0.4s ease-in-out;
	transition: transform 0.4s ease-in-out;
}

@media screen and (max-height: 30.5em) {
	.overlay popupcontent {
		height: 70%;
		font-size: 34px;
	}
}

.popupbackground {
    background-color: white;
    height: auto;
    border-radius: 6px;
    box-shadow: 1px 3px 3px #CECECE;
}

.popupheader
{
    width: 100%;
    height: 45px;
    line-height: 45px;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
    text-align: left;
    padding-left: 10px;
    padding-right: 10px;
}

.popupheadericon {
    position: relative;
    float: left;
    width: 30px;
    font-size: 1.2em;
}

.popupheadertext {
    position: relative;
    float: left;
   
}

.popupcontentinside {
    width: 100%;
   height: auto;
   padding: 8px;
   padding-top: 12px;
   padding-bottom: 12px;
    text-align: left;
}
.popupcontentfootercontainer {
    height: 52px;
    text-align: left;
    padding-left: 8px;
    padding-right: 8px;
}
.popupcontentfootercontainercontent {
    position: relative;
    float: right;
}
