/*
copyright: 成都哺恩堂养老护理中心
author: 成都全时云信息技术有限公司
date: 2017-03
for: 公用部分
*/
/* CSS Document */
/*
头部
*/
#header {
	width: 100%;
	height: 88px;
	overflow: hidden;
}
#header .logo {
	margin-left: 4px;
}
#header nav {
	font-size: 0;
}
#header nav a, #header nav div {
	display: inline-block;
}
#header nav a {
	padding: 4px;
	font-size: 16px;
	color: #555;
	line-height: 80px;
	margin: 0 20px;
}
#header nav a:hover, #header nav a.active {
	color: #e1b56e;
	border-bottom: 4px solid #e1b56e;
	padding: 4px 4px 0;
}
#header nav div {
	width: 0;
	height: 12px;
	border: 1px solid #d5d5d5;
}

/*
链接
*/
#link {
	width: 100%;
	height: 60px;
	background-color: #1e1e1e;
}
#link nav {
	font-size: 0;
	text-align: center;
	margin: 0 auto;
}
#link nav a, #link nav div {
	display: inline-block;
}
#link nav a {
	padding: 0 5px;
	margin: 0 21px;
	font-size: 16px;
	color: #fff;
	line-height: 60px;
}
#link nav a:hover {
	color: #e1b56e;
}
#link nav div {
	width: 0;
	height: 12px;
	border-left: 1px solid #292929;
}

/*
底部
*/
#footer {
	width: 100%;
	background-color: #2c2c2c;
	display: table;
	padding: 43px 0 30px;
}
#footer .main {
	width: 852px;
	margin: 0 auto;
	display: table;
	padding-bottom: 20px;
}
#footer .main li {
	width: 284px;
	float: left;
}
#footer .main li dl {
	width: 210px;
	margin: 0 auto;
}
#footer .main li dt, #footer .main li dd {
	width: 100%;
	text-align: center;
	float: left;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}
#footer .main li dt, #footer .main li dd, #footer .main li dt a, #footer .main li dd a {
	color: #fff;
}
#footer .main li dt a:hover, #footer .main li dd a:hover {
	color: #e1b56e;
}
#footer .main li dt {
	font-size: 18px;
	height: 56px;
	line-height: 56px;
	font-weight: bold;
	border-bottom: 1px solid #262626;
	margin-bottom: 20px;
}
#footer .main li dd {
	font-size: 14px;
	height: 24px;
	line-height: 24px;
}
#footer .follow {
	width: 960px;
	margin: 0 auto;
	text-align: center;
	display: table;
	padding-bottom: 24px;
	border-bottom: 1px solid #262626;
	position: relative;
}
#footer .follow .title {
	font-size: 14px;
	color: #fff;
	line-height: 30px;
}
#footer .follow ul {
	width: 318px;
	margin: 12px auto 0;
}
#footer .follow li {
	width: 106px;
	float: left;
}
#footer .follow a {
	width: 46px;
	height: 46px;
	display: block;
	margin: 0 auto;
	background: url(../image/bg.png) no-repeat;
}
#footer .follow .me {
	background-position: -120px -80px;
}
#footer .follow .me:hover {
	background-position: -170px -80px;
}
#footer .follow .wb {
	background-position: -220px -80px;
}
#footer .follow .wb:hover {
	background-position: -270px -80px;
}
#footer .follow .wx {
	background-position: -320px -80px;
}
#footer .follow .wx:hover {
	background-position: -370px -80px;
}
#footer .follow .qrcode {
	position: absolute;
	bottom: 75px;
	left: 510px;
	z-index: 1;
	width: 151px;
	height: 164px;
	background-image: url(../image/footerQrcode.png);
	display: none;
}
#footer .links {
	width: 930px;
	margin: 25px auto 0;
	text-align: center;
	font-size: 0;
}
#footer .links a, #footer .links div {
	display: inline-block;
	font-size: 12px;
}
#footer .links a {
	color: #4f4f4f;
	line-height: 20px;
}
#footer .links a:hover {
	color: #949494;
}
#footer .links div {
	width: 0;
	height: 12px;
	border-left: 1px solid #4f4f4f;
	margin: 0 6px;
}

/*
根部
*/
#aside {
	width: 100%;
	height: 60px;
	line-height: 60px;
	background-color: #1e1e1e;
	font-size: 12px;
	text-align: center;
}
#aside, #aside a {
	color: #646464;
}
#aside a:hover, #aside span {
	color: #949494;
}

/*
分页
*/
.pagination {
	width: 100%;
	text-align: center;
	margin-top: 50px;
}
.pagination li {
	margin: 5px 5px 0;
	display: inline-block;
	*display: inline;
	font-size: 20px;
	line-height: 28px;
}
.pagination li a {
	height: 28px;
	display: block;
	border-bottom: 2px solid #fff;
	color: #555;
	padding: 0 3px;
}
.pagination li a:hover, .pagination li.active a {
	color: #e1b56e;
	border-color: #e1b56e;
}

/*------回到顶部的按钮------*/
.top_up{ width:50px; height:50px; display:block; background:#666666 url(../image/top_up2.png) no-repeat; position:fixed; top:80%; right:20px; _position:absolute; _top:expression(offsetParent.scrollTop);  _margin-top:80%; z-index:10; display:none; border-radius:5px; }
.top_up:hover{ background:#cccccc url(../image/top_up2.png) no-repeat 0px -50px;}
.pagination2 {
	width: 100%;
	/*text-align: center;*/
	margin-top: 40px;
}
.pagination2 li {
	margin: 5px 5px 0;
	display: inline-block;
	*display: inline;
	font-size: 20px;
	line-height: 30px;
	width:45%; overflow:hidden; height:30px;
}
.pagination2 .prev {
	float: left;
}
.pagination2 .next {
	float: right; text-align:right
}
.pagination2 li a {
	height: 28px;
 
	border-bottom: 2px solid #fff;
	color: #555;
	padding: 0 3px;
}
.pagination2 li a:hover {
	color: #e1b56e;
	border-color: #e1b56e;
}

