body{
	margin: 0px;
	background-color:white;
	min-width:1140px;
	height:100%;
	color:#333333;
}
.jb{
	position:relative;
	left: -215px;
}
.jb>img{
	width:35px!important;
	height:35px!important;
}
#lock{
	float: left;
    width: 35px;
    height: 35px;
    position: absolute;
    left: 331px;
}
.title{
	float: left;
	width:100%;
	height:46px;
	background-color: #e5e5e5;
}
.title-center{
	width: 1140px;
	height: 100%;
	margin: 0 auto;
	text-align: center;
}
.title-center ul li{
	float: left;
	list-style-type: none;
	cursor: pointer;
	width: 120px;
	height: 46px;
	font-size: 15px;
	font-family: "微软雅黑";
	line-height: 46px;
}
.title-center ul{
	margin-left: 300px;
}
.title-center ul li:hover{
	background-color: #dbdbdb;
}
.title .title-center ul li a:hover{
	color: black;
}
.sonSelectLi a {
    color: #e30911;
}
.body{
	background-color: rgb(247, 244, 248);
    width: 100%;
    float: left;
    height:100%;
}
.body-center{
	width: 1140px;
	height:100%;
	margin: 0 auto;
	background: #f7f7f7;
}
.body-center-body{
	width: 100%;
	height:100%;
	min-height: 900px;
	float: left;
	background-color: white;
	margin-top: 15px;
	padding:0 30px;
}
.content{
	background: white;
	padding: 0px 30px 100px;
}
.bg-box{
	width: 100%;
	height: 459px;
	min-width: 1162px;
	background-image: url(../../image/genealogyTeacher/terbg.jpg);
	background-size: 100% 100%;
	position: relative;
	background-position-y:center;
	background-position-x:center;
}
.btn{
	height: 40px;
	width: 214px;
	background: #f14d4d;
	color: white;
	border: 1px solid #f14d4d;
	position: absolute;
	left: 50%;	
	margin-left: -107px;
	top: 80%;
	border-radius: 3px;
}
.btn:hover{
	background: #f86060;
}
.btn:active{
	background: #d64343;
}
.serch-box{
	height: 80px;
	padding-top: 25px;
	padding-left: 20%;
	position: relative;
	box-sizing: border-box;
}
.seltype{
    width: 110px;
    height: 32px;
    line-height: 32px;
    border: 1px solid #e4e4e4;
    background-image: url(../../image/shape.png);
    background-position: 74px;
    background-repeat: no-repeat;
    cursor: pointer;
    background-color: white;
    color: black;
    text-align: left;
    padding:0px 10px;
}
.dropd{
	width: 110px;
    cursor: pointer;
    display: none;
    background: white;
    border: 1px solid #e4e4e4;
    text-align: left;
    z-index: 444;
    box-sizing: border-box;
}
.dropd li{
	height: 30px;
	line-height: 30px;
	padding-left: 6px;
}
.dropd li:hover{
	background: red;
	color: white;
}
.serch-box input[type=text]{
	position: absolute;
	height: 32px;
	width: 39%;
	padding: 10px;
	box-sizing: border-box;
	border: 1px solid #e4e4e4;
}
.serch-box button{
	position: absolute;
    left: 70%;
	height: 32px;
	width: 130px;
	background: #f14d4d;
	border: 1px solid #f14d4d;
	color: white;
	border-radius: 3px;
}
.upporsen-list{
	padding-top: 10px;
	margin-right: 20px;
}
.upporsen{
	width: 134px;
	height: 100%;
	background: #ededed;
	text-align: center;
	box-sizing: border-box;
	display: inline-block;
	float: left;
}
.photo-box,.photo-box img{
	width: 72px;
	height: 72px;
	line-height: 72px;
	background: white;
	border-radius: 90%;
	margin: 0 auto;
	text-align: center;
}
.upporsen .upbtn{
	height: 32px;
	background: #f14d4d;
	border: 1px solid #f14d4d;
	color: white;
	border-radius: 3px;
	margin-top: 30px;
}
h4{
	height: 30px;
	line-height: 30px;
	border-bottom: 1px solid #C7C7C7;
}
.more{
	float: right;
	color: #999999;
	font-weight: bold;
	cursor: pointer;
}
.more:hover{
	color: #f14d4d;
}
.recommend{
	margin-top: 30px;
}
.recommend-list{
	min-height: 180px;
	margin-top: 10px;
	box-sizing: border-box;
	display: flex;
    flex-wrap: wrap;
}
.upporsen span{
	display: inline-block;
	margin-top: 5px;
}
.upporsen p{
	font-size: 12px;
	color: #666666;
}
/* .contact{
	height: 32px;
	width: 100px;
	background: #ededed;
	border: 1px solid #bababa;
	border-radius: 3px;
	color: #666666;
	margin-top: 10px;
} */
.contact:hover{
	background: #f14d4d;
	border: 1px solid #f14d4d;
	color: white;
}
.Instructions p{
	margin-top: 10px;
}
.number{
	margin-top: 30px !important;
}
/*模态框*/
.contactPop{
	display: none;
}
.popdise{
	width: 100%;
    height: 100%;
    background-color: black;
    opacity: 0.5;
    position: fixed;
    top: 0;
    z-index: 300;
}
.popcont>div{
    width: 578px;
    height: auto;
    background-color: white;
    position: fixed;
    left: 50%;
    top: 50%;
    /* transform: translateX(-50%) translateY(-50%); */
    margin-left: -289px;
	margin-top: -150px;
    z-index: 301;
    padding: 20px;
    font-size: 14px;
    box-sizing: border-box;
}
.popcont .poptitle{
    font-size: 18px;
    border-bottom: 1px solid #c7c7c7;
    padding-bottom: 16px;
}
.poptitle span{
	display: inline-block;
	position: relative;
	right: -12px;
    top: -5px;
	float: right;
	width: 32px;
	height: 32px;
}
.contactPop .contact-list{
	height: 30px;
	line-height: 30px;
	margin-top: 20px;
}
.contactPop .contact-list span{
	display: inline-block;
	float: right;
	width: 80%;
	text-align: left;
}
.case-box{
	display: flex;
	flex-wrap: wrap;
}
.case{
	width: 334px;
	height:160px;
	margin-right: 25px;
	margin-top: 25px;
	display: flex;
	cursor: pointer;
}
.case img{
	height:160px;
	width: 120px;
	border-radius: 3px;
}
.details{
	height: 100%;
	padding-left: 20px;
	text-align: left;
	font-size: 12px;
}
.details p{
	height: 30px;
	line-height: 30px;
	color: #999999;
}
.other{
	display: flex;
	margin-top: 30px;
}
.other-box:nth-of-type(1){
	margin-right: 60px;
}
.other-box{
	width: 50%;
}
.otherbg{
	width: 100%;
	margin-top: 10px;
}
.other-box li{
	height: 50px;
	line-height: 50px;
	cursor: pointer;
}
.story-list{
	display: flex;
	margin-top: 20px;
	height: 64px;
}
.story-list span{
	margin-left: 30px;
}
.serch-box button:hover,
.upporsen .upbtn:hover
{
	background: #f86060;
}
.serch-box button:active,
.upporsen .upbtn:active{
	background: #d64343;
}
.other-box li:hover,
.story-list:hover{
	color: #f86060;
}
.other-box li:active,
.story-list:active{
	color:#d64343;
}
.active,.clicks{
	display:none;
}
.cancel:hover{
	color:#666666;
}
/* 修谱师展示样式 */
.message-list{
	width: 250px;
    height: 158px;
    cursor: pointer;
    float: left;
    margin: 10px;
    border-radius: 3px;
    box-sizing: border-box;
    box-shadow: 0 0 3px #c7c7c7;
    
}
.message-list:hover{
    box-shadow: 0 0 3px #666666
}
.message-box{
	height:110px;
	border-bottom: 1px solid #c7c7c7;
	display: flex;
}
.message{
	height: 72px;
	padding: 20px;
    line-height: 34px;
	text-align: left;
    border-radius: 72px;
    position: relative;
}
.message.cont {
    padding-left: 0px;
}
#XPName{
	color:#333333;
	font-size:18px;
}
.message p{
	color:#999999;
	font-size:12px;
    height: 43px;
    line-height: 20px;
    overflow: hidden;
    text-overflow: -o-ellipsis-lastline;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.message img {
    width: 72px;
    height: 72px;
    background: white;
    border-radius: 90%;
    margin: 0 auto;
    text-align: center;
}
.paizi{
	height:17px !important;
	width:15px !important;
    position: absolute;
    left: 116px;
    top: 30px;
}
.call{
	height: 48px;
    width: 100%;
    background: #f14d4d;
    border: 1px solid #f14d4d;
	border-radius:0 0 3px 3px;
	color: white;
	position: relative;
    top: -46px;
    opacity: 0;
	transition: all 0.5s ease-in 0s;
}
.call:hover{
	background: #f14d4d;
	top: -46px;
	opacity: 1;
}
.call:active{
	background: #d64343;
}
.buttomBox{
	height:45px;
}
.fruit{
	display: flex;
	height: 45px;
	line-height:45px;
    width: 100%;
}
.fruit div{
	width: 50%;
	text-align: center;
	color:#999999;
    font-size:12px;
}
.fruit div span{
	color:#666666;
	font-size:14px;
    margin-left: 10px;
}