/*** INTERSTITIAL POPUP ***/

.interstitial {
    display: none;
    position: fixed;
    top: 50%;
	transform:translateY(-50%);
    left: 0;
    right: 0;
    z-index: 1004;
    -webkit-backface-visibility: hidden;
}

.interstitial .window {
    background: #fff;
    max-width: 826px;
    margin: 0 auto;
    padding: 60px 30px;
    border-radius: 9px;
	position:relative;
}

#interstitial-overlay {
    background: rgba(0, 0, 0, 0.9);
    filter: progid: DXImageTransform.Microsoft.gradient(startColorstr=#d3000000, endColorstr=#d3000000);
    display: none;
    height: 100%;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 99;
}

.interstitial .cancel,
.interstitial .caption {
    margin: 0 20px;
}

.interstitial .right {
    text-align: center;
}
.interstitial .right h2.field-headline{
	padding-left:0;
	margin-bottom:30px;
	border-left:0;
}
.interstitial .right h2.field-headline::before{
	display:none;
}
.interstitial .caption{
	overflow-y:auto;
	max-height:200px;
	padding:0 5px;
}
.interstitial .caption p {
    color: #404040;
    font-size: 18px;
    margin: 10px 0 35px;
    text-align: center;
}

.interstitial .continue, .interstitial .cancel {
    display: inline-block;
    background: #ffffff;
    border-radius: 3px;
    margin: 20px 10px;
    text-align: center;
    color: #004F9F;
    text-decoration: none;
}

.interstitial .continue > a,
.interstitial .cancel > a{
	min-width:150px;
	display:inline-block;
    text-decoration: none;
    font-weight: 600;
    color: #f89722;
    font-size: 18px;
	border: 2px solid #f89722;
    border-radius: 30px;
	padding: 8px 45px;
}
.interstitial .continue > a{
	background: #f89722;
    color: #ffffff !important;
}
.interstitial .window h2::after {
    cursor: pointer;
}

.interstitial .inner .left,

#interstitial_onload.interstitial .cancel,
#interstitial_onload.interstitial .interstitial-exit-icon {
    display: none;
}
.interstitial .window .stripes{
display: block;
    position: absolute;
    background: transparent;
    top: 20px;
    right: 18px;
    z-index: 2;
    width: 20px;
    height: 20px;
	cursor:pointer;
	}
	.interstitial .window .stripes .bar{
		content: "";
    background-image: url(../images/close-icon.png);
    background-repeat: no-repeat;
    width: 20px;
    height: 20px;
    background-size: contain;
	}

@media screen and (max-width:991px) {
    .interstitial {
        top: 45%;
        left: 50%;
        right: auto;
        transform: translate(-50%, -50%);
        width: 100%;
        padding: 0 20px;
		margin:20px auto;
    }
	.interstitial .window {
		padding:60px 25px 0px;
	}
	.interstitial .right h2.field-headline {
      margin-bottom:5px;
	}
	.interstitial .caption{
		max-height:300px;
	}
	.interstitial .caption p {
    margin: 10px 0 0;
}
.interstitial .window .stripes {
	top:17px;
	right:15px;
}
.interstitial .window .stripes .bar {
	width:25px;
	height:25px;
}
}
@media only screen and (max-width: 844px) and (max-height: 390px) and (orientation: landscape) {
	.interstitial {
		top: 45%;
	}
}
@media only screen and (min-width:750px) (max-width:767px){
    .interstitial {
        top: 20%;
        left: 0;
        right: 0;
        transform: inherit;
    }
}
@media screen and (max-width:600px) {
    .interstitial {
        padding: 0 10px;
    }
	.interstitial .caption{
		padding:0 10px;
	}
}

@media screen and (max-height:480px) {
	.interstitial .caption{
	  max-height: 150px;
  }
}
@media only screen and (max-width: 740px) and (max-height: 360px) and (orientation: landscape) {
  /* Styles for Samsung Galaxy S8 in landscape mode */
  .interstitial{
	  top:42%;
  }
  .interstitial .window{
	  height:250px;
	  overflow-y:auto;
  }
  .interstitial .caption{
	  max-height: inherit;
  }
}
