﻿/* 右侧二维码 */
.twocode {
	width: 40px;
	height: 40px;
	position: fixed;
	bottom: 90px;
	right: 10px;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
	z-index: 99999;
}
.btnCode {
	border-radius: 4px;
	background: #111 url(../images/sidebar.png) center -86px no-repeat;
	width: 40px;
	height: 40px;
	background-size: 24px 151px;
	display: inline-block;
	cursor: pointer;
	opacity: 0.5;
}
.twocode .codeBox {
	position: absolute;
	right: 40px;
	top: -200px;
	background: #fff;
	border: 1px solid #dbdbdb;
	box-sizing: border-box;
	border-radius: 4px;
	padding: 10px;
	display: none;
	z-index: 99999;
}
.twocode:hover .codeBox {
	display: block;
}
.cd-top {
	z-index: 99999;
	display: inline-block;
	height: 40px;
	width: 40px;
	position: fixed;
	bottom: 40px;
	right: 10px;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
	overflow: hidden;
	text-indent: 100%;
	white-space: nowrap;
	border-radius: 4px;
	background: #111 url(../images/toph.jpg) no-repeat center 50%;
	visibility: hidden;
	opacity: 0;
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	transition: all 0.3s;
}
.cd-top.cd-is-visible {
	visibility: visible;
	opacity: 1;
}
.cd-top.cd-fade-out {
	opacity: 0.5;
}
.cd-top:hover {
	background-color: #4DC060;
	opacity: 1;
}
@media only screen and (min-width:768px) {
.cd-top {
	right: 20px;
	bottom: 20px;
}
.twocode {
	right: 20px;
}
}
@media only screen and (min-width:1024px) {
.cd-top {
	height: 40px;
	width: 40px;
	right: 30px;
	bottom: 30px;
}
.twocode {
	right: 30px;
}
}
