/* ==========================================================================
   右侧快捷栏（移植自 www.wxmax.cc）
   依赖图片：../image/top2.png（返回顶部）、../image/weixin.jpg（二维码）、
             ../image/icoc.png（图标雪碧图）
   ========================================================================== */

#side-bar.side-pannel {
	position: fixed;
	right: 0;
	z-index: 99;
	bottom: 100px;
}
.side-bar {
	border-bottom: none;
}
.side-bar a {
	display: block;
	/* 原站 format.css 有全局 *{box-sizing:border-box}，此处只在本组件内补上，
	   避免影响整站布局。作用：height:60px 包含 padding-top:15px，
	   使"返回顶部"按钮与其余按钮等高（否则会变成 75px 高）。 */
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	cursor: pointer;
	width: 55px;
	height: 60px;
	margin-bottom: 1px;
	position: relative;
	color: #676767;
	text-align: center;
	background: #9FA0A0;
	text-decoration: none;
}
.side-bar a:hover {
	background: #801e6c;
}
.side-bar .gotop {
	/* 注意：这里不能写 display:none。
	   隐藏由 HTML 上的内联 style="display:none;" 负责；
	   若在 CSS 里写死 display:none，jQuery 的 fadeIn() 清除内联样式后
	   计算值仍是 none，就会退回 <a> 的默认 display:inline，按钮显示不出来。
	   保持 CSS 不干预 display，fadeIn 之后即可恢复 .side-bar a 的 block。 */
	font-size: 24px;
	color: #fff;
	font-weight: 700;
	padding-top: 15px;
	background: none;
	background-image: url(../image/top2.png);
	background-repeat: no-repeat;
	/* 图标 56x69，箭头在最顶部；按钮 55x60。
	   用 center top 让箭头完整显示（center center 会把顶部箭头裁掉）。 */
	background-position: center top;
}
.side-bar .gotop:hover {
	background: none;
	background-image: url(../image/top2.png);
	background-repeat: no-repeat;
	background-position: center top;
}
.side-bar a s {
	display: block;
	margin-left: auto;
	margin-right: auto;
	text-decoration: none;
}
.side-bar a span {
	line-height: 20px;
	padding-left: 30px;
}
.side-bar a.text {
	padding-top: 25px;
}
.side-bar a.qr s {
	position: absolute;
	top: 50%;
	left: 16px;
}
.side-bar a.qr i {
	width: 120px;
	height: 120px;
	position: absolute;
	left: -125px;
	top: 50%;
	margin-top: -90px;
	display: none;
	background-image: url(../image/weixin.jpg);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
}
.side-bar a.qr:hover i {
	display: block;
}
.side-bar a.text.weibo .ii {
	width: 200px;
	height: 60px;
	position: absolute;
	left: -205px;
	top: 50%;
	margin-top: -30px;
	display: none;
	background: #801e6c;
	font-size: 24px;
	color: #fff;
	font-weight: 700;
	font-family: "微软雅黑";
	line-height: 60px;
	font-style: normal;
}
.side-bar a.text .iii {
	width: 200px;
	height: 60px;
	position: absolute;
	left: -205px;
	top: 50%;
	margin-top: -30px;
	display: none;
	background: #801e6c;
	font-size: 24px;
	color: #fff;
	font-weight: 900;
	line-height: 60px;
	font-style: normal;
}
.side-bar a.text.weibo:hover .ii,
.side-bar a.text:hover .iii {
	display: block;
}
.side-bar .text.weibo .ii .qq22 {
	height: 30px;
	width: 30px;
	background-position: -90px 0;
	position: absolute;
	top: 25%;
	left: 17%;
}
.kf {
	width: 135px;
}

/* 图标（s 标签为行内元素，需转成块级才能显示背景） */
.g-icon-qq1,
.g-icon-tel,
.g-icon-qr1 {
	display: block;
	height: 30px;
	width: 30px;
	background-image: url(../image/icoc.png);
	background-repeat: no-repeat;
}
.g-icon-qq1 {
	margin-top: -8px;
	background-position: -30px 0;
}
.g-icon-tel {
	margin-top: -8px;
	background-position: 0 0;
}
.g-icon-qr1 {
	margin-top: -15px;
	background-position: -60px 0;
}
.side-bar a.qr:hover s,
.side-bar a.weibo:hover s,
.side-bar .text.weibo .ii .qq22 {
	background-image: url(../image/icoc.png);
	background-repeat: no-repeat;
}
