/* dynamically generated wrapper DIV that surrounds exit pop content DIV */
#sep_wrapper { 
    display: flex;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
	pointer-events: none;
    align-items: center;
    justify-content: center;
}

/* dynamically generated "overlay" DIV that covers entire window when pop up is shown */
#sep_wrapper .veil{ 
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    position: fixed;
    background-color: rgba(0,0,0,.7);
    content: "";
    z-index: 1;
    display: none;
    cursor: default;
}

#sep_wrapper.open{
	pointer-events: auto;
}

/* Style of veil when exit pop is open */
#sep_wrapper.open .veil{ 
    display: block;
}

#sep_wrapper.open div.simpleexitpopupclose{
    display: block;
}

div.simpleexitpopupclose{ 
	width: 70px;
	height: 70px;
	overflow: hidden;
	display: none;
	position: fixed;
	cursor: pointer;
	text-indent: -1000px;
	z-index: 3;
	top: 10px;
	right: 10px;
}

/* style of exit pop content DIV when exit pop is open */
#sep_wrapper.open .simpleexitpopup_c1{ 
    visibility: visible;
}

.simpleexitpopup_c1 { /* user defined exit popup DIV style */
	width: 90%;
	max-width: 700px;
	/*padding: 10px;*/
	z-index: 2;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	position: relative;
	/*border: 10px solid #666666;*/
	/*background: white;*/
	left: 0;
	top: -100px; /* shift popup DIV upwards by 100px from middle of screen */
	-webkit-animation-duration: .5s; /* customize animation duration */
	animation-duration: .5s; /* customize animation duration */
	visibility: hidden;
}

.simpleexitpopup_c1 .calltoaction{ /* demo button style */
	display: inline-block;
    text-decoration: none;
    border-radius: 5px;
    padding: 15px;
    background: #15C5FF;
    display: block;
    width: 80%;
    font: bold 24px Arial;
    box-shadow: 0 0 15px gray, 0 0 10px gray inset;
    margin: 10px auto;
    text-align: center;
    color: white !important;
}

@media screen and (max-height: 765px){
	.simpleexitpopup_c1{
		top: 0;
	}
}