/* Add your FL-card styles here */

#lf-qr-download {display: none !important;}

.LF-profile {
	position: fixed;
	display: block;
	width: 850px;
	height: 500px;
	background-color: black;
	border-radius: 25px;
	left: 50%;
	margin-left: -425px;
	top: 50%;
	margin-top: -250px;
	box-shadow: 10px 10px 45px rgba(0,0,0,0.7);
	transform: rotate(0);
	transition: 0.5s;
}

.LF-profile-check {
	position: relative;
	display: block;
	width: 850px;
	height: 500px;
	background-color: black;
	border-radius: 25px;
	box-shadow: 10px 10px 45px rgba(0,0,0,0.7);
	transform: rotate(0);
	transition: 0.5s;
	left: 50%;
	margin-left: -425px;
}

.LF-profile p {
	margin-bottom: 0px;
}
.LF-profile-check p {
	margin-bottom: 0px;
}

.lf-card-logo {
	position: absolute;
	left: 40px;
	top: 40px;
	height: 100px;
	width: 500px;
	background-image: url("FL-logo-white.svg");
    background-repeat: no-repeat, repeat;
}

.FL-profile-info {
	position: absolute;
	left: 40px;
	bottom: 40px;
	height: 140px;
	width: 620px;
	z-index: 1;
}

.FL-profile-info span {
	display: inline-block;
	width: 50px;
}

.LF-name {
	line-height: 50px;
	font-weight: 700;
	text-transform: uppercase;
	color: white;
	display: block;
  	width: 100%;
  	white-space: nowrap;
  	overflow: hidden;
  	text-overflow: ellipsis; /* optional, adds "..." if text is too long */
  	font-size: clamp(0.5rem, 5vw, 2em); /* responsive scaling */
}

.LF-id {
	color: white;
}

.LF-renewal-date {
	color: white;
}

.LF-strapline {
	color: white;
	font-weight: 400;
	font-size: 25px;
	margin-top: 10px;
}

#lf-qr {
	position: absolute;
	width: 128px;
	height: 128px;
	right: 50px;
	bottom: 50px;
	z-index: 1;
	background: black;
	padding: 0px;
}

#lf-qr canvas {
	width: 128px;
	height: 128px;
	filter: invert(1);
}

.lf-card-logo-back {
	position: absolute;
	right: 3px;
	top: 3px;
	bottom: 3px;
	width: 600px;
	background-image: url("FL-card-inverse.svg");
    background-repeat: no-repeat, repeat;
	background-position: right;
	opacity: 0.8;
	z-index: 0;
	border-radius:0 25px 25px 0;
}

.LF-error {
	padding: 15px;
	width: 100%;
	color: white;
	background-color: #ea2700;
}

@media screen and (max-width: 1000px) {
	.LF-profile {
		transform: rotate(90deg) scale(0.65);;
		transform-origin: center;
	}
	.LF-profile-check {
		transform: rotate(90deg) scale(0.65);;
		transform-origin: center;
	}
}



/* Details page for printers */
.page-id-1228 #lf-qr-download {
	display: block !important;
	position: absolute;
	width: 400px;
	height: 100px;
	left: 50%;
	margin-left: -200px;
	top: 40%;
	background-color: #ea2700;
	color: white;
	border: none;
	cursor: pointer;
	font-size: 18px;
	font-weight: 700;
	transition: 0.5s;
	z-index: 99999
}
.page-id-1228 #lf-qr-download:hover {
	background-color: #424242;
	
}

