#ecard-wrapper .expired_wrap {
	min-height: calc(100vh - 150px);
	padding: 30px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
}
#ecard-wrapper .expired_wrap h1 {
	color: var(--alert);
	margin: 1em 0 0.5em;
}
#ecard-wrapper .expired_wrap .custom-logo-link {
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 10px;
	width: 100%;
	max-height: 200px;
	text-align: center;
	background-color: white;
}
#ecard-wrapper .renew_btn {
	display: inline-block;
	padding: 0.3em 1.5em 0.5em 1.5em;
	border-radius: 4px;
	color: white;
	font-weight: bold;
	background-image: linear-gradient(90deg, #ffc253, #ffb01e);
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	-ms-border-radius: 4px;
	-o-border-radius: 4px;
}
#ecard-wrapper .renew_btn:hover {
	background: var(--main_bgr);
}
img {
	display: inline-block;
}
#ecard-wrapper {
	width: 600px;
	margin: 0 auto;
	background-color: #f9f9f957;
}
#ecard-wrapper .icon_wrapper {
	line-height: 0;
}
#ecard-wrapper .avatar_container {
	display: flex;
	justify-content: center;
	margin-bottom: 20px;
}
#ecard-wrapper .avatar.padding_ratio:before {
	padding-bottom: 100%;
}
#ecard-wrapper .avatar {
	width: 300px;
	margin-top: 30px;
	overflow: hidden;
	border-radius: 100%;
	-webkit-border-radius: 100%;
	-moz-border-radius: 100%;
	-ms-border-radius: 100%;
	-o-border-radius: 100%;
}
#ecard-wrapper .cover_img {
	overflow: hidden;
}
#ecard-wrapper .avatar img,
#ecard-wrapper .cover_img img {
	min-width: 100%;
	width: 100%;
	max-width: 100%;
	height: auto;
	object-fit: unset;
}
#ecard-wrapper .avatar_container .qr_code,
#ecard-wrapper .avatar_container .logo {
	bottom: -10px;
	right: -10px;
	padding: 4px;
	background-color: white;
	overflow: hidden;
	box-shadow: 0 0 15px #0000001c;
	border-radius: 4px;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	-ms-border-radius: 4px;
	-o-border-radius: 4px;
}
#ecard-wrapper .avatar_container .logo {
	right: -100px;
	border-radius: 100%;
	-webkit-border-radius: 100%;
	-moz-border-radius: 100%;
	-ms-border-radius: 100%;
	-o-border-radius: 100%;
	border: solid 2px #2c2d2f;
	padding: 2px;
}
#ecard-wrapper .avatar_container .logo .padding_ratio {
	width: 90px;
	overflow: hidden;
	border-radius: 100%;
	-webkit-border-radius: 100%;
	-moz-border-radius: 100%;
	-ms-border-radius: 100%;
	-o-border-radius: 100%;
}
#ecard-wrapper .avatar_container .logo .padding_ratio::before {
	padding-bottom: 100%;
}
#ecard-wrapper .avatar_container .logo img {
	object-fit: unset;
}
#ecard-wrapper .avatar_container .qr_code a {
	width: 90px;
	height: 90px;
}

#ecard-wrapper .user_name {
	margin: 1em 0 0 0;
	text-align: center;
	font-size: 2rem;
	font-weight: 800;
	text-transform: uppercase;
}
#ecard-wrapper .customer_office {
	color: #3290d6;
	margin: 0 0 0.2em;
	font-size: 1.7rem;
	font-weight: 500;
}
#ecard-wrapper .customer_phone {
	padding: 8px 24px;
	font-weight: bold;
	font-size: 1.3rem;
	color: rgb(255, 53, 53);
	background-color: aliceblue;
	border-radius: 200px;
	-webkit-border-radius: 200px;
	-moz-border-radius: 200px;
	-ms-border-radius: 200px;
	-o-border-radius: 200px;
}
#ecard-wrapper .header_action {
	padding-bottom: 1em;
}
#ecard-wrapper .header_action svg,
#ecard-wrapper .header_action .after img {
	height: 1.8em;
	width: auto;
	margin-right: 0.4em;
}
#ecard-wrapper .header_action .customer_phone svg {
	height: 1em;
	margin: 0;
}
#ecard-wrapper .customer_phone .svg_wrapper {
	text-align: center;
	width: 1.5em;
	height: 1.5em;
	padding: 4px;
	margin-right: 0.4em;
	background-color: rgb(255, 53, 53);
	border-radius: 100%;
	-webkit-border-radius: 100%;
	-moz-border-radius: 100%;
	-ms-border-radius: 100%;
	-o-border-radius: 100%;
}
#ecard-wrapper .customer_phone svg {
	fill: white;
}
#ecard-wrapper .header_action .after {
	margin: 1rem 0;
	font-size: 1.1rem;
}
#ecard-wrapper .header_action .after > a {
	margin: 0 0.5em;
	color: inherit;
}
#ecard-wrapper .action_buttons {
	padding: 0 20px 20px;
}
#ecard-wrapper .action_buttons .wrapper {
	flex-wrap: wrap;
	border-top: solid 1px #dddd;
	padding-top: 20px;
}
.lenamsite_qr_code {
	display: block;
}
.lenamsite_qr_code canvas {
	width: 100%;
}
.popup .lenamsite_qr_code {
	height: 200px;
	width: 200px;
}
#ecard-wrapper .popup_action .popup_content p {
	margin-bottom: 8px;
}
#ecard-wrapper .popup_action .popup_content {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 768px;
	max-width: calc(100% - 60px);
	max-height: calc(100vh - 200px);
	overflow-y: auto;
	background-color: white;
	padding: 20px;
	border-radius: 8px;
	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	-ms-border-radius: 8px;
	-o-border-radius: 8px;
}

#ecard-wrapper .qr_label {
	font-size: 1.1rem;
	text-transform: uppercase;
}

#ecard-wrapper .popup_content .bank_account {
	color: #0084ff;
}
#ecard-wrapper .popup_content .bank_number,
#ecard-wrapper .qr_label {
	color: #ff3929;
}
#ecard-wrapper .popup_action .qr_wrapper img {
	width: 200px;
	height: 200px;
}
#ecard-wrapper .popup_action .qr_wrapper {
	margin-bottom: 1em;
}
#ecard-wrapper .action_buttons .action > .icon_wrapper,
#ecard-wrapper .popup .icon_wrapper {
	width: 80%;
	max-width: 50px;
	padding: 10px;
	border: solid 1px #ddd;
	background-color: white;
	border-radius: 100%;
	-webkit-border-radius: 100%;
	-moz-border-radius: 100%;
	-ms-border-radius: 100%;
	-o-border-radius: 100%;
}
#ecard-wrapper .action_buttons .icon_wrapper img {
	object-fit: scale-down;
}
#ecard-wrapper .action_buttons .action {
	font-size: 14px;
	color: inherit;
}
#ecard-wrapper .action_buttons .action_btn,
#ecard-wrapper .action_buttons .popup_action {
	flex: 0 0 calc(16.666% - 24px);
	width: calc(16.666% - 24px);
	margin: 12px 12px 0;
	text-align: center;
}

#ecard-wrapper .map_iframe {
	margin-bottom: 1rem;
	width: 100%;
}
#ecard-wrapper .map_iframe iframe {
	width: 100%;
}
#ecard-wrapper .customer_info {
	padding-top: 20px;
	border-top: solid 1px #dddd;
	margin-top: 20px;
	max-width: 100%;
}
#ecard-wrapper .customer_info h2 {
	font-size: 1.3rem;
}
#ecard-wrapper .customer_info h3 {
	font-size: 1.2rem;
}
#ecard-wrapper .customer_info h4 {
	font-size: 1.1rem;
}
#ecard-wrapper .customer_info h5 {
	font-size: 1.05rem;
}
#ecard-wrapper .customer_info h6 {
	font-size: 1rem;
}
@media (max-width: 769px) {
	#ecard-wrapper {
		width: 100%;
		max-width: 600px;
	}
}
@media (max-width: 640px) {
	#ecard-wrapper .avatar {
		width: 50vw;
		margin-top: 20px;
	}
	#ecard-wrapper .avatar_container .qr_code,
	#ecard-wrapper .avatar_container .logo {
		right: -2vw;
		bottom: -3vw;
	}
	#ecard-wrapper .avatar_container .logo {
		right: -18vw;
		padding: 1px;
	}
	#ecard-wrapper .avatar_container .qr_code a,
	#ecard-wrapper .avatar_container .logo .padding_ratio {
		width: 16vw;
		height: 16vw;
	}
	#ecard-wrapper .user_name {
		font-size: 1.6rem;
		text-transform: uppercase;
	}
	#ecard-wrapper .customer_office {
		font-size: 1.4rem;
	}
	#ecard-wrapper .customer_phone {
		font-size: 1.1rem;
	}
	#ecard-wrapper .header_action .after {
		font-size: 1rem;
	}
	#ecard-wrapper .action_buttons {
		padding: 0 8px 20px;
	}
	#ecard-wrapper .action_buttons .action_btn,
	#ecard-wrapper .action_buttons .popup_action {
		flex: 0 0 calc(20% - 16px);
		margin: 12px 8px 0;
	}
}
@media (max-width: 410px) {
	#ecard-wrapper .action_buttons .action_btn,
	#ecard-wrapper .action_buttons .popup_action {
		flex: 0 0 calc(25% - 16px);
		margin: 12px 8px 0;
	}
}
