#ouibounce-modal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index:99991;
}
#ouibounce-modal .underlay {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	background-color: rgba(0,0,0,0.75);
	cursor: pointer;
	-webkit-animation: fadein 0.5s;
	animation: fadein 0.5s;
}
#ouibounce-modal .modal {

	width: 96%;
    max-width: 820px;
	background-color: #fff;
	z-index: 11;
	position: relative;
    top: 0;
    margin: 60px auto;
	top: 0;
	right: 0;
	height:495px;
	left: 0;
	-webkit-animation: popin 0.3s;
	animation: popin 0.3s;
	padding: 80px 60px 70px 60px;
    border-radius:9px;
}




#ouibounce-modal .modal-title {
	margin: 0;
	text-align: center;
}
#ouibounce-modal h3 {
	font-weight:normal;
	line-height:58px;
	font-size: 48px;
	font-family: Georgia, Times, 'Times New Roman', serif;
	color:#333;
}
#ouibounce-modal .modal-body {
	padding: 6px 35px 0 35px;
	text-align:center;
}

#ouibounce-modal .modal-body img {
	max-width:100%;
	width:auto;
	height:auto;
}
#ouibounce-modal .modal-body p {
	color: #333;
	padding:50px 0 0 0;
	margin-bottom:30px;
	font-size:16px;
	font-style:italic;
	font-weight:400;
	color:#333;
	font-family: Georgia, Times, 'Times New Roman', serif;
}
#ouibounce-modal .modal-body .ac-box {
    margin-left:auto;
    margin-right:auto;
    margin-top:40px;
    margin-bottom:30px;
}
#ouibounce-modal .modal-body .ac-box p {
    padding:0;
    margin:0;
    font-size:18px;
}


#ouibounce-modal .modal-footer p.text-only {
    border:none;
    font-size:14px;
    padding:0;
    height:auto;
    text-decoration:underline;
    text-align:center;
}

#ouibounce-modal .modal-footer {
  text-align: center;
  width: 100%;
}
#ouibounce-modal .modal-footer p {
	font-size: 18px;
	border: 1px solid #d1e3ee;
	height: 42px;
	line-height: 24px;
	padding: 8px 15px;
	display: inline-block;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px;
	-webkit-transition: background .2s linear;
	-moz-transition: background .2s linear;
	-o-transition: background .2s linear;
	transition: background .2s linear;
	position: relative;
	margin-bottom: 0px;
	color: #4185b1;
	text-transform:capitalize;
	cursor:pointer;
}


@media only screen 
and (min-width : 768px) 
and (max-width : 900px)  {

	#ouibounce-modal .modal {
		padding:50px;
		padding-bottom:60px;
		height:441px;
	}
	#ouibounce-modal h3 {
		line-height: 50px;
		font-size: 40px;
	}
}

@media only screen 
and (min-width : 560px) 
and (max-width : 768px)  {

	#ouibounce-modal .modal {
		padding:40px;
		padding-bottom:50px;
		height:421px;
	}
	#ouibounce-modal h3 {
		line-height: 46px;
		font-size: 38px;
	}
}
@media only screen 
and (min-width : 300px) 
and (max-width : 560px)  {

	#ouibounce-modal .modal {
		padding:20px;
		height:330px;
	}
	#ouibounce-modal h3 {
		line-height: 32px;
		font-size: 26px;
	}
	#ouibounce-modal .modal-body {
		padding-left:0;
		padding-right:0;
	}
	#ouibounce-modal .modal-body p {
		font-size:12px;
		padding-top:20px;
	}
	#ouibounce-modal .modal-footer p {
		font-size:14px;
	}
}


@media only screen and (max-width: 1024px) and (min-width: 830px) {
    #ouibounce-modal .modal {
        max-width:900px;
    }
}
@media only screen and (max-width: 767px) and (min-width: 300px) {
    #ouibounce-modal .modal {
        max-width:900px;
        width:100%;
    }
}



@-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;
  }
}