﻿.ui-popup{width:270px;}
.ui-dialog-grid{width:100%!important;}
.main{padding: 30px 0 50px; margin-top:-30px;}
.content-title-bg{ height:80px; background-color:#7d0002; position:relative;}
.content-title{position:absolute; bottom:0;left:0;background-color:#7d0002;border-radius: 8px;}
.contetn-title1{float:left; cursor:pointer;}
.contetn-title1 p:nth-child(1){font-size:30px; color:#FFF; line-height:22px; text-align:center;padding: 22px 65px 0 65px;margin-top:24px;}
.contetn-title1 p:nth-child(2){font-size:14px; color:#FFF; line-height:50px; text-align:center;}
.contetn-title1.active p{background-color:#f8ebda; color:#7d0000;}
.content-nr{ background-color:#f8ebda; padding:10px 40px;}
.nr-title{ padding-top:30px;}
.nr-title-lf{ float:left; font-size:30px; line-height:50px; color:#7d0000; background:url(../images/sacrifice/tt.png) no-repeat left; padding-left:30px;}
.nr-title-rg{ float:right; width:165px;margin-top:15px;}
.ss-name input{ float:left; border:1px solid #7d0000; width:120px; font-size:14px; line-height:24px;padding:0 5px; background-color:#f8ebda;}
.ss-img{ float:left; width:25px; margin-left:8px;}
.ss-img img{width:25px; cursor:pointer;display: block;}
.nr-font1{ font-size:18px; letter-spacing:1px; color:#000; padding:20px 0;}
.li-img{ margin-top:30px;}
.li-img ul{ margin-top:25px;}
.li-img ul li{ float:left; width:15%; margin:0  0.8%; margin-bottom:25px; cursor:pointer; height:236px;}
.li-img ul li .pic_hn{height: 210px;overflow: hidden;display: block;box-sizing: border-box;}

.li-img ul li:hover .pic_hn{ border:2px solid #7d0002;}
.li-img ul li:hover .yx{ color:#7d0002;}
.li-img ul li img{width:100%; box-sizing:border-box;display:block;}
.yx{ font-size:16px; line-height:24px; text-align:center;}
.page{ float:none; margin:0 auto; padding-top:30px; text-align:center;}
.page ul{ }

/*公共祭奠*/
.nr-img{ margin:35px auto;width: 92%; position: relative;}
.nr-img .personal-box{position: relative;}
.nr-img .btn{position: absolute;right: 25px;bottom: 20px;width: 140px;}
.nr-img img { display:block; width: 100%;}
.nr-img .btn{position: absolute; right: 25px; bottom:20px;width: 140px;}
.gg-title{ line-height:50px; font-size:14px; border-bottom:1px solid #7d0002;}
.gg-title span{ font-size:20px; line-height:50px;background:url(../images/sacrifice/tt.png) no-repeat center right; padding-right:12px; background-size:1px 95%;
                 margin-right:20px;}
.gg-nr-title{ font-size:14px;}
.gg-nr{ margin-top:30px;letter-spacing:1px; }
.gg-nr-title span{ font-size:16px; font-weight:bold;letter-spacing:1px;}
.gg-nr-font{font-size:14px; margin-top:15px; letter-spacing:1px;border-bottom:1px dashed #898989; padding-bottom:15px;}
.from{ margin-top:20px; padding-bottom:30px;}
.from .names{display: inline-block;width: 70px;text-align: right;margin-right: 10px;float: left;
    margin-top: 5px;}
/*.from-name1{ font-size:18px;}*/
.from-name1 input{ background-color:#f8ebda; border:1px solid #707070; height:24px; width:200px; padding-left:5px;}
.from-name{ margin:10px 0;}
.from-name3 input{ background-color:#f8ebda; border:1px solid #707070; height:24px; width:200px; padding-left:5px;}
.textarea1{ width:400px; height:90px; background-color:#f8ebda;border:1px solid #707070; padding:10px 10px;}
#btnSubmit.fron-btn{ display:block; width:120px; height:36px; border-radius:5px; line-height:36px; text-align:center; background-color:#7d0000; color:#FFF; margin-top:20px; cursor:pointer;  margin-left:100px;font-size:14px;font-size:1.4rem;opacity: 0.85;}
#btnSubmit.fron-btn:hover{opacity:1;}
#codebtnSubmit.fron-btn2{ display:inline-block; width:93px; height:28px; border-radius:3px; border:none; line-height:28x; text-align:center; background-color:#7d0000; color:#FFF; margin-top:2px; cursor:pointer; }
.from-name3 .imgCode{display:inline-block;}
.from-name3 .imgCode img{vertical-align:middle;}

.personal-intro{margin: 12px auto;  width: 92%;}
.personal-intro .name{font-size: 16px;font-size: 1.6rem; font-weight: bold; line-height: 2;margin-bottom: 5px;}
.personal-intro .pic{width: 94px;}
.personal-intro .pic img{display: block;width: 100%;}
.personal-intro .txt>span{display: block;font-weight: bold;}
.personal-intro .text{width: calc(100% - 110px);}
.personal-intro .txt>p{line-height: 1.8;}

.public-con{width: 100%;height: 100%;}
.public-con .main-box{ width: 100%;height: 100%; background: url("../images/sacrifice/bg_.jpg?act=3") no-repeat center;background-size: cover; position: relative; overflow: hidden;}
.public-con .follower img{display: block;width: 100%;}
.public-con .follower{width: 155px; position: absolute;bottom: 10%; display: none;}
.public-con .follower-lt{left: 27.5%;}
    .public-con .follower-rt {
        right: 27.5%;
    }
.person-con .follower-lt{left: 37.5%;bottom: 30%;}
.person-con .follower-rt {
    right: 37.5%;
    bottom: 30%;
}
.public-con .smoke img{display: block;width: 100%;}
.public-con .smoke{position: absolute;bottom: 22%;left: 50%;margin-left: -36px; display: none; width: 72px;}
.public-con .person img{display: block;width: 100%;}
.public-con .person{position: absolute;bottom: 5%;left: 50%;margin-left: -60px; width: 120px; display: none; height:320px;
    perspective: 500px;
    -webkit-perspective: 500px; /* Safari and Chrome */}
.public-con .person { background:url(../images/sacrifice/bends2.png) no-repeat center;background-size:contain;}
.person-con .person{margin-left: -100px; width: 200px;height: 492px;}
.public-con .person.bows{
    background-image:url(../images/sacrifice/bends1.gif);
}
.public-con .candle img{display: block;width: 100%;}
.public-con .candle{position: absolute; bottom: 22%;width: 80px; display: none;}
.public-con .candle1{left: 42%;}
.public-con .candle2{right: 42%;}
.public-con .btn-block{position: absolute; bottom: 0; left: 50%;margin-left: -150px;background: rgba(125, 0, 2, 0.6);width: 300px; padding: 10px 0;border-radius: 8px; box-shadow: 0 0 10px rgba(125, 0, 2, 0.6);}


@media screen and (max-width: 640px) {
    .public-con .btn-block {
        position: absolute;
        bottom: 0;
        left: 0%;
        margin-left: 0px;
        background: rgba(125, 0, 2, 0.6);
        width: 100%;
        padding: 10px 0;
        border-radius: 8px;
        box-shadow: 0 0 10px rgba(125, 0, 2, 0.6);
    }
}


.public-con .btn-box>li{float: left;width: 25%;text-align: center; color: #fff; cursor: pointer; text-align:center;}
.public-con .btn-box>li>img{width: 30px; }
.public-con .catebox{position: absolute;left: 0;top: -400%;width: 100%; font-size: 0;background-color: rgba(0, 0, 0, 0.65);padding: 6px 0;height: 150%;
	box-sizing: border-box; border-radius: 8px; display: none;}
.public-con .choice{display: inline-block; width: 25%; text-align: center; cursor: pointer;}
.public-con .choice img{width: 60%;vertical-align: middle;}
.choiceper{height:140%!important;top:-140%!important;}
.choiceper .choice p{color:#dfdfdf;font-size:12px;line-height: 28px;}
@media(max-width:1219px){

}
@media(max-width:1024px){
    .public-con .follower-lt{left: 0;}
    .public-con .follower-rt{right: 0;}
    .person-con .follower-lt{left: 35%;bottom: 30%;}
    .person-con .follower-rt {
        right: 35%;
        bottom: 30%;
    }
    .public-con .candle1{left: 15%;}
    .public-con .candle2{right: 15%;}
    .contetn-title1 p:nth-child(1){font-size:24px;} 
    .nr-title-lf{font-size:20px;line-height: 1.2;}
    .content-nr{padding:10px 15px;}
    .nr-title-rg{margin-top:0;}
    .nr-font1{font-size:14px;}
    .li-img ul li{width:23.2%;}
    .personal-intro .text{width:calc(100% - 100px);}
    .personal-intro .txt>p{line-height:1.4;}
}
@media(max-width:768px){
    .public-con .person {
        bottom: -4%;
    }
    .public-con .candle{width: 56px;}
    .public-con .follower{width: 155px;}
    .person-con .follower-lt{left: 0;}
    .person-con .follower-rt{right: 0;}
    .public-con .person{ width: 56px;margin-left: -28px;}
    .person-con .person {  margin-left: -86px;  width: 172px; height: 446px;}
    .public-con .smoke{width: 50px;margin-left: -25px;}
    .contetn-title1 p:nth-child(1){font-size:16px; padding:6px 30px 0 30px;margin-top: 14px;}
    .contetn-title1 p:nth-child(2){font-size:12px;line-height:20px;padding-bottom: 6px;}
    .content-title-bg{height:42px;}
    .main{margin-top:-10px; padding-top:10px;}
    .textarea1{width:260px;}
    .from-name3 input{width:120px;}
    .from-name1 input{width:170px;}
    .nr-img .btn{width:82px;right: 10px;bottom: 5px;}
    .li-img ul li{width:48.2%;}
    .personal-intro .name{margin-bottom:0;}
	.personal-intro,.nr-img{width:100%;}
}
@media(max-width:375px){
    .public-con .person {
        bottom:-4%;
    }
  	.textarea1 { width: 185px;}
	#txtTel{width: 80px;}

}