/*HPAY-CHECKOUT THEME EXTENSION CSS*/
.hpay-footer-logotype-line,
.hpay-footer-logotype-line > div{
	display: flex;
	align-content: stretch;
	justify-content: space-evenly;
	align-items: stretch;
	flex-wrap: nowrap;
}
	
.hpay-footer-logotype-line > div{
	max-height:50px;
	height: 34px;
}

.hpay-footer-logotype-line > div > div {
	position:relative;
}

.hpay-footer-logotype-line img{
	height: 28px;
	margin:0 1px;
}

.hpay-footer-banks{
	display:flex;
	align-content: center;
	justify-content: space-evenly;
	flex-wrap: wrap;
}

.hpay-footer-banks img{
	margin:0 5px;
}

.hpay-footer-cards img{
	height: 22px;
}

.hpay-footer-3ds img{
	height: 26px;
}

@media(max-width:640px){
.hpay-footer-banks{
	padding:0 20px 0 10px!important;	
}
}	

.hpay-click-override{
	width: inherit;
	height: inherit;
	line-height: inherit;
	display: flex;
	justify-content: center;
	align-items: center;
	margin: -13px 0;
	position: absolute;
	background: transparent;
	background-color: transparent;
	z-index:99;
	min-height:36px;
}

body.hpay-chk-frame-active{
	overflow:hidden;
}


.hpay-chk-frame{
	position:fixed;
	top:0;
	left:0;
	margin:0;
	padding:0;
	border:none;
	width:100vw;
	height:100vh;
	z-index:9999999;
}

.hpay-red, .hpay-red *{
	color:red;
}


div.hpay_popup{
	position:fixed;
	top:0;
	left:0;
	width:100%;
	height:100%;
	background:rgba(0,0,0,0.4);
	display: flex;
	align-items: end;
	z-index:9999;
	justify-content: stretch;
	align-items: stretch;
	overflow-y: auto;
}

div.hpay_popup > .hpay_popup_wrapper{
	margin: 0 auto;
	background: rgba(255,255,255,0.9);
	border-radius:6px;
	padding: 20px;
	padding-top:8px;
	display:inline-block;
	padding-bottom: 1px;
} 

div.hpay_popup > .hpay_popup_wrapper{
	max-width:90vw;
	display: flex;
	flex-direction: column;
	justify-content: stretch;
	align-items: stretch;
}

div.hpay_popup > .hpay_popup_wrapper{
	min-width: 78%;
	margin-bottom: 5vh;
	margin-top: 8vh;
	/* max-height: 80vh; */
	margin-right: 3vw;
}



div.hpay_popup > .hpay_popup_wrapper .popup_inner{
	/* overflow:hidden; */
	padding:0;
	display: flex;
	/* justify-content: stretch; */
	align-items: stretch;
	flex-direction: column;
	width: 100%;
	height: 100%;
}

div.hpay_popup > .hpay_popup_wrapper .popup_inner > *{
	display: block;
	width: 100%;
	height: 98%;
	overflow-y:auto;
}

div.hpay_popup > .hpay_popup_wrapper .popup_inner p{
	margin:0;
	line-height:130%
}

div.hpay_popup.hpay_liquid_popup > .hpay_popup_wrapper{
	width:1280px;
	max-width:90vw; 
}

div.hpay_popup.md-popup > .hpay_popup_wrapper{
	max-height: 70vh;
	width: 1024px;
	min-width:60%;
	margin-right: 15vw;
	margin-top: 12vh;
}

@media(max-width:1280px){
	div.hpay_popup.md-popup > .hpay_popup_wrapper{
		margin-right:2vw;
	}
}

div.hpay_popup.sm-popup > .hpay_popup_wrapper{
	max-height: 50vh;
	width: 768px;
	min-width:40%;
	margin-right: 25vw;
	margin-top: 20vh;
}

@media(max-width:1024px){
	div.hpay_popup.sm-popup > .hpay_popup_wrapper{
		margin-right:2vw;
	}
}

div.hpay_popup.xs-popup > .hpay_popup_wrapper{
	width: 512px;
	min-width:30%;
	margin-right: 33vw;
	margin-top: 5vh;
	opacity: 0.9;
	height: fit-content;
}

@media(max-width:768px){
	div.hpay_popup.xs-popup > .hpay_popup_wrapper{
		margin-right:2vw;
	}
}

@media(max-height:768px){
	div.hpay_popup.md-popup > .hpay_popup_wrapper,
	div.hpay_popup.sm-popup > .hpay_popup_wrapper,
	div.hpay_popup.xs-popup > .hpay_popup_wrapper{
		
	}
}

div.hpay_popup .hpay_popup_top{
	display:flex;
	justify-content:space-between;
}

div.hpay_popup .hpay_popup_top *{
	margin:1px -5px;
	padding:1px;
}

div.hpay_popup .hpay_popup_top h4{
	font-size:1.3em;
}

div.hpay_popup .hpay_popup_top a.hpay_popup_close:before{
	content: "\00D7";
	font-size:24px;
	position:absolute;
	margin-top:-6px;
	margin-left:-4px;
	color:gray;
	cursor:pointer;
}

div.hpay_popup .hpay_popup_top a.hpay_popup_close:hover:before{
	color:black;
}

div.hpay_popup .hpay_popup_content{
	display:flex;
	align-content:stretch;
	justify-content:stretch;
	align-items: stretch;
	flex-direction: column;
	width: 100%;

}

div.hpay_popup textarea{
	resize:none;
	width:100%;
	min-height:60px;
}

.hpay_popup .hpay_popup_footer{
	display:flex;
	justify-content:space-between;
}

.hpay_popup .hpay_popup_footer{
	padding:5px;
	display:flex;
	justify-content:center;
	background: rgba(255,255,255,0.8);
	margin: 0 -20px;
	border-radius: 0 0 5px 5px;
}

.hpay_popup .hpay_popup_footer button{
	padding:5px;
	margin: 0 5px;
	min-width:80px;
}

body.hpay-popup-shown{
	overflow:hidden;
}

#modal-aux-thankyou-info{
	background: aliceblue;
    padding: 10px;
}

#modal-aux-thankyou-fiscal >div > pre{
	background: white;
}

.hshake,.hshake>*,.hshake>:before{
    color:red!important;
    border-color:red!important
}

@keyframes tilt-shaking{
    0%,100%{
        transform:translateX(0)
    }
    25%,75%{
        transform:translateX(5px)
    }
    50%{
        transform:translateX(-5px)
    }
}
.hshake{
    animation:.8s infinite tilt-shaking;
    --watermarkcolor:red
}

.hpay-logotype-line-block{
	width: 100vw;
	height: 34px;
	display: block;
}

.hpay-footer-logotype-line{
	position: absolute;
	top: auto;
	width: 100vw;
	left: auto;
	right: auto;
	bottom: auto;
}

#hpay_logotype_line img,
#hpay_logotype_line a{
	display: inline-block;
}

.hpay-main-block-wrapper{
	z-index: 9999999999;
}

body.hpay-backdrop {
  overflow: hidden !important;
}

.hpay-backdrop-wrapper{
	position: fixed;
    inset: 0px;
    background-color: rgba(255, 255, 255, 0.55);
    z-index: 9999999999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hpay-spinner {
    width: 120px;
    padding: 15px;
    background: var(--hpay-button-primary-background-color,#afb3bba6);
    aspect-ratio: 1;
    border-radius: 50%;
    --_m: conic-gradient(#0000, #000), linear-gradient(#000 0 0) content-box;
    -webkit-mask: var(--_m);
    mask: var(--_m);
    -webkit-mask-composite: source-out;
    mask-composite: subtract;
    box-sizing: border-box;
    animation: 1s linear infinite load;
    display: inline-block;
}

@keyframes load {
  to {
    transform: rotate(1turn);
  }
}