#ddexitpopwrapper { /* dynamically generated wrapper DIV that surrounds exit pop content DIV */
    display: flex;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
		pointer-events: none;
    align-items: center;
    justify-content: center;
}

#ddexitpopwrapper .veil{ /* dynamically generated "overlay" DIV that covers entire window when pop up is shown */
    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;
}


.ddexitpop { /* user defined exit popup DIV style */
    width: 700px;
    max-width: 700px;
    text-align: center;
    background: #3a3656;
    padding: 50px;
    color: #fff;
    z-index: 2;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    position: relative;
    border-radius: 5px;
    box-shadow: 0 0 30px #282829;
    left: 0;
    top: -100px; /* shift popup DIV upwards by 100px from middle of screen */
		-webkit-animation-duration: .3s; /* customize animation duration */
		animation-duration: .3s; /* customize animation duration */
    visibility: hidden;
}

.ddexitpop .calltoaction { /* demo button style */
	display: inline-block;
    text-decoration: none;
    border-radius: 5px;
    padding: 15px;
    background: #63BC46;
    display: block;
    width: 80%;
    font-size: 1.3em;
    margin: 10px auto;
    text-align: center;
    color: white !important;
}


div.closeexitpop{ /* Large x close button  */
	width: 70px;
	height: 70px;
	overflow: hidden;
	display: none;
	position: fixed;
	cursor: pointer;
	text-indent: -1000px;
	z-index: 3;
	top: 10px;
	right: 10px;
}

.ddexitpop h2 {
    font-size: 2.55em;
    font-weight: 400;
    line-height: 1.1;
    color: #fff;
    margin: 0 0 20px 0;
}

.ddexitpop h2 span {
    font-weight: 900;
}

.ddexitpop p {
  font-size: 1.1em;
  font-weight: 400;
  line-height: 1.5;
  margin: 0 0 30px 0;
}

.ddexitpop form p {
  font-size: 0.9em;
  line-height: 1.5;
  margin: 20px 0 0 0;
}

.ddexitpop p a, .ddexitpop p a:hover {
  color: #fff;
  text-decoration: underline;
  padding: 0;
  border: 0;
}

p.dismiss-exit-intent {
  font-size: 0.95em;
  color: #b2b2d8;
  line-height: 1;
  margin: 20px 0 0 0;
  cursor: pointer;
}

p.dismiss-exit-intent span:hover {
  text-decoration: underline;
}

.ddexitpop form {
  float: left;
  width: 65%;
  text-align: left;
  margin: 0;
  padding: 0;
  border: 0;    
}

.ddexitpop img {
  float: right;
  width: 200px;
  margin: -10px 0 0 0;
}

.ddexitpop form div {

}

.ddexitpop form label {
  display: block;
  font: 400 1.1em 'Source Sans Pro',sans-serif;
  color: #fff;
  margin: 0 0 15px 0;
}

.ddexitpop form input[type=email] {
  display: block;
  width: 90%;
  font: 400 1.1em 'Source Sans Pro',sans-serif;
  color: #282829;
  margin: 0 0 20px 0;
  padding: 9px 11px;
  background: #fff;
  border: none;
  border-radius: 2px;
}

.ddexitpop form input[type=submit] {
  display: block;
  font: 600 1.15em 'Source Sans Pro',sans-serif;
  color: #111;
  text-transform: uppercase;
  margin: 0;
  padding: 10px 25px;
  background: #63bc46;
  border: none;
  border-radius: 3px;
  cursor: pointer;
}

#ddexitpopwrapper.open{
	pointer-events: auto;
}

#ddexitpopwrapper.open .veil{ /* style of veil when exit pop is open */
    display: block;
}

#ddexitpopwrapper.open div.closeexitpop{
    display: block;
}

#ddexitpopwrapper.open .ddexitpop{ /* style of exit pop content DIV when exit pop is open */
    visibility: visible;
}

/* =============================================================================
   < 768
   ========================================================================== */
@media only screen
and (max-width : 765px) {

.ddexitpop { 
  top: 20px;
  width: 400px;
  max-width: 400px;
  padding: 40px;
}

.ddexitpop h2 {
  font-size: 1.75em;
}

.ddexitpop p {
  font-size: 0.9em;
}

.ddexitpop img {
  display: none;
}

.ddexitpop form {
  float: none;
  width: 100%;
}

.ddexitpop form label {
  font-size: 1em;
  text-align: center;
  margin: 0 0 12px 0;
}

.ddexitpop form input[type=email] {
  width: 100%;
  font-size: 0.93em;
  padding: 9px 11px;
}

.ddexitpop form input[type=submit] {
  font-size: 1em;
  margin: 0 auto;
  padding: 9px 16px;
}

.ddexitpop form p {
  font-size: 0.9em;
  text-align: center;
}

}/* end media query */

/* =============================================================================
   < 520
   ========================================================================== */
@media only screen
and (max-width : 520px) {

.ddexitpop { 
  top: 20px;
  width: 100%;
  max-width: 310px;
  padding: 30px;
}

.ddexitpop h2 {
  font-size: 1.5em;
}

}/* end media query */

