﻿html,
body {
    width: 100%;
    height: 100%;
}

body,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
code,
form,
fieldset,
legend,
input,
textarea,
p,
blockquote,
th,
td {
    margin: 0;
    padding: 0
}

table {
    border-collapse: collapse;
    border-spacing: 0
}

fieldset,
img {
    border: 0
}

address,
caption,
cite,
code,
dfn,
em,
strong,
th,
var {
    font-style: normal;
    font-weight: normal
}

ol,
ul {
    list-style: none
}

caption,
th {
    text-align: left
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-size: 100%;
    font-weight: normal
}

q:before,
q:after {
    content: ''
}

abbr,
acronym {
    border: 0;
    font-variant: normal
}

sup {
    vertical-align: text-top
}

sub {
    vertical-align: text-bottom
}

input,
textarea,
select {
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    *font-size: 100%
}

legend {
    color: #000
}


/*--------------------默认样式开始------------*/

body {
    color: #333333;
    background-color: #f8f8f8;
    font: 14px/1.5 "Microsoft YaHei", "微软雅黑", Arial, sans-serifTahoma, Helvetica;
    margin: 0px;
    padding: 0px;
}

div {
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

a,
a:hover,
a:active,
a:visited,
a:link,
a:focus {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -webkit-tap-highlight-color: transparent;
    outline: none;
    /*background: none;*/
    text-decoration: none;
}

.fl {
    float: left;
}

.fr {
    float: right;
}

.show {
    display: block;
}

.hide {
    display: none;
}

.pr {
    position: relative;
}

.pa {
    position: absolute;
}

.pf {
    position: fixed;
}

.tac {
    text-align: center;
}


/*--------------------默认样式结束------------*/

.contain {
    width: 100%;
    max-width: 750px;
    min-height: 100%;
    padding-bottom: 0.6rem;
    margin: 0 auto;
    background: url('../images/home_bg_repeat.jpg') center repeat-y;
    background-size: cover;
}


/* 首页样式 开始 */

.home-contain {
    padding: 0.2rem;
}

.temple-list .temple-link {
    display: block;
}

.temple-list .temple-item {
    padding: 0.426667rem 0 0.4rem 0.426667rem;
    display: inline-flex;
    justify-content: space-between;
    border-bottom: 1px solid #aca49c;
    font-size: 0.25rem;
}

.temple-list .temple-item dt {
    font-size: 0.12rem;
    width: 2.5rem;
}

.temple-list .temple-item dt img {
    width: 2.2rem;
}

.temple-list .temple-item dt .Merit_Goto {
    text-align: center;
    float: left;
    margin: 0 auto;
    border-radius: 10px;
    color: black;
    font-size: 0.25rem;
    background-color: red;
    color: #ffffff;
    padding: 5px;
    font-size: 0.3rem;
}

.temple-list .temple-item dd {
    width: 6.4rem;
    /*position: relative;*/
}

.temple-list .temple-item .temple-name {
    font-size: 0.48rem;
    color: #3d3d3c;
    line-height: 1.2;
}

.temple-list .temple-item .temple-desc {
    font-size: 0.446667rem;
    color: #5f5f5c;
    line-height: 0.5rem;
    margin-top: 0.15rem;
}

.temple-list .temple-item .benediction-cont {
    position: absolute;
    right: 0;
    bottom: 0;
    min-width: 2rem;
    height: 0.4rem;
    line-height: 0.4rem;
    padding-left: 0.826667rem;
    font-size: 0.37333333rem;
    color: #9a8466;
    background: url('../images/benediction_icon.png') 0 center no-repeat;
    background-size: contain;
}

.loadall {
    text-align: center;
    display: block;
    padding: 0.4rem;
    font-size: 0.32rem;
    color: #5f5f5c;
}


/* 首页样式 结束 */


/* 详情 开始*/

.temple-detail .temple-caver {
    height: 5rem;
    margin-bottom: 1.0rem;
}

.temple-detail .temple-caver img {
    width: 100%;
    height: 5rem;
}

.temple-header {
    padding: 0.1rem 0.32rem 0.35rem;
    background-color: #fcecb8;
}

.temple-header-before {
    display: flex;
    padding: 0.1rem 0 0.3rem;
    border-bottom: 1px solid #70706f;
}

.temple-header-before .header-before-l {
    width: 100%;
    padding-right: 0.4rem;
    font-size: 0.41rem;
    color: #5f5f5c;
}

.temple-info-box h3 {
    font-size: 0.5rem;
    font-weight: bold;
    color: #3d3d3c;
    margin-bottom: 0.1rem;
}

.temple-info-box p {
    display: flex;
    margin-bottom: 0.1rem;
}

.temple-info-box p .info-label {
    white-space: nowrap;
    color: #3d3d3c;
    font-weight: bold;
}

.temple-header-before .header-before-r {
    padding-top: 0.1rem;
}

.temple-header-before .header-before-r a {
    width: 2.666667rem;
    height: 0.8rem;
    display: block;
    text-align: center;
    line-height: 0.8rem;
    border-radius: 9px;
    background-color: #ea9518;
    color: #fff;
    font-size: 0.4rem;
}

.temple-header-before .header-before-r .my-benediction {
    background-color: #36ab60;
    margin-top: 0.24rem;
}

.temple-header-after {
    padding-top: 0.25rem;
    line-height: 0.55rem;
    font-size: 0.41rem;
    color: #5f5f5c;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box !important;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.buddhist-inner {
    padding: 0.266667rem 0.4rem 0.4rem;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.buddhist-item {
    width: 4.333333rem;
    height: 5.866667rem;
    background-color: #fcecb8 !important;
    margin-top: 0.4rem;
    padding: 2px;
}

.buddhist-item:nth-child(1),
.buddhist-item:nth-child(2) {
    margin-top: 0;
}

.buddhist-item .img-box img {
    width: 100%;
    height: 4.266667rem;
}

.buddhist-item .buddhist-info {
    padding-left: 0.333333rem;
    font-size: 0.36rem;
    color: #111;
}

.buddhist-item .buddhist-info .name {
    padding-top: 0.16rem;
}

.buddhist-item .buddhist-info .pray-count {
    display: flex;
    align-items: center;
    padding-top: 0.15rem;
}

.buddhist-item .buddhist-info .pray-count span {
    height: 0.4rem;
    padding-left: 0.6rem;
    line-height: 0.4rem;
    background: url('../images/light_default.png') no-repeat 0 center;
    background-size: contain;
}

.buddhist-item .buddhist-info .pray-count .pray-before {
    margin-right: 0.6rem;
    background-image: url('../images/light_open.png');
}

.temple-detail .moral-box {
    display: inline-block;
    display: block;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 1.28rem;
    line-height: 1.28rem;
    background-color: #fcecb8;
    font-size: 0.426667rem;
    color: #000;
    padding: 0 0.426667rem;
}

.temple-detail .moral-box img {
    width: 0.4666667rem;
    height: 0.4666667rem;
}

.temple-describe-inner {
    margin-top: 0.4rem;
    background-color: #fcecb8;
    padding: 0 0.3rem 0.5rem;
    margin-bottom: 60px;
}

.temple-describe-inner h3 {
    height: 1.28rem;
    line-height: 1.28rem;
    font-size: 0.426667rem;
    border-bottom: 1px solid #70706f;
    margin-bottom: 0.35rem;
}

.temple-describe-inner p {
    font-size: 0.4rem;
    color: #5f5f5c;
    line-height: 0.7rem;
}

.temple-describe-inner img {
    max-width: 100%;
    margin: 0.25rem 0;
}


/* 详情 结束*/


/* 我要供灯页面 样式 开始 */

.pray-contain {
    padding-bottom: 1.6rem;
}

.pray-contain .hr {
    border-bottom: 0.5px solid #c1c1c1;
}

.pray-contain header {
    padding: 0.24rem 0.24rem 0.4rem;
    background-color: #fcecb8;
    margin-bottom: 0.14rem;
}

.pray-contain .header-temple {
    display: flex;
    margin-bottom: 0.1rem;
}

.pray-contain .header-temple dt {
    width: 2.23rem;
    height: 2.23rem;
    font-size: 0;
}

.pray-contain .header-temple dt img {
    width: 100%;
    height: 100%;
}

.pray-contain .header-temple dd {
    width: 6.6rem;
    padding-left: 0.466667rem;
    font-size: 0.45rem;
    color: #5f5f5c;
}

.pray-contain .header-temple-desc {
    line-height: 0.55rem;
    font-size: 0.45rem;
    color: #5f5f5c;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box !important;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.pray-contain .pray-belly {
    background-color: #fcecb8;
}


/*定义单选按钮*/

.radio-box {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    padding: 0.165rem 0 0.165rem 0.33rem;
    font-size: 0.5rem;
    color: #ac8505;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.radio-box .radio-item {
    display: flex;
    align-items: center;
    height: 0.48rem;
    line-height: 0.48rem;
    margin-right: 0.46rem;
    padding-top: 0.165rem;
    padding-bottom: 0.165rem;
}

.radio-box .radio-item span {
    width: 0.48rem;
    height: 0.48rem;
    border-radius: 100%;
    border: 2px solid #efb336;
    margin-right: 0.2rem;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    position: relative;
}

.radio-box .radio-item.cheacked span:before {
    content: '';
    width: 0.266667rem;
    height: 0.266667rem;
    position: absolute;
    background-color: #F36924;
    border-radius: 100%;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.pray-contain .pray-light {
    padding: 0.4rem;
    padding-bottom: 0.14rem;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.pray-contain .pray-light:active {
    background-color: transparent;
}

.pray-contain .pray-light .item {
    /* width: 1.933333rem; */
    padding: 3px;
    height: 0.67rem;
    border: 2px solid #ac8505;
    border-radius: 0.14rem;
    text-align: center;
    line-height: 0.67rem;
    color: #ac8505;
    font-size: 0.4rem;
    margin-bottom: 0.266667rem;
}

.pray-contain .pray-light .item.select {
    background-color: #F36924;
    color: #fff;
}

.pray-cont {
    padding: 0.4rem;
    padding-bottom: 0.1rem;
    font-size: 0.5rem;
    color: #ac8505;
}

.pray-cont .pray-cont-inner {
    display: flex;
    justify-content: space-between;
}

.pray-cont .cont-btn-box {
    display: flex;
    justify-content: space-between;
    line-height: 0.7rem;
}

.pray-cont .cont-btn-box button {
    padding: 0;
    width: 0.85rem;
    height: 0.7rem;
    background: url('../images/cont_minus.png') center no-repeat;
    background-color: transparent;
    background-size: contain;
    border: 1px solid #ac8505;
    font-size: .6rem;
    color: #ac8505;
    vertical-align: middle;
    outline: none;
}

.pray-cont .cont-btn-box button.cont-add {
    background-image: url('../images/cont_add.png');
}

.pray-cont .cont-btn-box button.not {
    opacity: 0.5;
}

.pray-cont .cont-btn-box p {
    padding: 0 0.2rem;
    min-width: 0.7rem;
    color: #111;
    text-align: center;
}

.pray-cont .radio-box {
    padding: 0.2rem 0;
}

.pray-cont .radio-box .radio-item {
    margin-right: 0.6rem;
}

.pray-contain .pray-text {
    padding: 0.3rem 0.3rem 0.5rem;
}

.pray-contain .pray-text h4 {
    font-size: 0.5rem;
    color: #ac8505;
    margin-bottom: 0.33rem;
}

.pray-contain .pray-text h4 span {
    color: #8d8c8a;
    font-size: 0.4rem;
    margin-left: 0.2rem;
}

.pray-text-ipt {
    width: 100%;
    height: 1.1rem;
    padding-left: 0.2rem;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    background-color: transparent;
    border: 1px solid #8e8e8e;
    font-size: 0.6rem;
    color: #333;
    letter-spacing: 2px;
}

.pray-contain .light-site {
    padding: 0.333333rem 0.5rem;
    font-size: 0.5rem;
    color: #ac8505;
    display: flex;
    justify-content: space-between;
}

.pray-contain .light-site .light-site-inner {
    /* max-width: 60%; */
    display: flex;
    flex-wrap: wrap;
}

.pray-contain .light-site .light-site-inner span {
    margin-left: 0.1rem;
    margin-left: 0.1rem;
    line-height: 0.9rem;
    width: 1.7rem;
    line-height: 0.733333rem;
    padding-top: 0.55rem;
    text-align: center;
    /* margin-bottom: 8px; */
    /* background: url(../images/light_selected.png) no-repeat center top; */
    background-size: 0.8rem;
    color: brown;
    font-size: 0.50rem;
    display: contents;
    /* height: 1rem; */
    /* color: blue; */
    color: #ac8505;
    position: relative;
}

.light-site-inner span {
    padding-top: 0rem !important;
    display: flex !important;
}

.pray-contain .light-site .light-site-inner span:after {
    content: '，';
}

.pray-contain .light-site .light-site-inner span:last-child:after {
    content: '';
}

.light-statisti_list {
    width: 100%;
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    padding: 0.35rem;
    padding-top: 0.30rem;
    padding-bottom: 0.30rem;
}

.light-statisti_list span {
    display: flex;
    align-items: center;
    width: 2.0rem;
    line-height: 0.45rem;
    padding-left: 1.05rem;
    text-align: center;
    background: url('../images/light_default.png') no-repeat left center;
    background-size: 0.9rem;
    color: #ac8505;
    font-size: 0.35rem;
}

.light-statisti_list span small {
    font-size: 0.35rem;
}

.light-statisti_list .light {
    background-image: url('../images/light_open.png');
}

.light-statisti_list .light_selected {
    background-image: url('../images/light_selected.png');
}

.light-statisti_list .light_book {
    background-image: url('../images/light_book.png');
}

.light-statisti_list samp {
    padding: 0.333333rem 0.5rem;
    font-size: 0.4rem;
    color: #ac8505;
    display: flex;
    justify-content: space-between;
}

.pray-contain .light-box {
    padding: 0.3rem;
    display: inline-block;
    flex-wrap: wrap;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.pray-contain .light-box span {
    width: 1.7rem;
    line-height: 0.733333rem;
    padding-top: 0.55rem;
    text-align: center;
    /*margin-bottom: 8px;*/
    background: url('../images/light_default.png') no-repeat center top;
    background-size: 1rem;
    color: brown;
    font-size: 0.4rem;
    display: inline-block;
    height: 1rem;
}

.pray-contain .light-box .light {
    background-image: url('../images/light_open.png');
    color: #dc0326;
}

.pray-contain .light-box .light_selected {
    background-image: url('../images/light_selected.png');
    color: #50b434;
}

footer {
    z-index: 10;
    width: 100%;
    height: 1.63rem;
    position: fixed;
    bottom: 0;
    left: 0;
    background-color: #ccbc87;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.gray-total {
    padding-left: 0.4rem;
    font-size: 0.45rem;
    color: #111;
    font-weight: bold;
}

.gray-total span {
    color: #d52b2b;
    margin-left: 0.1rem;
}

.wecahat-pay {
    width: 5rem;
    height: 100%;
    background-color: #d52b2b;
    font-size: 0.45rem;
    color: #fff;
    border: 0;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.myorder {
    width: 3rem;
    padding: 10px;
    background-color: #d52b2b;
    font-size: 0.45rem;
    color: #fff;
    border: 0;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    text-align: center;
}

.mylight {
    width: 100%;
    padding: 5px;
    background-color: #d52b2b;
    margin: 40px;
    font-size: 0.6rem;
    color: #fff;
    border: 0;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    text-align: center;
    border-radius: 5px
}

.light {
    width: 100%;
    /*padding: 10px;*/
    background-color: #d52b2b;
    font-size: 0.7rem;
    color: #fff;
    border: 0;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    text-align: center;
    border-radius: 5px
}

.mylight a {
    color: #fff;
}


/*消失动画*/

.loading {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
}

.loading img {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 101;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.loading:before,
.loading:after {
    content: '';
    width: 50%;
    height: 100%;
    background-color: #f7e697;
    position: absolute;
    top: 0;
    transition: 0.5s;
}

.loading:after {
    right: 0;
}

.loading.animateSlide:before {
    -webkit-transform: translateX(-100%);
    transform: translateX(-100%);
}

.loading.animateSlide:after {
    -webkit-transform: translateX(100%);
    transform: translateX(100%);
}


/*消失动画*/


/*我的供灯*/

.list-inner .header-bar {
    width: 100%;
    height: 1.1rem;
    line-height: 1.1rem;
    text-align: center;
    background-color: #fff;
    font-size: 0.32rem;
}

.list-inner .header-bar .item {
    width: 25%;
    float: left;
    box-sizing: border-box;
    position: relative;
}

.list-inner .header-bar .item.cur {
    color: #ac8505;
    font-weight: bold;
}

.list-inner .header-bar .item.cur:after {
    content: '';
    width: 50%;
    height: 2px;
    background-color: #ac8505;
    position: absolute;
    left: 50%;
    bottom: 0;
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    transform: translateX(-50%);
}

.list-inner .header-bar .item+.item:before {
    content: '';
    position: absolute;
    width: 1px;
    height: 0.8rem;
    background-color: #ddd;
    position: absolute;
    top: 50%;
    left: 0;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
}

.marqueetext {
    z-index: 100;
    width: 100%;
    height: 40px;
    text-align: center;
    position: fixed;
    background-color: #d52b2b;
    color: khaki;
    font-size: 0.5rem;
}

.marqueetext div {
    float: left;
}

.marqueetext span {
    color: #00ff00;
    font-size: 22.5px;
}

.marqueetext samp {
    color: #f7e697;
}


/*********************完成支付页面*/

.complertpay {
    width: 100%;
    max-width: 750px;
    min-height: 100%;
    padding-bottom: 0.6rem;
    margin: 0 auto;
    background-size: cover;
}