@charset "gb2312";
/*
copyright: 成都哺恩堂养老护理中心
author: 成都全时云信息技术有限公司
date: 2017-03
for: 社区居家养老
*/
/* CSS Document */
body {
	background-color: #FFFFFF;
}
#main {
	background-color: #eee;
}

/*
横幅
*/
#banner, #banner img {
	width: 100%;
}
#banner {
	font-size: 0;
	position: relative;
}
#banner div {
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 1;
	margin: -37.5px 0 0 -320px;
	width: 640px;
	height: 75px;
	background: url(../images/bannerBg6.png) no-repeat center center;
	text-align: center;
	font-size: 50px;
	color: #fff;
	line-height: 75px;
}

/*
主体
*/
#main {
	width: 100%;
	padding: 35px 0;
	display: table;
}
#main ul {
	width: 1210px;
	margin: 0 auto;
}
#main li {
	width: 605px;
	float: left;
}

#main li a {
	background-color: #e1b56e;
	color: #fff;
	width: 595px;height: 460px;
	overflow: hidden;
	display: block;
	margin: 5px auto;
	position: relative;border:#f7f7f7 solid 1px;
}

#main li.active a {  border-radius:5px; 
	color: #f9f9f9;
	
}
#main li .bg {position: absolute;
	width: 595px;height: 460px;
	filter: alpha(opacity=40);
	-webkit-opacity: .4;
	-moz-opacity: .4;
	-ms-opacity: .4;
	-o-opacity: .4;
	opacity: .4;
	z-index: 0;
	background-color: #e1b56e;
	bottom: -100%; 
	-webkit-transition: bottom .3s;
	-moz-transition: bottom .3s;
	-ms-transition: bottom .3s;
	-o-transition: bottom .3s;
	transition: bottom .3s;
}
#main li.active .bg {bottom: 0;z-index: 0;}



#main li div.pic, #main li h1, #main li ol {
	position: absolute;
}
#main li div, #main li h1 {
	-webkit-transition: bottom .3s;
	-moz-transition: bottom .3s;
	-ms-transition: bottom .3s;
	-o-transition: bottom .3s;
	transition: bottom .3s;
}
#main li .pic {
	bottom: 55%;
	left: 50%;
	margin-left: -48px;
	width: 96px;
	height: 90px;
	background-repeat: no-repeat;
	background-position: bottom center;z-index: 6;
}
#main li.active .pic {
	bottom: 70%;
	background-position: bottom center;
}
#main li h1 {
	bottom: 40%;
	left: 10%;
	width: 80%;
	height: 50px;
	overflow: hidden;
	font-size: 30px;
	line-height: 50px;
	text-align: center;
	font-weight: bold;
	white-space: nowrap;
	text-overflow: ellipsis;
	z-index:9
}
#main li.active h1 {
	bottom: 48%;
}
#main li ol {
	bottom: -125px;
	left: 10%;
	width: 80%;
	display: none;
	-webkit-transition: .3s;
	-moz-transition: .3s;
	-ms-transition: .3s;
	-o-transition: .3s;
	transition: .3s;z-index:9
}
#main li.active ol {
	bottom: 18%;
	display: block;
}
#main li li {
	width: 100%;
	height: 25px;
	font-size: 20px;
	color: #ffffff;
	line-height: 25px;
	float: left;
	overflow: hidden;
	text-align: center;
	white-space: nowrap;
	text-overflow: ellipsis;
}







