﻿@charset "utf-8";
/* 在线礼佛页面样式 - 背景图缩小版 */

/* 基础样式 */
a {color:#a54c3b;cursor:pointer;}
a:focus, a:hover {color: #e77718}
ol, ul, li {list-style: none outside none; margin:0; padding:0;}

/* 图标样式 */
.am-icon-fw {font-size: 25px!important;}
.am-navbar-nav a .am-navbar-label{font-weight:500}

/* 滚动文字 - 从右往左，深黄色字体 */
#aaa {
    width:100%; 
    overflow:hidden; 
    background:#cc422e; 
    color:#FFD700;
    height:30px; 
    line-height:30px;
}
#noticeList span {
    color: #FFD700;
    font-weight: bold;
}
#noticeList {
    white-space:nowrap;
    overflow:hidden;
}
#noticeList span {
    display:inline-block;
    white-space:nowrap;
}

/* 主容器 */
.main {
    padding:0; 
    margin: 0 auto; 
    max-width:1024px;
}

/* 礼佛主包装器 */
.lifo-main-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px;
}

/* 上部区域 - 佛像和表单并排 */
.lifo-top-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    width: 100%;
    max-width: 800px;
}

/* 左侧佛像区域 */
.lifo-buddha-area {
    flex: 0 0 380px;
    text-align: center;
}

/* 右侧表单区域 */
.lifo-form-area {
    width: 380px;
    max-width: 380px;
}

.lifo-form-area .am-form {
    margin: 0;
    padding: 15px;
    background: rgba(255,255,255,0.8);
    border-radius: 8px;
}

.lifo-form-area .am-form-group {
    margin-bottom: 8px;
    display: flex;
    align-items: flex-start;
}

.lifo-form-area .am-u-sm-2 {
    width: 50px;
    flex-shrink: 0;
    text-align: right;
    padding-right: 8px;
    font-size: 13px;
    color: #555;
    line-height: 28px;
}

.lifo-form-area .am-u-sm-10 {
    flex: 1;
    text-align: left;
}

/* 输入框样式 */
.lifo-form-area input[type="text"],
.lifo-form-area input[type="number"],
.lifo-form-area select,
.lifo-form-area textarea {
    width: 100%;
    padding: 8px 10px;
    font-size: 14px;
    font-weight: normal;
    border: 1px solid #ccc;
    border-radius: 3px;
    box-sizing: border-box;
}

.lifo-form-area select {
    font-weight: normal;
    font-size: 13px;
    height: 36px;
    line-height: 36px;
    color: #333;
    padding: 0 8px;
}

.lifo-form-area textarea {
    height: 60px;
    resize: vertical;
}

#srzdzweecy {height: 80px;}

/* 选择标签 */
.select-label {
    display: inline-block;
    margin-right: 10px;
    font-size: 13px;
    font-weight: normal;
    cursor: pointer;
    white-space: nowrap;
}

.select-label input[type="radio"] {
    margin-right: 2px;
    vertical-align: middle;
}

/* 范文选择网格 */
.fanwen-selects {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 5px;
}

.fanwen-selects select {
    width: 100%;
    padding: 2px;
    font-size: 11px;
    height: 24px;
    border: 1px solid #ccc;
}

/* 愿文选项 */
.yuanwen-options {
    margin-bottom: 5px;
}

/* 音效按钮 */
.audio-buttons {
    margin-top: 10px;
    display: flex;
    justify-content: center;
    gap: 5px;
}

.S_i5 {
    display: inline-block;
}

.an1 {
    font-family: Verdana;
    background-color: #be9567;
    color: #FFFFFF;
    border: 1px solid #FFFFFF;
    cursor: pointer;
    font-size: 12px;
    padding: 5px 10px;
    border-radius: 3px;
}

/* 提交按钮 */
.submit-section {
    text-align: center;
    margin-top: 15px;
    justify-content: center;
}

.submit-btn {
    padding: 8px 30px;
    background: #cc422e;
    border: none;
    border-radius: 4px;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
}

.submit-btn:hover {
    background: #b33a28;
}

/* 下部功德区域 - 与表单区域完全对齐 */
.lifo-bottom-section {
    width: 380px;
    max-width: 100%;
    margin-top: 20px;
}

.gongde-content {
    width: 100%;
    padding: 15px;
    background: rgba(255,255,255,0.7);
    border-radius: 8px;
    border-top: 1px dashed #ccc;
    box-sizing: border-box;
}

.gongde-title {
    text-align: center;
    color: #9b5f03;
    font-weight: 700;
    margin-bottom: 12px;
    font-size: 15px;
}

.gongde-title img {
    vertical-align: middle;
    width: 24px;
    height: 24px;
    margin: 0 5px;
}

.gongde-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.gongde-list li {
    padding: 6px 0;
    font-size: 13px;
    line-height: 1.6;
    color: #333;
    border-bottom: 1px dashed #eee;
}

.gongde-list li:last-child {
    border-bottom: none;
}

.gongde-list li b {
    color: #8b4513;
}

/* 背景图缩小 - 使用background-size控制大小 */
.imgojbkbg {
    background-image: url(/fo/image/wh2022.gif);
    background-size: 200px auto;  /* 缩小背景图 */
    background-repeat: repeat;      /* 平铺 */
    background-position: center;
}

/* 响应式布局 */
@media (min-width: 700px) {
    .main {
        max-width: 1024px;
        padding: 0.5em;
    }

    .lifo-top-section {
        flex-direction: row;
        align-items: flex-start;
    }

    .lifo-bottom-section {
        width: 380px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 699px) {
    .main {
        padding: 0;
    }

    .lifo-top-section {
        flex-direction: column;
        align-items: center;
    }

    .lifo-buddha-area,
    .lifo-form-area,
    .lifo-bottom-section {
        width: 100%;
        max-width: 380px;
        flex: 0 0 auto;
    }

    .lifo-form-area .am-u-sm-2 {
        width: 45px;
        font-size: 12px;
    }

    .fanwen-selects {
        grid-template-columns: 1fr;
    }

    .select-label {
        font-size: 11px;
        margin-right: 5px;
    }

    /* 手机端背景图更小 */
    .imgojbkbg {
        background-size: 150px auto;
    }
}

/* 其他保留样式 */
.sxrf14 {
    color: #743706;
    font-weight: 700;
    font-size: 18px;
    letter-spacing: 1px;
    display: block;
}

.am-panel-hd {padding: 0;}
.am-panel-bd {padding: 0;}

.am-header-default {background-color: #cc422e;}
.am-btn-primary {color: #fff; background-color: #cc422e; border-color: #9f5916;}
.am-btn-primary:focus, .am-btn-primary:hover {background-color: #e0690c;}
.am-offcanvas-bar {background: #cc422e;}

/* 返回顶部按钮 - 帽子往右，小和尚往左 */
.toTop {
    position: fixed;
    bottom: 80px;
    right: 15px;
    width: 60px;
    height: 90px;
    cursor: pointer;
    z-index: 999999;
    display: none;
    background: transparent;
    border: none;
    padding: 0;
}

/* 帽子图片 - 往右移动 */
.toTop-hat {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-35%);
    width: 38px;
    height: auto;
    z-index: 2;
}

/* 小和尚GIF - 往左移动 */
.toTop-monk {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-55%);
    width: 55px;
    height: 68px;
    background-image: url('/fo/image/1698132853606528.gif');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center bottom;
    z-index: 1;
}

/* 手机端适配 */
@media (max-width: 699px) {
    .toTop {
        width: 50px;
        height: 75px;
        bottom: 70px;
        right: 10px;
    }
    .toTop-hat {
        width: 32px;
        transform: translateX(-35%);
    }
    .toTop-monk {
        width: 45px;
        height: 55px;
        transform: translateX(-55%);
    }
}

/* 佛像选择框选项样式 - 字体清晰 */
.lifo-form-area select option {
    font-weight: normal;
    font-size: 13px;
    color: #333;
    padding: 3px 5px;
}

/* 表单组间距 */
.am-form-group {padding-top:5px}

/* 播放按钮 */
#play_btn { top: 48px; }

/* 顶部横幅 */
.head1 {
    height: 40px;
    background: url(/fo/image/hdd.png) repeat-x;
}

/* ==================== 灯笼样式 - 绝对固定，不跟随鼠标 ==================== */
@charset "utf-8";
/* 在线礼佛页面样式 - 背景图缩小版 */

/* 基础样式 */
a {color:#a54c3b;cursor:pointer;}
a:focus, a:hover {color: #e77718}
ol, ul, li {list-style: none outside none; margin:0; padding:0;}

/* 图标样式 */
.am-icon-fw {font-size: 25px!important;}
.am-navbar-nav a .am-navbar-label{font-weight:500}

/* 滚动文字 - 从右往左，深黄色字体 */
#aaa {
    width:100%; 
    overflow:hidden; 
    background:#cc422e; 
    color:#FFD700;
    height:30px; 
    line-height:30px;
}
#noticeList span {
    color: #FFD700;
    font-weight: bold;
}
#noticeList {
    white-space:nowrap;
    overflow:hidden;
}
#noticeList span {
    display:inline-block;
    white-space:nowrap;
}

/* 主容器 */
.main {
    padding:0; 
    margin: 0 auto; 
    max-width:1024px;
}

/* 礼佛主包装器 */
.lifo-main-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px;
}

/* 上部区域 - 佛像和表单并排 */
.lifo-top-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    width: 100%;
    max-width: 800px;
}

/* 左侧佛像区域 */
.lifo-buddha-area {
    flex: 0 0 380px;
    text-align: center;
}

/* 右侧表单区域 */
.lifo-form-area {
    width: 380px;
    max-width: 380px;
}

.lifo-form-area .am-form {
    margin: 0;
    padding: 15px;
    background: rgba(255,255,255,0.8);
    border-radius: 8px;
}

.lifo-form-area .am-form-group {
    margin-bottom: 8px;
    display: flex;
    align-items: flex-start;
}

.lifo-form-area .am-u-sm-2 {
    width: 50px;
    flex-shrink: 0;
    text-align: right;
    padding-right: 8px;
    font-size: 13px;
    color: #555;
    line-height: 28px;
}

.lifo-form-area .am-u-sm-10 {
    flex: 1;
    text-align: left;
}

/* 输入框样式 */
.lifo-form-area input[type="text"],
.lifo-form-area input[type="number"],
.lifo-form-area select,
.lifo-form-area textarea {
    width: 100%;
    padding: 8px 10px;
    font-size: 14px;
    font-weight: normal;
    border: 1px solid #ccc;
    border-radius: 3px;
    box-sizing: border-box;
}

.lifo-form-area select {
    font-weight: normal;
    font-size: 13px;
    height: 36px;
    line-height: 36px;
    color: #333;
    padding: 0 8px;
}

.lifo-form-area textarea {
    height: 60px;
    resize: vertical;
}

#srzdzweecy {height: 80px;}

/* 选择标签 */
.select-label {
    display: inline-block;
    margin-right: 10px;
    font-size: 13px;
    font-weight: normal;
    cursor: pointer;
    white-space: nowrap;
}

.select-label input[type="radio"] {
    margin-right: 2px;
    vertical-align: middle;
}

/* 范文选择网格 */
.fanwen-selects {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 5px;
}

.fanwen-selects select {
    width: 100%;
    padding: 2px;
    font-size: 11px;
    height: 24px;
    border: 1px solid #ccc;
}

/* 愿文选项 */
.yuanwen-options {
    margin-bottom: 5px;
}

/* 音效按钮 */
.audio-buttons {
    margin-top: 10px;
    display: flex;
    justify-content: center;
    gap: 5px;
}

.S_i5 {
    display: inline-block;
}

.an1 {
    font-family: Verdana;
    background-color: #be9567;
    color: #FFFFFF;
    border: 1px solid #FFFFFF;
    cursor: pointer;
    font-size: 12px;
    padding: 5px 10px;
    border-radius: 3px;
}

/* 提交按钮 */
.submit-section {
    text-align: center;
    margin-top: 15px;
    justify-content: center;
}

.submit-btn {
    padding: 8px 30px;
    background: #cc422e;
    border: none;
    border-radius: 4px;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
}

.submit-btn:hover {
    background: #b33a28;
}

/* 下部功德区域 - 与表单区域完全对齐 */
.lifo-bottom-section {
    width: 380px;
    max-width: 100%;
    margin-top: 20px;
}

.gongde-content {
    width: 100%;
    padding: 15px;
    background: rgba(255,255,255,0.7);
    border-radius: 8px;
    border-top: 1px dashed #ccc;
    box-sizing: border-box;
}

.gongde-title {
    text-align: center;
    color: #9b5f03;
    font-weight: 700;
    margin-bottom: 12px;
    font-size: 15px;
}

.gongde-title img {
    vertical-align: middle;
    width: 24px;
    height: 24px;
    margin: 0 5px;
}

.gongde-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.gongde-list li {
    padding: 6px 0;
    font-size: 13px;
    line-height: 1.6;
    color: #333;
    border-bottom: 1px dashed #eee;
}

.gongde-list li:last-child {
    border-bottom: none;
}

.gongde-list li b {
    color: #8b4513;
}

/* 背景图缩小 - 使用background-size控制大小 */
.imgojbkbg {
    background-image: url(/fo/image/wh2022.gif);
    background-size: 200px auto;  /* 缩小背景图 */
    background-repeat: repeat;      /* 平铺 */
    background-position: center;
}

/* 响应式布局 */
@media (min-width: 700px) {
    .main {
        max-width: 1024px;
        padding: 0.5em;
    }

    .lifo-top-section {
        flex-direction: row;
        align-items: flex-start;
    }

    .lifo-bottom-section {
        width: 380px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 699px) {
    .main {
        padding: 0;
    }

    .lifo-top-section {
        flex-direction: column;
        align-items: center;
    }

    .lifo-buddha-area,
    .lifo-form-area,
    .lifo-bottom-section {
        width: 100%;
        max-width: 380px;
        flex: 0 0 auto;
    }

    .lifo-form-area .am-u-sm-2 {
        width: 45px;
        font-size: 12px;
    }

    .fanwen-selects {
        grid-template-columns: 1fr;
    }

    .select-label {
        font-size: 11px;
        margin-right: 5px;
    }

    /* 手机端背景图更小 */
    .imgojbkbg {
        background-size: 150px auto;
    }
}

/* 其他保留样式 */
.sxrf14 {
    color: #743706;
    font-weight: 700;
    font-size: 18px;
    letter-spacing: 1px;
    display: block;
}

.am-panel-hd {padding: 0;}
.am-panel-bd {padding: 0;}

.am-header-default {background-color: #cc422e;}
.am-btn-primary {color: #fff; background-color: #cc422e; border-color: #9f5916;}
.am-btn-primary:focus, .am-btn-primary:hover {background-color: #e0690c;}
.am-offcanvas-bar {background: #cc422e;}

/* 返回顶部按钮 - 帽子往右，小和尚往左 */
.toTop {
    position: fixed;
    bottom: 80px;
    right: 15px;
    width: 60px;
    height: 90px;
    cursor: pointer;
    z-index: 999999;
    display: none;
    background: transparent;
    border: none;
    padding: 0;
}

/* 帽子图片 - 往右移动 */
.toTop-hat {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-35%);
    width: 38px;
    height: auto;
    z-index: 2;
}

/* 小和尚GIF - 往左移动 */
.toTop-monk {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-55%);
    width: 55px;
    height: 68px;
    background-image: url('/fo/image/1698132853606528.gif');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center bottom;
    z-index: 1;
}

/* 手机端适配 */
@media (max-width: 699px) {
    .toTop {
        width: 50px;
        height: 75px;
        bottom: 70px;
        right: 10px;
    }
    .toTop-hat {
        width: 32px;
        transform: translateX(-35%);
    }
    .toTop-monk {
        width: 45px;
        height: 55px;
        transform: translateX(-55%);
    }
}

/* 佛像选择框选项样式 - 字体清晰 */
.lifo-form-area select option {
    font-weight: normal;
    font-size: 13px;
    color: #333;
    padding: 3px 5px;
}

/* 表单组间距 */
.am-form-group {padding-top:5px}

