*{
	-webkit-user-select: none;      
	-moz-user-select: none; 
	-ms-user-select: none;
	user-select: none;
}
@-webkit-keyframes scanner{
	0%{
		bottom: 100%;
	}
	50%{
		bottom: 0%;
	}
	100%{
		bottom: 100%;
	}
}
@-moz-keyframes scanner{
	0%{
		bottom: 100%;
	}
	50%{
		bottom: 0%;
	}
	100%{
		bottom: 100%;
	}
}
@-o-keyframes scanner{
	0%{
		bottom: 100%;
	}
	50%{
		bottom: 0%;
	}
	100%{
		bottom: 100%;
	}
}
@keyframes scanner{
	0%{
		bottom: 100%;
	}
	50%{
		bottom: 0%;
	}
	100%{
		bottom: 100%;
	}
}
#btn_scanner{
	display: flex;
	align-items: center;
	justify-content: center;
	width: 200px;
	height: 200px;
	background:var(--color);
	border-radius:50%;
	transition-property: background;
}
#btn_scanner:active,.scan_btn:active{
	background: #000;
}
#btn_scanner svg{
	width: 135px;
	height: 135px;
	fill:#fff;
}
#scanner_bloc,#scan_sign,#scan_validation{
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background:rgba(0,0,0,0.8);
	transition-property: opacity;
}
#scanner_container{
	position: absolute;
	display: block;
	width: 80%;
	height: 80%;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
}
#scanner_video {
	width: auto;
	height: auto;
	min-width: 100%;
	max-height: 100%;
	max-width: 100%;
}
#scanner_animator{
  	position: absolute;
	top: 50%;
	left: 0;
	width: 100%;
	height: 50%;
	margin: auto;
	padding-bottom: 100%;
	pointer-events: none;
	transform: translate(0,-50%);
	transition: all 200ms ease-in;
}
.custom-scanner{
	position: absolute;
	display: none;
	left: 50%;
	transform: translate(-50%,0);
	width: 70%;
	height: 2px;
	background: var(--color);
	transition: all 200ms linear;
	animation: scanner 1.5s infinite linear;
	box-shadow: 0 1px 0 0 rgba(0, 0, 0, 0.4);
}
#drawing{
	z-index: 12;
	position: absolute;
	display: block;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
}
#drawing_board{
	position: relative;
	z-index: 12;
	width: 450px;
	height: 250px;
	max-width: 100%;
	background: #fff;
	border-radius: 5px;
}
.scan_invisible{
	visibility: hidden;
	opacity:0;
}
.scan_visible{
	visibility: visible;
	opacity:1;
}
.scan_btn_line{
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin: 10px 0 0;
}
.scan_btn{
	display: flex;
	align-items: center;
	width: calc((100% - 20px) / 3);
	padding: 15px;
	color:#fff;
	background:var(--color);
	cursor: pointer;
	text-transform: uppercase;
	border-radius: 5px;
	transition-property: background;
}
#scanner_bloc .scan_btn_line{
	justify-content: center;
}
#scanner_bloc .scan_btn{
	width: auto;
}
.scan_btn svg{
	width: 30px;
	flex:0 0 30px;
	height: 30px;
	margin: 0 5px 0 0;
	fill:#fff;
}
#scan_validation .scan_validation_picto{
	position: absolute;
	display: none;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
}
#scan_validation .scan_validation_picto svg{
	width: 150px;
	height: 150px;
}
#scan_validation #scan_validation_no svg{
	fill:#e2001a;
}
#scan_validation #scan_validation_ok svg{
	fill:#007700;
}