#yb-modal-overlay{
	background: rgba(40, 40, 40, 0.45);
	display: none;
	position: fixed;
	width: 100%;
	height: 100%;
	z-index: 9000000;
	overscroll-behavior: contain;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
}

#yb-modal-overlay #yappyBuy-popup{
background: #902183;		
	width: 250px;
	max-width: 50%;
	padding: 80px 20px;
	border: 3px solid #AD71AD;
	border-radius: 5px;	
	
	text-align: center;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translateY(-50%) translateX(-50%);
	
}


.yb-popup-bg{
	position: fixed;
	background-color: rgba(0, 0, 0, 0.5);
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	z-index: 99999;
}
.yb-popup-bg	#yappyBuy-popup{
	background: #902183;		
	width: 250px;
	max-width: 50%;
	padding: 80px 20px;
	border: 3px solid #AD71AD;
	border-radius: 5px;	
	
	text-align: center;
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translateY(-50%) translateX(-50%);

}

.yb-popup-bg	#yappyBuy-iframe-wrapper{
	position: fixed;
	top: 10%;
	width: 90%;
	left: 50%;
	max-width:1000px;
	transform: translateY(0%) translateX(-50%);
	height: 80%;
	border: 3px solid #AD71AD;
	border-radius: 10px;
	background: #fff;
}
 .yb-popup-bg	#yappyBuy-iframe-wrapper iframe{
	width: 100%;
	height: 100%;
	/* height: calc(100% - 65px); */
	border: none;
}
/*
.yb-popup-bg	#yappyBuy-iframe-wrapper .yappyBuy-button-wrapper{
	text-align: center;
	background: #5F357F;
	border-radius: 0 0 6px 6px;
}

.yb-popup-bg	#yappyBuy-iframe-wrapper a.yappyBuy-continue{
	display: inline-block;
	padding: 10px 30px;
	background: #AD71AD;
	color: #fff;
	margin: 10px 0;
	border-radius: 3px;
	line-height: 20px;
	
} */

.yappyBuy-close {
	position: absolute;
	right: -18px;
	top: -18px;
	width: 30px;
	height: 30px;
	opacity: 0.5;
	background: #5F357F;
	border-radius: 32px;
	padding: 5px;
	box-sizing: unset;
}

@media only screen and (max-width: 999px) {
	.yappyBuy-close {	
		right: 1px;
		top: 1px;
	}
}

.yappyBuy-close:hover {
  opacity: 1;
}
.yappyBuy-close:before, .yappyBuy-close:after {
	position: absolute;
	left: 19px;
	content: ' ';
	height: 28px;
	width: 1px;
	background-color: #fff;
	padding: 1px;
}
.yappyBuy-close:before {
  transform: rotate(45deg);
}
.yappyBuy-close:after {
  transform: rotate(-45deg);
}

.yappyBuyButton-wrapper button{
	background: url(../images/one-click.svg) no-repeat;
    width: 153px;
    height: 42px;
    content: '';
    display: inline-block;
    float: right;
    margin-bottom: -42px;
    vertical-align: bottom;
	background-size: contain;
	border: none;
}


.yappyBuy-popup .modal-inner-wrap{
	max-width: 350px;
	background: #902183;
	border: 3px solid #AD71AD;
}
.yappyBuy-popup .modal-inner-wrap button.action-close{
	display:none;
}

.yappyBuy-popup .modal-inner-wrap img{
	width:100%;
}

.yappyBuy-popup .modal-inner-wrap h1{
	font-weight:700;
	color:#fff;
}

.yappyBuy-popup .content{
	position:relative;	
	background:#fff;
}

.yappyBuy-popup .content.popup-init::before{
	position:absolute;	
	background: url(../images/loading_icon.gif) no-repeat;
	width:97px;
	height:97px;
	left:calc(50% - 48.5px);
	top:calc(50% - 48.5px);
	content:' ';
}

.yappyBuy-popup .content.popup-init img{
	opacity: 0;
	
}
.yappy-messages{
	height: 50px;
	overflow-y: scroll;
	background: #eee;
}

#yappy-messages-inner{
	padding: 5px;
}

