#popupHolder {
	position:relative;
	
	text-align:center;
	background-color:#1E1E1E;
	padding:10px 30px;
	margin:0 0 70px 0;
	z-index:9999;
	width:100%;
	-webkit-box-sizing:border-box;
	box-sizing:border-box;
}
@media only screen and (min-width: 600px) {
#popupHolder {
	position:fixed;
	right:0;
	bottom:0px;
	max-width:300px;
	margin:0;
}
}
#popupHolder a {
	line-height:30px;
	color: #FFF;
	text-decoration:none;
	font-size:22px;
	font-size:2.2rem;
}

#ouibounce-modal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 9999;
}
#ouibounce-modal .underlay {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	background-color: rgba(0,0,0,0.7);
	cursor: pointer;
	-webkit-animation: fadein 0.5s;
	animation: fadein 0.5s;
}
#ouibounce-modal .modal {	
	width:calc(100% - 40px);
	background-color: #FFF;
	z-index: 1;
	position: absolute;
	top:50%;
	left:50%;
	-webkit-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	max-width:600px;
	max-height:80vh;
	/*right: 0;
	bottom: 0;
	left: 0;*/
	
	-webkit-animation: popin 0.3s;
	animation: popin 0.3s;
	
	display:-webkit-box;
	display:-webkit-flex;
	display:-ms-flexbox;
	display:flex;
	
	-webkit-box-orient:vertical;	
	-webkit-box-direction:normal;	
	-webkit-flex-direction:column;	
	-ms-flex-direction:column;	
	flex-direction:column;
}

#ouibounce-modal .modal span.modal-close {
	display:block;
	position:absolute;
	right:-20px;
	top:-20px;
	width:40px;
	height:40px;
	
	background-image: url("data:image/svg+xml,%3Csvg enable-background='new 0 0 40 40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='20' cy='20' r='19' stroke='%23FFF' stroke-width='2' fill='%233F76AD' /%3E%3Cg stroke='%23FFF' stroke-width='1.4' stroke-linecap='round'%3E%3Cpath d='M 14,14 26,26'%3E%3C/path%3E%3Cpath d='M 14,26 26,14'%3E%3C/path%3E%3C/g%3E%3C/svg%3E");
	background-repeat:no-repeat;
	background-size:30px;
	background-position:center;
	cursor: pointer;
	z-index:2;
}

#ouibounce-modal .modal-title {
	color:#FFF;
	background-color:#1E1E1E;
	font-family: 'Droid Serif', serif;
	font-weight:700;
	font-size: 20px;
	font-size: 2.0rem;
	padding:10px 20px;
	line-height: 20px;
	margin: 0;
	text-align: center;
	position:relative;
	-webkit-box-flex:0;
	-webkit-flex:0 0 auto;
	-ms-flex:0 0 auto;
	flex:0 0 auto;
}
#ouibounce-modal .modal-body {
	padding: 0px;
	font-size: 16px;
	font-size: 1.6rem;
	width:100%;
	height:100%;
	background-color:#FFF;
	
	overflow-y:scroll;
	-webkit-box-flex:1;
	-webkit-flex:1 1 auto;
	-ms-flex:1 1 auto;
	flex:1 1 auto;
}

#ouibounce-modal .modal-body img {
	display:block;
	width:100%;
	height:100%;
	object-fit:cover;
}
#ouibounce-modal .modal-body .htmlText {
	width:100%;
	padding:40px;
	box-sizing:border-box;
	font-size: 16px;
	font-size: 1.6rem;
	text-align:center;
	color:#313131;
	line-height:125%;
}
#ouibounce-modal .modal-body .htmlText a {
	color:#1E1E1E;
}

#ouibounce-modal p {
	color: #344a5f;
	line-height: 1.3em;
}
#ouibounce-modal form {
	text-align: center;
	margin-top: 35px;
}
#ouibounce-modal form input[type=email] {
	padding: 12px;
	font-size: 1em;
	width: 260px;
	border-radius: 4px;
	border: 1px solid #ccc;
	-webkit-font-smoothing: antialiased;
}
#ouibounce-modal form input[type=submit] {
	text-transform: uppercase;
	font-weight: bold;
	padding: 12px;
	font-size: 1em;
	border-radius: 4px;
	color: #fff;
	background-color: #4ab471;
	border: none;
	cursor: pointer;
	-webkit-font-smoothing: antialiased;
}
#ouibounce-modal form p {
	text-align: left;
	margin-left: 35px;
	opacity: 0.8;
	margin-top: 1px;
	padding-top: 1px;
	font-size: 0.9em;
}
#ouibounce-modal .modal-footer {
	position: absolute;
	bottom: 20px;
	text-align: center;
	width: 100%;
	background-color: #CCC;
}
#ouibounce-modal .modal-footer p {
	text-transform: capitalize;
	cursor: pointer;
	display: inline;
	border-bottom: 1px solid #344a5f;
}
@-webkit-keyframes fadein {
 0% {
 opacity: 0;
}
 100% {
 opacity: 1;
}
}
@-ms-keyframes fadein {
 0% {
 opacity: 0;
}
 100% {
 opacity: 1;
}
}
@keyframes fadein {
 0% {
 opacity: 0;
}
 100% {
 opacity: 1;
}
}
@-webkit-keyframes popin {
 0% {
 -webkit-transform: scale(0);
 transform: scale(0);
 opacity: 0;
}
 85% {
 -webkit-transform: scale(1.05);
 transform: scale(1.05);
 opacity: 1;
}
 100% {
 -webkit-transform: scale(1);
 transform: scale(1);
 opacity: 1;
}
}
@-ms-keyframes popin {
 0% {
 -ms-transform: scale(0);
 transform: scale(0);
 opacity: 0;
}
 85% {
 -ms-transform: scale(1.05);
 transform: scale(1.05);
 opacity: 1;
}
 100% {
 -ms-transform: scale(1);
 transform: scale(1);
 opacity: 1;
}
}
@keyframes popin {
 0% {
 -webkit-transform: scale(0);
 -ms-transform: scale(0);
 transform: scale(0);
 opacity: 0;
}
 85% {
 -webkit-transform: scale(1.05);
 -ms-transform: scale(1.05);
 transform: scale(1.05);
 opacity: 1;
}
 100% {
 -webkit-transform: scale(1);
 -ms-transform: scale(1);
 transform: scale(1);
 opacity: 1;
}
}
