.scan_wrapper
{
	position: fixed;
	left: 0;
	top: 0;
	bottom: 0;
	right: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 100vh;
	background: #111;
}
.scan
{
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
}
.scan .qrcode
{
	position: relative;
	width: 400px;
	height: 400px;
	background-size: 400px;
}
.scan .qrcode::before
{
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-size: 400px;
	overflow: hidden;
	animation: animate 4s ease-in-out infinite;
}
@keyframes animate
{
	0%,100%
	{
		height: 20px;
	}
	50%
	{
		height: calc(100% - 20px);
	}
}
.scan .qrcode::after
{
	content: '';
	position: absolute;
	inset: 20px;
	width: calc(100% - 40px);
	height: 1px;
	background: #2fabcd;
	filter: drop-shadow(0 0 20px #35fd5c) drop-shadow(0 0 60px #35fd5c);
	animation: animate_line 8s ease-in-out infinite;
}
@keyframes animate_line
{
	0%,100%
	{
		top: 20px;
	}
	50%
	{
		top: calc(100% - 20px);
	}
}
.qrborder
{
	position: absolute;
	inset: 0px;
	background: url(border_back.png);
	background-size: 400px;
	background-repeat: no-repeat;
}
@keyframes animate_text
{
	0%,100%
	{
		opacity: 0;
	}
	50%
	{
		opacity: 1;
	}
}
.scan h3
{
	text-transform: uppercase;
	font-size: 2em;
	letter-spacing: 2px;
	margin-top: 20px;
	color: #fff;	filter: drop-shadow(0 0 20px #fff) drop-shadow(0 0 60px #fff);
	animation: animate_text 0.5s steps(1) infinite;
}


.scan .qrborder {
    right: 13px;
    left: 12px!important;
		background-size: 100%;
}

#video {
	/* display: none; */
	position: absolute;
}

.qr_scan_zero_frame a#resetButton {
    position: fixed;
    right: 30px;
    top: 30px;
}

.qr-search {
  display: flex;
}

.qr-search .search {
  width: 100%;
}

#wrap_ajax_qr {
  min-height: 500px;
}

#wrap_ajax_qr #video {
  width: 100%;
  height: 100%;
}



.qr-search-btn {
	width: 34px;
	height: 34px;
	background-image: url("/local/templates/aspro_max/images/qr_code_icon.png");
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	cursor: pointer;
	display: inline-block;
}

.qr_code_wrapper {
	position: absolute;
	right: 20px;
	top: 14px;
	width: 34px;
	height: 34px;
}

.qr_scan_zero_frame.popup .close i, .popup-window-close-icon.popup-window-titlebar-close-icon:after{ background: url(/local/templates/aspro_max/lib/close_icons.svg) -1px -59px no-repeat;
}

#resetButton {
background: none !important;
padding: 20px !important;
}
.qr_info {
padding: 4px 8px;
margin: 10px;
border: 1px solid #fff; 
border-radius: 5px;
font-size: 12px; color: #fff;
background: rgba(0, 0, 0, 0.15);
font-weight: 550;
}