@charset "utf-8";
/*============================================================
 右侧浮动组件（服务热线 / 企业微信）
 供 登录页(login.html)、注册页(register.html) 等页面共用
 说明：使用独立字体族 ynq-float，避免与各页面已有的 ynq
       字体族（旧版/新版 iconfont）相互覆盖导致图标错乱
============================================================*/
@font-face{
	font-family: "ynq-float";
	src: url('icontfont/new/iconfont.woff2?t=1663122308283') format('woff2'),
		 url('icontfont/new/iconfont.woff?t=1663122308283') format('woff'),
		 url('icontfont/new/iconfont.ttf?t=1663122308283') format('truetype');
}
.ynq-float{
	font-family: "ynq-float" !important;
	font-size: 16px;
	font-style: normal;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
.ynq-float-phone:before{
	content: "\e969";
}
.ynq-float-weixin:before{
	content: "\e600";
}

/* 浮标容器 */
.ynq-floating{
	width: 64px;
	height: auto;
	position: fixed;
	right: 0px;
	top: 30%;
	z-index: 200;
}
.ynq-floating a{
	display: flex;
	display: -webkit-flex;
	align-items: center;
	-webkit-align-items: center;
	justify-content: center;
	-webkit-justify-content: center;
	width: 30px;
	height: 30px;
	padding: 5px 5px;
	border-radius: 5px;
	-webkit-border-radius: 5px;
	-ms-border-radius: 5px;
	-moz-border-radius: 5px;
	margin-bottom: 5px;
	background: rgba(52, 98, 253, .6);
	transition: ease 0.3s;
	-webkit-transition: ease 0.3s;
	-ms-transition: ease 0.3s;
	-moz-transition: ease 0.3s;
	position: relative;
}

/* 悬停提示卡片 */
.ynq-floating-tip{
	position: absolute;
	width: 200px;
	background: #fff;
	right: 45px;
	top: 0;
	padding: 20px;
	border-radius: 5px;
	-webkit-border-radius: 5px;
	-ms-border-radius: 5px;
	-moz-border-radius: 5px;
	display: none;
	box-shadow: 0 0 8px rgba(0,0,0,.22);
	-webkit-box-shadow: 0 0 8px rgba(0,0,0,.22);
	-ms-box-shadow: 0 0 8px rgba(0,0,0,.22);
	-moz-box-shadow: 0 0 8px rgba(0,0,0,.22);
	color: #000000;
	font-size: 16px;
}
.ynq-floating a:hover .ynq-floating-tip{
	display: block;
}
.ynq-floating a:hover{
	background: rgba(255, 255, 255, 1);
	color: rgba(52, 98, 253, 1);
}
.ynq-floating a:hover i,
.ynq-floating a:hover p{
	color: rgba(52, 98, 253, 1);
}

/* 图标与背景框严格居中 */
.ynq-floating p{
	margin: 0;
	padding: 0;
	width: 100%;
	height: 100%;
	display: flex;
	display: -webkit-flex;
	align-items: center;
	-webkit-align-items: center;
	justify-content: center;
	-webkit-justify-content: center;
	text-align: center !important;
	font-size: 12px;
	color: #fff;
}
.ynq-floating p>i{
	display: block;
	margin: 0;
	padding: 0;
	color: #fff;
	font-size: 22px;
	line-height: 1;
}
/* 电话图标字形墨迹比微信偏上 0.5px，做视觉补偿使其与背景框严格居中 */
.ynq-floating p>i.ynq-float-phone{
	position: relative;
	top: 0.5px;
}
/* 隐藏图标下方的文字说明 */
.ynq-floating p:nth-child(2){
	display: none;
}
